@maggioli-design-system/magma 1.11.7 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/mds-author.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
- package/dist/cjs/mds-badge.cjs.entry.js +1 -1
- package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +7 -7
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +2 -2
- package/dist/cjs/mds-calendar_2.cjs.entry.js +246 -128
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +1 -1
- package/dist/cjs/mds-details.cjs.entry.js +1 -1
- package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
- package/dist/cjs/mds-entity.cjs.entry.js +4 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
- package/dist/cjs/mds-file.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-filter.cjs.entry.js +1 -1
- package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/mds-hr.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range.cjs.entry.js +197 -55
- package/dist/cjs/mds-input-date.cjs.entry.js +16 -10
- package/dist/cjs/mds-input.cjs.entry.js +9 -9
- package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +1 -1
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +1 -1
- package/dist/collection/components/mds-author/mds-author.js +2 -2
- package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
- package/dist/collection/components/mds-badge/mds-badge.js +1 -1
- package/dist/collection/components/mds-banner/mds-banner.js +2 -2
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +7 -7
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -2
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
- package/dist/collection/components/mds-button/mds-button.js +1 -1
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +50 -7
- package/dist/collection/components/mds-calendar/mds-calendar.js +413 -128
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-card/mds-card.js +1 -1
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- package/dist/collection/components/mds-chip/mds-chip.js +3 -3
- package/dist/collection/components/mds-details/mds-details.js +1 -1
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- package/dist/collection/components/mds-entity/mds-entity.js +4 -4
- package/dist/collection/components/mds-file/mds-file.js +3 -3
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-header/mds-header.js +2 -2
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +3 -3
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-input/mds-input.js +9 -9
- package/dist/collection/components/mds-input-date/mds-input-date.js +19 -11
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +33 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +220 -70
- package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +10 -0
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +2 -2
- package/dist/components/mds-avatar-stack-item2.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar2.js +1 -1
- package/dist/components/mds-badge2.js +1 -1
- package/dist/components/mds-banner2.js +2 -2
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +7 -7
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +2 -2
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button2.js +1 -1
- package/dist/components/mds-calendar-cell2.js +1 -1
- package/dist/components/mds-calendar2.js +256 -128
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip2.js +3 -3
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown2.js +2 -2
- package/dist/components/mds-emoji.js +1 -1
- package/dist/components/mds-entity.js +4 -4
- package/dist/components/mds-file-preview2.js +2 -2
- package/dist/components/mds-file.js +3 -3
- package/dist/components/mds-filter-item2.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +3 -3
- package/dist/components/mds-header.js +2 -2
- package/dist/components/mds-help2.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon2.js +1 -1
- package/dist/components/mds-input-date-range.js +199 -55
- package/dist/components/mds-input-date.js +17 -10
- package/dist/components/mds-input2.js +9 -9
- package/dist/documentation.json +238 -32
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-accordion-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +1 -1
- package/dist/esm/mds-author.entry.js +2 -2
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +1 -1
- package/dist/esm/mds-badge.entry.js +1 -1
- package/dist/esm/mds-banner_3.entry.js +6 -6
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +7 -7
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +2 -2
- package/dist/esm/mds-button-dropdown.entry.js +1 -1
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +2 -2
- package/dist/esm/mds-calendar_2.entry.js +246 -128
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +1 -1
- package/dist/esm/mds-details.entry.js +1 -1
- package/dist/esm/mds-dropdown.entry.js +2 -2
- package/dist/esm/mds-emoji.entry.js +1 -1
- package/dist/esm/mds-entity.entry.js +4 -4
- package/dist/esm/mds-file-preview.entry.js +2 -2
- package/dist/esm/mds-file.entry.js +3 -3
- package/dist/esm/mds-filter-item.entry.js +1 -1
- package/dist/esm/mds-filter.entry.js +1 -1
- package/dist/esm/mds-header-bar.entry.js +3 -3
- package/dist/esm/mds-header.entry.js +2 -2
- package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm/mds-hr.entry.js +1 -1
- package/dist/esm/mds-input-date-range.entry.js +197 -55
- package/dist/esm/mds-input-date.entry.js +16 -10
- package/dist/esm/mds-input.entry.js +9 -9
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +1 -1
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +1 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +1 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +2 -2
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +1 -1
- package/dist/esm-es5/mds-file.entry.js +1 -1
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-input.entry.js +1 -1
- package/dist/hydrate/index.js +539 -262
- package/dist/hydrate/index.mjs +539 -262
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-e3b0adb8.entry.js → p-02c9dffb.entry.js} +1 -1
- package/dist/magma-components/{p-e8626e7a.system.entry.js → p-03b5bdae.system.entry.js} +1 -1
- package/dist/magma-components/{p-fec5168f.entry.js → p-09b27f6e.entry.js} +1 -1
- package/dist/magma-components/p-09cbad84.system.entry.js +1 -0
- package/dist/magma-components/{p-0c3b813d.entry.js → p-0a9db9fc.entry.js} +1 -1
- package/dist/magma-components/{p-beeaec1c.entry.js → p-10957e40.entry.js} +1 -1
- package/dist/magma-components/{p-42f5037a.entry.js → p-14cad758.entry.js} +1 -1
- package/dist/magma-components/{p-35d85970.entry.js → p-188c906e.entry.js} +1 -1
- package/dist/magma-components/{p-91e16169.system.entry.js → p-191e79c8.system.entry.js} +1 -1
- package/dist/magma-components/{p-1a8d42d1.system.entry.js → p-1c37f4ce.system.entry.js} +1 -1
- package/dist/magma-components/{p-30648e76.system.entry.js → p-1cd6c3fe.system.entry.js} +1 -1
- package/dist/magma-components/{p-c3ae9ba7.system.entry.js → p-1f52a479.system.entry.js} +1 -1
- package/dist/magma-components/p-20e0f9e3.entry.js +1 -0
- package/dist/magma-components/p-26cd6ec8.system.js +1 -1
- package/dist/magma-components/{p-237d60e2.system.entry.js → p-2910fa0c.system.entry.js} +1 -1
- package/dist/magma-components/{p-d95c9d2e.system.entry.js → p-2d947462.system.entry.js} +1 -1
- package/dist/magma-components/{p-0b25be9f.entry.js → p-342a07c7.entry.js} +1 -1
- package/dist/magma-components/{p-b228a186.system.entry.js → p-39d9f24d.system.entry.js} +1 -1
- package/dist/magma-components/{p-27cb23f6.entry.js → p-3a57f53d.entry.js} +1 -1
- package/dist/magma-components/{p-0689710c.system.entry.js → p-3b267a52.system.entry.js} +1 -1
- package/dist/magma-components/{p-224f80f4.entry.js → p-3bf7d52c.entry.js} +1 -1
- package/dist/magma-components/{p-2de8157b.system.entry.js → p-432be440.system.entry.js} +1 -1
- package/dist/magma-components/{p-5eca660e.system.entry.js → p-43a2f192.system.entry.js} +1 -1
- package/dist/magma-components/{p-eaf4805a.entry.js → p-48a2e8e4.entry.js} +1 -1
- package/dist/magma-components/{p-ff674ef9.entry.js → p-4ab9c985.entry.js} +1 -1
- package/dist/magma-components/{p-40eeffe8.entry.js → p-4b76248b.entry.js} +1 -1
- package/dist/magma-components/{p-11df77b3.entry.js → p-4cf97724.entry.js} +1 -1
- package/dist/magma-components/{p-0e2b6dd3.system.entry.js → p-5359bf5e.system.entry.js} +1 -1
- package/dist/magma-components/{p-536b4c16.entry.js → p-5619ed51.entry.js} +1 -1
- package/dist/magma-components/{p-d738a403.system.entry.js → p-5edd2f30.system.entry.js} +1 -1
- package/dist/magma-components/{p-033e85f1.entry.js → p-606cd4bb.entry.js} +1 -1
- package/dist/magma-components/{p-e9ade624.system.entry.js → p-61c35e05.system.entry.js} +1 -1
- package/dist/magma-components/{p-6e680417.system.entry.js → p-68a7d370.system.entry.js} +1 -1
- package/dist/magma-components/{p-409c9518.system.entry.js → p-7244ca7a.system.entry.js} +1 -1
- package/dist/magma-components/{p-a9d6984e.entry.js → p-726cd93c.entry.js} +1 -1
- package/dist/magma-components/{p-c2798c9a.system.entry.js → p-7359e097.system.entry.js} +1 -1
- package/dist/magma-components/{p-723fbfb0.entry.js → p-78088de2.entry.js} +1 -1
- package/dist/magma-components/{p-83b2ee17.entry.js → p-7ae676db.entry.js} +1 -1
- package/dist/magma-components/{p-6d3ea2b6.entry.js → p-7b788f04.entry.js} +1 -1
- package/dist/magma-components/{p-b727c3a6.system.entry.js → p-80518658.system.entry.js} +1 -1
- package/dist/magma-components/{p-f6ef6105.entry.js → p-8314f381.entry.js} +1 -1
- package/dist/magma-components/{p-86f45462.entry.js → p-8469b603.entry.js} +1 -1
- package/dist/magma-components/{p-09aaa62b.system.entry.js → p-855f1617.system.entry.js} +1 -1
- package/dist/magma-components/{p-cae0e727.entry.js → p-89757b16.entry.js} +1 -1
- package/dist/magma-components/{p-60342fa8.system.entry.js → p-8bc52935.system.entry.js} +1 -1
- package/dist/magma-components/{p-6b4bf0df.entry.js → p-8f091ceb.entry.js} +1 -1
- package/dist/magma-components/{p-8859d528.entry.js → p-94fb14aa.entry.js} +1 -1
- package/dist/magma-components/{p-755dff75.system.entry.js → p-9b7e1f4b.system.entry.js} +1 -1
- package/dist/magma-components/{p-dfdc83ab.entry.js → p-9d5ab31c.entry.js} +1 -1
- package/dist/magma-components/{p-ddd59ddb.system.entry.js → p-9d86dd4c.system.entry.js} +1 -1
- package/dist/magma-components/{p-9e08e8f1.system.entry.js → p-a776c78c.system.entry.js} +1 -1
- package/dist/magma-components/{p-854848ca.entry.js → p-aacb6b47.entry.js} +1 -1
- package/dist/magma-components/{p-bdc49c99.entry.js → p-b4bad440.entry.js} +1 -1
- package/dist/magma-components/{p-3095eab8.system.entry.js → p-b7aae63a.system.entry.js} +1 -1
- package/dist/magma-components/{p-03cadeb4.system.entry.js → p-b7b0f420.system.entry.js} +1 -1
- package/dist/magma-components/{p-788e95ce.entry.js → p-ba8142cf.entry.js} +1 -1
- package/dist/magma-components/{p-84cf6604.system.entry.js → p-be5a7e23.system.entry.js} +1 -1
- package/dist/magma-components/{p-61e3603c.system.entry.js → p-c3304189.system.entry.js} +1 -1
- package/dist/magma-components/{p-a201cbab.entry.js → p-c372fe03.entry.js} +1 -1
- package/dist/magma-components/{p-b4baf323.entry.js → p-c5730248.entry.js} +1 -1
- package/dist/magma-components/{p-3e50c4ab.entry.js → p-c5d2cd00.entry.js} +1 -1
- package/dist/magma-components/p-c6785782.entry.js +1 -0
- package/dist/magma-components/p-ca4ee5b5.system.entry.js +1 -0
- package/dist/magma-components/p-d7cf7569.entry.js +1 -0
- package/dist/magma-components/{p-6d1ce884.system.entry.js → p-d98a34dc.system.entry.js} +1 -1
- package/dist/magma-components/{p-2b3517af.system.entry.js → p-d99f38a7.system.entry.js} +1 -1
- package/dist/magma-components/{p-3c2df04e.system.entry.js → p-dd7b9422.system.entry.js} +1 -1
- package/dist/magma-components/{p-58b77d4f.entry.js → p-e0bd7509.entry.js} +1 -1
- package/dist/magma-components/{p-a786264e.system.entry.js → p-e32a0ec8.system.entry.js} +1 -1
- package/dist/magma-components/{p-12527b99.system.entry.js → p-ef488f9f.system.entry.js} +1 -1
- package/dist/magma-components/{p-70223843.system.entry.js → p-f250731c.system.entry.js} +1 -1
- package/dist/magma-components/{p-8de607ef.entry.js → p-f2e7d2f0.entry.js} +1 -1
- package/dist/magma-components/{p-a9c9e071.system.entry.js → p-f349e728.system.entry.js} +1 -1
- package/dist/magma-components/{p-1c2b1a44.system.entry.js → p-f584c1d7.system.entry.js} +1 -1
- package/dist/magma-components/{p-f5f97018.entry.js → p-fd25f69a.entry.js} +1 -1
- package/dist/magma-components/{p-977d3bf0.entry.js → p-fe3879f3.entry.js} +1 -1
- package/dist/magma-components/{p-50b07c72.system.entry.js → p-ff8d8818.system.entry.js} +1 -1
- package/dist/stats.json +790 -377
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +43 -1
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +1 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +23 -4
- package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +12 -0
- package/dist/types/components.d.ts +94 -6
- package/package.json +4 -4
- package/dist/magma-components/p-3da97c74.system.entry.js +0 -1
- package/dist/magma-components/p-643fd688.entry.js +0 -1
- package/dist/magma-components/p-80b11d2e.entry.js +0 -1
- package/dist/magma-components/p-e1f3cc6d.entry.js +0 -1
- package/dist/magma-components/p-ead9e4c4.system.entry.js +0 -1
|
@@ -6,7 +6,7 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,r){function n(t){return t ins
|
|
|
6
6
|
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
|
7
7
|
* Subject to the terms at https://gsap.com/standard-license
|
|
8
8
|
* @author: Jack Doyle, jack@greensock.com
|
|
9
|
-
*/var _config={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},_defaults={duration:.5,overwrite:false,delay:0},_suppressOverwrites,_reverting$1,_context,_bigNum$1=1e8,_tinyNum=1/_bigNum$1,_2PI=Math.PI*2,_HALF_PI=_2PI/4,_gsID=0,_sqrt=Math.sqrt,_cos=Math.cos,_sin=Math.sin,_isString=function t(e){return typeof e==="string"},_isFunction=function t(e){return typeof e==="function"},_isNumber=function t(e){return typeof e==="number"},_isUndefined=function t(e){return typeof e==="undefined"},_isObject=function t(e){return typeof e==="object"},_isNotFalse=function t(e){return e!==false},_windowExists$1=function t(){return typeof window!=="undefined"},_isFuncOrString=function t(e){return _isFunction(e)||_isString(e)},_isTypedArray=typeof ArrayBuffer==="function"&&ArrayBuffer.isView||function(){},_isArray=Array.isArray,_strictNumExp=/(?:-?\.?\d|\.)+/gi,_numExp=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,_numWithUnitExp=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_complexStringNumExp=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_relExp=/[+-]=-?[.\d]+/,_delimitedValueExp=/[^,'"\[\]\s]+/gi,_unitExp=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,_globalTimeline,_win$1,_coreInitted,_doc$1,_globals={},_installScope={},_coreReady,_install=function t(e){return(_installScope=_merge(e,_globals))&&gsap},_missingPlugin=function t(e,i){return console.warn("Invalid property",e,"set to",i,"Missing plugin? gsap.registerPlugin()")},_warn=function t(e,i){return!i&&console.warn(e)},_addGlobal=function t(e,i){return e&&(_globals[e]=i)&&_installScope&&(_installScope[e]=i)||_globals},_emptyFunc=function t(){return 0},_startAtRevertConfig={suppressEvents:true,isStart:true,kill:false},_revertConfigNoKill={suppressEvents:true,kill:false},_revertConfig={suppressEvents:true},_reservedProps={},_lazyTweens=[],_lazyLookup={},_lastRenderedFrame,_plugins={},_effects={},_nextGCFrame=30,_harnessPlugins=[],_callbackNames="",_harness=function t(e){var i=e[0],r,n;_isObject(i)||_isFunction(i)||(e=[e]);if(!(r=(i._gsap||{}).harness)){n=_harnessPlugins.length;while(n--&&!_harnessPlugins[n].targetTest(i)){}r=_harnessPlugins[n]}n=e.length;while(n--){e[n]&&(e[n]._gsap||(e[n]._gsap=new GSCache(e[n],r)))||e.splice(n,1)}return e},_getCache=function t(e){return e._gsap||_harness(toArray(e))[0]._gsap},_getProperty=function t(e,i,r){return(r=e[i])&&_isFunction(r)?e[i]():_isUndefined(r)&&e.getAttribute&&e.getAttribute(i)||r},_forEachName=function t(e,i){return(e=e.split(",")).forEach(i)||e},_round=function t(e){return Math.round(e*1e5)/1e5||0},_roundPrecise=function t(e){return Math.round(e*1e7)/1e7||0},_parseRelative=function t(e,i){var r=i.charAt(0),n=parseFloat(i.substr(2));e=parseFloat(e);return r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},_arrayContainsAny=function t(e,i){var r=i.length,n=0;for(;e.indexOf(i[n])<0&&++n<r;){}return n<r},_lazyRender=function t(){var e=_lazyTweens.length,i=_lazyTweens.slice(0),r,n;_lazyLookup={};_lazyTweens.length=0;for(r=0;r<e;r++){n=i[r];n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],true)._lazy=0)}},_isRevertWorthy=function t(e){return!!(e._initted||e._startAt||e.add)},_lazySafeRender=function t(e,i,r,n){_lazyTweens.length&&!_reverting$1&&_lazyRender();e.render(i,r,n||!!(_reverting$1&&i<0&&_isRevertWorthy(e)));_lazyTweens.length&&!_reverting$1&&_lazyRender()},_numericIfPossible=function t(e){var i=parseFloat(e);return(i||i===0)&&(e+"").match(_delimitedValueExp).length<2?i:_isString(e)?e.trim():e},_passThrough=function t(e){return e},_setDefaults=function t(e,i){for(var r in i){r in e||(e[r]=i[r])}return e},_setKeyframeDefaults=function t(e){return function(t,i){for(var r in i){r in t||r==="duration"&&e||r==="ease"||(t[r]=i[r])}}},_merge=function t(e,i){for(var r in i){e[r]=i[r]}return e},_mergeDeep=function t(e,i){for(var r in i){r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=_isObject(i[r])?t(e[r]||(e[r]={}),i[r]):i[r])}return e},_copyExcluding=function t(e,i){var r={},n;for(n in e){n in i||(r[n]=e[n])}return r},_inheritDefaults=function t(e){var i=e.parent||_globalTimeline,r=e.keyframes?_setKeyframeDefaults(_isArray(e.keyframes)):_setDefaults;if(_isNotFalse(e.inherit)){while(i){r(e,i.vars.defaults);i=i.parent||i._dp}}return e},_arraysMatch=function t(e,i){var r=e.length,n=r===i.length;while(n&&r--&&e[r]===i[r]){}return r<0},_addLinkedListItem=function t(e,i,r,n,s){if(r===void 0){r="_first"}if(n===void 0){n="_last"}var o=e[n],a;if(s){a=i[s];while(o&&o[s]>a){o=o._prev}}if(o){i._next=o._next;o._next=i}else{i._next=e[r];e[r]=i}if(i._next){i._next._prev=i}else{e[n]=i}i._prev=o;i.parent=i._dp=e;return i},_removeLinkedListItem=function t(e,i,r,n){if(r===void 0){r="_first"}if(n===void 0){n="_last"}var s=i._prev,o=i._next;if(s){s._next=o}else if(e[r]===i){e[r]=o}if(o){o._prev=s}else if(e[n]===i){e[n]=s}i._next=i._prev=i.parent=null},_removeFromParent=function t(e,i){e.parent&&(!i||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e);e._act=0},_uncache=function t(e,i){if(e&&(!i||i._end>e._dur||i._start<0)){var r=e;while(r){r._dirty=1;r=r.parent}}return e},_recacheAncestors=function t(e){var i=e.parent;while(i&&i.parent){i._dirty=1;i.totalDuration();i=i.parent}return e},_rewindStartAt=function t(e,i,r,n){return e._startAt&&(_reverting$1?e._startAt.revert(_revertConfigNoKill):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(i,true,n))},_hasNoPausedAncestors=function t(e){return!e||e._ts&&t(e.parent)},_elapsedCycleDuration=function t(e){return e._repeat?_animationCycle(e._tTime,e=e.duration()+e._rDelay)*e:0},_animationCycle=function t(e,i){var r=Math.floor(e=_roundPrecise(e/i));return e&&r===e?r-1:r},_parentToChildTotalTime=function t(e,i){return(e-i._start)*i._ts+(i._ts>=0?0:i._dirty?i.totalDuration():i._tDur)},_setEnd=function t(e){return e._end=_roundPrecise(e._start+(e._tDur/Math.abs(e._ts||e._rts||_tinyNum)||0))},_alignPlayhead=function t(e,i){var r=e._dp;if(r&&r.smoothChildTiming&&e._ts){e._start=_roundPrecise(r._time-(e._ts>0?i/e._ts:((e._dirty?e.totalDuration():e._tDur)-i)/-e._ts));_setEnd(e);r._dirty||_uncache(r,e)}return e},_postAddChecks=function t(e,i){var r;if(i._time||!i._dur&&i._initted||i._start<e._time&&(i._dur||!i.add)){r=_parentToChildTotalTime(e.rawTime(),i);if(!i._dur||_clamp(0,i.totalDuration(),r)-i._tTime>_tinyNum){i.render(r,true)}}if(_uncache(e,i)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration()){r=e;while(r._dp){r.rawTime()>=0&&r.totalTime(r._tTime);r=r._dp}}e._zTime=-_tinyNum}},_addToTimeline=function t(e,i,r,n){i.parent&&_removeFromParent(i);i._start=_roundPrecise((_isNumber(r)?r:r||e!==_globalTimeline?_parsePosition(e,r,i):e._time)+i._delay);i._end=_roundPrecise(i._start+(i.totalDuration()/Math.abs(i.timeScale())||0));_addLinkedListItem(e,i,"_first","_last",e._sort?"_start":0);_isFromOrFromStart(i)||(e._recent=i);n||_postAddChecks(e,i);e._ts<0&&_alignPlayhead(e,e._tTime);return e},_scrollTrigger=function t(e,i){return(_globals.ScrollTrigger||_missingPlugin("scrollTrigger",i))&&_globals.ScrollTrigger.create(i,e)},_attemptInitTween=function t(e,i,r,n,s){_initTween(e,i,s);if(!e._initted){return 1}if(!r&&e._pt&&!_reverting$1&&(e._dur&&e.vars.lazy!==false||!e._dur&&e.vars.lazy)&&_lastRenderedFrame!==_ticker.frame){_lazyTweens.push(e);e._lazy=[s,n];return 1}},_parentPlayheadIsBeforeStart=function t(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||t(i))},_isFromOrFromStart=function t(e){var i=e.data;return i==="isFromStart"||i==="isStart"},_renderZeroDurationTween=function t(e,i,r,n){var s=e.ratio,o=i<0||!i&&(!e._start&&_parentPlayheadIsBeforeStart(e)&&!(!e._initted&&_isFromOrFromStart(e))||(e._ts<0||e._dp._ts<0)&&!_isFromOrFromStart(e))?0:1,a=e._rDelay,u=0,_,f,h;if(a&&e._repeat){u=_clamp(0,e._tDur,i);f=_animationCycle(u,a);e._yoyo&&f&1&&(o=1-o);if(f!==_animationCycle(e._tTime,a)){s=1-o;e.vars.repeatRefresh&&e._initted&&e.invalidate()}}if(o!==s||_reverting$1||n||e._zTime===_tinyNum||!i&&e._zTime){if(!e._initted&&_attemptInitTween(e,i,n,r,u)){return}h=e._zTime;e._zTime=i||(r?_tinyNum:0);r||(r=i&&!h);e.ratio=o;e._from&&(o=1-o);e._time=0;e._tTime=u;_=e._pt;while(_){_.r(o,_.d);_=_._next}i<0&&_rewindStartAt(e,i,r,true);e._onUpdate&&!r&&_callback(e,"onUpdate");u&&e._repeat&&!r&&e.parent&&_callback(e,"onRepeat");if((i>=e._tDur||i<0)&&e.ratio===o){o&&_removeFromParent(e,1);if(!r&&!_reverting$1){_callback(e,o?"onComplete":"onReverseComplete",true);e._prom&&e._prom()}}}else if(!e._zTime){e._zTime=i}},_findNextPauseTween=function t(e,i,r){var n;if(r>i){n=e._first;while(n&&n._start<=r){if(n.data==="isPause"&&n._start>i){return n}n=n._next}}else{n=e._last;while(n&&n._start>=r){if(n.data==="isPause"&&n._start<i){return n}n=n._prev}}},_setDuration=function t(e,i,r,n){var s=e._repeat,o=_roundPrecise(i)||0,a=e._tTime/e._tDur;a&&!n&&(e._time*=o/e._dur);e._dur=o;e._tDur=!s?o:s<0?1e10:_roundPrecise(o*(s+1)+e._rDelay*s);a>0&&!n&&_alignPlayhead(e,e._tTime=e._tDur*a);e.parent&&_setEnd(e);r||_uncache(e.parent,e);return e},_onUpdateTotalDuration=function t(e){return e instanceof Timeline?_uncache(e):_setDuration(e,e._dur)},_zeroPosition={_start:0,endTime:_emptyFunc,totalDuration:_emptyFunc},_parsePosition=function t(e,i,r){var n=e.labels,s=e._recent||_zeroPosition,o=e.duration()>=_bigNum$1?s.endTime(false):e._dur,a,u,_;if(_isString(i)&&(isNaN(i)||i in n)){u=i.charAt(0);_=i.substr(-1)==="%";a=i.indexOf("=");if(u==="<"||u===">"){a>=0&&(i=i.replace(/=/,""));return(u==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(i.substr(1))||0)*(_?(a<0?s:r).totalDuration()/100:1)}if(a<0){i in n||(n[i]=o);return n[i]}u=parseFloat(i.charAt(a-1)+i.substr(a+1));if(_&&r){u=u/100*(_isArray(r)?r[0]:r).totalDuration()}return a>1?t(e,i.substr(0,a-1),r)+u:o+u}return i==null?o:+i},_createTweenType=function t(e,i,r){var n=_isNumber(i[1]),s=(n?2:1)+(e<2?0:1),o=i[s],a,u;n&&(o.duration=i[1]);o.parent=r;if(e){a=o;u=r;while(u&&!("immediateRender"in a)){a=u.vars.defaults||{};u=_isNotFalse(u.vars.inherit)&&u.parent}o.immediateRender=_isNotFalse(a.immediateRender);e<2?o.runBackwards=1:o.startAt=i[s-1]}return new Tween(i[0],o,i[s+1])},_conditionalReturn=function t(e,i){return e||e===0?i(e):i},_clamp=function t(e,i,r){return r<e?e:r>i?i:r},getUnit=function t(e,i){return!_isString(e)||!(i=_unitExp.exec(e))?"":i[1]},clamp=function t(e,i,r){return _conditionalReturn(r,(function(t){return _clamp(e,i,t)}))},_slice=[].slice,_isArrayLike=function t(e,i){return e&&_isObject(e)&&"length"in e&&(!i&&!e.length||e.length-1 in e&&_isObject(e[0]))&&!e.nodeType&&e!==_win$1},_flatten=function t(e,i,r){if(r===void 0){r=[]}return e.forEach((function(t){var e;return _isString(t)&&!i||_isArrayLike(t,1)?(e=r).push.apply(e,toArray(t)):r.push(t)}))||r},toArray=function t(e,i,r){return _context&&!i&&_context.selector?_context.selector(e):_isString(e)&&!r&&(_coreInitted||!_wake())?_slice.call((i||_doc$1).querySelectorAll(e),0):_isArray(e)?_flatten(e,r):_isArrayLike(e)?_slice.call(e,0):e?[e]:[]},selector=function t(e){e=toArray(e)[0]||_warn("Invalid scope")||{};return function(t){var i=e.current||e.nativeElement||e;return toArray(t,i.querySelectorAll?i:i===e?_warn("Invalid scope")||_doc$1.createElement("div"):e)}},shuffle=function t(e){return e.sort((function(){return.5-Math.random()}))},distribute=function t(e){if(_isFunction(e)){return e}var i=_isObject(e)?e:{each:e},r=_parseEase(i.ease),n=i.from||0,s=parseFloat(i.base)||0,o={},a=n>0&&n<1,u=isNaN(n)||a,_=i.axis,f=n,h=n;if(_isString(n)){f=h={center:.5,edges:.5,end:1}[n]||0}else if(!a&&u){f=n[0];h=n[1]}return function(t,e,a){var c=(a||i).length,l=o[c],p,d,m,g,v,w,y,P,T;if(!l){T=i.grid==="auto"?0:(i.grid||[1,_bigNum$1])[1];if(!T){y=-_bigNum$1;while(y<(y=a[T++].getBoundingClientRect().left)&&T<c){}T<c&&T--}l=o[c]=[];p=u?Math.min(T,c)*f-.5:n%T;d=T===_bigNum$1?0:u?c*h/T-.5:n/T|0;y=0;P=_bigNum$1;for(w=0;w<c;w++){m=w%T-p;g=d-(w/T|0);l[w]=v=!_?_sqrt(m*m+g*g):Math.abs(_==="y"?g:m);v>y&&(y=v);v<P&&(P=v)}n==="random"&&shuffle(l);l.max=y-P;l.min=P;l.v=c=(parseFloat(i.amount)||parseFloat(i.each)*(T>c?c-1:!_?Math.max(T,c/T):_==="y"?c/T:T)||0)*(n==="edges"?-1:1);l.b=c<0?s-c:s;l.u=getUnit(i.amount||i.each)||0;r=r&&c<0?_invertEase(r):r}c=(l[t]-l.min)/l.max||0;return _roundPrecise(l.b+(r?r(c):c)*l.v)+l.u}},_roundModifier=function t(e){var i=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var r=_roundPrecise(Math.round(parseFloat(t)/e)*e*i);return(r-r%1)/i+(_isNumber(t)?0:getUnit(t))}},snap=function t(e,i){var r=_isArray(e),n,s;if(!r&&_isObject(e)){n=r=e.radius||_bigNum$1;if(e.values){e=toArray(e.values);if(s=!_isNumber(e[0])){n*=n}}else{e=_roundModifier(e.increment)}}return _conditionalReturn(i,!r?_roundModifier(e):_isFunction(e)?function(t){s=e(t);return Math.abs(s-t)<=n?s:t}:function(t){var i=parseFloat(s?t.x:t),r=parseFloat(s?t.y:0),o=_bigNum$1,a=0,u=e.length,_,f;while(u--){if(s){_=e[u].x-i;f=e[u].y-r;_=_*_+f*f}else{_=Math.abs(e[u]-i)}if(_<o){o=_;a=u}}a=!n||o<=n?e[a]:t;return s||a===t||_isNumber(t)?a:a+getUnit(t)})},random=function t(e,i,r,n){return _conditionalReturn(_isArray(e)?!i:r===true?!!(r=0):!n,(function(){return _isArray(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(i-e+r*.99))/r)*r*n)/n}))},pipe=function t(){for(var e=arguments.length,i=new Array(e),r=0;r<e;r++){i[r]=arguments[r]}return function(t){return i.reduce((function(t,e){return e(t)}),t)}},unitize=function t(e,i){return function(t){return e(parseFloat(t))+(i||getUnit(t))}},normalize=function t(e,i,r){return mapRange(e,i,0,1,r)},_wrapArray=function t(e,i,r){return _conditionalReturn(r,(function(t){return e[~~i(t)]}))},wrap=function t(e,i,r){var n=i-e;return _isArray(e)?_wrapArray(e,t(0,e.length),i):_conditionalReturn(r,(function(t){return(n+(t-e)%n)%n+e}))},wrapYoyo=function t(e,i,r){var n=i-e,s=n*2;return _isArray(e)?_wrapArray(e,t(0,e.length-1),i):_conditionalReturn(r,(function(t){t=(s+(t-e)%s)%s||0;return e+(t>n?s-t:t)}))},_replaceRandom=function t(e){var i=0,r="",n,s,o,a;while(~(n=e.indexOf("random(",i))){o=e.indexOf(")",n);a=e.charAt(n+7)==="[";s=e.substr(n+7,o-n-7).match(a?_delimitedValueExp:_strictNumExp);r+=e.substr(i,n-i)+random(a?s:+s[0],a?0:+s[1],+s[2]||1e-5);i=o+1}return r+e.substr(i,e.length-i)},mapRange=function t(e,i,r,n,s){var o=i-e,a=n-r;return _conditionalReturn(s,(function(t){return r+((t-e)/o*a||0)}))},interpolate=function t(e,i,r,n){var s=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!s){var o=_isString(e),a={},u,_,f,h,c;r===true&&(n=1)&&(r=null);if(o){e={p:e};i={p:i}}else if(_isArray(e)&&!_isArray(i)){f=[];h=e.length;c=h-2;for(_=1;_<h;_++){f.push(t(e[_-1],e[_]))}h--;s=function t(e){e*=h;var i=Math.min(c,~~e);return f[i](e-i)};r=i}else if(!n){e=_merge(_isArray(e)?[]:{},e)}if(!f){for(u in i){_addPropTween.call(a,e,u,"get",i[u])}s=function t(i){return _renderPropTweens(i,a)||(o?e.p:e)}}}return _conditionalReturn(r,s)},_getLabelInDirection=function t(e,i,r){var n=e.labels,s=_bigNum$1,o,a,u;for(o in n){a=n[o]-i;if(a<0===!!r&&a&&s>(a=Math.abs(a))){u=o;s=a}}return u},_callback=function t(e,i,r){var n=e.vars,s=n[i],o=_context,a=e._ctx,u,_,f;if(!s){return}u=n[i+"Params"];_=n.callbackScope||e;r&&_lazyTweens.length&&_lazyRender();a&&(_context=a);f=u?s.apply(_,u):s.call(_);_context=o;return f},_interrupt=function t(e){_removeFromParent(e);e.scrollTrigger&&e.scrollTrigger.kill(!!_reverting$1);e.progress()<1&&_callback(e,"onInterrupt");return e},_quickTween,_registerPluginQueue=[],_createPlugin=function t(e){if(!e)return;e=!e.name&&e["default"]||e;if(_windowExists$1()||e.headless){var i=e.name,r=_isFunction(e),n=i&&!r&&e.init?function(){this._props=[]}:e,s={init:_emptyFunc,render:_renderPropTweens,add:_addPropTween,kill:_killPropTweensOf,modifier:_addPluginModifier,rawVars:0},o={targetTest:0,get:0,getSetter:_getSetter,aliases:{},register:0};_wake();if(e!==n){if(_plugins[i]){return}_setDefaults(n,_setDefaults(_copyExcluding(e,s),o));_merge(n.prototype,_merge(s,_copyExcluding(e,o)));_plugins[n.prop=i]=n;if(e.targetTest){_harnessPlugins.push(n);_reservedProps[i]=1}i=(i==="css"?"CSS":i.charAt(0).toUpperCase()+i.substr(1))+"Plugin"}_addGlobal(i,n);e.register&&e.register(gsap,n,PropTween)}else{_registerPluginQueue.push(e)}},_255=255,_colorLookup={aqua:[0,_255,_255],lime:[0,_255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_255],navy:[0,0,128],white:[_255,_255,_255],olive:[128,128,0],yellow:[_255,_255,0],orange:[_255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_255,0,0],pink:[_255,192,203],cyan:[0,_255,_255],transparent:[_255,_255,_255,0]},_hue=function t(e,i,r){e+=e<0?1:e>1?-1:0;return(e*6<1?i+(r-i)*e*6:e<.5?r:e*3<2?i+(r-i)*(2/3-e)*6:i)*_255+.5|0},splitColor=function t(e,i,r){var n=!e?_colorLookup.black:_isNumber(e)?[e>>16,e>>8&_255,e&_255]:0,s,o,a,u,_,f,h,c,l,p;if(!n){if(e.substr(-1)===","){e=e.substr(0,e.length-1)}if(_colorLookup[e]){n=_colorLookup[e]}else if(e.charAt(0)==="#"){if(e.length<6){s=e.charAt(1);o=e.charAt(2);a=e.charAt(3);e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")}if(e.length===9){n=parseInt(e.substr(1,6),16);return[n>>16,n>>8&_255,n&_255,parseInt(e.substr(7),16)/255]}e=parseInt(e.substr(1),16);n=[e>>16,e>>8&_255,e&_255]}else if(e.substr(0,3)==="hsl"){n=p=e.match(_strictNumExp);if(!i){u=+n[0]%360/360;_=+n[1]/100;f=+n[2]/100;o=f<=.5?f*(_+1):f+_-f*_;s=f*2-o;n.length>3&&(n[3]*=1);n[0]=_hue(u+1/3,s,o);n[1]=_hue(u,s,o);n[2]=_hue(u-1/3,s,o)}else if(~e.indexOf("=")){n=e.match(_numExp);r&&n.length<4&&(n[3]=1);return n}}else{n=e.match(_strictNumExp)||_colorLookup.transparent}n=n.map(Number)}if(i&&!p){s=n[0]/_255;o=n[1]/_255;a=n[2]/_255;h=Math.max(s,o,a);c=Math.min(s,o,a);f=(h+c)/2;if(h===c){u=_=0}else{l=h-c;_=f>.5?l/(2-h-c):l/(h+c);u=h===s?(o-a)/l+(o<a?6:0):h===o?(a-s)/l+2:(s-o)/l+4;u*=60}n[0]=~~(u+.5);n[1]=~~(_*100+.5);n[2]=~~(f*100+.5)}r&&n.length<4&&(n[3]=1);return n},_colorOrderData=function t(e){var i=[],r=[],n=-1;e.split(_colorExp).forEach((function(t){var e=t.match(_numWithUnitExp)||[];i.push.apply(i,e);r.push(n+=e.length+1)}));i.c=r;return i},_formatColors=function t(e,i,r){var n="",s=(e+n).match(_colorExp),o=i?"hsla(":"rgba(",a=0,u,_,f,h;if(!s){return e}s=s.map((function(t){return(t=splitColor(t,i,1))&&o+(i?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}));if(r){f=_colorOrderData(e);u=r.c;if(u.join(n)!==f.c.join(n)){_=e.replace(_colorExp,"1").split(_numWithUnitExp);h=_.length-1;for(;a<h;a++){n+=_[a]+(~u.indexOf(a)?s.shift()||o+"0,0,0,0)":(f.length?f:s.length?s:r).shift())}}}if(!_){_=e.split(_colorExp);h=_.length-1;for(;a<h;a++){n+=_[a]+s[a]}}return n+_[h]},_colorExp=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in _colorLookup){t+="|"+e+"\\b"}return new RegExp(t+")","gi")}(),_hslExp=/hsl[a]?\(/,_colorStringFilter=function t(e){var i=e.join(" "),r;_colorExp.lastIndex=0;if(_colorExp.test(i)){r=_hslExp.test(i);e[1]=_formatColors(e[1],r);e[0]=_formatColors(e[0],r,_colorOrderData(e[1]));return true}},_tickerActive,_ticker=function(){var t=Date.now,e=500,i=33,r=t(),n=r,s=1e3/240,o=s,a=[],u,_,f,h,c,l,p=function f(p){var d=t()-n,m=p===true,g,v,w,y;(d>e||d<0)&&(r+=d-i);n+=d;w=n-r;g=w-o;if(g>0||m){y=++h.frame;c=w-h.time*1e3;h.time=w=w/1e3;o+=g+(g>=s?4:s-g);v=1}m||(u=_(f));if(v){for(l=0;l<a.length;l++){a[l](w,c,y,p)}}};h={time:0,frame:0,tick:function t(){p(true)},deltaRatio:function t(e){return c/(1e3/(e||60))},wake:function t(){if(_coreReady){if(!_coreInitted&&_windowExists$1()){_win$1=_coreInitted=window;_doc$1=_win$1.document||{};_globals.gsap=gsap;(_win$1.gsapVersions||(_win$1.gsapVersions=[])).push(gsap.version);_install(_installScope||_win$1.GreenSockGlobals||!_win$1.gsap&&_win$1||{});_registerPluginQueue.forEach(_createPlugin)}f=typeof requestAnimationFrame!=="undefined"&&requestAnimationFrame;u&&h.sleep();_=f||function(t){return setTimeout(t,o-h.time*1e3+1|0)};_tickerActive=1;p(2)}},sleep:function t(){(f?cancelAnimationFrame:clearTimeout)(u);_tickerActive=0;_=_emptyFunc},lagSmoothing:function t(r,n){e=r||Infinity;i=Math.min(n||33,e)},fps:function t(e){s=1e3/(e||240);o=h.time*1e3+s},add:function t(e,i,r){var n=i?function(t,i,r,s){e(t,i,r,s);h.remove(n)}:e;h.remove(e);a[r?"unshift":"push"](n);_wake();return n},remove:function t(e,i){~(i=a.indexOf(e))&&a.splice(i,1)&&l>=i&&l--},_listeners:a};return h}(),_wake=function t(){return!_tickerActive&&_ticker.wake()},_easeMap={},_customEaseExp=/^[\d.\-M][\d.\-,\s]/,_quotesExp=/["']/g,_parseObjectInString=function t(e){var i={},r=e.substr(1,e.length-3).split(":"),n=r[0],s=1,o=r.length,a,u,_;for(;s<o;s++){u=r[s];a=s!==o-1?u.lastIndexOf(","):u.length;_=u.substr(0,a);i[n]=isNaN(_)?_.replace(_quotesExp,"").trim():+_;n=u.substr(a+1).trim()}return i},_valueInParentheses=function t(e){var i=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",i);return e.substring(i,~n&&n<r?e.indexOf(")",r+1):r)},_configEaseFromString=function t(e){var i=(e+"").split("("),r=_easeMap[i[0]];return r&&i.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[_parseObjectInString(i[1])]:_valueInParentheses(e).split(",").map(_numericIfPossible)):_easeMap._CE&&_customEaseExp.test(e)?_easeMap._CE("",e):r},_invertEase=function t(e){return function(t){return 1-e(1-t)}},_propagateYoyoEase=function t(e,i){var r=e._first,n;while(r){if(r instanceof Timeline){t(r,i)}else if(r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==i){if(r.timeline){t(r.timeline,i)}else{n=r._ease;r._ease=r._yEase;r._yEase=n;r._yoyo=i}}r=r._next}},_parseEase=function t(e,i){return!e?i:(_isFunction(e)?e:_easeMap[e]||_configEaseFromString(e))||i},_insertEase=function t(e,i,r,n){if(r===void 0){r=function t(e){return 1-i(1-e)}}if(n===void 0){n=function t(e){return e<.5?i(e*2)/2:1-i((1-e)*2)/2}}var s={easeIn:i,easeOut:r,easeInOut:n},o;_forEachName(e,(function(t){_easeMap[t]=_globals[t]=s;_easeMap[o=t.toLowerCase()]=r;for(var e in s){_easeMap[o+(e==="easeIn"?".in":e==="easeOut"?".out":".inOut")]=_easeMap[t+"."+e]=s[e]}}));return s},_easeInOutFromOut=function t(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},_configElastic=function t(e,i,r){var n=i>=1?i:1,s=(r||(e?.3:.45))/(i<1?i:1),o=s/_2PI*(Math.asin(1/n)||0),a=function t(e){return e===1?1:n*Math.pow(2,-10*e)*_sin((e-o)*s)+1},u=e==="out"?a:e==="in"?function(t){return 1-a(1-t)}:_easeInOutFromOut(a);s=_2PI/s;u.config=function(i,r){return t(e,i,r)};return u},_configBack=function t(e,i){if(i===void 0){i=1.70158}var r=function t(e){return e?--e*e*((i+1)*e+i)+1:0},n=e==="out"?r:e==="in"?function(t){return 1-r(1-t)}:_easeInOutFromOut(r);n.config=function(i){return t(e,i)};return n};_forEachName("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var i=e<5?e+1:e;_insertEase(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},(function(t){return 1-Math.pow(1-t,i)}),(function(t){return t<.5?Math.pow(t*2,i)/2:1-Math.pow((1-t)*2,i)/2}))}));_easeMap.Linear.easeNone=_easeMap.none=_easeMap.Linear.easeIn;_insertEase("Elastic",_configElastic("in"),_configElastic("out"),_configElastic());(function(t,e){var i=1/e,r=2*i,n=2.5*i,s=function s(o){return o<i?t*o*o:o<r?t*Math.pow(o-1.5/e,2)+.75:o<n?t*(o-=2.25/e)*o+.9375:t*Math.pow(o-2.625/e,2)+.984375};_insertEase("Bounce",(function(t){return 1-s(1-t)}),s)})(7.5625,2.75);_insertEase("Expo",(function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}));_insertEase("Circ",(function(t){return-(_sqrt(1-t*t)-1)}));_insertEase("Sine",(function(t){return t===1?1:-_cos(t*_HALF_PI)+1}));_insertEase("Back",_configBack("in"),_configBack("out"),_configBack());_easeMap.SteppedEase=_easeMap.steps=_globals.SteppedEase={config:function t(e,i){if(e===void 0){e=1}var r=1/e,n=e+(i?0:1),s=i?1:0,o=1-_tinyNum;return function(t){return((n*_clamp(0,o,t)|0)+s)*r}}};_defaults.ease=_easeMap["quad.out"];_forEachName("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return _callbackNames+=t+","+t+"Params,"}));var GSCache=function t(e,i){this.id=_gsID++;e._gsap=this;this.target=e;this.harness=i;this.get=i?i.get:_getProperty;this.set=i?i.getSetter:_getSetter};var Animation=function(){function t(t){this.vars=t;this._delay=+t.delay||0;if(this._repeat=t.repeat===Infinity?-2:t.repeat||0){this._rDelay=t.repeatDelay||0;this._yoyo=!!t.yoyo||!!t.yoyoEase}this._ts=1;_setDuration(this,+t.duration,1,1);this.data=t.data;if(_context){this._ctx=_context;_context.data.push(this)}_tickerActive||_ticker.wake()}var e=t.prototype;e.delay=function t(e){if(e||e===0){this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay);this._delay=e;return this}return this._delay};e.duration=function t(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur};e.totalDuration=function t(e){if(!arguments.length){return this._tDur}this._dirty=0;return _setDuration(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))};e.totalTime=function t(e,i){_wake();if(!arguments.length){return this._tTime}var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){_alignPlayhead(this,e);!r._dp||r.parent||_postAddChecks(r,this);while(r&&r.parent){if(r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)){r.totalTime(r._tTime,true)}r=r.parent}if(!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)){_addToTimeline(this._dp,this,this._start-this._delay)}}if(this._tTime!==e||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===_tinyNum||!e&&!this._initted&&(this.add||this._ptLookup)){this._ts||(this._pTime=e);_lazySafeRender(this,e,i)}return this};e.time=function t(e,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+_elapsedCycleDuration(this))%(this._dur+this._rDelay)||(e?this._dur:0),i):this._time};e.totalProgress=function t(e,i){return arguments.length?this.totalTime(this.totalDuration()*e,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0};e.progress=function t(e,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+_elapsedCycleDuration(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0};e.iteration=function t(e,i){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*r,i):this._repeat?_animationCycle(this._tTime,r)+1:1};e.timeScale=function t(e,i){if(!arguments.length){return this._rts===-_tinyNum?0:this._rts}if(this._rts===e){return this}var r=this.parent&&this._ts?_parentToChildTotalTime(this.parent._time,this):this._tTime;this._rts=+e||0;this._ts=this._ps||e===-_tinyNum?0:this._rts;this.totalTime(_clamp(-Math.abs(this._delay),this.totalDuration(),r),i!==false);_setEnd(this);return _recacheAncestors(this)};e.paused=function t(e){if(!arguments.length){return this._ps}if(this._ps!==e){this._ps=e;if(e){this._pTime=this._tTime||Math.max(-this._delay,this.rawTime());this._ts=this._act=0}else{_wake();this._ts=this._rts;this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_tinyNum&&(this._tTime-=_tinyNum))}}return this};e.startTime=function t(e){if(arguments.length){this._start=e;var i=this.parent||this._dp;i&&(i._sort||!this.parent)&&_addToTimeline(i,this,e-this._delay);return this}return this._start};e.endTime=function t(e){return this._start+(_isNotFalse(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)};e.rawTime=function t(e){var i=this.parent||this._dp;return!i?this._tTime:e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):!this._ts?this._tTime:_parentToChildTotalTime(i.rawTime(e),this)};e.revert=function t(e){if(e===void 0){e=_revertConfig}var i=_reverting$1;_reverting$1=e;if(_isRevertWorthy(this)){this.timeline&&this.timeline.revert(e);this.totalTime(-.01,e.suppressEvents)}this.data!=="nested"&&e.kill!==false&&this.kill();_reverting$1=i;return this};e.globalTime=function t(e){var i=this,r=arguments.length?e:i.rawTime();while(i){r=i._start+r/(Math.abs(i._ts)||1);i=i._dp}return!this.parent&&this._sat?this._sat.globalTime(e):r};e.repeat=function t(e){if(arguments.length){this._repeat=e===Infinity?-2:e;return _onUpdateTotalDuration(this)}return this._repeat===-2?Infinity:this._repeat};e.repeatDelay=function t(e){if(arguments.length){var i=this._time;this._rDelay=e;_onUpdateTotalDuration(this);return i?this.time(i):this}return this._rDelay};e.yoyo=function t(e){if(arguments.length){this._yoyo=e;return this}return this._yoyo};e.seek=function t(e,i){return this.totalTime(_parsePosition(this,e),_isNotFalse(i))};e.restart=function t(e,i){this.play().totalTime(e?-this._delay:0,_isNotFalse(i));this._dur||(this._zTime=-_tinyNum);return this};e.play=function t(e,i){e!=null&&this.seek(e,i);return this.reversed(false).paused(false)};e.reverse=function t(e,i){e!=null&&this.seek(e||this.totalDuration(),i);return this.reversed(true).paused(false)};e.pause=function t(e,i){e!=null&&this.seek(e,i);return this.paused(true)};e.resume=function t(){return this.paused(false)};e.reversed=function t(e){if(arguments.length){!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-_tinyNum:0));return this}return this._rts<0};e.invalidate=function t(){this._initted=this._act=0;this._zTime=-_tinyNum;return this};e.isActive=function t(){var e=this.parent||this._dp,i=this._start,r;return!!(!e||this._ts&&this._initted&&e.isActive()&&(r=e.rawTime(true))>=i&&r<this.endTime(true)-_tinyNum)};e.eventCallback=function t(e,i,r){var n=this.vars;if(arguments.length>1){if(!i){delete n[e]}else{n[e]=i;r&&(n[e+"Params"]=r);e==="onUpdate"&&(this._onUpdate=i)}return this}return n[e]};e.then=function t(e){var i=this;return new Promise((function(t){var r=_isFunction(e)?e:_passThrough,n=function e(){var n=i.then;i.then=null;_isFunction(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=n);t(r);i.then=n};if(i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0){n()}else{i._prom=n}}))};e.kill=function t(){_interrupt(this)};return t}();_setDefaults(Animation.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:false,parent:null,_initted:false,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_tinyNum,_prom:0,_ps:false,_rts:1});var Timeline=function(t){_inheritsLoose(e,t);function e(e,i){var r;if(e===void 0){e={}}r=t.call(this,e)||this;r.labels={};r.smoothChildTiming=!!e.smoothChildTiming;r.autoRemoveChildren=!!e.autoRemoveChildren;r._sort=_isNotFalse(e.sortChildren);_globalTimeline&&_addToTimeline(e.parent||_globalTimeline,_assertThisInitialized(r),i);e.reversed&&r.reverse();e.paused&&r.paused(true);e.scrollTrigger&&_scrollTrigger(_assertThisInitialized(r),e.scrollTrigger);return r}var i=e.prototype;i.to=function t(e,i,r){_createTweenType(0,arguments,this);return this};i.from=function t(e,i,r){_createTweenType(1,arguments,this);return this};i.fromTo=function t(e,i,r,n){_createTweenType(2,arguments,this);return this};i.set=function t(e,i,r){i.duration=0;i.parent=this;_inheritDefaults(i).repeatDelay||(i.repeat=0);i.immediateRender=!!i.immediateRender;new Tween(e,i,_parsePosition(this,r),1);return this};i.call=function t(e,i,r){return _addToTimeline(this,Tween.delayedCall(0,e,i),r)};i.staggerTo=function t(e,i,r,n,s,o,a){r.duration=i;r.stagger=r.stagger||n;r.onComplete=o;r.onCompleteParams=a;r.parent=this;new Tween(e,r,_parsePosition(this,s));return this};i.staggerFrom=function t(e,i,r,n,s,o,a){r.runBackwards=1;_inheritDefaults(r).immediateRender=_isNotFalse(r.immediateRender);return this.staggerTo(e,i,r,n,s,o,a)};i.staggerFromTo=function t(e,i,r,n,s,o,a,u){n.startAt=r;_inheritDefaults(n).immediateRender=_isNotFalse(n.immediateRender);return this.staggerTo(e,i,n,s,o,a,u)};i.render=function t(e,i,r){var n=this._time,s=this._dirty?this.totalDuration():this._tDur,o=this._dur,a=e<=0?0:_roundPrecise(e),u=this._zTime<0!==e<0&&(this._initted||!o),_,f,h,c,l,p,d,m,g,v,w,y;this!==_globalTimeline&&a>s&&e>=0&&(a=s);if(a!==this._tTime||r||u){if(n!==this._time&&o){a+=this._time-n;e+=this._time-n}_=a;g=this._start;m=this._ts;p=!m;if(u){o||(n=this._zTime);(e||!i)&&(this._zTime=e)}if(this._repeat){w=this._yoyo;l=o+this._rDelay;if(this._repeat<-1&&e<0){return this.totalTime(l*100+e,i,r)}_=_roundPrecise(a%l);if(a===s){c=this._repeat;_=o}else{v=_roundPrecise(a/l);c=~~v;if(c&&c===v){_=o;c--}_>o&&(_=o)}v=_animationCycle(this._tTime,l);!n&&this._tTime&&v!==c&&this._tTime-v*l-this._dur<=0&&(v=c);if(w&&c&1){_=o-_;y=1}if(c!==v&&!this._lock){var P=w&&v&1,T=P===(w&&c&1);c<v&&(P=!P);n=P?0:a%o?o:a;this._lock=1;this.render(n||(y?0:_roundPrecise(c*l)),i,!o)._lock=0;this._tTime=a;!i&&this.parent&&_callback(this,"onRepeat");this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1);if(n&&n!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act){return this}o=this._dur;s=this._tDur;if(T){this._lock=2;n=P?o:-1e-4;this.render(n,true);this.vars.repeatRefresh&&!y&&this.invalidate()}this._lock=0;if(!this._ts&&!p){return this}_propagateYoyoEase(this,y)}}if(this._hasPause&&!this._forcing&&this._lock<2){d=_findNextPauseTween(this,_roundPrecise(n),_roundPrecise(_));if(d){a-=_-(_=d._start)}}this._tTime=a;this._time=_;this._act=!m;if(!this._initted){this._onUpdate=this.vars.onUpdate;this._initted=1;this._zTime=e;n=0}if(!n&&a&&!i&&!v){_callback(this,"onStart");if(this._tTime!==a){return this}}if(_>=n&&e>=0){f=this._first;while(f){h=f._next;if((f._act||_>=f._start)&&f._ts&&d!==f){if(f.parent!==this){return this.render(e,i,r)}f.render(f._ts>0?(_-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(_-f._start)*f._ts,i,r);if(_!==this._time||!this._ts&&!p){d=0;h&&(a+=this._zTime=-_tinyNum);break}}f=h}}else{f=this._last;var S=e<0?e:_;while(f){h=f._prev;if((f._act||S<=f._end)&&f._ts&&d!==f){if(f.parent!==this){return this.render(e,i,r)}f.render(f._ts>0?(S-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(S-f._start)*f._ts,i,r||_reverting$1&&_isRevertWorthy(f));if(_!==this._time||!this._ts&&!p){d=0;h&&(a+=this._zTime=S?-_tinyNum:_tinyNum);break}}f=h}}if(d&&!i){this.pause();d.render(_>=n?0:-_tinyNum)._zTime=_>=n?1:-1;if(this._ts){this._start=g;_setEnd(this);return this.render(e,i,r)}}this._onUpdate&&!i&&_callback(this,"onUpdate",true);if(a===s&&this._tTime>=this.totalDuration()||!a&&n)if(g===this._start||Math.abs(m)!==Math.abs(this._ts))if(!this._lock){(e||!o)&&(a===s&&this._ts>0||!a&&this._ts<0)&&_removeFromParent(this,1);if(!i&&!(e<0&&!n)&&(a||n||!s)){_callback(this,a===s&&e>=0?"onComplete":"onReverseComplete",true);this._prom&&!(a<s&&this.timeScale()>0)&&this._prom()}}}return this};i.add=function t(e,i){var r=this;_isNumber(i)||(i=_parsePosition(this,i,e));if(!(e instanceof Animation)){if(_isArray(e)){e.forEach((function(t){return r.add(t,i)}));return this}if(_isString(e)){return this.addLabel(e,i)}if(_isFunction(e)){e=Tween.delayedCall(0,e)}else{return this}}return this!==e?_addToTimeline(this,e,i):this};i.getChildren=function t(e,i,r,n){if(e===void 0){e=true}if(i===void 0){i=true}if(r===void 0){r=true}if(n===void 0){n=-_bigNum$1}var s=[],o=this._first;while(o){if(o._start>=n){if(o instanceof Tween){i&&s.push(o)}else{r&&s.push(o);e&&s.push.apply(s,o.getChildren(true,i,r))}}o=o._next}return s};i.getById=function t(e){var i=this.getChildren(1,1,1),r=i.length;while(r--){if(i[r].vars.id===e){return i[r]}}};i.remove=function t(e){if(_isString(e)){return this.removeLabel(e)}if(_isFunction(e)){return this.killTweensOf(e)}e.parent===this&&_removeLinkedListItem(this,e);if(e===this._recent){this._recent=this._last}return _uncache(this)};i.totalTime=function e(i,r){if(!arguments.length){return this._tTime}this._forcing=1;if(!this._dp&&this._ts){this._start=_roundPrecise(_ticker.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))}t.prototype.totalTime.call(this,i,r);this._forcing=0;return this};i.addLabel=function t(e,i){this.labels[e]=_parsePosition(this,i);return this};i.removeLabel=function t(e){delete this.labels[e];return this};i.addPause=function t(e,i,r){var n=Tween.delayedCall(0,i||_emptyFunc,r);n.data="isPause";this._hasPause=1;return _addToTimeline(this,n,_parsePosition(this,e))};i.removePause=function t(e){var i=this._first;e=_parsePosition(this,e);while(i){if(i._start===e&&i.data==="isPause"){_removeFromParent(i)}i=i._next}};i.killTweensOf=function t(e,i,r){var n=this.getTweensOf(e,r),s=n.length;while(s--){_overwritingTween!==n[s]&&n[s].kill(e,i)}return this};i.getTweensOf=function t(e,i){var r=[],n=toArray(e),s=this._first,o=_isNumber(i),a;while(s){if(s instanceof Tween){if(_arrayContainsAny(s._targets,n)&&(o?(!_overwritingTween||s._initted&&s._ts)&&s.globalTime(0)<=i&&s.globalTime(s.totalDuration())>i:!i||s.isActive())){r.push(s)}}else if((a=s.getTweensOf(n,i)).length){r.push.apply(r,a)}s=s._next}return r};i.tweenTo=function t(e,i){i=i||{};var r=this,n=_parsePosition(r,e),s=i,o=s.startAt,a=s.onStart,u=s.onStartParams,_=s.immediateRender,f,h=Tween.to(r,_setDefaults({ease:i.ease||"none",lazy:false,immediateRender:false,time:n,overwrite:"auto",duration:i.duration||Math.abs((n-(o&&"time"in o?o.time:r._time))/r.timeScale())||_tinyNum,onStart:function t(){r.pause();if(!f){var e=i.duration||Math.abs((n-(o&&"time"in o?o.time:r._time))/r.timeScale());h._dur!==e&&_setDuration(h,e,0,1).render(h._time,true,true);f=1}a&&a.apply(h,u||[])}},i));return _?h.render(0):h};i.tweenFromTo=function t(e,i,r){return this.tweenTo(i,_setDefaults({startAt:{time:_parsePosition(this,e)}},r))};i.recent=function t(){return this._recent};i.nextLabel=function t(e){if(e===void 0){e=this._time}return _getLabelInDirection(this,_parsePosition(this,e))};i.previousLabel=function t(e){if(e===void 0){e=this._time}return _getLabelInDirection(this,_parsePosition(this,e),1)};i.currentLabel=function t(e){return arguments.length?this.seek(e,true):this.previousLabel(this._time+_tinyNum)};i.shiftChildren=function t(e,i,r){if(r===void 0){r=0}var n=this._first,s=this.labels,o;while(n){if(n._start>=r){n._start+=e;n._end+=e}n=n._next}if(i){for(o in s){if(s[o]>=r){s[o]+=e}}}return _uncache(this)};i.invalidate=function e(i){var r=this._first;this._lock=0;while(r){r.invalidate(i);r=r._next}return t.prototype.invalidate.call(this,i)};i.clear=function t(e){if(e===void 0){e=true}var i=this._first,r;while(i){r=i._next;this.remove(i);i=r}this._dp&&(this._time=this._tTime=this._pTime=0);e&&(this.labels={});return _uncache(this)};i.totalDuration=function t(e){var i=0,r=this,n=r._last,s=_bigNum$1,o,a,u;if(arguments.length){return r.timeScale((r._repeat<0?r.duration():r.totalDuration())/(r.reversed()?-e:e))}if(r._dirty){u=r.parent;while(n){o=n._prev;n._dirty&&n.totalDuration();a=n._start;if(a>s&&r._sort&&n._ts&&!r._lock){r._lock=1;_addToTimeline(r,n,a-n._delay,1)._lock=0}else{s=a}if(a<0&&n._ts){i-=a;if(!u&&!r._dp||u&&u.smoothChildTiming){r._start+=a/r._ts;r._time-=a;r._tTime-=a}r.shiftChildren(-a,false,-Infinity);s=0}n._end>i&&n._ts&&(i=n._end);n=o}_setDuration(r,r===_globalTimeline&&r._time>i?r._time:i,1,1);r._dirty=0}return r._tDur};e.updateRoot=function t(e){if(_globalTimeline._ts){_lazySafeRender(_globalTimeline,_parentToChildTotalTime(e,_globalTimeline));_lastRenderedFrame=_ticker.frame}if(_ticker.frame>=_nextGCFrame){_nextGCFrame+=_config.autoSleep||120;var i=_globalTimeline._first;if(!i||!i._ts)if(_config.autoSleep&&_ticker._listeners.length<2){while(i&&!i._ts){i=i._next}i||_ticker.sleep()}}};return e}(Animation);_setDefaults(Timeline.prototype,{_lock:0,_hasPause:0,_forcing:0});var _addComplexStringPropTween=function t(e,i,r,n,s,o,a){var u=new PropTween(this._pt,e,i,0,1,_renderComplexString,null,s),_=0,f=0,h,c,l,p,d,m,g,v;u.b=r;u.e=n;r+="";n+="";if(g=~n.indexOf("random(")){n=_replaceRandom(n)}if(o){v=[r,n];o(v,e,i);r=v[0];n=v[1]}c=r.match(_complexStringNumExp)||[];while(h=_complexStringNumExp.exec(n)){p=h[0];d=n.substring(_,h.index);if(l){l=(l+1)%5}else if(d.substr(-5)==="rgba("){l=1}if(p!==c[f++]){m=parseFloat(c[f-1])||0;u._pt={_next:u._pt,p:d||f===1?d:",",s:m,c:p.charAt(1)==="="?_parseRelative(m,p)-m:parseFloat(p)-m,m:l&&l<4?Math.round:0};_=_complexStringNumExp.lastIndex}}u.c=_<n.length?n.substring(_,n.length):"";u.fp=a;if(_relExp.test(n)||g){u.e=0}this._pt=u;return u},_addPropTween=function t(e,i,r,n,s,o,a,u,_,f){_isFunction(n)&&(n=n(s||0,e,o));var h=e[i],c=r!=="get"?r:!_isFunction(h)?h:_?e[i.indexOf("set")||!_isFunction(e["get"+i.substr(3)])?i:"get"+i.substr(3)](_):e[i](),l=!_isFunction(h)?_setterPlain:_?_setterFuncWithParam:_setterFunc,p;if(_isString(n)){if(~n.indexOf("random(")){n=_replaceRandom(n)}if(n.charAt(1)==="="){p=_parseRelative(c,n)+(getUnit(c)||0);if(p||p===0){n=p}}}if(!f||c!==n||_forceAllPropTweens){if(!isNaN(c*n)&&n!==""){p=new PropTween(this._pt,e,i,+c||0,n-(c||0),typeof h==="boolean"?_renderBoolean:_renderPlain,0,l);_&&(p.fp=_);a&&p.modifier(a,this,e);return this._pt=p}!h&&!(i in e)&&_missingPlugin(i,n);return _addComplexStringPropTween.call(this,e,i,c,n,l,u||_config.stringFilter,_)}},_processVars=function t(e,i,r,n,s){_isFunction(e)&&(e=_parseFuncOrString(e,s,i,r,n));if(!_isObject(e)||e.style&&e.nodeType||_isArray(e)||_isTypedArray(e)){return _isString(e)?_parseFuncOrString(e,s,i,r,n):e}var o={},a;for(a in e){o[a]=_parseFuncOrString(e[a],s,i,r,n)}return o},_checkPlugin=function t(e,i,r,n,s,o){var a,u,_,f;if(_plugins[e]&&(a=new _plugins[e]).init(s,a.rawVars?i[e]:_processVars(i[e],n,s,o,r),r,n,o)!==false){r._pt=u=new PropTween(r._pt,s,e,0,1,a.render,a,0,a.priority);if(r!==_quickTween){_=r._ptLookup[r._targets.indexOf(s)];f=a._props.length;while(f--){_[a._props[f]]=u}}}return a},_overwritingTween,_forceAllPropTweens,_initTween=function t(e,i,r){var n=e.vars,s=n.ease,o=n.startAt,a=n.immediateRender,u=n.lazy,_=n.onUpdate,f=n.runBackwards,h=n.yoyoEase,c=n.keyframes,l=n.autoRevert,p=e._dur,d=e._startAt,m=e._targets,g=e.parent,v=g&&g.data==="nested"?g.vars.targets:m,w=e._overwrite==="auto"&&!_suppressOverwrites,y=e.timeline,P,T,S,x,b,C,M,E,k,F,N,A,D;y&&(!c||!s)&&(s="none");e._ease=_parseEase(s,_defaults.ease);e._yEase=h?_invertEase(_parseEase(h===true?s:h,_defaults.ease)):0;if(h&&e._yoyo&&!e._repeat){h=e._yEase;e._yEase=e._ease;e._ease=h}e._from=!y&&!!n.runBackwards;if(!y||c&&!n.stagger){E=m[0]?_getCache(m[0]).harness:0;A=E&&n[E.prop];P=_copyExcluding(n,_reservedProps);if(d){d._zTime<0&&d.progress(1);i<0&&f&&a&&!l?d.render(-1,true):d.revert(f&&p?_revertConfigNoKill:_startAtRevertConfig);d._lazy=0}if(o){_removeFromParent(e._startAt=Tween.set(m,_setDefaults({data:"isStart",overwrite:false,parent:g,immediateRender:true,lazy:!d&&_isNotFalse(u),startAt:null,delay:0,onUpdate:_&&function(){return _callback(e,"onUpdate")},stagger:0},o)));e._startAt._dp=0;e._startAt._sat=e;i<0&&(_reverting$1||!a&&!l)&&e._startAt.revert(_revertConfigNoKill);if(a){if(p&&i<=0&&r<=0){i&&(e._zTime=i);return}}}else if(f&&p){if(!d){i&&(a=false);S=_setDefaults({overwrite:false,data:"isFromStart",lazy:a&&!d&&_isNotFalse(u),immediateRender:a,stagger:0,parent:g},P);A&&(S[E.prop]=A);_removeFromParent(e._startAt=Tween.set(m,S));e._startAt._dp=0;e._startAt._sat=e;i<0&&(_reverting$1?e._startAt.revert(_revertConfigNoKill):e._startAt.render(-1,true));e._zTime=i;if(!a){t(e._startAt,_tinyNum,_tinyNum)}else if(!i){return}}}e._pt=e._ptCache=0;u=p&&_isNotFalse(u)||u&&!p;for(T=0;T<m.length;T++){b=m[T];M=b._gsap||_harness(m)[T]._gsap;e._ptLookup[T]=F={};_lazyLookup[M.id]&&_lazyTweens.length&&_lazyRender();N=v===m?T:v.indexOf(b);if(E&&(k=new E).init(b,A||P,e,N,v)!==false){e._pt=x=new PropTween(e._pt,b,k.name,0,1,k.render,k,0,k.priority);k._props.forEach((function(t){F[t]=x}));k.priority&&(C=1)}if(!E||A){for(S in P){if(_plugins[S]&&(k=_checkPlugin(S,P,e,N,b,v))){k.priority&&(C=1)}else{F[S]=x=_addPropTween.call(e,b,S,"get",P[S],N,v,0,n.stringFilter)}}}e._op&&e._op[T]&&e.kill(b,e._op[T]);if(w&&e._pt){_overwritingTween=e;_globalTimeline.killTweensOf(b,F,e.globalTime(i));D=!e.parent;_overwritingTween=0}e._pt&&u&&(_lazyLookup[M.id]=1)}C&&_sortPropTweensByPriority(e);e._onInit&&e._onInit(e)}e._onUpdate=_;e._initted=(!e._op||e._pt)&&!D;c&&i<=0&&y.render(_bigNum$1,true,true)},_updatePropTweens=function t(e,i,r,n,s,o,a,u){var _=(e._pt&&e._ptCache||(e._ptCache={}))[i],f,h,c,l;if(!_){_=e._ptCache[i]=[];c=e._ptLookup;l=e._targets.length;while(l--){f=c[l][i];if(f&&f.d&&f.d._pt){f=f.d._pt;while(f&&f.p!==i&&f.fp!==i){f=f._next}}if(!f){_forceAllPropTweens=1;e.vars[i]="+=0";_initTween(e,a);_forceAllPropTweens=0;return u?_warn(i+" not eligible for reset"):1}_.push(f)}}l=_.length;while(l--){h=_[l];f=h._pt||h;f.s=(n||n===0)&&!s?n:f.s+(n||0)+o*f.c;f.c=r-f.s;h.e&&(h.e=_round(r)+getUnit(h.e));h.b&&(h.b=f.s+getUnit(h.b))}},_addAliasesToVars=function t(e,i){var r=e[0]?_getCache(e[0]).harness:0,n=r&&r.aliases,s,o,a,u;if(!n){return i}s=_merge({},i);for(o in n){if(o in s){u=n[o].split(",");a=u.length;while(a--){s[u[a]]=s[o]}}}return s},_parseKeyframe=function t(e,i,r,n){var s=i.ease||n||"power1.inOut",o,a;if(_isArray(i)){a=r[e]||(r[e]=[]);i.forEach((function(t,e){return a.push({t:e/(i.length-1)*100,v:t,e:s})}))}else{for(o in i){a=r[o]||(r[o]=[]);o==="ease"||a.push({t:parseFloat(e),v:i[o],e:s})}}},_parseFuncOrString=function t(e,i,r,n,s){return _isFunction(e)?e.call(i,r,n,s):_isString(e)&&~e.indexOf("random(")?_replaceRandom(e):e},_staggerTweenProps=_callbackNames+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",_staggerPropsToSkip={};_forEachName(_staggerTweenProps+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return _staggerPropsToSkip[t]=1}));var Tween=function(t){_inheritsLoose(e,t);function e(e,i,r,n){var s;if(typeof i==="number"){r.duration=i;i=r;r=null}s=t.call(this,n?i:_inheritDefaults(i))||this;var o=s.vars,a=o.duration,u=o.delay,_=o.immediateRender,f=o.stagger,h=o.overwrite,c=o.keyframes,l=o.defaults,p=o.scrollTrigger,d=o.yoyoEase,m=i.parent||_globalTimeline,g=(_isArray(e)||_isTypedArray(e)?_isNumber(e[0]):"length"in i)?[e]:toArray(e),v,w,y,P,T,S,x,b;s._targets=g.length?_harness(g):_warn("GSAP target "+e+" not found. https://gsap.com",!_config.nullTargetWarn)||[];s._ptLookup=[];s._overwrite=h;if(c||f||_isFuncOrString(a)||_isFuncOrString(u)){i=s.vars;v=s.timeline=new Timeline({data:"nested",defaults:l||{},targets:m&&m.data==="nested"?m.vars.targets:g});v.kill();v.parent=v._dp=_assertThisInitialized(s);v._start=0;if(f||_isFuncOrString(a)||_isFuncOrString(u)){P=g.length;x=f&&distribute(f);if(_isObject(f)){for(T in f){if(~_staggerTweenProps.indexOf(T)){b||(b={});b[T]=f[T]}}}for(w=0;w<P;w++){y=_copyExcluding(i,_staggerPropsToSkip);y.stagger=0;d&&(y.yoyoEase=d);b&&_merge(y,b);S=g[w];y.duration=+_parseFuncOrString(a,_assertThisInitialized(s),w,S,g);y.delay=(+_parseFuncOrString(u,_assertThisInitialized(s),w,S,g)||0)-s._delay;if(!f&&P===1&&y.delay){s._delay=u=y.delay;s._start+=u;y.delay=0}v.to(S,y,x?x(w,S,g):0);v._ease=_easeMap.none}v.duration()?a=u=0:s.timeline=0}else if(c){_inheritDefaults(_setDefaults(v.vars.defaults,{ease:"none"}));v._ease=_parseEase(c.ease||i.ease||"none");var C=0,M,E,k;if(_isArray(c)){c.forEach((function(t){return v.to(g,t,">")}));v.duration()}else{y={};for(T in c){T==="ease"||T==="easeEach"||_parseKeyframe(T,c[T],y,c.easeEach)}for(T in y){M=y[T].sort((function(t,e){return t.t-e.t}));C=0;for(w=0;w<M.length;w++){E=M[w];k={ease:E.e,duration:(E.t-(w?M[w-1].t:0))/100*a};k[T]=E.v;v.to(g,k,C);C+=k.duration}}v.duration()<a&&v.to({},{duration:a-v.duration()})}}a||s.duration(a=v.duration())}else{s.timeline=0}if(h===true&&!_suppressOverwrites){_overwritingTween=_assertThisInitialized(s);_globalTimeline.killTweensOf(g);_overwritingTween=0}_addToTimeline(m,_assertThisInitialized(s),r);i.reversed&&s.reverse();i.paused&&s.paused(true);if(_||!a&&!c&&s._start===_roundPrecise(m._time)&&_isNotFalse(_)&&_hasNoPausedAncestors(_assertThisInitialized(s))&&m.data!=="nested"){s._tTime=-_tinyNum;s.render(Math.max(0,-u)||0)}p&&_scrollTrigger(_assertThisInitialized(s),p);return s}var i=e.prototype;i.render=function t(e,i,r){var n=this._time,s=this._tDur,o=this._dur,a=e<0,u=e>s-_tinyNum&&!a?s:e<_tinyNum?0:e,_,f,h,c,l,p,d,m,g;if(!o){_renderZeroDurationTween(this,e,i,r)}else if(u!==this._tTime||!e||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==a||this._lazy){_=u;m=this.timeline;if(this._repeat){c=o+this._rDelay;if(this._repeat<-1&&a){return this.totalTime(c*100+e,i,r)}_=_roundPrecise(u%c);if(u===s){h=this._repeat;_=o}else{l=_roundPrecise(u/c);h=~~l;if(h&&h===l){_=o;h--}else if(_>o){_=o}}p=this._yoyo&&h&1;if(p){g=this._yEase;_=o-_}l=_animationCycle(this._tTime,c);if(_===n&&!r&&this._initted&&h===l){this._tTime=u;return this}if(h!==l){m&&this._yEase&&_propagateYoyoEase(m,p);if(this.vars.repeatRefresh&&!p&&!this._lock&&_!==c&&this._initted){this._lock=r=1;this.render(_roundPrecise(c*h),true).invalidate()._lock=0}}}if(!this._initted){if(_attemptInitTween(this,a?e:_,r,i,u)){this._tTime=0;return this}if(n!==this._time&&!(r&&this.vars.repeatRefresh&&h!==l)){return this}if(o!==this._dur){return this.render(e,i,r)}}this._tTime=u;this._time=_;if(!this._act&&this._ts){this._act=1;this._lazy=0}this.ratio=d=(g||this._ease)(_/o);if(this._from){this.ratio=d=1-d}if(!n&&u&&!i&&!l){_callback(this,"onStart");if(this._tTime!==u){return this}}f=this._pt;while(f){f.r(d,f.d);f=f._next}m&&m.render(e<0?e:m._dur*m._ease(_/this._dur),i,r)||this._startAt&&(this._zTime=e);if(this._onUpdate&&!i){a&&_rewindStartAt(this,e,i,r);_callback(this,"onUpdate")}this._repeat&&h!==l&&this.vars.onRepeat&&!i&&this.parent&&_callback(this,"onRepeat");if((u===this._tDur||!u)&&this._tTime===u){a&&!this._onUpdate&&_rewindStartAt(this,e,true,true);(e||!o)&&(u===this._tDur&&this._ts>0||!u&&this._ts<0)&&_removeFromParent(this,1);if(!i&&!(a&&!n)&&(u||n||p)){_callback(this,u===s?"onComplete":"onReverseComplete",true);this._prom&&!(u<s&&this.timeScale()>0)&&this._prom()}}}return this};i.targets=function t(){return this._targets};i.invalidate=function e(i){(!i||!this.vars.runBackwards)&&(this._startAt=0);this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0;this._ptLookup=[];this.timeline&&this.timeline.invalidate(i);return t.prototype.invalidate.call(this,i)};i.resetTo=function t(e,i,r,n,s){_tickerActive||_ticker.wake();this._ts||this.play();var o=Math.min(this._dur,(this._dp._time-this._start)*this._ts),a;this._initted||_initTween(this,o);a=this._ease(o/this._dur);if(_updatePropTweens(this,e,i,r,n,a,o,s)){return this.resetTo(e,i,r,n,1)}_alignPlayhead(this,0);this.parent||_addLinkedListItem(this._dp,this,"_first","_last",this._dp._sort?"_start":0);return this.render(0)};i.kill=function t(e,i){if(i===void 0){i="all"}if(!e&&(!i||i==="all")){this._lazy=this._pt=0;this.parent?_interrupt(this):this.scrollTrigger&&this.scrollTrigger.kill(!!_reverting$1);return this}if(this.timeline){var r=this.timeline.totalDuration();this.timeline.killTweensOf(e,i,_overwritingTween&&_overwritingTween.vars.overwrite!==true)._first||_interrupt(this);this.parent&&r!==this.timeline.totalDuration()&&_setDuration(this,this._dur*this.timeline._tDur/r,0,1);return this}var n=this._targets,s=e?toArray(e):n,o=this._ptLookup,a=this._pt,u,_,f,h,c,l,p;if((!i||i==="all")&&_arraysMatch(n,s)){i==="all"&&(this._pt=0);return _interrupt(this)}u=this._op=this._op||[];if(i!=="all"){if(_isString(i)){c={};_forEachName(i,(function(t){return c[t]=1}));i=c}i=_addAliasesToVars(n,i)}p=n.length;while(p--){if(~s.indexOf(n[p])){_=o[p];if(i==="all"){u[p]=i;h=_;f={}}else{f=u[p]=u[p]||{};h=i}for(c in h){l=_&&_[c];if(l){if(!("kill"in l.d)||l.d.kill(c)===true){_removeLinkedListItem(this,l,"_pt")}delete _[c]}if(f!=="all"){f[c]=1}}}}this._initted&&!this._pt&&a&&_interrupt(this);return this};e.to=function t(i,r){return new e(i,r,arguments[2])};e.from=function t(e,i){return _createTweenType(1,arguments)};e.delayedCall=function t(i,r,n,s){return new e(r,0,{immediateRender:false,lazy:false,overwrite:false,delay:i,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:s})};e.fromTo=function t(e,i,r){return _createTweenType(2,arguments)};e.set=function t(i,r){r.duration=0;r.repeatDelay||(r.repeat=0);return new e(i,r)};e.killTweensOf=function t(e,i,r){return _globalTimeline.killTweensOf(e,i,r)};return e}(Animation);_setDefaults(Tween.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});_forEachName("staggerTo,staggerFrom,staggerFromTo",(function(t){Tween[t]=function(){var e=new Timeline,i=_slice.call(arguments,0);i.splice(t==="staggerFromTo"?5:4,0,0);return e[t].apply(e,i)}}));var _setterPlain=function t(e,i,r){return e[i]=r},_setterFunc=function t(e,i,r){return e[i](r)},_setterFuncWithParam=function t(e,i,r,n){return e[i](n.fp,r)},_setterAttribute=function t(e,i,r){return e.setAttribute(i,r)},_getSetter=function t(e,i){return _isFunction(e[i])?_setterFunc:_isUndefined(e[i])&&e.setAttribute?_setterAttribute:_setterPlain},_renderPlain=function t(e,i){return i.set(i.t,i.p,Math.round((i.s+i.c*e)*1e6)/1e6,i)},_renderBoolean=function t(e,i){return i.set(i.t,i.p,!!(i.s+i.c*e),i)},_renderComplexString=function t(e,i){var r=i._pt,n="";if(!e&&i.b){n=i.b}else if(e===1&&i.e){n=i.e}else{while(r){n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n;r=r._next}n+=i.c}i.set(i.t,i.p,n,i)},_renderPropTweens=function t(e,i){var r=i._pt;while(r){r.r(e,r.d);r=r._next}},_addPluginModifier=function t(e,i,r,n){var s=this._pt,o;while(s){o=s._next;s.p===n&&s.modifier(e,i,r);s=o}},_killPropTweensOf=function t(e){var i=this._pt,r,n;while(i){n=i._next;if(i.p===e&&!i.op||i.op===e){_removeLinkedListItem(this,i,"_pt")}else if(!i.dep){r=1}i=n}return!r},_setterWithModifier=function t(e,i,r,n){n.mSet(e,i,n.m.call(n.tween,r,n.mt),n)},_sortPropTweensByPriority=function t(e){var i=e._pt,r,n,s,o;while(i){r=i._next;n=s;while(n&&n.pr>i.pr){n=n._next}if(i._prev=n?n._prev:o){i._prev._next=i}else{s=i}if(i._next=n){n._prev=i}else{o=i}i=r}e._pt=s};var PropTween=function(){function t(t,e,i,r,n,s,o,a,u){this.t=e;this.s=r;this.c=n;this.p=i;this.r=s||_renderPlain;this.d=o||this;this.set=a||_setterPlain;this.pr=u||0;this._next=t;if(t){t._prev=this}}var e=t.prototype;e.modifier=function t(e,i,r){this.mSet=this.mSet||this.set;this.set=_setterWithModifier;this.m=e;this.mt=r;this.tween=i};return t}();_forEachName(_callbackNames+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return _reservedProps[t]=1}));_globals.TweenMax=_globals.TweenLite=Tween;_globals.TimelineLite=_globals.TimelineMax=Timeline;_globalTimeline=new Timeline({sortChildren:false,defaults:_defaults,autoRemoveChildren:true,id:"root",smoothChildTiming:true});_config.stringFilter=_colorStringFilter;var _media=[],_listeners={},_emptyArray=[],_lastMediaTime=0,_contextID=0,_dispatch=function t(e){return(_listeners[e]||_emptyArray).map((function(t){return t()}))},_onMediaChange=function t(){var e=Date.now(),i=[];if(e-_lastMediaTime>2){_dispatch("matchMediaInit");_media.forEach((function(t){var e=t.queries,r=t.conditions,n,s,o,a;for(s in e){n=_win$1.matchMedia(e[s]).matches;n&&(o=1);if(n!==r[s]){r[s]=n;a=1}}if(a){t.revert();o&&i.push(t)}}));_dispatch("matchMediaRevert");i.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))}));_lastMediaTime=e;_dispatch("matchMedia")}};var Context=function(){function t(t,e){this.selector=e&&selector(e);this.data=[];this._r=[];this.isReverted=false;this.id=_contextID++;t&&this.add(t)}var e=t.prototype;e.add=function t(e,i,r){if(_isFunction(e)){r=i;i=e;e=_isFunction}var n=this,s=function t(){var e=_context,s=n.selector,o;e&&e!==n&&e.data.push(n);r&&(n.selector=selector(r));_context=n;o=i.apply(n,arguments);_isFunction(o)&&n._r.push(o);_context=e;n.selector=s;n.isReverted=false;return o};n.last=s;return e===_isFunction?s(n,(function(t){return n.add(null,t)})):e?n[e]=s:s};e.ignore=function t(e){var i=_context;_context=null;e(this);_context=i};e.getTweens=function e(){var i=[];this.data.forEach((function(e){return e instanceof t?i.push.apply(i,e.getTweens()):e instanceof Tween&&!(e.parent&&e.parent.data==="nested")&&i.push(e)}));return i};e.clear=function t(){this._r.length=this.data.length=0};e.kill=function t(e,i){var r=this;if(e){(function(){var t=r.getTweens(),i=r.data.length,n;while(i--){n=r.data[i];if(n.data==="isFlip"){n.revert();n.getChildren(true,true,false).forEach((function(e){return t.splice(t.indexOf(e),1)}))}}t.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-Infinity,t:t}})).sort((function(t,e){return e.g-t.g||-Infinity})).forEach((function(t){return t.t.revert(e)}));i=r.data.length;while(i--){n=r.data[i];if(n instanceof Timeline){if(n.data!=="nested"){n.scrollTrigger&&n.scrollTrigger.revert();n.kill()}}else{!(n instanceof Tween)&&n.revert&&n.revert(e)}}r._r.forEach((function(t){return t(e,r)}));r.isReverted=true})()}else{this.data.forEach((function(t){return t.kill&&t.kill()}))}this.clear();if(i){var n=_media.length;while(n--){_media[n].id===this.id&&_media.splice(n,1)}}};e.revert=function t(e){this.kill(e||{})};return t}();var MatchMedia=function(){function t(t){this.contexts=[];this.scope=t;_context&&_context.data.push(this)}var e=t.prototype;e.add=function t(e,i,r){_isObject(e)||(e={matches:e});var n=new Context(0,r||this.scope),s=n.conditions={},o,a,u;_context&&!n.selector&&(n.selector=_context.selector);this.contexts.push(n);i=n.add("onMatch",i);n.queries=e;for(a in e){if(a==="all"){u=1}else{o=_win$1.matchMedia(e[a]);if(o){_media.indexOf(n)<0&&_media.push(n);(s[a]=o.matches)&&(u=1);o.addListener?o.addListener(_onMediaChange):o.addEventListener("change",_onMediaChange)}}}u&&i(n,(function(t){return n.add(null,t)}));return this};e.revert=function t(e){this.kill(e||{})};e.kill=function t(e){this.contexts.forEach((function(t){return t.kill(e,true)}))};return t}();var _gsap={registerPlugin:function t(){for(var e=arguments.length,i=new Array(e),r=0;r<e;r++){i[r]=arguments[r]}i.forEach((function(t){return _createPlugin(t)}))},timeline:function t(e){return new Timeline(e)},getTweensOf:function t(e,i){return _globalTimeline.getTweensOf(e,i)},getProperty:function t(e,i,r,n){_isString(e)&&(e=toArray(e)[0]);var s=_getCache(e||{}).get,o=r?_passThrough:_numericIfPossible;r==="native"&&(r="");return!e?e:!i?function(t,i,r){return o((_plugins[t]&&_plugins[t].get||s)(e,t,i,r))}:o((_plugins[i]&&_plugins[i].get||s)(e,i,r,n))},quickSetter:function t(e,i,r){e=toArray(e);if(e.length>1){var n=e.map((function(t){return gsap.quickSetter(t,i,r)})),s=n.length;return function(t){var e=s;while(e--){n[e](t)}}}e=e[0]||{};var o=_plugins[i],a=_getCache(e),u=a.harness&&(a.harness.aliases||{})[i]||i,_=o?function(t){var i=new o;_quickTween._pt=0;i.init(e,r?t+r:t,_quickTween,0,[e]);i.render(1,i);_quickTween._pt&&_renderPropTweens(1,_quickTween)}:a.set(e,u);return o?_:function(t){return _(e,u,r?t+r:t,a,1)}},quickTo:function t(e,i,r){var n;var s=gsap.to(e,_setDefaults((n={},n[i]="+=0.1",n.paused=true,n.stagger=0,n),r||{})),o=function t(e,r,n){return s.resetTo(i,e,r,n)};o.tween=s;return o},isTweening:function t(e){return _globalTimeline.getTweensOf(e,true).length>0},defaults:function t(e){e&&e.ease&&(e.ease=_parseEase(e.ease,_defaults.ease));return _mergeDeep(_defaults,e||{})},config:function t(e){return _mergeDeep(_config,e||{})},registerEffect:function t(e){var i=e.name,r=e.effect,n=e.plugins,s=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!_plugins[t]&&!_globals[t]&&_warn(i+" effect requires "+t+" plugin.")}));_effects[i]=function(t,e,i){return r(toArray(t),_setDefaults(e||{},s),i)};if(o){Timeline.prototype[i]=function(t,e,r){return this.add(_effects[i](t,_isObject(e)?e:(r=e)&&{},this),r)}}},registerEase:function t(e,i){_easeMap[e]=_parseEase(i)},parseEase:function t(e,i){return arguments.length?_parseEase(e,i):_easeMap},getById:function t(e){return _globalTimeline.getById(e)},exportRoot:function t(e,i){if(e===void 0){e={}}var r=new Timeline(e),n,s;r.smoothChildTiming=_isNotFalse(e.smoothChildTiming);_globalTimeline.remove(r);r._dp=0;r._time=r._tTime=_globalTimeline._time;n=_globalTimeline._first;while(n){s=n._next;if(i||!(!n._dur&&n instanceof Tween&&n.vars.onComplete===n._targets[0])){_addToTimeline(r,n,n._start-n._delay)}n=s}_addToTimeline(_globalTimeline,r,0);return r},context:function t(e,i){return e?new Context(e,i):_context},matchMedia:function t(e){return new MatchMedia(e)},matchMediaRefresh:function t(){return _media.forEach((function(t){var e=t.conditions,i,r;for(r in e){if(e[r]){e[r]=false;i=1}}i&&t.revert()}))||_onMediaChange()},addEventListener:function t(e,i){var r=_listeners[e]||(_listeners[e]=[]);~r.indexOf(i)||r.push(i)},removeEventListener:function t(e,i){var r=_listeners[e],n=r&&r.indexOf(i);n>=0&&r.splice(n,1)},utils:{wrap:wrap,wrapYoyo:wrapYoyo,distribute:distribute,random:random,snap:snap,normalize:normalize,getUnit:getUnit,clamp:clamp,splitColor:splitColor,toArray:toArray,selector:selector,mapRange:mapRange,pipe:pipe,unitize:unitize,interpolate:interpolate,shuffle:shuffle},install:_install,effects:_effects,ticker:_ticker,updateRoot:Timeline.updateRoot,plugins:_plugins,globalTimeline:_globalTimeline,core:{PropTween:PropTween,globals:_addGlobal,Tween:Tween,Timeline:Timeline,Animation:Animation,getCache:_getCache,_removeLinkedListItem:_removeLinkedListItem,reverting:function t(){return _reverting$1},context:function t(e){if(e&&_context){_context.data.push(e);e._ctx=_context}return _context},suppressOverwrites:function t(e){return _suppressOverwrites=e}}};_forEachName("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return _gsap[t]=Tween[t]}));_ticker.add(Timeline.updateRoot);_quickTween=_gsap.to({},{duration:0});var _getPluginPropTween=function t(e,i){var r=e._pt;while(r&&r.p!==i&&r.op!==i&&r.fp!==i){r=r._next}return r},_addModifiers=function t(e,i){var r=e._targets,n,s,o;for(n in i){s=r.length;while(s--){o=e._ptLookup[s][n];if(o&&(o=o.d)){if(o._pt){o=_getPluginPropTween(o,n)}o&&o.modifier&&o.modifier(i[n],e,r[s],n)}}}},_buildModifierPlugin=function t(e,i){return{name:e,headless:1,rawVars:1,init:function t(e,r,n){n._onInit=function(t){var e,n;if(_isString(r)){e={};_forEachName(r,(function(t){return e[t]=1}));r=e}if(i){e={};for(n in r){e[n]=i(r[n])}r=e}_addModifiers(t,r)}}}};var gsap=_gsap.registerPlugin({name:"attr",init:function t(e,i,r,n,s){var o,a,u;this.tween=r;for(o in i){u=e.getAttribute(o)||"";a=this.add(e,"setAttribute",(u||0)+"",i[o],n,s,0,0,o);a.op=o;a.b=u;this._props.push(o)}},render:function t(e,i){var r=i._pt;while(r){_reverting$1?r.set(r.t,r.p,r.b,r):r.r(e,r.d);r=r._next}}},{name:"endArray",headless:1,init:function t(e,i){var r=i.length;while(r--){this.add(e,r,e[r]||0,i[r],0,0,0,0,0,1)}}},_buildModifierPlugin("roundProps",_roundModifier),_buildModifierPlugin("modifiers"),_buildModifierPlugin("snap",snap))||_gsap;Tween.version=Timeline.version=gsap.version="3.13.0";_coreReady=1;_windowExists$1()&&_wake();
|
|
9
|
+
*/var _config={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},_defaults={duration:.5,overwrite:false,delay:0},_suppressOverwrites,_reverting$1,_context,_bigNum$1=1e8,_tinyNum=1/_bigNum$1,_2PI=Math.PI*2,_HALF_PI=_2PI/4,_gsID=0,_sqrt=Math.sqrt,_cos=Math.cos,_sin=Math.sin,_isString=function t(e){return typeof e==="string"},_isFunction=function t(e){return typeof e==="function"},_isNumber=function t(e){return typeof e==="number"},_isUndefined=function t(e){return typeof e==="undefined"},_isObject=function t(e){return typeof e==="object"},_isNotFalse=function t(e){return e!==false},_windowExists$1=function t(){return typeof window!=="undefined"},_isFuncOrString=function t(e){return _isFunction(e)||_isString(e)},_isTypedArray=typeof ArrayBuffer==="function"&&ArrayBuffer.isView||function(){},_isArray=Array.isArray,_strictNumExp=/(?:-?\.?\d|\.)+/gi,_numExp=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,_numWithUnitExp=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_complexStringNumExp=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_relExp=/[+-]=-?[.\d]+/,_delimitedValueExp=/[^,'"\[\]\s]+/gi,_unitExp=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,_globalTimeline,_win$1,_coreInitted,_doc$1,_globals={},_installScope={},_coreReady,_install=function t(e){return(_installScope=_merge(e,_globals))&&gsap},_missingPlugin=function t(e,i){return console.warn("Invalid property",e,"set to",i,"Missing plugin? gsap.registerPlugin()")},_warn=function t(e,i){return!i&&console.warn(e)},_addGlobal=function t(e,i){return e&&(_globals[e]=i)&&_installScope&&(_installScope[e]=i)||_globals},_emptyFunc=function t(){return 0},_startAtRevertConfig={suppressEvents:true,isStart:true,kill:false},_revertConfigNoKill={suppressEvents:true,kill:false},_revertConfig={suppressEvents:true},_reservedProps={},_lazyTweens=[],_lazyLookup={},_lastRenderedFrame,_plugins={},_effects={},_nextGCFrame=30,_harnessPlugins=[],_callbackNames="",_harness=function t(e){var i=e[0],r,n;_isObject(i)||_isFunction(i)||(e=[e]);if(!(r=(i._gsap||{}).harness)){n=_harnessPlugins.length;while(n--&&!_harnessPlugins[n].targetTest(i)){}r=_harnessPlugins[n]}n=e.length;while(n--){e[n]&&(e[n]._gsap||(e[n]._gsap=new GSCache(e[n],r)))||e.splice(n,1)}return e},_getCache=function t(e){return e._gsap||_harness(toArray(e))[0]._gsap},_getProperty=function t(e,i,r){return(r=e[i])&&_isFunction(r)?e[i]():_isUndefined(r)&&e.getAttribute&&e.getAttribute(i)||r},_forEachName=function t(e,i){return(e=e.split(",")).forEach(i)||e},_round=function t(e){return Math.round(e*1e5)/1e5||0},_roundPrecise=function t(e){return Math.round(e*1e7)/1e7||0},_parseRelative=function t(e,i){var r=i.charAt(0),n=parseFloat(i.substr(2));e=parseFloat(e);return r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},_arrayContainsAny=function t(e,i){var r=i.length,n=0;for(;e.indexOf(i[n])<0&&++n<r;){}return n<r},_lazyRender=function t(){var e=_lazyTweens.length,i=_lazyTweens.slice(0),r,n;_lazyLookup={};_lazyTweens.length=0;for(r=0;r<e;r++){n=i[r];n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],true)._lazy=0)}},_isRevertWorthy=function t(e){return!!(e._initted||e._startAt||e.add)},_lazySafeRender=function t(e,i,r,n){_lazyTweens.length&&!_reverting$1&&_lazyRender();e.render(i,r,n||!!(_reverting$1&&i<0&&_isRevertWorthy(e)));_lazyTweens.length&&!_reverting$1&&_lazyRender()},_numericIfPossible=function t(e){var i=parseFloat(e);return(i||i===0)&&(e+"").match(_delimitedValueExp).length<2?i:_isString(e)?e.trim():e},_passThrough=function t(e){return e},_setDefaults=function t(e,i){for(var r in i){r in e||(e[r]=i[r])}return e},_setKeyframeDefaults=function t(e){return function(t,i){for(var r in i){r in t||r==="duration"&&e||r==="ease"||(t[r]=i[r])}}},_merge=function t(e,i){for(var r in i){e[r]=i[r]}return e},_mergeDeep=function t(e,i){for(var r in i){r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=_isObject(i[r])?t(e[r]||(e[r]={}),i[r]):i[r])}return e},_copyExcluding=function t(e,i){var r={},n;for(n in e){n in i||(r[n]=e[n])}return r},_inheritDefaults=function t(e){var i=e.parent||_globalTimeline,r=e.keyframes?_setKeyframeDefaults(_isArray(e.keyframes)):_setDefaults;if(_isNotFalse(e.inherit)){while(i){r(e,i.vars.defaults);i=i.parent||i._dp}}return e},_arraysMatch=function t(e,i){var r=e.length,n=r===i.length;while(n&&r--&&e[r]===i[r]){}return r<0},_addLinkedListItem=function t(e,i,r,n,s){if(r===void 0){r="_first"}if(n===void 0){n="_last"}var o=e[n],a;if(s){a=i[s];while(o&&o[s]>a){o=o._prev}}if(o){i._next=o._next;o._next=i}else{i._next=e[r];e[r]=i}if(i._next){i._next._prev=i}else{e[n]=i}i._prev=o;i.parent=i._dp=e;return i},_removeLinkedListItem=function t(e,i,r,n){if(r===void 0){r="_first"}if(n===void 0){n="_last"}var s=i._prev,o=i._next;if(s){s._next=o}else if(e[r]===i){e[r]=o}if(o){o._prev=s}else if(e[n]===i){e[n]=s}i._next=i._prev=i.parent=null},_removeFromParent=function t(e,i){e.parent&&(!i||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e);e._act=0},_uncache=function t(e,i){if(e&&(!i||i._end>e._dur||i._start<0)){var r=e;while(r){r._dirty=1;r=r.parent}}return e},_recacheAncestors=function t(e){var i=e.parent;while(i&&i.parent){i._dirty=1;i.totalDuration();i=i.parent}return e},_rewindStartAt=function t(e,i,r,n){return e._startAt&&(_reverting$1?e._startAt.revert(_revertConfigNoKill):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(i,true,n))},_hasNoPausedAncestors=function t(e){return!e||e._ts&&t(e.parent)},_elapsedCycleDuration=function t(e){return e._repeat?_animationCycle(e._tTime,e=e.duration()+e._rDelay)*e:0},_animationCycle=function t(e,i){var r=Math.floor(e=_roundPrecise(e/i));return e&&r===e?r-1:r},_parentToChildTotalTime=function t(e,i){return(e-i._start)*i._ts+(i._ts>=0?0:i._dirty?i.totalDuration():i._tDur)},_setEnd=function t(e){return e._end=_roundPrecise(e._start+(e._tDur/Math.abs(e._ts||e._rts||_tinyNum)||0))},_alignPlayhead=function t(e,i){var r=e._dp;if(r&&r.smoothChildTiming&&e._ts){e._start=_roundPrecise(r._time-(e._ts>0?i/e._ts:((e._dirty?e.totalDuration():e._tDur)-i)/-e._ts));_setEnd(e);r._dirty||_uncache(r,e)}return e},_postAddChecks=function t(e,i){var r;if(i._time||!i._dur&&i._initted||i._start<e._time&&(i._dur||!i.add)){r=_parentToChildTotalTime(e.rawTime(),i);if(!i._dur||_clamp(0,i.totalDuration(),r)-i._tTime>_tinyNum){i.render(r,true)}}if(_uncache(e,i)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration()){r=e;while(r._dp){r.rawTime()>=0&&r.totalTime(r._tTime);r=r._dp}}e._zTime=-_tinyNum}},_addToTimeline=function t(e,i,r,n){i.parent&&_removeFromParent(i);i._start=_roundPrecise((_isNumber(r)?r:r||e!==_globalTimeline?_parsePosition(e,r,i):e._time)+i._delay);i._end=_roundPrecise(i._start+(i.totalDuration()/Math.abs(i.timeScale())||0));_addLinkedListItem(e,i,"_first","_last",e._sort?"_start":0);_isFromOrFromStart(i)||(e._recent=i);n||_postAddChecks(e,i);e._ts<0&&_alignPlayhead(e,e._tTime);return e},_scrollTrigger=function t(e,i){return(_globals.ScrollTrigger||_missingPlugin("scrollTrigger",i))&&_globals.ScrollTrigger.create(i,e)},_attemptInitTween=function t(e,i,r,n,s){_initTween(e,i,s);if(!e._initted){return 1}if(!r&&e._pt&&!_reverting$1&&(e._dur&&e.vars.lazy!==false||!e._dur&&e.vars.lazy)&&_lastRenderedFrame!==_ticker.frame){_lazyTweens.push(e);e._lazy=[s,n];return 1}},_parentPlayheadIsBeforeStart=function t(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||t(i))},_isFromOrFromStart=function t(e){var i=e.data;return i==="isFromStart"||i==="isStart"},_renderZeroDurationTween=function t(e,i,r,n){var s=e.ratio,o=i<0||!i&&(!e._start&&_parentPlayheadIsBeforeStart(e)&&!(!e._initted&&_isFromOrFromStart(e))||(e._ts<0||e._dp._ts<0)&&!_isFromOrFromStart(e))?0:1,a=e._rDelay,u=0,_,f,h;if(a&&e._repeat){u=_clamp(0,e._tDur,i);f=_animationCycle(u,a);e._yoyo&&f&1&&(o=1-o);if(f!==_animationCycle(e._tTime,a)){s=1-o;e.vars.repeatRefresh&&e._initted&&e.invalidate()}}if(o!==s||_reverting$1||n||e._zTime===_tinyNum||!i&&e._zTime){if(!e._initted&&_attemptInitTween(e,i,n,r,u)){return}h=e._zTime;e._zTime=i||(r?_tinyNum:0);r||(r=i&&!h);e.ratio=o;e._from&&(o=1-o);e._time=0;e._tTime=u;_=e._pt;while(_){_.r(o,_.d);_=_._next}i<0&&_rewindStartAt(e,i,r,true);e._onUpdate&&!r&&_callback(e,"onUpdate");u&&e._repeat&&!r&&e.parent&&_callback(e,"onRepeat");if((i>=e._tDur||i<0)&&e.ratio===o){o&&_removeFromParent(e,1);if(!r&&!_reverting$1){_callback(e,o?"onComplete":"onReverseComplete",true);e._prom&&e._prom()}}}else if(!e._zTime){e._zTime=i}},_findNextPauseTween=function t(e,i,r){var n;if(r>i){n=e._first;while(n&&n._start<=r){if(n.data==="isPause"&&n._start>i){return n}n=n._next}}else{n=e._last;while(n&&n._start>=r){if(n.data==="isPause"&&n._start<i){return n}n=n._prev}}},_setDuration=function t(e,i,r,n){var s=e._repeat,o=_roundPrecise(i)||0,a=e._tTime/e._tDur;a&&!n&&(e._time*=o/e._dur);e._dur=o;e._tDur=!s?o:s<0?1e10:_roundPrecise(o*(s+1)+e._rDelay*s);a>0&&!n&&_alignPlayhead(e,e._tTime=e._tDur*a);e.parent&&_setEnd(e);r||_uncache(e.parent,e);return e},_onUpdateTotalDuration=function t(e){return e instanceof Timeline?_uncache(e):_setDuration(e,e._dur)},_zeroPosition={_start:0,endTime:_emptyFunc,totalDuration:_emptyFunc},_parsePosition=function t(e,i,r){var n=e.labels,s=e._recent||_zeroPosition,o=e.duration()>=_bigNum$1?s.endTime(false):e._dur,a,u,_;if(_isString(i)&&(isNaN(i)||i in n)){u=i.charAt(0);_=i.substr(-1)==="%";a=i.indexOf("=");if(u==="<"||u===">"){a>=0&&(i=i.replace(/=/,""));return(u==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(i.substr(1))||0)*(_?(a<0?s:r).totalDuration()/100:1)}if(a<0){i in n||(n[i]=o);return n[i]}u=parseFloat(i.charAt(a-1)+i.substr(a+1));if(_&&r){u=u/100*(_isArray(r)?r[0]:r).totalDuration()}return a>1?t(e,i.substr(0,a-1),r)+u:o+u}return i==null?o:+i},_createTweenType=function t(e,i,r){var n=_isNumber(i[1]),s=(n?2:1)+(e<2?0:1),o=i[s],a,u;n&&(o.duration=i[1]);o.parent=r;if(e){a=o;u=r;while(u&&!("immediateRender"in a)){a=u.vars.defaults||{};u=_isNotFalse(u.vars.inherit)&&u.parent}o.immediateRender=_isNotFalse(a.immediateRender);e<2?o.runBackwards=1:o.startAt=i[s-1]}return new Tween(i[0],o,i[s+1])},_conditionalReturn=function t(e,i){return e||e===0?i(e):i},_clamp=function t(e,i,r){return r<e?e:r>i?i:r},getUnit=function t(e,i){return!_isString(e)||!(i=_unitExp.exec(e))?"":i[1]},clamp=function t(e,i,r){return _conditionalReturn(r,(function(t){return _clamp(e,i,t)}))},_slice=[].slice,_isArrayLike=function t(e,i){return e&&_isObject(e)&&"length"in e&&(!i&&!e.length||e.length-1 in e&&_isObject(e[0]))&&!e.nodeType&&e!==_win$1},_flatten=function t(e,i,r){if(r===void 0){r=[]}return e.forEach((function(t){var e;return _isString(t)&&!i||_isArrayLike(t,1)?(e=r).push.apply(e,toArray(t)):r.push(t)}))||r},toArray=function t(e,i,r){return _context&&!i&&_context.selector?_context.selector(e):_isString(e)&&!r&&(_coreInitted||!_wake())?_slice.call((i||_doc$1).querySelectorAll(e),0):_isArray(e)?_flatten(e,r):_isArrayLike(e)?_slice.call(e,0):e?[e]:[]},selector=function t(e){e=toArray(e)[0]||_warn("Invalid scope")||{};return function(t){var i=e.current||e.nativeElement||e;return toArray(t,i.querySelectorAll?i:i===e?_warn("Invalid scope")||_doc$1.createElement("div"):e)}},shuffle=function t(e){return e.sort((function(){return.5-Math.random()}))},distribute=function t(e){if(_isFunction(e)){return e}var i=_isObject(e)?e:{each:e},r=_parseEase(i.ease),n=i.from||0,s=parseFloat(i.base)||0,o={},a=n>0&&n<1,u=isNaN(n)||a,_=i.axis,f=n,h=n;if(_isString(n)){f=h={center:.5,edges:.5,end:1}[n]||0}else if(!a&&u){f=n[0];h=n[1]}return function(t,e,a){var l=(a||i).length,c=o[l],p,d,m,g,v,w,y,P,T;if(!c){T=i.grid==="auto"?0:(i.grid||[1,_bigNum$1])[1];if(!T){y=-_bigNum$1;while(y<(y=a[T++].getBoundingClientRect().left)&&T<l){}T<l&&T--}c=o[l]=[];p=u?Math.min(T,l)*f-.5:n%T;d=T===_bigNum$1?0:u?l*h/T-.5:n/T|0;y=0;P=_bigNum$1;for(w=0;w<l;w++){m=w%T-p;g=d-(w/T|0);c[w]=v=!_?_sqrt(m*m+g*g):Math.abs(_==="y"?g:m);v>y&&(y=v);v<P&&(P=v)}n==="random"&&shuffle(c);c.max=y-P;c.min=P;c.v=l=(parseFloat(i.amount)||parseFloat(i.each)*(T>l?l-1:!_?Math.max(T,l/T):_==="y"?l/T:T)||0)*(n==="edges"?-1:1);c.b=l<0?s-l:s;c.u=getUnit(i.amount||i.each)||0;r=r&&l<0?_invertEase(r):r}l=(c[t]-c.min)/c.max||0;return _roundPrecise(c.b+(r?r(l):l)*c.v)+c.u}},_roundModifier=function t(e){var i=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var r=_roundPrecise(Math.round(parseFloat(t)/e)*e*i);return(r-r%1)/i+(_isNumber(t)?0:getUnit(t))}},snap=function t(e,i){var r=_isArray(e),n,s;if(!r&&_isObject(e)){n=r=e.radius||_bigNum$1;if(e.values){e=toArray(e.values);if(s=!_isNumber(e[0])){n*=n}}else{e=_roundModifier(e.increment)}}return _conditionalReturn(i,!r?_roundModifier(e):_isFunction(e)?function(t){s=e(t);return Math.abs(s-t)<=n?s:t}:function(t){var i=parseFloat(s?t.x:t),r=parseFloat(s?t.y:0),o=_bigNum$1,a=0,u=e.length,_,f;while(u--){if(s){_=e[u].x-i;f=e[u].y-r;_=_*_+f*f}else{_=Math.abs(e[u]-i)}if(_<o){o=_;a=u}}a=!n||o<=n?e[a]:t;return s||a===t||_isNumber(t)?a:a+getUnit(t)})},random=function t(e,i,r,n){return _conditionalReturn(_isArray(e)?!i:r===true?!!(r=0):!n,(function(){return _isArray(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(i-e+r*.99))/r)*r*n)/n}))},pipe=function t(){for(var e=arguments.length,i=new Array(e),r=0;r<e;r++){i[r]=arguments[r]}return function(t){return i.reduce((function(t,e){return e(t)}),t)}},unitize=function t(e,i){return function(t){return e(parseFloat(t))+(i||getUnit(t))}},normalize=function t(e,i,r){return mapRange(e,i,0,1,r)},_wrapArray=function t(e,i,r){return _conditionalReturn(r,(function(t){return e[~~i(t)]}))},wrap=function t(e,i,r){var n=i-e;return _isArray(e)?_wrapArray(e,t(0,e.length),i):_conditionalReturn(r,(function(t){return(n+(t-e)%n)%n+e}))},wrapYoyo=function t(e,i,r){var n=i-e,s=n*2;return _isArray(e)?_wrapArray(e,t(0,e.length-1),i):_conditionalReturn(r,(function(t){t=(s+(t-e)%s)%s||0;return e+(t>n?s-t:t)}))},_replaceRandom=function t(e){var i=0,r="",n,s,o,a;while(~(n=e.indexOf("random(",i))){o=e.indexOf(")",n);a=e.charAt(n+7)==="[";s=e.substr(n+7,o-n-7).match(a?_delimitedValueExp:_strictNumExp);r+=e.substr(i,n-i)+random(a?s:+s[0],a?0:+s[1],+s[2]||1e-5);i=o+1}return r+e.substr(i,e.length-i)},mapRange=function t(e,i,r,n,s){var o=i-e,a=n-r;return _conditionalReturn(s,(function(t){return r+((t-e)/o*a||0)}))},interpolate=function t(e,i,r,n){var s=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!s){var o=_isString(e),a={},u,_,f,h,l;r===true&&(n=1)&&(r=null);if(o){e={p:e};i={p:i}}else if(_isArray(e)&&!_isArray(i)){f=[];h=e.length;l=h-2;for(_=1;_<h;_++){f.push(t(e[_-1],e[_]))}h--;s=function t(e){e*=h;var i=Math.min(l,~~e);return f[i](e-i)};r=i}else if(!n){e=_merge(_isArray(e)?[]:{},e)}if(!f){for(u in i){_addPropTween.call(a,e,u,"get",i[u])}s=function t(i){return _renderPropTweens(i,a)||(o?e.p:e)}}}return _conditionalReturn(r,s)},_getLabelInDirection=function t(e,i,r){var n=e.labels,s=_bigNum$1,o,a,u;for(o in n){a=n[o]-i;if(a<0===!!r&&a&&s>(a=Math.abs(a))){u=o;s=a}}return u},_callback=function t(e,i,r){var n=e.vars,s=n[i],o=_context,a=e._ctx,u,_,f;if(!s){return}u=n[i+"Params"];_=n.callbackScope||e;r&&_lazyTweens.length&&_lazyRender();a&&(_context=a);f=u?s.apply(_,u):s.call(_);_context=o;return f},_interrupt=function t(e){_removeFromParent(e);e.scrollTrigger&&e.scrollTrigger.kill(!!_reverting$1);e.progress()<1&&_callback(e,"onInterrupt");return e},_quickTween,_registerPluginQueue=[],_createPlugin=function t(e){if(!e)return;e=!e.name&&e["default"]||e;if(_windowExists$1()||e.headless){var i=e.name,r=_isFunction(e),n=i&&!r&&e.init?function(){this._props=[]}:e,s={init:_emptyFunc,render:_renderPropTweens,add:_addPropTween,kill:_killPropTweensOf,modifier:_addPluginModifier,rawVars:0},o={targetTest:0,get:0,getSetter:_getSetter,aliases:{},register:0};_wake();if(e!==n){if(_plugins[i]){return}_setDefaults(n,_setDefaults(_copyExcluding(e,s),o));_merge(n.prototype,_merge(s,_copyExcluding(e,o)));_plugins[n.prop=i]=n;if(e.targetTest){_harnessPlugins.push(n);_reservedProps[i]=1}i=(i==="css"?"CSS":i.charAt(0).toUpperCase()+i.substr(1))+"Plugin"}_addGlobal(i,n);e.register&&e.register(gsap,n,PropTween)}else{_registerPluginQueue.push(e)}},_255=255,_colorLookup={aqua:[0,_255,_255],lime:[0,_255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_255],navy:[0,0,128],white:[_255,_255,_255],olive:[128,128,0],yellow:[_255,_255,0],orange:[_255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_255,0,0],pink:[_255,192,203],cyan:[0,_255,_255],transparent:[_255,_255,_255,0]},_hue=function t(e,i,r){e+=e<0?1:e>1?-1:0;return(e*6<1?i+(r-i)*e*6:e<.5?r:e*3<2?i+(r-i)*(2/3-e)*6:i)*_255+.5|0},splitColor=function t(e,i,r){var n=!e?_colorLookup.black:_isNumber(e)?[e>>16,e>>8&_255,e&_255]:0,s,o,a,u,_,f,h,l,c,p;if(!n){if(e.substr(-1)===","){e=e.substr(0,e.length-1)}if(_colorLookup[e]){n=_colorLookup[e]}else if(e.charAt(0)==="#"){if(e.length<6){s=e.charAt(1);o=e.charAt(2);a=e.charAt(3);e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")}if(e.length===9){n=parseInt(e.substr(1,6),16);return[n>>16,n>>8&_255,n&_255,parseInt(e.substr(7),16)/255]}e=parseInt(e.substr(1),16);n=[e>>16,e>>8&_255,e&_255]}else if(e.substr(0,3)==="hsl"){n=p=e.match(_strictNumExp);if(!i){u=+n[0]%360/360;_=+n[1]/100;f=+n[2]/100;o=f<=.5?f*(_+1):f+_-f*_;s=f*2-o;n.length>3&&(n[3]*=1);n[0]=_hue(u+1/3,s,o);n[1]=_hue(u,s,o);n[2]=_hue(u-1/3,s,o)}else if(~e.indexOf("=")){n=e.match(_numExp);r&&n.length<4&&(n[3]=1);return n}}else{n=e.match(_strictNumExp)||_colorLookup.transparent}n=n.map(Number)}if(i&&!p){s=n[0]/_255;o=n[1]/_255;a=n[2]/_255;h=Math.max(s,o,a);l=Math.min(s,o,a);f=(h+l)/2;if(h===l){u=_=0}else{c=h-l;_=f>.5?c/(2-h-l):c/(h+l);u=h===s?(o-a)/c+(o<a?6:0):h===o?(a-s)/c+2:(s-o)/c+4;u*=60}n[0]=~~(u+.5);n[1]=~~(_*100+.5);n[2]=~~(f*100+.5)}r&&n.length<4&&(n[3]=1);return n},_colorOrderData=function t(e){var i=[],r=[],n=-1;e.split(_colorExp).forEach((function(t){var e=t.match(_numWithUnitExp)||[];i.push.apply(i,e);r.push(n+=e.length+1)}));i.c=r;return i},_formatColors=function t(e,i,r){var n="",s=(e+n).match(_colorExp),o=i?"hsla(":"rgba(",a=0,u,_,f,h;if(!s){return e}s=s.map((function(t){return(t=splitColor(t,i,1))&&o+(i?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}));if(r){f=_colorOrderData(e);u=r.c;if(u.join(n)!==f.c.join(n)){_=e.replace(_colorExp,"1").split(_numWithUnitExp);h=_.length-1;for(;a<h;a++){n+=_[a]+(~u.indexOf(a)?s.shift()||o+"0,0,0,0)":(f.length?f:s.length?s:r).shift())}}}if(!_){_=e.split(_colorExp);h=_.length-1;for(;a<h;a++){n+=_[a]+s[a]}}return n+_[h]},_colorExp=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in _colorLookup){t+="|"+e+"\\b"}return new RegExp(t+")","gi")}(),_hslExp=/hsl[a]?\(/,_colorStringFilter=function t(e){var i=e.join(" "),r;_colorExp.lastIndex=0;if(_colorExp.test(i)){r=_hslExp.test(i);e[1]=_formatColors(e[1],r);e[0]=_formatColors(e[0],r,_colorOrderData(e[1]));return true}},_tickerActive,_ticker=function(){var t=Date.now,e=500,i=33,r=t(),n=r,s=1e3/240,o=s,a=[],u,_,f,h,l,c,p=function f(p){var d=t()-n,m=p===true,g,v,w,y;(d>e||d<0)&&(r+=d-i);n+=d;w=n-r;g=w-o;if(g>0||m){y=++h.frame;l=w-h.time*1e3;h.time=w=w/1e3;o+=g+(g>=s?4:s-g);v=1}m||(u=_(f));if(v){for(c=0;c<a.length;c++){a[c](w,l,y,p)}}};h={time:0,frame:0,tick:function t(){p(true)},deltaRatio:function t(e){return l/(1e3/(e||60))},wake:function t(){if(_coreReady){if(!_coreInitted&&_windowExists$1()){_win$1=_coreInitted=window;_doc$1=_win$1.document||{};_globals.gsap=gsap;(_win$1.gsapVersions||(_win$1.gsapVersions=[])).push(gsap.version);_install(_installScope||_win$1.GreenSockGlobals||!_win$1.gsap&&_win$1||{});_registerPluginQueue.forEach(_createPlugin)}f=typeof requestAnimationFrame!=="undefined"&&requestAnimationFrame;u&&h.sleep();_=f||function(t){return setTimeout(t,o-h.time*1e3+1|0)};_tickerActive=1;p(2)}},sleep:function t(){(f?cancelAnimationFrame:clearTimeout)(u);_tickerActive=0;_=_emptyFunc},lagSmoothing:function t(r,n){e=r||Infinity;i=Math.min(n||33,e)},fps:function t(e){s=1e3/(e||240);o=h.time*1e3+s},add:function t(e,i,r){var n=i?function(t,i,r,s){e(t,i,r,s);h.remove(n)}:e;h.remove(e);a[r?"unshift":"push"](n);_wake();return n},remove:function t(e,i){~(i=a.indexOf(e))&&a.splice(i,1)&&c>=i&&c--},_listeners:a};return h}(),_wake=function t(){return!_tickerActive&&_ticker.wake()},_easeMap={},_customEaseExp=/^[\d.\-M][\d.\-,\s]/,_quotesExp=/["']/g,_parseObjectInString=function t(e){var i={},r=e.substr(1,e.length-3).split(":"),n=r[0],s=1,o=r.length,a,u,_;for(;s<o;s++){u=r[s];a=s!==o-1?u.lastIndexOf(","):u.length;_=u.substr(0,a);i[n]=isNaN(_)?_.replace(_quotesExp,"").trim():+_;n=u.substr(a+1).trim()}return i},_valueInParentheses=function t(e){var i=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",i);return e.substring(i,~n&&n<r?e.indexOf(")",r+1):r)},_configEaseFromString=function t(e){var i=(e+"").split("("),r=_easeMap[i[0]];return r&&i.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[_parseObjectInString(i[1])]:_valueInParentheses(e).split(",").map(_numericIfPossible)):_easeMap._CE&&_customEaseExp.test(e)?_easeMap._CE("",e):r},_invertEase=function t(e){return function(t){return 1-e(1-t)}},_propagateYoyoEase=function t(e,i){var r=e._first,n;while(r){if(r instanceof Timeline){t(r,i)}else if(r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==i){if(r.timeline){t(r.timeline,i)}else{n=r._ease;r._ease=r._yEase;r._yEase=n;r._yoyo=i}}r=r._next}},_parseEase=function t(e,i){return!e?i:(_isFunction(e)?e:_easeMap[e]||_configEaseFromString(e))||i},_insertEase=function t(e,i,r,n){if(r===void 0){r=function t(e){return 1-i(1-e)}}if(n===void 0){n=function t(e){return e<.5?i(e*2)/2:1-i((1-e)*2)/2}}var s={easeIn:i,easeOut:r,easeInOut:n},o;_forEachName(e,(function(t){_easeMap[t]=_globals[t]=s;_easeMap[o=t.toLowerCase()]=r;for(var e in s){_easeMap[o+(e==="easeIn"?".in":e==="easeOut"?".out":".inOut")]=_easeMap[t+"."+e]=s[e]}}));return s},_easeInOutFromOut=function t(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},_configElastic=function t(e,i,r){var n=i>=1?i:1,s=(r||(e?.3:.45))/(i<1?i:1),o=s/_2PI*(Math.asin(1/n)||0),a=function t(e){return e===1?1:n*Math.pow(2,-10*e)*_sin((e-o)*s)+1},u=e==="out"?a:e==="in"?function(t){return 1-a(1-t)}:_easeInOutFromOut(a);s=_2PI/s;u.config=function(i,r){return t(e,i,r)};return u},_configBack=function t(e,i){if(i===void 0){i=1.70158}var r=function t(e){return e?--e*e*((i+1)*e+i)+1:0},n=e==="out"?r:e==="in"?function(t){return 1-r(1-t)}:_easeInOutFromOut(r);n.config=function(i){return t(e,i)};return n};_forEachName("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var i=e<5?e+1:e;_insertEase(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},(function(t){return 1-Math.pow(1-t,i)}),(function(t){return t<.5?Math.pow(t*2,i)/2:1-Math.pow((1-t)*2,i)/2}))}));_easeMap.Linear.easeNone=_easeMap.none=_easeMap.Linear.easeIn;_insertEase("Elastic",_configElastic("in"),_configElastic("out"),_configElastic());(function(t,e){var i=1/e,r=2*i,n=2.5*i,s=function s(o){return o<i?t*o*o:o<r?t*Math.pow(o-1.5/e,2)+.75:o<n?t*(o-=2.25/e)*o+.9375:t*Math.pow(o-2.625/e,2)+.984375};_insertEase("Bounce",(function(t){return 1-s(1-t)}),s)})(7.5625,2.75);_insertEase("Expo",(function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}));_insertEase("Circ",(function(t){return-(_sqrt(1-t*t)-1)}));_insertEase("Sine",(function(t){return t===1?1:-_cos(t*_HALF_PI)+1}));_insertEase("Back",_configBack("in"),_configBack("out"),_configBack());_easeMap.SteppedEase=_easeMap.steps=_globals.SteppedEase={config:function t(e,i){if(e===void 0){e=1}var r=1/e,n=e+(i?0:1),s=i?1:0,o=1-_tinyNum;return function(t){return((n*_clamp(0,o,t)|0)+s)*r}}};_defaults.ease=_easeMap["quad.out"];_forEachName("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return _callbackNames+=t+","+t+"Params,"}));var GSCache=function t(e,i){this.id=_gsID++;e._gsap=this;this.target=e;this.harness=i;this.get=i?i.get:_getProperty;this.set=i?i.getSetter:_getSetter};var Animation=function(){function t(t){this.vars=t;this._delay=+t.delay||0;if(this._repeat=t.repeat===Infinity?-2:t.repeat||0){this._rDelay=t.repeatDelay||0;this._yoyo=!!t.yoyo||!!t.yoyoEase}this._ts=1;_setDuration(this,+t.duration,1,1);this.data=t.data;if(_context){this._ctx=_context;_context.data.push(this)}_tickerActive||_ticker.wake()}var e=t.prototype;e.delay=function t(e){if(e||e===0){this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay);this._delay=e;return this}return this._delay};e.duration=function t(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur};e.totalDuration=function t(e){if(!arguments.length){return this._tDur}this._dirty=0;return _setDuration(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))};e.totalTime=function t(e,i){_wake();if(!arguments.length){return this._tTime}var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){_alignPlayhead(this,e);!r._dp||r.parent||_postAddChecks(r,this);while(r&&r.parent){if(r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)){r.totalTime(r._tTime,true)}r=r.parent}if(!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)){_addToTimeline(this._dp,this,this._start-this._delay)}}if(this._tTime!==e||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===_tinyNum||!e&&!this._initted&&(this.add||this._ptLookup)){this._ts||(this._pTime=e);_lazySafeRender(this,e,i)}return this};e.time=function t(e,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+_elapsedCycleDuration(this))%(this._dur+this._rDelay)||(e?this._dur:0),i):this._time};e.totalProgress=function t(e,i){return arguments.length?this.totalTime(this.totalDuration()*e,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0};e.progress=function t(e,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+_elapsedCycleDuration(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0};e.iteration=function t(e,i){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*r,i):this._repeat?_animationCycle(this._tTime,r)+1:1};e.timeScale=function t(e,i){if(!arguments.length){return this._rts===-_tinyNum?0:this._rts}if(this._rts===e){return this}var r=this.parent&&this._ts?_parentToChildTotalTime(this.parent._time,this):this._tTime;this._rts=+e||0;this._ts=this._ps||e===-_tinyNum?0:this._rts;this.totalTime(_clamp(-Math.abs(this._delay),this.totalDuration(),r),i!==false);_setEnd(this);return _recacheAncestors(this)};e.paused=function t(e){if(!arguments.length){return this._ps}if(this._ps!==e){this._ps=e;if(e){this._pTime=this._tTime||Math.max(-this._delay,this.rawTime());this._ts=this._act=0}else{_wake();this._ts=this._rts;this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_tinyNum&&(this._tTime-=_tinyNum))}}return this};e.startTime=function t(e){if(arguments.length){this._start=e;var i=this.parent||this._dp;i&&(i._sort||!this.parent)&&_addToTimeline(i,this,e-this._delay);return this}return this._start};e.endTime=function t(e){return this._start+(_isNotFalse(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)};e.rawTime=function t(e){var i=this.parent||this._dp;return!i?this._tTime:e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):!this._ts?this._tTime:_parentToChildTotalTime(i.rawTime(e),this)};e.revert=function t(e){if(e===void 0){e=_revertConfig}var i=_reverting$1;_reverting$1=e;if(_isRevertWorthy(this)){this.timeline&&this.timeline.revert(e);this.totalTime(-.01,e.suppressEvents)}this.data!=="nested"&&e.kill!==false&&this.kill();_reverting$1=i;return this};e.globalTime=function t(e){var i=this,r=arguments.length?e:i.rawTime();while(i){r=i._start+r/(Math.abs(i._ts)||1);i=i._dp}return!this.parent&&this._sat?this._sat.globalTime(e):r};e.repeat=function t(e){if(arguments.length){this._repeat=e===Infinity?-2:e;return _onUpdateTotalDuration(this)}return this._repeat===-2?Infinity:this._repeat};e.repeatDelay=function t(e){if(arguments.length){var i=this._time;this._rDelay=e;_onUpdateTotalDuration(this);return i?this.time(i):this}return this._rDelay};e.yoyo=function t(e){if(arguments.length){this._yoyo=e;return this}return this._yoyo};e.seek=function t(e,i){return this.totalTime(_parsePosition(this,e),_isNotFalse(i))};e.restart=function t(e,i){this.play().totalTime(e?-this._delay:0,_isNotFalse(i));this._dur||(this._zTime=-_tinyNum);return this};e.play=function t(e,i){e!=null&&this.seek(e,i);return this.reversed(false).paused(false)};e.reverse=function t(e,i){e!=null&&this.seek(e||this.totalDuration(),i);return this.reversed(true).paused(false)};e.pause=function t(e,i){e!=null&&this.seek(e,i);return this.paused(true)};e.resume=function t(){return this.paused(false)};e.reversed=function t(e){if(arguments.length){!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-_tinyNum:0));return this}return this._rts<0};e.invalidate=function t(){this._initted=this._act=0;this._zTime=-_tinyNum;return this};e.isActive=function t(){var e=this.parent||this._dp,i=this._start,r;return!!(!e||this._ts&&this._initted&&e.isActive()&&(r=e.rawTime(true))>=i&&r<this.endTime(true)-_tinyNum)};e.eventCallback=function t(e,i,r){var n=this.vars;if(arguments.length>1){if(!i){delete n[e]}else{n[e]=i;r&&(n[e+"Params"]=r);e==="onUpdate"&&(this._onUpdate=i)}return this}return n[e]};e.then=function t(e){var i=this;return new Promise((function(t){var r=_isFunction(e)?e:_passThrough,n=function e(){var n=i.then;i.then=null;_isFunction(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=n);t(r);i.then=n};if(i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0){n()}else{i._prom=n}}))};e.kill=function t(){_interrupt(this)};return t}();_setDefaults(Animation.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:false,parent:null,_initted:false,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_tinyNum,_prom:0,_ps:false,_rts:1});var Timeline=function(t){_inheritsLoose(e,t);function e(e,i){var r;if(e===void 0){e={}}r=t.call(this,e)||this;r.labels={};r.smoothChildTiming=!!e.smoothChildTiming;r.autoRemoveChildren=!!e.autoRemoveChildren;r._sort=_isNotFalse(e.sortChildren);_globalTimeline&&_addToTimeline(e.parent||_globalTimeline,_assertThisInitialized(r),i);e.reversed&&r.reverse();e.paused&&r.paused(true);e.scrollTrigger&&_scrollTrigger(_assertThisInitialized(r),e.scrollTrigger);return r}var i=e.prototype;i.to=function t(e,i,r){_createTweenType(0,arguments,this);return this};i.from=function t(e,i,r){_createTweenType(1,arguments,this);return this};i.fromTo=function t(e,i,r,n){_createTweenType(2,arguments,this);return this};i.set=function t(e,i,r){i.duration=0;i.parent=this;_inheritDefaults(i).repeatDelay||(i.repeat=0);i.immediateRender=!!i.immediateRender;new Tween(e,i,_parsePosition(this,r),1);return this};i.call=function t(e,i,r){return _addToTimeline(this,Tween.delayedCall(0,e,i),r)};i.staggerTo=function t(e,i,r,n,s,o,a){r.duration=i;r.stagger=r.stagger||n;r.onComplete=o;r.onCompleteParams=a;r.parent=this;new Tween(e,r,_parsePosition(this,s));return this};i.staggerFrom=function t(e,i,r,n,s,o,a){r.runBackwards=1;_inheritDefaults(r).immediateRender=_isNotFalse(r.immediateRender);return this.staggerTo(e,i,r,n,s,o,a)};i.staggerFromTo=function t(e,i,r,n,s,o,a,u){n.startAt=r;_inheritDefaults(n).immediateRender=_isNotFalse(n.immediateRender);return this.staggerTo(e,i,n,s,o,a,u)};i.render=function t(e,i,r){var n=this._time,s=this._dirty?this.totalDuration():this._tDur,o=this._dur,a=e<=0?0:_roundPrecise(e),u=this._zTime<0!==e<0&&(this._initted||!o),_,f,h,l,c,p,d,m,g,v,w,y;this!==_globalTimeline&&a>s&&e>=0&&(a=s);if(a!==this._tTime||r||u){if(n!==this._time&&o){a+=this._time-n;e+=this._time-n}_=a;g=this._start;m=this._ts;p=!m;if(u){o||(n=this._zTime);(e||!i)&&(this._zTime=e)}if(this._repeat){w=this._yoyo;c=o+this._rDelay;if(this._repeat<-1&&e<0){return this.totalTime(c*100+e,i,r)}_=_roundPrecise(a%c);if(a===s){l=this._repeat;_=o}else{v=_roundPrecise(a/c);l=~~v;if(l&&l===v){_=o;l--}_>o&&(_=o)}v=_animationCycle(this._tTime,c);!n&&this._tTime&&v!==l&&this._tTime-v*c-this._dur<=0&&(v=l);if(w&&l&1){_=o-_;y=1}if(l!==v&&!this._lock){var P=w&&v&1,T=P===(w&&l&1);l<v&&(P=!P);n=P?0:a%o?o:a;this._lock=1;this.render(n||(y?0:_roundPrecise(l*c)),i,!o)._lock=0;this._tTime=a;!i&&this.parent&&_callback(this,"onRepeat");this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1);if(n&&n!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act){return this}o=this._dur;s=this._tDur;if(T){this._lock=2;n=P?o:-1e-4;this.render(n,true);this.vars.repeatRefresh&&!y&&this.invalidate()}this._lock=0;if(!this._ts&&!p){return this}_propagateYoyoEase(this,y)}}if(this._hasPause&&!this._forcing&&this._lock<2){d=_findNextPauseTween(this,_roundPrecise(n),_roundPrecise(_));if(d){a-=_-(_=d._start)}}this._tTime=a;this._time=_;this._act=!m;if(!this._initted){this._onUpdate=this.vars.onUpdate;this._initted=1;this._zTime=e;n=0}if(!n&&a&&!i&&!v){_callback(this,"onStart");if(this._tTime!==a){return this}}if(_>=n&&e>=0){f=this._first;while(f){h=f._next;if((f._act||_>=f._start)&&f._ts&&d!==f){if(f.parent!==this){return this.render(e,i,r)}f.render(f._ts>0?(_-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(_-f._start)*f._ts,i,r);if(_!==this._time||!this._ts&&!p){d=0;h&&(a+=this._zTime=-_tinyNum);break}}f=h}}else{f=this._last;var S=e<0?e:_;while(f){h=f._prev;if((f._act||S<=f._end)&&f._ts&&d!==f){if(f.parent!==this){return this.render(e,i,r)}f.render(f._ts>0?(S-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(S-f._start)*f._ts,i,r||_reverting$1&&_isRevertWorthy(f));if(_!==this._time||!this._ts&&!p){d=0;h&&(a+=this._zTime=S?-_tinyNum:_tinyNum);break}}f=h}}if(d&&!i){this.pause();d.render(_>=n?0:-_tinyNum)._zTime=_>=n?1:-1;if(this._ts){this._start=g;_setEnd(this);return this.render(e,i,r)}}this._onUpdate&&!i&&_callback(this,"onUpdate",true);if(a===s&&this._tTime>=this.totalDuration()||!a&&n)if(g===this._start||Math.abs(m)!==Math.abs(this._ts))if(!this._lock){(e||!o)&&(a===s&&this._ts>0||!a&&this._ts<0)&&_removeFromParent(this,1);if(!i&&!(e<0&&!n)&&(a||n||!s)){_callback(this,a===s&&e>=0?"onComplete":"onReverseComplete",true);this._prom&&!(a<s&&this.timeScale()>0)&&this._prom()}}}return this};i.add=function t(e,i){var r=this;_isNumber(i)||(i=_parsePosition(this,i,e));if(!(e instanceof Animation)){if(_isArray(e)){e.forEach((function(t){return r.add(t,i)}));return this}if(_isString(e)){return this.addLabel(e,i)}if(_isFunction(e)){e=Tween.delayedCall(0,e)}else{return this}}return this!==e?_addToTimeline(this,e,i):this};i.getChildren=function t(e,i,r,n){if(e===void 0){e=true}if(i===void 0){i=true}if(r===void 0){r=true}if(n===void 0){n=-_bigNum$1}var s=[],o=this._first;while(o){if(o._start>=n){if(o instanceof Tween){i&&s.push(o)}else{r&&s.push(o);e&&s.push.apply(s,o.getChildren(true,i,r))}}o=o._next}return s};i.getById=function t(e){var i=this.getChildren(1,1,1),r=i.length;while(r--){if(i[r].vars.id===e){return i[r]}}};i.remove=function t(e){if(_isString(e)){return this.removeLabel(e)}if(_isFunction(e)){return this.killTweensOf(e)}e.parent===this&&_removeLinkedListItem(this,e);if(e===this._recent){this._recent=this._last}return _uncache(this)};i.totalTime=function e(i,r){if(!arguments.length){return this._tTime}this._forcing=1;if(!this._dp&&this._ts){this._start=_roundPrecise(_ticker.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))}t.prototype.totalTime.call(this,i,r);this._forcing=0;return this};i.addLabel=function t(e,i){this.labels[e]=_parsePosition(this,i);return this};i.removeLabel=function t(e){delete this.labels[e];return this};i.addPause=function t(e,i,r){var n=Tween.delayedCall(0,i||_emptyFunc,r);n.data="isPause";this._hasPause=1;return _addToTimeline(this,n,_parsePosition(this,e))};i.removePause=function t(e){var i=this._first;e=_parsePosition(this,e);while(i){if(i._start===e&&i.data==="isPause"){_removeFromParent(i)}i=i._next}};i.killTweensOf=function t(e,i,r){var n=this.getTweensOf(e,r),s=n.length;while(s--){_overwritingTween!==n[s]&&n[s].kill(e,i)}return this};i.getTweensOf=function t(e,i){var r=[],n=toArray(e),s=this._first,o=_isNumber(i),a;while(s){if(s instanceof Tween){if(_arrayContainsAny(s._targets,n)&&(o?(!_overwritingTween||s._initted&&s._ts)&&s.globalTime(0)<=i&&s.globalTime(s.totalDuration())>i:!i||s.isActive())){r.push(s)}}else if((a=s.getTweensOf(n,i)).length){r.push.apply(r,a)}s=s._next}return r};i.tweenTo=function t(e,i){i=i||{};var r=this,n=_parsePosition(r,e),s=i,o=s.startAt,a=s.onStart,u=s.onStartParams,_=s.immediateRender,f,h=Tween.to(r,_setDefaults({ease:i.ease||"none",lazy:false,immediateRender:false,time:n,overwrite:"auto",duration:i.duration||Math.abs((n-(o&&"time"in o?o.time:r._time))/r.timeScale())||_tinyNum,onStart:function t(){r.pause();if(!f){var e=i.duration||Math.abs((n-(o&&"time"in o?o.time:r._time))/r.timeScale());h._dur!==e&&_setDuration(h,e,0,1).render(h._time,true,true);f=1}a&&a.apply(h,u||[])}},i));return _?h.render(0):h};i.tweenFromTo=function t(e,i,r){return this.tweenTo(i,_setDefaults({startAt:{time:_parsePosition(this,e)}},r))};i.recent=function t(){return this._recent};i.nextLabel=function t(e){if(e===void 0){e=this._time}return _getLabelInDirection(this,_parsePosition(this,e))};i.previousLabel=function t(e){if(e===void 0){e=this._time}return _getLabelInDirection(this,_parsePosition(this,e),1)};i.currentLabel=function t(e){return arguments.length?this.seek(e,true):this.previousLabel(this._time+_tinyNum)};i.shiftChildren=function t(e,i,r){if(r===void 0){r=0}var n=this._first,s=this.labels,o;while(n){if(n._start>=r){n._start+=e;n._end+=e}n=n._next}if(i){for(o in s){if(s[o]>=r){s[o]+=e}}}return _uncache(this)};i.invalidate=function e(i){var r=this._first;this._lock=0;while(r){r.invalidate(i);r=r._next}return t.prototype.invalidate.call(this,i)};i.clear=function t(e){if(e===void 0){e=true}var i=this._first,r;while(i){r=i._next;this.remove(i);i=r}this._dp&&(this._time=this._tTime=this._pTime=0);e&&(this.labels={});return _uncache(this)};i.totalDuration=function t(e){var i=0,r=this,n=r._last,s=_bigNum$1,o,a,u;if(arguments.length){return r.timeScale((r._repeat<0?r.duration():r.totalDuration())/(r.reversed()?-e:e))}if(r._dirty){u=r.parent;while(n){o=n._prev;n._dirty&&n.totalDuration();a=n._start;if(a>s&&r._sort&&n._ts&&!r._lock){r._lock=1;_addToTimeline(r,n,a-n._delay,1)._lock=0}else{s=a}if(a<0&&n._ts){i-=a;if(!u&&!r._dp||u&&u.smoothChildTiming){r._start+=a/r._ts;r._time-=a;r._tTime-=a}r.shiftChildren(-a,false,-Infinity);s=0}n._end>i&&n._ts&&(i=n._end);n=o}_setDuration(r,r===_globalTimeline&&r._time>i?r._time:i,1,1);r._dirty=0}return r._tDur};e.updateRoot=function t(e){if(_globalTimeline._ts){_lazySafeRender(_globalTimeline,_parentToChildTotalTime(e,_globalTimeline));_lastRenderedFrame=_ticker.frame}if(_ticker.frame>=_nextGCFrame){_nextGCFrame+=_config.autoSleep||120;var i=_globalTimeline._first;if(!i||!i._ts)if(_config.autoSleep&&_ticker._listeners.length<2){while(i&&!i._ts){i=i._next}i||_ticker.sleep()}}};return e}(Animation);_setDefaults(Timeline.prototype,{_lock:0,_hasPause:0,_forcing:0});var _addComplexStringPropTween=function t(e,i,r,n,s,o,a){var u=new PropTween(this._pt,e,i,0,1,_renderComplexString,null,s),_=0,f=0,h,l,c,p,d,m,g,v;u.b=r;u.e=n;r+="";n+="";if(g=~n.indexOf("random(")){n=_replaceRandom(n)}if(o){v=[r,n];o(v,e,i);r=v[0];n=v[1]}l=r.match(_complexStringNumExp)||[];while(h=_complexStringNumExp.exec(n)){p=h[0];d=n.substring(_,h.index);if(c){c=(c+1)%5}else if(d.substr(-5)==="rgba("){c=1}if(p!==l[f++]){m=parseFloat(l[f-1])||0;u._pt={_next:u._pt,p:d||f===1?d:",",s:m,c:p.charAt(1)==="="?_parseRelative(m,p)-m:parseFloat(p)-m,m:c&&c<4?Math.round:0};_=_complexStringNumExp.lastIndex}}u.c=_<n.length?n.substring(_,n.length):"";u.fp=a;if(_relExp.test(n)||g){u.e=0}this._pt=u;return u},_addPropTween=function t(e,i,r,n,s,o,a,u,_,f){_isFunction(n)&&(n=n(s||0,e,o));var h=e[i],l=r!=="get"?r:!_isFunction(h)?h:_?e[i.indexOf("set")||!_isFunction(e["get"+i.substr(3)])?i:"get"+i.substr(3)](_):e[i](),c=!_isFunction(h)?_setterPlain:_?_setterFuncWithParam:_setterFunc,p;if(_isString(n)){if(~n.indexOf("random(")){n=_replaceRandom(n)}if(n.charAt(1)==="="){p=_parseRelative(l,n)+(getUnit(l)||0);if(p||p===0){n=p}}}if(!f||l!==n||_forceAllPropTweens){if(!isNaN(l*n)&&n!==""){p=new PropTween(this._pt,e,i,+l||0,n-(l||0),typeof h==="boolean"?_renderBoolean:_renderPlain,0,c);_&&(p.fp=_);a&&p.modifier(a,this,e);return this._pt=p}!h&&!(i in e)&&_missingPlugin(i,n);return _addComplexStringPropTween.call(this,e,i,l,n,c,u||_config.stringFilter,_)}},_processVars=function t(e,i,r,n,s){_isFunction(e)&&(e=_parseFuncOrString(e,s,i,r,n));if(!_isObject(e)||e.style&&e.nodeType||_isArray(e)||_isTypedArray(e)){return _isString(e)?_parseFuncOrString(e,s,i,r,n):e}var o={},a;for(a in e){o[a]=_parseFuncOrString(e[a],s,i,r,n)}return o},_checkPlugin=function t(e,i,r,n,s,o){var a,u,_,f;if(_plugins[e]&&(a=new _plugins[e]).init(s,a.rawVars?i[e]:_processVars(i[e],n,s,o,r),r,n,o)!==false){r._pt=u=new PropTween(r._pt,s,e,0,1,a.render,a,0,a.priority);if(r!==_quickTween){_=r._ptLookup[r._targets.indexOf(s)];f=a._props.length;while(f--){_[a._props[f]]=u}}}return a},_overwritingTween,_forceAllPropTweens,_initTween=function t(e,i,r){var n=e.vars,s=n.ease,o=n.startAt,a=n.immediateRender,u=n.lazy,_=n.onUpdate,f=n.runBackwards,h=n.yoyoEase,l=n.keyframes,c=n.autoRevert,p=e._dur,d=e._startAt,m=e._targets,g=e.parent,v=g&&g.data==="nested"?g.vars.targets:m,w=e._overwrite==="auto"&&!_suppressOverwrites,y=e.timeline,P,T,S,x,b,C,M,E,k,F,N,A,D;y&&(!l||!s)&&(s="none");e._ease=_parseEase(s,_defaults.ease);e._yEase=h?_invertEase(_parseEase(h===true?s:h,_defaults.ease)):0;if(h&&e._yoyo&&!e._repeat){h=e._yEase;e._yEase=e._ease;e._ease=h}e._from=!y&&!!n.runBackwards;if(!y||l&&!n.stagger){E=m[0]?_getCache(m[0]).harness:0;A=E&&n[E.prop];P=_copyExcluding(n,_reservedProps);if(d){d._zTime<0&&d.progress(1);i<0&&f&&a&&!c?d.render(-1,true):d.revert(f&&p?_revertConfigNoKill:_startAtRevertConfig);d._lazy=0}if(o){_removeFromParent(e._startAt=Tween.set(m,_setDefaults({data:"isStart",overwrite:false,parent:g,immediateRender:true,lazy:!d&&_isNotFalse(u),startAt:null,delay:0,onUpdate:_&&function(){return _callback(e,"onUpdate")},stagger:0},o)));e._startAt._dp=0;e._startAt._sat=e;i<0&&(_reverting$1||!a&&!c)&&e._startAt.revert(_revertConfigNoKill);if(a){if(p&&i<=0&&r<=0){i&&(e._zTime=i);return}}}else if(f&&p){if(!d){i&&(a=false);S=_setDefaults({overwrite:false,data:"isFromStart",lazy:a&&!d&&_isNotFalse(u),immediateRender:a,stagger:0,parent:g},P);A&&(S[E.prop]=A);_removeFromParent(e._startAt=Tween.set(m,S));e._startAt._dp=0;e._startAt._sat=e;i<0&&(_reverting$1?e._startAt.revert(_revertConfigNoKill):e._startAt.render(-1,true));e._zTime=i;if(!a){t(e._startAt,_tinyNum,_tinyNum)}else if(!i){return}}}e._pt=e._ptCache=0;u=p&&_isNotFalse(u)||u&&!p;for(T=0;T<m.length;T++){b=m[T];M=b._gsap||_harness(m)[T]._gsap;e._ptLookup[T]=F={};_lazyLookup[M.id]&&_lazyTweens.length&&_lazyRender();N=v===m?T:v.indexOf(b);if(E&&(k=new E).init(b,A||P,e,N,v)!==false){e._pt=x=new PropTween(e._pt,b,k.name,0,1,k.render,k,0,k.priority);k._props.forEach((function(t){F[t]=x}));k.priority&&(C=1)}if(!E||A){for(S in P){if(_plugins[S]&&(k=_checkPlugin(S,P,e,N,b,v))){k.priority&&(C=1)}else{F[S]=x=_addPropTween.call(e,b,S,"get",P[S],N,v,0,n.stringFilter)}}}e._op&&e._op[T]&&e.kill(b,e._op[T]);if(w&&e._pt){_overwritingTween=e;_globalTimeline.killTweensOf(b,F,e.globalTime(i));D=!e.parent;_overwritingTween=0}e._pt&&u&&(_lazyLookup[M.id]=1)}C&&_sortPropTweensByPriority(e);e._onInit&&e._onInit(e)}e._onUpdate=_;e._initted=(!e._op||e._pt)&&!D;l&&i<=0&&y.render(_bigNum$1,true,true)},_updatePropTweens=function t(e,i,r,n,s,o,a,u){var _=(e._pt&&e._ptCache||(e._ptCache={}))[i],f,h,l,c;if(!_){_=e._ptCache[i]=[];l=e._ptLookup;c=e._targets.length;while(c--){f=l[c][i];if(f&&f.d&&f.d._pt){f=f.d._pt;while(f&&f.p!==i&&f.fp!==i){f=f._next}}if(!f){_forceAllPropTweens=1;e.vars[i]="+=0";_initTween(e,a);_forceAllPropTweens=0;return u?_warn(i+" not eligible for reset"):1}_.push(f)}}c=_.length;while(c--){h=_[c];f=h._pt||h;f.s=(n||n===0)&&!s?n:f.s+(n||0)+o*f.c;f.c=r-f.s;h.e&&(h.e=_round(r)+getUnit(h.e));h.b&&(h.b=f.s+getUnit(h.b))}},_addAliasesToVars=function t(e,i){var r=e[0]?_getCache(e[0]).harness:0,n=r&&r.aliases,s,o,a,u;if(!n){return i}s=_merge({},i);for(o in n){if(o in s){u=n[o].split(",");a=u.length;while(a--){s[u[a]]=s[o]}}}return s},_parseKeyframe=function t(e,i,r,n){var s=i.ease||n||"power1.inOut",o,a;if(_isArray(i)){a=r[e]||(r[e]=[]);i.forEach((function(t,e){return a.push({t:e/(i.length-1)*100,v:t,e:s})}))}else{for(o in i){a=r[o]||(r[o]=[]);o==="ease"||a.push({t:parseFloat(e),v:i[o],e:s})}}},_parseFuncOrString=function t(e,i,r,n,s){return _isFunction(e)?e.call(i,r,n,s):_isString(e)&&~e.indexOf("random(")?_replaceRandom(e):e},_staggerTweenProps=_callbackNames+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",_staggerPropsToSkip={};_forEachName(_staggerTweenProps+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return _staggerPropsToSkip[t]=1}));var Tween=function(t){_inheritsLoose(e,t);function e(e,i,r,n){var s;if(typeof i==="number"){r.duration=i;i=r;r=null}s=t.call(this,n?i:_inheritDefaults(i))||this;var o=s.vars,a=o.duration,u=o.delay,_=o.immediateRender,f=o.stagger,h=o.overwrite,l=o.keyframes,c=o.defaults,p=o.scrollTrigger,d=o.yoyoEase,m=i.parent||_globalTimeline,g=(_isArray(e)||_isTypedArray(e)?_isNumber(e[0]):"length"in i)?[e]:toArray(e),v,w,y,P,T,S,x,b;s._targets=g.length?_harness(g):_warn("GSAP target "+e+" not found. https://gsap.com",!_config.nullTargetWarn)||[];s._ptLookup=[];s._overwrite=h;if(l||f||_isFuncOrString(a)||_isFuncOrString(u)){i=s.vars;v=s.timeline=new Timeline({data:"nested",defaults:c||{},targets:m&&m.data==="nested"?m.vars.targets:g});v.kill();v.parent=v._dp=_assertThisInitialized(s);v._start=0;if(f||_isFuncOrString(a)||_isFuncOrString(u)){P=g.length;x=f&&distribute(f);if(_isObject(f)){for(T in f){if(~_staggerTweenProps.indexOf(T)){b||(b={});b[T]=f[T]}}}for(w=0;w<P;w++){y=_copyExcluding(i,_staggerPropsToSkip);y.stagger=0;d&&(y.yoyoEase=d);b&&_merge(y,b);S=g[w];y.duration=+_parseFuncOrString(a,_assertThisInitialized(s),w,S,g);y.delay=(+_parseFuncOrString(u,_assertThisInitialized(s),w,S,g)||0)-s._delay;if(!f&&P===1&&y.delay){s._delay=u=y.delay;s._start+=u;y.delay=0}v.to(S,y,x?x(w,S,g):0);v._ease=_easeMap.none}v.duration()?a=u=0:s.timeline=0}else if(l){_inheritDefaults(_setDefaults(v.vars.defaults,{ease:"none"}));v._ease=_parseEase(l.ease||i.ease||"none");var C=0,M,E,k;if(_isArray(l)){l.forEach((function(t){return v.to(g,t,">")}));v.duration()}else{y={};for(T in l){T==="ease"||T==="easeEach"||_parseKeyframe(T,l[T],y,l.easeEach)}for(T in y){M=y[T].sort((function(t,e){return t.t-e.t}));C=0;for(w=0;w<M.length;w++){E=M[w];k={ease:E.e,duration:(E.t-(w?M[w-1].t:0))/100*a};k[T]=E.v;v.to(g,k,C);C+=k.duration}}v.duration()<a&&v.to({},{duration:a-v.duration()})}}a||s.duration(a=v.duration())}else{s.timeline=0}if(h===true&&!_suppressOverwrites){_overwritingTween=_assertThisInitialized(s);_globalTimeline.killTweensOf(g);_overwritingTween=0}_addToTimeline(m,_assertThisInitialized(s),r);i.reversed&&s.reverse();i.paused&&s.paused(true);if(_||!a&&!l&&s._start===_roundPrecise(m._time)&&_isNotFalse(_)&&_hasNoPausedAncestors(_assertThisInitialized(s))&&m.data!=="nested"){s._tTime=-_tinyNum;s.render(Math.max(0,-u)||0)}p&&_scrollTrigger(_assertThisInitialized(s),p);return s}var i=e.prototype;i.render=function t(e,i,r){var n=this._time,s=this._tDur,o=this._dur,a=e<0,u=e>s-_tinyNum&&!a?s:e<_tinyNum?0:e,_,f,h,l,c,p,d,m,g;if(!o){_renderZeroDurationTween(this,e,i,r)}else if(u!==this._tTime||!e||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==a||this._lazy){_=u;m=this.timeline;if(this._repeat){l=o+this._rDelay;if(this._repeat<-1&&a){return this.totalTime(l*100+e,i,r)}_=_roundPrecise(u%l);if(u===s){h=this._repeat;_=o}else{c=_roundPrecise(u/l);h=~~c;if(h&&h===c){_=o;h--}else if(_>o){_=o}}p=this._yoyo&&h&1;if(p){g=this._yEase;_=o-_}c=_animationCycle(this._tTime,l);if(_===n&&!r&&this._initted&&h===c){this._tTime=u;return this}if(h!==c){m&&this._yEase&&_propagateYoyoEase(m,p);if(this.vars.repeatRefresh&&!p&&!this._lock&&_!==l&&this._initted){this._lock=r=1;this.render(_roundPrecise(l*h),true).invalidate()._lock=0}}}if(!this._initted){if(_attemptInitTween(this,a?e:_,r,i,u)){this._tTime=0;return this}if(n!==this._time&&!(r&&this.vars.repeatRefresh&&h!==c)){return this}if(o!==this._dur){return this.render(e,i,r)}}this._tTime=u;this._time=_;if(!this._act&&this._ts){this._act=1;this._lazy=0}this.ratio=d=(g||this._ease)(_/o);if(this._from){this.ratio=d=1-d}if(!n&&u&&!i&&!c){_callback(this,"onStart");if(this._tTime!==u){return this}}f=this._pt;while(f){f.r(d,f.d);f=f._next}m&&m.render(e<0?e:m._dur*m._ease(_/this._dur),i,r)||this._startAt&&(this._zTime=e);if(this._onUpdate&&!i){a&&_rewindStartAt(this,e,i,r);_callback(this,"onUpdate")}this._repeat&&h!==c&&this.vars.onRepeat&&!i&&this.parent&&_callback(this,"onRepeat");if((u===this._tDur||!u)&&this._tTime===u){a&&!this._onUpdate&&_rewindStartAt(this,e,true,true);(e||!o)&&(u===this._tDur&&this._ts>0||!u&&this._ts<0)&&_removeFromParent(this,1);if(!i&&!(a&&!n)&&(u||n||p)){_callback(this,u===s?"onComplete":"onReverseComplete",true);this._prom&&!(u<s&&this.timeScale()>0)&&this._prom()}}}return this};i.targets=function t(){return this._targets};i.invalidate=function e(i){(!i||!this.vars.runBackwards)&&(this._startAt=0);this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0;this._ptLookup=[];this.timeline&&this.timeline.invalidate(i);return t.prototype.invalidate.call(this,i)};i.resetTo=function t(e,i,r,n,s){_tickerActive||_ticker.wake();this._ts||this.play();var o=Math.min(this._dur,(this._dp._time-this._start)*this._ts),a;this._initted||_initTween(this,o);a=this._ease(o/this._dur);if(_updatePropTweens(this,e,i,r,n,a,o,s)){return this.resetTo(e,i,r,n,1)}_alignPlayhead(this,0);this.parent||_addLinkedListItem(this._dp,this,"_first","_last",this._dp._sort?"_start":0);return this.render(0)};i.kill=function t(e,i){if(i===void 0){i="all"}if(!e&&(!i||i==="all")){this._lazy=this._pt=0;this.parent?_interrupt(this):this.scrollTrigger&&this.scrollTrigger.kill(!!_reverting$1);return this}if(this.timeline){var r=this.timeline.totalDuration();this.timeline.killTweensOf(e,i,_overwritingTween&&_overwritingTween.vars.overwrite!==true)._first||_interrupt(this);this.parent&&r!==this.timeline.totalDuration()&&_setDuration(this,this._dur*this.timeline._tDur/r,0,1);return this}var n=this._targets,s=e?toArray(e):n,o=this._ptLookup,a=this._pt,u,_,f,h,l,c,p;if((!i||i==="all")&&_arraysMatch(n,s)){i==="all"&&(this._pt=0);return _interrupt(this)}u=this._op=this._op||[];if(i!=="all"){if(_isString(i)){l={};_forEachName(i,(function(t){return l[t]=1}));i=l}i=_addAliasesToVars(n,i)}p=n.length;while(p--){if(~s.indexOf(n[p])){_=o[p];if(i==="all"){u[p]=i;h=_;f={}}else{f=u[p]=u[p]||{};h=i}for(l in h){c=_&&_[l];if(c){if(!("kill"in c.d)||c.d.kill(l)===true){_removeLinkedListItem(this,c,"_pt")}delete _[l]}if(f!=="all"){f[l]=1}}}}this._initted&&!this._pt&&a&&_interrupt(this);return this};e.to=function t(i,r){return new e(i,r,arguments[2])};e.from=function t(e,i){return _createTweenType(1,arguments)};e.delayedCall=function t(i,r,n,s){return new e(r,0,{immediateRender:false,lazy:false,overwrite:false,delay:i,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:s})};e.fromTo=function t(e,i,r){return _createTweenType(2,arguments)};e.set=function t(i,r){r.duration=0;r.repeatDelay||(r.repeat=0);return new e(i,r)};e.killTweensOf=function t(e,i,r){return _globalTimeline.killTweensOf(e,i,r)};return e}(Animation);_setDefaults(Tween.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});_forEachName("staggerTo,staggerFrom,staggerFromTo",(function(t){Tween[t]=function(){var e=new Timeline,i=_slice.call(arguments,0);i.splice(t==="staggerFromTo"?5:4,0,0);return e[t].apply(e,i)}}));var _setterPlain=function t(e,i,r){return e[i]=r},_setterFunc=function t(e,i,r){return e[i](r)},_setterFuncWithParam=function t(e,i,r,n){return e[i](n.fp,r)},_setterAttribute=function t(e,i,r){return e.setAttribute(i,r)},_getSetter=function t(e,i){return _isFunction(e[i])?_setterFunc:_isUndefined(e[i])&&e.setAttribute?_setterAttribute:_setterPlain},_renderPlain=function t(e,i){return i.set(i.t,i.p,Math.round((i.s+i.c*e)*1e6)/1e6,i)},_renderBoolean=function t(e,i){return i.set(i.t,i.p,!!(i.s+i.c*e),i)},_renderComplexString=function t(e,i){var r=i._pt,n="";if(!e&&i.b){n=i.b}else if(e===1&&i.e){n=i.e}else{while(r){n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n;r=r._next}n+=i.c}i.set(i.t,i.p,n,i)},_renderPropTweens=function t(e,i){var r=i._pt;while(r){r.r(e,r.d);r=r._next}},_addPluginModifier=function t(e,i,r,n){var s=this._pt,o;while(s){o=s._next;s.p===n&&s.modifier(e,i,r);s=o}},_killPropTweensOf=function t(e){var i=this._pt,r,n;while(i){n=i._next;if(i.p===e&&!i.op||i.op===e){_removeLinkedListItem(this,i,"_pt")}else if(!i.dep){r=1}i=n}return!r},_setterWithModifier=function t(e,i,r,n){n.mSet(e,i,n.m.call(n.tween,r,n.mt),n)},_sortPropTweensByPriority=function t(e){var i=e._pt,r,n,s,o;while(i){r=i._next;n=s;while(n&&n.pr>i.pr){n=n._next}if(i._prev=n?n._prev:o){i._prev._next=i}else{s=i}if(i._next=n){n._prev=i}else{o=i}i=r}e._pt=s};var PropTween=function(){function t(t,e,i,r,n,s,o,a,u){this.t=e;this.s=r;this.c=n;this.p=i;this.r=s||_renderPlain;this.d=o||this;this.set=a||_setterPlain;this.pr=u||0;this._next=t;if(t){t._prev=this}}var e=t.prototype;e.modifier=function t(e,i,r){this.mSet=this.mSet||this.set;this.set=_setterWithModifier;this.m=e;this.mt=r;this.tween=i};return t}();_forEachName(_callbackNames+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return _reservedProps[t]=1}));_globals.TweenMax=_globals.TweenLite=Tween;_globals.TimelineLite=_globals.TimelineMax=Timeline;_globalTimeline=new Timeline({sortChildren:false,defaults:_defaults,autoRemoveChildren:true,id:"root",smoothChildTiming:true});_config.stringFilter=_colorStringFilter;var _media=[],_listeners={},_emptyArray=[],_lastMediaTime=0,_contextID=0,_dispatch=function t(e){return(_listeners[e]||_emptyArray).map((function(t){return t()}))},_onMediaChange=function t(){var e=Date.now(),i=[];if(e-_lastMediaTime>2){_dispatch("matchMediaInit");_media.forEach((function(t){var e=t.queries,r=t.conditions,n,s,o,a;for(s in e){n=_win$1.matchMedia(e[s]).matches;n&&(o=1);if(n!==r[s]){r[s]=n;a=1}}if(a){t.revert();o&&i.push(t)}}));_dispatch("matchMediaRevert");i.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))}));_lastMediaTime=e;_dispatch("matchMedia")}};var Context=function(){function t(t,e){this.selector=e&&selector(e);this.data=[];this._r=[];this.isReverted=false;this.id=_contextID++;t&&this.add(t)}var e=t.prototype;e.add=function t(e,i,r){if(_isFunction(e)){r=i;i=e;e=_isFunction}var n=this,s=function t(){var e=_context,s=n.selector,o;e&&e!==n&&e.data.push(n);r&&(n.selector=selector(r));_context=n;o=i.apply(n,arguments);_isFunction(o)&&n._r.push(o);_context=e;n.selector=s;n.isReverted=false;return o};n.last=s;return e===_isFunction?s(n,(function(t){return n.add(null,t)})):e?n[e]=s:s};e.ignore=function t(e){var i=_context;_context=null;e(this);_context=i};e.getTweens=function e(){var i=[];this.data.forEach((function(e){return e instanceof t?i.push.apply(i,e.getTweens()):e instanceof Tween&&!(e.parent&&e.parent.data==="nested")&&i.push(e)}));return i};e.clear=function t(){this._r.length=this.data.length=0};e.kill=function t(e,i){var r=this;if(e){(function(){var t=r.getTweens(),i=r.data.length,n;while(i--){n=r.data[i];if(n.data==="isFlip"){n.revert();n.getChildren(true,true,false).forEach((function(e){return t.splice(t.indexOf(e),1)}))}}t.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-Infinity,t:t}})).sort((function(t,e){return e.g-t.g||-Infinity})).forEach((function(t){return t.t.revert(e)}));i=r.data.length;while(i--){n=r.data[i];if(n instanceof Timeline){if(n.data!=="nested"){n.scrollTrigger&&n.scrollTrigger.revert();n.kill()}}else{!(n instanceof Tween)&&n.revert&&n.revert(e)}}r._r.forEach((function(t){return t(e,r)}));r.isReverted=true})()}else{this.data.forEach((function(t){return t.kill&&t.kill()}))}this.clear();if(i){var n=_media.length;while(n--){_media[n].id===this.id&&_media.splice(n,1)}}};e.revert=function t(e){this.kill(e||{})};return t}();var MatchMedia=function(){function t(t){this.contexts=[];this.scope=t;_context&&_context.data.push(this)}var e=t.prototype;e.add=function t(e,i,r){_isObject(e)||(e={matches:e});var n=new Context(0,r||this.scope),s=n.conditions={},o,a,u;_context&&!n.selector&&(n.selector=_context.selector);this.contexts.push(n);i=n.add("onMatch",i);n.queries=e;for(a in e){if(a==="all"){u=1}else{o=_win$1.matchMedia(e[a]);if(o){_media.indexOf(n)<0&&_media.push(n);(s[a]=o.matches)&&(u=1);o.addListener?o.addListener(_onMediaChange):o.addEventListener("change",_onMediaChange)}}}u&&i(n,(function(t){return n.add(null,t)}));return this};e.revert=function t(e){this.kill(e||{})};e.kill=function t(e){this.contexts.forEach((function(t){return t.kill(e,true)}))};return t}();var _gsap={registerPlugin:function t(){for(var e=arguments.length,i=new Array(e),r=0;r<e;r++){i[r]=arguments[r]}i.forEach((function(t){return _createPlugin(t)}))},timeline:function t(e){return new Timeline(e)},getTweensOf:function t(e,i){return _globalTimeline.getTweensOf(e,i)},getProperty:function t(e,i,r,n){_isString(e)&&(e=toArray(e)[0]);var s=_getCache(e||{}).get,o=r?_passThrough:_numericIfPossible;r==="native"&&(r="");return!e?e:!i?function(t,i,r){return o((_plugins[t]&&_plugins[t].get||s)(e,t,i,r))}:o((_plugins[i]&&_plugins[i].get||s)(e,i,r,n))},quickSetter:function t(e,i,r){e=toArray(e);if(e.length>1){var n=e.map((function(t){return gsap.quickSetter(t,i,r)})),s=n.length;return function(t){var e=s;while(e--){n[e](t)}}}e=e[0]||{};var o=_plugins[i],a=_getCache(e),u=a.harness&&(a.harness.aliases||{})[i]||i,_=o?function(t){var i=new o;_quickTween._pt=0;i.init(e,r?t+r:t,_quickTween,0,[e]);i.render(1,i);_quickTween._pt&&_renderPropTweens(1,_quickTween)}:a.set(e,u);return o?_:function(t){return _(e,u,r?t+r:t,a,1)}},quickTo:function t(e,i,r){var n;var s=gsap.to(e,_setDefaults((n={},n[i]="+=0.1",n.paused=true,n.stagger=0,n),r||{})),o=function t(e,r,n){return s.resetTo(i,e,r,n)};o.tween=s;return o},isTweening:function t(e){return _globalTimeline.getTweensOf(e,true).length>0},defaults:function t(e){e&&e.ease&&(e.ease=_parseEase(e.ease,_defaults.ease));return _mergeDeep(_defaults,e||{})},config:function t(e){return _mergeDeep(_config,e||{})},registerEffect:function t(e){var i=e.name,r=e.effect,n=e.plugins,s=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!_plugins[t]&&!_globals[t]&&_warn(i+" effect requires "+t+" plugin.")}));_effects[i]=function(t,e,i){return r(toArray(t),_setDefaults(e||{},s),i)};if(o){Timeline.prototype[i]=function(t,e,r){return this.add(_effects[i](t,_isObject(e)?e:(r=e)&&{},this),r)}}},registerEase:function t(e,i){_easeMap[e]=_parseEase(i)},parseEase:function t(e,i){return arguments.length?_parseEase(e,i):_easeMap},getById:function t(e){return _globalTimeline.getById(e)},exportRoot:function t(e,i){if(e===void 0){e={}}var r=new Timeline(e),n,s;r.smoothChildTiming=_isNotFalse(e.smoothChildTiming);_globalTimeline.remove(r);r._dp=0;r._time=r._tTime=_globalTimeline._time;n=_globalTimeline._first;while(n){s=n._next;if(i||!(!n._dur&&n instanceof Tween&&n.vars.onComplete===n._targets[0])){_addToTimeline(r,n,n._start-n._delay)}n=s}_addToTimeline(_globalTimeline,r,0);return r},context:function t(e,i){return e?new Context(e,i):_context},matchMedia:function t(e){return new MatchMedia(e)},matchMediaRefresh:function t(){return _media.forEach((function(t){var e=t.conditions,i,r;for(r in e){if(e[r]){e[r]=false;i=1}}i&&t.revert()}))||_onMediaChange()},addEventListener:function t(e,i){var r=_listeners[e]||(_listeners[e]=[]);~r.indexOf(i)||r.push(i)},removeEventListener:function t(e,i){var r=_listeners[e],n=r&&r.indexOf(i);n>=0&&r.splice(n,1)},utils:{wrap:wrap,wrapYoyo:wrapYoyo,distribute:distribute,random:random,snap:snap,normalize:normalize,getUnit:getUnit,clamp:clamp,splitColor:splitColor,toArray:toArray,selector:selector,mapRange:mapRange,pipe:pipe,unitize:unitize,interpolate:interpolate,shuffle:shuffle},install:_install,effects:_effects,ticker:_ticker,updateRoot:Timeline.updateRoot,plugins:_plugins,globalTimeline:_globalTimeline,core:{PropTween:PropTween,globals:_addGlobal,Tween:Tween,Timeline:Timeline,Animation:Animation,getCache:_getCache,_removeLinkedListItem:_removeLinkedListItem,reverting:function t(){return _reverting$1},context:function t(e){if(e&&_context){_context.data.push(e);e._ctx=_context}return _context},suppressOverwrites:function t(e){return _suppressOverwrites=e}}};_forEachName("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return _gsap[t]=Tween[t]}));_ticker.add(Timeline.updateRoot);_quickTween=_gsap.to({},{duration:0});var _getPluginPropTween=function t(e,i){var r=e._pt;while(r&&r.p!==i&&r.op!==i&&r.fp!==i){r=r._next}return r},_addModifiers=function t(e,i){var r=e._targets,n,s,o;for(n in i){s=r.length;while(s--){o=e._ptLookup[s][n];if(o&&(o=o.d)){if(o._pt){o=_getPluginPropTween(o,n)}o&&o.modifier&&o.modifier(i[n],e,r[s],n)}}}},_buildModifierPlugin=function t(e,i){return{name:e,headless:1,rawVars:1,init:function t(e,r,n){n._onInit=function(t){var e,n;if(_isString(r)){e={};_forEachName(r,(function(t){return e[t]=1}));r=e}if(i){e={};for(n in r){e[n]=i(r[n])}r=e}_addModifiers(t,r)}}}};var gsap=_gsap.registerPlugin({name:"attr",init:function t(e,i,r,n,s){var o,a,u;this.tween=r;for(o in i){u=e.getAttribute(o)||"";a=this.add(e,"setAttribute",(u||0)+"",i[o],n,s,0,0,o);a.op=o;a.b=u;this._props.push(o)}},render:function t(e,i){var r=i._pt;while(r){_reverting$1?r.set(r.t,r.p,r.b,r):r.r(e,r.d);r=r._next}}},{name:"endArray",headless:1,init:function t(e,i){var r=i.length;while(r--){this.add(e,r,e[r]||0,i[r],0,0,0,0,0,1)}}},_buildModifierPlugin("roundProps",_roundModifier),_buildModifierPlugin("modifiers"),_buildModifierPlugin("snap",snap))||_gsap;Tween.version=Timeline.version=gsap.version="3.13.0";_coreReady=1;_windowExists$1()&&_wake();
|
|
10
10
|
/*!
|
|
11
11
|
* CSSPlugin 3.13.0
|
|
12
12
|
* https://gsap.com
|
|
@@ -14,4 +14,4 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,r){function n(t){return t ins
|
|
|
14
14
|
* Copyright 2008-2025, GreenSock. All rights reserved.
|
|
15
15
|
* Subject to the terms at https://gsap.com/standard-license
|
|
16
16
|
* @author: Jack Doyle, jack@greensock.com
|
|
17
|
-
*/var _win,_doc,_docElement,_pluginInitted,_tempDiv,_recentSetterPlugin,_reverting,_windowExists=function t(){return typeof window!=="undefined"},_transformProps={},_RAD2DEG=180/Math.PI,_DEG2RAD=Math.PI/180,_atan2=Math.atan2,_bigNum=1e8,_capsExp=/([A-Z])/g,_horizontalExp=/(left|right|width|margin|padding|x)/i,_complexExp=/[\s,\(]\S/,_propertyAliases={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_renderCSSProp=function t(e,i){return i.set(i.t,i.p,Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},_renderPropWithEnd=function t(e,i){return i.set(i.t,i.p,e===1?i.e:Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},_renderCSSPropWithBeginning=function t(e,i){return i.set(i.t,i.p,e?Math.round((i.s+i.c*e)*1e4)/1e4+i.u:i.b,i)},_renderRoundedCSSProp=function t(e,i){var r=i.s+i.c*e;i.set(i.t,i.p,~~(r+(r<0?-.5:.5))+i.u,i)},_renderNonTweeningValue=function t(e,i){return i.set(i.t,i.p,e?i.e:i.b,i)},_renderNonTweeningValueOnlyAtEnd=function t(e,i){return i.set(i.t,i.p,e!==1?i.b:i.e,i)},_setterCSSStyle=function t(e,i,r){return e.style[i]=r},_setterCSSProp=function t(e,i,r){return e.style.setProperty(i,r)},_setterTransform=function t(e,i,r){return e._gsap[i]=r},_setterScale=function t(e,i,r){return e._gsap.scaleX=e._gsap.scaleY=r},_setterScaleWithRender=function t(e,i,r,n,s){var o=e._gsap;o.scaleX=o.scaleY=r;o.renderTransform(s,o)},_setterTransformWithRender=function t(e,i,r,n,s){var o=e._gsap;o[i]=r;o.renderTransform(s,o)},_transformProp="transform",_transformOriginProp=_transformProp+"Origin",_saveStyle=function t(e,i){var r=this;var n=this.target,s=n.style,o=n._gsap;if(e in _transformProps&&s){this.tfm=this.tfm||{};if(e!=="transform"){e=_propertyAliases[e]||e;~e.indexOf(",")?e.split(",").forEach((function(t){return r.tfm[t]=_get(n,t)})):this.tfm[e]=o.x?o[e]:_get(n,e);e===_transformOriginProp&&(this.tfm.zOrigin=o.zOrigin)}else{return _propertyAliases.transform.split(",").forEach((function(e){return t.call(r,e,i)}))}if(this.props.indexOf(_transformProp)>=0){return}if(o.svg){this.svgo=n.getAttribute("data-svg-origin");this.props.push(_transformOriginProp,i,"")}e=_transformProp}(s||i)&&this.props.push(e,i,s[e])},_removeIndependentTransforms=function t(e){if(e.translate){e.removeProperty("translate");e.removeProperty("scale");e.removeProperty("rotate")}},_revertStyle=function t(){var e=this.props,i=this.target,r=i.style,n=i._gsap,s,o;for(s=0;s<e.length;s+=3){if(!e[s+1]){e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(_capsExp,"-$1").toLowerCase())}else if(e[s+1]===2){i[e[s]](e[s+2])}else{i[e[s]]=e[s+2]}}if(this.tfm){for(o in this.tfm){n[o]=this.tfm[o]}if(n.svg){n.renderTransform();i.setAttribute("data-svg-origin",this.svgo||"")}s=_reverting();if((!s||!s.isStart)&&!r[_transformProp]){_removeIndependentTransforms(r);if(n.zOrigin&&r[_transformOriginProp]){r[_transformOriginProp]+=" "+n.zOrigin+"px";n.zOrigin=0;n.renderTransform()}n.uncache=1}}},_getStyleSaver=function t(e,i){var r={target:e,props:[],revert:_revertStyle,save:_saveStyle};e._gsap||gsap.core.getCache(e);i&&e.style&&e.nodeType&&i.split(",").forEach((function(t){return r.save(t)}));return r},_supports3D,_createElement=function t(e,i){var r=_doc.createElementNS?_doc.createElementNS((i||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):_doc.createElement(e);return r&&r.style?r:_doc.createElement(e)},_getComputedProperty=function t(e,i,r){var n=getComputedStyle(e);return n[i]||n.getPropertyValue(i.replace(_capsExp,"-$1").toLowerCase())||n.getPropertyValue(i)||!r&&t(e,_checkPropPrefix(i)||i,1)||""},_prefixes="O,Moz,ms,Ms,Webkit".split(","),_checkPropPrefix=function t(e,i,r){var n=i||_tempDiv,s=n.style,o=5;if(e in s&&!r){return e}e=e.charAt(0).toUpperCase()+e.substr(1);while(o--&&!(_prefixes[o]+e in s)){}return o<0?null:(o===3?"ms":o>=0?_prefixes[o]:"")+e},_initCore=function t(){if(_windowExists()&&window.document){_win=window;_doc=_win.document;_docElement=_doc.documentElement;_tempDiv=_createElement("div")||{style:{}};_createElement("div");_transformProp=_checkPropPrefix(_transformProp);_transformOriginProp=_transformProp+"Origin";_tempDiv.style.cssText="border-width:0;line-height:0;position:absolute;padding:0";_supports3D=!!_checkPropPrefix("perspective");_reverting=gsap.core.reverting;_pluginInitted=1}},_getReparentedCloneBBox=function t(e){var i=e.ownerSVGElement,r=_createElement("svg",i&&i.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(true),s;n.style.display="block";r.appendChild(n);_docElement.appendChild(r);try{s=n.getBBox()}catch(t){}r.removeChild(n);_docElement.removeChild(r);return s},_getAttributeFallbacks=function t(e,i){var r=i.length;while(r--){if(e.hasAttribute(i[r])){return e.getAttribute(i[r])}}},_getBBox=function t(e){var i,r;try{i=e.getBBox()}catch(t){i=_getReparentedCloneBBox(e);r=1}i&&(i.width||i.height)||r||(i=_getReparentedCloneBBox(e));return i&&!i.width&&!i.x&&!i.y?{x:+_getAttributeFallbacks(e,["x","cx","x1"])||0,y:+_getAttributeFallbacks(e,["y","cy","y1"])||0,width:0,height:0}:i},_isSVG=function t(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&_getBBox(e))},_removeProperty=function t(e,i){if(i){var r=e.style,n;if(i in _transformProps&&i!==_transformOriginProp){i=_transformProp}if(r.removeProperty){n=i.substr(0,2);if(n==="ms"||i.substr(0,6)==="webkit"){i="-"+i}r.removeProperty(n==="--"?i:i.replace(_capsExp,"-$1").toLowerCase())}else{r.removeAttribute(i)}}},_addNonTweeningPT=function t(e,i,r,n,s,o){var a=new PropTween(e._pt,i,r,0,1,o?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue);e._pt=a;a.b=n;a.e=s;e._props.push(r);return a},_nonConvertibleUnits={deg:1,rad:1,turn:1},_nonStandardLayouts={grid:1,flex:1},_convertToUnit=function t(e,i,r,n){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=_tempDiv.style,u=_horizontalExp.test(i),_=e.tagName.toLowerCase()==="svg",f=(_?"client":"offset")+(u?"Width":"Height"),h=100,c=n==="px",l=n==="%",p,d,m,g;if(n===o||!s||_nonConvertibleUnits[n]||_nonConvertibleUnits[o]){return s}o!=="px"&&!c&&(s=t(e,i,r,"px"));g=e.getCTM&&_isSVG(e);if((l||o==="%")&&(_transformProps[i]||~i.indexOf("adius"))){p=g?e.getBBox()[u?"width":"height"]:e[f];return _round(l?s/p*h:s/100*p)}a[u?"width":"height"]=h+(c?o:n);d=n!=="rem"&&~i.indexOf("adius")||n==="em"&&e.appendChild&&!_?e:e.parentNode;if(g){d=(e.ownerSVGElement||{}).parentNode}if(!d||d===_doc||!d.appendChild){d=_doc.body}m=d._gsap;if(m&&l&&m.width&&u&&m.time===_ticker.time&&!m.uncache){return _round(s/m.width*h)}else{if(l&&(i==="height"||i==="width")){var v=e.style[i];e.style[i]=h+n;p=e[f];v?e.style[i]=v:_removeProperty(e,i)}else{(l||o==="%")&&!_nonStandardLayouts[_getComputedProperty(d,"display")]&&(a.position=_getComputedProperty(e,"position"));d===e&&(a.position="static");d.appendChild(_tempDiv);p=_tempDiv[f];d.removeChild(_tempDiv);a.position="absolute"}if(u&&l){m=_getCache(d);m.time=_ticker.time;m.width=d[f]}}return _round(c?p*s/h:p&&s?h/p*s:0)},_get=function t(e,i,r,n){var s;_pluginInitted||_initCore();if(i in _propertyAliases&&i!=="transform"){i=_propertyAliases[i];if(~i.indexOf(",")){i=i.split(",")[0]}}if(_transformProps[i]&&i!=="transform"){s=_parseTransform(e,n);s=i!=="transformOrigin"?s[i]:s.svg?s.origin:_firstTwoOnly(_getComputedProperty(e,_transformOriginProp))+" "+s.zOrigin+"px"}else{s=e.style[i];if(!s||s==="auto"||n||~(s+"").indexOf("calc(")){s=_specialProps[i]&&_specialProps[i](e,i,r)||_getComputedProperty(e,i)||_getProperty(e,i)||(i==="opacity"?1:0)}}return r&&!~(s+"").trim().indexOf(" ")?_convertToUnit(e,i,s,r)+r:s},_tweenComplexCSSString=function t(e,i,r,n){if(!r||r==="none"){var s=_checkPropPrefix(i,e,1),o=s&&_getComputedProperty(e,s,1);if(o&&o!==r){i=s;r=o}else if(i==="borderColor"){r=_getComputedProperty(e,"borderTopColor")}}var a=new PropTween(this._pt,e.style,i,0,1,_renderComplexString),u=0,_=0,f,h,c,l,p,d,m,g,v,w,y,P;a.b=r;a.e=n;r+="";n+="";if(n.substring(0,6)==="var(--"){n=_getComputedProperty(e,n.substring(4,n.indexOf(")")))}if(n==="auto"){d=e.style[i];e.style[i]=n;n=_getComputedProperty(e,i)||n;d?e.style[i]=d:_removeProperty(e,i)}f=[r,n];_colorStringFilter(f);r=f[0];n=f[1];c=r.match(_numWithUnitExp)||[];P=n.match(_numWithUnitExp)||[];if(P.length){while(h=_numWithUnitExp.exec(n)){m=h[0];v=n.substring(u,h.index);if(p){p=(p+1)%5}else if(v.substr(-5)==="rgba("||v.substr(-5)==="hsla("){p=1}if(m!==(d=c[_++]||"")){l=parseFloat(d)||0;y=d.substr((l+"").length);m.charAt(1)==="="&&(m=_parseRelative(l,m)+y);g=parseFloat(m);w=m.substr((g+"").length);u=_numWithUnitExp.lastIndex-w.length;if(!w){w=w||_config.units[i]||y;if(u===n.length){n+=w;a.e+=w}}if(y!==w){l=_convertToUnit(e,i,d,w)||0}a._pt={_next:a._pt,p:v||_===1?v:",",s:l,c:g-l,m:p&&p<4||i==="zIndex"?Math.round:0}}}a.c=u<n.length?n.substring(u,n.length):""}else{a.r=i==="display"&&n==="none"?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue}_relExp.test(n)&&(a.e=0);this._pt=a;return a},_keywordToPercent={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},_convertKeywordsToPercentages=function t(e){var i=e.split(" "),r=i[0],n=i[1]||"50%";if(r==="top"||r==="bottom"||n==="left"||n==="right"){e=r;r=n;n=e}i[0]=_keywordToPercent[r]||r;i[1]=_keywordToPercent[n]||n;return i.join(" ")},_renderClearProps=function t(e,i){if(i.tween&&i.tween._time===i.tween._dur){var r=i.t,n=r.style,s=i.u,o=r._gsap,a,u,_;if(s==="all"||s===true){n.cssText="";u=1}else{s=s.split(",");_=s.length;while(--_>-1){a=s[_];if(_transformProps[a]){u=1;a=a==="transformOrigin"?_transformOriginProp:_transformProp}_removeProperty(r,a)}}if(u){_removeProperty(r,_transformProp);if(o){o.svg&&r.removeAttribute("transform");n.scale=n.rotate=n.translate="none";_parseTransform(r,1);o.uncache=1;_removeIndependentTransforms(n)}}}},_specialProps={clearProps:function t(e,i,r,n,s){if(s.data!=="isFromStart"){var o=e._pt=new PropTween(e._pt,i,r,0,0,_renderClearProps);o.u=n;o.pr=-10;o.tween=s;e._props.push(r);return 1}}},_identity2DMatrix=[1,0,0,1,0,0],_rotationalProperties={},_isNullTransform=function t(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},_getComputedTransformMatrixAsArray=function t(e){var i=_getComputedProperty(e,_transformProp);return _isNullTransform(i)?_identity2DMatrix:i.substr(7).match(_numExp).map(_round)},_getMatrix=function t(e,i){var r=e._gsap||_getCache(e),n=e.style,s=_getComputedTransformMatrixAsArray(e),o,a,u,_;if(r.svg&&e.getAttribute("transform")){u=e.transform.baseVal.consolidate().matrix;s=[u.a,u.b,u.c,u.d,u.e,u.f];return s.join(",")==="1,0,0,1,0,0"?_identity2DMatrix:s}else if(s===_identity2DMatrix&&!e.offsetParent&&e!==_docElement&&!r.svg){u=n.display;n.display="block";o=e.parentNode;if(!o||!e.offsetParent&&!e.getBoundingClientRect().width){_=1;a=e.nextElementSibling;_docElement.appendChild(e)}s=_getComputedTransformMatrixAsArray(e);u?n.display=u:_removeProperty(e,"display");if(_){a?o.insertBefore(e,a):o?o.appendChild(e):_docElement.removeChild(e)}}return i&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},_applySVGOrigin=function t(e,i,r,n,s,o){var a=e._gsap,u=s||_getMatrix(e,true),_=a.xOrigin||0,f=a.yOrigin||0,h=a.xOffset||0,c=a.yOffset||0,l=u[0],p=u[1],d=u[2],m=u[3],g=u[4],v=u[5],w=i.split(" "),y=parseFloat(w[0])||0,P=parseFloat(w[1])||0,T,S,x,b;if(!r){T=_getBBox(e);y=T.x+(~w[0].indexOf("%")?y/100*T.width:y);P=T.y+(~(w[1]||w[0]).indexOf("%")?P/100*T.height:P)}else if(u!==_identity2DMatrix&&(S=l*m-p*d)){x=y*(m/S)+P*(-d/S)+(d*v-m*g)/S;b=y*(-p/S)+P*(l/S)-(l*v-p*g)/S;y=x;P=b}if(n||n!==false&&a.smooth){g=y-_;v=P-f;a.xOffset=h+(g*l+v*d)-g;a.yOffset=c+(g*p+v*m)-v}else{a.xOffset=a.yOffset=0}a.xOrigin=y;a.yOrigin=P;a.smooth=!!n;a.origin=i;a.originIsAbsolute=!!r;e.style[_transformOriginProp]="0px 0px";if(o){_addNonTweeningPT(o,a,"xOrigin",_,y);_addNonTweeningPT(o,a,"yOrigin",f,P);_addNonTweeningPT(o,a,"xOffset",h,a.xOffset);_addNonTweeningPT(o,a,"yOffset",c,a.yOffset)}e.setAttribute("data-svg-origin",y+" "+P)},_parseTransform=function t(e,i){var r=e._gsap||new GSCache(e);if("x"in r&&!i&&!r.uncache){return r}var n=e.style,s=r.scaleX<0,o="px",a="deg",u=getComputedStyle(e),_=_getComputedProperty(e,_transformOriginProp)||"0",f,h,c,l,p,d,m,g,v,w,y,P,T,S,x,b,C,M,E,k,F,N,A,D,O,R,I,z,W,L,$,U;f=h=c=d=m=g=v=w=y=0;l=p=1;r.svg=!!(e.getCTM&&_isSVG(e));if(u.translate){if(u.translate!=="none"||u.scale!=="none"||u.rotate!=="none"){n[_transformProp]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[_transformProp]!=="none"?u[_transformProp]:"")}n.scale=n.rotate=n.translate="none"}S=_getMatrix(e,r.svg);if(r.svg){if(r.uncache){O=e.getBBox();_=r.xOrigin-O.x+"px "+(r.yOrigin-O.y)+"px";D=""}else{D=!i&&e.getAttribute("data-svg-origin")}_applySVGOrigin(e,D||_,!!D||r.originIsAbsolute,r.smooth!==false,S)}P=r.xOrigin||0;T=r.yOrigin||0;if(S!==_identity2DMatrix){M=S[0];E=S[1];k=S[2];F=S[3];f=N=S[4];h=A=S[5];if(S.length===6){l=Math.sqrt(M*M+E*E);p=Math.sqrt(F*F+k*k);d=M||E?_atan2(E,M)*_RAD2DEG:0;v=k||F?_atan2(k,F)*_RAD2DEG+d:0;v&&(p*=Math.abs(Math.cos(v*_DEG2RAD)));if(r.svg){f-=P-(P*M+T*k);h-=T-(P*E+T*F)}}else{U=S[6];L=S[7];I=S[8];z=S[9];W=S[10];$=S[11];f=S[12];h=S[13];c=S[14];x=_atan2(U,W);m=x*_RAD2DEG;if(x){b=Math.cos(-x);C=Math.sin(-x);D=N*b+I*C;O=A*b+z*C;R=U*b+W*C;I=N*-C+I*b;z=A*-C+z*b;W=U*-C+W*b;$=L*-C+$*b;N=D;A=O;U=R}x=_atan2(-k,W);g=x*_RAD2DEG;if(x){b=Math.cos(-x);C=Math.sin(-x);D=M*b-I*C;O=E*b-z*C;R=k*b-W*C;$=F*C+$*b;M=D;E=O;k=R}x=_atan2(E,M);d=x*_RAD2DEG;if(x){b=Math.cos(x);C=Math.sin(x);D=M*b+E*C;O=N*b+A*C;E=E*b-M*C;A=A*b-N*C;M=D;N=O}if(m&&Math.abs(m)+Math.abs(d)>359.9){m=d=0;g=180-g}l=_round(Math.sqrt(M*M+E*E+k*k));p=_round(Math.sqrt(A*A+U*U));x=_atan2(N,A);v=Math.abs(x)>2e-4?x*_RAD2DEG:0;y=$?1/($<0?-$:$):0}if(r.svg){D=e.getAttribute("transform");r.forceCSS=e.setAttribute("transform","")||!_isNullTransform(_getComputedProperty(e,_transformProp));D&&e.setAttribute("transform",D)}}if(Math.abs(v)>90&&Math.abs(v)<270){if(s){l*=-1;v+=d<=0?180:-180;d+=d<=0?180:-180}else{p*=-1;v+=v<=0?180:-180}}i=i||r.uncache;r.x=f-((r.xPercent=f&&(!i&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-f)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o;r.y=h-((r.yPercent=h&&(!i&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o;r.z=c+o;r.scaleX=_round(l);r.scaleY=_round(p);r.rotation=_round(d)+a;r.rotationX=_round(m)+a;r.rotationY=_round(g)+a;r.skewX=v+a;r.skewY=w+a;r.transformPerspective=y+o;if(r.zOrigin=parseFloat(_.split(" ")[2])||!i&&r.zOrigin||0){n[_transformOriginProp]=_firstTwoOnly(_)}r.xOffset=r.yOffset=0;r.force3D=_config.force3D;r.renderTransform=r.svg?_renderSVGTransforms:_supports3D?_renderCSSTransforms:_renderNon3DTransforms;r.uncache=0;return r},_firstTwoOnly=function t(e){return(e=e.split(" "))[0]+" "+e[1]},_addPxTranslate=function t(e,i,r){var n=getUnit(i);return _round(parseFloat(i)+parseFloat(_convertToUnit(e,"x",r+"px",n)))+n},_renderNon3DTransforms=function t(e,i){i.z="0px";i.rotationY=i.rotationX="0deg";i.force3D=0;_renderCSSTransforms(e,i)},_zeroDeg="0deg",_zeroPx="0px",_endParenthesis=") ",_renderCSSTransforms=function t(e,i){var r=i||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.z,_=r.rotation,f=r.rotationY,h=r.rotationX,c=r.skewX,l=r.skewY,p=r.scaleX,d=r.scaleY,m=r.transformPerspective,g=r.force3D,v=r.target,w=r.zOrigin,y="",P=g==="auto"&&e&&e!==1||g===true;if(w&&(h!==_zeroDeg||f!==_zeroDeg)){var T=parseFloat(f)*_DEG2RAD,S=Math.sin(T),x=Math.cos(T),b;T=parseFloat(h)*_DEG2RAD;b=Math.cos(T);o=_addPxTranslate(v,o,S*b*-w);a=_addPxTranslate(v,a,-Math.sin(T)*-w);u=_addPxTranslate(v,u,x*b*-w+w)}if(m!==_zeroPx){y+="perspective("+m+_endParenthesis}if(n||s){y+="translate("+n+"%, "+s+"%) "}if(P||o!==_zeroPx||a!==_zeroPx||u!==_zeroPx){y+=u!==_zeroPx||P?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+_endParenthesis}if(_!==_zeroDeg){y+="rotate("+_+_endParenthesis}if(f!==_zeroDeg){y+="rotateY("+f+_endParenthesis}if(h!==_zeroDeg){y+="rotateX("+h+_endParenthesis}if(c!==_zeroDeg||l!==_zeroDeg){y+="skew("+c+", "+l+_endParenthesis}if(p!==1||d!==1){y+="scale("+p+", "+d+_endParenthesis}v.style[_transformProp]=y||"translate(0, 0)"},_renderSVGTransforms=function t(e,i){var r=i||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.rotation,_=r.skewX,f=r.skewY,h=r.scaleX,c=r.scaleY,l=r.target,p=r.xOrigin,d=r.yOrigin,m=r.xOffset,g=r.yOffset,v=r.forceCSS,w=parseFloat(o),y=parseFloat(a),P,T,S,x,b;u=parseFloat(u);_=parseFloat(_);f=parseFloat(f);if(f){f=parseFloat(f);_+=f;u+=f}if(u||_){u*=_DEG2RAD;_*=_DEG2RAD;P=Math.cos(u)*h;T=Math.sin(u)*h;S=Math.sin(u-_)*-c;x=Math.cos(u-_)*c;if(_){f*=_DEG2RAD;b=Math.tan(_-f);b=Math.sqrt(1+b*b);S*=b;x*=b;if(f){b=Math.tan(f);b=Math.sqrt(1+b*b);P*=b;T*=b}}P=_round(P);T=_round(T);S=_round(S);x=_round(x)}else{P=h;x=c;T=S=0}if(w&&!~(o+"").indexOf("px")||y&&!~(a+"").indexOf("px")){w=_convertToUnit(l,"x",o,"px");y=_convertToUnit(l,"y",a,"px")}if(p||d||m||g){w=_round(w+p-(p*P+d*S)+m);y=_round(y+d-(p*T+d*x)+g)}if(n||s){b=l.getBBox();w=_round(w+n/100*b.width);y=_round(y+s/100*b.height)}b="matrix("+P+","+T+","+S+","+x+","+w+","+y+")";l.setAttribute("transform",b);v&&(l.style[_transformProp]=b)},_addRotationalPropTween=function t(e,i,r,n,s){var o=360,a=_isString(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?_RAD2DEG:1),_=u-n,f=n+_+"deg",h,c;if(a){h=s.split("_")[1];if(h==="short"){_%=o;if(_!==_%(o/2)){_+=_<0?o:-o}}if(h==="cw"&&_<0){_=(_+o*_bigNum)%o-~~(_/o)*o}else if(h==="ccw"&&_>0){_=(_-o*_bigNum)%o-~~(_/o)*o}}e._pt=c=new PropTween(e._pt,i,r,n,_,_renderPropWithEnd);c.e=f;c.u="deg";e._props.push(r);return c},_assign=function t(e,i){for(var r in i){e[r]=i[r]}return e},_addRawTransformPTs=function t(e,i,r){var n=_assign({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,u,_,f,h,c,l,p;if(n.svg){_=r.getAttribute("transform");r.setAttribute("transform","");o[_transformProp]=i;a=_parseTransform(r,1);_removeProperty(r,_transformProp);r.setAttribute("transform",_)}else{_=getComputedStyle(r)[_transformProp];o[_transformProp]=i;a=_parseTransform(r,1);o[_transformProp]=_}for(u in _transformProps){_=n[u];f=a[u];if(_!==f&&s.indexOf(u)<0){l=getUnit(_);p=getUnit(f);h=l!==p?_convertToUnit(r,u,_,p):parseFloat(_);c=parseFloat(f);e._pt=new PropTween(e._pt,a,u,h,c-h,_renderCSSProp);e._pt.u=p||0;e._props.push(u)}}_assign(a,n)};_forEachName("padding,margin,Width,Radius",(function(t,e){var i="Top",r="Right",n="Bottom",s="Left",o=(e<3?[i,r,n,s]:[i+s,i+r,n+r,n+s]).map((function(i){return e<2?t+i:"border"+i+t}));_specialProps[e>1?"border"+t:t]=function(t,e,i,r,n){var s,a;if(arguments.length<4){s=o.map((function(e){return _get(t,e,i)}));a=s.join(" ");return a.split(s[0]).length===5?s[0]:a}s=(r+"").split(" ");a={};o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]}));t.init(e,a,n)}}));var CSSPlugin={name:"css",register:_initCore,targetTest:function t(e){return e.style&&e.nodeType},init:function t(e,i,r,n,s){var o=this._props,a=e.style,u=r.vars.startAt,_,f,h,c,l,p,d,m,g,v,w,y,P,T,S,x;_pluginInitted||_initCore();this.styles=this.styles||_getStyleSaver(e);x=this.styles.props;this.tween=r;for(d in i){if(d==="autoRound"){continue}f=i[d];if(_plugins[d]&&_checkPlugin(d,i,r,n,e,s)){continue}l=typeof f;p=_specialProps[d];if(l==="function"){f=f.call(r,n,e,s);l=typeof f}if(l==="string"&&~f.indexOf("random(")){f=_replaceRandom(f)}if(p){p(this,e,d,f,r)&&(S=1)}else if(d.substr(0,2)==="--"){_=(getComputedStyle(e).getPropertyValue(d)+"").trim();f+="";_colorExp.lastIndex=0;if(!_colorExp.test(_)){m=getUnit(_);g=getUnit(f)}g?m!==g&&(_=_convertToUnit(e,d,_,g)+g):m&&(f+=m);this.add(a,"setProperty",_,f,n,s,0,0,d);o.push(d);x.push(d,0,a[d])}else if(l!=="undefined"){if(u&&d in u){_=typeof u[d]==="function"?u[d].call(r,n,e,s):u[d];_isString(_)&&~_.indexOf("random(")&&(_=_replaceRandom(_));getUnit(_+"")||_==="auto"||(_+=_config.units[d]||getUnit(_get(e,d))||"");(_+"").charAt(1)==="="&&(_=_get(e,d))}else{_=_get(e,d)}c=parseFloat(_);v=l==="string"&&f.charAt(1)==="="&&f.substr(0,2);v&&(f=f.substr(2));h=parseFloat(f);if(d in _propertyAliases){if(d==="autoAlpha"){if(c===1&&_get(e,"visibility")==="hidden"&&h){c=0}x.push("visibility",0,a.visibility);_addNonTweeningPT(this,a,"visibility",c?"inherit":"hidden",h?"inherit":"hidden",!h)}if(d!=="scale"&&d!=="transform"){d=_propertyAliases[d];~d.indexOf(",")&&(d=d.split(",")[0])}}w=d in _transformProps;if(w){this.styles.save(d);if(l==="string"&&f.substring(0,6)==="var(--"){f=_getComputedProperty(e,f.substring(4,f.indexOf(")")));h=parseFloat(f)}if(!y){P=e._gsap;P.renderTransform&&!i.parseTransform||_parseTransform(e,i.parseTransform);T=i.smoothOrigin!==false&&P.smooth;y=this._pt=new PropTween(this._pt,a,_transformProp,0,1,P.renderTransform,P,0,-1);y.dep=1}if(d==="scale"){this._pt=new PropTween(this._pt,P,"scaleY",P.scaleY,(v?_parseRelative(P.scaleY,v+h):h)-P.scaleY||0,_renderCSSProp);this._pt.u=0;o.push("scaleY",d);d+="X"}else if(d==="transformOrigin"){x.push(_transformOriginProp,0,a[_transformOriginProp]);f=_convertKeywordsToPercentages(f);if(P.svg){_applySVGOrigin(e,f,0,T,0,this)}else{g=parseFloat(f.split(" ")[2])||0;g!==P.zOrigin&&_addNonTweeningPT(this,P,"zOrigin",P.zOrigin,g);_addNonTweeningPT(this,a,d,_firstTwoOnly(_),_firstTwoOnly(f))}continue}else if(d==="svgOrigin"){_applySVGOrigin(e,f,1,T,0,this);continue}else if(d in _rotationalProperties){_addRotationalPropTween(this,P,d,c,v?_parseRelative(c,v+f):f);continue}else if(d==="smoothOrigin"){_addNonTweeningPT(this,P,"smooth",P.smooth,f);continue}else if(d==="force3D"){P[d]=f;continue}else if(d==="transform"){_addRawTransformPTs(this,f,e);continue}}else if(!(d in a)){d=_checkPropPrefix(d)||d}if(w||(h||h===0)&&(c||c===0)&&!_complexExp.test(f)&&d in a){m=(_+"").substr((c+"").length);h||(h=0);g=getUnit(f)||(d in _config.units?_config.units[d]:m);m!==g&&(c=_convertToUnit(e,d,_,g));this._pt=new PropTween(this._pt,w?P:a,d,c,(v?_parseRelative(c,v+h):h)-c,!w&&(g==="px"||d==="zIndex")&&i.autoRound!==false?_renderRoundedCSSProp:_renderCSSProp);this._pt.u=g||0;if(m!==g&&g!=="%"){this._pt.b=_;this._pt.r=_renderCSSPropWithBeginning}}else if(!(d in a)){if(d in e){this.add(e,d,_||e[d],v?v+f:f,n,s)}else if(d!=="parseTransform"){_missingPlugin(d,f);continue}}else{_tweenComplexCSSString.call(this,e,d,_,v?v+f:f)}w||(d in a?x.push(d,0,a[d]):typeof e[d]==="function"?x.push(d,2,e[d]()):x.push(d,1,_||e[d]));o.push(d)}}S&&_sortPropTweensByPriority(this)},render:function t(e,i){if(i.tween._time||!_reverting()){var r=i._pt;while(r){r.r(e,r.d);r=r._next}}else{i.styles.revert()}},get:_get,aliases:_propertyAliases,getSetter:function t(e,i,r){var n=_propertyAliases[i];n&&n.indexOf(",")<0&&(i=n);return i in _transformProps&&i!==_transformOriginProp&&(e._gsap.x||_get(e,"x"))?r&&_recentSetterPlugin===r?i==="scale"?_setterScale:_setterTransform:(_recentSetterPlugin=r||{})&&(i==="scale"?_setterScaleWithRender:_setterTransformWithRender):e.style&&!_isUndefined(e.style[i])?_setterCSSStyle:~i.indexOf("-")?_setterCSSProp:_getSetter(e,i)},core:{_removeProperty:_removeProperty,_getMatrix:_getMatrix}};gsap.utils.checkPrefix=_checkPropPrefix;gsap.core.getStyleSaver=_getStyleSaver;(function(t,e,i,r){var n=_forEachName(t+","+e+","+i,(function(t){_transformProps[t]=1}));_forEachName(e,(function(t){_config.units[t]="deg";_rotationalProperties[t]=1}));_propertyAliases[n[13]]=t+","+e;_forEachName(r,(function(t){var e=t.split(":");_propertyAliases[e[1]]=n[e[0]]}))})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");_forEachName("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){_config.units[t]="px"}));gsap.registerPlugin(CSSPlugin);var gsapWithCSS=gsap.registerPlugin(CSSPlugin)||gsap;var randomNumber=function(t,e,i){if(i===void 0){i=false}var r=Math.random()*(e-t)+t;return i?Math.floor(r):r};var mdsEmojiCss=':host{--mds-emoji-expression-follow-mouse-traits-duration:200ms;--mds-emoji-expression-follow-mouse-head-duration:300ms;--mds-emoji-expression-max-rotation:16deg;--mds-emoji-eyes:rgb(var(--label-yellow-04));--mds-emoji-head:rgb(var(--label-yellow-08));--mds-emoji-mouth:rgb(var(--label-yellow-06));--mds-emoji-hand:rgb(var(--label-yellow-06));--mds-emoji-perspective:400px;-ms-flex-align:stretch;align-items:stretch;aspect-ratio:1/1;display:-ms-flexbox;display:flex;height:3rem;-ms-flex-pack:stretch;justify-content:stretch;-webkit-perspective:var(--mds-emoji-perspective);perspective:var(--mds-emoji-perspective);-webkit-perspective-origin:center;perspective-origin:center;width:3rem}svg{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform 0.2s ease-out;transition:-webkit-transform 0.2s ease-out;transition:transform 0.2s ease-out;transition:transform 0.2s ease-out, -webkit-transform 0.2s ease-out}:host .head{fill:var(--mds-emoji-head)}:host .eye{fill:var(--mds-emoji-eyes)}:host .mouth{fill:var(--mds-emoji-mouth)}:host .hand{fill:var(--mds-emoji-hand);visibility:hidden}:host([name="hexabot"]){--mds-emoji-head:rgb(var(--variant-ai-08));--mds-emoji-eyes:rgb(var(--variant-ai-03));--mds-emoji-mouth:rgb(var(--variant-ai-06));--mds-emoji-hand:rgb(var(--variant-ai-06))}';var MdsEmojiStyle0=mdsEmojiCss;var MdsEmoji=function(){function t(t){var e=this;registerInstance(this,t);this.name="hexabot";this.isFollowingMouse=false;this.isBlinking=false;this.isThinking=false;this.faceOffsetX=0;this.faceOffsetY=0;this.mouseX=0;this.mouseY=0;this.currentRotateX=0;this.currentRotateY=0;this.expressionAngleMax=16;this.expressionFollowMouseHeadDuration=.3;this.expressionFollowMouseTraitsDuration=.2;this.handLeftGeometry={think:"M6 15C6.55228 15 7 15.4477 7 16V17H13C13.5523 17 14 17.4477 14 18C14 18.5523 13.5523 19 13 19H10.3818C11.1252 19 11.6088 19.7824 11.2764 20.4473L10.2764 22.4473C10.107 22.786 9.76059 23 9.38184 23H6V22.9541L5.85742 23H4V19L5 17V15H6Z"};this.eyeLeftGeometry={open:"M8 8H10V11H8V8Z",close:"M7 10H10V11H7V10Z"};this.eyeRightGeometry={open:"M14 8H16V11H14V8Z",close:"M14 10H17V11H14V10Z"};this.headGeometry={hexagon:"M7 3L1.5 12L7 21H17L22.5 12L17 3H7Z",hexagonRounded:"M6.12266 4.43565L2.45599 10.4356C1.86912 11.396 1.86912 12.604 2.45599 13.5643L6.12266 19.5644C6.66763 20.4561 7.6374 21 8.6825 21H15.3175C16.3626 21 17.3324 20.4561 17.8773 19.5644L21.544 13.5644C22.1309 12.604 22.1309 11.396 21.544 10.4357L17.8773 4.43565C17.3324 3.54389 16.3626 3 15.3175 3H8.6825C7.6374 3 6.66763 3.54389 6.12266 4.43565Z"};this.mouthGeometry={open:"M12 18C10.8954 18 10 16.8807 10 15.5C10 14.1193 10.8954 13 12 13C13.1046 13 14 14.1193 14 15.5C14 16.8807 13.1046 18 12 18Z",quiet:"M16 15H8C8 17 7.5 17 12 17C16.5 17 16 17 16 15Z",sad:"M8 17C8 15.3431 9.79086 14 12 14C14.1402 14 15.8881 15.2605 15.9951 16.8457L16 17L8 17Z",serious:"M9 15H15V17H9V15Z",think:"M8 14H16V16H8V14Z",happy:"M16 14H8C8.33333 15.3333 9 18 12 18C15 18 15.6667 15.3333 16 14Z",smile:"M16.707 15.707C15.4771 16.937 13.6985 17.5 12 17.5C10.3015 17.5 8.52294 16.937 7.29297 15.707L8.70703 14.293C9.47706 15.063 10.6985 15.5 12 15.5C13.3015 15.5 14.5229 15.063 15.293 14.293L16.707 15.707Z",smileLeft:"M10 14C10 15.1046 10.8954 16 12 16H14V18H12C9.79086 18 8 16.2091 8 14H10Z",smileRight:"M14 14C14 15.1046 13.1046 16 12 16H10V18H12C14.2091 18 16 16.2091 16 14H14Z"};this.getEmojiCenter=function(){var t=e.host.getBoundingClientRect();return{centerX:t.left+t.width/2,centerY:t.top+t.height/2}};this.stopConcurrentAnimations=function(){if(e.isThinking){e.stopThinking()}};this.setAgreeAnimation=function(){e.isFollowingMouse=false;gsapWithCSS.killTweensOf(e.emojiEl);var t=e.currentRotateX;var i=gsapWithCSS.timeline({onComplete:function(){gsapWithCSS.to(e.emojiEl,{rotateX:e.currentRotateX,rotateY:e.currentRotateY,duration:.3,ease:"power2.out",onComplete:function(){e.isFollowingMouse=true}})}});i.to(e.emojiEl,{rotateX:t-40,duration:.15,ease:"power2.out"}).to(e.emojiEl,{rotateX:t+20,duration:.2,ease:"power1.inOut"}).to(e.emojiEl,{rotateX:t-20,duration:.15,ease:"power2.inOut"}).to(e.emojiEl,{rotateX:t+5,duration:.2,ease:"power1.out"}).to(e.emojiEl,{rotateX:t,duration:.3,ease:"power3.out"});gsapWithCSS.fromTo(e.mouthEl,{attr:{d:e.mouthGeometry.happy}},{scaleY:.5,transformOrigin:"50% 50%",onComplete:function(){gsapWithCSS.fromTo(e.mouthEl,{attr:{d:e.mouthGeometry.smile}},{scaleY:1,transformOrigin:"50% 50%",duration:.2,ease:"expo.inOut"})},duration:.75,ease:"expo.inOut"})};this.setDisagreeAnimation=function(t){if(t===void 0){t=0}e.isFollowingMouse=false;gsapWithCSS.killTweensOf(e.emojiEl);var i=gsapWithCSS.timeline({onComplete:function(){gsapWithCSS.to(e.emojiEl,{rotateX:e.currentRotateX,rotateY:e.currentRotateY,duration:.3,ease:"power2.out",onComplete:function(){e.isFollowingMouse=true}})}});var r="power2.inOut";i.to(e.emojiEl,{rotateY:e.currentRotateY-40,duration:.25,ease:r}).to(e.emojiEl,{rotateY:e.currentRotateY+30,duration:.2,ease:r}).to(e.emojiEl,{rotateY:e.currentRotateY-20,duration:.15,ease:r}).to(e.emojiEl,{rotateY:e.currentRotateY+10,duration:.1,ease:r}).to(e.emojiEl,{rotateY:e.currentRotateY,duration:.3,ease:r});gsapWithCSS.to(e.mouthEl,{attr:{d:e.mouthGeometry.serious},duration:0,ease:"none",onComplete:function(){setTimeout((function(){gsapWithCSS.to(e.mouthEl,{attr:{d:e.mouthGeometry.serious},duration:0,ease:"none",onComplete:function(){if(t>0){setTimeout((function(){gsapWithCSS.to(e.mouthEl,{attr:{d:e.mouthGeometry.smile},duration:0,ease:"none"})}),t)}}})}),1e3)}})};this.moveEyesThinkAnimation=function(){var t;var i=randomNumber(.25,.75);var r="expo.Out";var n=1;var s=randomNumber(-1,1,true)*n;var o=((t=e.faceOffsetX)!==null&&t!==void 0?t:0)+s;gsapWithCSS.to(e.eyeLeftEl,{x:o,ease:r,duration:i});gsapWithCSS.to(e.eyeRightEl,{x:o,ease:r,duration:i,onComplete:function(){if(e.isThinking){e.moveEyesThinkAnimation()}else{gsapWithCSS.to(e.eyeLeftEl,{x:0,ease:"expo.inOut",duration:.5});gsapWithCSS.to(e.eyeRightEl,{x:0,ease:"expo.inOut",duration:.5})}}})};this.setStartThinkingAnimation=function(){var t=.5;var i="expo.inOut";e.handLeftEl.style.visibility="visible";gsapWithCSS.fromTo(e.handLeftEl,{scale:0,rotateZ:45},{scale:1,rotateZ:0,ease:i,duration:t});e.moveEyesThinkAnimation();gsapWithCSS.to(e.mouthEl,{attr:{d:e.mouthGeometry.think},duration:0,ease:"none"})};this.setStopThinkingAnimation=function(){var t=.5;var i="expo.inOut";gsapWithCSS.to(e.handLeftEl,{scale:0,y:0,rotateZ:45,ease:i,duration:t});gsapWithCSS.to(e.eyeLeftEl,{x:0,ease:"expo.inOut",duration:t});gsapWithCSS.to(e.eyeRightEl,{x:0,ease:"expo.inOut",duration:t});gsapWithCSS.to(e.mouthEl,{attr:{d:e.mouthGeometry.smile},duration:0,ease:"none"})};this.loopBlink=function(){e.blinkOnce();e.queueNextBlink()};this.queueNextBlink=function(){if(!e.isBlinking)return;e.blinkTimeout=setTimeout(e.loopBlink.bind(e),randomNumber(2e3,5e3))};this.blinkOnce=function(){var t=.15;var i=.15;gsapWithCSS.to(e.eyeLeftEl,{attr:{d:e.eyeLeftGeometry.close},duration:t,onComplete:function(){gsapWithCSS.to(e.eyeLeftEl,{attr:{d:e.eyeLeftGeometry.open},duration:i})}});gsapWithCSS.to(e.eyeRightEl,{attr:{d:e.eyeRightGeometry.close},duration:t,onComplete:function(){gsapWithCSS.to(e.eyeRightEl,{attr:{d:e.eyeRightGeometry.open},duration:i})}})};this.handleFollowMouse=function(t){if(!e.isFollowingMouse)return;e.mouseX=t.clientX;e.mouseY=t.clientY;e.followMouse()};this.followMouse=function(){var t=e.getEmojiCenter().centerX;var i=e.getEmojiCenter().centerY;var r=e.getEmojiCenter().centerX;var n=e.getEmojiCenter().centerY;var s="power1.out";if(e.isFollowingMouse){r=e.mouseX;n=e.mouseY}var o=e.host.getBoundingClientRect();var a=r-t;var u=n-i;var _=a/(o.width/2);var f=u/(o.height/2);e.currentRotateY=gsapWithCSS.utils.clamp(-e.expressionAngleMax,e.expressionAngleMax,_*e.expressionAngleMax);e.currentRotateX=gsapWithCSS.utils.clamp(-e.expressionAngleMax,e.expressionAngleMax,-f*e.expressionAngleMax);gsapWithCSS.to(e.emojiEl,{rotateX:e.currentRotateX,rotateY:e.currentRotateY,duration:e.expressionFollowMouseHeadDuration,ease:s});var h=1;e.faceOffsetX=gsapWithCSS.utils.clamp(-h,h,_*h);e.faceOffsetY=gsapWithCSS.utils.clamp(-h,h,f*h);gsapWithCSS.to(e.eyeLeftEl,{x:e.faceOffsetX,y:e.faceOffsetY,duration:e.expressionFollowMouseTraitsDuration,ease:s});gsapWithCSS.to(e.eyeRightEl,{x:e.faceOffsetX,y:e.faceOffsetY,duration:e.expressionFollowMouseTraitsDuration,ease:s});gsapWithCSS.to(e.handLeftEl,{x:e.faceOffsetX,y:e.faceOffsetY,duration:e.expressionFollowMouseTraitsDuration,ease:s});var c=gsapWithCSS.utils.clamp(-h,h,_*h);var l=gsapWithCSS.utils.clamp(-h,h,f*h);gsapWithCSS.to(e.mouthEl,{x:c,y:l,duration:e.expressionFollowMouseTraitsDuration,ease:s})};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(e.host);e.expressionAngleMax=cssRotationToNumber(t.getPropertyValue("--mds-emoji-expression-max-rotation"));e.expressionFollowMouseHeadDuration=cssDurationToSeconds(t.getPropertyValue("--mds-emoji-expression-follow-mouse-head-duration"));e.expressionFollowMouseTraitsDuration=cssDurationToSeconds(t.getPropertyValue("--mds-emoji-expression-follow-mouse-traits-duration"))}}t.prototype.agree=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.stopConcurrentAnimations();this.setAgreeAnimation();return[2,Promise.resolve()]}))}))};t.prototype.disagree=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=0}return __generator(this,(function(e){this.stopConcurrentAnimations();this.setDisagreeAnimation(t);return[2,Promise.resolve()]}))}))};t.prototype.startThinking=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isThinking=true;this.setStartThinkingAnimation();return[2,Promise.resolve()]}))}))};t.prototype.stopThinking=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isThinking=false;this.setStopThinkingAnimation();return[2,Promise.resolve()]}))}))};t.prototype.startBlinking=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.isBlinking)return[2];this.isBlinking=true;this.queueNextBlink();return[2,Promise.resolve()]}))}))};t.prototype.stopBlinking=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isBlinking=false;clearTimeout(this.blinkTimeout);return[2,Promise.resolve()]}))}))};t.prototype.stopFollowMouse=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isFollowingMouse=false;this.followMouse();return[2,Promise.resolve()]}))}))};t.prototype.startFollowMouse=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isFollowingMouse=true;this.followMouse();return[2,Promise.resolve()]}))}))};t.prototype.componentDidLoad=function(){if(!window)return;this.updateCSSCustomProps();window.addEventListener("mousemove",this.handleFollowMouse);this.headEl.setAttribute("d",this.headGeometry.hexagonRounded)};t.prototype.disconnectedCallback=function(){if(!window)return;window.removeEventListener("mousemove",this.handleFollowMouse)};t.prototype.render=function(){var t=this;return h(Host,{key:"27445bb72a3b9356d04c9f750659e340c55df645"},this.name==="hexabot"&&h("svg",{key:"dc5b2458b8d81a2442a17ab78977872d1e38980d",ref:function(e){return t.emojiEl=e},viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("path",{key:"1fcbc98434f91dde73cd07d0949fa204054f77b1",class:"head",ref:function(e){return t.headEl=e},d:this.headGeometry.hexagonRounded,fill:"black"}),h("path",{key:"83e37976089c0178c1fae60afbebc69c095c58ba",class:"eye",ref:function(e){return t.eyeLeftEl=e},d:this.eyeLeftGeometry.open,fill:"white"}),h("path",{key:"b269ce64bf75a48edcfda40ce43148e96aa01040",class:"eye",ref:function(e){return t.eyeRightEl=e},d:this.eyeRightGeometry.open,fill:"white"}),h("path",{key:"181b23f8bfe386eb904b03a2c701dc8afc897214",class:"mouth",ref:function(e){return t.mouthEl=e},d:this.mouthGeometry.smile,fill:"white"}),h("path",{key:"97f3ab4d10088161dee6c9e577815cb38ac5cbd0",class:"hand",ref:function(e){return t.handLeftEl=e},d:this.handLeftGeometry.think,fill:"white"})))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsEmoji.style=MdsEmojiStyle0;export{MdsEmoji as mds_emoji};
|
|
17
|
+
*/var _win,_doc,_docElement,_pluginInitted,_tempDiv,_recentSetterPlugin,_reverting,_windowExists=function t(){return typeof window!=="undefined"},_transformProps={},_RAD2DEG=180/Math.PI,_DEG2RAD=Math.PI/180,_atan2=Math.atan2,_bigNum=1e8,_capsExp=/([A-Z])/g,_horizontalExp=/(left|right|width|margin|padding|x)/i,_complexExp=/[\s,\(]\S/,_propertyAliases={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_renderCSSProp=function t(e,i){return i.set(i.t,i.p,Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},_renderPropWithEnd=function t(e,i){return i.set(i.t,i.p,e===1?i.e:Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},_renderCSSPropWithBeginning=function t(e,i){return i.set(i.t,i.p,e?Math.round((i.s+i.c*e)*1e4)/1e4+i.u:i.b,i)},_renderRoundedCSSProp=function t(e,i){var r=i.s+i.c*e;i.set(i.t,i.p,~~(r+(r<0?-.5:.5))+i.u,i)},_renderNonTweeningValue=function t(e,i){return i.set(i.t,i.p,e?i.e:i.b,i)},_renderNonTweeningValueOnlyAtEnd=function t(e,i){return i.set(i.t,i.p,e!==1?i.b:i.e,i)},_setterCSSStyle=function t(e,i,r){return e.style[i]=r},_setterCSSProp=function t(e,i,r){return e.style.setProperty(i,r)},_setterTransform=function t(e,i,r){return e._gsap[i]=r},_setterScale=function t(e,i,r){return e._gsap.scaleX=e._gsap.scaleY=r},_setterScaleWithRender=function t(e,i,r,n,s){var o=e._gsap;o.scaleX=o.scaleY=r;o.renderTransform(s,o)},_setterTransformWithRender=function t(e,i,r,n,s){var o=e._gsap;o[i]=r;o.renderTransform(s,o)},_transformProp="transform",_transformOriginProp=_transformProp+"Origin",_saveStyle=function t(e,i){var r=this;var n=this.target,s=n.style,o=n._gsap;if(e in _transformProps&&s){this.tfm=this.tfm||{};if(e!=="transform"){e=_propertyAliases[e]||e;~e.indexOf(",")?e.split(",").forEach((function(t){return r.tfm[t]=_get(n,t)})):this.tfm[e]=o.x?o[e]:_get(n,e);e===_transformOriginProp&&(this.tfm.zOrigin=o.zOrigin)}else{return _propertyAliases.transform.split(",").forEach((function(e){return t.call(r,e,i)}))}if(this.props.indexOf(_transformProp)>=0){return}if(o.svg){this.svgo=n.getAttribute("data-svg-origin");this.props.push(_transformOriginProp,i,"")}e=_transformProp}(s||i)&&this.props.push(e,i,s[e])},_removeIndependentTransforms=function t(e){if(e.translate){e.removeProperty("translate");e.removeProperty("scale");e.removeProperty("rotate")}},_revertStyle=function t(){var e=this.props,i=this.target,r=i.style,n=i._gsap,s,o;for(s=0;s<e.length;s+=3){if(!e[s+1]){e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(_capsExp,"-$1").toLowerCase())}else if(e[s+1]===2){i[e[s]](e[s+2])}else{i[e[s]]=e[s+2]}}if(this.tfm){for(o in this.tfm){n[o]=this.tfm[o]}if(n.svg){n.renderTransform();i.setAttribute("data-svg-origin",this.svgo||"")}s=_reverting();if((!s||!s.isStart)&&!r[_transformProp]){_removeIndependentTransforms(r);if(n.zOrigin&&r[_transformOriginProp]){r[_transformOriginProp]+=" "+n.zOrigin+"px";n.zOrigin=0;n.renderTransform()}n.uncache=1}}},_getStyleSaver=function t(e,i){var r={target:e,props:[],revert:_revertStyle,save:_saveStyle};e._gsap||gsap.core.getCache(e);i&&e.style&&e.nodeType&&i.split(",").forEach((function(t){return r.save(t)}));return r},_supports3D,_createElement=function t(e,i){var r=_doc.createElementNS?_doc.createElementNS((i||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):_doc.createElement(e);return r&&r.style?r:_doc.createElement(e)},_getComputedProperty=function t(e,i,r){var n=getComputedStyle(e);return n[i]||n.getPropertyValue(i.replace(_capsExp,"-$1").toLowerCase())||n.getPropertyValue(i)||!r&&t(e,_checkPropPrefix(i)||i,1)||""},_prefixes="O,Moz,ms,Ms,Webkit".split(","),_checkPropPrefix=function t(e,i,r){var n=i||_tempDiv,s=n.style,o=5;if(e in s&&!r){return e}e=e.charAt(0).toUpperCase()+e.substr(1);while(o--&&!(_prefixes[o]+e in s)){}return o<0?null:(o===3?"ms":o>=0?_prefixes[o]:"")+e},_initCore=function t(){if(_windowExists()&&window.document){_win=window;_doc=_win.document;_docElement=_doc.documentElement;_tempDiv=_createElement("div")||{style:{}};_createElement("div");_transformProp=_checkPropPrefix(_transformProp);_transformOriginProp=_transformProp+"Origin";_tempDiv.style.cssText="border-width:0;line-height:0;position:absolute;padding:0";_supports3D=!!_checkPropPrefix("perspective");_reverting=gsap.core.reverting;_pluginInitted=1}},_getReparentedCloneBBox=function t(e){var i=e.ownerSVGElement,r=_createElement("svg",i&&i.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(true),s;n.style.display="block";r.appendChild(n);_docElement.appendChild(r);try{s=n.getBBox()}catch(t){}r.removeChild(n);_docElement.removeChild(r);return s},_getAttributeFallbacks=function t(e,i){var r=i.length;while(r--){if(e.hasAttribute(i[r])){return e.getAttribute(i[r])}}},_getBBox=function t(e){var i,r;try{i=e.getBBox()}catch(t){i=_getReparentedCloneBBox(e);r=1}i&&(i.width||i.height)||r||(i=_getReparentedCloneBBox(e));return i&&!i.width&&!i.x&&!i.y?{x:+_getAttributeFallbacks(e,["x","cx","x1"])||0,y:+_getAttributeFallbacks(e,["y","cy","y1"])||0,width:0,height:0}:i},_isSVG=function t(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&_getBBox(e))},_removeProperty=function t(e,i){if(i){var r=e.style,n;if(i in _transformProps&&i!==_transformOriginProp){i=_transformProp}if(r.removeProperty){n=i.substr(0,2);if(n==="ms"||i.substr(0,6)==="webkit"){i="-"+i}r.removeProperty(n==="--"?i:i.replace(_capsExp,"-$1").toLowerCase())}else{r.removeAttribute(i)}}},_addNonTweeningPT=function t(e,i,r,n,s,o){var a=new PropTween(e._pt,i,r,0,1,o?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue);e._pt=a;a.b=n;a.e=s;e._props.push(r);return a},_nonConvertibleUnits={deg:1,rad:1,turn:1},_nonStandardLayouts={grid:1,flex:1},_convertToUnit=function t(e,i,r,n){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=_tempDiv.style,u=_horizontalExp.test(i),_=e.tagName.toLowerCase()==="svg",f=(_?"client":"offset")+(u?"Width":"Height"),h=100,l=n==="px",c=n==="%",p,d,m,g;if(n===o||!s||_nonConvertibleUnits[n]||_nonConvertibleUnits[o]){return s}o!=="px"&&!l&&(s=t(e,i,r,"px"));g=e.getCTM&&_isSVG(e);if((c||o==="%")&&(_transformProps[i]||~i.indexOf("adius"))){p=g?e.getBBox()[u?"width":"height"]:e[f];return _round(c?s/p*h:s/100*p)}a[u?"width":"height"]=h+(l?o:n);d=n!=="rem"&&~i.indexOf("adius")||n==="em"&&e.appendChild&&!_?e:e.parentNode;if(g){d=(e.ownerSVGElement||{}).parentNode}if(!d||d===_doc||!d.appendChild){d=_doc.body}m=d._gsap;if(m&&c&&m.width&&u&&m.time===_ticker.time&&!m.uncache){return _round(s/m.width*h)}else{if(c&&(i==="height"||i==="width")){var v=e.style[i];e.style[i]=h+n;p=e[f];v?e.style[i]=v:_removeProperty(e,i)}else{(c||o==="%")&&!_nonStandardLayouts[_getComputedProperty(d,"display")]&&(a.position=_getComputedProperty(e,"position"));d===e&&(a.position="static");d.appendChild(_tempDiv);p=_tempDiv[f];d.removeChild(_tempDiv);a.position="absolute"}if(u&&c){m=_getCache(d);m.time=_ticker.time;m.width=d[f]}}return _round(l?p*s/h:p&&s?h/p*s:0)},_get=function t(e,i,r,n){var s;_pluginInitted||_initCore();if(i in _propertyAliases&&i!=="transform"){i=_propertyAliases[i];if(~i.indexOf(",")){i=i.split(",")[0]}}if(_transformProps[i]&&i!=="transform"){s=_parseTransform(e,n);s=i!=="transformOrigin"?s[i]:s.svg?s.origin:_firstTwoOnly(_getComputedProperty(e,_transformOriginProp))+" "+s.zOrigin+"px"}else{s=e.style[i];if(!s||s==="auto"||n||~(s+"").indexOf("calc(")){s=_specialProps[i]&&_specialProps[i](e,i,r)||_getComputedProperty(e,i)||_getProperty(e,i)||(i==="opacity"?1:0)}}return r&&!~(s+"").trim().indexOf(" ")?_convertToUnit(e,i,s,r)+r:s},_tweenComplexCSSString=function t(e,i,r,n){if(!r||r==="none"){var s=_checkPropPrefix(i,e,1),o=s&&_getComputedProperty(e,s,1);if(o&&o!==r){i=s;r=o}else if(i==="borderColor"){r=_getComputedProperty(e,"borderTopColor")}}var a=new PropTween(this._pt,e.style,i,0,1,_renderComplexString),u=0,_=0,f,h,l,c,p,d,m,g,v,w,y,P;a.b=r;a.e=n;r+="";n+="";if(n.substring(0,6)==="var(--"){n=_getComputedProperty(e,n.substring(4,n.indexOf(")")))}if(n==="auto"){d=e.style[i];e.style[i]=n;n=_getComputedProperty(e,i)||n;d?e.style[i]=d:_removeProperty(e,i)}f=[r,n];_colorStringFilter(f);r=f[0];n=f[1];l=r.match(_numWithUnitExp)||[];P=n.match(_numWithUnitExp)||[];if(P.length){while(h=_numWithUnitExp.exec(n)){m=h[0];v=n.substring(u,h.index);if(p){p=(p+1)%5}else if(v.substr(-5)==="rgba("||v.substr(-5)==="hsla("){p=1}if(m!==(d=l[_++]||"")){c=parseFloat(d)||0;y=d.substr((c+"").length);m.charAt(1)==="="&&(m=_parseRelative(c,m)+y);g=parseFloat(m);w=m.substr((g+"").length);u=_numWithUnitExp.lastIndex-w.length;if(!w){w=w||_config.units[i]||y;if(u===n.length){n+=w;a.e+=w}}if(y!==w){c=_convertToUnit(e,i,d,w)||0}a._pt={_next:a._pt,p:v||_===1?v:",",s:c,c:g-c,m:p&&p<4||i==="zIndex"?Math.round:0}}}a.c=u<n.length?n.substring(u,n.length):""}else{a.r=i==="display"&&n==="none"?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue}_relExp.test(n)&&(a.e=0);this._pt=a;return a},_keywordToPercent={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},_convertKeywordsToPercentages=function t(e){var i=e.split(" "),r=i[0],n=i[1]||"50%";if(r==="top"||r==="bottom"||n==="left"||n==="right"){e=r;r=n;n=e}i[0]=_keywordToPercent[r]||r;i[1]=_keywordToPercent[n]||n;return i.join(" ")},_renderClearProps=function t(e,i){if(i.tween&&i.tween._time===i.tween._dur){var r=i.t,n=r.style,s=i.u,o=r._gsap,a,u,_;if(s==="all"||s===true){n.cssText="";u=1}else{s=s.split(",");_=s.length;while(--_>-1){a=s[_];if(_transformProps[a]){u=1;a=a==="transformOrigin"?_transformOriginProp:_transformProp}_removeProperty(r,a)}}if(u){_removeProperty(r,_transformProp);if(o){o.svg&&r.removeAttribute("transform");n.scale=n.rotate=n.translate="none";_parseTransform(r,1);o.uncache=1;_removeIndependentTransforms(n)}}}},_specialProps={clearProps:function t(e,i,r,n,s){if(s.data!=="isFromStart"){var o=e._pt=new PropTween(e._pt,i,r,0,0,_renderClearProps);o.u=n;o.pr=-10;o.tween=s;e._props.push(r);return 1}}},_identity2DMatrix=[1,0,0,1,0,0],_rotationalProperties={},_isNullTransform=function t(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},_getComputedTransformMatrixAsArray=function t(e){var i=_getComputedProperty(e,_transformProp);return _isNullTransform(i)?_identity2DMatrix:i.substr(7).match(_numExp).map(_round)},_getMatrix=function t(e,i){var r=e._gsap||_getCache(e),n=e.style,s=_getComputedTransformMatrixAsArray(e),o,a,u,_;if(r.svg&&e.getAttribute("transform")){u=e.transform.baseVal.consolidate().matrix;s=[u.a,u.b,u.c,u.d,u.e,u.f];return s.join(",")==="1,0,0,1,0,0"?_identity2DMatrix:s}else if(s===_identity2DMatrix&&!e.offsetParent&&e!==_docElement&&!r.svg){u=n.display;n.display="block";o=e.parentNode;if(!o||!e.offsetParent&&!e.getBoundingClientRect().width){_=1;a=e.nextElementSibling;_docElement.appendChild(e)}s=_getComputedTransformMatrixAsArray(e);u?n.display=u:_removeProperty(e,"display");if(_){a?o.insertBefore(e,a):o?o.appendChild(e):_docElement.removeChild(e)}}return i&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},_applySVGOrigin=function t(e,i,r,n,s,o){var a=e._gsap,u=s||_getMatrix(e,true),_=a.xOrigin||0,f=a.yOrigin||0,h=a.xOffset||0,l=a.yOffset||0,c=u[0],p=u[1],d=u[2],m=u[3],g=u[4],v=u[5],w=i.split(" "),y=parseFloat(w[0])||0,P=parseFloat(w[1])||0,T,S,x,b;if(!r){T=_getBBox(e);y=T.x+(~w[0].indexOf("%")?y/100*T.width:y);P=T.y+(~(w[1]||w[0]).indexOf("%")?P/100*T.height:P)}else if(u!==_identity2DMatrix&&(S=c*m-p*d)){x=y*(m/S)+P*(-d/S)+(d*v-m*g)/S;b=y*(-p/S)+P*(c/S)-(c*v-p*g)/S;y=x;P=b}if(n||n!==false&&a.smooth){g=y-_;v=P-f;a.xOffset=h+(g*c+v*d)-g;a.yOffset=l+(g*p+v*m)-v}else{a.xOffset=a.yOffset=0}a.xOrigin=y;a.yOrigin=P;a.smooth=!!n;a.origin=i;a.originIsAbsolute=!!r;e.style[_transformOriginProp]="0px 0px";if(o){_addNonTweeningPT(o,a,"xOrigin",_,y);_addNonTweeningPT(o,a,"yOrigin",f,P);_addNonTweeningPT(o,a,"xOffset",h,a.xOffset);_addNonTweeningPT(o,a,"yOffset",l,a.yOffset)}e.setAttribute("data-svg-origin",y+" "+P)},_parseTransform=function t(e,i){var r=e._gsap||new GSCache(e);if("x"in r&&!i&&!r.uncache){return r}var n=e.style,s=r.scaleX<0,o="px",a="deg",u=getComputedStyle(e),_=_getComputedProperty(e,_transformOriginProp)||"0",f,h,l,c,p,d,m,g,v,w,y,P,T,S,x,b,C,M,E,k,F,N,A,D,O,R,I,z,W,L,$,U;f=h=l=d=m=g=v=w=y=0;c=p=1;r.svg=!!(e.getCTM&&_isSVG(e));if(u.translate){if(u.translate!=="none"||u.scale!=="none"||u.rotate!=="none"){n[_transformProp]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[_transformProp]!=="none"?u[_transformProp]:"")}n.scale=n.rotate=n.translate="none"}S=_getMatrix(e,r.svg);if(r.svg){if(r.uncache){O=e.getBBox();_=r.xOrigin-O.x+"px "+(r.yOrigin-O.y)+"px";D=""}else{D=!i&&e.getAttribute("data-svg-origin")}_applySVGOrigin(e,D||_,!!D||r.originIsAbsolute,r.smooth!==false,S)}P=r.xOrigin||0;T=r.yOrigin||0;if(S!==_identity2DMatrix){M=S[0];E=S[1];k=S[2];F=S[3];f=N=S[4];h=A=S[5];if(S.length===6){c=Math.sqrt(M*M+E*E);p=Math.sqrt(F*F+k*k);d=M||E?_atan2(E,M)*_RAD2DEG:0;v=k||F?_atan2(k,F)*_RAD2DEG+d:0;v&&(p*=Math.abs(Math.cos(v*_DEG2RAD)));if(r.svg){f-=P-(P*M+T*k);h-=T-(P*E+T*F)}}else{U=S[6];L=S[7];I=S[8];z=S[9];W=S[10];$=S[11];f=S[12];h=S[13];l=S[14];x=_atan2(U,W);m=x*_RAD2DEG;if(x){b=Math.cos(-x);C=Math.sin(-x);D=N*b+I*C;O=A*b+z*C;R=U*b+W*C;I=N*-C+I*b;z=A*-C+z*b;W=U*-C+W*b;$=L*-C+$*b;N=D;A=O;U=R}x=_atan2(-k,W);g=x*_RAD2DEG;if(x){b=Math.cos(-x);C=Math.sin(-x);D=M*b-I*C;O=E*b-z*C;R=k*b-W*C;$=F*C+$*b;M=D;E=O;k=R}x=_atan2(E,M);d=x*_RAD2DEG;if(x){b=Math.cos(x);C=Math.sin(x);D=M*b+E*C;O=N*b+A*C;E=E*b-M*C;A=A*b-N*C;M=D;N=O}if(m&&Math.abs(m)+Math.abs(d)>359.9){m=d=0;g=180-g}c=_round(Math.sqrt(M*M+E*E+k*k));p=_round(Math.sqrt(A*A+U*U));x=_atan2(N,A);v=Math.abs(x)>2e-4?x*_RAD2DEG:0;y=$?1/($<0?-$:$):0}if(r.svg){D=e.getAttribute("transform");r.forceCSS=e.setAttribute("transform","")||!_isNullTransform(_getComputedProperty(e,_transformProp));D&&e.setAttribute("transform",D)}}if(Math.abs(v)>90&&Math.abs(v)<270){if(s){c*=-1;v+=d<=0?180:-180;d+=d<=0?180:-180}else{p*=-1;v+=v<=0?180:-180}}i=i||r.uncache;r.x=f-((r.xPercent=f&&(!i&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-f)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o;r.y=h-((r.yPercent=h&&(!i&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o;r.z=l+o;r.scaleX=_round(c);r.scaleY=_round(p);r.rotation=_round(d)+a;r.rotationX=_round(m)+a;r.rotationY=_round(g)+a;r.skewX=v+a;r.skewY=w+a;r.transformPerspective=y+o;if(r.zOrigin=parseFloat(_.split(" ")[2])||!i&&r.zOrigin||0){n[_transformOriginProp]=_firstTwoOnly(_)}r.xOffset=r.yOffset=0;r.force3D=_config.force3D;r.renderTransform=r.svg?_renderSVGTransforms:_supports3D?_renderCSSTransforms:_renderNon3DTransforms;r.uncache=0;return r},_firstTwoOnly=function t(e){return(e=e.split(" "))[0]+" "+e[1]},_addPxTranslate=function t(e,i,r){var n=getUnit(i);return _round(parseFloat(i)+parseFloat(_convertToUnit(e,"x",r+"px",n)))+n},_renderNon3DTransforms=function t(e,i){i.z="0px";i.rotationY=i.rotationX="0deg";i.force3D=0;_renderCSSTransforms(e,i)},_zeroDeg="0deg",_zeroPx="0px",_endParenthesis=") ",_renderCSSTransforms=function t(e,i){var r=i||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.z,_=r.rotation,f=r.rotationY,h=r.rotationX,l=r.skewX,c=r.skewY,p=r.scaleX,d=r.scaleY,m=r.transformPerspective,g=r.force3D,v=r.target,w=r.zOrigin,y="",P=g==="auto"&&e&&e!==1||g===true;if(w&&(h!==_zeroDeg||f!==_zeroDeg)){var T=parseFloat(f)*_DEG2RAD,S=Math.sin(T),x=Math.cos(T),b;T=parseFloat(h)*_DEG2RAD;b=Math.cos(T);o=_addPxTranslate(v,o,S*b*-w);a=_addPxTranslate(v,a,-Math.sin(T)*-w);u=_addPxTranslate(v,u,x*b*-w+w)}if(m!==_zeroPx){y+="perspective("+m+_endParenthesis}if(n||s){y+="translate("+n+"%, "+s+"%) "}if(P||o!==_zeroPx||a!==_zeroPx||u!==_zeroPx){y+=u!==_zeroPx||P?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+_endParenthesis}if(_!==_zeroDeg){y+="rotate("+_+_endParenthesis}if(f!==_zeroDeg){y+="rotateY("+f+_endParenthesis}if(h!==_zeroDeg){y+="rotateX("+h+_endParenthesis}if(l!==_zeroDeg||c!==_zeroDeg){y+="skew("+l+", "+c+_endParenthesis}if(p!==1||d!==1){y+="scale("+p+", "+d+_endParenthesis}v.style[_transformProp]=y||"translate(0, 0)"},_renderSVGTransforms=function t(e,i){var r=i||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.rotation,_=r.skewX,f=r.skewY,h=r.scaleX,l=r.scaleY,c=r.target,p=r.xOrigin,d=r.yOrigin,m=r.xOffset,g=r.yOffset,v=r.forceCSS,w=parseFloat(o),y=parseFloat(a),P,T,S,x,b;u=parseFloat(u);_=parseFloat(_);f=parseFloat(f);if(f){f=parseFloat(f);_+=f;u+=f}if(u||_){u*=_DEG2RAD;_*=_DEG2RAD;P=Math.cos(u)*h;T=Math.sin(u)*h;S=Math.sin(u-_)*-l;x=Math.cos(u-_)*l;if(_){f*=_DEG2RAD;b=Math.tan(_-f);b=Math.sqrt(1+b*b);S*=b;x*=b;if(f){b=Math.tan(f);b=Math.sqrt(1+b*b);P*=b;T*=b}}P=_round(P);T=_round(T);S=_round(S);x=_round(x)}else{P=h;x=l;T=S=0}if(w&&!~(o+"").indexOf("px")||y&&!~(a+"").indexOf("px")){w=_convertToUnit(c,"x",o,"px");y=_convertToUnit(c,"y",a,"px")}if(p||d||m||g){w=_round(w+p-(p*P+d*S)+m);y=_round(y+d-(p*T+d*x)+g)}if(n||s){b=c.getBBox();w=_round(w+n/100*b.width);y=_round(y+s/100*b.height)}b="matrix("+P+","+T+","+S+","+x+","+w+","+y+")";c.setAttribute("transform",b);v&&(c.style[_transformProp]=b)},_addRotationalPropTween=function t(e,i,r,n,s){var o=360,a=_isString(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?_RAD2DEG:1),_=u-n,f=n+_+"deg",h,l;if(a){h=s.split("_")[1];if(h==="short"){_%=o;if(_!==_%(o/2)){_+=_<0?o:-o}}if(h==="cw"&&_<0){_=(_+o*_bigNum)%o-~~(_/o)*o}else if(h==="ccw"&&_>0){_=(_-o*_bigNum)%o-~~(_/o)*o}}e._pt=l=new PropTween(e._pt,i,r,n,_,_renderPropWithEnd);l.e=f;l.u="deg";e._props.push(r);return l},_assign=function t(e,i){for(var r in i){e[r]=i[r]}return e},_addRawTransformPTs=function t(e,i,r){var n=_assign({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,u,_,f,h,l,c,p;if(n.svg){_=r.getAttribute("transform");r.setAttribute("transform","");o[_transformProp]=i;a=_parseTransform(r,1);_removeProperty(r,_transformProp);r.setAttribute("transform",_)}else{_=getComputedStyle(r)[_transformProp];o[_transformProp]=i;a=_parseTransform(r,1);o[_transformProp]=_}for(u in _transformProps){_=n[u];f=a[u];if(_!==f&&s.indexOf(u)<0){c=getUnit(_);p=getUnit(f);h=c!==p?_convertToUnit(r,u,_,p):parseFloat(_);l=parseFloat(f);e._pt=new PropTween(e._pt,a,u,h,l-h,_renderCSSProp);e._pt.u=p||0;e._props.push(u)}}_assign(a,n)};_forEachName("padding,margin,Width,Radius",(function(t,e){var i="Top",r="Right",n="Bottom",s="Left",o=(e<3?[i,r,n,s]:[i+s,i+r,n+r,n+s]).map((function(i){return e<2?t+i:"border"+i+t}));_specialProps[e>1?"border"+t:t]=function(t,e,i,r,n){var s,a;if(arguments.length<4){s=o.map((function(e){return _get(t,e,i)}));a=s.join(" ");return a.split(s[0]).length===5?s[0]:a}s=(r+"").split(" ");a={};o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]}));t.init(e,a,n)}}));var CSSPlugin={name:"css",register:_initCore,targetTest:function t(e){return e.style&&e.nodeType},init:function t(e,i,r,n,s){var o=this._props,a=e.style,u=r.vars.startAt,_,f,h,l,c,p,d,m,g,v,w,y,P,T,S,x;_pluginInitted||_initCore();this.styles=this.styles||_getStyleSaver(e);x=this.styles.props;this.tween=r;for(d in i){if(d==="autoRound"){continue}f=i[d];if(_plugins[d]&&_checkPlugin(d,i,r,n,e,s)){continue}c=typeof f;p=_specialProps[d];if(c==="function"){f=f.call(r,n,e,s);c=typeof f}if(c==="string"&&~f.indexOf("random(")){f=_replaceRandom(f)}if(p){p(this,e,d,f,r)&&(S=1)}else if(d.substr(0,2)==="--"){_=(getComputedStyle(e).getPropertyValue(d)+"").trim();f+="";_colorExp.lastIndex=0;if(!_colorExp.test(_)){m=getUnit(_);g=getUnit(f)}g?m!==g&&(_=_convertToUnit(e,d,_,g)+g):m&&(f+=m);this.add(a,"setProperty",_,f,n,s,0,0,d);o.push(d);x.push(d,0,a[d])}else if(c!=="undefined"){if(u&&d in u){_=typeof u[d]==="function"?u[d].call(r,n,e,s):u[d];_isString(_)&&~_.indexOf("random(")&&(_=_replaceRandom(_));getUnit(_+"")||_==="auto"||(_+=_config.units[d]||getUnit(_get(e,d))||"");(_+"").charAt(1)==="="&&(_=_get(e,d))}else{_=_get(e,d)}l=parseFloat(_);v=c==="string"&&f.charAt(1)==="="&&f.substr(0,2);v&&(f=f.substr(2));h=parseFloat(f);if(d in _propertyAliases){if(d==="autoAlpha"){if(l===1&&_get(e,"visibility")==="hidden"&&h){l=0}x.push("visibility",0,a.visibility);_addNonTweeningPT(this,a,"visibility",l?"inherit":"hidden",h?"inherit":"hidden",!h)}if(d!=="scale"&&d!=="transform"){d=_propertyAliases[d];~d.indexOf(",")&&(d=d.split(",")[0])}}w=d in _transformProps;if(w){this.styles.save(d);if(c==="string"&&f.substring(0,6)==="var(--"){f=_getComputedProperty(e,f.substring(4,f.indexOf(")")));h=parseFloat(f)}if(!y){P=e._gsap;P.renderTransform&&!i.parseTransform||_parseTransform(e,i.parseTransform);T=i.smoothOrigin!==false&&P.smooth;y=this._pt=new PropTween(this._pt,a,_transformProp,0,1,P.renderTransform,P,0,-1);y.dep=1}if(d==="scale"){this._pt=new PropTween(this._pt,P,"scaleY",P.scaleY,(v?_parseRelative(P.scaleY,v+h):h)-P.scaleY||0,_renderCSSProp);this._pt.u=0;o.push("scaleY",d);d+="X"}else if(d==="transformOrigin"){x.push(_transformOriginProp,0,a[_transformOriginProp]);f=_convertKeywordsToPercentages(f);if(P.svg){_applySVGOrigin(e,f,0,T,0,this)}else{g=parseFloat(f.split(" ")[2])||0;g!==P.zOrigin&&_addNonTweeningPT(this,P,"zOrigin",P.zOrigin,g);_addNonTweeningPT(this,a,d,_firstTwoOnly(_),_firstTwoOnly(f))}continue}else if(d==="svgOrigin"){_applySVGOrigin(e,f,1,T,0,this);continue}else if(d in _rotationalProperties){_addRotationalPropTween(this,P,d,l,v?_parseRelative(l,v+f):f);continue}else if(d==="smoothOrigin"){_addNonTweeningPT(this,P,"smooth",P.smooth,f);continue}else if(d==="force3D"){P[d]=f;continue}else if(d==="transform"){_addRawTransformPTs(this,f,e);continue}}else if(!(d in a)){d=_checkPropPrefix(d)||d}if(w||(h||h===0)&&(l||l===0)&&!_complexExp.test(f)&&d in a){m=(_+"").substr((l+"").length);h||(h=0);g=getUnit(f)||(d in _config.units?_config.units[d]:m);m!==g&&(l=_convertToUnit(e,d,_,g));this._pt=new PropTween(this._pt,w?P:a,d,l,(v?_parseRelative(l,v+h):h)-l,!w&&(g==="px"||d==="zIndex")&&i.autoRound!==false?_renderRoundedCSSProp:_renderCSSProp);this._pt.u=g||0;if(m!==g&&g!=="%"){this._pt.b=_;this._pt.r=_renderCSSPropWithBeginning}}else if(!(d in a)){if(d in e){this.add(e,d,_||e[d],v?v+f:f,n,s)}else if(d!=="parseTransform"){_missingPlugin(d,f);continue}}else{_tweenComplexCSSString.call(this,e,d,_,v?v+f:f)}w||(d in a?x.push(d,0,a[d]):typeof e[d]==="function"?x.push(d,2,e[d]()):x.push(d,1,_||e[d]));o.push(d)}}S&&_sortPropTweensByPriority(this)},render:function t(e,i){if(i.tween._time||!_reverting()){var r=i._pt;while(r){r.r(e,r.d);r=r._next}}else{i.styles.revert()}},get:_get,aliases:_propertyAliases,getSetter:function t(e,i,r){var n=_propertyAliases[i];n&&n.indexOf(",")<0&&(i=n);return i in _transformProps&&i!==_transformOriginProp&&(e._gsap.x||_get(e,"x"))?r&&_recentSetterPlugin===r?i==="scale"?_setterScale:_setterTransform:(_recentSetterPlugin=r||{})&&(i==="scale"?_setterScaleWithRender:_setterTransformWithRender):e.style&&!_isUndefined(e.style[i])?_setterCSSStyle:~i.indexOf("-")?_setterCSSProp:_getSetter(e,i)},core:{_removeProperty:_removeProperty,_getMatrix:_getMatrix}};gsap.utils.checkPrefix=_checkPropPrefix;gsap.core.getStyleSaver=_getStyleSaver;(function(t,e,i,r){var n=_forEachName(t+","+e+","+i,(function(t){_transformProps[t]=1}));_forEachName(e,(function(t){_config.units[t]="deg";_rotationalProperties[t]=1}));_propertyAliases[n[13]]=t+","+e;_forEachName(r,(function(t){var e=t.split(":");_propertyAliases[e[1]]=n[e[0]]}))})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");_forEachName("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){_config.units[t]="px"}));gsap.registerPlugin(CSSPlugin);var gsapWithCSS=gsap.registerPlugin(CSSPlugin)||gsap;var randomNumber=function(t,e,i){if(i===void 0){i=false}var r=Math.random()*(e-t)+t;return i?Math.floor(r):r};var mdsEmojiCss=':host{--mds-emoji-expression-follow-mouse-traits-duration:200ms;--mds-emoji-expression-follow-mouse-head-duration:300ms;--mds-emoji-expression-max-rotation:16deg;--mds-emoji-eyes:rgb(var(--label-yellow-04));--mds-emoji-head:rgb(var(--label-yellow-08));--mds-emoji-mouth:rgb(var(--label-yellow-06));--mds-emoji-hand:rgb(var(--label-yellow-06));--mds-emoji-perspective:400px;-ms-flex-align:stretch;align-items:stretch;aspect-ratio:1/1;display:-ms-flexbox;display:flex;height:3rem;-ms-flex-pack:stretch;justify-content:stretch;-webkit-perspective:var(--mds-emoji-perspective);perspective:var(--mds-emoji-perspective);-webkit-perspective-origin:center;perspective-origin:center;width:3rem}svg{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform 0.2s ease-out;transition:-webkit-transform 0.2s ease-out;transition:transform 0.2s ease-out;transition:transform 0.2s ease-out, -webkit-transform 0.2s ease-out}:host .head{fill:var(--mds-emoji-head)}:host .eye{fill:var(--mds-emoji-eyes)}:host .mouth{fill:var(--mds-emoji-mouth)}:host .hand{fill:var(--mds-emoji-hand);visibility:hidden}:host([name="hexabot"]){--mds-emoji-head:rgb(var(--variant-ai-08));--mds-emoji-eyes:rgb(var(--variant-ai-03));--mds-emoji-mouth:rgb(var(--variant-ai-06));--mds-emoji-hand:rgb(var(--variant-ai-06))}';var MdsEmojiStyle0=mdsEmojiCss;var MdsEmoji=function(){function t(t){var e=this;registerInstance(this,t);this.name="hexabot";this.isFollowingMouse=false;this.isBlinking=false;this.isThinking=false;this.faceOffsetX=0;this.faceOffsetY=0;this.mouseX=0;this.mouseY=0;this.currentRotateX=0;this.currentRotateY=0;this.expressionAngleMax=16;this.expressionFollowMouseHeadDuration=.3;this.expressionFollowMouseTraitsDuration=.2;this.handLeftGeometry={think:"M6 15C6.55228 15 7 15.4477 7 16V17H13C13.5523 17 14 17.4477 14 18C14 18.5523 13.5523 19 13 19H10.3818C11.1252 19 11.6088 19.7824 11.2764 20.4473L10.2764 22.4473C10.107 22.786 9.76059 23 9.38184 23H6V22.9541L5.85742 23H4V19L5 17V15H6Z"};this.eyeLeftGeometry={open:"M8 8H10V11H8V8Z",close:"M7 10H10V11H7V10Z"};this.eyeRightGeometry={open:"M14 8H16V11H14V8Z",close:"M14 10H17V11H14V10Z"};this.headGeometry={hexagon:"M7 3L1.5 12L7 21H17L22.5 12L17 3H7Z",hexagonRounded:"M6.12266 4.43565L2.45599 10.4356C1.86912 11.396 1.86912 12.604 2.45599 13.5643L6.12266 19.5644C6.66763 20.4561 7.6374 21 8.6825 21H15.3175C16.3626 21 17.3324 20.4561 17.8773 19.5644L21.544 13.5644C22.1309 12.604 22.1309 11.396 21.544 10.4357L17.8773 4.43565C17.3324 3.54389 16.3626 3 15.3175 3H8.6825C7.6374 3 6.66763 3.54389 6.12266 4.43565Z"};this.mouthGeometry={open:"M12 18C10.8954 18 10 16.8807 10 15.5C10 14.1193 10.8954 13 12 13C13.1046 13 14 14.1193 14 15.5C14 16.8807 13.1046 18 12 18Z",quiet:"M16 15H8C8 17 7.5 17 12 17C16.5 17 16 17 16 15Z",sad:"M8 17C8 15.3431 9.79086 14 12 14C14.1402 14 15.8881 15.2605 15.9951 16.8457L16 17L8 17Z",serious:"M9 15H15V17H9V15Z",think:"M8 14H16V16H8V14Z",happy:"M16 14H8C8.33333 15.3333 9 18 12 18C15 18 15.6667 15.3333 16 14Z",smile:"M16.707 15.707C15.4771 16.937 13.6985 17.5 12 17.5C10.3015 17.5 8.52294 16.937 7.29297 15.707L8.70703 14.293C9.47706 15.063 10.6985 15.5 12 15.5C13.3015 15.5 14.5229 15.063 15.293 14.293L16.707 15.707Z",smileLeft:"M10 14C10 15.1046 10.8954 16 12 16H14V18H12C9.79086 18 8 16.2091 8 14H10Z",smileRight:"M14 14C14 15.1046 13.1046 16 12 16H10V18H12C14.2091 18 16 16.2091 16 14H14Z"};this.getEmojiCenter=function(){var t=e.host.getBoundingClientRect();return{centerX:t.left+t.width/2,centerY:t.top+t.height/2}};this.stopConcurrentAnimations=function(){if(e.isThinking){e.stopThinking()}};this.setAgreeAnimation=function(){e.isFollowingMouse=false;gsapWithCSS.killTweensOf(e.emojiEl);var t=e.currentRotateX;var i=gsapWithCSS.timeline({onComplete:function(){gsapWithCSS.to(e.emojiEl,{rotateX:e.currentRotateX,rotateY:e.currentRotateY,duration:.3,ease:"power2.out",onComplete:function(){e.isFollowingMouse=true}})}});i.to(e.emojiEl,{rotateX:t-40,duration:.15,ease:"power2.out"}).to(e.emojiEl,{rotateX:t+20,duration:.2,ease:"power1.inOut"}).to(e.emojiEl,{rotateX:t-20,duration:.15,ease:"power2.inOut"}).to(e.emojiEl,{rotateX:t+5,duration:.2,ease:"power1.out"}).to(e.emojiEl,{rotateX:t,duration:.3,ease:"power3.out"});gsapWithCSS.fromTo(e.mouthEl,{attr:{d:e.mouthGeometry.happy}},{scaleY:.5,transformOrigin:"50% 50%",onComplete:function(){gsapWithCSS.fromTo(e.mouthEl,{attr:{d:e.mouthGeometry.smile}},{scaleY:1,transformOrigin:"50% 50%",duration:.2,ease:"expo.inOut"})},duration:.75,ease:"expo.inOut"})};this.setDisagreeAnimation=function(t){if(t===void 0){t=0}e.isFollowingMouse=false;gsapWithCSS.killTweensOf(e.emojiEl);var i=gsapWithCSS.timeline({onComplete:function(){gsapWithCSS.to(e.emojiEl,{rotateX:e.currentRotateX,rotateY:e.currentRotateY,duration:.3,ease:"power2.out",onComplete:function(){e.isFollowingMouse=true}})}});var r="power2.inOut";i.to(e.emojiEl,{rotateY:e.currentRotateY-40,duration:.25,ease:r}).to(e.emojiEl,{rotateY:e.currentRotateY+30,duration:.2,ease:r}).to(e.emojiEl,{rotateY:e.currentRotateY-20,duration:.15,ease:r}).to(e.emojiEl,{rotateY:e.currentRotateY+10,duration:.1,ease:r}).to(e.emojiEl,{rotateY:e.currentRotateY,duration:.3,ease:r});gsapWithCSS.to(e.mouthEl,{attr:{d:e.mouthGeometry.serious},duration:0,ease:"none",onComplete:function(){setTimeout((function(){gsapWithCSS.to(e.mouthEl,{attr:{d:e.mouthGeometry.serious},duration:0,ease:"none",onComplete:function(){if(t>0){setTimeout((function(){gsapWithCSS.to(e.mouthEl,{attr:{d:e.mouthGeometry.smile},duration:0,ease:"none"})}),t)}}})}),1e3)}})};this.moveEyesThinkAnimation=function(){var t;var i=randomNumber(.25,.75);var r="expo.Out";var n=1;var s=randomNumber(-1,1,true)*n;var o=((t=e.faceOffsetX)!==null&&t!==void 0?t:0)+s;gsapWithCSS.to(e.eyeLeftEl,{x:o,ease:r,duration:i});gsapWithCSS.to(e.eyeRightEl,{x:o,ease:r,duration:i,onComplete:function(){if(e.isThinking){e.moveEyesThinkAnimation()}else{gsapWithCSS.to(e.eyeLeftEl,{x:0,ease:"expo.inOut",duration:.5});gsapWithCSS.to(e.eyeRightEl,{x:0,ease:"expo.inOut",duration:.5})}}})};this.setStartThinkingAnimation=function(){var t=.5;var i="expo.inOut";e.handLeftEl.style.visibility="visible";gsapWithCSS.fromTo(e.handLeftEl,{scale:0,rotateZ:45},{scale:1,rotateZ:0,ease:i,duration:t});e.moveEyesThinkAnimation();gsapWithCSS.to(e.mouthEl,{attr:{d:e.mouthGeometry.think},duration:0,ease:"none"})};this.setStopThinkingAnimation=function(){var t=.5;var i="expo.inOut";gsapWithCSS.to(e.handLeftEl,{scale:0,y:0,rotateZ:45,ease:i,duration:t});gsapWithCSS.to(e.eyeLeftEl,{x:0,ease:"expo.inOut",duration:t});gsapWithCSS.to(e.eyeRightEl,{x:0,ease:"expo.inOut",duration:t});gsapWithCSS.to(e.mouthEl,{attr:{d:e.mouthGeometry.smile},duration:0,ease:"none"})};this.loopBlink=function(){e.blinkOnce();e.queueNextBlink()};this.queueNextBlink=function(){if(!e.isBlinking)return;e.blinkTimeout=setTimeout(e.loopBlink.bind(e),randomNumber(2e3,5e3))};this.blinkOnce=function(){var t=.15;var i=.15;gsapWithCSS.to(e.eyeLeftEl,{attr:{d:e.eyeLeftGeometry.close},duration:t,onComplete:function(){gsapWithCSS.to(e.eyeLeftEl,{attr:{d:e.eyeLeftGeometry.open},duration:i})}});gsapWithCSS.to(e.eyeRightEl,{attr:{d:e.eyeRightGeometry.close},duration:t,onComplete:function(){gsapWithCSS.to(e.eyeRightEl,{attr:{d:e.eyeRightGeometry.open},duration:i})}})};this.handleFollowMouse=function(t){if(!e.isFollowingMouse)return;e.mouseX=t.clientX;e.mouseY=t.clientY;e.followMouse()};this.followMouse=function(){var t=e.getEmojiCenter().centerX;var i=e.getEmojiCenter().centerY;var r=e.getEmojiCenter().centerX;var n=e.getEmojiCenter().centerY;var s="power1.out";if(e.isFollowingMouse){r=e.mouseX;n=e.mouseY}var o=e.host.getBoundingClientRect();var a=r-t;var u=n-i;var _=a/(o.width/2);var f=u/(o.height/2);e.currentRotateY=gsapWithCSS.utils.clamp(-e.expressionAngleMax,e.expressionAngleMax,_*e.expressionAngleMax);e.currentRotateX=gsapWithCSS.utils.clamp(-e.expressionAngleMax,e.expressionAngleMax,-f*e.expressionAngleMax);gsapWithCSS.to(e.emojiEl,{rotateX:e.currentRotateX,rotateY:e.currentRotateY,duration:e.expressionFollowMouseHeadDuration,ease:s});var h=1;e.faceOffsetX=gsapWithCSS.utils.clamp(-h,h,_*h);e.faceOffsetY=gsapWithCSS.utils.clamp(-h,h,f*h);gsapWithCSS.to(e.eyeLeftEl,{x:e.faceOffsetX,y:e.faceOffsetY,duration:e.expressionFollowMouseTraitsDuration,ease:s});gsapWithCSS.to(e.eyeRightEl,{x:e.faceOffsetX,y:e.faceOffsetY,duration:e.expressionFollowMouseTraitsDuration,ease:s});gsapWithCSS.to(e.handLeftEl,{x:e.faceOffsetX,y:e.faceOffsetY,duration:e.expressionFollowMouseTraitsDuration,ease:s});var l=gsapWithCSS.utils.clamp(-h,h,_*h);var c=gsapWithCSS.utils.clamp(-h,h,f*h);gsapWithCSS.to(e.mouthEl,{x:l,y:c,duration:e.expressionFollowMouseTraitsDuration,ease:s})};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(e.host);e.expressionAngleMax=cssRotationToNumber(t.getPropertyValue("--mds-emoji-expression-max-rotation"));e.expressionFollowMouseHeadDuration=cssDurationToSeconds(t.getPropertyValue("--mds-emoji-expression-follow-mouse-head-duration"));e.expressionFollowMouseTraitsDuration=cssDurationToSeconds(t.getPropertyValue("--mds-emoji-expression-follow-mouse-traits-duration"))}}t.prototype.agree=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.stopConcurrentAnimations();this.setAgreeAnimation();return[2,Promise.resolve()]}))}))};t.prototype.disagree=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=0}return __generator(this,(function(e){this.stopConcurrentAnimations();this.setDisagreeAnimation(t);return[2,Promise.resolve()]}))}))};t.prototype.startThinking=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isThinking=true;this.setStartThinkingAnimation();return[2,Promise.resolve()]}))}))};t.prototype.stopThinking=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isThinking=false;this.setStopThinkingAnimation();return[2,Promise.resolve()]}))}))};t.prototype.startBlinking=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.isBlinking)return[2];this.isBlinking=true;this.queueNextBlink();return[2,Promise.resolve()]}))}))};t.prototype.stopBlinking=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isBlinking=false;clearTimeout(this.blinkTimeout);return[2,Promise.resolve()]}))}))};t.prototype.stopFollowMouse=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isFollowingMouse=false;this.followMouse();return[2,Promise.resolve()]}))}))};t.prototype.startFollowMouse=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isFollowingMouse=true;this.followMouse();return[2,Promise.resolve()]}))}))};t.prototype.componentDidLoad=function(){if(!window)return;this.updateCSSCustomProps();window.addEventListener("mousemove",this.handleFollowMouse);this.headEl.setAttribute("d",this.headGeometry.hexagonRounded)};t.prototype.disconnectedCallback=function(){if(!window)return;window.removeEventListener("mousemove",this.handleFollowMouse)};t.prototype.render=function(){var t=this;return h(Host,{key:"426c2dbb4cb80336f8897c8ae70049d3deef5a3b"},this.name==="hexabot"&&h("svg",{key:"f9ce19561efca4aebf8149aa74e08afe74cc3e9c",ref:function(e){return t.emojiEl=e},viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("path",{key:"f240afd90d41d7581678cf524ef91d0738954821",class:"head",ref:function(e){return t.headEl=e},d:this.headGeometry.hexagonRounded,fill:"black"}),h("path",{key:"6a8e51ad759a6db9fb97723d287a0fa4bde2db10",class:"eye",ref:function(e){return t.eyeLeftEl=e},d:this.eyeLeftGeometry.open,fill:"white"}),h("path",{key:"737dceb5d0f2e03097b9745d823f7f71f5a467c6",class:"eye",ref:function(e){return t.eyeRightEl=e},d:this.eyeRightGeometry.open,fill:"white"}),h("path",{key:"cb7132bdb42a7cd33218de1eeb7be5f620c104ba",class:"mouth",ref:function(e){return t.mouthEl=e},d:this.mouthGeometry.smile,fill:"white"}),h("path",{key:"3f04aa7216b868422217406347d85c6ef55e667d",class:"hand",ref:function(e){return t.handLeftEl=e},d:this.handLeftGeometry.think,fill:"white"})))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsEmoji.style=MdsEmojiStyle0;export{MdsEmoji as mds_emoji};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host,g as getElement}from"./index-7f153b9b.js";var mdsEntityCss=':host{--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-02));--mds-entity-detail-color:rgb(var(--tone-neutral-03));--mds-entity-icon-background:rgb(var(--label-blue-09));--mds-entity-icon-radius:0.25rem;--mds-entity-icon-color:rgb(var(--label-blue-04));--mds-entity-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);gap:0.5rem;border-radius:0.5rem;padding:0.5rem;-ms-flex-align:stretch;align-items:stretch;background-color:var(--mds-entity-background);-webkit-box-shadow:var(--mds-entity-shadow);box-shadow:var(--mds-entity-shadow);color:var(--mds-entity-color);display:-ms-flexbox;display:flex}.spinner,.preview,.delete{width:2.75rem;border-radius:0.25rem;-ms-flex-negative:0;flex-shrink:0}.preview{--mds-avatar-radius:var(--mds-entity-icon-radius)}.preview:not([variant]){--mds-avatar-color:var(--mds-entity-icon-color);--mds-avatar-background-color:var(--mds-entity-icon-background)}.spinner,.preview{aspect-ratio:1/1;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}.spinner{background-color:transparent;display:none;fill:var(--mds-entity-icon-color)}:host([await]:not([await="false"])) .spinner{display:-ms-inline-flexbox;display:inline-flex}mds-spinner{height:2.25rem;width:2.25rem}.infos{min-width:0rem;gap:0rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:center;justify-content:center;white-space:nowrap}.details{gap:0.25rem;-ms-flex-align:center;align-items:center;color:var(--mds-entity-detail-color);display:-ms-flexbox;display:flex}.actions{gap:0.5rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}::slotted([slot="action"]){aspect-ratio:1/1;width:2.75rem;height:auto}::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title{min-width:0rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:-ms-flexbox;display:flex}:host-context(.pref-contrast-more){--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-01));--mds-entity-detail-color:rgb(var(--tone-neutral-02));--mds-entity-icon-background:rgb(var(--label-blue-08));--mds-entity-icon-color:rgb(var(--label-blue-03));--mds-entity-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-01));--mds-entity-detail-color:rgb(var(--tone-neutral-02));--mds-entity-icon-background:rgb(var(--label-blue-08));--mds-entity-icon-color:rgb(var(--label-blue-03));--mds-entity-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-theme-dark){--mds-entity-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-entity-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsEntityStyle0=mdsEntityCss;var MdsEntity=function(){function t(t){registerInstance(this,t)}t.prototype.checkAvatar=function(){var t=false;if(this.src!==undefined){t=true}if(this.icon!==undefined){t=true}if(this.initials!==undefined){t=true}if(this.await){return false}return t};t.prototype.componentWillLoad=function(){this.details=this.hostElement.querySelector(':scope > [slot="detail"]')!==null;this.actions=this.hostElement.querySelector(':scope > [slot="action"]')!==null};t.prototype.render=function(){return h(Host,{key:"
|
|
1
|
+
import{r as registerInstance,h,H as Host,g as getElement}from"./index-7f153b9b.js";var mdsEntityCss=':host{--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-02));--mds-entity-detail-color:rgb(var(--tone-neutral-03));--mds-entity-icon-background:rgb(var(--label-blue-09));--mds-entity-icon-radius:0.25rem;--mds-entity-icon-color:rgb(var(--label-blue-04));--mds-entity-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);gap:0.5rem;border-radius:0.5rem;padding:0.5rem;-ms-flex-align:stretch;align-items:stretch;background-color:var(--mds-entity-background);-webkit-box-shadow:var(--mds-entity-shadow);box-shadow:var(--mds-entity-shadow);color:var(--mds-entity-color);display:-ms-flexbox;display:flex}.spinner,.preview,.delete{width:2.75rem;border-radius:0.25rem;-ms-flex-negative:0;flex-shrink:0}.preview{--mds-avatar-radius:var(--mds-entity-icon-radius)}.preview:not([variant]){--mds-avatar-color:var(--mds-entity-icon-color);--mds-avatar-background-color:var(--mds-entity-icon-background)}.spinner,.preview{aspect-ratio:1/1;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}.spinner{background-color:transparent;display:none;fill:var(--mds-entity-icon-color)}:host([await]:not([await="false"])) .spinner{display:-ms-inline-flexbox;display:inline-flex}mds-spinner{height:2.25rem;width:2.25rem}.infos{min-width:0rem;gap:0rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:center;justify-content:center;white-space:nowrap}.details{gap:0.25rem;-ms-flex-align:center;align-items:center;color:var(--mds-entity-detail-color);display:-ms-flexbox;display:flex}.actions{gap:0.5rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}::slotted([slot="action"]){aspect-ratio:1/1;width:2.75rem;height:auto}::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title{min-width:0rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:-ms-flexbox;display:flex}:host-context(.pref-contrast-more){--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-01));--mds-entity-detail-color:rgb(var(--tone-neutral-02));--mds-entity-icon-background:rgb(var(--label-blue-08));--mds-entity-icon-color:rgb(var(--label-blue-03));--mds-entity-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-01));--mds-entity-detail-color:rgb(var(--tone-neutral-02));--mds-entity-icon-background:rgb(var(--label-blue-08));--mds-entity-icon-color:rgb(var(--label-blue-03));--mds-entity-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-theme-dark){--mds-entity-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-entity-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsEntityStyle0=mdsEntityCss;var MdsEntity=function(){function t(t){registerInstance(this,t)}t.prototype.checkAvatar=function(){var t=false;if(this.src!==undefined){t=true}if(this.icon!==undefined){t=true}if(this.initials!==undefined){t=true}if(this.await){return false}return t};t.prototype.componentWillLoad=function(){this.details=this.hostElement.querySelector(':scope > [slot="detail"]')!==null;this.actions=this.hostElement.querySelector(':scope > [slot="action"]')!==null};t.prototype.render=function(){return h(Host,{key:"8a36994c8dba823ded1073269f7daba8761fb74c"},h("div",{key:"ff0fe77bfc04bfbc80028ddedbdfdf16ba1e76a5",class:"spinner",part:"spinner"},h("mds-spinner",{key:"16708efad1581c6be3f522e30fadf67dced790b2",running:true})),this.checkAvatar()&&h("mds-avatar",{key:"f175454b831126d2efaa021748e4f5da7d1fb827",class:"preview",icon:this.icon,initials:this.initials,src:this.src,tone:this.tone,variant:this.variant,part:"avatar"}),h("div",{key:"55431edca0683dbae25d19b538185e1c74552ca2",class:"infos"},h("slot",{key:"c79cf3176f50bee9cae1653b8271d665b001355e"}),this.details&&h("div",{key:"0ab6bab732c454d92305f9c4d3cdaa5f3b670bd4",class:"details"},h("slot",{key:"f7bc347f5f5ff968220d0d572c6758624db8283f",name:"detail"}))),this.actions&&h("div",{key:"062cc22d512b0298b3bbd71b435ed47e06e9fe18",class:"actions"},h("slot",{key:"9ac39cd0db729de640ef90b4c48b2bb59fe416e5",name:"action"})))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsEntity.style=MdsEntityStyle0;export{MdsEntity as mds_entity};
|