@mhmo91/schmancy 0.10.25 → 0.10.27
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/custom-elements.json +9 -18
- package/dist/agent/overlay.confirm-body-BZoUgkdK.js +4574 -0
- package/dist/agent/overlay.confirm-body-BZoUgkdK.js.map +1 -0
- package/dist/agent/schmancy.agent.js +3183 -4976
- package/dist/agent/schmancy.agent.js.map +1 -1
- package/dist/agent/schmancy.manifest.json +68 -24
- package/dist/{area-DrVE5pXW.cjs → area-BSVOYQDA.cjs} +1 -1
- package/dist/{area-DrVE5pXW.cjs.map → area-BSVOYQDA.cjs.map} +1 -1
- package/dist/{area-1EG1LrkX.js → area-C_Yvjmad.js} +1 -1
- package/dist/{area-1EG1LrkX.js.map → area-C_Yvjmad.js.map} +1 -1
- package/dist/area.cjs +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-6pdZxEab.cjs → autocomplete-B50VXUzw.cjs} +1 -1
- package/dist/{autocomplete-6pdZxEab.cjs.map → autocomplete-B50VXUzw.cjs.map} +1 -1
- package/dist/{autocomplete-nrIcCilw.js → autocomplete-C6I1mfOT.js} +2 -2
- package/dist/{autocomplete-nrIcCilw.js.map → autocomplete-C6I1mfOT.js.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/avatar.cjs +2 -2
- package/dist/avatar.js +3 -3
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat--fLgbDAE.js → boat-C94QZ4Zt.js} +27 -21
- package/dist/boat-C94QZ4Zt.js.map +1 -0
- package/dist/boat-DVQBNkk5.cjs +85 -0
- package/dist/boat-DVQBNkk5.cjs.map +1 -0
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/{busy-DshZcVZ4.js → busy--bNb42rM.js} +1 -1
- package/dist/{busy-DshZcVZ4.js.map → busy--bNb42rM.js.map} +1 -1
- package/dist/{busy-DVCIxBVf.cjs → busy-DuxFvEkY.cjs} +1 -1
- package/dist/{busy-DVCIxBVf.cjs.map → busy-DuxFvEkY.cjs.map} +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/{button-D9UJ7I6Z.js → button-B7b9L_h5.js} +26 -187
- package/dist/button-B7b9L_h5.js.map +1 -0
- package/dist/{button-JrTMzwHY.cjs → button-DAFZ5A4O.cjs} +2 -60
- package/dist/button-DAFZ5A4O.cjs.map +1 -0
- package/dist/button.cjs +59 -1
- package/dist/button.cjs.map +1 -0
- package/dist/button.js +170 -2
- package/dist/button.js.map +1 -0
- package/dist/{card-CTotavhH.cjs → card-DZPd24Sn.cjs} +1 -1
- package/dist/{card-CTotavhH.cjs.map → card-DZPd24Sn.cjs.map} +1 -1
- package/dist/{card-BvCFuX3J.js → card-ixzxOW-Q.js} +1 -1
- package/dist/{card-BvCFuX3J.js.map → card-ixzxOW-Q.js.map} +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-By4fFmjt.cjs → checkbox-Bi_Fm2mf.cjs} +1 -1
- package/dist/{checkbox-By4fFmjt.cjs.map → checkbox-Bi_Fm2mf.cjs.map} +1 -1
- package/dist/{checkbox-GPsdCUbs.js → checkbox-DdGpepTh.js} +1 -1
- package/dist/{checkbox-GPsdCUbs.js.map → checkbox-DdGpepTh.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-27umqnat.js → chips-DLTynyVB.js} +3 -3
- package/dist/{chips-27umqnat.js.map → chips-DLTynyVB.js.map} +1 -1
- package/dist/{chips-BZf9sGA8.cjs → chips-DWQMZErr.cjs} +1 -1
- package/dist/{chips-BZf9sGA8.cjs.map → chips-DWQMZErr.cjs.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/connectivity.cjs +1 -1
- package/dist/connectivity.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-BJnLWCRF.cjs → date-range-BgGQyxOC.cjs} +1 -1
- package/dist/{date-range-BJnLWCRF.cjs.map → date-range-BgGQyxOC.cjs.map} +1 -1
- package/dist/{date-range-wDVHcr0u.js → date-range-CT6ckjmV.js} +2 -2
- package/dist/{date-range-wDVHcr0u.js.map → date-range-CT6ckjmV.js.map} +1 -1
- package/dist/{date-range-inline-BNbbRfIA.js → date-range-inline-Ho3CENTh.js} +1 -1
- package/dist/{date-range-inline-BNbbRfIA.js.map → date-range-inline-Ho3CENTh.js.map} +1 -1
- package/dist/{date-range-inline-B6uKUliV.cjs → date-range-inline-nPWIs-3C.cjs} +1 -1
- package/dist/{date-range-inline-B6uKUliV.cjs.map → date-range-inline-nPWIs-3C.cjs.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +2 -2
- package/dist/{details-DNrWIes6.cjs → details-BnRWMZdt.cjs} +1 -1
- package/dist/{details-DNrWIes6.cjs.map → details-BnRWMZdt.cjs.map} +1 -1
- package/dist/{details-Ckxpwacj.js → details-CcMTvYo7.js} +2 -2
- package/dist/{details-Ckxpwacj.js.map → details-CcMTvYo7.js.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{directives-F15SJZUR.cjs → directives-BkSqmLBV.cjs} +22 -20
- package/dist/directives-BkSqmLBV.cjs.map +1 -0
- package/dist/{directives-BBMqe8x3.js → directives-DgPbz0lQ.js} +142 -198
- package/dist/directives-DgPbz0lQ.js.map +1 -0
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +7 -6
- package/dist/discovery.cjs +1 -1
- package/dist/discovery.js +1 -1
- package/dist/{discovery.service-CVDXO9rH.cjs.map → discovery.service-CIa3Eeuk.cjs.map} +1 -1
- package/dist/{discovery.service-COmbHaoI.js.map → discovery.service-DZFxtRwW.js.map} +1 -1
- package/dist/{divider-Cde33ivs.cjs → divider-C6yJSL1c.cjs} +1 -1
- package/dist/{divider-Cde33ivs.cjs.map → divider-C6yJSL1c.cjs.map} +1 -1
- package/dist/{divider-BzcZGo4S.js → divider-CZCj0ioH.js} +1 -1
- package/dist/{divider-BzcZGo4S.js.map → divider-CZCj0ioH.js.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{expand-DI144OzN.js → expand-Cc6ogXsR.js} +2 -2
- package/dist/{expand-DI144OzN.js.map → expand-Cc6ogXsR.js.map} +1 -1
- package/dist/{expand-Db4V0jj-.cjs → expand-D4EhwOYh.cjs} +1 -1
- package/dist/{expand-Db4V0jj-.cjs.map → expand-D4EhwOYh.cjs.map} +1 -1
- package/dist/expand.cjs +1 -1
- package/dist/expand.js +1 -1
- package/dist/{float--RScf9BZ.cjs → float-B8EPc_OG.cjs} +1 -1
- package/dist/{float--RScf9BZ.cjs.map → float-B8EPc_OG.cjs.map} +1 -1
- package/dist/{float-DIyzy1c2.js → float-BvI3HTtB.js} +1 -1
- package/dist/{float-DIyzy1c2.js.map → float-BvI3HTtB.js.map} +1 -1
- package/dist/float.cjs +1 -1
- package/dist/float.js +1 -1
- package/dist/form-C4eFgFwF.cjs +42 -0
- package/dist/{form-DWNpOsIU.cjs.map → form-C4eFgFwF.cjs.map} +1 -1
- package/dist/{form-RtXH8UHQ.js → form-CGe9rVox.js} +8 -8
- package/dist/{form-RtXH8UHQ.js.map → form-CGe9rVox.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +6 -6
- package/dist/gravity-6pL6CfIr.cjs +1 -0
- package/dist/gravity-6pL6CfIr.cjs.map +1 -0
- package/dist/gravity-sVK3zGBF.js +46 -0
- package/dist/gravity-sVK3zGBF.js.map +1 -0
- package/dist/handover/agent-runtime-followups.md +1 -1
- package/dist/handover/agent-runtime-v1.md +3 -3
- package/dist/{hashContent-Dgmzc32o.js.map → hashContent-BqU6v1Xr.js.map} +1 -1
- package/dist/{hashContent-Dh1VzIAb.cjs.map → hashContent-iRZJJWtE.cjs.map} +1 -1
- package/dist/{icons-DXanGDZ_.js → icon-B1eZr2ZL.js} +1 -1
- package/dist/icon-B1eZr2ZL.js.map +1 -0
- package/dist/{icons-bNxlWLlk.cjs → icon-CgIXAvKI.cjs} +1 -1
- package/dist/{icons-DXanGDZ_.js.map → icon-CgIXAvKI.cjs.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/{iframe-B1XWRaLC.cjs → iframe-BO3BpRLH.cjs} +1 -1
- package/dist/{iframe-B1XWRaLC.cjs.map → iframe-BO3BpRLH.cjs.map} +1 -1
- package/dist/{iframe-BlHK0cjy.js → iframe-CmpAZc61.js} +1 -1
- package/dist/{iframe-BlHK0cjy.js.map → iframe-CmpAZc61.js.map} +1 -1
- package/dist/iframe.cjs +1 -1
- package/dist/iframe.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +49 -47
- package/dist/{input-C-_XU9AX.cjs → input-5YL2oUBr.cjs} +1 -1
- package/dist/{input-C-_XU9AX.cjs.map → input-5YL2oUBr.cjs.map} +1 -1
- package/dist/{input-CiGa8Dkl.js → input-_Hft9vov.js} +1 -1
- package/dist/{input-CiGa8Dkl.js.map → input-_Hft9vov.js.map} +1 -1
- package/dist/{input-chip-l--zCMGR.js → input-chip-BNTojQT6.js} +1 -1
- package/dist/{input-chip-l--zCMGR.js.map → input-chip-BNTojQT6.js.map} +1 -1
- package/dist/{input-chip-5aYnuRZ_.cjs → input-chip-DKMNpcED.cjs} +1 -1
- package/dist/{input-chip-5aYnuRZ_.cjs.map → input-chip-DKMNpcED.cjs.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/json.cjs +1 -1
- package/dist/json.js +2 -2
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{lightbox-D9oiu1Nv.js → lightbox-CKlYcnHV.js} +1 -1
- package/dist/{lightbox-D9oiu1Nv.js.map → lightbox-CKlYcnHV.js.map} +1 -1
- package/dist/{lightbox-CfRDkeeb.cjs → lightbox-t4dvb8_A.cjs} +1 -1
- package/dist/{lightbox-CfRDkeeb.cjs.map → lightbox-t4dvb8_A.cjs.map} +1 -1
- package/dist/lightbox.cjs +1 -1
- package/dist/lightbox.js +1 -1
- package/dist/{list-CDJi3_Ut.cjs → list-21mWtDKg.cjs} +4 -4
- package/dist/list-21mWtDKg.cjs.map +1 -0
- package/dist/{list-BOlRka4v.js → list-B6QhxgRJ.js} +4 -7
- package/dist/list-B6QhxgRJ.js.map +1 -0
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{magnetic-mHXl54Z8.js.map → magnetic-B2VKNfDu.js.map} +1 -1
- package/dist/{magnetic-D-ph029G.cjs.map → magnetic-MQ3HMHJi.cjs.map} +1 -1
- package/dist/{menu-XyrLmCi_.js → menu-CjOgPSOG.js} +2 -2
- package/dist/{menu-XyrLmCi_.js.map → menu-CjOgPSOG.js.map} +1 -1
- package/dist/{menu-CJaDL2cd.cjs → menu-Cu5G4vcR.cjs} +1 -1
- package/dist/{menu-CJaDL2cd.cjs.map → menu-Cu5G4vcR.cjs.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/mixins-8dT5j6CS.js +627 -0
- package/dist/mixins-8dT5j6CS.js.map +1 -0
- package/dist/mixins-BF3Vj8_c.cjs +242 -0
- package/dist/mixins-BF3Vj8_c.cjs.map +1 -0
- package/dist/mixins.cjs +1 -1
- package/dist/mixins.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/navigation-rail.cjs +7 -5
- package/dist/navigation-rail.cjs.map +1 -1
- package/dist/navigation-rail.js +52 -38
- package/dist/navigation-rail.js.map +1 -1
- package/dist/notification-CDKBKh63.js +243 -0
- package/dist/notification-CDKBKh63.js.map +1 -0
- package/dist/notification-CcNoBFEJ.cjs +24 -0
- package/dist/notification-CcNoBFEJ.cjs.map +1 -0
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-Vpy4UQ-D.js → option-BWfmDJvm.js} +1 -1
- package/dist/{option-Vpy4UQ-D.js.map → option-BWfmDJvm.js.map} +1 -1
- package/dist/{option-nRk4MuXH.cjs → option-DejeqOad.cjs} +1 -1
- package/dist/{option-nRk4MuXH.cjs.map → option-DejeqOad.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{overlay-jlkcrt8F.js → overlay-D3c_NY18.js} +214 -265
- package/dist/overlay-D3c_NY18.js.map +1 -0
- package/dist/overlay-Dv2utO4C.cjs +43 -0
- package/dist/overlay-Dv2utO4C.cjs.map +1 -0
- package/dist/overlay.cjs +1 -1
- package/dist/overlay.confirm-body-B2ntyquG.cjs +79 -0
- package/dist/overlay.confirm-body-B2ntyquG.cjs.map +1 -0
- package/dist/overlay.confirm-body-B_v0ivkn.js +159 -0
- package/dist/overlay.confirm-body-B_v0ivkn.js.map +1 -0
- package/dist/overlay.js +3 -3
- package/dist/overlay.service-B3FjXCqc.js +143 -0
- package/dist/overlay.service-B3FjXCqc.js.map +1 -0
- package/dist/overlay.service-BkSeqXIv.cjs +1 -0
- package/dist/overlay.service-BkSeqXIv.cjs.map +1 -0
- package/dist/{progress-CAp_4jtq.cjs → progress-6_rb3Ah9.cjs} +1 -1
- package/dist/{progress-CAp_4jtq.cjs.map → progress-6_rb3Ah9.cjs.map} +1 -1
- package/dist/{progress-8Bn88GK_.js → progress-CFcmO0wv.js} +1 -1
- package/dist/{progress-8Bn88GK_.js.map → progress-CFcmO0wv.js.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-group-GNHA7qJR.js → radio-group-Bd8y9QpX.js} +1 -1
- package/dist/{radio-group-GNHA7qJR.js.map → radio-group-Bd8y9QpX.js.map} +1 -1
- package/dist/{radio-group-CN44mAoc.cjs → radio-group-_WZg8EKM.cjs} +1 -1
- package/dist/{radio-group-CN44mAoc.cjs.map → radio-group-_WZg8EKM.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/range.cjs +1 -1
- package/dist/range.js +1 -1
- package/dist/{rxjs-utils-CaC-tdot.cjs.map → rxjs-utils-Csnks202.cjs.map} +1 -1
- package/dist/{rxjs-utils-BXpvHN4-.js.map → rxjs-utils-d-ivVN84.js.map} +1 -1
- package/dist/rxjs-utils.cjs +1 -1
- package/dist/rxjs-utils.js +1 -1
- package/dist/{select-DZNns5Pa.cjs → select-BaioT3yY.cjs} +2 -2
- package/dist/{select-DZNns5Pa.cjs.map → select-BaioT3yY.cjs.map} +1 -1
- package/dist/{select-BnuXRHS4.js → select-Czpl1ztD.js} +3 -3
- package/dist/{select-BnuXRHS4.js.map → select-Czpl1ztD.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/skills/SKILL.md +1 -1
- package/dist/skills/list.md +0 -1
- package/dist/skills/schmancy/SKILL.md +1 -1
- package/dist/skills/schmancy/list.md +0 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{splash-screen-DeoPRrOu.cjs → splash-screen-3FtgdVy3.cjs} +1 -1
- package/dist/{splash-screen-DeoPRrOu.cjs.map → splash-screen-3FtgdVy3.cjs.map} +1 -1
- package/dist/{splash-screen-CUP_elaT.js → splash-screen-YtTVkJg8.js} +1 -1
- package/dist/{splash-screen-CUP_elaT.js.map → splash-screen-YtTVkJg8.js.map} +1 -1
- package/dist/splash-screen.cjs +1 -1
- package/dist/splash-screen.js +1 -1
- package/dist/{src-DQ4wr0qq.cjs → src-0LIdvAX6.cjs} +8 -8
- package/dist/{src-DQ4wr0qq.cjs.map → src-0LIdvAX6.cjs.map} +1 -1
- package/dist/{src-B1VkLX3l.js → src-BJHws7IS.js} +37 -37
- package/dist/{src-B1VkLX3l.js.map → src-BJHws7IS.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-LkaZQXZn.cjs → surface-BNvxLEDN.cjs} +1 -1
- package/dist/surface-BNvxLEDN.cjs.map +1 -0
- package/dist/{surface-hOvkrjGN.js → surface-CVxyQPln.js} +1 -1
- package/dist/surface-CVxyQPln.js.map +1 -0
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/switch.cjs +1 -1
- package/dist/switch.js +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-CfwIHhHo.js → tabs-CnPXvZuZ.js} +1 -1
- package/dist/{tabs-CfwIHhHo.js.map → tabs-CnPXvZuZ.js.map} +1 -1
- package/dist/{tabs-bplzstz6.cjs → tabs-DTU7748z.cjs} +1 -1
- package/dist/{tabs-bplzstz6.cjs.map → tabs-DTU7748z.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-hrDp5gQq.cjs → textarea-Bqth6Q8P.cjs} +1 -1
- package/dist/{textarea-hrDp5gQq.cjs.map → textarea-Bqth6Q8P.cjs.map} +1 -1
- package/dist/{textarea-C1A5xuw9.js → textarea-mQPsppmd.js} +1 -1
- package/dist/{textarea-C1A5xuw9.js.map → textarea-mQPsppmd.js.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-BniFOMEo.js → theme-BJqpv4cG.js} +2 -2
- package/dist/{theme-BniFOMEo.js.map → theme-BJqpv4cG.js.map} +1 -1
- package/dist/{theme-DmR6PKV8.cjs → theme-D4HGKt7N.cjs} +1 -1
- package/dist/{theme-DmR6PKV8.cjs.map → theme-D4HGKt7N.cjs.map} +1 -1
- package/dist/{theme-button--ruZIb0T.js → theme-button-Jap7G_IH.js} +1 -1
- package/dist/{theme-button--ruZIb0T.js.map → theme-button-Jap7G_IH.js.map} +1 -1
- package/dist/{theme-button-a0LgZ7hQ.cjs → theme-button-LP-Dgr17.cjs} +1 -1
- package/dist/{theme-button-a0LgZ7hQ.cjs.map → theme-button-LP-Dgr17.cjs.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.interface-B5xjEk74.cjs.map → theme.interface-CSt7JUBD.cjs.map} +1 -1
- package/dist/{theme.interface-DVEw3s8m.js.map → theme.interface-odQEpZZH.js.map} +1 -1
- package/dist/theme.js +3 -3
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/typography-BJMm6b0b.js +358 -0
- package/dist/typography-BJMm6b0b.js.map +1 -0
- package/dist/typography-Bc4MmSal.cjs +282 -0
- package/dist/typography-Bc4MmSal.cjs.map +1 -0
- package/dist/typography.cjs +1 -282
- package/dist/typography.js +2 -358
- package/dist/{utils-CVWUrECT.cjs.map → utils-DTa3QHxk.cjs.map} +1 -1
- package/dist/{utils-578eFTx4.js.map → utils-H8wNknWC.js.map} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/dist/visually-hidden.cjs +1 -1
- package/dist/visually-hidden.js +1 -1
- package/dist/{window-Bp7zWZpu.cjs → window-CNu_WnsY.cjs} +1 -1
- package/dist/{window-Bp7zWZpu.cjs.map → window-CNu_WnsY.cjs.map} +1 -1
- package/dist/{window-BT9JecWy.js → window-DZTjkE24.js} +1 -1
- package/dist/{window-BT9JecWy.js.map → window-DZTjkE24.js.map} +1 -1
- package/dist/window.cjs +1 -1
- package/dist/window.js +1 -1
- package/package.json +1 -1
- package/skills/schmancy/SKILL.md +1 -1
- package/skills/schmancy/list.md +0 -1
- package/src/boat/boat.ts +33 -23
- package/src/directives/nebula.ts +64 -61
- package/src/list/list.ts +1 -12
- package/src/navigation-rail/navigation-rail.ts +558 -490
- package/src/notification/notification-service.ts +81 -263
- package/src/notification/notification.scss +93 -50
- package/src/notification/notification.ts +32 -69
- package/src/overlay/overlay.component.ts +99 -158
- package/src/overlay/overlay.confirm-body.ts +106 -61
- package/src/overlay/overlay.service.ts +81 -108
- package/src/surface/surface.styles.ts +0 -17
- package/src/surface/surface.ts +5 -7
- package/types/mixins/surface.mixin.d.ts +0 -3
- package/types/src/directives/nebula.d.ts +1 -1
- package/types/src/list/list.d.ts +0 -9
- package/types/src/navigation-rail/navigation-rail.d.ts +21 -1
- package/types/src/notification/notification-service.d.ts +3 -86
- package/types/src/notification/notification.d.ts +1 -1
- package/types/src/overlay/overlay.component.d.ts +1 -2
- package/types/src/overlay/overlay.confirm-body.d.ts +8 -4
- package/types/src/surface/surface.d.ts +5 -6
- package/types/src/surface/surface.styles.d.ts +0 -4
- package/dist/agent/overlay.confirm-body-DozUyDYx.js +0 -2859
- package/dist/agent/overlay.confirm-body-DozUyDYx.js.map +0 -1
- package/dist/boat--fLgbDAE.js.map +0 -1
- package/dist/boat-BIB-gPqy.cjs +0 -80
- package/dist/boat-BIB-gPqy.cjs.map +0 -1
- package/dist/button-D9UJ7I6Z.js.map +0 -1
- package/dist/button-JrTMzwHY.cjs.map +0 -1
- package/dist/directives-BBMqe8x3.js.map +0 -1
- package/dist/directives-F15SJZUR.cjs.map +0 -1
- package/dist/form-DWNpOsIU.cjs +0 -42
- package/dist/icons-bNxlWLlk.cjs.map +0 -1
- package/dist/list-BOlRka4v.js.map +0 -1
- package/dist/list-CDJi3_Ut.cjs.map +0 -1
- package/dist/mixins-CsYsIJOI.cjs +0 -254
- package/dist/mixins-CsYsIJOI.cjs.map +0 -1
- package/dist/mixins-DySzfmal.js +0 -642
- package/dist/mixins-DySzfmal.js.map +0 -1
- package/dist/notification-CHrEY4u8.js +0 -306
- package/dist/notification-CHrEY4u8.js.map +0 -1
- package/dist/notification-DKp4tjaB.cjs +0 -23
- package/dist/notification-DKp4tjaB.cjs.map +0 -1
- package/dist/overlay-HNrWZ4sB.cjs +0 -81
- package/dist/overlay-HNrWZ4sB.cjs.map +0 -1
- package/dist/overlay-jlkcrt8F.js.map +0 -1
- package/dist/overlay.confirm-body-B8dFI3cj.cjs +0 -45
- package/dist/overlay.confirm-body-B8dFI3cj.cjs.map +0 -1
- package/dist/overlay.confirm-body-CYShkjI6.js +0 -100
- package/dist/overlay.confirm-body-CYShkjI6.js.map +0 -1
- package/dist/overlay.service-BTPn7Uv7.cjs +0 -1
- package/dist/overlay.service-BTPn7Uv7.cjs.map +0 -1
- package/dist/overlay.service-BqhhxVJp.js +0 -146
- package/dist/overlay.service-BqhhxVJp.js.map +0 -1
- package/dist/surface-LkaZQXZn.cjs.map +0 -1
- package/dist/surface-hOvkrjGN.js.map +0 -1
- package/dist/typography.cjs.map +0 -1
- package/dist/typography.js.map +0 -1
- /package/dist/{discovery.service-CVDXO9rH.cjs → discovery.service-CIa3Eeuk.cjs} +0 -0
- /package/dist/{discovery.service-COmbHaoI.js → discovery.service-DZFxtRwW.js} +0 -0
- /package/dist/{hashContent-Dgmzc32o.js → hashContent-BqU6v1Xr.js} +0 -0
- /package/dist/{hashContent-Dh1VzIAb.cjs → hashContent-iRZJJWtE.cjs} +0 -0
- /package/dist/{magnetic-mHXl54Z8.js → magnetic-B2VKNfDu.js} +0 -0
- /package/dist/{magnetic-D-ph029G.cjs → magnetic-MQ3HMHJi.cjs} +0 -0
- /package/dist/{rxjs-utils-CaC-tdot.cjs → rxjs-utils-Csnks202.cjs} +0 -0
- /package/dist/{rxjs-utils-BXpvHN4-.js → rxjs-utils-d-ivVN84.js} +0 -0
- /package/dist/{theme.interface-B5xjEk74.cjs → theme.interface-CSt7JUBD.cjs} +0 -0
- /package/dist/{theme.interface-DVEw3s8m.js → theme.interface-odQEpZZH.js} +0 -0
- /package/dist/{utils-CVWUrECT.cjs → utils-DTa3QHxk.cjs} +0 -0
- /package/dist/{utils-578eFTx4.js → utils-H8wNknWC.js} +0 -0
|
@@ -5,8 +5,9 @@ import "./cursor-glow-Ah7VXSj7.js";
|
|
|
5
5
|
import { i as s, n as c, r as l } from "./theme.service-Bh08uOSJ.js";
|
|
6
6
|
import { t as u } from "./layout-DSAjo92m.js";
|
|
7
7
|
import { t as d } from "./overlay-stack-D2rgxQLh.js";
|
|
8
|
-
import
|
|
9
|
-
import "./
|
|
8
|
+
import "./gravity-sVK3zGBF.js";
|
|
9
|
+
import { r as f } from "./discovery.service-DZFxtRwW.js";
|
|
10
|
+
import "./magnetic-B2VKNfDu.js";
|
|
10
11
|
import { BehaviorSubject as p, EMPTY as m, Observable as h, Subject as g, Subscription as _, animationFrameScheduler as v, combineLatest as y, concat as b, debounceTime as x, defer as S, filter as C, forkJoin as ee, from as w, fromEvent as T, interval as E, merge as te, of as ne, takeUntil as re, timer as D } from "rxjs";
|
|
11
12
|
import { auditTime as ie, catchError as O, debounceTime as ae, delay as oe, distinctUntilChanged as k, filter as A, finalize as se, first as ce, map as j, observeOn as le, repeat as ue, skip as de, startWith as fe, switchMap as M, take as N, takeUntil as P, takeWhile as F, tap as I } from "rxjs/operators";
|
|
12
13
|
import { noChange as L, nothing as R } from "lit";
|
|
@@ -1662,12 +1663,12 @@ var ze = U(class extends V {
|
|
|
1662
1663
|
function Z(e) {
|
|
1663
1664
|
Ue.push(`[${(/* @__PURE__ */ new Date()).toISOString().slice(11, 23)}] ${e}`);
|
|
1664
1665
|
}
|
|
1665
|
-
var
|
|
1666
|
+
var Q = null;
|
|
1666
1667
|
J.pipe(k((e, t) => e?.target === t?.target && e?.position === t?.position)).subscribe((e) => {
|
|
1667
|
-
if (!e) return void (
|
|
1668
|
+
if (!e) return void (Q && (Q.style.display = "none"));
|
|
1668
1669
|
if (o.value) return;
|
|
1669
1670
|
let t = function() {
|
|
1670
|
-
if (
|
|
1671
|
+
if (Q) return Q;
|
|
1671
1672
|
let e = document.createElement("div");
|
|
1672
1673
|
e.setAttribute("data-schmancy-drop-line", ""), Object.assign(e.style, {
|
|
1673
1674
|
position: "fixed",
|
|
@@ -1692,7 +1693,7 @@ J.pipe(k((e, t) => e?.target === t?.target && e?.position === t?.position)).subs
|
|
|
1692
1693
|
[t]: "-3px"
|
|
1693
1694
|
}), e.appendChild(n);
|
|
1694
1695
|
}
|
|
1695
|
-
return document.body.appendChild(e),
|
|
1696
|
+
return document.body.appendChild(e), Q = e, e;
|
|
1696
1697
|
}(), n = e.target.getBoundingClientRect(), r = e.position === "before" ? n.top - 1 : n.bottom + 1;
|
|
1697
1698
|
Object.assign(t.style, {
|
|
1698
1699
|
top: `${r}px`,
|
|
@@ -1701,7 +1702,7 @@ J.pipe(k((e, t) => e?.target === t?.target && e?.position === t?.position)).subs
|
|
|
1701
1702
|
display: "block"
|
|
1702
1703
|
});
|
|
1703
1704
|
});
|
|
1704
|
-
var
|
|
1705
|
+
var We = class extends V {
|
|
1705
1706
|
constructor(...e) {
|
|
1706
1707
|
super(...e), this.destroy$ = new g();
|
|
1707
1708
|
}
|
|
@@ -1756,7 +1757,7 @@ var Ge = class extends V {
|
|
|
1756
1757
|
render(e) {
|
|
1757
1758
|
return R;
|
|
1758
1759
|
}
|
|
1759
|
-
},
|
|
1760
|
+
}, Ge = U(We), Ke = class extends V {
|
|
1760
1761
|
constructor(...e) {
|
|
1761
1762
|
super(...e), this.destroy$ = new g();
|
|
1762
1763
|
}
|
|
@@ -1801,7 +1802,7 @@ var Ge = class extends V {
|
|
|
1801
1802
|
render(e) {
|
|
1802
1803
|
return R;
|
|
1803
1804
|
}
|
|
1804
|
-
},
|
|
1805
|
+
}, qe = U(Ke), Je = B(class extends z {
|
|
1805
1806
|
constructor(...e) {
|
|
1806
1807
|
super(...e), this.element = null, this.disconnecting$ = new g();
|
|
1807
1808
|
}
|
|
@@ -1831,7 +1832,7 @@ var Ge = class extends V {
|
|
|
1831
1832
|
reconnected() {
|
|
1832
1833
|
this.element && (this.disconnecting$ = new g(), this.subscribe());
|
|
1833
1834
|
}
|
|
1834
|
-
}),
|
|
1835
|
+
}), Ye = B(class extends z {
|
|
1835
1836
|
constructor(...e) {
|
|
1836
1837
|
super(...e), this.state = null, this.destroy$ = new g(), this.subscriptions = new _();
|
|
1837
1838
|
}
|
|
@@ -2095,45 +2096,7 @@ var Ge = class extends V {
|
|
|
2095
2096
|
reconnected() {
|
|
2096
2097
|
this.destroy$ = new g(), this.subscriptions = new _();
|
|
2097
2098
|
}
|
|
2098
|
-
}), Ze =
|
|
2099
|
-
constructor(...e) {
|
|
2100
|
-
super(...e), this.hasAnimated = !1;
|
|
2101
|
-
}
|
|
2102
|
-
render(e) {}
|
|
2103
|
-
update(e, [t]) {
|
|
2104
|
-
if (e.type !== H.ELEMENT) throw Error("gravity directive must be used on an element");
|
|
2105
|
-
if (this.element = e.element, this.options = t, this.hasAnimated) return;
|
|
2106
|
-
if (o.value) return void (this.hasAnimated = !0);
|
|
2107
|
-
let n = Math.max(.3, Math.min(3, t?.mass ?? 1)), r = t?.distance ?? 30, i = (t?.delay ?? 0) + (t?.stagger ?? 0);
|
|
2108
|
-
this.animate(n, r, i), this.hasAnimated = !0;
|
|
2109
|
-
}
|
|
2110
|
-
reconnected() {
|
|
2111
|
-
if (this.hasAnimated = !1, this.options && !o.value) {
|
|
2112
|
-
let e = Math.max(.3, Math.min(3, this.options.mass ?? 1)), t = this.options.distance ?? 30, n = (this.options.delay ?? 0) + (this.options.stagger ?? 0);
|
|
2113
|
-
this.animate(e, t, n), this.hasAnimated = !0;
|
|
2114
|
-
}
|
|
2115
|
-
}
|
|
2116
|
-
animate(e, t, r) {
|
|
2117
|
-
let a = e < .7 ? i : n, o = a.duration * (1 / Math.sqrt(e)), s = 1 / e * t;
|
|
2118
|
-
this.animation?.cancel(), this.element.style.willChange = "transform, opacity", this.animation = this.element.animate([{
|
|
2119
|
-
opacity: 0,
|
|
2120
|
-
transform: `translateY(-${s}px)`
|
|
2121
|
-
}, {
|
|
2122
|
-
opacity: 1,
|
|
2123
|
-
transform: "translateY(0)"
|
|
2124
|
-
}], {
|
|
2125
|
-
duration: o,
|
|
2126
|
-
delay: r,
|
|
2127
|
-
easing: a.easingFallback,
|
|
2128
|
-
fill: "backwards"
|
|
2129
|
-
}), w(this.animation.finished).pipe(N(1), I(() => {
|
|
2130
|
-
this.element.style.willChange = "", this.animation = void 0;
|
|
2131
|
-
}), O(() => m)).subscribe();
|
|
2132
|
-
}
|
|
2133
|
-
disconnected() {
|
|
2134
|
-
this.animation?.cancel(), this.animation = void 0;
|
|
2135
|
-
}
|
|
2136
|
-
}), Qe = 600, $e = !1, Q = {
|
|
2099
|
+
}), Xe = 600, Ze = !1, $ = {
|
|
2137
2100
|
hAlpha: "rgba(200, 50, 100, 0.85)",
|
|
2138
2101
|
hAlphaDim: "rgba(150, 30, 80, 0.5)",
|
|
2139
2102
|
oiii: "rgba(40, 180, 180, 0.7)",
|
|
@@ -2144,11 +2107,11 @@ var Ge = class extends V {
|
|
|
2144
2107
|
deepBlue: "rgba(20, 40, 100, 0.5)",
|
|
2145
2108
|
voidBlack: "rgba(0, 0, 0, 1)",
|
|
2146
2109
|
singularity: "rgba(10, 5, 20, 1)"
|
|
2147
|
-
},
|
|
2148
|
-
function
|
|
2110
|
+
}, Qe = (e) => `<svg viewBox="0 0 24 24" width="24" height="24" style="overflow:visible">\n\t<defs>\n\t\t<radialGradient id="glow">\n\t\t\t<stop offset="0%" stop-color="${e}" stop-opacity="1"/>\n\t\t\t<stop offset="50%" stop-color="${e}" stop-opacity="0.4"/>\n\t\t\t<stop offset="100%" stop-color="${e}" stop-opacity="0"/>\n\t\t</radialGradient>\n\t</defs>\n\n\t\x3c!-- Outer glow --\x3e\n\t<circle cx="12" cy="12" r="10" fill="url(#glow)"/>\n\n\t\x3c!-- Core --\x3e\n\t<circle cx="12" cy="12" r="4" fill="${e}"/>\n\n\t\x3c!-- Bright center --\x3e\n\t<circle cx="12" cy="12" r="2" fill="white" opacity="0.9"/>\n</svg>`;
|
|
2111
|
+
function $e(e, t) {
|
|
2149
2112
|
return `rgba(${parseInt(e.slice(1, 3), 16)}, ${parseInt(e.slice(3, 5), 16)}, ${parseInt(e.slice(5, 7), 16)}, ${t})`;
|
|
2150
2113
|
}
|
|
2151
|
-
var
|
|
2114
|
+
var et = B(class extends z {
|
|
2152
2115
|
constructor(...e) {
|
|
2153
2116
|
super(...e), this.state$ = new p("idle"), this.destroyed$ = new p(!1), this.visible$ = new p(!0), this.bird = null, this.blackHole = null, this.particles = [], this.trailCanvas = null, this.trailCtx = null, this.lastTrailPos = null, this.rafId = 0, this.context = null, this.element = null, this.options = {}, this.hasHome = !1, this.currentColor = "", this.shimmerOverlay = null, this.shimmerAnimation = null, this.pulseRings = [], this.homeElement = null, this.accretionDisks = [], this.lensingRing = null, this.eventHorizon = null;
|
|
2154
2117
|
}
|
|
@@ -2169,8 +2132,8 @@ var nt = B(class extends z {
|
|
|
2169
2132
|
update(e, [t = !0]) {
|
|
2170
2133
|
let n = e.element, r = typeof t == "object" ? t : {};
|
|
2171
2134
|
return (typeof t == "boolean" ? t : !1 !== r.playing) ? (this.bird || (this.destroyed$.value && (this.destroyed$.next(!1), this.state$.next("idle")), this.element = n, this.options = r, window.getComputedStyle(n).position === "static" && (n.style.position = "relative"), n.style.overflow = "visible", function() {
|
|
2172
|
-
if (
|
|
2173
|
-
|
|
2135
|
+
if (Ze) return;
|
|
2136
|
+
Ze = !0;
|
|
2174
2137
|
let e = document.createElement("style");
|
|
2175
2138
|
e.id = "hb-keyframes", e.textContent = "\n @keyframes hb-wing {\n 0% { transform: scaleY(0.85); opacity: 0.4; }\n 100% { transform: scaleY(1.15); opacity: 0.6; }\n }\n @keyframes hb-disk-inner {\n to { transform: translate(-50%, -50%) rotateX(75deg) rotate(360deg); }\n }\n @keyframes hb-disk-outer {\n to { transform: translate(-50%, -50%) rotateX(70deg) rotate(-360deg); }\n }\n @keyframes hb-disk-mid {\n to { transform: translate(-50%, -50%) rotateX(72deg) rotate(180deg); }\n }\n @keyframes hb-bh-in {\n 0% { transform: translate(-50%, -50%) scale(0); }\n 60% { transform: translate(-50%, -50%) scale(1.1); }\n 100% { transform: translate(-50%, -50%) scale(1); }\n }\n @keyframes hb-horizon-pulse {\n 0%, 100% { box-shadow: 0 0 20px 6px var(--hb-color), 0 0 40px 12px var(--hb-color-dim); }\n 50% { box-shadow: 0 0 30px 10px var(--hb-color), 0 0 60px 20px var(--hb-color-dim); }\n }\n @keyframes hb-lensing {\n 0% { transform: translate(-50%, -50%) rotateX(85deg) scale(1); opacity: 0.6; }\n 50% { transform: translate(-50%, -50%) rotateX(85deg) scale(1.05); opacity: 0.8; }\n 100% { transform: translate(-50%, -50%) rotateX(85deg) scale(1); opacity: 0.6; }\n }\n @keyframes hb-particle-orbit {\n 0% { transform: rotate(0deg) translateX(var(--orbit-radius)) rotate(0deg) scale(1); opacity: 0.9; }\n 100% { transform: rotate(720deg) translateX(0px) rotate(-720deg) scale(0); opacity: 0; }\n }\n @keyframes hb-ripple {\n 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; }\n 100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }\n }\n ", document.head.appendChild(e);
|
|
2176
2139
|
}(), this.initStateMachine()), L) : (this.fadeOutAndCleanup(), L);
|
|
@@ -2232,12 +2195,12 @@ var nt = B(class extends z {
|
|
|
2232
2195
|
async createBird() {
|
|
2233
2196
|
if (!this.element) return;
|
|
2234
2197
|
let e = document.createElement("div");
|
|
2235
|
-
e.innerHTML =
|
|
2198
|
+
e.innerHTML = Qe(this.currentColor), e.className = "pointer-events-none", e.style.cssText = "\n position: absolute;\n left: 0;\n top: 0;\n width: 24px;\n height: 24px;\n z-index: 99999;\n will-change: transform, opacity;\n transform-origin: center center;\n transition: opacity 400ms ease-out;\n ", this.element.appendChild(e), this.bird = e, this.discoverInitialColor();
|
|
2236
2199
|
let t = this.element.getBoundingClientRect(), n = this.toHostRelative(t.left, t.top), r = await this.discoverWaypoints(this.options.waypoints || []), i = this.options.home ? await this.getPosition(this.options.home) : null, a = [...r];
|
|
2237
2200
|
this.hasHome = !!i, i && a.push(i), a.length === 0 && a.push({
|
|
2238
2201
|
x: n.x + t.width + 60,
|
|
2239
2202
|
y: n.y + .5 * t.height,
|
|
2240
|
-
duration:
|
|
2203
|
+
duration: Xe
|
|
2241
2204
|
});
|
|
2242
2205
|
let o = n.x - 60, s = n.y + t.height / 2;
|
|
2243
2206
|
this.context = {
|
|
@@ -2255,7 +2218,7 @@ var nt = B(class extends z {
|
|
|
2255
2218
|
}
|
|
2256
2219
|
discoverInitialColor() {
|
|
2257
2220
|
this.element && (T(window, l).pipe(N(1), P(D(150)), j((e) => e.detail.theme?.color), A((e) => !!e && e !== this.currentColor), P(this.destroyed$.pipe(A((e) => e)))).subscribe((e) => {
|
|
2258
|
-
this.bird && (this.currentColor = e, this.bird.innerHTML =
|
|
2221
|
+
this.bird && (this.currentColor = e, this.bird.innerHTML = Qe(e));
|
|
2259
2222
|
}), this.element.dispatchEvent(new CustomEvent(s, {
|
|
2260
2223
|
bubbles: !0,
|
|
2261
2224
|
composed: !0
|
|
@@ -2265,7 +2228,7 @@ var nt = B(class extends z {
|
|
|
2265
2228
|
if (!this.bird || !this.context || this.destroyed$.value) return;
|
|
2266
2229
|
let e = this.context.destinations[this.context.destIdx];
|
|
2267
2230
|
e?.element && (T(window, l).pipe(N(1), P(D(100)), j((e) => e.detail.theme?.color), A((e) => !!e && e !== this.currentColor), P(this.destroyed$.pipe(A((e) => e)))).subscribe((e) => {
|
|
2268
|
-
this.bird && (this.currentColor = e, this.bird.innerHTML =
|
|
2231
|
+
this.bird && (this.currentColor = e, this.bird.innerHTML = Qe(e));
|
|
2269
2232
|
}), e.element.dispatchEvent(new CustomEvent(s, {
|
|
2270
2233
|
bubbles: !0,
|
|
2271
2234
|
composed: !0
|
|
@@ -2275,10 +2238,10 @@ var nt = B(class extends z {
|
|
|
2275
2238
|
if (e.length === 0) return Promise.resolve([]);
|
|
2276
2239
|
let t = e.map((e) => typeof e == "string" || e instanceof HTMLElement ? {
|
|
2277
2240
|
ref: e,
|
|
2278
|
-
duration:
|
|
2241
|
+
duration: Xe
|
|
2279
2242
|
} : {
|
|
2280
2243
|
ref: e.ref,
|
|
2281
|
-
duration: e.duration ??
|
|
2244
|
+
duration: e.duration ?? Xe
|
|
2282
2245
|
}), n = t.map((e) => this.discoverElement(e.ref));
|
|
2283
2246
|
return new Promise((e) => {
|
|
2284
2247
|
ee(n).pipe(j((e) => e.map((e, n) => {
|
|
@@ -2312,7 +2275,7 @@ var nt = B(class extends z {
|
|
|
2312
2275
|
x: r.x,
|
|
2313
2276
|
y: r.y,
|
|
2314
2277
|
element: t,
|
|
2315
|
-
duration:
|
|
2278
|
+
duration: Xe
|
|
2316
2279
|
};
|
|
2317
2280
|
}
|
|
2318
2281
|
updateDestinationPositions() {
|
|
@@ -2449,7 +2412,7 @@ var nt = B(class extends z {
|
|
|
2449
2412
|
let n = this.currentColor;
|
|
2450
2413
|
for (let r = 0; r < 3; r++) {
|
|
2451
2414
|
let i = document.createElement("div");
|
|
2452
|
-
i.className = "pointer-events-none", i.style.cssText = `\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: ${e}px;\n\t\t\t\ttop: ${t}px;\n\t\t\t\twidth: 40px;\n\t\t\t\theight: 40px;\n\t\t\t\tborder-radius: 9999px;\n\t\t\t\tborder: 2px solid ${
|
|
2415
|
+
i.className = "pointer-events-none", i.style.cssText = `\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: ${e}px;\n\t\t\t\ttop: ${t}px;\n\t\t\t\twidth: 40px;\n\t\t\t\theight: 40px;\n\t\t\t\tborder-radius: 9999px;\n\t\t\t\tborder: 2px solid ${$e(n, .5)};\n\t\t\t\ttransform: translate(-50%, -50%) scale(1);\n\t\t\t\tz-index: 9998;\n\t\t\t\twill-change: transform, opacity;\n\t\t\t`, this.element?.appendChild(i), this.pulseRings.push(i), i.animate([{
|
|
2453
2416
|
transform: "translate(-50%, -50%) scale(1)",
|
|
2454
2417
|
opacity: .6
|
|
2455
2418
|
}, {
|
|
@@ -2580,7 +2543,7 @@ var nt = B(class extends z {
|
|
|
2580
2543
|
}
|
|
2581
2544
|
createBlackHole(e, t) {
|
|
2582
2545
|
let n = this.currentColor, r = document.createElement("div");
|
|
2583
|
-
r.className = "pointer-events-none", r.style.cssText = `\n\t\t\tposition: absolute;\n\t\t\tleft: ${e}px;\n\t\t\ttop: ${t}px;\n\t\t\twidth: 100px;\n\t\t\theight: 100px;\n\t\t\tborder-radius: 9999px;\n\t\t\tborder: 1px solid ${
|
|
2546
|
+
r.className = "pointer-events-none", r.style.cssText = `\n\t\t\tposition: absolute;\n\t\t\tleft: ${e}px;\n\t\t\ttop: ${t}px;\n\t\t\twidth: 100px;\n\t\t\theight: 100px;\n\t\t\tborder-radius: 9999px;\n\t\t\tborder: 1px solid ${$.oiiiDim};\n\t\t\tbackground: radial-gradient(circle, transparent 40%, ${$.deepPurple} 70%, transparent 100%);\n\t\t\tbox-shadow:\n\t\t\t\tinset 0 0 25px ${$.oiiiDim},\n\t\t\t\t0 0 40px ${$.deepPurple},\n\t\t\t\t0 0 60px ${$e(n, .15)};\n\t\t\ttransform: translate(-50%, -50%) rotateX(85deg) scale(0);\n\t\t\tz-index: 9994;\n\t\t\twill-change: transform, opacity;\n\t\t\tanimation: hb-lensing 2s ease-in-out infinite;\n\t\t`, r.animate([{ transform: "translate(-50%, -50%) rotateX(85deg) scale(0)" }, { transform: "translate(-50%, -50%) rotateX(85deg) scale(1)" }], {
|
|
2584
2547
|
duration: 600,
|
|
2585
2548
|
easing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
2586
2549
|
fill: "forwards"
|
|
@@ -2588,24 +2551,24 @@ var nt = B(class extends z {
|
|
|
2588
2551
|
{
|
|
2589
2552
|
size: 85,
|
|
2590
2553
|
speed: 4,
|
|
2591
|
-
color1:
|
|
2592
|
-
color2:
|
|
2554
|
+
color1: $.oiii,
|
|
2555
|
+
color2: $.deepBlue,
|
|
2593
2556
|
rotateX: 68,
|
|
2594
2557
|
reverse: !0
|
|
2595
2558
|
},
|
|
2596
2559
|
{
|
|
2597
2560
|
size: 68,
|
|
2598
2561
|
speed: 2.5,
|
|
2599
|
-
color1:
|
|
2600
|
-
color2:
|
|
2562
|
+
color1: $.hAlpha,
|
|
2563
|
+
color2: $.hAlphaDim,
|
|
2601
2564
|
rotateX: 72,
|
|
2602
2565
|
reverse: !1
|
|
2603
2566
|
},
|
|
2604
2567
|
{
|
|
2605
2568
|
size: 52,
|
|
2606
2569
|
speed: 1.8,
|
|
2607
|
-
color1:
|
|
2608
|
-
color2:
|
|
2570
|
+
color1: $.stellar,
|
|
2571
|
+
color2: $.stellarDim,
|
|
2609
2572
|
rotateX: 76,
|
|
2610
2573
|
reverse: !0
|
|
2611
2574
|
}
|
|
@@ -2626,7 +2589,7 @@ var nt = B(class extends z {
|
|
|
2626
2589
|
}, this.element?.appendChild(i), this.accretionDisks.push(i);
|
|
2627
2590
|
});
|
|
2628
2591
|
let i = document.createElement("div");
|
|
2629
|
-
i.className = "pointer-events-none", i.style.cssText = `\n\t\t\t--hb-color: ${
|
|
2592
|
+
i.className = "pointer-events-none", i.style.cssText = `\n\t\t\t--hb-color: ${$.hAlpha};\n\t\t\t--hb-color-dim: ${$.oiiiDim};\n\t\t\tposition: absolute;\n\t\t\tleft: ${e}px;\n\t\t\ttop: ${t}px;\n\t\t\twidth: 36px;\n\t\t\theight: 36px;\n\t\t\tborder-radius: 9999px;\n\t\t\tbackground: radial-gradient(circle,\n\t\t\t\t${$.singularity} 0%,\n\t\t\t\t${$.voidBlack} 40%,\n\t\t\t\t${$.deepPurple} 60%,\n\t\t\t\t${$.hAlphaDim} 75%,\n\t\t\t\ttransparent 100%\n\t\t\t);\n\t\t\tbox-shadow:\n\t\t\t\t0 0 15px 4px ${$.hAlpha},\n\t\t\t\t0 0 30px 8px ${$.oiiiDim},\n\t\t\t\t0 0 50px 15px ${$.deepPurple},\n\t\t\t\tinset 0 0 15px ${$.voidBlack};\n\t\t\ttransform: translate(-50%, -50%) scale(0);\n\t\t\tz-index: 9999;\n\t\t\twill-change: transform, box-shadow;\n\t\t\tanimation: hb-horizon-pulse 1.5s ease-in-out infinite;\n\t\t`, i.animate([
|
|
2630
2593
|
{ transform: "translate(-50%, -50%) scale(0)" },
|
|
2631
2594
|
{
|
|
2632
2595
|
transform: "translate(-50%, -50%) scale(1.15)",
|
|
@@ -2642,20 +2605,20 @@ var nt = B(class extends z {
|
|
|
2642
2605
|
addParticles(e, t) {
|
|
2643
2606
|
let n = [
|
|
2644
2607
|
{
|
|
2645
|
-
bg:
|
|
2646
|
-
glow:
|
|
2608
|
+
bg: $.hAlpha,
|
|
2609
|
+
glow: $.hAlphaDim
|
|
2647
2610
|
},
|
|
2648
2611
|
{
|
|
2649
|
-
bg:
|
|
2650
|
-
glow:
|
|
2612
|
+
bg: $.oiii,
|
|
2613
|
+
glow: $.oiiiDim
|
|
2651
2614
|
},
|
|
2652
2615
|
{
|
|
2653
|
-
bg:
|
|
2654
|
-
glow:
|
|
2616
|
+
bg: $.stellar,
|
|
2617
|
+
glow: $.stellarDim
|
|
2655
2618
|
},
|
|
2656
2619
|
{
|
|
2657
2620
|
bg: "rgba(255, 255, 255, 0.9)",
|
|
2658
|
-
glow:
|
|
2621
|
+
glow: $.stellarDim
|
|
2659
2622
|
}
|
|
2660
2623
|
];
|
|
2661
2624
|
for (let r = 0; r < 10; r++) {
|
|
@@ -2687,10 +2650,10 @@ var nt = B(class extends z {
|
|
|
2687
2650
|
}).onfinish = () => i.remove();
|
|
2688
2651
|
}
|
|
2689
2652
|
let r = [
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2653
|
+
$.hAlpha,
|
|
2654
|
+
$.oiii,
|
|
2655
|
+
$.stellar,
|
|
2656
|
+
$.oiii
|
|
2694
2657
|
];
|
|
2695
2658
|
for (let n = 0; n < 5; n++) {
|
|
2696
2659
|
let i = document.createElement("div"), a = n / 5 * Math.PI * 2 + Math.PI / 10, o = 65 + 25 * Math.random(), s = r[n % r.length];
|
|
@@ -2771,20 +2734,20 @@ var nt = B(class extends z {
|
|
|
2771
2734
|
}).onfinish = () => r.remove());
|
|
2772
2735
|
let i = [
|
|
2773
2736
|
{
|
|
2774
|
-
border:
|
|
2775
|
-
glow:
|
|
2737
|
+
border: $.stellar,
|
|
2738
|
+
glow: $.stellarDim
|
|
2776
2739
|
},
|
|
2777
2740
|
{
|
|
2778
|
-
border:
|
|
2779
|
-
glow:
|
|
2741
|
+
border: $.hAlpha,
|
|
2742
|
+
glow: $.hAlphaDim
|
|
2780
2743
|
},
|
|
2781
2744
|
{
|
|
2782
|
-
border:
|
|
2783
|
-
glow:
|
|
2745
|
+
border: $.oiii,
|
|
2746
|
+
glow: $.oiiiDim
|
|
2784
2747
|
},
|
|
2785
2748
|
{
|
|
2786
|
-
border:
|
|
2787
|
-
glow:
|
|
2749
|
+
border: $.deepPurple,
|
|
2750
|
+
glow: $.deepBlue
|
|
2788
2751
|
}
|
|
2789
2752
|
];
|
|
2790
2753
|
for (let n = 0; n < 4; n++) {
|
|
@@ -2814,7 +2777,7 @@ var nt = B(class extends z {
|
|
|
2814
2777
|
}).onfinish = () => r.remove();
|
|
2815
2778
|
}
|
|
2816
2779
|
let a = document.createElement("div");
|
|
2817
|
-
a.className = "pointer-events-none", a.style.cssText = `\n\t\t\tposition: absolute;\n\t\t\tleft: ${e}px;\n\t\t\ttop: ${t}px;\n\t\t\twidth: 10px;\n\t\t\theight: 10px;\n\t\t\tborder-radius: 9999px;\n\t\t\tbackground: radial-gradient(circle,\n\t\t\t\twhite 0%,\n\t\t\t\t${
|
|
2780
|
+
a.className = "pointer-events-none", a.style.cssText = `\n\t\t\tposition: absolute;\n\t\t\tleft: ${e}px;\n\t\t\ttop: ${t}px;\n\t\t\twidth: 10px;\n\t\t\theight: 10px;\n\t\t\tborder-radius: 9999px;\n\t\t\tbackground: radial-gradient(circle,\n\t\t\t\twhite 0%,\n\t\t\t\t${$.stellar} 20%,\n\t\t\t\t${$.hAlpha} 50%,\n\t\t\t\t${$.oiiiDim} 70%,\n\t\t\t\ttransparent 100%\n\t\t\t);\n\t\t\ttransform: translate(-50%, -50%) scale(0);\n\t\t\tz-index: 10000;\n\t\t\twill-change: transform, opacity;\n\t\t`, this.element?.appendChild(a), a.animate([
|
|
2818
2781
|
{
|
|
2819
2782
|
transform: "translate(-50%, -50%) scale(0)",
|
|
2820
2783
|
opacity: 1
|
|
@@ -2834,7 +2797,7 @@ var nt = B(class extends z {
|
|
|
2834
2797
|
fill: "forwards"
|
|
2835
2798
|
}).onfinish = () => a.remove();
|
|
2836
2799
|
let o = document.createElement("div");
|
|
2837
|
-
if (o.className = "pointer-events-none", o.style.cssText = `\n\t\t\tposition: absolute;\n\t\t\tleft: ${e}px;\n\t\t\ttop: ${t}px;\n\t\t\twidth: 50px;\n\t\t\theight: 50px;\n\t\t\tborder-radius: 9999px;\n\t\t\tbackground: radial-gradient(circle,\n\t\t\t\t${
|
|
2800
|
+
if (o.className = "pointer-events-none", o.style.cssText = `\n\t\t\tposition: absolute;\n\t\t\tleft: ${e}px;\n\t\t\ttop: ${t}px;\n\t\t\twidth: 50px;\n\t\t\theight: 50px;\n\t\t\tborder-radius: 9999px;\n\t\t\tbackground: radial-gradient(circle,\n\t\t\t\t${$.stellarDim} 0%,\n\t\t\t\t${$.hAlphaDim} 30%,\n\t\t\t\t${$.oiiiDim} 50%,\n\t\t\t\t${$.deepPurple} 70%,\n\t\t\t\ttransparent 100%\n\t\t\t);\n\t\t\ttransform: translate(-50%, -50%);\n\t\t\tz-index: 9989;\n\t\t\twill-change: opacity;\n\t\t\tmix-blend-mode: screen;\n\t\t`, this.element?.appendChild(o), o.animate([
|
|
2838
2801
|
{
|
|
2839
2802
|
opacity: 1,
|
|
2840
2803
|
transform: "translate(-50%, -50%) scale(1)"
|
|
@@ -2987,7 +2950,7 @@ var nt = B(class extends z {
|
|
|
2987
2950
|
disconnected() {
|
|
2988
2951
|
this.cleanup();
|
|
2989
2952
|
}
|
|
2990
|
-
}),
|
|
2953
|
+
}), tt = B(class extends z {
|
|
2991
2954
|
constructor(...e) {
|
|
2992
2955
|
super(...e), this.state = null;
|
|
2993
2956
|
}
|
|
@@ -3034,10 +2997,10 @@ var nt = B(class extends z {
|
|
|
3034
2997
|
reconnected() {
|
|
3035
2998
|
this.state && this.state.observer.observe(this.state.element);
|
|
3036
2999
|
}
|
|
3037
|
-
}),
|
|
3000
|
+
}), nt = {
|
|
3038
3001
|
active: !0,
|
|
3039
3002
|
intensity: "medium"
|
|
3040
|
-
},
|
|
3003
|
+
}, rt = {
|
|
3041
3004
|
light: {
|
|
3042
3005
|
blur: 12,
|
|
3043
3006
|
sat: 1.3,
|
|
@@ -3062,13 +3025,13 @@ var nt = B(class extends z {
|
|
|
3062
3025
|
border: .35,
|
|
3063
3026
|
shadow: .1
|
|
3064
3027
|
}
|
|
3065
|
-
},
|
|
3028
|
+
}, it = [
|
|
3066
3029
|
"backdropFilter",
|
|
3067
3030
|
"background",
|
|
3068
3031
|
"boxShadow",
|
|
3069
3032
|
"borderTop",
|
|
3070
3033
|
"borderBottom"
|
|
3071
|
-
],
|
|
3034
|
+
], at = B(class extends z {
|
|
3072
3035
|
constructor(...e) {
|
|
3073
3036
|
super(...e), this.state = null;
|
|
3074
3037
|
}
|
|
@@ -3077,17 +3040,17 @@ var nt = B(class extends z {
|
|
|
3077
3040
|
}
|
|
3078
3041
|
update(e, [t = {}]) {
|
|
3079
3042
|
let n = e.element, r = {
|
|
3080
|
-
...
|
|
3043
|
+
...nt,
|
|
3081
3044
|
...t
|
|
3082
3045
|
};
|
|
3083
3046
|
return r.active ? this.activate(n, r) : this.cleanup(), L;
|
|
3084
3047
|
}
|
|
3085
3048
|
activate(e, t) {
|
|
3086
3049
|
if (!this.isConnected) return;
|
|
3087
|
-
let n =
|
|
3050
|
+
let n = rt[t.intensity];
|
|
3088
3051
|
if (!this.state) {
|
|
3089
3052
|
let t = {};
|
|
3090
|
-
for (let n of
|
|
3053
|
+
for (let n of it) t[n] = e.style[n];
|
|
3091
3054
|
this.state = {
|
|
3092
3055
|
element: e,
|
|
3093
3056
|
origStyles: t
|
|
@@ -3110,20 +3073,20 @@ var nt = B(class extends z {
|
|
|
3110
3073
|
cleanup() {
|
|
3111
3074
|
if (!this.state) return;
|
|
3112
3075
|
let { element: e, origStyles: t } = this.state;
|
|
3113
|
-
for (let n of
|
|
3076
|
+
for (let n of it) e.style[n] = t[n];
|
|
3114
3077
|
e.style.removeProperty("-webkit-backdrop-filter"), this.state = null;
|
|
3115
3078
|
}
|
|
3116
3079
|
disconnected() {
|
|
3117
3080
|
this.cleanup();
|
|
3118
3081
|
}
|
|
3119
3082
|
reconnected() {}
|
|
3120
|
-
}),
|
|
3121
|
-
function
|
|
3122
|
-
if (
|
|
3083
|
+
}), ot = "schmancy-lb-rotate", st = !1;
|
|
3084
|
+
function ct() {
|
|
3085
|
+
if (st) return;
|
|
3123
3086
|
let e = document.createElement("style");
|
|
3124
|
-
e.id = "schmancy-living-border-shared", e.textContent = `\n\t\t@property --${
|
|
3087
|
+
e.id = "schmancy-living-border-shared", e.textContent = `\n\t\t@property --${ot}-angle {\n\t\t\tsyntax: '<angle>';\n\t\t\tinitial-value: 0deg;\n\t\t\tinherits: false;\n\t\t}\n\t\t@keyframes ${ot} {\n\t\t\tto { --${ot}-angle: 360deg; }\n\t\t}\n\t`, document.head.appendChild(e), st = !0;
|
|
3125
3088
|
}
|
|
3126
|
-
var
|
|
3089
|
+
var lt = U(class extends z {
|
|
3127
3090
|
constructor(...e) {
|
|
3128
3091
|
super(...e), this.teardown$ = new g(), this.didSetPosition = !1;
|
|
3129
3092
|
}
|
|
@@ -3131,10 +3094,10 @@ var ut = U(class extends z {
|
|
|
3131
3094
|
update(e, [t]) {
|
|
3132
3095
|
if (e.type !== H.ELEMENT) throw Error("livingBorder directive must be used on an element");
|
|
3133
3096
|
let n = JSON.stringify(t ?? {});
|
|
3134
|
-
this.element && n === this.prevKey || (this.prevKey = n, this.element = e.element, this.lastOptions = t, o.value || (this.teardown$.next(), this.cleanup(),
|
|
3097
|
+
this.element && n === this.prevKey || (this.prevKey = n, this.element = e.element, this.lastOptions = t, o.value || (this.teardown$.next(), this.cleanup(), ct(), this.createBorderOverlay(t)));
|
|
3135
3098
|
}
|
|
3136
3099
|
reconnected() {
|
|
3137
|
-
this.lastOptions && !o.value && (
|
|
3100
|
+
this.lastOptions && !o.value && (ct(), this.createBorderOverlay(this.lastOptions));
|
|
3138
3101
|
}
|
|
3139
3102
|
createBorderOverlay(e) {
|
|
3140
3103
|
let t = e?.width ?? 1, n = e?.color ?? "var(--schmancy-sys-color-primary-default)", r = e?.spread ?? 6, i = e?.duration ?? 3e3, a = e?.onHover ?? !1;
|
|
@@ -3149,12 +3112,12 @@ var ut = U(class extends z {
|
|
|
3149
3112
|
borderRadius: "inherit",
|
|
3150
3113
|
pointerEvents: "none",
|
|
3151
3114
|
zIndex: "0",
|
|
3152
|
-
background: `conic-gradient(\n\t\t\t\tfrom var(--${
|
|
3115
|
+
background: `conic-gradient(\n\t\t\t\tfrom var(--${ot}-angle),\n\t\t\t\ttransparent 0%, transparent 30%,\n\t\t\t\tcolor-mix(in srgb, ${n} 50%, transparent) 45%,\n\t\t\t\t${n} 50%,\n\t\t\t\tcolor-mix(in srgb, ${n} 50%, transparent) 55%,\n\t\t\t\ttransparent 70%, transparent 100%\n\t\t\t)`,
|
|
3153
3116
|
mask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
|
|
3154
3117
|
maskComposite: "exclude",
|
|
3155
3118
|
WebkitMaskComposite: "xor",
|
|
3156
3119
|
padding: `${t}px`,
|
|
3157
|
-
animation: `${
|
|
3120
|
+
animation: `${ot} ${i}ms linear infinite`,
|
|
3158
3121
|
filter: `blur(${.3 * r}px) drop-shadow(0 0 ${r}px color-mix(in srgb, ${n} 40%, transparent))`,
|
|
3159
3122
|
opacity: a ? "0" : "0.5",
|
|
3160
3123
|
transition: "opacity 300ms ease"
|
|
@@ -3170,19 +3133,19 @@ var ut = U(class extends z {
|
|
|
3170
3133
|
disconnected() {
|
|
3171
3134
|
this.teardown$.next(), this.cleanup(), this.didSetPosition && this.element && (this.element.style.position = "", this.didSetPosition = !1);
|
|
3172
3135
|
}
|
|
3173
|
-
}),
|
|
3136
|
+
}), ut = /* @__PURE__ */ new WeakMap(), dt = U(class extends V {
|
|
3174
3137
|
constructor(e) {
|
|
3175
3138
|
if (super(e), e.type !== H.ELEMENT) throw Error("longPress directive can only be used on elements");
|
|
3176
3139
|
}
|
|
3177
3140
|
render(e, t) {}
|
|
3178
3141
|
update(e, [t, n = {}]) {
|
|
3179
|
-
let r = e.element, i =
|
|
3142
|
+
let r = e.element, i = ut.get(r);
|
|
3180
3143
|
if (i) {
|
|
3181
3144
|
if (i.callback === t && this.optionsEqual(i.options, n)) return;
|
|
3182
3145
|
i.subscription.unsubscribe();
|
|
3183
3146
|
}
|
|
3184
3147
|
let a = this.setupLongPress(r, t, n);
|
|
3185
|
-
|
|
3148
|
+
ut.set(r, {
|
|
3186
3149
|
subscription: a,
|
|
3187
3150
|
callback: t,
|
|
3188
3151
|
options: n || {}
|
|
@@ -3202,14 +3165,14 @@ var ut = U(class extends z {
|
|
|
3202
3165
|
})).subscribe();
|
|
3203
3166
|
}
|
|
3204
3167
|
disconnected(e) {
|
|
3205
|
-
let t = e.element, n =
|
|
3206
|
-
n && (n.subscription.unsubscribe(),
|
|
3168
|
+
let t = e.element, n = ut.get(t);
|
|
3169
|
+
n && (n.subscription.unsubscribe(), ut.delete(t));
|
|
3207
3170
|
}
|
|
3208
3171
|
reconnected(e) {
|
|
3209
|
-
let t = e.element, n =
|
|
3172
|
+
let t = e.element, n = ut.get(t);
|
|
3210
3173
|
n && (n.subscription = this.setupLongPress(t, n.callback, n.options));
|
|
3211
3174
|
}
|
|
3212
|
-
}),
|
|
3175
|
+
}), ft = B(class extends z {
|
|
3213
3176
|
constructor(...e) {
|
|
3214
3177
|
super(...e), this.state = null;
|
|
3215
3178
|
}
|
|
@@ -3356,7 +3319,7 @@ var ut = U(class extends z {
|
|
|
3356
3319
|
disconnected() {
|
|
3357
3320
|
this.cleanup();
|
|
3358
3321
|
}
|
|
3359
|
-
}),
|
|
3322
|
+
}), pt = {
|
|
3360
3323
|
active: !0,
|
|
3361
3324
|
autoHideDuration: 3e3,
|
|
3362
3325
|
background: !0,
|
|
@@ -3369,8 +3332,8 @@ var ut = U(class extends z {
|
|
|
3369
3332
|
idleBreathe: !0,
|
|
3370
3333
|
temperature: 0,
|
|
3371
3334
|
chromaticAberration: 1,
|
|
3372
|
-
particleCount:
|
|
3373
|
-
},
|
|
3335
|
+
particleCount: 8
|
|
3336
|
+
}, mt = "cubic-bezier(0.37, 0, 0.63, 1)", ht = "cubic-bezier(0.25, 0.1, 0.25, 1)", gt = !1, _t = class e {
|
|
3374
3337
|
constructor() {
|
|
3375
3338
|
this.elementToDirective = /* @__PURE__ */ new WeakMap(), this.instances = /* @__PURE__ */ new Set(), this.observer = null, this.visibilitySub = null, this.tabVisible = !0;
|
|
3376
3339
|
}
|
|
@@ -3401,16 +3364,16 @@ var ut = U(class extends z {
|
|
|
3401
3364
|
teardown() {
|
|
3402
3365
|
this.observer &&= (this.observer.disconnect(), null), this.visibilitySub &&= (this.visibilitySub.unsubscribe(), null);
|
|
3403
3366
|
}
|
|
3404
|
-
},
|
|
3367
|
+
}, vt = B(class extends z {
|
|
3405
3368
|
constructor(...e) {
|
|
3406
|
-
super(...e), this.state = null, this.coordinator =
|
|
3369
|
+
super(...e), this.state = null, this.coordinator = _t.instance;
|
|
3407
3370
|
}
|
|
3408
3371
|
render(e) {
|
|
3409
3372
|
return L;
|
|
3410
3373
|
}
|
|
3411
3374
|
update(e, [t = {}]) {
|
|
3412
3375
|
let n = e.element, r = {
|
|
3413
|
-
...
|
|
3376
|
+
...pt,
|
|
3414
3377
|
...t
|
|
3415
3378
|
};
|
|
3416
3379
|
return r.active ? this.show(n, r) : this.hide(r), L;
|
|
@@ -3422,39 +3385,36 @@ var ut = U(class extends z {
|
|
|
3422
3385
|
}
|
|
3423
3386
|
show(e, t) {
|
|
3424
3387
|
(function() {
|
|
3425
|
-
if (
|
|
3426
|
-
|
|
3388
|
+
if (gt || typeof document > "u") return;
|
|
3389
|
+
gt = !0;
|
|
3427
3390
|
let e = document.createElement("style");
|
|
3428
|
-
e.id = "nebula-directive-styles", e.textContent = "\n/* =============================================================================\n NEBULA v3 - SURREAL DIMENSIONAL RIFT - GPU-COMPOSITED CSS ANIMATIONS\n Chromatic aberration, iridescent hue-cycling, event horizon, tendrils.\n Performance: translate3d + opacity for most layers, hue-rotate for core only.\n ============================================================================= */\n\n/* Chromatic red channel - rightward aberration drift */\n@keyframes nebula-chromatic-red {\n 0%, 100% { transform: translate3d(var(--nebula-aberration, 3px), 0, 0); }\n 25% { transform: translate3d(calc(var(--nebula-aberration, 3px) * 1.8), -1%, 0); }\n 50% { transform: translate3d(var(--nebula-aberration, 3px), 1%, 0); }\n 75% { transform: translate3d(calc(var(--nebula-aberration, 3px) * 0.5), 0, 0); }\n}\n\n/* Chromatic blue channel - leftward counter-drift */\n@keyframes nebula-chromatic-blue {\n 0%, 100% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -1), 0, 0); }\n 25% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -0.5), 1%, 0); }\n 50% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -1), -1%, 0); }\n 75% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -1.8), 0, 0); }\n}\n\n/* Iridescent core -
|
|
3391
|
+
e.id = "nebula-directive-styles", e.textContent = "\n/* =============================================================================\n NEBULA v3 - SURREAL DIMENSIONAL RIFT - GPU-COMPOSITED CSS ANIMATIONS\n Chromatic aberration, iridescent hue-cycling, event horizon, tendrils.\n Performance: translate3d + opacity for most layers, hue-rotate for core only.\n ============================================================================= */\n\n/* Chromatic red channel - rightward aberration drift */\n@keyframes nebula-chromatic-red {\n 0%, 100% { transform: translate3d(var(--nebula-aberration, 3px), 0, 0); }\n 25% { transform: translate3d(calc(var(--nebula-aberration, 3px) * 1.8), -1%, 0); }\n 50% { transform: translate3d(var(--nebula-aberration, 3px), 1%, 0); }\n 75% { transform: translate3d(calc(var(--nebula-aberration, 3px) * 0.5), 0, 0); }\n}\n\n/* Chromatic blue channel - leftward counter-drift */\n@keyframes nebula-chromatic-blue {\n 0%, 100% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -1), 0, 0); }\n 25% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -0.5), 1%, 0); }\n 50% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -1), -1%, 0); }\n 75% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -1.8), 0, 0); }\n}\n\n/* Iridescent core - compositor-only rotation. filter is static (baked inline) to avoid\n per-frame raster cost of animated blur/hue-rotate under mix-blend-mode: screen. */\n@keyframes nebula-iridescent {\n 0% { transform: translateZ(0) rotate(0deg); }\n 100% { transform: translateZ(0) rotate(360deg); }\n}\n\n/* Bioluminescent tendrils - organic breathing */\n@keyframes nebula-tendrils-breathe {\n 0%, 100% { opacity: 0.6; transform: translate3d(0, 0, 0); }\n 30% { opacity: 0.9; transform: translate3d(1%, -1.5%, 0); }\n 60% { opacity: 0.5; transform: translate3d(-1%, 1.5%, 0); }\n}\n\n/* Quantum particle twinkle - opacity only (cheapest) */\n@keyframes nebula-particle-twinkle {\n 0%, 100% { opacity: 0.7; }\n 15% { opacity: 1; }\n 40% { opacity: 0.5; }\n 65% { opacity: 0.85; }\n 85% { opacity: 0.6; }\n}\n\n/* Idle breathing - compositor-only pulse when dimmed.\n filter: blur is intentionally static (baked on layers) — animating it here\n would keep re-rasterizing the dimmed overlay forever for no visual gain. */\n@keyframes nebula-idle-breathe {\n 0%, 100% {\n opacity: var(--nebula-idle-opacity, 0.08);\n transform: scale(1) translateZ(0);\n }\n 50% {\n opacity: calc(var(--nebula-idle-opacity, 0.08) * 1.4);\n transform: scale(1.005) translateZ(0);\n }\n}\n\n/* =============================================================================\n STATE CLASSES - Control via CSS class toggle (no JS animation calls)\n ============================================================================= */\n\n.nebula-overlay {\n contain: strict;\n pointer-events: none;\n isolation: isolate;\n}\n\n.nebula-overlay.paused .nebula-layer,\n.nebula-overlay.dimmed .nebula-layer {\n animation-play-state: paused !important;\n}\n\n.nebula-overlay.running .nebula-layer {\n animation-play-state: running !important;\n}\n\n/* Reduced motion - respect user preferences */\n@media (prefers-reduced-motion: reduce) {\n .nebula-layer {\n animation: none !important;\n transition: opacity 0s !important;\n }\n}\n", document.head.appendChild(e);
|
|
3429
3392
|
})(), this.state?.autoHideSub && (this.state.autoHideSub.unsubscribe(), this.state.autoHideSub = null);
|
|
3430
3393
|
let n = o.value;
|
|
3431
|
-
if (this.state?.overlay && this.state.isDimmed) return this.state.isDimmed = !1, this.state.options = t, this.awakenOverlay(t, n), void this.scheduleAutoHide(t);
|
|
3394
|
+
if (this.state?.overlay && this.state.isDimmed) return this.state.isDimmed = !1, this.state.options = t, this.state.fadeFinishedSub?.unsubscribe(), this.state.fadeFinishedSub = null, this.awakenOverlay(t, n), void this.scheduleAutoHide(t);
|
|
3432
3395
|
this.state?.overlay || this.createOverlay(e, t, n), this.scheduleAutoHide(t);
|
|
3433
3396
|
}
|
|
3434
3397
|
awakenOverlay(e, r) {
|
|
3435
3398
|
if (!this.state?.overlay) return;
|
|
3436
|
-
let i = this.state.overlay
|
|
3399
|
+
let i = this.state.overlay;
|
|
3437
3400
|
i.style.setProperty("--nebula-intensity", String(e.intensity)), i.animate([
|
|
3438
3401
|
{
|
|
3439
3402
|
opacity: e.idleOpacity,
|
|
3440
|
-
transform: "scale(0.98)"
|
|
3441
|
-
filter: `blur(${4 * e.blur}px)`
|
|
3403
|
+
transform: "scale(0.98) translateZ(0)"
|
|
3442
3404
|
},
|
|
3443
3405
|
{
|
|
3444
3406
|
opacity: .7 * e.intensity,
|
|
3445
|
-
transform: "scale(1.01)"
|
|
3446
|
-
filter: `blur(${1 * e.blur}px)`
|
|
3407
|
+
transform: "scale(1.01) translateZ(0)"
|
|
3447
3408
|
},
|
|
3448
3409
|
{
|
|
3449
3410
|
opacity: e.intensity,
|
|
3450
|
-
transform: "scale(1)"
|
|
3451
|
-
filter: "blur(0px)"
|
|
3411
|
+
transform: "scale(1) translateZ(0)"
|
|
3452
3412
|
}
|
|
3453
3413
|
], {
|
|
3454
|
-
duration:
|
|
3455
|
-
easing:
|
|
3414
|
+
duration: r ? 0 : .6 * e.fadeInDuration,
|
|
3415
|
+
easing: r ? "linear" : t(n),
|
|
3456
3416
|
fill: "forwards"
|
|
3457
|
-
}), i.classList.remove("paused"), i.classList.add("running");
|
|
3417
|
+
}), i.classList.remove("paused", "dimmed"), i.classList.add("running"), i.style.animation = "";
|
|
3458
3418
|
}
|
|
3459
3419
|
createOverlay(e, r, i) {
|
|
3460
3420
|
let a = window.getComputedStyle(e).position, o = e.style.position, s = e.style.overflow, c = e.style.contain;
|
|
@@ -3497,7 +3457,7 @@ var ut = U(class extends z {
|
|
|
3497
3457
|
filter: `blur(${18 * r.blur}px) saturate(1.4)`,
|
|
3498
3458
|
mixBlendMode: "screen",
|
|
3499
3459
|
transform: "translateZ(0)",
|
|
3500
|
-
animation: `nebula-chromatic-red ${35e3 / r.speed}ms ${
|
|
3460
|
+
animation: `nebula-chromatic-red ${35e3 / r.speed}ms ${ht} infinite`
|
|
3501
3461
|
}), C.appendChild(t);
|
|
3502
3462
|
let n = document.createElement("div");
|
|
3503
3463
|
n.className = "nebula-layer", Object.assign(n.style, {
|
|
@@ -3507,7 +3467,7 @@ var ut = U(class extends z {
|
|
|
3507
3467
|
filter: `blur(${18 * r.blur}px) saturate(1.4)`,
|
|
3508
3468
|
mixBlendMode: "screen",
|
|
3509
3469
|
transform: "translateZ(0)",
|
|
3510
|
-
animation: `nebula-chromatic-blue ${35e3 / r.speed}ms ${
|
|
3470
|
+
animation: `nebula-chromatic-blue ${35e3 / r.speed}ms ${ht} infinite`
|
|
3511
3471
|
}), C.appendChild(n);
|
|
3512
3472
|
let i = document.createElement("div");
|
|
3513
3473
|
i.className = "nebula-layer", Object.assign(i.style, {
|
|
@@ -3516,6 +3476,8 @@ var ut = U(class extends z {
|
|
|
3516
3476
|
background: `\n\t\t\t\t\tradial-gradient(ellipse 20% 22% at 50% 50%,\n\t\t\t\t\t\trgba(255,${x},${S},${.18 * f}) 0%,\n\t\t\t\t\t\trgba(255,${v},200,${.08 * f}) 40%,\n\t\t\t\t\t\trgba(${g},100,${_},${.03 * f}) 65%,\n\t\t\t\t\t\ttransparent 80%),\n\t\t\t\t\tradial-gradient(circle 6% at 50% 50%,\n\t\t\t\t\t\trgba(255,255,255,${.25 * f}) 0%,\n\t\t\t\t\t\trgba(255,240,245,${.1 * f}) 50%,\n\t\t\t\t\t\ttransparent 100%)`,
|
|
3517
3477
|
mixBlendMode: "screen",
|
|
3518
3478
|
transform: "translateZ(0)",
|
|
3479
|
+
transformOrigin: "50% 50%",
|
|
3480
|
+
filter: `blur(${12 * r.blur}px) saturate(1.6)`,
|
|
3519
3481
|
animation: `nebula-iridescent ${28e3 / r.speed}ms linear infinite`
|
|
3520
3482
|
}), C.appendChild(i);
|
|
3521
3483
|
let a = document.createElement("div");
|
|
@@ -3526,7 +3488,7 @@ var ut = U(class extends z {
|
|
|
3526
3488
|
filter: `blur(${14 * r.blur}px)`,
|
|
3527
3489
|
mixBlendMode: "screen",
|
|
3528
3490
|
transform: "translateZ(0)",
|
|
3529
|
-
animation: `nebula-tendrils-breathe ${22e3 / r.speed}ms ${
|
|
3491
|
+
animation: `nebula-tendrils-breathe ${22e3 / r.speed}ms ${mt} infinite`
|
|
3530
3492
|
}), C.appendChild(a), r.particleCount > 0) {
|
|
3531
3493
|
let e = document.createElement("div");
|
|
3532
3494
|
e.className = "nebula-layer";
|
|
@@ -3541,7 +3503,7 @@ var ut = U(class extends z {
|
|
|
3541
3503
|
background: t.join(","),
|
|
3542
3504
|
mixBlendMode: "screen",
|
|
3543
3505
|
transform: "translateZ(0)",
|
|
3544
|
-
animation: `nebula-particle-twinkle ${5e3 / r.speed}ms ${
|
|
3506
|
+
animation: `nebula-particle-twinkle ${5e3 / r.speed}ms ${mt} infinite`
|
|
3545
3507
|
}), C.appendChild(e);
|
|
3546
3508
|
}
|
|
3547
3509
|
}
|
|
@@ -3550,28 +3512,15 @@ var ut = U(class extends z {
|
|
|
3550
3512
|
C.animate([
|
|
3551
3513
|
{
|
|
3552
3514
|
opacity: 0,
|
|
3553
|
-
transform: "scale(0.85)"
|
|
3554
|
-
filter: `blur(${25 * r.blur}px) saturate(0.5)`
|
|
3555
|
-
},
|
|
3556
|
-
{
|
|
3557
|
-
opacity: .3 * r.intensity,
|
|
3558
|
-
transform: "scale(0.95)",
|
|
3559
|
-
filter: `blur(${12 * r.blur}px) saturate(0.8)`
|
|
3560
|
-
},
|
|
3561
|
-
{
|
|
3562
|
-
opacity: .6 * r.intensity,
|
|
3563
|
-
transform: "scale(1.02)",
|
|
3564
|
-
filter: `blur(${4 * r.blur}px) saturate(1.1)`
|
|
3515
|
+
transform: "scale(0.85) translateZ(0)"
|
|
3565
3516
|
},
|
|
3566
3517
|
{
|
|
3567
|
-
opacity: .
|
|
3568
|
-
transform: "scale(
|
|
3569
|
-
filter: `blur(${1 * r.blur}px) saturate(1.05)`
|
|
3518
|
+
opacity: .4 * r.intensity,
|
|
3519
|
+
transform: "scale(0.97) translateZ(0)"
|
|
3570
3520
|
},
|
|
3571
3521
|
{
|
|
3572
3522
|
opacity: r.intensity,
|
|
3573
|
-
transform: "scale(1)"
|
|
3574
|
-
filter: "blur(0px) saturate(1)"
|
|
3523
|
+
transform: "scale(1) translateZ(0)"
|
|
3575
3524
|
}
|
|
3576
3525
|
], {
|
|
3577
3526
|
duration: ee,
|
|
@@ -3585,6 +3534,7 @@ var ut = U(class extends z {
|
|
|
3585
3534
|
originalContain: c,
|
|
3586
3535
|
isDimmed: !1,
|
|
3587
3536
|
autoHideSub: null,
|
|
3537
|
+
fadeFinishedSub: null,
|
|
3588
3538
|
options: r,
|
|
3589
3539
|
reducedMotion: i,
|
|
3590
3540
|
isVisible: document.visibilityState === "visible"
|
|
@@ -3602,18 +3552,15 @@ var ut = U(class extends z {
|
|
|
3602
3552
|
if (e.idleOpacity <= 0) return void n.animate([
|
|
3603
3553
|
{
|
|
3604
3554
|
opacity: r.intensity,
|
|
3605
|
-
transform: "scale(1)"
|
|
3606
|
-
filter: "blur(0px) saturate(1)"
|
|
3555
|
+
transform: "scale(1) translateZ(0)"
|
|
3607
3556
|
},
|
|
3608
3557
|
{
|
|
3609
3558
|
opacity: .4 * r.intensity,
|
|
3610
|
-
transform: "scale(0.95)"
|
|
3611
|
-
filter: `blur(${8 * r.blur}px) saturate(0.7)`
|
|
3559
|
+
transform: "scale(0.95) translateZ(0)"
|
|
3612
3560
|
},
|
|
3613
3561
|
{
|
|
3614
3562
|
opacity: 0,
|
|
3615
|
-
transform: "scale(0.9)"
|
|
3616
|
-
filter: `blur(${15 * r.blur}px) saturate(0.3)`
|
|
3563
|
+
transform: "scale(0.9) translateZ(0)"
|
|
3617
3564
|
}
|
|
3618
3565
|
], {
|
|
3619
3566
|
duration: o,
|
|
@@ -3623,30 +3570,27 @@ var ut = U(class extends z {
|
|
|
3623
3570
|
let c = n.animate([
|
|
3624
3571
|
{
|
|
3625
3572
|
opacity: r.intensity,
|
|
3626
|
-
transform: "scale(1)"
|
|
3627
|
-
filter: "blur(0px) saturate(1)"
|
|
3573
|
+
transform: "scale(1) translateZ(0)"
|
|
3628
3574
|
},
|
|
3629
3575
|
{
|
|
3630
3576
|
opacity: .5 * r.intensity,
|
|
3631
|
-
transform: "scale(0.99)"
|
|
3632
|
-
filter: `blur(${3 * r.blur}px) saturate(0.75)`
|
|
3577
|
+
transform: "scale(0.99) translateZ(0)"
|
|
3633
3578
|
},
|
|
3634
3579
|
{
|
|
3635
3580
|
opacity: e.idleOpacity,
|
|
3636
|
-
transform: "scale(1)"
|
|
3637
|
-
filter: `blur(${8 * r.blur}px) saturate(0.4)`
|
|
3581
|
+
transform: "scale(1) translateZ(0)"
|
|
3638
3582
|
}
|
|
3639
3583
|
], {
|
|
3640
3584
|
duration: o,
|
|
3641
3585
|
easing: s,
|
|
3642
3586
|
fill: "forwards"
|
|
3643
3587
|
});
|
|
3644
|
-
|
|
3645
|
-
this.state?.overlay && (this.state.overlay.style.animation = `nebula-idle-breathe ${12e3 / r.speed}ms ${
|
|
3646
|
-
});
|
|
3588
|
+
this.state.fadeFinishedSub?.unsubscribe(), this.state.fadeFinishedSub = w(c.finished).pipe(N(1), I(() => {
|
|
3589
|
+
this.state?.overlay && (this.state.overlay.classList.add("dimmed"), e.idleBreathe && !i && (this.state.overlay.style.animation = `nebula-idle-breathe ${12e3 / r.speed}ms ${mt} infinite`));
|
|
3590
|
+
}), O(() => m)).subscribe();
|
|
3647
3591
|
}
|
|
3648
3592
|
cleanup() {
|
|
3649
|
-
this.state &&= (this.coordinator.unregister(this, this.state.element), this.state.autoHideSub?.unsubscribe(), this.state.overlay?.remove(), this.state.element.style.position = this.state.originalPosition, this.state.element.style.overflow = this.state.originalOverflow, this.state.element.style.contain = this.state.originalContain, null);
|
|
3593
|
+
this.state &&= (this.coordinator.unregister(this, this.state.element), this.state.autoHideSub?.unsubscribe(), this.state.fadeFinishedSub?.unsubscribe(), this.state.overlay?.remove(), this.state.element.style.position = this.state.originalPosition, this.state.element.style.overflow = this.state.originalOverflow, this.state.element.style.contain = this.state.originalContain, null);
|
|
3650
3594
|
}
|
|
3651
3595
|
disconnected() {
|
|
3652
3596
|
this.cleanup();
|
|
@@ -3654,12 +3598,12 @@ var ut = U(class extends z {
|
|
|
3654
3598
|
reconnected() {
|
|
3655
3599
|
this.state && this.coordinator.register(this, this.state.element);
|
|
3656
3600
|
}
|
|
3657
|
-
}),
|
|
3601
|
+
}), yt = {
|
|
3658
3602
|
smooth: n,
|
|
3659
3603
|
snappy: r,
|
|
3660
3604
|
bouncy: i,
|
|
3661
3605
|
gentle: a
|
|
3662
|
-
},
|
|
3606
|
+
}, bt = B(class extends z {
|
|
3663
3607
|
constructor(e) {
|
|
3664
3608
|
if (super(e), this.initialized = !1, this.element = null, e.type !== H.ELEMENT) throw Error("reveal() can only be used on elements");
|
|
3665
3609
|
}
|
|
@@ -3669,7 +3613,7 @@ var ut = U(class extends z {
|
|
|
3669
3613
|
update(e, [n = !1, r = {}]) {
|
|
3670
3614
|
let i = e.element;
|
|
3671
3615
|
this.element = i;
|
|
3672
|
-
let { preset: a = "smooth", maxHeight: s = "10rem", duration: c, easing: l } = r, u =
|
|
3616
|
+
let { preset: a = "smooth", maxHeight: s = "10rem", duration: c, easing: l } = r, u = yt[a], d = c ?? u.duration, f = l ?? t(u), p = o.value;
|
|
3673
3617
|
return this.initialized ||= (this.setupElement(i, d, f, p), !0), n ? (i.style.maxHeight = s, i.style.opacity = "1", i.style.transform = "translateY(0) scale(1)", i.style.pointerEvents = "", i.style.paddingTop = "", i.style.paddingBottom = "", i.style.marginTop = "", i.style.marginBottom = "", i.removeAttribute("aria-hidden"), i.removeAttribute("inert")) : (i.style.maxHeight = "0", i.style.opacity = "0", i.style.transform = "translateY(-8px) scale(0.98)", i.style.pointerEvents = "none", i.style.paddingTop = "0", i.style.paddingBottom = "0", i.style.marginTop = "0", i.style.marginBottom = "0", i.setAttribute("aria-hidden", "true"), i.setAttribute("inert", "")), L;
|
|
3674
3618
|
}
|
|
3675
3619
|
setupElement(e, t, n, r) {
|
|
@@ -3685,7 +3629,7 @@ var ut = U(class extends z {
|
|
|
3685
3629
|
this.element && (this.element.style.willChange = "");
|
|
3686
3630
|
}
|
|
3687
3631
|
reconnected() {}
|
|
3688
|
-
}),
|
|
3632
|
+
}), xt = !1, St = U(class extends z {
|
|
3689
3633
|
constructor(...e) {
|
|
3690
3634
|
super(...e), this.teardown$ = new g();
|
|
3691
3635
|
}
|
|
@@ -3693,9 +3637,9 @@ var ut = U(class extends z {
|
|
|
3693
3637
|
update(e) {
|
|
3694
3638
|
if (e.type !== H.ELEMENT) throw Error("ripple directive must be used on an element");
|
|
3695
3639
|
this.element = e.element, function() {
|
|
3696
|
-
if (
|
|
3640
|
+
if (xt) return;
|
|
3697
3641
|
let e = document.createElement("style");
|
|
3698
|
-
e.id = "schmancy-ripple-shared", e.textContent = "\n .schmancy-ripple-effect {\n position: absolute;\n border-radius: 50%;\n background: var(--schmancy-sys-color-surface-on);\n opacity: 0.12;\n transform: scale(0);\n animation: schmancy-ripple-expand 600ms linear forwards;\n pointer-events: none;\n aria-hidden: true;\n }\n @keyframes schmancy-ripple-expand {\n to { transform: scale(4); opacity: 0; }\n }\n ", document.head.appendChild(e),
|
|
3642
|
+
e.id = "schmancy-ripple-shared", e.textContent = "\n .schmancy-ripple-effect {\n position: absolute;\n border-radius: 50%;\n background: var(--schmancy-sys-color-surface-on);\n opacity: 0.12;\n transform: scale(0);\n animation: schmancy-ripple-expand 600ms linear forwards;\n pointer-events: none;\n aria-hidden: true;\n }\n @keyframes schmancy-ripple-expand {\n to { transform: scale(4); opacity: 0; }\n }\n ", document.head.appendChild(e), xt = !0;
|
|
3699
3643
|
}(), getComputedStyle(this.element).position === "static" && (this.element.style.position = "relative"), this.element.style.overflow = "hidden", this.teardown$.next(), T(this.element, "click").pipe(P(this.teardown$)).subscribe((e) => this.addRipple(e));
|
|
3700
3644
|
}
|
|
3701
3645
|
reconnected() {
|
|
@@ -3708,7 +3652,7 @@ var ut = U(class extends z {
|
|
|
3708
3652
|
disconnected() {
|
|
3709
3653
|
this.teardown$.next();
|
|
3710
3654
|
}
|
|
3711
|
-
}),
|
|
3655
|
+
}), Ct = "schmancy-overflow-within-hidden", wt = !1, Tt = B(class extends z {
|
|
3712
3656
|
constructor(...e) {
|
|
3713
3657
|
super(...e), this.element = null, this.disconnecting$ = new g();
|
|
3714
3658
|
}
|
|
@@ -3719,11 +3663,11 @@ var ut = U(class extends z {
|
|
|
3719
3663
|
if (e.type !== H.ELEMENT) throw Error("overflowWithin directive can only be used on elements");
|
|
3720
3664
|
let n = e.element, { hide: r = !1, direction: i = "both", name: a, debounce: o = 10 } = t, s = n.style;
|
|
3721
3665
|
s.minHeight = "0", s.minWidth = "0", s.boxSizing = "border-box", s.overflowY = i === "horizontal" ? "hidden" : "auto", s.overflowX = i === "vertical" ? "hidden" : "auto", s.scrollBehavior = "smooth", s.overscrollBehavior = "contain", r ? (function() {
|
|
3722
|
-
if (
|
|
3723
|
-
|
|
3666
|
+
if (wt) return;
|
|
3667
|
+
wt = !0;
|
|
3724
3668
|
let e = new CSSStyleSheet();
|
|
3725
|
-
e.replaceSync(`.${
|
|
3726
|
-
}(), n.classList.add(
|
|
3669
|
+
e.replaceSync(`.${Ct} { scrollbar-width: none; -ms-overflow-style: none; }\n\t\t .${Ct}::-webkit-scrollbar { display: none; }`), document.adoptedStyleSheets = [...document.adoptedStyleSheets, e];
|
|
3670
|
+
}(), n.classList.add(Ct)) : n.classList.remove(Ct);
|
|
3727
3671
|
let c = this.element !== n, l = this.currentName !== a;
|
|
3728
3672
|
return c ? (this.element = n, this.subscribe(o, a)) : l && (this.disconnecting$.next(), this.disconnecting$ = new g(), this.subscribe(o, a)), this.currentName = a, L;
|
|
3729
3673
|
}
|
|
@@ -3758,7 +3702,7 @@ var ut = U(class extends z {
|
|
|
3758
3702
|
reconnected() {
|
|
3759
3703
|
this.element && (this.disconnecting$ = new g(), this.subscribe(10, this.currentName));
|
|
3760
3704
|
}
|
|
3761
|
-
}),
|
|
3705
|
+
}), Et = {
|
|
3762
3706
|
error: [
|
|
3763
3707
|
"#ef4444",
|
|
3764
3708
|
"#dc2626",
|
|
@@ -3780,11 +3724,11 @@ var ut = U(class extends z {
|
|
|
3780
3724
|
"#93c5fd",
|
|
3781
3725
|
"#dbeafe"
|
|
3782
3726
|
]
|
|
3783
|
-
},
|
|
3727
|
+
}, Dt = {
|
|
3784
3728
|
error: 0,
|
|
3785
3729
|
warning: 1,
|
|
3786
3730
|
primary: 2
|
|
3787
|
-
},
|
|
3731
|
+
}, Ot = class t {
|
|
3788
3732
|
static {
|
|
3789
3733
|
this.instance = null;
|
|
3790
3734
|
}
|
|
@@ -3899,9 +3843,9 @@ var ut = U(class extends z {
|
|
|
3899
3843
|
destroy() {
|
|
3900
3844
|
this.stopAnimationLoop(), this.visibilityObserver?.disconnect(), this.container?.remove(), this.shardPools.forEach((e) => e.forEach((e) => e.remove())), this.shardPools.clear(), this.activeShards = [], t.instance = null;
|
|
3901
3845
|
}
|
|
3902
|
-
},
|
|
3846
|
+
}, kt = /* @__PURE__ */ new WeakMap(), At = B(class extends z {
|
|
3903
3847
|
constructor(...e) {
|
|
3904
|
-
super(...e), this.state = null, this.coordinator =
|
|
3848
|
+
super(...e), this.state = null, this.coordinator = Ot.getInstance();
|
|
3905
3849
|
}
|
|
3906
3850
|
render(e, t, n) {
|
|
3907
3851
|
return L;
|
|
@@ -3926,7 +3870,7 @@ var ut = U(class extends z {
|
|
|
3926
3870
|
isRunning: !1,
|
|
3927
3871
|
lastBurstTime: performance.now() + Math.random() * s,
|
|
3928
3872
|
initialized: !1
|
|
3929
|
-
},
|
|
3873
|
+
}, kt.set(n, this.createController()), this.coordinator.register(this), this.coordinator.observeElement(n), requestAnimationFrame(() => {
|
|
3930
3874
|
this.state && (this.initializeElement(), o === "auto" && this.startBurstInterval());
|
|
3931
3875
|
});
|
|
3932
3876
|
}
|
|
@@ -3934,7 +3878,7 @@ var ut = U(class extends z {
|
|
|
3934
3878
|
}
|
|
3935
3879
|
initializeElement() {
|
|
3936
3880
|
if (!this.state || this.state.initialized) return;
|
|
3937
|
-
let { element: e, color: t, shake: n } = this.state, r =
|
|
3881
|
+
let { element: e, color: t, shake: n } = this.state, r = Et[t];
|
|
3938
3882
|
getComputedStyle(e).position === "static" && (e.style.position = "relative"), e.style.overflow = "visible", n && (this.state.shakeAnimation = e.animate([
|
|
3939
3883
|
{ transform: "rotate(0deg) scale(1)" },
|
|
3940
3884
|
{ transform: "rotate(-2deg) scale(1.02)" },
|
|
@@ -3961,7 +3905,7 @@ var ut = U(class extends z {
|
|
|
3961
3905
|
}
|
|
3962
3906
|
createBurst() {
|
|
3963
3907
|
if (!this.state) return;
|
|
3964
|
-
let { element: e, color: t } = this.state, n =
|
|
3908
|
+
let { element: e, color: t } = this.state, n = Et[t], r = Dt[t], i = e.getBoundingClientRect(), a = i.left + i.width / 2, o = i.top + i.height / 2, s = 8 + Math.floor(5 * Math.random()), c = [];
|
|
3965
3909
|
for (let e = 0; e < s; e++) {
|
|
3966
3910
|
let e = this.coordinator.acquireShard(r, n), t = Math.random() * Math.PI * 2, i = 2 + 4 * Math.random();
|
|
3967
3911
|
c.push({
|
|
@@ -4009,12 +3953,12 @@ var ut = U(class extends z {
|
|
|
4009
3953
|
this.state && (this.state.isRunning = !1);
|
|
4010
3954
|
}
|
|
4011
3955
|
cleanup() {
|
|
4012
|
-
this.state &&= (this.coordinator.unregister(this), this.coordinator.unobserveElement(this.state.element), this.state.shakeAnimation?.cancel(), this.state.pulseAnimation?.cancel(),
|
|
3956
|
+
this.state &&= (this.coordinator.unregister(this), this.coordinator.unobserveElement(this.state.element), this.state.shakeAnimation?.cancel(), this.state.pulseAnimation?.cancel(), kt.delete(this.state.element), this.state.originalPosition !== void 0 && (this.state.element.style.position = this.state.originalPosition), this.state.originalOverflow !== void 0 && (this.state.element.style.overflow = this.state.originalOverflow), null);
|
|
4013
3957
|
}
|
|
4014
3958
|
disconnected() {
|
|
4015
3959
|
this.cleanup();
|
|
4016
3960
|
}
|
|
4017
|
-
}),
|
|
3961
|
+
}), jt = Object.assign((e, t, n) => At(e, t, n), { getController: (e) => kt.get(e) }), Mt = 10, Nt = B(class extends z {
|
|
4018
3962
|
constructor(...e) {
|
|
4019
3963
|
super(...e), this.state = null;
|
|
4020
3964
|
}
|
|
@@ -4040,10 +3984,10 @@ var ut = U(class extends z {
|
|
|
4040
3984
|
let i = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
4041
3985
|
i.setAttribute("width", "100%"), i.setAttribute("height", "100%"), i.setAttribute("viewBox", `0 0 ${n} 20`), i.setAttribute("preserveAspectRatio", "none"), i.style.cssText = "\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: visible;\n ";
|
|
4042
3986
|
let a = [];
|
|
4043
|
-
for (let e = 0; e <
|
|
3987
|
+
for (let e = 0; e < Mt; e++) {
|
|
4044
3988
|
let n = document.createElementNS("http://www.w3.org/2000/svg", "circle"), r = 4 - e / 9 * 2.5;
|
|
4045
3989
|
n.setAttribute("r", r.toString()), n.setAttribute("fill", t), n.setAttribute("cy", "10"), n.style.willChange = "transform, opacity";
|
|
4046
|
-
let o = e /
|
|
3990
|
+
let o = e / Mt * .5, s = e / Mt * Math.PI * 2;
|
|
4047
3991
|
a.push({
|
|
4048
3992
|
element: n,
|
|
4049
3993
|
progress: o,
|
|
@@ -4065,7 +4009,7 @@ var ut = U(class extends z {
|
|
|
4065
4009
|
if (!this.state || !this.state.isVisible) return;
|
|
4066
4010
|
let n = (t - this.state.startTime) % 3e3 / 3e3, { segments: r, travelWidth: i } = this.state;
|
|
4067
4011
|
for (let e = 0; e < r.length; e++) {
|
|
4068
|
-
let a = r[e], o = (n + e /
|
|
4012
|
+
let a = r[e], o = (n + e / Mt) % 1, s = 1 - (1 - o) ** 2, c = s * i, l = 10 + 3 * Math.sin(o * Math.PI * 4 + a.phase), u = (e === 0 ? .9 : .7 - e / Mt * .55) * (1 - .7 * s), d = 1;
|
|
4069
4013
|
e === 0 && (d = .1 * Math.sin(t / 200) + 1), a.element.setAttribute("cx", c.toFixed(1)), a.element.setAttribute("cy", l.toFixed(1)), a.element.setAttribute("opacity", Math.max(.1, u).toFixed(2)), d !== 1 && (a.element.style.transform = `scale(${d.toFixed(2)})`, a.element.style.transformOrigin = `${c}px ${l}px`);
|
|
4070
4014
|
}
|
|
4071
4015
|
this.state.animationId = requestAnimationFrame(e);
|
|
@@ -4079,4 +4023,4 @@ var ut = U(class extends z {
|
|
|
4079
4023
|
this.cleanup();
|
|
4080
4024
|
}
|
|
4081
4025
|
});
|
|
4082
|
-
export {
|
|
4026
|
+
export { Ie as C, Ae as D, Me as E, he as O, Le as S, Pe as T, Ge as _, bt as a, Be as b, dt as c, tt as d, et as f, Ke as g, We as h, St as i, me as k, lt as l, Je as m, jt as n, vt as o, Ye as p, Tt as r, ft as s, Nt as t, at as u, qe as v, Fe as w, ze as x, Ve as y };
|