@mhmo91/schmancy 0.4.23 → 0.4.32
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/ai/select.md +35 -0
- package/ai/sheet.md +486 -87
- package/ai/tabs.md +186 -63
- package/dist/ai/select.md +35 -0
- package/dist/ai/sheet.md +486 -87
- package/dist/ai/tabs.md +186 -63
- package/dist/{animated-text-Be4toKE0.cjs → animated-text-BitOmeE1.cjs} +2 -2
- package/dist/{animated-text-Be4toKE0.cjs.map → animated-text-BitOmeE1.cjs.map} +1 -1
- package/dist/{animated-text-CNPSIIYg.js → animated-text-DcLpvyCq.js} +3 -3
- package/dist/{animated-text-CNPSIIYg.js.map → animated-text-DcLpvyCq.js.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/{area.component-YKEQV9hc.cjs → area.component-BTLn3oIv.cjs} +2 -2
- package/dist/{area.component-YKEQV9hc.cjs.map → area.component-BTLn3oIv.cjs.map} +1 -1
- package/dist/{area.component-i-mmh5is.js → area.component-xbNRrst9.js} +3 -3
- package/dist/{area.component-i-mmh5is.js.map → area.component-xbNRrst9.js.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-EapOt3ES.js → autocomplete-BqRrw118.js} +3 -3
- package/dist/{autocomplete-EapOt3ES.js.map → autocomplete-BqRrw118.js.map} +1 -1
- package/dist/{autocomplete-C0EU8KiN.cjs → autocomplete-Dvc06UNM.cjs} +2 -2
- package/dist/{autocomplete-C0EU8KiN.cjs.map → autocomplete-Dvc06UNM.cjs.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-DzJUPJtZ.js → avatar-CVzlATFH.js} +60 -66
- package/dist/avatar-CVzlATFH.js.map +1 -0
- package/dist/{avatar-D1ojwes6.cjs → avatar-DIALT_3k.cjs} +12 -18
- package/dist/avatar-DIALT_3k.cjs.map +1 -0
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-DPTS3Kpw.js → boat-ByFTBKD2.js} +2 -2
- package/dist/{boat-DPTS3Kpw.js.map → boat-ByFTBKD2.js.map} +1 -1
- package/dist/{boat-C59hzqZ0.cjs → boat-Dtum9CaN.cjs} +2 -2
- package/dist/{boat-C59hzqZ0.cjs.map → boat-Dtum9CaN.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-C-kjO37F.cjs → checkbox-220X9LTx.cjs} +2 -2
- package/dist/{checkbox-C-kjO37F.cjs.map → checkbox-220X9LTx.cjs.map} +1 -1
- package/dist/{checkbox-B85eeKqn.js → checkbox-Dq0Lm3AM.js} +2 -2
- package/dist/{checkbox-B85eeKqn.js.map → checkbox-Dq0Lm3AM.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-BNRMzGrx.js → chips-aRU1fwEV.js} +3 -3
- package/dist/{chips-BNRMzGrx.js.map → chips-aRU1fwEV.js.map} +1 -1
- package/dist/{chips-DW6y4ZMs.cjs → chips-jORxgpG7.cjs} +2 -2
- package/dist/{chips-DW6y4ZMs.cjs.map → chips-jORxgpG7.cjs.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/{circular-progress-BridvYCS.cjs → circular-progress-DMccmWrI.cjs} +2 -2
- package/dist/{circular-progress-BridvYCS.cjs.map → circular-progress-DMccmWrI.cjs.map} +1 -1
- package/dist/{circular-progress-Cl_dXUPO.js → circular-progress-Dis30LMa.js} +3 -3
- package/dist/{circular-progress-Cl_dXUPO.js.map → circular-progress-Dis30LMa.js.map} +1 -1
- package/dist/circular-progress.cjs +1 -1
- package/dist/circular-progress.js +1 -1
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-B8X7JaxA.js → code-preview-BwIb73Yd.js} +2 -2
- package/dist/{code-preview-B8X7JaxA.js.map → code-preview-BwIb73Yd.js.map} +1 -1
- package/dist/{code-preview-B0oGIV9F.cjs → code-preview-CCHcWZvS.cjs} +2 -2
- package/dist/{code-preview-B0oGIV9F.cjs.map → code-preview-CCHcWZvS.cjs.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-9sVFbxK0.js → date-range-CA_4vjWe.js} +3 -3
- package/dist/{date-range-9sVFbxK0.js.map → date-range-CA_4vjWe.js.map} +1 -1
- package/dist/{date-range-DqaB9kwM.cjs → date-range-DinaPWK0.cjs} +2 -2
- package/dist/{date-range-DqaB9kwM.cjs.map → date-range-DinaPWK0.cjs.map} +1 -1
- package/dist/{date-range-inline-DGRKHzTX.cjs → date-range-inline-CGMvaSeh.cjs} +2 -2
- package/dist/{date-range-inline-DGRKHzTX.cjs.map → date-range-inline-CGMvaSeh.cjs.map} +1 -1
- package/dist/{date-range-inline-Bqnc8wBb.js → date-range-inline-DFjyAvPv.js} +3 -3
- package/dist/{date-range-inline-Bqnc8wBb.js.map → date-range-inline-DFjyAvPv.js.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-u5isp6Vb.js → delay-BJwsHbg3.js} +2 -2
- package/dist/{delay-u5isp6Vb.js.map → delay-BJwsHbg3.js.map} +1 -1
- package/dist/{delay-ClP0gwsX.cjs → delay-CHAH30wI.cjs} +2 -2
- package/dist/{delay-ClP0gwsX.cjs.map → delay-CHAH30wI.cjs.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{dialog-content-CGgHTvcB.cjs → dialog-content-Bp2kwzxD.cjs} +2 -2
- package/dist/{dialog-content-CGgHTvcB.cjs.map → dialog-content-Bp2kwzxD.cjs.map} +1 -1
- package/dist/{dialog-content-ZpgRQC1m.js → dialog-content-CEZqJRzH.js} +3 -3
- package/dist/{dialog-content-ZpgRQC1m.js.map → dialog-content-CEZqJRzH.js.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-CIXGsKd7.cjs → divider-BEVgt1wl.cjs} +2 -2
- package/dist/{divider-CIXGsKd7.cjs.map → divider-BEVgt1wl.cjs.map} +1 -1
- package/dist/{divider-BK4PNB76.js → divider-DfetUf4S.js} +3 -3
- package/dist/{divider-BK4PNB76.js.map → divider-DfetUf4S.js.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-CeYUqD56.cjs → dropdown-content-CERnSXjI.cjs} +2 -2
- package/dist/{dropdown-content-CeYUqD56.cjs.map → dropdown-content-CERnSXjI.cjs.map} +1 -1
- package/dist/{dropdown-content-DbHKYDCS.js → dropdown-content-TJmZ3rpA.js} +3 -3
- package/dist/{dropdown-content-DbHKYDCS.js.map → dropdown-content-TJmZ3rpA.js.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-Dub7SPI7.cjs → flex-ByanQCYb.cjs} +2 -2
- package/dist/{flex-Dub7SPI7.cjs.map → flex-ByanQCYb.cjs.map} +1 -1
- package/dist/{flex-JcwYdb2G.js → flex-CXMNh-nH.js} +2 -2
- package/dist/{flex-JcwYdb2G.js.map → flex-CXMNh-nH.js.map} +1 -1
- package/dist/{form-CMv0SQko.js → form-Boc5Pqhf.js} +2 -2
- package/dist/{form-CMv0SQko.js.map → form-Boc5Pqhf.js.map} +1 -1
- package/dist/{form-DKF6UgIS.cjs → form-lhQx_Ry0.cjs} +2 -2
- package/dist/{form-DKF6UgIS.cjs.map → form-lhQx_Ry0.cjs.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-D0GeY28y.js → formField.mixin-CX7_nvVy.js} +2 -2
- package/dist/{formField.mixin-D0GeY28y.js.map → formField.mixin-CX7_nvVy.js.map} +1 -1
- package/dist/{formField.mixin-BrHllh45.cjs → formField.mixin-DhiLSVHT.cjs} +2 -2
- package/dist/{formField.mixin-BrHllh45.cjs.map → formField.mixin-DhiLSVHT.cjs.map} +1 -1
- package/dist/{icon--s5dpU1N.js → icon-BZw88sCH.js} +2 -2
- package/dist/{icon--s5dpU1N.js.map → icon-BZw88sCH.js.map} +1 -1
- package/dist/{icon-CJe2TSk1.cjs → icon-D1qw18N6.cjs} +2 -2
- package/dist/{icon-CJe2TSk1.cjs.map → icon-D1qw18N6.cjs.map} +1 -1
- package/dist/{icon-button-x5uqpaeg.cjs → icon-button-DBvZApEC.cjs} +2 -2
- package/dist/{icon-button-x5uqpaeg.cjs.map → icon-button-DBvZApEC.cjs.map} +1 -1
- package/dist/{icon-button-Ckd9jE-a.js → icon-button-TbwQrO1b.js} +3 -3
- package/dist/{icon-button-Ckd9jE-a.js.map → icon-button-TbwQrO1b.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 +112 -112
- package/dist/{input-DHNBYBq4.js → input-BUtEXu3y.js} +3 -3
- package/dist/{input-DHNBYBq4.js.map → input-BUtEXu3y.js.map} +1 -1
- package/dist/{input-BN9xQTH0.cjs → input-C0F9cNoD.cjs} +2 -2
- package/dist/{input-BN9xQTH0.cjs.map → input-C0F9cNoD.cjs.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-rGydduh7.js → list-BCD8h2Do.js} +2 -2
- package/dist/{list-rGydduh7.js.map → list-BCD8h2Do.js.map} +1 -1
- package/dist/{list-DZAZpM5m.cjs → list-Bz6tq7ZP.cjs} +2 -2
- package/dist/{list-DZAZpM5m.cjs.map → list-Bz6tq7ZP.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-B1eYYBf4.cjs → litElement.mixin-CII9bbap.cjs} +2 -2
- package/dist/{litElement.mixin-B1eYYBf4.cjs.map → litElement.mixin-CII9bbap.cjs.map} +1 -1
- package/dist/{litElement.mixin-Cq-COufw.js → litElement.mixin-DGeprHKB.js} +2 -2
- package/dist/{litElement.mixin-Cq-COufw.js.map → litElement.mixin-DGeprHKB.js.map} +1 -1
- package/dist/{media-hg61JS4R.cjs → media-CBLuAmNZ.cjs} +2 -2
- package/dist/{media-hg61JS4R.cjs.map → media-CBLuAmNZ.cjs.map} +1 -1
- package/dist/{media-DHgb7H9L.js → media-D6ba0wB1.js} +2 -2
- package/dist/{media-DHgb7H9L.js.map → media-D6ba0wB1.js.map} +1 -1
- package/dist/{menu-D5aDG-Rp.cjs → menu-BDQr8EZ1.cjs} +2 -2
- package/dist/{menu-D5aDG-Rp.cjs.map → menu-BDQr8EZ1.cjs.map} +1 -1
- package/dist/{menu-DvZSvoOx.js → menu-C0SauakY.js} +3 -3
- package/dist/{menu-DvZSvoOx.js.map → menu-C0SauakY.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-BzzXjm4l.cjs → notification-service-B1f848tO.cjs} +2 -2
- package/dist/{notification-service-BzzXjm4l.cjs.map → notification-service-B1f848tO.cjs.map} +1 -1
- package/dist/{notification-service-DKHubhXv.js → notification-service-X8mRASdk.js} +3 -3
- package/dist/{notification-service-DKHubhXv.js.map → notification-service-X8mRASdk.js.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-T6zGawbH.js → option-DVlCqux7.js} +2 -2
- package/dist/{option-T6zGawbH.js.map → option-DVlCqux7.js.map} +1 -1
- package/dist/{option-DqN5-RK7.cjs → option-ckV22mLf.cjs} +2 -2
- package/dist/{option-DqN5-RK7.cjs.map → option-ckV22mLf.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-C42icpX4.cjs → payment-card-form-BUsPCZPp.cjs} +2 -2
- package/dist/{payment-card-form-C42icpX4.cjs.map → payment-card-form-BUsPCZPp.cjs.map} +1 -1
- package/dist/{payment-card-form-GEOaUypQ.js → payment-card-form-D7PV8spa.js} +3 -3
- package/dist/{payment-card-form-GEOaUypQ.js.map → payment-card-form-D7PV8spa.js.map} +1 -1
- package/dist/{progress-EL16etnw.js → progress-BZ6AFT0f.js} +2 -2
- package/dist/{progress-EL16etnw.js.map → progress-BZ6AFT0f.js.map} +1 -1
- package/dist/{progress-CL35MIi9.cjs → progress-CABg45XF.cjs} +2 -2
- package/dist/{progress-CL35MIi9.cjs.map → progress-CABg45XF.cjs.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-BQ7snEVj.js → radio-button-D4Y1bWGN.js} +3 -3
- package/dist/{radio-button-BQ7snEVj.js.map → radio-button-D4Y1bWGN.js.map} +1 -1
- package/dist/{radio-button-DrSJB4B-.cjs → radio-button-DQ4VclEZ.cjs} +2 -2
- package/dist/{radio-button-DrSJB4B-.cjs.map → radio-button-DQ4VclEZ.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-2WW-9LYL.js → schmancy-steps-container-BskkdQwD.js} +2 -2
- package/dist/{schmancy-steps-container-2WW-9LYL.js.map → schmancy-steps-container-BskkdQwD.js.map} +1 -1
- package/dist/{schmancy-steps-container-C_HHZFeb.cjs → schmancy-steps-container-CZ0upElE.cjs} +2 -2
- package/dist/{schmancy-steps-container-C_HHZFeb.cjs.map → schmancy-steps-container-CZ0upElE.cjs.map} +1 -1
- package/dist/select-DfQogfes.cjs +57 -0
- package/dist/{select-Bl8FO2kb.js.map → select-DfQogfes.cjs.map} +1 -1
- package/dist/{select-Bl8FO2kb.js → select-wui4bIUE.js} +23 -20
- package/dist/select-wui4bIUE.js.map +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.js +3 -2
- package/dist/{selector-hook-DPe2CGKx.js → selector-hook-DL0SIQiY.js} +16 -16
- package/dist/{selector-hook-DPe2CGKx.js.map → selector-hook-DL0SIQiY.js.map} +1 -1
- package/dist/{sheet-CdcA_ZIk.js → sheet-BGuqw1NG.js} +4 -4
- package/dist/{sheet-CdcA_ZIk.js.map → sheet-BGuqw1NG.js.map} +1 -1
- package/dist/{sheet-BVr3bq9r.cjs → sheet-DlLj6OeU.cjs} +2 -2
- package/dist/{sheet-BVr3bq9r.cjs.map → sheet-DlLj6OeU.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +2 -2
- package/dist/{sheet.service-D_jE8pUg.cjs → sheet.service-DQQ44gXD.cjs} +3 -3
- package/dist/{sheet.service-D_jE8pUg.cjs.map → sheet.service-DQQ44gXD.cjs.map} +1 -1
- package/dist/{sheet.service-CKznL-dB.js → sheet.service-Dm2r1_ji.js} +102 -109
- package/dist/{sheet.service-CKznL-dB.js.map → sheet.service-Dm2r1_ji.js.map} +1 -1
- package/dist/{slider-DX-XUnE-.cjs → slider-C2oEvRAS.cjs} +2 -2
- package/dist/{slider-DX-XUnE-.cjs.map → slider-C2oEvRAS.cjs.map} +1 -1
- package/dist/{slider-4ggti1yr.js → slider-Dwm1KfNL.js} +3 -3
- package/dist/{slider-4ggti1yr.js.map → slider-Dwm1KfNL.js.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-BPqLh7JL.js → spinner-Bh6XkC88.js} +2 -2
- package/dist/{spinner-BPqLh7JL.js.map → spinner-Bh6XkC88.js.map} +1 -1
- package/dist/{spinner-Cq8tY2xk.cjs → spinner-DKgZemVU.cjs} +2 -2
- package/dist/{spinner-Cq8tY2xk.cjs.map → spinner-DKgZemVU.cjs.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/store.js +1 -1
- package/dist/{surface-YyZ8eXfj.cjs → surface-DIIUamff.cjs} +2 -2
- package/dist/{surface-YyZ8eXfj.cjs.map → surface-DIIUamff.cjs.map} +1 -1
- package/dist/{surface-1xboRERM.js → surface-DhiuAGb8.js} +2 -2
- package/dist/{surface-1xboRERM.js.map → surface-DhiuAGb8.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-DpXmflf7.cjs → table-BrAoSQhN.cjs} +2 -2
- package/dist/{table-DpXmflf7.cjs.map → table-BrAoSQhN.cjs.map} +1 -1
- package/dist/{table-C6EWKqDY.js → table-DSZ9kmUG.js} +2 -2
- package/dist/{table-C6EWKqDY.js.map → table-DSZ9kmUG.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-AFzKAP2D.js → tabs-compatibility-B7aJnQ0X.js} +2 -2
- package/dist/{tabs-compatibility-AFzKAP2D.js.map → tabs-compatibility-B7aJnQ0X.js.map} +1 -1
- package/dist/{tabs-compatibility-ThgWuSrK.cjs → tabs-compatibility-Ck74XeID.cjs} +2 -2
- package/dist/{tabs-compatibility-ThgWuSrK.cjs.map → tabs-compatibility-Ck74XeID.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-CBu1BEQZ.cjs +2 -0
- package/dist/{tailwind.mixin-DNME2oUL.cjs.map → tailwind.mixin-CBu1BEQZ.cjs.map} +1 -1
- package/dist/tailwind.mixin-DWhCm94g.js +43 -0
- package/dist/{tailwind.mixin-epCxS6FK.js.map → tailwind.mixin-DWhCm94g.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-JO7OVdfk.js → textarea-Bq0XdGaH.js} +2 -2
- package/dist/{textarea-JO7OVdfk.js.map → textarea-Bq0XdGaH.js.map} +1 -1
- package/dist/{textarea-B_TlKSop.cjs → textarea-CGTMdhoF.cjs} +2 -2
- package/dist/{textarea-B_TlKSop.cjs.map → textarea-CGTMdhoF.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-DnrKANEK.cjs → theme-button-CznhJ8g_.cjs} +2 -2
- package/dist/{theme-button-DnrKANEK.cjs.map → theme-button-CznhJ8g_.cjs.map} +1 -1
- package/dist/{theme-button-C8cK7un6.js → theme-button-DYoygmRA.js} +2 -2
- package/dist/{theme-button-C8cK7un6.js.map → theme-button-DYoygmRA.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-C56jMhLK.cjs → timezone-BCGcdasU.cjs} +2 -2
- package/dist/{timezone-C56jMhLK.cjs.map → timezone-BCGcdasU.cjs.map} +1 -1
- package/dist/{timezone-CEEEd-9_.js → timezone-Co7gqqQt.js} +3 -3
- package/dist/{timezone-CEEEd-9_.js.map → timezone-Co7gqqQt.js.map} +1 -1
- package/dist/{tooltip-twQMYpmk.cjs → tooltip-Bqa0D34J.cjs} +2 -2
- package/dist/{tooltip-twQMYpmk.cjs.map → tooltip-Bqa0D34J.cjs.map} +1 -1
- package/dist/{tooltip-CnuYee5c.js → tooltip-DBuaAFmK.js} +2 -2
- package/dist/{tooltip-CnuYee5c.js.map → tooltip-DBuaAFmK.js.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-Dv5R6kdP.cjs → tree-CFeXYaJy.cjs} +2 -2
- package/dist/{tree-Dv5R6kdP.cjs.map → tree-CFeXYaJy.cjs.map} +1 -1
- package/dist/{tree-CfnCGGn7.js → tree-CfE695gp.js} +2 -2
- package/dist/{tree-CfnCGGn7.js.map → tree-CfE695gp.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-egr1HiFJ.cjs → typewriter-B6Jb22Pe.cjs} +2 -2
- package/dist/{typewriter-egr1HiFJ.cjs.map → typewriter-B6Jb22Pe.cjs.map} +1 -1
- package/dist/{typewriter-DAxRjeRy.js → typewriter-BZ_adVXB.js} +4 -4
- package/dist/{typewriter-DAxRjeRy.js.map → typewriter-BZ_adVXB.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-De5UXL0j.js → typography-DI5RXpWs.js} +2 -2
- package/dist/{typography-De5UXL0j.js.map → typography-DI5RXpWs.js.map} +1 -1
- package/dist/{typography-DVZ2ezpU.cjs → typography-DvVeO1a_.cjs} +2 -2
- package/dist/{typography-DVZ2ezpU.cjs.map → typography-DvVeO1a_.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/src/sheet/sheet.service.d.ts +3 -1
- package/dist/avatar-D1ojwes6.cjs.map +0 -1
- package/dist/avatar-DzJUPJtZ.js.map +0 -1
- package/dist/select-BHRtVoTo.cjs +0 -56
- package/dist/select-BHRtVoTo.cjs.map +0 -1
- package/dist/tailwind.mixin-DNME2oUL.cjs +0 -2
- package/dist/tailwind.mixin-epCxS6FK.js +0 -43
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Observable as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { property as le, customElement as
|
|
6
|
-
import { a as
|
|
7
|
-
function
|
|
1
|
+
import { Observable as Ue, of as he, switchMap as Ee, fromEvent as J, Subject as Ie, forkJoin as Te, takeUntil as de, timer as pe, map as ie, defaultIfEmpty as ye, tap as ee, delay as fe, take as je, mergeMap as _e } from "rxjs";
|
|
2
|
+
import { n as Re, e as Ge } from "./provide-tcktw8xB.js";
|
|
3
|
+
import { T as Je } from "./tailwind.mixin-DWhCm94g.js";
|
|
4
|
+
import { unsafeCSS as $e, html as Ke } from "lit";
|
|
5
|
+
import { property as le, customElement as We } from "lit/decorators.js";
|
|
6
|
+
import { a as Ye, D as Le } from "./dialog-events-mjOcyPQ-.js";
|
|
7
|
+
function z(e) {
|
|
8
8
|
return e < 0 ? -1 : e === 0 ? 0 : 1;
|
|
9
9
|
}
|
|
10
10
|
function te(e, r, o) {
|
|
@@ -19,7 +19,7 @@ function ke(e) {
|
|
|
19
19
|
function xe(e, r) {
|
|
20
20
|
return [e[0] * r[0][0] + e[1] * r[0][1] + e[2] * r[0][2], e[0] * r[1][0] + e[1] * r[1][1] + e[2] * r[1][2], e[0] * r[2][0] + e[1] * r[2][1] + e[2] * r[2][2]];
|
|
21
21
|
}
|
|
22
|
-
const Xe = [[0.41233895, 0.35762064, 0.18051042], [0.2126, 0.7152, 0.0722], [0.01932141, 0.11916382, 0.95034478]],
|
|
22
|
+
const Xe = [[0.41233895, 0.35762064, 0.18051042], [0.2126, 0.7152, 0.0722], [0.01932141, 0.11916382, 0.95034478]], Qe = [[3.2413774792388685, -1.5376652402851851, -0.49885366846268053], [-0.9691452513005321, 1.8758853451067872, 0.04156585616912061], [0.05562093689691305, -0.20395524564742123, 1.0571799111220335]], Ze = [95.047, 100, 108.883];
|
|
23
23
|
function ve(e, r, o) {
|
|
24
24
|
return (255 << 24 | (255 & e) << 16 | (255 & r) << 8 | 255 & o) >>> 0;
|
|
25
25
|
}
|
|
@@ -28,18 +28,18 @@ function Be(e) {
|
|
|
28
28
|
}
|
|
29
29
|
function be(e) {
|
|
30
30
|
const r = function(o) {
|
|
31
|
-
const t =
|
|
31
|
+
const t = X(function(s) {
|
|
32
32
|
return s >> 16 & 255;
|
|
33
|
-
}(o)), a =
|
|
33
|
+
}(o)), a = X(function(s) {
|
|
34
34
|
return s >> 8 & 255;
|
|
35
|
-
}(o)), n =
|
|
35
|
+
}(o)), n = X(function(s) {
|
|
36
36
|
return 255 & s;
|
|
37
37
|
}(o));
|
|
38
38
|
return xe([t, a, n], Xe);
|
|
39
39
|
}(e)[1];
|
|
40
40
|
return 116 * Fe(r / 100) - 16;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function $(e) {
|
|
43
43
|
return 100 * function(r) {
|
|
44
44
|
const o = 0.008856451679035631, t = 24389 / 27, a = r * r * r;
|
|
45
45
|
return a > o ? a : (116 * r - 16) / t;
|
|
@@ -48,7 +48,7 @@ function J(e) {
|
|
|
48
48
|
function we(e) {
|
|
49
49
|
return 116 * Fe(e / 100) - 16;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function X(e) {
|
|
52
52
|
const r = e / 255;
|
|
53
53
|
return r <= 0.040449936 ? r / 12.92 * 100 : 100 * Math.pow((r + 0.055) / 1.055, 2.4);
|
|
54
54
|
}
|
|
@@ -61,22 +61,22 @@ function K(e) {
|
|
|
61
61
|
function Fe(e) {
|
|
62
62
|
return e > 216 / 24389 ? Math.pow(e, 1 / 3) : (903.2962962962963 * e + 16) / 116;
|
|
63
63
|
}
|
|
64
|
-
class
|
|
64
|
+
class j {
|
|
65
65
|
static make(r = /* @__PURE__ */ function() {
|
|
66
|
-
return
|
|
67
|
-
}(), o = 200 / Math.PI *
|
|
66
|
+
return Ze;
|
|
67
|
+
}(), o = 200 / Math.PI * $(50) / 100, t = 50, a = 2, n = !1) {
|
|
68
68
|
const s = r, 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 + a / 10, f = m >= 0.9 ? te(0.59, 0.69, 10 * (m - 0.9)) : te(0.525, 0.59, 10 * (m - 0.8));
|
|
69
69
|
let g = n ? 1 : m * (1 - 1 / 3.6 * Math.exp((-o - 42) / 92));
|
|
70
70
|
g = g > 1 ? 1 : g < 0 ? 0 : g;
|
|
71
|
-
const b = m, y = [g * (100 / l) + 1 - g, g * (100 / h) + 1 - g, g * (100 / i) + 1 - g], C = 1 / (5 * o + 1), v = C * C * C * C, D = 1 - v, k = v * o + 0.1 * D * D * Math.cbrt(5 * o), F =
|
|
72
|
-
return new
|
|
71
|
+
const b = m, y = [g * (100 / l) + 1 - g, g * (100 / h) + 1 - g, g * (100 / i) + 1 - g], C = 1 / (5 * o + 1), v = C * C * C * C, D = 1 - v, k = v * o + 0.1 * D * D * Math.cbrt(5 * o), F = $(t) / r[1], x = 1.48 + Math.sqrt(F), w = 0.725 / Math.pow(F, 0.2), B = w, 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)], T = [400 * P[0] / (P[0] + 27.13), 400 * P[1] / (P[1] + 27.13), 400 * P[2] / (P[2] + 27.13)];
|
|
72
|
+
return new j(F, (2 * T[0] + T[1] + 0.05 * T[2]) * w, w, B, f, b, y, k, Math.pow(k, 0.25), x);
|
|
73
73
|
}
|
|
74
74
|
constructor(r, o, t, a, n, s, l, h, i, m) {
|
|
75
75
|
this.n = r, this.aw = o, this.nbb = t, this.ncb = a, this.c = n, this.nc = s, this.rgbD = l, this.fl = h, this.fLRoot = i, this.z = m;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
|
|
79
|
-
class
|
|
78
|
+
j.DEFAULT = j.make();
|
|
79
|
+
class E {
|
|
80
80
|
constructor(r, o, t, a, n, s, l, h, i) {
|
|
81
81
|
this.hue = r, this.chroma = o, this.j = t, this.q = a, this.m = n, this.s = s, this.jstar = l, this.astar = h, this.bstar = i;
|
|
82
82
|
}
|
|
@@ -85,45 +85,45 @@ class A {
|
|
|
85
85
|
return 1.41 * Math.pow(n, 0.63);
|
|
86
86
|
}
|
|
87
87
|
static fromInt(r) {
|
|
88
|
-
return
|
|
88
|
+
return E.fromIntInViewingConditions(r, j.DEFAULT);
|
|
89
89
|
}
|
|
90
90
|
static fromIntInViewingConditions(r, o) {
|
|
91
|
-
const t = (65280 & r) >> 8, a = 255 & r, n =
|
|
92
|
-
return new
|
|
91
|
+
const t = (65280 & r) >> 8, a = 255 & r, n = X((16711680 & r) >> 16), s = X(t), l = X(a), h = 0.41233895 * n + 0.35762064 * s + 0.18051042 * l, i = 0.2126 * n + 0.7152 * s + 0.0722 * l, m = 0.01932141 * n + 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, C = 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(C) / 100, 0.42), F = Math.pow(o.fl * Math.abs(v) / 100, 0.42), x = 400 * z(y) * D / (D + 27.13), w = 400 * z(C) * k / (k + 27.13), B = 400 * z(v) * F / (F + 27.13), P = (11 * x + -12 * w + B) / 11, T = (x + w - 2 * B) / 9, S = (20 * x + 20 * w + 21 * B) / 20, ae = (40 * x + 20 * w + B) / 20, N = 180 * Math.atan2(T, P) / Math.PI, q = N < 0 ? N + 360 : N >= 360 ? N - 360 : N, _ = q * Math.PI / 180, V = ae * o.nbb, U = 100 * Math.pow(V / o.aw, o.c * o.z), Q = 4 / o.c * Math.sqrt(U / 100) * (o.aw + 4) * o.fLRoot, Z = q < 20.14 ? q + 360 : q, ne = 5e4 / 13 * (0.25 * (Math.cos(Z * Math.PI / 180 + 2) + 3.8)) * o.nc * o.ncb * Math.sqrt(P * P + T * T) / (S + 0.305), ce = Math.pow(ne, 0.9) * Math.pow(1.64 - Math.pow(0.29, o.n), 0.73), se = ce * Math.sqrt(U / 100), De = se * o.fLRoot, He = 50 * Math.sqrt(ce * o.c / (o.aw + 4)), ze = (1 + 100 * 7e-3) * U / (1 + 7e-3 * U), Se = 1 / 0.0228 * Math.log(1 + 0.0228 * De), Ne = Se * Math.cos(_), qe = Se * Math.sin(_);
|
|
92
|
+
return new E(q, se, U, Q, De, He, ze, Ne, qe);
|
|
93
93
|
}
|
|
94
94
|
static fromJch(r, o, t) {
|
|
95
|
-
return
|
|
95
|
+
return E.fromJchInViewingConditions(r, o, t, j.DEFAULT);
|
|
96
96
|
}
|
|
97
97
|
static fromJchInViewingConditions(r, o, t, a) {
|
|
98
98
|
const n = 4 / a.c * Math.sqrt(r / 100) * (a.aw + 4) * a.fLRoot, s = o * a.fLRoot, l = o / Math.sqrt(r / 100), h = 50 * Math.sqrt(l * a.c / (a.aw + 4)), i = t * Math.PI / 180, m = (1 + 100 * 7e-3) * r / (1 + 7e-3 * r), f = 1 / 0.0228 * Math.log(1 + 0.0228 * s), g = f * Math.cos(i), b = f * Math.sin(i);
|
|
99
|
-
return new
|
|
99
|
+
return new E(t, o, r, n, s, h, m, g, b);
|
|
100
100
|
}
|
|
101
101
|
static fromUcs(r, o, t) {
|
|
102
|
-
return
|
|
102
|
+
return E.fromUcsInViewingConditions(r, o, t, j.DEFAULT);
|
|
103
103
|
}
|
|
104
104
|
static fromUcsInViewingConditions(r, o, t, a) {
|
|
105
105
|
const n = o, s = t, l = Math.sqrt(n * n + s * s), h = (Math.exp(0.0228 * l) - 1) / 0.0228 / a.fLRoot;
|
|
106
106
|
let i = Math.atan2(s, n) * (180 / Math.PI);
|
|
107
107
|
i < 0 && (i += 360);
|
|
108
108
|
const m = r / (1 - 7e-3 * (r - 100));
|
|
109
|
-
return
|
|
109
|
+
return E.fromJchInViewingConditions(m, h, i, a);
|
|
110
110
|
}
|
|
111
111
|
toInt() {
|
|
112
|
-
return this.viewed(
|
|
112
|
+
return this.viewed(j.DEFAULT);
|
|
113
113
|
}
|
|
114
114
|
viewed(r) {
|
|
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, r.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, n = 0.25 * (Math.cos(a + 2) + 3.8), s = r.aw * Math.pow(this.j / 100, 1 / r.c / r.z), l = n * (5e4 / 13) * r.nc * r.ncb, h = s / r.nbb, i = Math.sin(a), m = Math.cos(a), 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, C = (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 =
|
|
116
|
-
return function(
|
|
117
|
-
const V =
|
|
118
|
-
return ve(K(
|
|
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, r.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, n = 0.25 * (Math.cos(a + 2) + 3.8), s = r.aw * Math.pow(this.j / 100, 1 / r.c / r.z), l = n * (5e4 / 13) * r.nc * r.ncb, h = s / r.nbb, i = Math.sin(a), m = Math.cos(a), 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, C = (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 / r.fl) * Math.pow(D, 1 / 0.42), F = Math.max(0, 27.13 * Math.abs(C) / (400 - Math.abs(C))), x = z(C) * (100 / r.fl) * Math.pow(F, 1 / 0.42), w = Math.max(0, 27.13 * Math.abs(v) / (400 - Math.abs(v))), B = z(v) * (100 / r.fl) * Math.pow(w, 1 / 0.42), P = k / r.rgbD[0], T = x / r.rgbD[1], S = B / r.rgbD[2];
|
|
116
|
+
return function(N, q, _) {
|
|
117
|
+
const V = Qe, U = V[0][0] * N + V[0][1] * q + V[0][2] * _, Q = V[1][0] * N + V[1][1] * q + V[1][2] * _, Z = V[2][0] * N + V[2][1] * q + V[2][2] * _;
|
|
118
|
+
return ve(K(U), K(Q), K(Z));
|
|
119
119
|
}(1.86206786 * P - 1.01125463 * T + 0.14918677 * S, 0.38752654 * P + 0.62144744 * T - 897398e-8 * S, -0.0158415 * P - 0.03412294 * T + 1.04996444 * S);
|
|
120
120
|
}
|
|
121
121
|
static fromXyzInViewingConditions(r, o, t, a) {
|
|
122
|
-
const n = 0.401288 * r + 0.650173 * o - 0.051461 * t, s = -0.250268 * r + 1.204414 * o + 0.045854 * t, l = -2079e-6 * r + 0.048952 * o + 0.953127 * t, h = a.rgbD[0] * n, i = a.rgbD[1] * s, m = a.rgbD[2] * l, f = Math.pow(a.fl * Math.abs(h) / 100, 0.42), g = Math.pow(a.fl * Math.abs(i) / 100, 0.42), b = Math.pow(a.fl * Math.abs(m) / 100, 0.42), y = 400 *
|
|
123
|
-
return new
|
|
122
|
+
const n = 0.401288 * r + 0.650173 * o - 0.051461 * t, s = -0.250268 * r + 1.204414 * o + 0.045854 * t, l = -2079e-6 * r + 0.048952 * o + 0.953127 * t, h = a.rgbD[0] * n, i = a.rgbD[1] * s, m = a.rgbD[2] * l, f = Math.pow(a.fl * Math.abs(h) / 100, 0.42), g = Math.pow(a.fl * Math.abs(i) / 100, 0.42), b = Math.pow(a.fl * Math.abs(m) / 100, 0.42), y = 400 * z(h) * f / (f + 27.13), C = 400 * z(i) * g / (g + 27.13), v = 400 * z(m) * b / (b + 27.13), D = (11 * y + -12 * C + v) / 11, k = (y + C - 2 * v) / 9, F = (20 * y + 20 * C + 21 * v) / 20, x = (40 * y + 20 * C + v) / 20, w = 180 * Math.atan2(k, D) / Math.PI, B = w < 0 ? w + 360 : w >= 360 ? w - 360 : w, P = B * Math.PI / 180, T = x * a.nbb, S = 100 * Math.pow(T / a.aw, a.c * a.z), ae = 4 / a.c * Math.sqrt(S / 100) * (a.aw + 4) * a.fLRoot, N = B < 20.14 ? B + 360 : B, q = 5e4 / 13 * (1 / 4 * (Math.cos(N * Math.PI / 180 + 2) + 3.8)) * a.nc * a.ncb * Math.sqrt(D * D + k * k) / (F + 0.305), _ = Math.pow(q, 0.9) * Math.pow(1.64 - Math.pow(0.29, a.n), 0.73), V = _ * Math.sqrt(S / 100), U = V * a.fLRoot, Q = 50 * Math.sqrt(_ * a.c / (a.aw + 4)), Z = (1 + 100 * 7e-3) * S / (1 + 7e-3 * S), ne = Math.log(1 + 0.0228 * U) / 0.0228, ce = ne * Math.cos(P), se = ne * Math.sin(P);
|
|
123
|
+
return new E(B, V, S, ae, U, Q, Z, ce, se);
|
|
124
124
|
}
|
|
125
125
|
xyzInViewingConditions(r) {
|
|
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, r.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, n = 0.25 * (Math.cos(a + 2) + 3.8), s = r.aw * Math.pow(this.j / 100, 1 / r.c / r.z), l = n * (5e4 / 13) * r.nc * r.ncb, h = s / r.nbb, i = Math.sin(a), m = Math.cos(a), 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, C = (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 =
|
|
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, r.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, n = 0.25 * (Math.cos(a + 2) + 3.8), s = r.aw * Math.pow(this.j / 100, 1 / r.c / r.z), l = n * (5e4 / 13) * r.nc * r.ncb, h = s / r.nbb, i = Math.sin(a), m = Math.cos(a), 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, C = (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 / r.fl) * Math.pow(D, 1 / 0.42), F = Math.max(0, 27.13 * Math.abs(C) / (400 - Math.abs(C))), x = z(C) * (100 / r.fl) * Math.pow(F, 1 / 0.42), w = Math.max(0, 27.13 * Math.abs(v) / (400 - Math.abs(v))), B = z(v) * (100 / r.fl) * Math.pow(w, 1 / 0.42), P = k / r.rgbD[0], T = x / r.rgbD[1], S = B / r.rgbD[2];
|
|
127
127
|
return [1.86206786 * P - 1.01125463 * T + 0.14918677 * S, 0.38752654 * P + 0.62144744 * T - 897398e-8 * S, -0.0158415 * P - 0.03412294 * T + 1.04996444 * S];
|
|
128
128
|
}
|
|
129
129
|
}
|
|
@@ -138,7 +138,7 @@ class d {
|
|
|
138
138
|
}
|
|
139
139
|
static chromaticAdaptation(r) {
|
|
140
140
|
const o = Math.pow(Math.abs(r), 0.42);
|
|
141
|
-
return 400 *
|
|
141
|
+
return 400 * z(r) * o / (o + 27.13);
|
|
142
142
|
}
|
|
143
143
|
static hueOf(r) {
|
|
144
144
|
const o = xe(r, d.SCALED_DISCOUNT_FROM_LINRGB), t = d.chromaticAdaptation(o[0]), a = d.chromaticAdaptation(o[1]), n = d.chromaticAdaptation(o[2]), s = (11 * t + -12 * a + n) / 11, l = (t + a - 2 * n) / 9;
|
|
@@ -209,11 +209,11 @@ class d {
|
|
|
209
209
|
}
|
|
210
210
|
static inverseChromaticAdaptation(r) {
|
|
211
211
|
const o = Math.abs(r), t = Math.max(0, 27.13 * o / (400 - o));
|
|
212
|
-
return
|
|
212
|
+
return z(r) * Math.pow(t, 1 / 0.42);
|
|
213
213
|
}
|
|
214
214
|
static findResultByJ(r, o, t) {
|
|
215
215
|
let a = 11 * Math.sqrt(t);
|
|
216
|
-
const n =
|
|
216
|
+
const n = j.DEFAULT, s = 1 / Math.pow(1.64 - Math.pow(0.29, n.n), 0.73), l = 0.25 * (Math.cos(r + 2) + 3.8) * (5e4 / 13) * n.nc * n.ncb, h = Math.sin(r), i = Math.cos(r);
|
|
217
217
|
for (let m = 0; m < 5; m++) {
|
|
218
218
|
const f = a / 100, g = o === 0 || a === 0 ? 0 : o / Math.sqrt(f), b = Math.pow(g * s, 1 / 0.9), y = n.aw * Math.pow(f, 1 / n.c / n.z) / n.nbb, C = 23 * (y + 0.305) * b / (23 * l + 11 * b * i + 108 * b * h), v = C * i, D = C * h, k = (460 * y + 451 * v + 288 * D) / 1403, F = (460 * y - 891 * v - 261 * D) / 1403, x = (460 * y - 220 * v - 6300 * D) / 1403, w = xe([d.inverseChromaticAdaptation(k), d.inverseChromaticAdaptation(F), d.inverseChromaticAdaptation(x)], d.LINRGB_FROM_SCALED_DISCOUNT);
|
|
219
219
|
if (w[0] < 0 || w[1] < 0 || w[2] < 0) return 0;
|
|
@@ -226,14 +226,14 @@ class d {
|
|
|
226
226
|
}
|
|
227
227
|
static solveToInt(r, o, t) {
|
|
228
228
|
if (o < 1e-4 || t < 1e-4 || t > 99.9999) return function(l) {
|
|
229
|
-
const h = K(
|
|
229
|
+
const h = K($(l));
|
|
230
230
|
return ve(h, h, h);
|
|
231
231
|
}(t);
|
|
232
|
-
const a = (r = ke(r)) / 180 * Math.PI, n =
|
|
232
|
+
const a = (r = ke(r)) / 180 * Math.PI, n = $(t), s = d.findResultByJ(a, o, n);
|
|
233
233
|
return s !== 0 ? s : Be(d.bisectToLimit(n, a));
|
|
234
234
|
}
|
|
235
235
|
static solveToCam(r, o, t) {
|
|
236
|
-
return
|
|
236
|
+
return E.fromInt(d.solveToInt(r, o, t));
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
d.SCALED_DISCOUNT_FROM_LINRGB = [[0.001200833568784504, 0.002389694492170889, 2795742885861124e-19], [5891086651375999e-19, 0.0029785502573438758, 3270666104008398e-19], [10146692491640572e-20, 5364214359186694e-19, 0.0032979401770712076]], d.LINRGB_FROM_SCALED_DISCOUNT = [[1373.2198709594231, -1100.4251190754821, -7.278681089101213], [-271.815969077903, 559.6580465940733, -32.46047482791194], [1.9622899599665666, -57.173814538844006, 308.7233197812385]], d.Y_FROM_LINRGB = [0.2126, 0.7152, 0.0722], d.CRITICAL_PLANES = [0.015176349177441876, 0.045529047532325624, 0.07588174588720938, 0.10623444424209313, 0.13658714259697685, 0.16693984095186062, 0.19729253930674434, 0.2276452376616281, 0.2579979360165119, 0.28835063437139563, 0.3188300904430532, 0.350925934958123, 0.3848314933096426, 0.42057480301049466, 0.458183274052838, 0.4976837250274023, 0.5391024159806381, 0.5824650784040898, 0.6277969426914107, 0.6751227633498623, 0.7244668422128921, 0.775853049866786, 0.829304845476233, 0.8848452951698498, 0.942497089126609, 1.0022825574869039, 1.0642236851973577, 1.1283421258858297, 1.1946592148522128, 1.2631959812511864, 1.3339731595349034, 1.407011200216447, 1.4823302800086415, 1.5599503113873272, 1.6398909516233677, 1.7221716113234105, 1.8068114625156377, 1.8938294463134073, 1.9832442801866852, 2.075074464868551, 2.1693382909216234, 2.2660538449872063, 2.36523901573795, 2.4669114995532007, 2.5710888059345764, 2.6777882626779785, 2.7870270208169257, 2.898822059350997, 3.0131901897720907, 3.1301480604002863, 3.2497121605402226, 3.3718988244681087, 3.4967242352587946, 3.624204428461639, 3.754355295633311, 3.887192587735158, 4.022731918402185, 4.160988767090289, 4.301978482107941, 4.445716283538092, 4.592217266055746, 4.741496401646282, 4.893568542229298, 5.048448422192488, 5.20615066083972, 5.3666897647573375, 5.5300801301023865, 5.696336044816294, 5.865471690767354, 6.037501145825082, 6.212438385869475, 6.390297286737924, 6.571091626112461, 6.7548350853498045, 6.941541251256611, 7.131223617812143, 7.323895587840543, 7.5195704746346665, 7.7182615035334345, 7.919981813454504, 8.124744458384042, 8.332562408825165, 8.543448553206703, 8.757415699253682, 8.974476575321063, 9.194643831691977, 9.417930041841839, 9.644347703669503, 9.873909240696694, 10.106627003236781, 10.342513269534024, 10.58158024687427, 10.8238400726681, 11.069304815507364, 11.317986476196008, 11.569896988756009, 11.825048221409341, 12.083451977536606, 12.345119996613247, 12.610063955123938, 12.878295467455942, 13.149826086772048, 13.42466730586372, 13.702830557985108, 13.984327217668513, 14.269168601521828, 14.55736596900856, 14.848930523210871, 15.143873411576273, 15.44220572664832, 15.743938506781891, 16.04908273684337, 16.35764934889634, 16.66964922287304, 16.985093187232053, 17.30399201960269, 17.62635644741625, 17.95219714852476, 18.281524751807332, 18.614349837764564, 18.95068293910138, 19.290534541298456, 19.633915083172692, 19.98083495742689, 20.331304511189067, 20.685334046541502, 21.042933821039977, 21.404114048223256, 21.76888489811322, 22.137256497705877, 22.50923893145328, 22.884842241736916, 23.264076429332462, 23.6469514538663, 24.033477234264016, 24.42366364919083, 24.817520537484558, 25.21505769858089, 25.61628489293138, 26.021211842414342, 26.429848230738664, 26.842203703840827, 27.258287870275353, 27.678110301598522, 28.10168053274597, 28.529008062403893, 28.96010235337422, 29.39497283293396, 29.83362889318845, 30.276079891419332, 30.722335150426627, 31.172403958865512, 31.62629557157785, 32.08401920991837, 32.54558406207592, 33.010999283389665, 33.4802739966603, 33.953417292456834, 34.430438229418264, 34.911345834551085, 35.39614910352207, 35.88485700094671, 36.37747846067349, 36.87402238606382, 37.37449765026789, 37.87891309649659, 38.38727753828926, 38.89959975977785, 39.41588851594697, 39.93615253289054, 40.460400508064545, 40.98864111053629, 41.520882981230194, 42.05713473317016, 42.597404951718396, 43.141702194811224, 43.6900349931913, 44.24241185063697, 44.798841244188324, 45.35933162437017, 45.92389141541209, 46.49252901546552, 47.065252796817916, 47.64207110610409, 48.22299226451468, 48.808024568002054, 49.3971762874833, 49.9904556690408, 50.587870934119984, 51.189430279724725, 51.79514187861014, 52.40501387947288, 53.0190544071392, 53.637271562750364, 54.259673423945976, 54.88626804504493, 55.517063457223934, 56.15206766869424, 56.79128866487574, 57.43473440856916, 58.08241284012621, 58.734331877617365, 59.39049941699807, 60.05092333227251, 60.715611475655585, 61.38457167773311, 62.057811747619894, 62.7353394731159, 63.417162620860914, 64.10328893648692, 64.79372614476921, 65.48848194977529, 66.18756403501224, 66.89098006357258, 67.59873767827808, 68.31084450182222, 69.02730813691093, 69.74813616640164, 70.47333615344107, 71.20291564160104, 71.93688215501312, 72.67524319850172, 73.41800625771542, 74.16517879925733, 74.9167682708136, 75.67278210128072, 76.43322770089146, 77.1981124613393, 77.96744375590167, 78.74122893956174, 79.51947534912904, 80.30219030335869, 81.08938110306934, 81.88105503125999, 82.67721935322541, 83.4778813166706, 84.28304815182372, 85.09272707154808, 85.90692527145302, 86.72564993000343, 87.54890820862819, 88.3767072518277, 89.2090541872801, 90.04595612594655, 90.88742016217518, 91.73345337380438, 92.58406282226491, 93.43925555268066, 94.29903859396902, 95.16341895893969, 96.03240364439274, 96.9059996312159, 97.78421388448044, 98.6670533535366, 99.55452497210776];
|
|
@@ -267,15 +267,15 @@ class I {
|
|
|
267
267
|
}
|
|
268
268
|
constructor(r) {
|
|
269
269
|
this.argb = r;
|
|
270
|
-
const o =
|
|
270
|
+
const o = E.fromInt(r);
|
|
271
271
|
this.internalHue = o.hue, this.internalChroma = o.chroma, this.internalTone = be(r), this.argb = r;
|
|
272
272
|
}
|
|
273
273
|
setInternalState(r) {
|
|
274
|
-
const o =
|
|
274
|
+
const o = E.fromInt(r);
|
|
275
275
|
this.internalHue = o.hue, this.internalChroma = o.chroma, this.internalTone = be(r), this.argb = r;
|
|
276
276
|
}
|
|
277
277
|
inViewingConditions(r) {
|
|
278
|
-
const o =
|
|
278
|
+
const o = E.fromInt(this.toInt()).xyzInViewingConditions(r), t = E.fromXyzInViewingConditions(o[0], o[1], o[2], j.make());
|
|
279
279
|
return I.from(t.hue, t.chroma, we(o[1]));
|
|
280
280
|
}
|
|
281
281
|
}
|
|
@@ -288,17 +288,17 @@ class Pe {
|
|
|
288
288
|
return I.from(i, t.chroma, t.tone).toInt();
|
|
289
289
|
}
|
|
290
290
|
static hctHue(r, o, t) {
|
|
291
|
-
const a = Pe.cam16Ucs(r, o, t), n =
|
|
291
|
+
const a = Pe.cam16Ucs(r, o, t), n = E.fromInt(a), s = E.fromInt(r);
|
|
292
292
|
return I.from(n.hue, s.chroma, be(r)).toInt();
|
|
293
293
|
}
|
|
294
294
|
static cam16Ucs(r, o, t) {
|
|
295
|
-
const a =
|
|
296
|
-
return
|
|
295
|
+
const a = E.fromInt(r), n = E.fromInt(o), s = a.jstar, l = a.astar, h = a.bstar, i = s + (n.jstar - s) * t, m = l + (n.astar - l) * t, f = h + (n.bstar - h) * t;
|
|
296
|
+
return E.fromUcs(i, m, f).toInt();
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
|
-
class
|
|
299
|
+
class A {
|
|
300
300
|
static ratioOfTones(r, o) {
|
|
301
|
-
return r = ue(0, 100, r), o = ue(0, 100, o),
|
|
301
|
+
return r = ue(0, 100, r), o = ue(0, 100, o), A.ratioOfYs($(r), $(o));
|
|
302
302
|
}
|
|
303
303
|
static ratioOfYs(r, o) {
|
|
304
304
|
const t = r > o ? r : o;
|
|
@@ -306,24 +306,24 @@ class E {
|
|
|
306
306
|
}
|
|
307
307
|
static lighter(r, o) {
|
|
308
308
|
if (r < 0 || r > 100) return -1;
|
|
309
|
-
const t =
|
|
309
|
+
const t = $(r), a = o * (t + 5) - 5, n = A.ratioOfYs(a, t), s = Math.abs(n - o);
|
|
310
310
|
if (n < o && s > 0.04) return -1;
|
|
311
311
|
const l = we(a) + 0.4;
|
|
312
312
|
return l < 0 || l > 100 ? -1 : l;
|
|
313
313
|
}
|
|
314
314
|
static darker(r, o) {
|
|
315
315
|
if (r < 0 || r > 100) return -1;
|
|
316
|
-
const t =
|
|
316
|
+
const t = $(r), a = (t + 5) / o - 5, n = A.ratioOfYs(t, a), s = Math.abs(n - o);
|
|
317
317
|
if (n < o && s > 0.04) return -1;
|
|
318
318
|
const l = we(a) - 0.4;
|
|
319
319
|
return l < 0 || l > 100 ? -1 : l;
|
|
320
320
|
}
|
|
321
321
|
static lighterUnsafe(r, o) {
|
|
322
|
-
const t =
|
|
322
|
+
const t = A.lighter(r, o);
|
|
323
323
|
return t < 0 ? 100 : t;
|
|
324
324
|
}
|
|
325
325
|
static darkerUnsafe(r, o) {
|
|
326
|
-
const t =
|
|
326
|
+
const t = A.darker(r, o);
|
|
327
327
|
return t < 0 ? 0 : t;
|
|
328
328
|
}
|
|
329
329
|
}
|
|
@@ -358,26 +358,26 @@ class u {
|
|
|
358
358
|
const o = r.contrastLevel < 0;
|
|
359
359
|
if (this.toneDeltaPair) {
|
|
360
360
|
const t = this.toneDeltaPair(r), a = t.roleA, n = t.roleB, s = t.delta, l = t.polarity, h = t.stayTogether, i = this.background(r).getTone(r), m = l === "nearer" || l === "lighter" && !r.isDark || l === "darker" && r.isDark, f = m ? a : n, g = m ? n : a, b = this.name === f.name, y = r.isDark ? 1 : -1, C = f.contrastCurve.get(r.contrastLevel), v = g.contrastCurve.get(r.contrastLevel), D = f.tone(r);
|
|
361
|
-
let k =
|
|
361
|
+
let k = A.ratioOfTones(i, D) >= C ? D : u.foregroundTone(i, C);
|
|
362
362
|
const F = g.tone(r);
|
|
363
|
-
let x =
|
|
363
|
+
let x = A.ratioOfTones(i, F) >= v ? F : u.foregroundTone(i, v);
|
|
364
364
|
return o && (k = u.foregroundTone(i, C), x = u.foregroundTone(i, v)), (x - k) * y >= s || (x = ue(0, 100, k + s * y), (x - k) * y >= s || (k = ue(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(r);
|
|
368
368
|
if (this.background == null) return t;
|
|
369
369
|
const a = this.background(r).getTone(r), n = this.contrastCurve.get(r.contrastLevel);
|
|
370
|
-
if (
|
|
370
|
+
if (A.ratioOfTones(a, t) >= n || (t = u.foregroundTone(a, n)), o && (t = u.foregroundTone(a, n)), this.isBackground && 50 <= t && t < 60 && (t = A.ratioOfTones(49, a) >= n ? 49 : 60), this.secondBackground) {
|
|
371
371
|
const [s, l] = [this.background, this.secondBackground], [h, i] = [s(r).getTone(r), l(r).getTone(r)], [m, f] = [Math.max(h, i), Math.min(h, i)];
|
|
372
|
-
if (
|
|
373
|
-
const g =
|
|
372
|
+
if (A.ratioOfTones(m, t) >= n && A.ratioOfTones(f, t) >= n) return t;
|
|
373
|
+
const g = A.lighter(m, n), b = A.darker(f, n), y = [];
|
|
374
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(r, o) {
|
|
380
|
-
const t =
|
|
380
|
+
const t = A.lighterUnsafe(r, o), a = A.darkerUnsafe(r, o), n = A.ratioOfTones(t, r), s = A.ratioOfTones(a, r);
|
|
381
381
|
if (u.tonePrefersLightForeground(r)) {
|
|
382
382
|
const l = Math.abs(n - s) < 0.1 && n < o && s < o;
|
|
383
383
|
return n >= o || n >= s || l ? t : a;
|
|
@@ -403,7 +403,7 @@ class L {
|
|
|
403
403
|
return new L(r.hue, r.chroma, r);
|
|
404
404
|
}
|
|
405
405
|
static fromHueAndChroma(r, o) {
|
|
406
|
-
const t = new
|
|
406
|
+
const t = new er(r, o).create();
|
|
407
407
|
return new L(r, o, t);
|
|
408
408
|
}
|
|
409
409
|
constructor(r, o, t) {
|
|
@@ -417,7 +417,7 @@ class L {
|
|
|
417
417
|
return I.fromInt(this.tone(r));
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
class
|
|
420
|
+
class er {
|
|
421
421
|
constructor(r, o) {
|
|
422
422
|
this.hue = r, this.requestedChroma = o, this.chromaCache = /* @__PURE__ */ new Map(), this.maxChromaValue = 200;
|
|
423
423
|
}
|
|
@@ -531,7 +531,7 @@ class O {
|
|
|
531
531
|
o ? (this.a1 = L.fromHueAndChroma(a, n), this.a2 = L.fromHueAndChroma(a, n / 3), this.a3 = L.fromHueAndChroma(a + 60, n / 2), this.n1 = L.fromHueAndChroma(a, Math.min(n / 12, 4)), this.n2 = L.fromHueAndChroma(a, Math.min(n / 6, 8))) : (this.a1 = L.fromHueAndChroma(a, Math.max(48, n)), this.a2 = L.fromHueAndChroma(a, 16), this.a3 = L.fromHueAndChroma(a + 60, 24), this.n1 = L.fromHueAndChroma(a, 4), this.n2 = L.fromHueAndChroma(a, 8)), this.error = L.fromHueAndChroma(25, 84);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
class
|
|
534
|
+
class G {
|
|
535
535
|
get primary() {
|
|
536
536
|
return this.props.primary;
|
|
537
537
|
}
|
|
@@ -620,22 +620,22 @@ class Y {
|
|
|
620
620
|
return this.props.inversePrimary;
|
|
621
621
|
}
|
|
622
622
|
static light(r) {
|
|
623
|
-
return
|
|
623
|
+
return G.lightFromCorePalette(O.of(r));
|
|
624
624
|
}
|
|
625
625
|
static dark(r) {
|
|
626
|
-
return
|
|
626
|
+
return G.darkFromCorePalette(O.of(r));
|
|
627
627
|
}
|
|
628
628
|
static lightContent(r) {
|
|
629
|
-
return
|
|
629
|
+
return G.lightFromCorePalette(O.contentOf(r));
|
|
630
630
|
}
|
|
631
631
|
static darkContent(r) {
|
|
632
|
-
return
|
|
632
|
+
return G.darkFromCorePalette(O.contentOf(r));
|
|
633
633
|
}
|
|
634
634
|
static lightFromCorePalette(r) {
|
|
635
|
-
return new
|
|
635
|
+
return new G({ primary: r.a1.tone(40), onPrimary: r.a1.tone(100), primaryContainer: r.a1.tone(90), onPrimaryContainer: r.a1.tone(10), secondary: r.a2.tone(40), onSecondary: r.a2.tone(100), secondaryContainer: r.a2.tone(90), onSecondaryContainer: r.a2.tone(10), tertiary: r.a3.tone(40), onTertiary: r.a3.tone(100), tertiaryContainer: r.a3.tone(90), onTertiaryContainer: r.a3.tone(10), error: r.error.tone(40), onError: r.error.tone(100), errorContainer: r.error.tone(90), onErrorContainer: r.error.tone(10), background: r.n1.tone(99), onBackground: r.n1.tone(10), surface: r.n1.tone(99), onSurface: r.n1.tone(10), surfaceVariant: r.n2.tone(90), onSurfaceVariant: r.n2.tone(30), outline: r.n2.tone(50), outlineVariant: r.n2.tone(80), shadow: r.n1.tone(0), scrim: r.n1.tone(0), inverseSurface: r.n1.tone(20), inverseOnSurface: r.n1.tone(95), inversePrimary: r.a1.tone(80) });
|
|
636
636
|
}
|
|
637
637
|
static darkFromCorePalette(r) {
|
|
638
|
-
return new
|
|
638
|
+
return new G({ primary: r.a1.tone(80), onPrimary: r.a1.tone(20), primaryContainer: r.a1.tone(30), onPrimaryContainer: r.a1.tone(90), secondary: r.a2.tone(80), onSecondary: r.a2.tone(20), secondaryContainer: r.a2.tone(30), onSecondaryContainer: r.a2.tone(90), tertiary: r.a3.tone(80), onTertiary: r.a3.tone(20), tertiaryContainer: r.a3.tone(30), onTertiaryContainer: r.a3.tone(90), error: r.error.tone(80), onError: r.error.tone(20), errorContainer: r.error.tone(30), onErrorContainer: r.error.tone(80), background: r.n1.tone(10), onBackground: r.n1.tone(90), surface: r.n1.tone(10), onSurface: r.n1.tone(90), surfaceVariant: r.n2.tone(30), onSurfaceVariant: r.n2.tone(80), outline: r.n2.tone(60), outlineVariant: r.n2.tone(30), shadow: r.n1.tone(0), scrim: r.n1.tone(0), inverseSurface: r.n1.tone(90), inverseOnSurface: r.n1.tone(20), inversePrimary: r.a1.tone(40) });
|
|
639
639
|
}
|
|
640
640
|
constructor(r) {
|
|
641
641
|
this.props = r;
|
|
@@ -644,18 +644,18 @@ class Y {
|
|
|
644
644
|
return { ...this.props };
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function Ae(e) {
|
|
648
648
|
const r = (e = e.replace("#", "")).length === 3, o = e.length === 6, t = e.length === 8;
|
|
649
649
|
if (!r && !o && !t) throw new Error("unexpected hex " + e);
|
|
650
650
|
let a = 0, n = 0, s = 0;
|
|
651
|
-
return r ? (a =
|
|
651
|
+
return r ? (a = R(e.slice(0, 1).repeat(2)), n = R(e.slice(1, 2).repeat(2)), s = R(e.slice(2, 3).repeat(2))) : o ? (a = R(e.slice(0, 2)), n = R(e.slice(2, 4)), s = R(e.slice(4, 6))) : t && (a = R(e.slice(2, 4)), n = R(e.slice(4, 6)), s = R(e.slice(6, 8))), (255 << 24 | (255 & a) << 16 | (255 & n) << 8 | 255 & s) >>> 0;
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function R(e) {
|
|
654
654
|
return parseInt(e, 16);
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function rr(e, r = []) {
|
|
657
657
|
const o = O.of(e);
|
|
658
|
-
return { source: e, schemes: { light:
|
|
658
|
+
return { source: e, schemes: { light: G.light(e), dark: G.dark(e) }, palettes: { primary: o.a1, secondary: o.a2, tertiary: o.a3, neutral: o.n1, neutralVariant: o.n2, error: o.error }, customColors: r.map((t) => function(a, n) {
|
|
659
659
|
let s = n.value;
|
|
660
660
|
const l = s, h = a;
|
|
661
661
|
n.blend && (s = Pe.harmonize(l, h));
|
|
@@ -663,8 +663,8 @@ function tr(e, r = []) {
|
|
|
663
663
|
return { color: n, 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
|
}(e, t)) };
|
|
665
665
|
}
|
|
666
|
-
const
|
|
667
|
-
function
|
|
666
|
+
const tr = Re("theme-context");
|
|
667
|
+
function or(e, r = !1, o) {
|
|
668
668
|
function t(a) {
|
|
669
669
|
return "#" + a.toString(16).padStart(8, "0").slice(2);
|
|
670
670
|
}
|
|
@@ -689,11 +689,11 @@ function ar(e, r = !1, o) {
|
|
|
689
689
|
return { sys: { color: { scrim: t(a.scrim), outlineVariant: t(a.outlineVariant), outline: t(a.outline), surface: { default: t(a.surface), dim: t(n.sDim), bright: t(n.sBright), on: t(a.onSurface), onVariant: t(a.onSurfaceVariant), highest: t(n.cHighest), high: t(n.cHigh), container: t(n.c), low: t(n.cLow), lowest: t(n.cLowest) }, primary: { default: t(a.primary), on: t(a.onPrimary), container: t(a.primaryContainer), onContainer: t(a.onPrimaryContainer) }, secondary: { default: t(a.secondary), on: t(a.onSecondary), container: t(a.secondaryContainer), onContainer: t(a.onSecondaryContainer) }, tertiary: { default: t(a.tertiary), on: t(a.onTertiary), container: t(a.tertiaryContainer), onContainer: t(a.onTertiaryContainer) }, error: { default: t(a.error), on: t(a.onError), container: t(a.errorContainer), onContainer: t(a.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
|
-
var
|
|
693
|
-
for (var a, n = t > 1 ? void 0 : t ?
|
|
694
|
-
return t && n &&
|
|
692
|
+
var ar = Object.defineProperty, nr = Object.getOwnPropertyDescriptor, re = (e, r, o, t) => {
|
|
693
|
+
for (var a, n = t > 1 ? void 0 : t ? nr(r, o) : r, s = e.length - 1; s >= 0; s--) (a = e[s]) && (n = (t ? a(r, o, n) : a(n)) || n);
|
|
694
|
+
return t && n && ar(r, o, n), n;
|
|
695
695
|
};
|
|
696
|
-
const Oe = "theme-where-are-you", Ve = "theme-here-i-am", sr = _e(':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)}'), ge = window.matchMedia("(prefers-color-scheme: dark)"), ir = new qe((e) => {
|
|
696
|
+
const Oe = "theme-where-are-you", Ve = "theme-here-i-am", cr = $e(':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)}'), ge = window.matchMedia("(prefers-color-scheme: dark)"), sr = new Ue((e) => {
|
|
697
697
|
const r = (t) => {
|
|
698
698
|
const a = t.matches ? "dark" : "light";
|
|
699
699
|
e.next(a);
|
|
@@ -702,25 +702,25 @@ const Oe = "theme-where-are-you", Ve = "theme-here-i-am", sr = _e(':host,:root{-
|
|
|
702
702
|
const o = ge.matches ? "dark" : "light";
|
|
703
703
|
return e.next(o), () => ge.removeEventListener("change", r);
|
|
704
704
|
});
|
|
705
|
-
let
|
|
705
|
+
let Y = class extends Je(cr) {
|
|
706
706
|
constructor() {
|
|
707
707
|
super(...arguments), this.scheme = "auto", this.root = !1, this.theme = {};
|
|
708
708
|
}
|
|
709
709
|
connectedCallback() {
|
|
710
|
-
super.connectedCallback(), this.color || (this.color = this.generateRandomColor()), he(this.scheme).pipe(
|
|
710
|
+
super.connectedCallback(), this.color || (this.color = this.generateRandomColor()), he(this.scheme).pipe(Ee((e) => e === "auto" ? sr : he(e))).subscribe((e) => {
|
|
711
711
|
this.scheme = e, this.registerTheme();
|
|
712
|
-
}),
|
|
712
|
+
}), J(window, Oe).subscribe(() => {
|
|
713
713
|
window.dispatchEvent(new CustomEvent(Ve, { detail: { theme: this }, bubbles: !0, composed: !0 }));
|
|
714
|
-
}),
|
|
714
|
+
}), J(window, Ye).subscribe((e) => {
|
|
715
715
|
const r = this.querySelector(`schmancy-dialog[uid="${e.detail.uid}"]`) || this.querySelector(`confirm-dialog[uid="${e.detail.uid}"]`);
|
|
716
716
|
r ? window.dispatchEvent(new CustomEvent(Le, { detail: { dialog: r }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(Le, { detail: { dialog: null, theme: this }, bubbles: !0, composed: !0 }));
|
|
717
|
-
}),
|
|
717
|
+
}), J(window, Ce).subscribe((e) => {
|
|
718
718
|
const r = this.querySelector(`schmancy-sheet[uid="${e.detail.uid}"]`);
|
|
719
719
|
r ? window.dispatchEvent(new CustomEvent(me, { detail: { sheet: r }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(me, { detail: { sheet: null, theme: this }, bubbles: !0, composed: !0 }));
|
|
720
720
|
});
|
|
721
721
|
}
|
|
722
722
|
registerTheme() {
|
|
723
|
-
let e =
|
|
723
|
+
let e = or(rr(Ae(this.color)), this.scheme === "dark", Ae("#34B334"));
|
|
724
724
|
e = { ...e, ...this.theme }, this.registerThemeValues("schmancy", "", e), (this.root ? document.body : this.shadowRoot.host).style.colorScheme = this.scheme === "dark" ? "dark" : "light";
|
|
725
725
|
}
|
|
726
726
|
registerThemeValues(e = "schmancy", r, o) {
|
|
@@ -731,39 +731,32 @@ let Q = class extends We(sr) {
|
|
|
731
731
|
return "#" + Math.floor(16777215 * Math.random()).toString(16).padStart(6, "0");
|
|
732
732
|
}
|
|
733
733
|
render() {
|
|
734
|
-
return
|
|
734
|
+
return Ke`<slot></slot>`;
|
|
735
735
|
}
|
|
736
736
|
};
|
|
737
|
-
re([le({ type: String, reflect: !0 })],
|
|
738
|
-
var
|
|
739
|
-
const Ce = "are-you-there-sheet", me = "yes-here",
|
|
737
|
+
re([le({ type: String, reflect: !0 })], Y.prototype, "color", 2), re([le({ type: String })], Y.prototype, "scheme", 2), re([le({ type: Boolean })], Y.prototype, "root", 2), re([Ge({ context: tr }), le({ type: Object })], Y.prototype, "theme", 2), Y = re([We("schmancy-theme")], Y);
|
|
738
|
+
var ir = ((e) => (e.Side = "side", e.Bottom = "bottom", e))(ir || {});
|
|
739
|
+
const Ce = "are-you-there-sheet", me = "yes-here", yr = new class {
|
|
740
740
|
constructor() {
|
|
741
741
|
this.bottomSheet = new Ie(), this.$dismiss = new Ie(), this.activeSheets = /* @__PURE__ */ new Set(), this.popStateListenerActive = !1, this.setupSheetOpeningLogic(), this.setupSheetDismissLogic(), this.setupPopStateListener();
|
|
742
742
|
}
|
|
743
743
|
setupSheetOpeningLogic() {
|
|
744
|
-
this.bottomSheet.pipe(
|
|
745
|
-
const r = e.uid ??
|
|
744
|
+
this.bottomSheet.pipe(Ee((e) => Te([J(window, me).pipe(de(pe(50)), ie((r) => r.detail), ye(void 0)), J(window, Ve).pipe(de(pe(100)), ie((r) => r.detail.theme), ye(void 0)), he(e).pipe(ee(() => {
|
|
745
|
+
const r = e.uid ?? e.component.tagName;
|
|
746
746
|
window.dispatchEvent(new CustomEvent(Ce, { detail: { uid: r } })), window.dispatchEvent(new CustomEvent(Oe));
|
|
747
747
|
}))])), ie(([e, r, o]) => {
|
|
748
748
|
let t, a = e?.sheet;
|
|
749
749
|
if (a) t = a.parentElement;
|
|
750
750
|
else {
|
|
751
751
|
t = r || document.querySelector("schmancy-theme") || document.body;
|
|
752
|
-
const s = o.uid ??
|
|
752
|
+
const s = o.uid ?? o.component.tagName;
|
|
753
753
|
a = document.createElement("schmancy-sheet"), a.setAttribute("uid", s), t.appendChild(a);
|
|
754
754
|
}
|
|
755
755
|
o.lock && a.setAttribute("lock", "true");
|
|
756
756
|
const n = o.position || (window.innerWidth >= 768 ? "side" : "bottom");
|
|
757
757
|
return a.setAttribute("position", n), o.title && a.setAttribute("title", o.title), o.persist && a.setAttribute("persist", String(o.persist)), o.header && a.setAttribute("header", o.header), o.handleHistory !== void 0 && a.setAttribute("handleHistory", String(o.handleHistory)), document.body.style.overflow = "hidden", { target: o, sheet: a };
|
|
758
758
|
}), fe(20), ee(({ target: e, sheet: r }) => {
|
|
759
|
-
|
|
760
|
-
(r?.shadowRoot?.querySelector("slot")?.assignedElements() || []).find((t) => t.tagName === e.component.tagName) || r?.appendChild(e.component);
|
|
761
|
-
else {
|
|
762
|
-
const o = document.createElement("div");
|
|
763
|
-
o.setAttribute("slot", "default"), Ge(e.component, o);
|
|
764
|
-
const t = r?.querySelector('[slot="default"]');
|
|
765
|
-
t && t.remove(), r?.appendChild(o);
|
|
766
|
-
}
|
|
759
|
+
(r?.shadowRoot?.querySelector("slot")?.assignedElements() || []).find((t) => t.tagName === e.component.tagName) || r?.appendChild(e.component);
|
|
767
760
|
}), fe(1), ee(({ target: e, sheet: r }) => {
|
|
768
761
|
r?.setAttribute("open", "true");
|
|
769
762
|
const o = e.uid ?? (e.component instanceof HTMLElement ? e.component.tagName : `sheet-${Date.now()}`);
|
|
@@ -771,7 +764,7 @@ const Ce = "are-you-there-sheet", me = "yes-here", fr = new class {
|
|
|
771
764
|
const t = { schmancySheet: !0, uid: o, timestamp: Date.now() };
|
|
772
765
|
history.pushState(t, "", window.location.href);
|
|
773
766
|
}
|
|
774
|
-
|
|
767
|
+
J(r, "close").pipe(je(1)).pipe(fe(300)).subscribe((t) => {
|
|
775
768
|
const a = r;
|
|
776
769
|
if (a) {
|
|
777
770
|
const n = a.getAttribute("uid");
|
|
@@ -784,14 +777,14 @@ const Ce = "are-you-there-sheet", me = "yes-here", fr = new class {
|
|
|
784
777
|
})).subscribe();
|
|
785
778
|
}
|
|
786
779
|
setupSheetDismissLogic() {
|
|
787
|
-
this.$dismiss.pipe(
|
|
780
|
+
this.$dismiss.pipe(_e((e) => Te([J(window, me).pipe(de(pe(100)), ie((r) => r.detail), ye(void 0)), he(e).pipe(ee(() => {
|
|
788
781
|
window.dispatchEvent(new CustomEvent(Ce, { detail: { uid: e } }));
|
|
789
782
|
}))])), ee(([e, r]) => {
|
|
790
783
|
e?.sheet && (e.sheet.closeSheet(), this.activeSheets.delete(r));
|
|
791
784
|
})).subscribe();
|
|
792
785
|
}
|
|
793
786
|
setupPopStateListener() {
|
|
794
|
-
this.popStateListenerActive || (
|
|
787
|
+
this.popStateListenerActive || (J(window, "popstate").subscribe((e) => {
|
|
795
788
|
if (this.activeSheets.size > 0) {
|
|
796
789
|
const r = Array.from(this.activeSheets).pop();
|
|
797
790
|
r && (this.dismiss(r), e.state && e.state.schmancySheet && history.pushState({}, "", window.location.href));
|
|
@@ -818,14 +811,14 @@ const Ce = "are-you-there-sheet", me = "yes-here", fr = new class {
|
|
|
818
811
|
}
|
|
819
812
|
}();
|
|
820
813
|
export {
|
|
821
|
-
|
|
814
|
+
ir as S,
|
|
822
815
|
Oe as T,
|
|
823
816
|
Ce as a,
|
|
824
817
|
me as b,
|
|
825
818
|
Ve as c,
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
819
|
+
Y as d,
|
|
820
|
+
or as f,
|
|
821
|
+
yr as s,
|
|
822
|
+
cr as t
|
|
830
823
|
};
|
|
831
|
-
//# sourceMappingURL=sheet.service-
|
|
824
|
+
//# sourceMappingURL=sheet.service-Dm2r1_ji.js.map
|