@yoobic/yobi 8.4.0-1 → 8.4.0-4
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/{annotations-helpers-6cf88388.js → annotations-helpers-fb554cca.js} +5 -8
- package/dist/cjs/{button.factory-932bd72a.js → button.factory-447750a5.js} +3 -3
- package/dist/cjs/{camera-helpers-5b2d9aee.js → camera-helpers-c05b8a36.js} +3 -3
- package/dist/cjs/{chat-helpers-cf4fe10a.js → chat-helpers-96143740.js} +2 -2
- package/dist/cjs/{common-helpers-b5dffbf0.js → common-helpers-e50ce0da.js} +2 -2
- package/dist/cjs/{css-shim-32724599.js → css-shim-88dac74f.js} +1 -1
- package/dist/cjs/design-system.cjs.js +4 -4
- package/dist/cjs/{dom-43e82252.js → dom-d5e52c7e.js} +1 -1
- package/dist/cjs/{draggable-dots-helpers-0bcedddd.js → draggable-dots-helpers-e96aa924.js} +3 -3
- package/dist/cjs/{draggable-tags-helpers-c3b45c50.js → draggable-tags-helpers-8cfc3387.js} +20 -9
- package/dist/cjs/{entities-helpers-ee8ddad2.js → entities-helpers-d2a21bb4.js} +3 -3
- package/dist/cjs/{filters-helpers-1a158015.js → filters-helpers-764f118e.js} +4 -4
- package/dist/cjs/{form-choice-helpers-e379fcdb.js → form-choice-helpers-d02190b7.js} +6 -6
- package/dist/cjs/{form-helpers-1199447d.js → form-helpers-fd628ccf.js} +3 -3
- package/dist/cjs/{form-input-helpers-ec57d25a.js → form-input-helpers-e5e45d22.js} +4 -4
- package/dist/cjs/{form-text-area-helpers-7986c98b.js → form-text-area-helpers-57b7355f.js} +2 -2
- package/dist/cjs/{grid-renderers-069d4b84.js → grid-renderers-5e738b63.js} +7 -7
- package/dist/cjs/{incentive-helpers-c1138c8f.js → incentive-helpers-936c88d7.js} +3 -3
- package/dist/cjs/{index-50ff0b20.js → index-03502f1f.js} +72 -8
- package/dist/cjs/{index-90aab970.js → index-05b7e6b7.js} +1 -1
- package/dist/cjs/{index-7252f9bf.js → index-22cac8b6.js} +3 -1
- package/dist/cjs/index-337d272f.js +4 -0
- package/dist/cjs/{index-45ec9de9.js → index-42c99187.js} +2 -2
- package/dist/cjs/{index-d2efcff1.js → index-505040aa.js} +58 -82
- package/dist/cjs/{index-001d2377.js → index-5ecafe7a.js} +1 -1
- package/dist/cjs/{index-32730381.js → index-66c4a666.js} +2 -2
- package/dist/cjs/{index-5790c953.js → index-8ab047fa.js} +4 -4
- package/dist/cjs/index-aedee142.js +4 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{localForage-e9565b4e.js → localForage-b99b6f05.js} +2 -2
- package/dist/cjs/{map-helpers-3ea86a42.js → map-helpers-1c99f2ea.js} +2 -2
- package/dist/cjs/{mission-locked-banner-e754081d.js → mission-locked-banner-1e324ef8.js} +3 -3
- package/dist/cjs/{missions-helpers-c4b61bde.js → missions-helpers-d57a8fda.js} +2 -2
- package/dist/cjs/{modal-animations-c6145fcc.js → modal-animations-9e046137.js} +2 -2
- package/dist/cjs/{operation-helpers-8994d4c1.js → operation-helpers-f4a978aa.js} +22 -4
- package/dist/cjs/{overlays-cbf4604f.js → overlays-37e0e547.js} +2 -3
- package/dist/cjs/{overlays-f7624b4d.js → overlays-bc0e1a98.js} +1004 -505
- package/dist/cjs/{shadow-css-156bae30.js → shadow-css-2ffcf6b2.js} +1 -1
- package/dist/cjs/swiper-18e8ff65.js +15 -0
- package/dist/cjs/{tag.factory-e5dd505b.js → tag.factory-39fb9ba5.js} +1 -1
- package/dist/cjs/{theme-3eb8aecc.js → theme-81ce9807.js} +2 -2
- package/dist/cjs/{tippy.esm-cf218823.js → tippy.esm-2f58cea0.js} +61 -50
- package/dist/cjs/{video-player-helpers-f9ccc0d4.js → video-player-helpers-9781f1c3.js} +4 -4
- package/dist/cjs/{web-c10b041b.js → web-2f47baba.js} +4 -4
- package/dist/cjs/{web-9f6f55ea.js → web-944caa4b.js} +2 -2
- package/dist/cjs/{web-6c944897.js → web-a7b14e51.js} +2 -2
- package/dist/cjs/{web-866350b1.js → web-b4e2d040.js} +2 -2
- package/dist/cjs/yoo-about.cjs.entry.js +4 -4
- package/dist/cjs/yoo-accordion.cjs.entry.js +7 -7
- package/dist/cjs/yoo-action-sheet-controller.cjs.entry.js +5 -12
- package/dist/cjs/yoo-action-sheet.cjs.entry.js +7 -7
- package/dist/cjs/yoo-ag-grid.cjs.entry.js +9 -9
- package/dist/cjs/yoo-alert.cjs.entry.js +7 -7
- package/dist/cjs/yoo-amap.cjs.entry.js +6 -6
- package/dist/cjs/yoo-announcement-heading.cjs.entry.js +13 -9
- package/dist/cjs/yoo-app.cjs.entry.js +4 -4
- package/dist/cjs/yoo-audio-player.cjs.entry.js +5 -5
- package/dist/cjs/yoo-audio-recorder-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-avatar.cjs.entry.js +4 -4
- package/dist/cjs/yoo-avatars.cjs.entry.js +4 -4
- package/dist/cjs/yoo-background.cjs.entry.js +5 -5
- package/dist/cjs/yoo-badge.cjs.entry.js +2 -2
- package/dist/cjs/yoo-banner.cjs.entry.js +5 -5
- package/dist/cjs/yoo-barcode-dialog.cjs.entry.js +4 -4
- package/dist/cjs/yoo-barcode.cjs.entry.js +1 -1
- package/dist/cjs/yoo-battle-count-down.cjs.entry.js +5 -5
- package/dist/cjs/yoo-battle-result.cjs.entry.js +4 -4
- package/dist/cjs/yoo-battle-user-stats.cjs.entry.js +5 -5
- package/dist/cjs/yoo-breadcrumbs.cjs.entry.js +4 -4
- package/dist/cjs/yoo-button.cjs.entry.js +6 -6
- package/dist/cjs/yoo-buttons-list.cjs.entry.js +1 -1
- package/dist/cjs/yoo-calendar.cjs.entry.js +4 -4
- package/dist/cjs/yoo-camera-preview-dialog.cjs.entry.js +7 -7
- package/dist/cjs/yoo-card-avatar.cjs.entry.js +2 -2
- package/dist/cjs/yoo-card-avatars.cjs.entry.js +2 -2
- package/dist/cjs/yoo-card-battle-result.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-battle.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-calendar.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-campaign.cjs.entry.js +19 -12
- package/dist/cjs/yoo-card-cell.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-chat.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-course-row-compact.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-course-row.cjs.entry.js +6 -6
- package/dist/cjs/yoo-card-course.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-feed-row.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-feed.cjs.entry.js +12 -13
- package/dist/cjs/yoo-card-file.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-image.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-inbox.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-incentive-rank.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-incentive.cjs.entry.js +6 -6
- package/dist/cjs/yoo-card-kanban.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-lesson.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-list-collapsible.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-list-color.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-list-image.cjs.entry.js +1 -1
- package/dist/cjs/yoo-card-list-simple.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-list.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-location.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-media.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-menu.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-notification.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/yoo-card-plan.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-progress.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-recommendation.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-sticky.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-template.cjs.entry.js +1 -1
- package/dist/cjs/yoo-card-video.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card.cjs.entry.js +1 -1
- package/dist/cjs/yoo-chart-micro.cjs.entry.js +1 -1
- package/dist/cjs/yoo-chart.cjs.entry.js +4 -4
- package/dist/cjs/yoo-chat-message-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-chat-message-preview.cjs.entry.js +5 -5
- package/dist/cjs/yoo-chat-message.cjs.entry.js +6 -6
- package/dist/cjs/yoo-chat.cjs.entry.js +8 -8
- package/dist/cjs/yoo-collapsible.cjs.entry.js +4 -4
- package/dist/cjs/yoo-color-selector.cjs.entry.js +4 -4
- package/dist/cjs/yoo-community-detail.cjs.entry.js +5 -5
- package/dist/cjs/yoo-context-dialog.cjs.entry.js +1 -1
- package/dist/cjs/yoo-context-menu-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-context-menu.cjs.entry.js +5 -5
- package/dist/cjs/yoo-copyright.cjs.entry.js +4 -4
- package/dist/cjs/yoo-count-down.cjs.entry.js +5 -5
- package/dist/cjs/yoo-course-info-card.cjs.entry.js +4 -4
- package/dist/cjs/yoo-course-summary.cjs.entry.js +5 -5
- package/dist/cjs/yoo-dashboard-detail.cjs.entry.js +4 -4
- package/dist/cjs/yoo-date.cjs.entry.js +4 -4
- package/dist/cjs/yoo-detail-bar.cjs.entry.js +9 -9
- package/dist/cjs/yoo-device-list.cjs.entry.js +4 -4
- package/dist/cjs/yoo-device.cjs.entry.js +4 -4
- package/dist/cjs/yoo-display-increment.cjs.entry.js +1 -1
- package/dist/cjs/yoo-draw-flow.cjs.entry.js +4 -4
- package/dist/cjs/yoo-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/yoo-entity-query-builder.cjs.entry.js +7 -7
- package/dist/cjs/yoo-entity-search-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-entity-search-filters.cjs.entry.js +7 -7
- package/dist/cjs/yoo-entity-search-recent.cjs.entry.js +4 -4
- package/dist/cjs/yoo-entity-search-sorts.cjs.entry.js +5 -5
- package/dist/cjs/yoo-entity-search-tags.cjs.entry.js +5 -5
- package/dist/cjs/yoo-entity-search.cjs.entry.js +5 -5
- package/dist/cjs/yoo-entity.cjs.entry.js +18 -17
- package/dist/cjs/yoo-feed-detail.cjs.entry.js +7 -7
- package/dist/cjs/yoo-flag.cjs.entry.js +4 -4
- package/dist/cjs/yoo-flip-card.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-audience.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-autocomplete-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-autocomplete.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-barcode-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-barcode.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-calendar-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-capture-map-dialog.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-capture-tag-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-capture-view-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-capture-webcam-dialog.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-capture.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-carousel.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-catalog-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-catalog.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-categorize-words.cjs.entry.js +35 -43
- package/dist/cjs/yoo-form-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-checklist.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-choice-button.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-choice-card.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-choice-chat.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-choice-image.cjs.entry.js +10 -10
- package/dist/cjs/yoo-form-choice-radio.cjs.entry.js +9 -9
- package/dist/cjs/yoo-form-color-field.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-color-picker.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-conditions.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-connect.cjs.entry.js +12 -21
- package/dist/cjs/yoo-form-creator-block-expandable.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-creator-block-simple.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-creator-card.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-creator-condition-block.cjs.entry.js +9 -6
- package/dist/cjs/yoo-form-creator-field-selector.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-creator-header.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-creator-live-preview.cjs.entry.js +14 -9
- package/dist/cjs/yoo-form-creator-overlay.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-creator-page-card-list.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-creator-page-card.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-creator-restriction-selector.cjs.entry.js +16 -2
- package/dist/cjs/yoo-form-creator-score-expandable.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-creator-scoring-card-list.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-creator-scoring-card.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-creator-scoring-quick-setup.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-creator-translate-dialog.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-creator-translate.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-creator-workflow-card.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-creator-workflow-side-selection.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-creator-workflow-step.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-creator.cjs.entry.js +10 -10
- package/dist/cjs/yoo-form-date-time.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-daterange.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-document-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-document.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-dynamic-dialog.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-dynamic.cjs.entry.js +38 -33
- package/dist/cjs/yoo-form-emailreport.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-entity-value-pairs.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-explanation.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-feed-preview.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-feedback.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-filter-date.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-filter-number.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-filter-text.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-filter.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-footer.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-formula.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-hotzones-creator.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-hotzones.cjs.entry.js +45 -34
- package/dist/cjs/yoo-form-iframe-dialog.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-image-collection.cjs.entry.js +27 -23
- package/dist/cjs/yoo-form-image-tagging-creator.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-image-tagging.cjs.entry.js +69 -70
- package/dist/cjs/yoo-form-incentive-participants.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-incentive-targets.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-input-comments.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-input-container.cjs.entry.js +11 -32
- package/dist/cjs/yoo-form-input.cjs.entry.js +10 -10
- package/dist/cjs/yoo-form-json.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-location.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-missing-word.cjs.entry.js +52 -50
- package/dist/cjs/yoo-form-missionfield.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-multi-input.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-number-picker-dialog.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-number-picker.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-opening-hours.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-palette.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-permissions.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-phone-number.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-plan-assign.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-plan.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-pricecheck.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-product-batch.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-products-sales.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-progress-indicator.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-qrcode.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-query-builder.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-radio.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-range.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-ranking.cjs.entry.js +23 -11
- package/dist/cjs/yoo-form-recap-step.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-recurrence-delay.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-recurrence-preview.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-recurrence.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-reorder.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-scorm.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-shopping.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-signature-pad-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-signature-pad.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-sorts.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-star-rating.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-stripe-card.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-swipe-cards.cjs.entry.js +12 -15
- package/dist/cjs/yoo-form-table.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-task.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-text-area.cjs.entry.js +12 -20
- package/dist/cjs/yoo-form-text-editor.cjs.entry.js +81 -79
- package/dist/cjs/yoo-form-time.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-timeslots.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-todo-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-todo-single.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-todo-task-list.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-todo-task.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-todo.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-toggle.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-uploader.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-videoplayer.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-wiki.cjs.entry.js +6 -6
- package/dist/cjs/yoo-grid-calendar.cjs.entry.js +8 -8
- package/dist/cjs/yoo-grid.cjs.entry.js +15 -15
- package/dist/cjs/yoo-gridstack.cjs.entry.js +5 -5
- package/dist/cjs/yoo-header.cjs.entry.js +5 -5
- package/dist/cjs/yoo-healthscore-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-healthscore.cjs.entry.js +4 -4
- package/dist/cjs/yoo-icon.cjs.entry.js +1 -1
- package/dist/cjs/yoo-image-cropper-dialog.cjs.entry.js +4 -4
- package/dist/cjs/yoo-img.cjs.entry.js +6 -6
- package/dist/cjs/yoo-incentive-detail.cjs.entry.js +6 -6
- package/dist/cjs/yoo-info-text.cjs.entry.js +1 -1
- package/dist/cjs/yoo-input-bar.cjs.entry.js +54 -138
- package/dist/cjs/yoo-ion-alert-controller.cjs.entry.js +5 -11
- package/dist/cjs/yoo-ion-content.cjs.entry.js +4 -4
- package/dist/cjs/yoo-ion-footer.cjs.entry.js +5 -5
- package/dist/cjs/yoo-ion-infinite-scroll-content.cjs.entry.js +4 -4
- package/dist/cjs/yoo-ion-infinite-scroll.cjs.entry.js +4 -4
- package/dist/cjs/yoo-ion-item-divider.cjs.entry.js +6 -6
- package/dist/cjs/yoo-ion-item-options.cjs.entry.js +5 -5
- package/dist/cjs/yoo-ion-item-sliding.cjs.entry.js +6 -6
- package/dist/cjs/yoo-ion-item.cjs.entry.js +6 -6
- package/dist/cjs/yoo-ion-list.cjs.entry.js +5 -5
- package/dist/cjs/yoo-ion-modal-controller.cjs.entry.js +5 -11
- package/dist/cjs/yoo-ion-modal.cjs.entry.js +8 -8
- package/dist/cjs/yoo-ion-refresher-content.cjs.entry.js +1 -1
- package/dist/cjs/yoo-ion-refresher.cjs.entry.js +5 -5
- package/dist/cjs/yoo-ion-scroll.cjs.entry.js +5 -5
- package/dist/cjs/yoo-ion-slide.cjs.entry.js +5 -5
- package/dist/cjs/{yoo-ion-slides-fb07a398.js → yoo-ion-slides-03909abe.js} +6 -6
- package/dist/cjs/yoo-ion-slides.cjs.entry.js +7 -7
- package/dist/cjs/yoo-ion-toast-controller.cjs.entry.js +5 -11
- package/dist/cjs/yoo-items.cjs.entry.js +1 -1
- package/dist/cjs/yoo-kanban.cjs.entry.js +5 -5
- package/dist/cjs/yoo-kpi-card.cjs.entry.js +4 -4
- package/dist/cjs/yoo-kpi-container.cjs.entry.js +5 -5
- package/dist/cjs/yoo-kpi-external.cjs.entry.js +4 -4
- package/dist/cjs/yoo-kpi.cjs.entry.js +5 -5
- package/dist/cjs/yoo-layout-sections.cjs.entry.js +4 -4
- package/dist/cjs/yoo-layout-tabs.cjs.entry.js +4 -4
- package/dist/cjs/yoo-layout-two-columns.cjs.entry.js +4 -4
- package/dist/cjs/yoo-lesson-detail-card.cjs.entry.js +4 -4
- package/dist/cjs/yoo-lesson-detail.cjs.entry.js +5 -5
- package/dist/cjs/yoo-lesson-heading.cjs.entry.js +5 -5
- package/dist/cjs/yoo-lesson-highscores.cjs.entry.js +4 -4
- package/dist/cjs/yoo-lesson-question-result.cjs.entry.js +6 -6
- package/dist/cjs/yoo-line-state.cjs.entry.js +2 -2
- package/dist/cjs/yoo-link.cjs.entry.js +1 -1
- package/dist/cjs/yoo-links-menu.cjs.entry.js +4 -4
- package/dist/cjs/yoo-links-preview.cjs.entry.js +13 -11
- package/dist/cjs/yoo-loader.cjs.entry.js +4 -4
- package/dist/cjs/yoo-location-info.cjs.entry.js +4 -4
- package/dist/cjs/yoo-location-map.cjs.entry.js +5 -5
- package/dist/cjs/yoo-login.cjs.entry.js +17 -5
- package/dist/cjs/yoo-lottie.cjs.entry.js +37 -6
- package/dist/cjs/yoo-map-gl.cjs.entry.js +5 -5
- package/dist/cjs/yoo-map-js.cjs.entry.js +6 -6
- package/dist/cjs/yoo-map-legend.cjs.entry.js +6 -6
- package/dist/cjs/yoo-map.cjs.entry.js +5 -5
- package/dist/cjs/yoo-markdown.cjs.entry.js +7 -7
- package/dist/cjs/yoo-memo-list-dialog.cjs.entry.js +4 -4
- package/dist/cjs/yoo-memo-list.cjs.entry.js +4 -4
- package/dist/cjs/yoo-mention-tag.cjs.entry.js +4 -4
- package/dist/cjs/yoo-mission-details.cjs.entry.js +6 -6
- package/dist/cjs/yoo-mission-heading.cjs.entry.js +7 -7
- package/dist/cjs/yoo-mission-score.cjs.entry.js +4 -4
- package/dist/cjs/yoo-mission-todo.cjs.entry.js +5 -5
- package/dist/cjs/yoo-mobile-tabbar-more.cjs.entry.js +4 -4
- package/dist/cjs/yoo-mobile-tabbar.cjs.entry.js +5 -5
- package/dist/cjs/yoo-navbar.cjs.entry.js +5 -5
- package/dist/cjs/yoo-numbers-display.cjs.entry.js +5 -5
- package/dist/cjs/yoo-photo-editor.cjs.entry.js +13 -19
- package/dist/cjs/yoo-pivot-table.cjs.entry.js +9 -9
- package/dist/cjs/yoo-podium.cjs.entry.js +4 -4
- package/dist/cjs/yoo-points-recap.cjs.entry.js +1 -1
- package/dist/cjs/yoo-profile-list.cjs.entry.js +4 -4
- package/dist/cjs/yoo-profile-summary.cjs.entry.js +9 -7
- package/dist/cjs/yoo-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/yoo-progress-loader.cjs.entry.js +4 -4
- package/dist/cjs/yoo-progress-recap.cjs.entry.js +4 -4
- package/dist/cjs/yoo-property-card.cjs.entry.js +5 -5
- package/dist/cjs/yoo-range.cjs.entry.js +6 -6
- package/dist/cjs/yoo-rating.cjs.entry.js +4 -4
- package/dist/cjs/yoo-report-builder.cjs.entry.js +1 -1
- package/dist/cjs/yoo-reset-password.cjs.entry.js +4 -4
- package/dist/cjs/yoo-result-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-reveal.cjs.entry.js +4 -4
- package/dist/cjs/yoo-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/yoo-salesai-formula.cjs.entry.js +4 -4
- package/dist/cjs/yoo-scandit.cjs.entry.js +19 -14
- package/dist/cjs/yoo-scratch-card-creator.cjs.entry.js +4 -4
- package/dist/cjs/yoo-scratch-card.cjs.entry.js +7 -7
- package/dist/cjs/yoo-scroll-to-button.cjs.entry.js +1 -1
- package/dist/cjs/yoo-section-list.cjs.entry.js +4 -4
- package/dist/cjs/yoo-segmented-control.cjs.entry.js +4 -4
- package/dist/cjs/yoo-side-menu-tree.cjs.entry.js +4 -4
- package/dist/cjs/yoo-side-menu.cjs.entry.js +4 -4
- package/dist/cjs/yoo-slides-media.cjs.entry.js +7 -7
- package/dist/cjs/yoo-start-meeting-popup.cjs.entry.js +5 -5
- package/dist/cjs/yoo-swipe-container.cjs.entry.js +1 -1
- package/dist/cjs/yoo-tabs-slides.cjs.entry.js +1 -1
- package/dist/cjs/yoo-tabs.cjs.entry.js +4 -4
- package/dist/cjs/yoo-tag.cjs.entry.js +2 -2
- package/dist/cjs/yoo-text-sequence.cjs.entry.js +22 -21
- package/dist/cjs/yoo-text.cjs.entry.js +5 -5
- package/dist/cjs/yoo-toast.cjs.entry.js +6 -6
- package/dist/cjs/yoo-tooltip.cjs.entry.js +7 -7
- package/dist/cjs/yoo-truncate.cjs.entry.js +6 -6
- package/dist/cjs/yoo-truncated-line.cjs.entry.js +4 -4
- package/dist/cjs/yoo-user-detail.cjs.entry.js +4 -4
- package/dist/cjs/yoo-user-profile.cjs.entry.js +6 -6
- package/dist/cjs/yoo-user-wizard.cjs.entry.js +5 -5
- package/dist/cjs/yoo-videoplayer-core.cjs.entry.js +5 -5
- package/dist/cjs/yoo-videoplayer-dailymotion.cjs.entry.js +6 -6
- package/dist/cjs/yoo-videoplayer-videojs.cjs.entry.js +16 -14
- package/dist/cjs/yoo-videoplayer-vimeo.cjs.entry.js +6 -6
- package/dist/cjs/yoo-videoplayer-youtube.cjs.entry.js +6 -6
- package/dist/cjs/yoo-virtual-item.cjs.entry.js +4 -4
- package/dist/cjs/yoo-virtual-scroll.cjs.entry.js +5 -5
- package/dist/cjs/yoo-waitlist-location-layout.cjs.entry.js +1 -1
- package/dist/cjs/yoo-waitlist-location-result.cjs.entry.js +4 -4
- package/dist/cjs/yoo-waitlist-location-start.cjs.entry.js +5 -5
- package/dist/cjs/yoo-walkthrough.cjs.entry.js +4 -4
- package/dist/cjs/yoo-web-menu.cjs.entry.js +5 -5
- package/dist/cjs/yoo-webcam.cjs.entry.js +4 -4
- package/dist/cjs/yoo-welcome-banner.cjs.entry.js +5 -5
- package/dist/cjs/yoo-widget-chart.cjs.entry.js +4 -4
- package/dist/cjs/yoo-widget-small-size.cjs.entry.js +4 -4
- package/dist/cjs/yoo-widget-tab.cjs.entry.js +4 -4
- package/dist/cjs/yoo-widget-tile.cjs.entry.js +4 -4
- package/dist/cjs/yoo-workflow-state-dialog.cjs.entry.js +4 -4
- package/dist/cjs/yoo-workflow-state.cjs.entry.js +5 -5
- package/dist/cjs/yoo-workflow.cjs.entry.js +8 -8
- package/dist/cjs/yoo-zebra.cjs.entry.js +4 -4
- package/dist/cjs/yoo-zoom.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/1.atoms/badge/badge.css +22 -0
- package/dist/collection/components/1.atoms/button/button.css +14 -251
- package/dist/collection/components/1.atoms/lottie/assets/lottie/areamanager.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/battle.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/calendar.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/campaign.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/contact.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/courses.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/dashboard.json +1 -1
- package/dist/collection/components/1.atoms/lottie/assets/lottie/empty.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/error.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/folder.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/group.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/location.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/mission.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/notes.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/offline.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/onlineshopping.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/poll.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/question.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/rejected.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/request.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/requestraised.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/search.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/store.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/storemanager.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/tags.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/template.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/translation.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/uploadfile.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/usertrial.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/videochat.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/waiting.json +1 -0
- package/dist/collection/components/1.atoms/lottie/assets/lottie/workflow.json +1 -0
- package/dist/collection/components/1.atoms/lottie/lottie.js +34 -3
- package/dist/collection/components/1.atoms/markdown/markdown.css +1 -1
- package/dist/collection/components/1.atoms/tag/tag.css +44 -0
- package/dist/collection/components/1.atoms/truncate/truncate.css +1 -1
- package/dist/collection/components/2.molecules/action-sheet-controller/action-sheet-controller.js +1 -30
- package/dist/collection/components/2.molecules/alert-controller/alert-controller.js +1 -26
- package/dist/collection/components/2.molecules/modal/modal.js +1 -1
- package/dist/collection/components/2.molecules/modal-controller/modal-controller.js +1 -26
- package/dist/collection/components/2.molecules/profile-summary/profile-summary.css +3 -0
- package/dist/collection/components/2.molecules/profile-summary/profile-summary.js +6 -4
- package/dist/collection/components/2.molecules/rating/rating.js +2 -2
- package/dist/collection/components/2.molecules/text-sequence/text-sequence.css +36 -8
- package/dist/collection/components/2.molecules/text-sequence/text-sequence.js +39 -35
- package/dist/collection/components/2.molecules/toast-controller/toast-controller.js +1 -26
- package/dist/collection/components/3.organisms/photo-editor/photo-editor.js +4 -10
- package/dist/collection/components/3.organisms/video-player/videoplayer-videojs/videoplayer-videojs.css +1 -1
- package/dist/collection/components/entities/card-placeholder/card-placeholder.js +1 -1
- package/dist/collection/components/entities/entity/entity.js +8 -7
- package/dist/collection/components/entities/entity-query-builder/entity-query-builder.js +2 -2
- package/dist/collection/components/entities/entity-search-filters/entity-search-filters.js +1 -1
- package/dist/collection/components/form/form-autocomplete/form-autocomplete.js +2 -2
- package/dist/collection/components/form/form-autocomplete-dialog/form-autocomplete-dialog.js +1 -1
- package/dist/collection/components/form/form-categorize-words/form-categorize-words.css +10 -3
- package/dist/collection/components/form/form-categorize-words/form-categorize-words.js +51 -59
- package/dist/collection/components/form/form-choice/image/form-choice-image.css +11 -14
- package/dist/collection/components/form/form-choice/image/form-choice-image.js +1 -1
- package/dist/collection/components/form/form-choice/radio/form-choice-radio.js +18 -1
- package/dist/collection/components/form/form-connect/form-connect.css +3 -0
- package/dist/collection/components/form/form-connect/form-connect.js +4 -13
- package/dist/collection/components/form/form-dynamic/form-dynamic.css +41 -23
- package/dist/collection/components/form/form-dynamic/form-dynamic.js +30 -25
- package/dist/collection/components/form/form-entity-value-pairs/form-entity-value-pairs.js +1 -1
- package/dist/collection/components/form/form-hotzones/form-hotzones.css +51 -53
- package/dist/collection/components/form/form-hotzones/form-hotzones.js +108 -81
- package/dist/collection/components/form/form-image-collection/form-image-collection.css +25 -14
- package/dist/collection/components/form/form-image-collection/form-image-collection.js +65 -45
- package/dist/collection/components/form/form-image-tagging/form-image-tagging.css +11 -11
- package/dist/collection/components/form/form-image-tagging/form-image-tagging.js +62 -92
- package/dist/collection/components/form/form-input-container/form-input-container.css +45 -83
- package/dist/collection/components/form/form-input-container/form-input-container.js +4 -25
- package/dist/collection/components/form/form-missing-word/form-missing-word.js +48 -74
- package/dist/collection/components/form/form-ranking/form-ranking.css +1 -0
- package/dist/collection/components/form/form-ranking/form-ranking.js +53 -21
- package/dist/collection/components/form/form-recurrence/options/frequency.js +1 -1
- package/dist/collection/components/form/form-swipe-cards/form-swipe-cards.css +14 -12
- package/dist/collection/components/form/form-swipe-cards/form-swipe-cards.js +7 -10
- package/dist/collection/components/form/form-table/form-table.js +1 -1
- package/dist/collection/components/form/form-text-area/form-text-area.js +8 -16
- package/dist/collection/components/form/form-text-editor/form-text-editor.js +5 -13
- package/dist/collection/components/form/links-preview/links-preview.css +1 -9
- package/dist/collection/components/form/links-preview/links-preview.js +22 -5
- package/dist/collection/components/form-creator/constants/index.js +2 -1
- package/dist/collection/components/form-creator/form-creator/form-creator.js +2 -2
- package/dist/collection/components/form-creator/form-creator-block-expandable/form-creator-block-expandable.js +2 -2
- package/dist/collection/components/form-creator/form-creator-condition-block/form-creator-condition-block.js +20 -1
- package/dist/collection/components/form-creator/form-creator-live-preview/form-creator-live-preview.css +18 -20
- package/dist/collection/components/form-creator/form-creator-live-preview/form-creator-live-preview.js +13 -14
- package/dist/collection/components/form-creator/form-creator-restriction-selector/form-creator-restriction-selector.js +18 -2
- package/dist/collection/components/grid/grid/grid.js +1 -1
- package/dist/collection/components/grid/grid-calendar/grid-calendar.css +1 -1
- package/dist/collection/components/grid/grid-calendar/grid-calendar.js +1 -1
- package/dist/collection/components/grid/kanban/kanban.js +1 -1
- package/dist/collection/feature-communicate/feed/card-feed/components/sub-cards.js +2 -2
- package/dist/collection/feature-communicate/feed/card-feed/default/card-feed.css +1 -1
- package/dist/collection/feature-communicate/feed/card-feed/default/card-feed.js +4 -5
- package/dist/collection/feature-learn/learning/lesson-question-result/lesson-question-result.css +2 -2
- package/dist/collection/feature-operate/campaign/card-campaign/card-campaign.js +116 -7
- package/dist/collection/feature-operate/campaign/detail-bar/detail-bar.js +4 -4
- package/dist/collection/feature-operate/campaign/helpers/operation-helpers.js +20 -2
- package/dist/collection/feature-operate/mission/announcement-heading/announcement-heading.css +8 -0
- package/dist/collection/feature-operate/mission/announcement-heading/announcement-heading.js +5 -1
- package/dist/collection/feature-operate/mission/workflow-state/workflow-state.js +1 -1
- package/dist/collection/feature-operate/waitlist/waitlist-location-start/waitlist-location-start.css +1 -1
- package/dist/collection/feature-platform/app/app/app.js +1 -1
- package/dist/collection/feature-platform/login/login/login.css +55 -55
- package/dist/collection/feature-platform/login/login/login.js +13 -1
- package/dist/collection/utils/draggables/tags.js +47 -66
- package/dist/collection/utils/draggables/zones.js +10 -14
- package/dist/collection/utils/helpers/annotations-helpers.js +5 -8
- package/dist/collection/utils/helpers/draggable-tags-helpers.js +18 -8
- package/dist/collection/utils/helpers/filters-helpers.js +1 -1
- package/dist/design-system/{annotations-helpers-628a8ae3.js → annotations-helpers-f7b42b40.js} +6 -9
- package/dist/design-system/assets/lottie/areamanager.json +1 -0
- package/dist/design-system/assets/lottie/battle.json +1 -0
- package/dist/design-system/assets/lottie/calendar.json +1 -0
- package/dist/design-system/assets/lottie/campaign.json +1 -0
- package/dist/design-system/assets/lottie/contact.json +1 -0
- package/dist/design-system/assets/lottie/courses.json +1 -0
- package/dist/design-system/assets/lottie/dashboard.json +1 -1
- package/dist/design-system/assets/lottie/empty.json +1 -0
- package/dist/design-system/assets/lottie/error.json +1 -0
- package/dist/design-system/assets/lottie/folder.json +1 -0
- package/dist/design-system/assets/lottie/group.json +1 -0
- package/dist/design-system/assets/lottie/location.json +1 -0
- package/dist/design-system/assets/lottie/mission.json +1 -0
- package/dist/design-system/assets/lottie/notes.json +1 -0
- package/dist/design-system/assets/lottie/offline.json +1 -0
- package/dist/design-system/assets/lottie/onlineshopping.json +1 -0
- package/dist/design-system/assets/lottie/poll.json +1 -0
- package/dist/design-system/assets/lottie/question.json +1 -0
- package/dist/design-system/assets/lottie/rejected.json +1 -0
- package/dist/design-system/assets/lottie/request.json +1 -0
- package/dist/design-system/assets/lottie/requestraised.json +1 -0
- package/dist/design-system/assets/lottie/search.json +1 -0
- package/dist/design-system/assets/lottie/store.json +1 -0
- package/dist/design-system/assets/lottie/storemanager.json +1 -0
- package/dist/design-system/assets/lottie/tags.json +1 -0
- package/dist/design-system/assets/lottie/template.json +1 -0
- package/dist/design-system/assets/lottie/translation.json +1 -0
- package/dist/design-system/assets/lottie/uploadfile.json +1 -0
- package/dist/design-system/assets/lottie/usertrial.json +1 -0
- package/dist/design-system/assets/lottie/videochat.json +1 -0
- package/dist/design-system/assets/lottie/waiting.json +1 -0
- package/dist/design-system/assets/lottie/workflow.json +1 -0
- package/dist/design-system/{button.factory-8cf707c5.js → button.factory-b85436a9.js} +3 -3
- package/dist/design-system/{camera-helpers-7ad55dca.js → camera-helpers-31ccf774.js} +3 -3
- package/dist/design-system/{chat-helpers-84022100.js → chat-helpers-9f0f8f07.js} +2 -2
- package/dist/{esm/common-helpers-980d9808.js → design-system/common-helpers-e3797466.js} +2 -2
- package/dist/design-system/{css-shim-04165e59.js → css-shim-845fe96b.js} +1 -1
- package/dist/design-system/design-system.css +18 -18
- package/dist/design-system/design-system.esm.js +4 -4
- package/dist/{esm/dom-26e7cb2c.js → design-system/dom-9794f747.js} +1 -1
- package/dist/{esm/draggable-dots-helpers-6700d1de.js → design-system/draggable-dots-helpers-2f99fb20.js} +3 -3
- package/dist/{esm/draggable-tags-helpers-177c5425.js → design-system/draggable-tags-helpers-4471d773.js} +20 -10
- package/dist/{esm/entities-helpers-314261d6.js → design-system/entities-helpers-9b73c439.js} +3 -3
- package/dist/{esm/filters-helpers-b534e8ed.js → design-system/filters-helpers-553d2b6c.js} +4 -4
- package/dist/{esm/form-choice-helpers-fcef921a.js → design-system/form-choice-helpers-59ca0830.js} +6 -6
- package/dist/design-system/{form-helpers-f240cdd6.js → form-helpers-9fbd6983.js} +3 -3
- package/dist/{esm/form-input-helpers-9d428369.js → design-system/form-input-helpers-87b417ac.js} +4 -4
- package/dist/{esm/form-text-area-helpers-b3d3b975.js → design-system/form-text-area-helpers-343d8f20.js} +2 -2
- package/dist/design-system/{grid-renderers-07cc0350.js → grid-renderers-4064d89d.js} +7 -7
- package/dist/{esm/incentive-helpers-5867649b.js → design-system/incentive-helpers-585a13f1.js} +3 -3
- package/dist/design-system/index-11ad6fb9.js +1 -0
- package/dist/{esm/index-0621f7f2.js → design-system/index-20e383f3.js} +2 -2
- package/dist/{esm/index-ac42012a.js → design-system/index-292fe310.js} +59 -82
- package/dist/{esm/index-55e1ad87.js → design-system/index-31d58974.js} +1 -1
- package/dist/design-system/index-4b5b8ad0.js +7 -0
- package/dist/design-system/{index-24530c1f.js → index-53ad1641.js} +1 -1
- package/dist/{esm/index-eec8505b.js → design-system/index-84768350.js} +72 -8
- package/dist/{esm/index-74c3315b.js → design-system/index-94aeb528.js} +2 -2
- package/dist/design-system/index-a90a9947.js +1 -0
- package/dist/{esm/index-f4276255.js → design-system/index-d81fa302.js} +4 -4
- package/dist/design-system/{localForage-c32f0e70.js → localForage-f05ec61c.js} +2 -2
- package/dist/{esm/map-helpers-641c17cf.js → design-system/map-helpers-b461bf31.js} +2 -2
- package/dist/{esm/mission-locked-banner-20964a0b.js → design-system/mission-locked-banner-5ffa57e8.js} +3 -3
- package/dist/design-system/{missions-helpers-dcdb142a.js → missions-helpers-6a0de073.js} +2 -2
- package/dist/design-system/{modal-animations-9bd60ce8.js → modal-animations-dca0491c.js} +2 -2
- package/dist/{esm/operation-helpers-60b105fd.js → design-system/operation-helpers-23ea56af.js} +22 -4
- package/dist/{esm/overlays-ca470e26.js → design-system/overlays-5f04c358.js} +3 -3
- package/dist/design-system/{overlays-54d1b9f8.js → overlays-71ffe7eb.js} +1000 -504
- package/dist/{esm/shadow-css-8eba16c2.js → design-system/shadow-css-b45d2670.js} +1 -1
- package/dist/design-system/swiper-83529394.js +12 -0
- package/dist/{esm/tag.factory-da0e41e0.js → design-system/tag.factory-548fd809.js} +1 -1
- package/dist/{esm/theme-dc55c13c.js → design-system/theme-5506417f.js} +2 -2
- package/dist/design-system/{tippy.esm-367d156a.js → tippy.esm-542d7b88.js} +61 -50
- package/dist/{esm/video-player-helpers-9f742b0f.js → design-system/video-player-helpers-c2491e4a.js} +4 -4
- package/dist/{esm/web-60c3ad08.js → design-system/web-a8785545.js} +2 -2
- package/dist/{esm/web-20c659e3.js → design-system/web-ac4d7854.js} +4 -4
- package/dist/{esm/web-a19bf48b.js → design-system/web-d571009b.js} +2 -2
- package/dist/{esm/web-dc26e5ed.js → design-system/web-e849e110.js} +2 -2
- package/dist/design-system/yoo-about.entry.js +4 -4
- package/dist/design-system/yoo-accordion.entry.js +7 -7
- package/dist/design-system/yoo-action-sheet-controller.entry.js +5 -12
- package/dist/design-system/yoo-action-sheet.entry.js +7 -7
- package/dist/design-system/yoo-ag-grid.entry.js +9 -9
- package/dist/design-system/yoo-alert.entry.js +7 -7
- package/dist/design-system/yoo-amap.entry.js +6 -6
- package/dist/design-system/yoo-announcement-heading.entry.js +13 -9
- package/dist/design-system/yoo-app.entry.js +4 -4
- package/dist/design-system/yoo-audio-player.entry.js +5 -5
- package/dist/design-system/yoo-audio-recorder-dialog.entry.js +5 -5
- package/dist/design-system/yoo-avatar.entry.js +4 -4
- package/dist/design-system/yoo-avatars.entry.js +4 -4
- package/dist/design-system/yoo-background.entry.js +5 -5
- package/dist/design-system/yoo-badge.entry.js +2 -2
- package/dist/design-system/yoo-banner.entry.js +5 -5
- package/dist/design-system/yoo-barcode-dialog.entry.js +4 -4
- package/dist/design-system/yoo-barcode.entry.js +1 -1
- package/dist/design-system/yoo-battle-count-down.entry.js +5 -5
- package/dist/design-system/yoo-battle-result.entry.js +4 -4
- package/dist/design-system/yoo-battle-user-stats.entry.js +5 -5
- package/dist/design-system/yoo-breadcrumbs.entry.js +4 -4
- package/dist/design-system/yoo-button.entry.js +6 -6
- package/dist/design-system/yoo-buttons-list.entry.js +1 -1
- package/dist/design-system/yoo-calendar.entry.js +4 -4
- package/dist/design-system/yoo-camera-preview-dialog.entry.js +7 -7
- package/dist/design-system/yoo-card-avatar.entry.js +2 -2
- package/dist/design-system/yoo-card-avatars.entry.js +2 -2
- package/dist/design-system/yoo-card-battle-result.entry.js +4 -4
- package/dist/design-system/yoo-card-battle.entry.js +4 -4
- package/dist/design-system/yoo-card-calendar.entry.js +5 -5
- package/dist/design-system/yoo-card-campaign.entry.js +19 -12
- package/dist/design-system/yoo-card-cell.entry.js +5 -5
- package/dist/design-system/yoo-card-chat.entry.js +4 -4
- package/dist/design-system/yoo-card-course-row-compact.entry.js +4 -4
- package/dist/design-system/yoo-card-course-row.entry.js +6 -6
- package/dist/design-system/yoo-card-course.entry.js +4 -4
- package/dist/design-system/yoo-card-feed-row.entry.js +4 -4
- package/dist/design-system/yoo-card-feed.entry.js +12 -13
- package/dist/design-system/yoo-card-file.entry.js +4 -4
- package/dist/design-system/yoo-card-image.entry.js +4 -4
- package/dist/design-system/yoo-card-inbox.entry.js +4 -4
- package/dist/design-system/yoo-card-incentive-rank.entry.js +4 -4
- package/dist/design-system/yoo-card-incentive.entry.js +6 -6
- package/dist/design-system/yoo-card-kanban.entry.js +5 -5
- package/dist/design-system/yoo-card-lesson.entry.js +5 -5
- package/dist/design-system/yoo-card-list-collapsible.entry.js +5 -5
- package/dist/design-system/yoo-card-list-color.entry.js +4 -4
- package/dist/design-system/yoo-card-list-image.entry.js +1 -1
- package/dist/design-system/yoo-card-list-simple.entry.js +5 -5
- package/dist/design-system/yoo-card-list.entry.js +5 -5
- package/dist/design-system/yoo-card-location.entry.js +4 -4
- package/dist/design-system/yoo-card-media.entry.js +5 -5
- package/dist/design-system/yoo-card-menu.entry.js +5 -5
- package/dist/design-system/yoo-card-notification.entry.js +4 -4
- package/dist/design-system/yoo-card-placeholder.entry.js +1 -1
- package/dist/design-system/yoo-card-plan.entry.js +5 -5
- package/dist/design-system/yoo-card-progress.entry.js +4 -4
- package/dist/design-system/yoo-card-recommendation.entry.js +5 -5
- package/dist/design-system/yoo-card-sticky.entry.js +5 -5
- package/dist/design-system/yoo-card-template.entry.js +1 -1
- package/dist/design-system/yoo-card-video.entry.js +4 -4
- package/dist/design-system/yoo-card.entry.js +1 -1
- package/dist/design-system/yoo-chart-micro.entry.js +1 -1
- package/dist/design-system/yoo-chart.entry.js +4 -4
- package/dist/design-system/yoo-chat-message-dialog.entry.js +5 -5
- package/dist/design-system/yoo-chat-message-preview.entry.js +5 -5
- package/dist/design-system/yoo-chat-message.entry.js +6 -6
- package/dist/design-system/yoo-chat.entry.js +8 -8
- package/dist/design-system/yoo-collapsible.entry.js +4 -4
- package/dist/design-system/yoo-color-selector.entry.js +4 -4
- package/dist/design-system/yoo-community-detail.entry.js +5 -5
- package/dist/design-system/yoo-context-dialog.entry.js +1 -1
- package/dist/design-system/yoo-context-menu-dialog.entry.js +5 -5
- package/dist/design-system/yoo-context-menu.entry.js +5 -5
- package/dist/design-system/yoo-copyright.entry.js +4 -4
- package/dist/design-system/yoo-count-down.entry.js +5 -5
- package/dist/design-system/yoo-course-info-card.entry.js +4 -4
- package/dist/design-system/yoo-course-summary.entry.js +5 -5
- package/dist/design-system/yoo-dashboard-detail.entry.js +4 -4
- package/dist/design-system/yoo-date.entry.js +4 -4
- package/dist/design-system/yoo-detail-bar.entry.js +9 -9
- package/dist/design-system/yoo-device-list.entry.js +4 -4
- package/dist/design-system/yoo-device.entry.js +4 -4
- package/dist/design-system/yoo-display-increment.entry.js +1 -1
- package/dist/design-system/yoo-draw-flow.entry.js +4 -4
- package/dist/design-system/yoo-empty-state.entry.js +2 -2
- package/dist/design-system/yoo-entity-query-builder.entry.js +7 -7
- package/dist/design-system/yoo-entity-search-dialog.entry.js +5 -5
- package/dist/design-system/yoo-entity-search-filters.entry.js +7 -7
- package/dist/design-system/yoo-entity-search-recent.entry.js +4 -4
- package/dist/design-system/yoo-entity-search-sorts.entry.js +5 -5
- package/dist/design-system/yoo-entity-search-tags.entry.js +5 -5
- package/dist/design-system/yoo-entity-search.entry.js +5 -5
- package/dist/design-system/yoo-entity.entry.js +18 -17
- package/dist/design-system/yoo-feed-detail.entry.js +7 -7
- package/dist/design-system/yoo-flag.entry.js +4 -4
- package/dist/design-system/yoo-flip-card.entry.js +1 -1
- package/dist/design-system/yoo-form-audience.entry.js +7 -7
- package/dist/design-system/yoo-form-autocomplete-dialog.entry.js +5 -5
- package/dist/design-system/yoo-form-autocomplete.entry.js +6 -6
- package/dist/design-system/yoo-form-barcode-dialog.entry.js +5 -5
- package/dist/design-system/yoo-form-barcode.entry.js +6 -6
- package/dist/design-system/yoo-form-calendar-dialog.entry.js +5 -5
- package/dist/design-system/yoo-form-capture-map-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-capture-tag-dialog.entry.js +5 -5
- package/dist/design-system/yoo-form-capture-view-dialog.entry.js +5 -5
- package/dist/design-system/yoo-form-capture-webcam-dialog.entry.js +6 -6
- package/dist/design-system/yoo-form-capture.entry.js +8 -8
- package/dist/design-system/yoo-form-carousel.entry.js +5 -5
- package/dist/design-system/yoo-form-catalog-dialog.entry.js +5 -5
- package/dist/design-system/yoo-form-catalog.entry.js +6 -6
- package/dist/design-system/yoo-form-categorize-words.entry.js +35 -43
- package/dist/design-system/yoo-form-checkbox.entry.js +6 -6
- package/dist/design-system/yoo-form-checklist.entry.js +6 -6
- package/dist/design-system/yoo-form-choice-button.entry.js +8 -8
- package/dist/design-system/yoo-form-choice-card.entry.js +8 -8
- package/dist/design-system/yoo-form-choice-chat.entry.js +8 -8
- package/dist/design-system/yoo-form-choice-image.entry.js +10 -10
- package/dist/design-system/yoo-form-choice-radio.entry.js +9 -9
- package/dist/design-system/yoo-form-color-field.entry.js +6 -6
- package/dist/design-system/yoo-form-color-picker.entry.js +4 -4
- package/dist/design-system/yoo-form-conditions.entry.js +4 -4
- package/dist/design-system/yoo-form-connect.entry.js +12 -21
- package/dist/design-system/yoo-form-creator-block-expandable.entry.js +8 -8
- package/dist/design-system/yoo-form-creator-block-simple.entry.js +5 -5
- package/dist/design-system/yoo-form-creator-card.entry.js +1 -1
- package/dist/design-system/yoo-form-creator-condition-block.entry.js +9 -6
- package/dist/design-system/yoo-form-creator-field-selector.entry.js +5 -5
- package/dist/design-system/yoo-form-creator-header.entry.js +5 -5
- package/dist/design-system/yoo-form-creator-live-preview.entry.js +14 -9
- package/dist/design-system/yoo-form-creator-overlay.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-page-card-list.entry.js +6 -6
- package/dist/design-system/yoo-form-creator-page-card.entry.js +6 -6
- package/dist/design-system/yoo-form-creator-restriction-selector.entry.js +16 -2
- package/dist/design-system/yoo-form-creator-score-expandable.entry.js +6 -6
- package/dist/design-system/yoo-form-creator-scoring-card-list.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-scoring-card.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-scoring-quick-setup.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-translate-dialog.entry.js +6 -6
- package/dist/design-system/yoo-form-creator-translate.entry.js +6 -6
- package/dist/design-system/yoo-form-creator-workflow-card.entry.js +1 -1
- package/dist/design-system/yoo-form-creator-workflow-side-selection.entry.js +7 -7
- package/dist/design-system/yoo-form-creator-workflow-step.entry.js +5 -5
- package/dist/design-system/yoo-form-creator.entry.js +10 -10
- package/dist/design-system/yoo-form-date-time.entry.js +6 -6
- package/dist/design-system/yoo-form-daterange.entry.js +6 -6
- package/dist/design-system/yoo-form-document-dialog.entry.js +5 -5
- package/dist/design-system/yoo-form-document.entry.js +6 -6
- package/dist/design-system/yoo-form-dynamic-dialog.entry.js +6 -6
- package/dist/design-system/yoo-form-dynamic.entry.js +38 -33
- package/dist/design-system/yoo-form-emailreport.entry.js +6 -6
- package/dist/design-system/yoo-form-entity-value-pairs.entry.js +4 -4
- package/dist/design-system/yoo-form-explanation.entry.js +4 -4
- package/dist/design-system/yoo-form-feed-preview.entry.js +6 -6
- package/dist/design-system/yoo-form-feedback.entry.js +6 -6
- package/dist/design-system/yoo-form-filter-date.entry.js +4 -4
- package/dist/design-system/yoo-form-filter-number.entry.js +4 -4
- package/dist/design-system/yoo-form-filter-text.entry.js +4 -4
- package/dist/design-system/yoo-form-filter.entry.js +5 -5
- package/dist/design-system/yoo-form-footer.entry.js +7 -7
- package/dist/design-system/yoo-form-formula.entry.js +6 -6
- package/dist/design-system/yoo-form-hotzones-creator.entry.js +4 -4
- package/dist/design-system/yoo-form-hotzones.entry.js +45 -34
- package/dist/design-system/yoo-form-iframe-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-image-collection.entry.js +27 -23
- package/dist/design-system/yoo-form-image-tagging-creator.entry.js +8 -8
- package/dist/design-system/yoo-form-image-tagging.entry.js +69 -70
- package/dist/design-system/yoo-form-incentive-participants.entry.js +2 -2
- package/dist/design-system/yoo-form-incentive-targets.entry.js +6 -6
- package/dist/design-system/yoo-form-input-comments.entry.js +4 -4
- package/dist/design-system/yoo-form-input-container.entry.js +11 -32
- package/dist/design-system/yoo-form-input.entry.js +10 -10
- package/dist/design-system/yoo-form-json.entry.js +7 -7
- package/dist/design-system/yoo-form-location.entry.js +6 -6
- package/dist/design-system/yoo-form-missing-word.entry.js +52 -50
- package/dist/design-system/yoo-form-missionfield.entry.js +6 -6
- package/dist/design-system/yoo-form-multi-input.entry.js +6 -6
- package/dist/design-system/yoo-form-number-picker-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-number-picker.entry.js +4 -4
- package/dist/design-system/yoo-form-opening-hours.entry.js +4 -4
- package/dist/design-system/yoo-form-palette.entry.js +1 -1
- package/dist/design-system/yoo-form-permissions.entry.js +5 -5
- package/dist/design-system/yoo-form-phone-number.entry.js +5 -5
- package/dist/design-system/yoo-form-plan-assign.entry.js +6 -6
- package/dist/design-system/yoo-form-plan.entry.js +6 -6
- package/dist/design-system/yoo-form-pricecheck.entry.js +6 -6
- package/dist/design-system/yoo-form-product-batch.entry.js +7 -7
- package/dist/design-system/yoo-form-products-sales.entry.js +6 -6
- package/dist/design-system/yoo-form-progress-indicator.entry.js +5 -5
- package/dist/design-system/yoo-form-qrcode.entry.js +6 -6
- package/dist/design-system/yoo-form-query-builder.entry.js +6 -6
- package/dist/design-system/yoo-form-radio.entry.js +1 -1
- package/dist/design-system/yoo-form-range.entry.js +6 -6
- package/dist/design-system/yoo-form-ranking.entry.js +24 -12
- package/dist/design-system/yoo-form-recap-step.entry.js +4 -4
- package/dist/design-system/yoo-form-recurrence-delay.entry.js +4 -4
- package/dist/design-system/yoo-form-recurrence-preview.entry.js +5 -5
- package/dist/design-system/yoo-form-recurrence.entry.js +5 -5
- package/dist/design-system/yoo-form-reorder.entry.js +6 -6
- package/dist/design-system/yoo-form-scorm.entry.js +6 -6
- package/dist/design-system/yoo-form-shopping.entry.js +6 -6
- package/dist/design-system/yoo-form-signature-pad-dialog.entry.js +5 -5
- package/dist/design-system/yoo-form-signature-pad.entry.js +6 -6
- package/dist/design-system/yoo-form-sorts.entry.js +6 -6
- package/dist/design-system/yoo-form-star-rating.entry.js +6 -6
- package/dist/design-system/yoo-form-stripe-card.entry.js +6 -6
- package/dist/design-system/yoo-form-swipe-cards.entry.js +12 -15
- package/dist/design-system/yoo-form-table.entry.js +6 -6
- package/dist/design-system/yoo-form-task.entry.js +6 -6
- package/dist/design-system/yoo-form-text-area.entry.js +12 -20
- package/dist/design-system/yoo-form-text-editor.entry.js +81 -79
- package/dist/design-system/yoo-form-time.entry.js +6 -6
- package/dist/design-system/yoo-form-timeslots.entry.js +6 -6
- package/dist/design-system/yoo-form-todo-dialog.entry.js +5 -5
- package/dist/design-system/yoo-form-todo-single.entry.js +6 -6
- package/dist/design-system/yoo-form-todo-task-list.entry.js +5 -5
- package/dist/design-system/yoo-form-todo-task.entry.js +5 -5
- package/dist/design-system/yoo-form-todo.entry.js +6 -6
- package/dist/design-system/yoo-form-toggle.entry.js +6 -6
- package/dist/design-system/yoo-form-uploader.entry.js +6 -6
- package/dist/design-system/yoo-form-videoplayer.entry.js +6 -6
- package/dist/design-system/yoo-form-wiki.entry.js +6 -6
- package/dist/design-system/yoo-grid-calendar.entry.js +8 -8
- package/dist/design-system/yoo-grid.entry.js +15 -15
- package/dist/design-system/yoo-gridstack.entry.js +5 -5
- package/dist/design-system/yoo-header.entry.js +5 -5
- package/dist/design-system/yoo-healthscore-dialog.entry.js +5 -5
- package/dist/design-system/yoo-healthscore.entry.js +4 -4
- package/dist/design-system/yoo-icon.entry.js +1 -1
- package/dist/design-system/yoo-image-cropper-dialog.entry.js +4 -4
- package/dist/design-system/yoo-img.entry.js +6 -6
- package/dist/design-system/yoo-incentive-detail.entry.js +6 -6
- package/dist/design-system/yoo-info-text.entry.js +1 -1
- package/dist/design-system/yoo-input-bar.entry.js +54 -138
- package/dist/design-system/yoo-ion-alert-controller.entry.js +5 -11
- package/dist/design-system/yoo-ion-content.entry.js +4 -4
- package/dist/design-system/yoo-ion-footer.entry.js +5 -5
- package/dist/design-system/yoo-ion-infinite-scroll-content.entry.js +4 -4
- package/dist/design-system/yoo-ion-infinite-scroll.entry.js +4 -4
- package/dist/design-system/yoo-ion-item-divider.entry.js +6 -6
- package/dist/design-system/yoo-ion-item-options.entry.js +5 -5
- package/dist/design-system/yoo-ion-item-sliding.entry.js +6 -6
- package/dist/design-system/yoo-ion-item.entry.js +6 -6
- package/dist/design-system/yoo-ion-list.entry.js +5 -5
- package/dist/design-system/yoo-ion-modal-controller.entry.js +5 -11
- package/dist/design-system/yoo-ion-modal.entry.js +8 -8
- package/dist/design-system/yoo-ion-refresher-content.entry.js +1 -1
- package/dist/design-system/yoo-ion-refresher.entry.js +5 -5
- package/dist/design-system/yoo-ion-scroll.entry.js +5 -5
- package/dist/design-system/yoo-ion-slide.entry.js +5 -5
- package/dist/design-system/{yoo-ion-slides-60d13e8b.js → yoo-ion-slides-31bb3ec3.js} +6 -6
- package/dist/design-system/yoo-ion-slides.entry.js +7 -7
- package/dist/design-system/yoo-ion-toast-controller.entry.js +5 -11
- package/dist/design-system/yoo-items.entry.js +1 -1
- package/dist/design-system/yoo-kanban.entry.js +5 -5
- package/dist/design-system/yoo-kpi-card.entry.js +4 -4
- package/dist/design-system/yoo-kpi-container.entry.js +5 -5
- package/dist/design-system/yoo-kpi-external.entry.js +4 -4
- package/dist/design-system/yoo-kpi.entry.js +5 -5
- package/dist/design-system/yoo-layout-sections.entry.js +4 -4
- package/dist/design-system/yoo-layout-tabs.entry.js +4 -4
- package/dist/design-system/yoo-layout-two-columns.entry.js +4 -4
- package/dist/design-system/yoo-lesson-detail-card.entry.js +4 -4
- package/dist/design-system/yoo-lesson-detail.entry.js +5 -5
- package/dist/design-system/yoo-lesson-heading.entry.js +5 -5
- package/dist/design-system/yoo-lesson-highscores.entry.js +4 -4
- package/dist/design-system/yoo-lesson-question-result.entry.js +6 -6
- package/dist/design-system/yoo-line-state.entry.js +2 -2
- package/dist/design-system/yoo-link.entry.js +1 -1
- package/dist/design-system/yoo-links-menu.entry.js +4 -4
- package/dist/design-system/yoo-links-preview.entry.js +13 -11
- package/dist/design-system/yoo-loader.entry.js +4 -4
- package/dist/design-system/yoo-location-info.entry.js +4 -4
- package/dist/design-system/yoo-location-map.entry.js +5 -5
- package/dist/design-system/yoo-login.entry.js +17 -5
- package/dist/design-system/yoo-lottie.entry.js +37 -6
- package/dist/design-system/yoo-map-gl.entry.js +5 -5
- package/dist/design-system/yoo-map-js.entry.js +6 -6
- package/dist/design-system/yoo-map-legend.entry.js +6 -6
- package/dist/design-system/yoo-map.entry.js +5 -5
- package/dist/design-system/yoo-markdown.entry.js +7 -7
- package/dist/design-system/yoo-memo-list-dialog.entry.js +4 -4
- package/dist/design-system/yoo-memo-list.entry.js +4 -4
- package/dist/design-system/yoo-mention-tag.entry.js +4 -4
- package/dist/design-system/yoo-mission-details.entry.js +6 -6
- package/dist/design-system/yoo-mission-heading.entry.js +7 -7
- package/dist/design-system/yoo-mission-score.entry.js +4 -4
- package/dist/design-system/yoo-mission-todo.entry.js +5 -5
- package/dist/design-system/yoo-mobile-tabbar-more.entry.js +4 -4
- package/dist/design-system/yoo-mobile-tabbar.entry.js +5 -5
- package/dist/design-system/yoo-navbar.entry.js +5 -5
- package/dist/design-system/yoo-numbers-display.entry.js +5 -5
- package/dist/design-system/yoo-photo-editor.entry.js +13 -19
- package/dist/design-system/yoo-pivot-table.entry.js +9 -9
- package/dist/design-system/yoo-podium.entry.js +4 -4
- package/dist/design-system/yoo-points-recap.entry.js +1 -1
- package/dist/design-system/yoo-profile-list.entry.js +4 -4
- package/dist/design-system/yoo-profile-summary.entry.js +9 -7
- package/dist/design-system/yoo-progress-bar.entry.js +4 -4
- package/dist/design-system/yoo-progress-loader.entry.js +4 -4
- package/dist/design-system/yoo-progress-recap.entry.js +4 -4
- package/dist/design-system/yoo-property-card.entry.js +5 -5
- package/dist/design-system/yoo-range.entry.js +6 -6
- package/dist/design-system/yoo-rating.entry.js +4 -4
- package/dist/design-system/yoo-report-builder.entry.js +1 -1
- package/dist/design-system/yoo-reset-password.entry.js +4 -4
- package/dist/design-system/yoo-result-dialog.entry.js +5 -5
- package/dist/design-system/yoo-reveal.entry.js +4 -4
- package/dist/design-system/yoo-ripple-effect.entry.js +1 -1
- package/dist/design-system/yoo-salesai-formula.entry.js +4 -4
- package/dist/design-system/yoo-scandit.entry.js +19 -14
- package/dist/design-system/yoo-scratch-card-creator.entry.js +4 -4
- package/dist/design-system/yoo-scratch-card.entry.js +7 -7
- package/dist/design-system/yoo-scroll-to-button.entry.js +1 -1
- package/dist/design-system/yoo-section-list.entry.js +4 -4
- package/dist/design-system/yoo-segmented-control.entry.js +4 -4
- package/dist/design-system/yoo-side-menu-tree.entry.js +4 -4
- package/dist/design-system/yoo-side-menu.entry.js +4 -4
- package/dist/design-system/yoo-slides-media.entry.js +7 -7
- package/dist/design-system/yoo-start-meeting-popup.entry.js +5 -5
- package/dist/design-system/yoo-swipe-container.entry.js +1 -1
- package/dist/design-system/yoo-tabs-slides.entry.js +1 -1
- package/dist/design-system/yoo-tabs.entry.js +4 -4
- package/dist/design-system/yoo-tag.entry.js +2 -2
- package/dist/design-system/yoo-text-sequence.entry.js +22 -21
- package/dist/design-system/yoo-text.entry.js +5 -5
- package/dist/design-system/yoo-toast.entry.js +6 -6
- package/dist/design-system/yoo-tooltip.entry.js +7 -7
- package/dist/design-system/yoo-truncate.entry.js +6 -6
- package/dist/design-system/yoo-truncated-line.entry.js +4 -4
- package/dist/design-system/yoo-user-detail.entry.js +4 -4
- package/dist/design-system/yoo-user-profile.entry.js +6 -6
- package/dist/design-system/yoo-user-wizard.entry.js +5 -5
- package/dist/design-system/yoo-videoplayer-core.entry.js +5 -5
- package/dist/design-system/yoo-videoplayer-dailymotion.entry.js +6 -6
- package/dist/design-system/yoo-videoplayer-videojs.entry.js +16 -14
- package/dist/design-system/yoo-videoplayer-vimeo.entry.js +6 -6
- package/dist/design-system/yoo-videoplayer-youtube.entry.js +6 -6
- package/dist/design-system/yoo-virtual-item.entry.js +4 -4
- package/dist/design-system/yoo-virtual-scroll.entry.js +5 -5
- package/dist/design-system/yoo-waitlist-location-layout.entry.js +1 -1
- package/dist/design-system/yoo-waitlist-location-result.entry.js +4 -4
- package/dist/design-system/yoo-waitlist-location-start.entry.js +5 -5
- package/dist/design-system/yoo-walkthrough.entry.js +4 -4
- package/dist/design-system/yoo-web-menu.entry.js +5 -5
- package/dist/design-system/yoo-webcam.entry.js +4 -4
- package/dist/design-system/yoo-welcome-banner.entry.js +5 -5
- package/dist/design-system/yoo-widget-chart.entry.js +4 -4
- package/dist/design-system/yoo-widget-small-size.entry.js +4 -4
- package/dist/design-system/yoo-widget-tab.entry.js +4 -4
- package/dist/design-system/yoo-widget-tile.entry.js +4 -4
- package/dist/design-system/yoo-workflow-state-dialog.entry.js +4 -4
- package/dist/design-system/yoo-workflow-state.entry.js +5 -5
- package/dist/design-system/yoo-workflow.entry.js +8 -8
- package/dist/design-system/yoo-zebra.entry.js +4 -4
- package/dist/design-system/yoo-zoom.entry.js +5 -5
- package/dist/esm/{annotations-helpers-628a8ae3.js → annotations-helpers-f7b42b40.js} +6 -9
- package/dist/esm/{button.factory-8cf707c5.js → button.factory-b85436a9.js} +3 -3
- package/dist/esm/{camera-helpers-7ad55dca.js → camera-helpers-31ccf774.js} +3 -3
- package/dist/esm/{chat-helpers-84022100.js → chat-helpers-9f0f8f07.js} +2 -2
- package/dist/{design-system/common-helpers-980d9808.js → esm/common-helpers-e3797466.js} +2 -2
- package/dist/esm/{css-shim-04165e59.js → css-shim-845fe96b.js} +1 -1
- package/dist/esm/design-system.js +4 -4
- package/dist/{design-system/dom-26e7cb2c.js → esm/dom-9794f747.js} +1 -1
- package/dist/{design-system/draggable-dots-helpers-6700d1de.js → esm/draggable-dots-helpers-2f99fb20.js} +3 -3
- package/dist/{design-system/draggable-tags-helpers-177c5425.js → esm/draggable-tags-helpers-4471d773.js} +20 -10
- package/dist/{design-system/entities-helpers-314261d6.js → esm/entities-helpers-9b73c439.js} +3 -3
- package/dist/{design-system/filters-helpers-b534e8ed.js → esm/filters-helpers-553d2b6c.js} +4 -4
- package/dist/{design-system/form-choice-helpers-fcef921a.js → esm/form-choice-helpers-59ca0830.js} +6 -6
- package/dist/esm/{form-helpers-f240cdd6.js → form-helpers-9fbd6983.js} +3 -3
- package/dist/{design-system/form-input-helpers-9d428369.js → esm/form-input-helpers-87b417ac.js} +4 -4
- package/dist/{design-system/form-text-area-helpers-b3d3b975.js → esm/form-text-area-helpers-343d8f20.js} +2 -2
- package/dist/esm/{grid-renderers-07cc0350.js → grid-renderers-4064d89d.js} +7 -7
- package/dist/{design-system/incentive-helpers-5867649b.js → esm/incentive-helpers-585a13f1.js} +3 -3
- package/dist/esm/index-11ad6fb9.js +1 -0
- package/dist/{design-system/index-0621f7f2.js → esm/index-20e383f3.js} +2 -2
- package/dist/{design-system/index-ac42012a.js → esm/index-292fe310.js} +59 -82
- package/dist/{design-system/index-55e1ad87.js → esm/index-31d58974.js} +1 -1
- package/dist/esm/index-4b5b8ad0.js +7 -0
- package/dist/esm/{index-24530c1f.js → index-53ad1641.js} +1 -1
- package/dist/{design-system/index-eec8505b.js → esm/index-84768350.js} +72 -8
- package/dist/{design-system/index-74c3315b.js → esm/index-94aeb528.js} +2 -2
- package/dist/esm/index-a90a9947.js +1 -0
- package/dist/{design-system/index-f4276255.js → esm/index-d81fa302.js} +4 -4
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{localForage-c32f0e70.js → localForage-f05ec61c.js} +2 -2
- package/dist/{design-system/map-helpers-641c17cf.js → esm/map-helpers-b461bf31.js} +2 -2
- package/dist/{design-system/mission-locked-banner-20964a0b.js → esm/mission-locked-banner-5ffa57e8.js} +3 -3
- package/dist/esm/{missions-helpers-dcdb142a.js → missions-helpers-6a0de073.js} +2 -2
- package/dist/esm/{modal-animations-9bd60ce8.js → modal-animations-dca0491c.js} +2 -2
- package/dist/{design-system/operation-helpers-60b105fd.js → esm/operation-helpers-23ea56af.js} +22 -4
- package/dist/{design-system/overlays-ca470e26.js → esm/overlays-5f04c358.js} +3 -3
- package/dist/esm/{overlays-54d1b9f8.js → overlays-71ffe7eb.js} +1000 -504
- package/dist/{design-system/shadow-css-8eba16c2.js → esm/shadow-css-b45d2670.js} +1 -1
- package/dist/esm/swiper-83529394.js +12 -0
- package/dist/{design-system/tag.factory-da0e41e0.js → esm/tag.factory-548fd809.js} +1 -1
- package/dist/{design-system/theme-dc55c13c.js → esm/theme-5506417f.js} +2 -2
- package/dist/esm/{tippy.esm-367d156a.js → tippy.esm-542d7b88.js} +61 -50
- package/dist/{design-system/video-player-helpers-9f742b0f.js → esm/video-player-helpers-c2491e4a.js} +4 -4
- package/dist/{design-system/web-60c3ad08.js → esm/web-a8785545.js} +2 -2
- package/dist/{design-system/web-20c659e3.js → esm/web-ac4d7854.js} +4 -4
- package/dist/{design-system/web-a19bf48b.js → esm/web-d571009b.js} +2 -2
- package/dist/{design-system/web-dc26e5ed.js → esm/web-e849e110.js} +2 -2
- package/dist/esm/yoo-about.entry.js +4 -4
- package/dist/esm/yoo-accordion.entry.js +7 -7
- package/dist/esm/yoo-action-sheet-controller.entry.js +5 -12
- package/dist/esm/yoo-action-sheet.entry.js +7 -7
- package/dist/esm/yoo-ag-grid.entry.js +9 -9
- package/dist/esm/yoo-alert.entry.js +7 -7
- package/dist/esm/yoo-amap.entry.js +6 -6
- package/dist/esm/yoo-announcement-heading.entry.js +13 -9
- package/dist/esm/yoo-app.entry.js +4 -4
- package/dist/esm/yoo-audio-player.entry.js +5 -5
- package/dist/esm/yoo-audio-recorder-dialog.entry.js +5 -5
- package/dist/esm/yoo-avatar.entry.js +4 -4
- package/dist/esm/yoo-avatars.entry.js +4 -4
- package/dist/esm/yoo-background.entry.js +5 -5
- package/dist/esm/yoo-badge.entry.js +2 -2
- package/dist/esm/yoo-banner.entry.js +5 -5
- package/dist/esm/yoo-barcode-dialog.entry.js +4 -4
- package/dist/esm/yoo-barcode.entry.js +1 -1
- package/dist/esm/yoo-battle-count-down.entry.js +5 -5
- package/dist/esm/yoo-battle-result.entry.js +4 -4
- package/dist/esm/yoo-battle-user-stats.entry.js +5 -5
- package/dist/esm/yoo-breadcrumbs.entry.js +4 -4
- package/dist/esm/yoo-button.entry.js +6 -6
- package/dist/esm/yoo-buttons-list.entry.js +1 -1
- package/dist/esm/yoo-calendar.entry.js +4 -4
- package/dist/esm/yoo-camera-preview-dialog.entry.js +7 -7
- package/dist/esm/yoo-card-avatar.entry.js +2 -2
- package/dist/esm/yoo-card-avatars.entry.js +2 -2
- package/dist/esm/yoo-card-battle-result.entry.js +4 -4
- package/dist/esm/yoo-card-battle.entry.js +4 -4
- package/dist/esm/yoo-card-calendar.entry.js +5 -5
- package/dist/esm/yoo-card-campaign.entry.js +19 -12
- package/dist/esm/yoo-card-cell.entry.js +5 -5
- package/dist/esm/yoo-card-chat.entry.js +4 -4
- package/dist/esm/yoo-card-course-row-compact.entry.js +4 -4
- package/dist/esm/yoo-card-course-row.entry.js +6 -6
- package/dist/esm/yoo-card-course.entry.js +4 -4
- package/dist/esm/yoo-card-feed-row.entry.js +4 -4
- package/dist/esm/yoo-card-feed.entry.js +12 -13
- package/dist/esm/yoo-card-file.entry.js +4 -4
- package/dist/esm/yoo-card-image.entry.js +4 -4
- package/dist/esm/yoo-card-inbox.entry.js +4 -4
- package/dist/esm/yoo-card-incentive-rank.entry.js +4 -4
- package/dist/esm/yoo-card-incentive.entry.js +6 -6
- package/dist/esm/yoo-card-kanban.entry.js +5 -5
- package/dist/esm/yoo-card-lesson.entry.js +5 -5
- package/dist/esm/yoo-card-list-collapsible.entry.js +5 -5
- package/dist/esm/yoo-card-list-color.entry.js +4 -4
- package/dist/esm/yoo-card-list-image.entry.js +1 -1
- package/dist/esm/yoo-card-list-simple.entry.js +5 -5
- package/dist/esm/yoo-card-list.entry.js +5 -5
- package/dist/esm/yoo-card-location.entry.js +4 -4
- package/dist/esm/yoo-card-media.entry.js +5 -5
- package/dist/esm/yoo-card-menu.entry.js +5 -5
- package/dist/esm/yoo-card-notification.entry.js +4 -4
- package/dist/esm/yoo-card-placeholder.entry.js +1 -1
- package/dist/esm/yoo-card-plan.entry.js +5 -5
- package/dist/esm/yoo-card-progress.entry.js +4 -4
- package/dist/esm/yoo-card-recommendation.entry.js +5 -5
- package/dist/esm/yoo-card-sticky.entry.js +5 -5
- package/dist/esm/yoo-card-template.entry.js +1 -1
- package/dist/esm/yoo-card-video.entry.js +4 -4
- package/dist/esm/yoo-card.entry.js +1 -1
- package/dist/esm/yoo-chart-micro.entry.js +1 -1
- package/dist/esm/yoo-chart.entry.js +4 -4
- package/dist/esm/yoo-chat-message-dialog.entry.js +5 -5
- package/dist/esm/yoo-chat-message-preview.entry.js +5 -5
- package/dist/esm/yoo-chat-message.entry.js +6 -6
- package/dist/esm/yoo-chat.entry.js +8 -8
- package/dist/esm/yoo-collapsible.entry.js +4 -4
- package/dist/esm/yoo-color-selector.entry.js +4 -4
- package/dist/esm/yoo-community-detail.entry.js +5 -5
- package/dist/esm/yoo-context-dialog.entry.js +1 -1
- package/dist/esm/yoo-context-menu-dialog.entry.js +5 -5
- package/dist/esm/yoo-context-menu.entry.js +5 -5
- package/dist/esm/yoo-copyright.entry.js +4 -4
- package/dist/esm/yoo-count-down.entry.js +5 -5
- package/dist/esm/yoo-course-info-card.entry.js +4 -4
- package/dist/esm/yoo-course-summary.entry.js +5 -5
- package/dist/esm/yoo-dashboard-detail.entry.js +4 -4
- package/dist/esm/yoo-date.entry.js +4 -4
- package/dist/esm/yoo-detail-bar.entry.js +9 -9
- package/dist/esm/yoo-device-list.entry.js +4 -4
- package/dist/esm/yoo-device.entry.js +4 -4
- package/dist/esm/yoo-display-increment.entry.js +1 -1
- package/dist/esm/yoo-draw-flow.entry.js +4 -4
- package/dist/esm/yoo-empty-state.entry.js +2 -2
- package/dist/esm/yoo-entity-query-builder.entry.js +7 -7
- package/dist/esm/yoo-entity-search-dialog.entry.js +5 -5
- package/dist/esm/yoo-entity-search-filters.entry.js +7 -7
- package/dist/esm/yoo-entity-search-recent.entry.js +4 -4
- package/dist/esm/yoo-entity-search-sorts.entry.js +5 -5
- package/dist/esm/yoo-entity-search-tags.entry.js +5 -5
- package/dist/esm/yoo-entity-search.entry.js +5 -5
- package/dist/esm/yoo-entity.entry.js +18 -17
- package/dist/esm/yoo-feed-detail.entry.js +7 -7
- package/dist/esm/yoo-flag.entry.js +4 -4
- package/dist/esm/yoo-flip-card.entry.js +1 -1
- package/dist/esm/yoo-form-audience.entry.js +7 -7
- package/dist/esm/yoo-form-autocomplete-dialog.entry.js +5 -5
- package/dist/esm/yoo-form-autocomplete.entry.js +6 -6
- package/dist/esm/yoo-form-barcode-dialog.entry.js +5 -5
- package/dist/esm/yoo-form-barcode.entry.js +6 -6
- package/dist/esm/yoo-form-calendar-dialog.entry.js +5 -5
- package/dist/esm/yoo-form-capture-map-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-capture-tag-dialog.entry.js +5 -5
- package/dist/esm/yoo-form-capture-view-dialog.entry.js +5 -5
- package/dist/esm/yoo-form-capture-webcam-dialog.entry.js +6 -6
- package/dist/esm/yoo-form-capture.entry.js +8 -8
- package/dist/esm/yoo-form-carousel.entry.js +5 -5
- package/dist/esm/yoo-form-catalog-dialog.entry.js +5 -5
- package/dist/esm/yoo-form-catalog.entry.js +6 -6
- package/dist/esm/yoo-form-categorize-words.entry.js +35 -43
- package/dist/esm/yoo-form-checkbox.entry.js +6 -6
- package/dist/esm/yoo-form-checklist.entry.js +6 -6
- package/dist/esm/yoo-form-choice-button.entry.js +8 -8
- package/dist/esm/yoo-form-choice-card.entry.js +8 -8
- package/dist/esm/yoo-form-choice-chat.entry.js +8 -8
- package/dist/esm/yoo-form-choice-image.entry.js +10 -10
- package/dist/esm/yoo-form-choice-radio.entry.js +9 -9
- package/dist/esm/yoo-form-color-field.entry.js +6 -6
- package/dist/esm/yoo-form-color-picker.entry.js +4 -4
- package/dist/esm/yoo-form-conditions.entry.js +4 -4
- package/dist/esm/yoo-form-connect.entry.js +12 -21
- package/dist/esm/yoo-form-creator-block-expandable.entry.js +8 -8
- package/dist/esm/yoo-form-creator-block-simple.entry.js +5 -5
- package/dist/esm/yoo-form-creator-card.entry.js +1 -1
- package/dist/esm/yoo-form-creator-condition-block.entry.js +9 -6
- package/dist/esm/yoo-form-creator-field-selector.entry.js +5 -5
- package/dist/esm/yoo-form-creator-header.entry.js +5 -5
- package/dist/esm/yoo-form-creator-live-preview.entry.js +14 -9
- package/dist/esm/yoo-form-creator-overlay.entry.js +4 -4
- package/dist/esm/yoo-form-creator-page-card-list.entry.js +6 -6
- package/dist/esm/yoo-form-creator-page-card.entry.js +6 -6
- package/dist/esm/yoo-form-creator-restriction-selector.entry.js +16 -2
- package/dist/esm/yoo-form-creator-score-expandable.entry.js +6 -6
- package/dist/esm/yoo-form-creator-scoring-card-list.entry.js +4 -4
- package/dist/esm/yoo-form-creator-scoring-card.entry.js +4 -4
- package/dist/esm/yoo-form-creator-scoring-quick-setup.entry.js +4 -4
- package/dist/esm/yoo-form-creator-translate-dialog.entry.js +6 -6
- package/dist/esm/yoo-form-creator-translate.entry.js +6 -6
- package/dist/esm/yoo-form-creator-workflow-card.entry.js +1 -1
- package/dist/esm/yoo-form-creator-workflow-side-selection.entry.js +7 -7
- package/dist/esm/yoo-form-creator-workflow-step.entry.js +5 -5
- package/dist/esm/yoo-form-creator.entry.js +10 -10
- package/dist/esm/yoo-form-date-time.entry.js +6 -6
- package/dist/esm/yoo-form-daterange.entry.js +6 -6
- package/dist/esm/yoo-form-document-dialog.entry.js +5 -5
- package/dist/esm/yoo-form-document.entry.js +6 -6
- package/dist/esm/yoo-form-dynamic-dialog.entry.js +6 -6
- package/dist/esm/yoo-form-dynamic.entry.js +38 -33
- package/dist/esm/yoo-form-emailreport.entry.js +6 -6
- package/dist/esm/yoo-form-entity-value-pairs.entry.js +4 -4
- package/dist/esm/yoo-form-explanation.entry.js +4 -4
- package/dist/esm/yoo-form-feed-preview.entry.js +6 -6
- package/dist/esm/yoo-form-feedback.entry.js +6 -6
- package/dist/esm/yoo-form-filter-date.entry.js +4 -4
- package/dist/esm/yoo-form-filter-number.entry.js +4 -4
- package/dist/esm/yoo-form-filter-text.entry.js +4 -4
- package/dist/esm/yoo-form-filter.entry.js +5 -5
- package/dist/esm/yoo-form-footer.entry.js +7 -7
- package/dist/esm/yoo-form-formula.entry.js +6 -6
- package/dist/esm/yoo-form-hotzones-creator.entry.js +4 -4
- package/dist/esm/yoo-form-hotzones.entry.js +45 -34
- package/dist/esm/yoo-form-iframe-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-image-collection.entry.js +27 -23
- package/dist/esm/yoo-form-image-tagging-creator.entry.js +8 -8
- package/dist/esm/yoo-form-image-tagging.entry.js +69 -70
- package/dist/esm/yoo-form-incentive-participants.entry.js +2 -2
- package/dist/esm/yoo-form-incentive-targets.entry.js +6 -6
- package/dist/esm/yoo-form-input-comments.entry.js +4 -4
- package/dist/esm/yoo-form-input-container.entry.js +11 -32
- package/dist/esm/yoo-form-input.entry.js +10 -10
- package/dist/esm/yoo-form-json.entry.js +7 -7
- package/dist/esm/yoo-form-location.entry.js +6 -6
- package/dist/esm/yoo-form-missing-word.entry.js +52 -50
- package/dist/esm/yoo-form-missionfield.entry.js +6 -6
- package/dist/esm/yoo-form-multi-input.entry.js +6 -6
- package/dist/esm/yoo-form-number-picker-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-number-picker.entry.js +4 -4
- package/dist/esm/yoo-form-opening-hours.entry.js +4 -4
- package/dist/esm/yoo-form-palette.entry.js +1 -1
- package/dist/esm/yoo-form-permissions.entry.js +5 -5
- package/dist/esm/yoo-form-phone-number.entry.js +5 -5
- package/dist/esm/yoo-form-plan-assign.entry.js +6 -6
- package/dist/esm/yoo-form-plan.entry.js +6 -6
- package/dist/esm/yoo-form-pricecheck.entry.js +6 -6
- package/dist/esm/yoo-form-product-batch.entry.js +7 -7
- package/dist/esm/yoo-form-products-sales.entry.js +6 -6
- package/dist/esm/yoo-form-progress-indicator.entry.js +5 -5
- package/dist/esm/yoo-form-qrcode.entry.js +6 -6
- package/dist/esm/yoo-form-query-builder.entry.js +6 -6
- package/dist/esm/yoo-form-radio.entry.js +1 -1
- package/dist/esm/yoo-form-range.entry.js +6 -6
- package/dist/esm/yoo-form-ranking.entry.js +24 -12
- package/dist/esm/yoo-form-recap-step.entry.js +4 -4
- package/dist/esm/yoo-form-recurrence-delay.entry.js +4 -4
- package/dist/esm/yoo-form-recurrence-preview.entry.js +5 -5
- package/dist/esm/yoo-form-recurrence.entry.js +5 -5
- package/dist/esm/yoo-form-reorder.entry.js +6 -6
- package/dist/esm/yoo-form-scorm.entry.js +6 -6
- package/dist/esm/yoo-form-shopping.entry.js +6 -6
- package/dist/esm/yoo-form-signature-pad-dialog.entry.js +5 -5
- package/dist/esm/yoo-form-signature-pad.entry.js +6 -6
- package/dist/esm/yoo-form-sorts.entry.js +6 -6
- package/dist/esm/yoo-form-star-rating.entry.js +6 -6
- package/dist/esm/yoo-form-stripe-card.entry.js +6 -6
- package/dist/esm/yoo-form-swipe-cards.entry.js +12 -15
- package/dist/esm/yoo-form-table.entry.js +6 -6
- package/dist/esm/yoo-form-task.entry.js +6 -6
- package/dist/esm/yoo-form-text-area.entry.js +12 -20
- package/dist/esm/yoo-form-text-editor.entry.js +81 -79
- package/dist/esm/yoo-form-time.entry.js +6 -6
- package/dist/esm/yoo-form-timeslots.entry.js +6 -6
- package/dist/esm/yoo-form-todo-dialog.entry.js +5 -5
- package/dist/esm/yoo-form-todo-single.entry.js +6 -6
- package/dist/esm/yoo-form-todo-task-list.entry.js +5 -5
- package/dist/esm/yoo-form-todo-task.entry.js +5 -5
- package/dist/esm/yoo-form-todo.entry.js +6 -6
- package/dist/esm/yoo-form-toggle.entry.js +6 -6
- package/dist/esm/yoo-form-uploader.entry.js +6 -6
- package/dist/esm/yoo-form-videoplayer.entry.js +6 -6
- package/dist/esm/yoo-form-wiki.entry.js +6 -6
- package/dist/esm/yoo-grid-calendar.entry.js +8 -8
- package/dist/esm/yoo-grid.entry.js +15 -15
- package/dist/esm/yoo-gridstack.entry.js +5 -5
- package/dist/esm/yoo-header.entry.js +5 -5
- package/dist/esm/yoo-healthscore-dialog.entry.js +5 -5
- package/dist/esm/yoo-healthscore.entry.js +4 -4
- package/dist/esm/yoo-icon.entry.js +1 -1
- package/dist/esm/yoo-image-cropper-dialog.entry.js +4 -4
- package/dist/esm/yoo-img.entry.js +6 -6
- package/dist/esm/yoo-incentive-detail.entry.js +6 -6
- package/dist/esm/yoo-info-text.entry.js +1 -1
- package/dist/esm/yoo-input-bar.entry.js +54 -138
- package/dist/esm/yoo-ion-alert-controller.entry.js +5 -11
- package/dist/esm/yoo-ion-content.entry.js +4 -4
- package/dist/esm/yoo-ion-footer.entry.js +5 -5
- package/dist/esm/yoo-ion-infinite-scroll-content.entry.js +4 -4
- package/dist/esm/yoo-ion-infinite-scroll.entry.js +4 -4
- package/dist/esm/yoo-ion-item-divider.entry.js +6 -6
- package/dist/esm/yoo-ion-item-options.entry.js +5 -5
- package/dist/esm/yoo-ion-item-sliding.entry.js +6 -6
- package/dist/esm/yoo-ion-item.entry.js +6 -6
- package/dist/esm/yoo-ion-list.entry.js +5 -5
- package/dist/esm/yoo-ion-modal-controller.entry.js +5 -11
- package/dist/esm/yoo-ion-modal.entry.js +8 -8
- package/dist/esm/yoo-ion-refresher-content.entry.js +1 -1
- package/dist/esm/yoo-ion-refresher.entry.js +5 -5
- package/dist/esm/yoo-ion-scroll.entry.js +5 -5
- package/dist/esm/yoo-ion-slide.entry.js +5 -5
- package/dist/esm/{yoo-ion-slides-60d13e8b.js → yoo-ion-slides-31bb3ec3.js} +6 -6
- package/dist/esm/yoo-ion-slides.entry.js +7 -7
- package/dist/esm/yoo-ion-toast-controller.entry.js +5 -11
- package/dist/esm/yoo-items.entry.js +1 -1
- package/dist/esm/yoo-kanban.entry.js +5 -5
- package/dist/esm/yoo-kpi-card.entry.js +4 -4
- package/dist/esm/yoo-kpi-container.entry.js +5 -5
- package/dist/esm/yoo-kpi-external.entry.js +4 -4
- package/dist/esm/yoo-kpi.entry.js +5 -5
- package/dist/esm/yoo-layout-sections.entry.js +4 -4
- package/dist/esm/yoo-layout-tabs.entry.js +4 -4
- package/dist/esm/yoo-layout-two-columns.entry.js +4 -4
- package/dist/esm/yoo-lesson-detail-card.entry.js +4 -4
- package/dist/esm/yoo-lesson-detail.entry.js +5 -5
- package/dist/esm/yoo-lesson-heading.entry.js +5 -5
- package/dist/esm/yoo-lesson-highscores.entry.js +4 -4
- package/dist/esm/yoo-lesson-question-result.entry.js +6 -6
- package/dist/esm/yoo-line-state.entry.js +2 -2
- package/dist/esm/yoo-link.entry.js +1 -1
- package/dist/esm/yoo-links-menu.entry.js +4 -4
- package/dist/esm/yoo-links-preview.entry.js +13 -11
- package/dist/esm/yoo-loader.entry.js +4 -4
- package/dist/esm/yoo-location-info.entry.js +4 -4
- package/dist/esm/yoo-location-map.entry.js +5 -5
- package/dist/esm/yoo-login.entry.js +17 -5
- package/dist/esm/yoo-lottie.entry.js +37 -6
- package/dist/esm/yoo-map-gl.entry.js +5 -5
- package/dist/esm/yoo-map-js.entry.js +6 -6
- package/dist/esm/yoo-map-legend.entry.js +6 -6
- package/dist/esm/yoo-map.entry.js +5 -5
- package/dist/esm/yoo-markdown.entry.js +7 -7
- package/dist/esm/yoo-memo-list-dialog.entry.js +4 -4
- package/dist/esm/yoo-memo-list.entry.js +4 -4
- package/dist/esm/yoo-mention-tag.entry.js +4 -4
- package/dist/esm/yoo-mission-details.entry.js +6 -6
- package/dist/esm/yoo-mission-heading.entry.js +7 -7
- package/dist/esm/yoo-mission-score.entry.js +4 -4
- package/dist/esm/yoo-mission-todo.entry.js +5 -5
- package/dist/esm/yoo-mobile-tabbar-more.entry.js +4 -4
- package/dist/esm/yoo-mobile-tabbar.entry.js +5 -5
- package/dist/esm/yoo-navbar.entry.js +5 -5
- package/dist/esm/yoo-numbers-display.entry.js +5 -5
- package/dist/esm/yoo-photo-editor.entry.js +13 -19
- package/dist/esm/yoo-pivot-table.entry.js +9 -9
- package/dist/esm/yoo-podium.entry.js +4 -4
- package/dist/esm/yoo-points-recap.entry.js +1 -1
- package/dist/esm/yoo-profile-list.entry.js +4 -4
- package/dist/esm/yoo-profile-summary.entry.js +9 -7
- package/dist/esm/yoo-progress-bar.entry.js +4 -4
- package/dist/esm/yoo-progress-loader.entry.js +4 -4
- package/dist/esm/yoo-progress-recap.entry.js +4 -4
- package/dist/esm/yoo-property-card.entry.js +5 -5
- package/dist/esm/yoo-range.entry.js +6 -6
- package/dist/esm/yoo-rating.entry.js +4 -4
- package/dist/esm/yoo-report-builder.entry.js +1 -1
- package/dist/esm/yoo-reset-password.entry.js +4 -4
- package/dist/esm/yoo-result-dialog.entry.js +5 -5
- package/dist/esm/yoo-reveal.entry.js +4 -4
- package/dist/esm/yoo-ripple-effect.entry.js +1 -1
- package/dist/esm/yoo-salesai-formula.entry.js +4 -4
- package/dist/esm/yoo-scandit.entry.js +19 -14
- package/dist/esm/yoo-scratch-card-creator.entry.js +4 -4
- package/dist/esm/yoo-scratch-card.entry.js +7 -7
- package/dist/esm/yoo-scroll-to-button.entry.js +1 -1
- package/dist/esm/yoo-section-list.entry.js +4 -4
- package/dist/esm/yoo-segmented-control.entry.js +4 -4
- package/dist/esm/yoo-side-menu-tree.entry.js +4 -4
- package/dist/esm/yoo-side-menu.entry.js +4 -4
- package/dist/esm/yoo-slides-media.entry.js +7 -7
- package/dist/esm/yoo-start-meeting-popup.entry.js +5 -5
- package/dist/esm/yoo-swipe-container.entry.js +1 -1
- package/dist/esm/yoo-tabs-slides.entry.js +1 -1
- package/dist/esm/yoo-tabs.entry.js +4 -4
- package/dist/esm/yoo-tag.entry.js +2 -2
- package/dist/esm/yoo-text-sequence.entry.js +22 -21
- package/dist/esm/yoo-text.entry.js +5 -5
- package/dist/esm/yoo-toast.entry.js +6 -6
- package/dist/esm/yoo-tooltip.entry.js +7 -7
- package/dist/esm/yoo-truncate.entry.js +6 -6
- package/dist/esm/yoo-truncated-line.entry.js +4 -4
- package/dist/esm/yoo-user-detail.entry.js +4 -4
- package/dist/esm/yoo-user-profile.entry.js +6 -6
- package/dist/esm/yoo-user-wizard.entry.js +5 -5
- package/dist/esm/yoo-videoplayer-core.entry.js +5 -5
- package/dist/esm/yoo-videoplayer-dailymotion.entry.js +6 -6
- package/dist/esm/yoo-videoplayer-videojs.entry.js +16 -14
- package/dist/esm/yoo-videoplayer-vimeo.entry.js +6 -6
- package/dist/esm/yoo-videoplayer-youtube.entry.js +6 -6
- package/dist/esm/yoo-virtual-item.entry.js +4 -4
- package/dist/esm/yoo-virtual-scroll.entry.js +5 -5
- package/dist/esm/yoo-waitlist-location-layout.entry.js +1 -1
- package/dist/esm/yoo-waitlist-location-result.entry.js +4 -4
- package/dist/esm/yoo-waitlist-location-start.entry.js +5 -5
- package/dist/esm/yoo-walkthrough.entry.js +4 -4
- package/dist/esm/yoo-web-menu.entry.js +5 -5
- package/dist/esm/yoo-webcam.entry.js +4 -4
- package/dist/esm/yoo-welcome-banner.entry.js +5 -5
- package/dist/esm/yoo-widget-chart.entry.js +4 -4
- package/dist/esm/yoo-widget-small-size.entry.js +4 -4
- package/dist/esm/yoo-widget-tab.entry.js +4 -4
- package/dist/esm/yoo-widget-tile.entry.js +4 -4
- package/dist/esm/yoo-workflow-state-dialog.entry.js +4 -4
- package/dist/esm/yoo-workflow-state.entry.js +5 -5
- package/dist/esm/yoo-workflow.entry.js +8 -8
- package/dist/esm/yoo-zebra.entry.js +4 -4
- package/dist/esm/yoo-zoom.entry.js +5 -5
- package/dist/types/components/2.molecules/action-sheet-controller/action-sheet-controller.d.ts +0 -5
- package/dist/types/components/2.molecules/alert-controller/alert-controller.d.ts +0 -4
- package/dist/types/components/2.molecules/modal/modal.d.ts +1 -1
- package/dist/types/components/2.molecules/modal-controller/modal-controller.d.ts +0 -4
- package/dist/types/components/2.molecules/text-sequence/text-sequence.d.ts +6 -5
- package/dist/types/components/2.molecules/toast-controller/toast-controller.d.ts +0 -4
- package/dist/types/components/form/form-categorize-words/form-categorize-words.d.ts +7 -31
- package/dist/types/components/form/form-choice/radio/form-choice-radio.d.ts +1 -0
- package/dist/types/components/form/form-hotzones/form-hotzones.d.ts +8 -7
- package/dist/types/components/form/form-image-collection/form-image-collection.d.ts +3 -4
- package/dist/types/components/form/form-image-tagging/form-image-tagging.d.ts +8 -10
- package/dist/types/components/form/form-input-container/form-input-container.d.ts +0 -5
- package/dist/types/components/form/form-missing-word/form-missing-word.d.ts +7 -10
- package/dist/types/components/form/form-ranking/form-ranking.d.ts +6 -2
- package/dist/types/components/form/form-text-area/form-text-area.d.ts +1 -1
- package/dist/types/components/form/links-preview/links-preview.d.ts +1 -0
- package/dist/types/components/form-creator/constants/index.d.ts +2 -1
- package/dist/types/components/form-creator/form-creator-condition-block/form-creator-condition-block.d.ts +1 -0
- package/dist/types/components/form-creator/form-creator-live-preview/form-creator-live-preview.d.ts +0 -1
- package/dist/types/components/form-creator/form-creator-restriction-selector/form-creator-restriction-selector.d.ts +3 -0
- package/dist/types/components.d.ts +26 -130
- package/dist/types/feature-operate/campaign/card-campaign/card-campaign.d.ts +6 -0
- package/dist/types/feature-operate/mission/announcement-heading/announcement-heading.d.ts +1 -0
- package/dist/types/feature-platform/login/login/login.d.ts +1 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/communities/communities.interface.d.ts +2 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/condition/condition.interface.d.ts +2 -2
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/form-field/form-field.interface.d.ts +1 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/kpi/kpi.interface.d.ts +6 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/mission-description/mission-description.interface.d.ts +10 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/types/routes.d.ts +1 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/ui/app/app.interface.d.ts +1 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/ui/lottie/lottie.interface.d.ts +1 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/utils/src/helpers/campaigns-helpers.d.ts +2 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/utils/src/helpers/image-helpers.d.ts +1 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/utils/src/helpers/url-helpers.d.ts +5 -1
- package/dist/types/interfaces/ui/modal.interface.d.ts +0 -1
- package/dist/types/utils/draggables/tags.d.ts +3 -2
- package/dist/types/utils/draggables/zones.d.ts +1 -0
- package/dist/types/utils/helpers/draggable-tags-helpers.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/index-0b986d6b.js +0 -4
- package/dist/cjs/index-360cbd7d.js +0 -4
- package/dist/cjs/swiper-59b819e1.js +0 -15
- package/dist/cjs/yoo-modal.cjs.entry.js +0 -118
- package/dist/collection/components/3.organisms/modal/modal.css +0 -644
- package/dist/collection/components/3.organisms/modal/modal.js +0 -486
- package/dist/design-system/index-8788bbf4.js +0 -1
- package/dist/design-system/index-aea0ac6c.js +0 -6
- package/dist/design-system/index-d1359600.js +0 -1
- package/dist/design-system/swiper-e51a8cf2.js +0 -12
- package/dist/design-system/yoo-modal.entry.js +0 -114
- package/dist/esm/index-8788bbf4.js +0 -1
- package/dist/esm/index-aea0ac6c.js +0 -6
- package/dist/esm/index-d1359600.js +0 -1
- package/dist/esm/swiper-e51a8cf2.js +0 -12
- package/dist/esm/yoo-modal.entry.js +0 -114
- package/dist/types/components/3.organisms/modal/modal.d.ts +0 -40
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as isFunction$3, g as global$1, m as maxBy, i as isArray$4, f as flatMap$1, d as concat$3, e as isPlainObject, k as keys, h as map$2, u as union, j as camelCase, l as uniq, n as compact, w as without, a as isNumber$1, r as round, o as orderBy, p as capitalize, q as isString$3, c as cloneDeep, s as assign$2, t as clone, v as isObject$1, x as isDate$1, y as isEmpty$1, z as intersection, A as isEqual, B as sortBy, C as get$2, D as isNull, E as isUndefined, F as indexOf$1, G as isBoolean$1, H as isNil, I as omit, J as pick, K as includes, L as reduce$1, M as last$2, N as size, O as isFinite$1 } from './lodash-653c0bcd.js';
|
|
2
|
-
import { M as MessageType, F as FormFilterDateOperator, a as MAX_FORM_TRANSLATE_VALUE, E as EventType, b as FeedPostType, I as IEntityActionType, c as FormFieldType, d as FieldComputationSessionValues, A as ALL_MOBILE_FORM_FIELDS, S as ScoringCategory, G as GENERAL_TRANSLATABLE_ATTRIBUTES, T as TRANSLATABLE_FORM_FIELD_ATTRIBUTES, C as COMPLEX_ARRAY_TRANSLATABLE_FORM_FIELD_ATTRIBUTES, e as SINGLE_ARRAY_TRANSLATABLE_FORM_FIELD_ATTRIBUTES, f as COMPLEX_OBJECT_TRANSLATABLE_FORM_FIELD_ATTRIBUTES, g as AVAILABLE_LANGUAGES, h as IncentiveStatus, i as IncentiveType, j as TWaitlistMessageState, k as TWaitlistMessageType, l as CHART_TYPES } from './index-
|
|
2
|
+
import { M as MessageType, F as FormFilterDateOperator, a as MAX_FORM_TRANSLATE_VALUE, E as EventType, b as FeedPostType, I as IEntityActionType, c as FormFieldType, d as FieldComputationSessionValues, A as ALL_MOBILE_FORM_FIELDS, S as ScoringCategory, G as GENERAL_TRANSLATABLE_ATTRIBUTES, T as TRANSLATABLE_FORM_FIELD_ATTRIBUTES, C as COMPLEX_ARRAY_TRANSLATABLE_FORM_FIELD_ATTRIBUTES, e as SINGLE_ARRAY_TRANSLATABLE_FORM_FIELD_ATTRIBUTES, f as COMPLEX_OBJECT_TRANSLATABLE_FORM_FIELD_ATTRIBUTES, g as AVAILABLE_LANGUAGES, h as IncentiveStatus, i as IncentiveType, j as TWaitlistMessageState, k as TWaitlistMessageType, l as CHART_TYPES } from './index-84768350.js';
|
|
3
3
|
import { c as commonjsGlobal, a as createCommonjsModule, g as getDefaultExportFromCjs, b as getAugmentedNamespace, d as commonjsRequire } from './_commonjsHelpers-f4d11124.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
@@ -1772,7 +1772,7 @@ function _assertThisInitialized$1(self) { if (self === void 0) { throw new Refer
|
|
|
1772
1772
|
function _inheritsLoose$1(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
1773
1773
|
|
|
1774
1774
|
/*!
|
|
1775
|
-
* GSAP 3.
|
|
1775
|
+
* GSAP 3.11.0
|
|
1776
1776
|
* https://greensock.com
|
|
1777
1777
|
*
|
|
1778
1778
|
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -1796,6 +1796,8 @@ var _config$3 = {
|
|
|
1796
1796
|
delay: 0
|
|
1797
1797
|
},
|
|
1798
1798
|
_suppressOverwrites$1,
|
|
1799
|
+
_reverting$2,
|
|
1800
|
+
_context$1,
|
|
1799
1801
|
_bigNum$4 = 1e8,
|
|
1800
1802
|
_tinyNum$1 = 1 / _bigNum$4,
|
|
1801
1803
|
_2PI = Math.PI * 2,
|
|
@@ -1863,6 +1865,13 @@ _unitExp = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,
|
|
|
1863
1865
|
},
|
|
1864
1866
|
_emptyFunc$3 = function _emptyFunc() {
|
|
1865
1867
|
return 0;
|
|
1868
|
+
},
|
|
1869
|
+
_startAtRevertConfig = {
|
|
1870
|
+
suppressEvents: true,
|
|
1871
|
+
isStart: true
|
|
1872
|
+
},
|
|
1873
|
+
_revertConfig = {
|
|
1874
|
+
suppressEvents: true
|
|
1866
1875
|
},
|
|
1867
1876
|
_reservedProps$1 = {},
|
|
1868
1877
|
_lazyTweens = [],
|
|
@@ -1944,7 +1953,7 @@ _parseRelative = function _parseRelative(start, value) {
|
|
|
1944
1953
|
},
|
|
1945
1954
|
_lazySafeRender = function _lazySafeRender(animation, time, suppressEvents, force) {
|
|
1946
1955
|
_lazyTweens.length && _lazyRender();
|
|
1947
|
-
animation.render(time, suppressEvents, force);
|
|
1956
|
+
animation.render(time, suppressEvents, force || _reverting$2);
|
|
1948
1957
|
_lazyTweens.length && _lazyRender(); //in case rendering caused any tweens to lazy-init, we should render them because typically when someone calls seek() or time() or progress(), they expect an immediate render.
|
|
1949
1958
|
},
|
|
1950
1959
|
_numericIfPossible = function _numericIfPossible(value) {
|
|
@@ -2105,6 +2114,9 @@ _parseRelative = function _parseRelative(start, value) {
|
|
|
2105
2114
|
}
|
|
2106
2115
|
|
|
2107
2116
|
return animation;
|
|
2117
|
+
},
|
|
2118
|
+
_rewindStartAt = function _rewindStartAt(tween, totalTime, suppressEvents, force) {
|
|
2119
|
+
return tween._startAt && (_reverting$2 ? tween._startAt.revert(_revertConfig) : tween.vars.immediateRender && !tween.vars.autoRevert || tween._startAt.render(totalTime, true, force));
|
|
2108
2120
|
},
|
|
2109
2121
|
_hasNoPausedAncestors = function _hasNoPausedAncestors(animation) {
|
|
2110
2122
|
return !animation || animation._ts && _hasNoPausedAncestors(animation.parent);
|
|
@@ -2185,6 +2197,8 @@ _postAddChecks = function _postAddChecks(timeline, child) {
|
|
|
2185
2197
|
|
|
2186
2198
|
_isFromOrFromStart(child) || (timeline._recent = child);
|
|
2187
2199
|
skipChecks || _postAddChecks(timeline, child);
|
|
2200
|
+
timeline._ts < 0 && _alignPlayhead(timeline, timeline._tTime); // if the timeline is reversed and the new child makes it longer, we may need to adjust the parent's _start (push it back)
|
|
2201
|
+
|
|
2188
2202
|
return timeline;
|
|
2189
2203
|
},
|
|
2190
2204
|
_scrollTrigger = function _scrollTrigger(animation, trigger) {
|
|
@@ -2236,7 +2250,7 @@ _isFromOrFromStart = function _isFromOrFromStart(_ref2) {
|
|
|
2236
2250
|
}
|
|
2237
2251
|
}
|
|
2238
2252
|
|
|
2239
|
-
if (ratio !== prevRatio || force || tween._zTime === _tinyNum$1 || !totalTime && tween._zTime) {
|
|
2253
|
+
if (ratio !== prevRatio || _reverting$2 || force || tween._zTime === _tinyNum$1 || !totalTime && tween._zTime) {
|
|
2240
2254
|
if (!tween._initted && _attemptInitTween(tween, totalTime, force, suppressEvents)) {
|
|
2241
2255
|
// if we render the very beginning (time == 0) of a fromTo(), we must force the render (normal tweens wouldn't need to render at a time of 0 when the prevTime was also 0). This is also mandatory to make sure overwriting kicks in immediately.
|
|
2242
2256
|
return;
|
|
@@ -2258,7 +2272,7 @@ _isFromOrFromStart = function _isFromOrFromStart(_ref2) {
|
|
|
2258
2272
|
pt = pt._next;
|
|
2259
2273
|
}
|
|
2260
2274
|
|
|
2261
|
-
|
|
2275
|
+
totalTime < 0 && _rewindStartAt(tween, totalTime, suppressEvents, true);
|
|
2262
2276
|
tween._onUpdate && !suppressEvents && _callback$1(tween, "onUpdate");
|
|
2263
2277
|
tTime && tween._repeat && !suppressEvents && tween.parent && _callback$1(tween, "onRepeat");
|
|
2264
2278
|
|
|
@@ -2413,7 +2427,7 @@ clamp = function clamp(min, max, value) {
|
|
|
2413
2427
|
},
|
|
2414
2428
|
//takes any value and returns an array. If it's a string (and leaveStrings isn't true), it'll use document.querySelectorAll() and convert that to an array. It'll also accept iterables like jQuery objects.
|
|
2415
2429
|
toArray$1 = function toArray(value, scope, leaveStrings) {
|
|
2416
|
-
return _isString$6(value) && !leaveStrings && (_coreInitted$c || !_wake()) ? _slice.call((scope || _doc$6).querySelectorAll(value), 0) : _isArray$2(value) ? _flatten(value, leaveStrings) : _isArrayLike(value) ? _slice.call(value, 0) : value ? [value] : [];
|
|
2430
|
+
return _context$1 && !scope && _context$1.selector ? _context$1.selector(value) : _isString$6(value) && !leaveStrings && (_coreInitted$c || !_wake()) ? _slice.call((scope || _doc$6).querySelectorAll(value), 0) : _isArray$2(value) ? _flatten(value, leaveStrings) : _isArrayLike(value) ? _slice.call(value, 0) : value ? [value] : [];
|
|
2417
2431
|
},
|
|
2418
2432
|
selector = function selector(value) {
|
|
2419
2433
|
value = toArray$1(value)[0] || _warn$2("Invalid scope") || {};
|
|
@@ -2516,7 +2530,8 @@ distribute = function distribute(v) {
|
|
|
2516
2530
|
var p = Math.pow(10, ((v + "").split(".")[1] || "").length); //to avoid floating point math errors (like 24 * 0.1 == 2.4000000000000004), we chop off at a specific number of decimal places (much faster than toFixed())
|
|
2517
2531
|
|
|
2518
2532
|
return function (raw) {
|
|
2519
|
-
var n = Math.round(parseFloat(raw) / v) * v * p;
|
|
2533
|
+
var n = _roundPrecise$1(Math.round(parseFloat(raw) / v) * v * p);
|
|
2534
|
+
|
|
2520
2535
|
return (n - n % 1) / p + (_isNumber$3(raw) ? 0 : getUnit(raw)); // n - n % 1 replaces Math.floor() in order to handle negative values properly. For example, Math.floor(-150.00000000000003) is 151!
|
|
2521
2536
|
};
|
|
2522
2537
|
},
|
|
@@ -2720,8 +2735,11 @@ distribute = function distribute(v) {
|
|
|
2720
2735
|
_callback$1 = function _callback(animation, type, executeLazyFirst) {
|
|
2721
2736
|
var v = animation.vars,
|
|
2722
2737
|
callback = v[type],
|
|
2738
|
+
prevContext = _context$1,
|
|
2739
|
+
context = animation._ctx,
|
|
2723
2740
|
params,
|
|
2724
|
-
scope
|
|
2741
|
+
scope,
|
|
2742
|
+
result;
|
|
2725
2743
|
|
|
2726
2744
|
if (!callback) {
|
|
2727
2745
|
return;
|
|
@@ -2731,7 +2749,10 @@ distribute = function distribute(v) {
|
|
|
2731
2749
|
scope = v.callbackScope || animation;
|
|
2732
2750
|
executeLazyFirst && _lazyTweens.length && _lazyRender(); //in case rendering caused any tweens to lazy-init, we should render them because typically when a timeline finishes, users expect things to have rendered fully. Imagine an onUpdate on a timeline that reports/checks tweened values.
|
|
2733
2751
|
|
|
2734
|
-
|
|
2752
|
+
context && (_context$1 = context);
|
|
2753
|
+
result = params ? callback.apply(scope, params) : callback.call(scope);
|
|
2754
|
+
_context$1 = prevContext;
|
|
2755
|
+
return result;
|
|
2735
2756
|
},
|
|
2736
2757
|
_interrupt$1 = function _interrupt(animation) {
|
|
2737
2758
|
_removeFromParent(animation);
|
|
@@ -3388,6 +3409,13 @@ var Animation$1 = /*#__PURE__*/function () {
|
|
|
3388
3409
|
_setDuration(this, +vars.duration, 1, 1);
|
|
3389
3410
|
|
|
3390
3411
|
this.data = vars.data;
|
|
3412
|
+
|
|
3413
|
+
if (_context$1) {
|
|
3414
|
+
this._ctx = _context$1;
|
|
3415
|
+
|
|
3416
|
+
_context$1.data.push(this);
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3391
3419
|
_tickerActive || _ticker$1.wake();
|
|
3392
3420
|
}
|
|
3393
3421
|
|
|
@@ -3557,6 +3585,20 @@ var Animation$1 = /*#__PURE__*/function () {
|
|
|
3557
3585
|
return !parent ? this._tTime : wrapRepeats && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : !this._ts ? this._tTime : _parentToChildTotalTime(parent.rawTime(wrapRepeats), this);
|
|
3558
3586
|
};
|
|
3559
3587
|
|
|
3588
|
+
_proto.revert = function revert(config) {
|
|
3589
|
+
if (config === void 0) {
|
|
3590
|
+
config = _revertConfig;
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
var prevIsReverting = _reverting$2;
|
|
3594
|
+
_reverting$2 = config;
|
|
3595
|
+
this.timeline && this.timeline.revert(config);
|
|
3596
|
+
this.totalTime(-0.01, config.suppressEvents);
|
|
3597
|
+
this.data !== "nested" && _removeFromParent(this);
|
|
3598
|
+
_reverting$2 = prevIsReverting;
|
|
3599
|
+
return this;
|
|
3600
|
+
};
|
|
3601
|
+
|
|
3560
3602
|
_proto.globalTime = function globalTime(rawTime) {
|
|
3561
3603
|
var animation = this,
|
|
3562
3604
|
time = arguments.length ? rawTime : animation.rawTime();
|
|
@@ -3566,7 +3608,7 @@ var Animation$1 = /*#__PURE__*/function () {
|
|
|
3566
3608
|
animation = animation._dp;
|
|
3567
3609
|
}
|
|
3568
3610
|
|
|
3569
|
-
return time;
|
|
3611
|
+
return !this.parent && this.vars.immediateRender ? -1 : time; // the _startAt tweens for .fromTo() and .from() that have immediateRender should always be FIRST in the timeline (important for Recording.revert())
|
|
3570
3612
|
};
|
|
3571
3613
|
|
|
3572
3614
|
_proto.repeat = function repeat(value) {
|
|
@@ -3976,6 +4018,8 @@ var Timeline = /*#__PURE__*/function (_Animation) {
|
|
|
3976
4018
|
child = next;
|
|
3977
4019
|
}
|
|
3978
4020
|
} else {
|
|
4021
|
+
force = force || _reverting$2; // if reverting, we should always force renders. If, for example, a .fromTo() tween with a stagger (which creates an internal timeline) gets reverted BEFORE some of its child tweens render for the first time, it may not properly trigger them to revert.
|
|
4022
|
+
|
|
3979
4023
|
child = this._last;
|
|
3980
4024
|
var adjustedTime = totalTime < 0 ? totalTime : time; //when the playhead goes backward beyond the start of this timeline, we must pass that information down to the child animations so that zero-duration tweens know whether to render their starting or ending values.
|
|
3981
4025
|
|
|
@@ -4497,7 +4541,7 @@ var _addComplexStringPropTween = function _addComplexStringPropTween(target, pro
|
|
|
4497
4541
|
|
|
4498
4542
|
return pt;
|
|
4499
4543
|
},
|
|
4500
|
-
_addPropTween = function _addPropTween(target, prop, start, end, index, targets, modifier, stringFilter, funcParam) {
|
|
4544
|
+
_addPropTween = function _addPropTween(target, prop, start, end, index, targets, modifier, stringFilter, funcParam, optional) {
|
|
4501
4545
|
_isFunction$5(end) && (end = end(index || 0, target, targets));
|
|
4502
4546
|
var currentValue = target[prop],
|
|
4503
4547
|
parsedStart = start !== "get" ? start : !_isFunction$5(currentValue) ? currentValue : funcParam ? target[prop.indexOf("set") || !_isFunction$5(target["get" + prop.substr(3)]) ? prop : "get" + prop.substr(3)](funcParam) : target[prop](),
|
|
@@ -4519,7 +4563,7 @@ var _addComplexStringPropTween = function _addComplexStringPropTween(target, pro
|
|
|
4519
4563
|
}
|
|
4520
4564
|
}
|
|
4521
4565
|
|
|
4522
|
-
if (parsedStart !== end || _forceAllPropTweens) {
|
|
4566
|
+
if (!optional || parsedStart !== end || _forceAllPropTweens) {
|
|
4523
4567
|
if (!isNaN(parsedStart * end) && end !== "") {
|
|
4524
4568
|
// fun fact: any number multiplied by "" is evaluated as the number 0!
|
|
4525
4569
|
pt = new PropTween$3(this._pt, target, prop, +parsedStart || 0, end - (parsedStart || 0), typeof currentValue === "boolean" ? _renderBoolean : _renderPlain, 0, setter);
|
|
@@ -4625,7 +4669,8 @@ _forceAllPropTweens,
|
|
|
4625
4669
|
cleanVars = _copyExcluding(vars, _reservedProps$1);
|
|
4626
4670
|
|
|
4627
4671
|
if (prevStartAt) {
|
|
4628
|
-
|
|
4672
|
+
prevStartAt.revert(runBackwards && dur ? _revertConfig : _startAtRevertConfig); // if it's a "startAt" (not "from()" or runBackwards: true), we only need to do a shallow revert (keep transforms cached in CSSPlugin)
|
|
4673
|
+
// don't just _removeFromParent(prevStartAt.render(-1, true)) because that'll leave inline styles. We're creating a new _startAt for "startAt" tweens that re-capture things to ensure that if the pre-tween values changed since the tween was created, they're recorded.
|
|
4629
4674
|
|
|
4630
4675
|
prevStartAt._lazy = 0;
|
|
4631
4676
|
}
|
|
@@ -4646,29 +4691,17 @@ _forceAllPropTweens,
|
|
|
4646
4691
|
}, startAt))); //copy the properties/values into a new object to avoid collisions, like var to = {x:0}, from = {x:500}; timeline.fromTo(e, from, to).fromTo(e, to, from);
|
|
4647
4692
|
|
|
4648
4693
|
|
|
4649
|
-
time < 0 && !immediateRender && !autoRevert && tween._startAt.
|
|
4694
|
+
time < 0 && (_reverting$2 || !immediateRender && !autoRevert) && tween._startAt.revert(_revertConfig); // rare edge case, like if a render is forced in the negative direction of a non-initted tween.
|
|
4650
4695
|
|
|
4651
4696
|
if (immediateRender) {
|
|
4652
|
-
time > 0 && !autoRevert && (tween._startAt = 0); //tweens that render immediately (like most from() and fromTo() tweens) shouldn't revert when their parent timeline's playhead goes backward past the startTime because the initial render could have happened anytime and it shouldn't be directly correlated to this tween's startTime. Imagine setting up a complex animation where the beginning states of various objects are rendered immediately but the tween doesn't happen for quite some time - if we revert to the starting values as soon as the playhead goes backward past the tween's startTime, it will throw things off visually. Reversion should only happen in Timeline instances where immediateRender was false or when autoRevert is explicitly set to true.
|
|
4653
|
-
|
|
4654
4697
|
if (dur && time <= 0) {
|
|
4655
4698
|
time && (tween._zTime = time);
|
|
4656
4699
|
return; //we skip initialization here so that overwriting doesn't occur until the tween actually begins. Otherwise, if you create several immediateRender:true tweens of the same target/properties to drop into a Timeline, the last one created would overwrite the first ones because they didn't get placed into the timeline yet before the first render occurs and kicks in overwriting.
|
|
4657
|
-
}
|
|
4658
|
-
// autoRevert || (tween._startAt = 0); //tweens that render immediately (like most from() and fromTo() tweens) shouldn't revert when their parent timeline's playhead goes backward past the startTime because the initial render could have happened anytime and it shouldn't be directly correlated to this tween's startTime. Imagine setting up a complex animation where the beginning states of various objects are rendered immediately but the tween doesn't happen for quite some time - if we revert to the starting values as soon as the playhead goes backward past the tween's startTime, it will throw things off visually. Reversion should only happen in Timeline instances where immediateRender was false or when autoRevert is explicitly set to true.
|
|
4659
|
-
// } else if (dur && !(time < 0 && prevStartAt)) {
|
|
4660
|
-
// time && (tween._zTime = time);
|
|
4661
|
-
// return; //we skip initialization here so that overwriting doesn't occur until the tween actually begins. Otherwise, if you create several immediateRender:true tweens of the same target/properties to drop into a Timeline, the last one created would overwrite the first ones because they didn't get placed into the timeline yet before the first render occurs and kicks in overwriting.
|
|
4662
|
-
// }
|
|
4663
|
-
|
|
4664
|
-
} else if (autoRevert === false) {
|
|
4665
|
-
tween._startAt = 0;
|
|
4700
|
+
}
|
|
4666
4701
|
}
|
|
4667
4702
|
} else if (runBackwards && dur) {
|
|
4668
4703
|
//from() tweens must be handled uniquely: their beginning values must be rendered but we don't want overwriting to occur yet (when time is still 0). Wait until the tween actually begins before doing all the routines like overwriting. At that time, we should render at the END of the tween to ensure that things initialize correctly (remember, from() tweens go backwards)
|
|
4669
|
-
if (prevStartAt) {
|
|
4670
|
-
!autoRevert && (tween._startAt = 0);
|
|
4671
|
-
} else {
|
|
4704
|
+
if (!prevStartAt) {
|
|
4672
4705
|
time && (immediateRender = false); //in rare cases (like if a from() tween runs and then is invalidate()-ed), immediateRender could be true but the initial forced-render gets skipped, so there's no need to force the render in this context when the _time is greater than 0
|
|
4673
4706
|
|
|
4674
4707
|
p = _setDefaults$2({
|
|
@@ -4686,8 +4719,7 @@ _forceAllPropTweens,
|
|
|
4686
4719
|
|
|
4687
4720
|
_removeFromParent(tween._startAt = Tween.set(targets, p));
|
|
4688
4721
|
|
|
4689
|
-
time < 0 && tween._startAt.render(-1, true);
|
|
4690
|
-
|
|
4722
|
+
time < 0 && (_reverting$2 ? tween._startAt.revert(_revertConfig) : tween._startAt.render(-1, true));
|
|
4691
4723
|
tween._zTime = time;
|
|
4692
4724
|
|
|
4693
4725
|
if (!immediateRender) {
|
|
@@ -4757,6 +4789,7 @@ _forceAllPropTweens,
|
|
|
4757
4789
|
_updatePropTweens = function _updatePropTweens(tween, property, value, start, startIsRelative, ratio, time) {
|
|
4758
4790
|
var ptCache = (tween._pt && tween._ptCache || (tween._ptCache = {}))[property],
|
|
4759
4791
|
pt,
|
|
4792
|
+
rootPT,
|
|
4760
4793
|
lookup,
|
|
4761
4794
|
i;
|
|
4762
4795
|
|
|
@@ -4772,7 +4805,8 @@ _forceAllPropTweens,
|
|
|
4772
4805
|
// it's a plugin, so find the nested PropTween
|
|
4773
4806
|
pt = pt.d._pt;
|
|
4774
4807
|
|
|
4775
|
-
while (pt && pt.p !== property) {
|
|
4808
|
+
while (pt && pt.p !== property && pt.fp !== property) {
|
|
4809
|
+
// "fp" is functionParam for things like setting CSS variables which require .setProperty("--var-name", value)
|
|
4776
4810
|
pt = pt._next;
|
|
4777
4811
|
}
|
|
4778
4812
|
}
|
|
@@ -4797,12 +4831,14 @@ _forceAllPropTweens,
|
|
|
4797
4831
|
i = ptCache.length;
|
|
4798
4832
|
|
|
4799
4833
|
while (i--) {
|
|
4800
|
-
|
|
4834
|
+
rootPT = ptCache[i];
|
|
4835
|
+
pt = rootPT._pt || rootPT; // complex values may have nested PropTweens. We only accommodate the FIRST value.
|
|
4836
|
+
|
|
4801
4837
|
pt.s = (start || start === 0) && !startIsRelative ? start : pt.s + (start || 0) + ratio * pt.c;
|
|
4802
4838
|
pt.c = value - pt.s;
|
|
4803
|
-
|
|
4839
|
+
rootPT.e && (rootPT.e = _round$7(value) + getUnit(rootPT.e)); // mainly for CSSPlugin (end value)
|
|
4804
4840
|
|
|
4805
|
-
|
|
4841
|
+
rootPT.b && (rootPT.b = pt.s + getUnit(rootPT.b)); // (beginning value)
|
|
4806
4842
|
}
|
|
4807
4843
|
},
|
|
4808
4844
|
_addAliasesToVars = function _addAliasesToVars(targets, vars) {
|
|
@@ -4974,6 +5010,7 @@ var Tween = /*#__PURE__*/function (_Animation2) {
|
|
|
4974
5010
|
keyframes.forEach(function (frame) {
|
|
4975
5011
|
return tl.to(parsedTargets, frame, ">");
|
|
4976
5012
|
});
|
|
5013
|
+
tl.duration(); // to ensure tl._dur is cached because we tap into it for performance purposes in the render() method.
|
|
4977
5014
|
} else {
|
|
4978
5015
|
copy = {};
|
|
4979
5016
|
|
|
@@ -5040,7 +5077,8 @@ var Tween = /*#__PURE__*/function (_Animation2) {
|
|
|
5040
5077
|
var prevTime = this._time,
|
|
5041
5078
|
tDur = this._tDur,
|
|
5042
5079
|
dur = this._dur,
|
|
5043
|
-
|
|
5080
|
+
isNegative = totalTime < 0,
|
|
5081
|
+
tTime = totalTime > tDur - _tinyNum$1 && !isNegative ? tDur : totalTime < _tinyNum$1 ? 0 : totalTime,
|
|
5044
5082
|
time,
|
|
5045
5083
|
pt,
|
|
5046
5084
|
iteration,
|
|
@@ -5053,7 +5091,7 @@ var Tween = /*#__PURE__*/function (_Animation2) {
|
|
|
5053
5091
|
|
|
5054
5092
|
if (!dur) {
|
|
5055
5093
|
_renderZeroDurationTween(this, totalTime, suppressEvents, force);
|
|
5056
|
-
} else if (tTime !== this._tTime || !totalTime || force || !this._initted && this._tTime || this._startAt && this._zTime < 0 !==
|
|
5094
|
+
} else if (tTime !== this._tTime || !totalTime || force || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== isNegative) {
|
|
5057
5095
|
//this senses if we're crossing over the start time, in which case we must record _zTime and force the render, but we do it in this lengthy conditional way for performance reasons (usually we can skip the calculations): this._initted && (this._zTime < 0) !== (totalTime < 0)
|
|
5058
5096
|
time = tTime;
|
|
5059
5097
|
timeline = this.timeline;
|
|
@@ -5062,7 +5100,7 @@ var Tween = /*#__PURE__*/function (_Animation2) {
|
|
|
5062
5100
|
//adjust the time for repeats and yoyos
|
|
5063
5101
|
cycleDuration = dur + this._rDelay;
|
|
5064
5102
|
|
|
5065
|
-
if (this._repeat < -1 &&
|
|
5103
|
+
if (this._repeat < -1 && isNegative) {
|
|
5066
5104
|
return this.totalTime(cycleDuration * 100 + totalTime, suppressEvents, force);
|
|
5067
5105
|
}
|
|
5068
5106
|
|
|
@@ -5110,7 +5148,7 @@ var Tween = /*#__PURE__*/function (_Animation2) {
|
|
|
5110
5148
|
}
|
|
5111
5149
|
|
|
5112
5150
|
if (!this._initted) {
|
|
5113
|
-
if (_attemptInitTween(this,
|
|
5151
|
+
if (_attemptInitTween(this, isNegative ? totalTime : time, force, suppressEvents)) {
|
|
5114
5152
|
this._tTime = 0; // in constructor if immediateRender is true, we set _tTime to -_tinyNum to have the playhead cross the starting point but we can't leave _tTime as a negative number.
|
|
5115
5153
|
|
|
5116
5154
|
return this;
|
|
@@ -5161,7 +5199,7 @@ var Tween = /*#__PURE__*/function (_Animation2) {
|
|
|
5161
5199
|
timeline && timeline.render(totalTime < 0 ? totalTime : !time && isYoyo ? -_tinyNum$1 : timeline._dur * timeline._ease(time / this._dur), suppressEvents, force) || this._startAt && (this._zTime = totalTime);
|
|
5162
5200
|
|
|
5163
5201
|
if (this._onUpdate && !suppressEvents) {
|
|
5164
|
-
|
|
5202
|
+
isNegative && _rewindStartAt(this, totalTime, suppressEvents, force); //note: for performance reasons, we tuck this conditional logic inside less traveled areas (most tweens don't have an onUpdate). We'd just have it at the end before the onComplete, but the values should be updated before any onUpdate is called, so we ALSO put it here and then if it's not called, we do so later near the onComplete.
|
|
5165
5203
|
|
|
5166
5204
|
_callback$1(this, "onUpdate");
|
|
5167
5205
|
}
|
|
@@ -5169,10 +5207,10 @@ var Tween = /*#__PURE__*/function (_Animation2) {
|
|
|
5169
5207
|
this._repeat && iteration !== prevIteration && this.vars.onRepeat && !suppressEvents && this.parent && _callback$1(this, "onRepeat");
|
|
5170
5208
|
|
|
5171
5209
|
if ((tTime === this._tDur || !tTime) && this._tTime === tTime) {
|
|
5172
|
-
|
|
5210
|
+
isNegative && !this._onUpdate && _rewindStartAt(this, totalTime, true, true);
|
|
5173
5211
|
(totalTime || !dur) && (tTime === this._tDur && this._ts > 0 || !tTime && this._ts < 0) && _removeFromParent(this, 1); // don't remove if we're rendering at exactly a time of 0, as there could be autoRevert values that should get set on the next tick (if the playhead goes backward beyond the startTime, negative totalTime). Don't remove if the timeline is reversed and the playhead isn't at 0, otherwise tl.progress(1).reverse() won't work. Only remove if the playhead is at the end and timeScale is positive, or if the playhead is at 0 and the timeScale is negative.
|
|
5174
5212
|
|
|
5175
|
-
if (!suppressEvents && !(
|
|
5213
|
+
if (!suppressEvents && !(isNegative && !prevTime) && (tTime || prevTime)) {
|
|
5176
5214
|
// if prevTime and tTime are zero, we shouldn't fire the onReverseComplete. This could happen if you gsap.to(... {paused:true}).play();
|
|
5177
5215
|
_callback$1(this, tTime === tDur ? "onComplete" : "onReverseComplete", true);
|
|
5178
5216
|
|
|
@@ -5547,12 +5585,232 @@ _globalTimeline = new Timeline({
|
|
|
5547
5585
|
smoothChildTiming: true
|
|
5548
5586
|
});
|
|
5549
5587
|
_config$3.stringFilter = _colorStringFilter;
|
|
5588
|
+
|
|
5589
|
+
var _media = [],
|
|
5590
|
+
_listeners$1 = {},
|
|
5591
|
+
_emptyArray$1 = [],
|
|
5592
|
+
_lastMediaTime = 0,
|
|
5593
|
+
_dispatch$1 = function _dispatch(type) {
|
|
5594
|
+
return (_listeners$1[type] || _emptyArray$1).map(function (f) {
|
|
5595
|
+
return f();
|
|
5596
|
+
});
|
|
5597
|
+
},
|
|
5598
|
+
_onMediaChange = function _onMediaChange() {
|
|
5599
|
+
var time = Date.now(),
|
|
5600
|
+
matches = [];
|
|
5601
|
+
|
|
5602
|
+
if (time - _lastMediaTime > 2) {
|
|
5603
|
+
_dispatch$1("matchMediaInit");
|
|
5604
|
+
|
|
5605
|
+
_media.forEach(function (c) {
|
|
5606
|
+
var queries = c.queries,
|
|
5607
|
+
conditions = c.conditions,
|
|
5608
|
+
match,
|
|
5609
|
+
p,
|
|
5610
|
+
anyMatch,
|
|
5611
|
+
toggled;
|
|
5612
|
+
|
|
5613
|
+
for (p in queries) {
|
|
5614
|
+
match = _win$8.matchMedia(queries[p]).matches; // Firefox doesn't update the "matches" property of the MediaQueryList object correctly - it only does so as it calls its change handler - so we must re-create a media query here to ensure it's accurate.
|
|
5615
|
+
|
|
5616
|
+
match && (anyMatch = 1);
|
|
5617
|
+
|
|
5618
|
+
if (match !== conditions[p]) {
|
|
5619
|
+
conditions[p] = match;
|
|
5620
|
+
toggled = 1;
|
|
5621
|
+
}
|
|
5622
|
+
}
|
|
5623
|
+
|
|
5624
|
+
if (toggled) {
|
|
5625
|
+
c.revert();
|
|
5626
|
+
anyMatch && matches.push(c);
|
|
5627
|
+
}
|
|
5628
|
+
});
|
|
5629
|
+
|
|
5630
|
+
_dispatch$1("matchMediaRevert");
|
|
5631
|
+
|
|
5632
|
+
matches.forEach(function (c) {
|
|
5633
|
+
return c.onMatch(c);
|
|
5634
|
+
});
|
|
5635
|
+
_lastMediaTime = time;
|
|
5636
|
+
|
|
5637
|
+
_dispatch$1("matchMedia");
|
|
5638
|
+
}
|
|
5639
|
+
};
|
|
5640
|
+
|
|
5641
|
+
var Context = /*#__PURE__*/function () {
|
|
5642
|
+
function Context(func, scope) {
|
|
5643
|
+
this.selector = scope && selector(scope);
|
|
5644
|
+
this.data = [];
|
|
5645
|
+
this._r = []; // returned/cleanup functions
|
|
5646
|
+
|
|
5647
|
+
this.isReverted = false;
|
|
5648
|
+
func && this.add(func);
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5651
|
+
var _proto5 = Context.prototype;
|
|
5652
|
+
|
|
5653
|
+
_proto5.add = function add(name, func, scope) {
|
|
5654
|
+
if (_isFunction$5(name)) {
|
|
5655
|
+
scope = func;
|
|
5656
|
+
func = name;
|
|
5657
|
+
name = _isFunction$5;
|
|
5658
|
+
}
|
|
5659
|
+
|
|
5660
|
+
var self = this,
|
|
5661
|
+
f = function f() {
|
|
5662
|
+
var prev = _context$1,
|
|
5663
|
+
prevSelector = self.selector,
|
|
5664
|
+
result;
|
|
5665
|
+
prev && prev.data.push(self);
|
|
5666
|
+
scope && (self.selector = selector(scope));
|
|
5667
|
+
_context$1 = self;
|
|
5668
|
+
result = func.apply(self, arguments);
|
|
5669
|
+
_isFunction$5(result) && self._r.push(result);
|
|
5670
|
+
_context$1 = prev;
|
|
5671
|
+
self.selector = prevSelector;
|
|
5672
|
+
self.isReverted = false;
|
|
5673
|
+
return result;
|
|
5674
|
+
};
|
|
5675
|
+
|
|
5676
|
+
self.last = f;
|
|
5677
|
+
return name === _isFunction$5 ? f(self) : name ? self[name] = f : f;
|
|
5678
|
+
};
|
|
5679
|
+
|
|
5680
|
+
_proto5.ignore = function ignore(func) {
|
|
5681
|
+
var prev = _context$1;
|
|
5682
|
+
_context$1 = null;
|
|
5683
|
+
func(this);
|
|
5684
|
+
_context$1 = prev;
|
|
5685
|
+
};
|
|
5686
|
+
|
|
5687
|
+
_proto5.getTweens = function getTweens() {
|
|
5688
|
+
var a = [];
|
|
5689
|
+
this.data.forEach(function (e) {
|
|
5690
|
+
return e instanceof Context ? a.push.apply(a, e.getTweens()) : e instanceof Tween && e._targets[0] !== e.vars.onComplete && a.push(e);
|
|
5691
|
+
}); // don't include delayedCalls
|
|
5692
|
+
|
|
5693
|
+
return a;
|
|
5694
|
+
};
|
|
5695
|
+
|
|
5696
|
+
_proto5.clear = function clear() {
|
|
5697
|
+
this._r.length = this.data.length = 0;
|
|
5698
|
+
};
|
|
5699
|
+
|
|
5700
|
+
_proto5.kill = function kill(revert, matchMedia) {
|
|
5701
|
+
var _this4 = this;
|
|
5702
|
+
|
|
5703
|
+
if (revert) {
|
|
5704
|
+
// save as an object so that we can cache the globalTime for each tween to optimize performance during the sort
|
|
5705
|
+
this.getTweens().map(function (t) {
|
|
5706
|
+
return {
|
|
5707
|
+
g: t.globalTime(0),
|
|
5708
|
+
t: t
|
|
5709
|
+
};
|
|
5710
|
+
}).sort(function (a, b) {
|
|
5711
|
+
return b.g - a.g || -1;
|
|
5712
|
+
}).forEach(function (o) {
|
|
5713
|
+
return o.t.revert(revert);
|
|
5714
|
+
}); // note: all of the _startAt tweens should be reverted in reverse order that thy were created, and they'll all have the same globalTime (-1) so the " || -1" in the sort keeps the order properly.
|
|
5715
|
+
|
|
5716
|
+
this.data.forEach(function (e) {
|
|
5717
|
+
return !(e instanceof Animation$1) && e.revert && e.revert(revert);
|
|
5718
|
+
});
|
|
5719
|
+
|
|
5720
|
+
this._r.forEach(function (f) {
|
|
5721
|
+
return f(revert, _this4);
|
|
5722
|
+
});
|
|
5723
|
+
|
|
5724
|
+
this.isReverted = true;
|
|
5725
|
+
} else {
|
|
5726
|
+
this.data.forEach(function (e) {
|
|
5727
|
+
return e.kill && e.kill();
|
|
5728
|
+
});
|
|
5729
|
+
}
|
|
5730
|
+
|
|
5731
|
+
this.clear();
|
|
5732
|
+
|
|
5733
|
+
if (matchMedia) {
|
|
5734
|
+
var i = _media.indexOf(this);
|
|
5735
|
+
|
|
5736
|
+
!!~i && _media.splice(i, 1);
|
|
5737
|
+
}
|
|
5738
|
+
};
|
|
5739
|
+
|
|
5740
|
+
_proto5.revert = function revert(config) {
|
|
5741
|
+
this.kill(config || {});
|
|
5742
|
+
};
|
|
5743
|
+
|
|
5744
|
+
return Context;
|
|
5745
|
+
}();
|
|
5746
|
+
|
|
5747
|
+
var MatchMedia = /*#__PURE__*/function () {
|
|
5748
|
+
function MatchMedia(scope) {
|
|
5749
|
+
this.contexts = [];
|
|
5750
|
+
this.scope = scope;
|
|
5751
|
+
}
|
|
5752
|
+
|
|
5753
|
+
var _proto6 = MatchMedia.prototype;
|
|
5754
|
+
|
|
5755
|
+
_proto6.add = function add(conditions, func, scope) {
|
|
5756
|
+
_isObject$3(conditions) || (conditions = {
|
|
5757
|
+
matches: conditions
|
|
5758
|
+
});
|
|
5759
|
+
var context = new Context(0, scope || this.scope),
|
|
5760
|
+
cond = context.conditions = {},
|
|
5761
|
+
mq,
|
|
5762
|
+
p,
|
|
5763
|
+
active;
|
|
5764
|
+
this.contexts.push(context);
|
|
5765
|
+
func = context.add("onMatch", func);
|
|
5766
|
+
context.queries = conditions;
|
|
5767
|
+
|
|
5768
|
+
for (p in conditions) {
|
|
5769
|
+
if (p === "all") {
|
|
5770
|
+
active = 1;
|
|
5771
|
+
} else {
|
|
5772
|
+
mq = _win$8.matchMedia(conditions[p]);
|
|
5773
|
+
|
|
5774
|
+
if (mq) {
|
|
5775
|
+
_media.indexOf(context) < 0 && _media.push(context);
|
|
5776
|
+
(cond[p] = mq.matches) && (active = 1);
|
|
5777
|
+
mq.addListener ? mq.addListener(_onMediaChange) : mq.addEventListener("change", _onMediaChange);
|
|
5778
|
+
}
|
|
5779
|
+
}
|
|
5780
|
+
}
|
|
5781
|
+
|
|
5782
|
+
active && func(context);
|
|
5783
|
+
return this;
|
|
5784
|
+
} // refresh() {
|
|
5785
|
+
// let time = _lastMediaTime,
|
|
5786
|
+
// media = _media;
|
|
5787
|
+
// _lastMediaTime = -1;
|
|
5788
|
+
// _media = this.contexts;
|
|
5789
|
+
// _onMediaChange();
|
|
5790
|
+
// _lastMediaTime = time;
|
|
5791
|
+
// _media = media;
|
|
5792
|
+
// }
|
|
5793
|
+
;
|
|
5794
|
+
|
|
5795
|
+
_proto6.revert = function revert(config) {
|
|
5796
|
+
this.kill(config || {});
|
|
5797
|
+
};
|
|
5798
|
+
|
|
5799
|
+
_proto6.kill = function kill(revert) {
|
|
5800
|
+
this.contexts.forEach(function (c) {
|
|
5801
|
+
return c.kill(revert, true);
|
|
5802
|
+
});
|
|
5803
|
+
};
|
|
5804
|
+
|
|
5805
|
+
return MatchMedia;
|
|
5806
|
+
}();
|
|
5550
5807
|
/*
|
|
5551
5808
|
* --------------------------------------------------------------------------------------
|
|
5552
5809
|
* GSAP
|
|
5553
5810
|
* --------------------------------------------------------------------------------------
|
|
5554
5811
|
*/
|
|
5555
5812
|
|
|
5813
|
+
|
|
5556
5814
|
var _gsap = {
|
|
5557
5815
|
registerPlugin: function registerPlugin() {
|
|
5558
5816
|
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
@@ -5696,6 +5954,37 @@ var _gsap = {
|
|
|
5696
5954
|
|
|
5697
5955
|
return tl;
|
|
5698
5956
|
},
|
|
5957
|
+
context: function context(func, scope) {
|
|
5958
|
+
return func ? new Context(func, scope) : _context$1;
|
|
5959
|
+
},
|
|
5960
|
+
matchMedia: function matchMedia(scope) {
|
|
5961
|
+
return new MatchMedia(scope);
|
|
5962
|
+
},
|
|
5963
|
+
matchMediaRefresh: function matchMediaRefresh() {
|
|
5964
|
+
return _media.forEach(function (c) {
|
|
5965
|
+
var cond = c.conditions,
|
|
5966
|
+
found,
|
|
5967
|
+
p;
|
|
5968
|
+
|
|
5969
|
+
for (p in cond) {
|
|
5970
|
+
if (cond[p]) {
|
|
5971
|
+
cond[p] = false;
|
|
5972
|
+
found = 1;
|
|
5973
|
+
}
|
|
5974
|
+
}
|
|
5975
|
+
|
|
5976
|
+
found && c.revert();
|
|
5977
|
+
}) || _onMediaChange();
|
|
5978
|
+
},
|
|
5979
|
+
addEventListener: function addEventListener(type, callback) {
|
|
5980
|
+
var a = _listeners$1[type] || (_listeners$1[type] = []);
|
|
5981
|
+
~a.indexOf(callback) || a.push(callback);
|
|
5982
|
+
},
|
|
5983
|
+
removeEventListener: function removeEventListener(type, callback) {
|
|
5984
|
+
var a = _listeners$1[type],
|
|
5985
|
+
i = a && a.indexOf(callback);
|
|
5986
|
+
i >= 0 && a.splice(i, 1);
|
|
5987
|
+
},
|
|
5699
5988
|
utils: {
|
|
5700
5989
|
wrap: wrap$2,
|
|
5701
5990
|
wrapYoyo: wrapYoyo,
|
|
@@ -5728,6 +6017,18 @@ var _gsap = {
|
|
|
5728
6017
|
Animation: Animation$1,
|
|
5729
6018
|
getCache: _getCache$2,
|
|
5730
6019
|
_removeLinkedListItem: _removeLinkedListItem,
|
|
6020
|
+
reverting: function reverting() {
|
|
6021
|
+
return _reverting$2;
|
|
6022
|
+
},
|
|
6023
|
+
context: function context(toAdd) {
|
|
6024
|
+
if (toAdd && _context$1) {
|
|
6025
|
+
_context$1.data.push(toAdd);
|
|
6026
|
+
|
|
6027
|
+
toAdd._ctx = _context$1;
|
|
6028
|
+
}
|
|
6029
|
+
|
|
6030
|
+
return _context$1;
|
|
6031
|
+
},
|
|
5731
6032
|
suppressOverwrites: function suppressOverwrites(value) {
|
|
5732
6033
|
return _suppressOverwrites$1 = value;
|
|
5733
6034
|
}
|
|
@@ -5816,14 +6117,26 @@ var _getPluginPropTween = function _getPluginPropTween(plugin, prop) {
|
|
|
5816
6117
|
var gsap$f = _gsap.registerPlugin({
|
|
5817
6118
|
name: "attr",
|
|
5818
6119
|
init: function init(target, vars, tween, index, targets) {
|
|
5819
|
-
var p, pt;
|
|
6120
|
+
var p, pt, v;
|
|
6121
|
+
this.tween = tween;
|
|
5820
6122
|
|
|
5821
6123
|
for (p in vars) {
|
|
5822
|
-
|
|
5823
|
-
pt
|
|
6124
|
+
v = target.getAttribute(p) || "";
|
|
6125
|
+
pt = this.add(target, "setAttribute", (v || 0) + "", vars[p], index, targets, 0, 0, p);
|
|
6126
|
+
pt.op = p;
|
|
6127
|
+
pt.b = v; // record the beginning value so we can revert()
|
|
5824
6128
|
|
|
5825
6129
|
this._props.push(p);
|
|
5826
6130
|
}
|
|
6131
|
+
},
|
|
6132
|
+
render: function render(ratio, data) {
|
|
6133
|
+
var pt = data._pt;
|
|
6134
|
+
|
|
6135
|
+
while (pt) {
|
|
6136
|
+
_reverting$2 ? pt.set(pt.t, pt.p, pt.b, pt) : pt.r(ratio, pt.d); // if reverting, go back to the original (pt.b)
|
|
6137
|
+
|
|
6138
|
+
pt = pt._next;
|
|
6139
|
+
}
|
|
5827
6140
|
}
|
|
5828
6141
|
}, {
|
|
5829
6142
|
name: "endArray",
|
|
@@ -5831,12 +6144,12 @@ var gsap$f = _gsap.registerPlugin({
|
|
|
5831
6144
|
var i = value.length;
|
|
5832
6145
|
|
|
5833
6146
|
while (i--) {
|
|
5834
|
-
this.add(target, i, target[i] || 0, value[i]);
|
|
6147
|
+
this.add(target, i, target[i] || 0, value[i], 0, 0, 0, 0, 0, 1);
|
|
5835
6148
|
}
|
|
5836
6149
|
}
|
|
5837
6150
|
}, _buildModifierPlugin("roundProps", _roundModifier), _buildModifierPlugin("modifiers"), _buildModifierPlugin("snap", snap)) || _gsap; //to prevent the core plugins from being dropped via aggressive tree shaking, we must include them in the variable declaration in this way.
|
|
5838
6151
|
|
|
5839
|
-
Tween.version = Timeline.version = gsap$f.version = "3.
|
|
6152
|
+
Tween.version = Timeline.version = gsap$f.version = "3.11.0";
|
|
5840
6153
|
_coreReady = 1;
|
|
5841
6154
|
_windowExists$8() && _wake();
|
|
5842
6155
|
var Power0 = _easeMap.Power0,
|
|
@@ -5859,7 +6172,7 @@ var Power0 = _easeMap.Power0,
|
|
|
5859
6172
|
Circ = _easeMap.Circ;
|
|
5860
6173
|
|
|
5861
6174
|
/*!
|
|
5862
|
-
* CSSPlugin 3.
|
|
6175
|
+
* CSSPlugin 3.11.0
|
|
5863
6176
|
* https://greensock.com
|
|
5864
6177
|
*
|
|
5865
6178
|
* Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -5875,6 +6188,7 @@ var _win$7,
|
|
|
5875
6188
|
_tempDiv$2,
|
|
5876
6189
|
_tempDivStyler,
|
|
5877
6190
|
_recentSetterPlugin,
|
|
6191
|
+
_reverting$1,
|
|
5878
6192
|
_windowExists$7 = function _windowExists() {
|
|
5879
6193
|
return typeof window !== "undefined";
|
|
5880
6194
|
},
|
|
@@ -5935,6 +6249,80 @@ _renderRoundedCSSProp = function _renderRoundedCSSProp(ratio, data) {
|
|
|
5935
6249
|
},
|
|
5936
6250
|
_transformProp$3 = "transform",
|
|
5937
6251
|
_transformOriginProp$2 = _transformProp$3 + "Origin",
|
|
6252
|
+
_saveStyle = function _saveStyle(property) {
|
|
6253
|
+
var _this = this;
|
|
6254
|
+
|
|
6255
|
+
var target = this.target,
|
|
6256
|
+
style = target.style;
|
|
6257
|
+
|
|
6258
|
+
if (property in _transformProps) {
|
|
6259
|
+
this.tfm = this.tfm || {};
|
|
6260
|
+
|
|
6261
|
+
if (property !== "transform") {
|
|
6262
|
+
property = _propertyAliases[property] || property;
|
|
6263
|
+
~property.indexOf(",") ? property.split(",").forEach(function (a) {
|
|
6264
|
+
return _this.tfm[a] = _get(target, a);
|
|
6265
|
+
}) : this.tfm[property] = target._gsap.x ? target._gsap[property] : _get(target, property); // note: scale would map to "scaleX,scaleY", thus we loop and apply them both.
|
|
6266
|
+
}
|
|
6267
|
+
|
|
6268
|
+
target._gsap.svg && (this.svg = target.getAttribute(property) || "");
|
|
6269
|
+
|
|
6270
|
+
if (this.props.indexOf(_transformProp$3) >= 0) {
|
|
6271
|
+
return;
|
|
6272
|
+
}
|
|
6273
|
+
|
|
6274
|
+
property = _transformProp$3;
|
|
6275
|
+
}
|
|
6276
|
+
|
|
6277
|
+
style && this.props.push(property, style[property]);
|
|
6278
|
+
},
|
|
6279
|
+
_removeIndependentTransforms = function _removeIndependentTransforms(style) {
|
|
6280
|
+
if (style.translate) {
|
|
6281
|
+
style.removeProperty("translate");
|
|
6282
|
+
style.removeProperty("scale");
|
|
6283
|
+
style.removeProperty("rotate");
|
|
6284
|
+
}
|
|
6285
|
+
},
|
|
6286
|
+
_revertStyle = function _revertStyle() {
|
|
6287
|
+
var props = this.props,
|
|
6288
|
+
target = this.target,
|
|
6289
|
+
style = target.style,
|
|
6290
|
+
cache = target._gsap,
|
|
6291
|
+
i,
|
|
6292
|
+
p;
|
|
6293
|
+
|
|
6294
|
+
for (i = 0; i < props.length; i += 2) {
|
|
6295
|
+
props[i + 1] ? style[props[i]] = props[i + 1] : style.removeProperty(props[i].replace(_capsExp$1, "-$1").toLowerCase());
|
|
6296
|
+
}
|
|
6297
|
+
|
|
6298
|
+
if (this.tfm) {
|
|
6299
|
+
cache.svg && target.setAttribute("transform", this.svg || "");
|
|
6300
|
+
|
|
6301
|
+
for (p in this.tfm) {
|
|
6302
|
+
cache[p] = this.tfm[p];
|
|
6303
|
+
}
|
|
6304
|
+
|
|
6305
|
+
i = _reverting$1();
|
|
6306
|
+
|
|
6307
|
+
if (i && !i.isStart && !style[_transformProp$3]) {
|
|
6308
|
+
_removeIndependentTransforms(style);
|
|
6309
|
+
|
|
6310
|
+
cache.uncache = 1; // if it's a startAt that's being reverted in the _initTween() of the core, we don't need to uncache transforms. This is purely a performance optimization.
|
|
6311
|
+
}
|
|
6312
|
+
}
|
|
6313
|
+
},
|
|
6314
|
+
_getStyleSaver$1 = function _getStyleSaver(target, properties) {
|
|
6315
|
+
var saver = {
|
|
6316
|
+
target: target,
|
|
6317
|
+
props: [],
|
|
6318
|
+
revert: _revertStyle,
|
|
6319
|
+
save: _saveStyle
|
|
6320
|
+
};
|
|
6321
|
+
properties && properties.split(",").forEach(function (p) {
|
|
6322
|
+
return saver.save(p);
|
|
6323
|
+
});
|
|
6324
|
+
return saver;
|
|
6325
|
+
},
|
|
5938
6326
|
_supports3D$1,
|
|
5939
6327
|
_createElement$1 = function _createElement(type, ns) {
|
|
5940
6328
|
var e = _doc$5.createElementNS ? _doc$5.createElementNS((ns || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), type) : _doc$5.createElement(type); //some servers swap in https for http in the namespace which can break things, making "style" inaccessible.
|
|
@@ -5975,6 +6363,7 @@ _renderRoundedCSSProp = function _renderRoundedCSSProp(ratio, data) {
|
|
|
5975
6363
|
_tempDiv$2.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0"; //make sure to override certain properties that may contaminate measurements, in case the user has overreaching style sheets.
|
|
5976
6364
|
|
|
5977
6365
|
_supports3D$1 = !!_checkPropPrefix("perspective");
|
|
6366
|
+
_reverting$1 = gsap$f.core.reverting;
|
|
5978
6367
|
_pluginInitted = 1;
|
|
5979
6368
|
}
|
|
5980
6369
|
},
|
|
@@ -6081,6 +6470,10 @@ _removeProperty = function _removeProperty(target, property) {
|
|
|
6081
6470
|
deg: 1,
|
|
6082
6471
|
rad: 1,
|
|
6083
6472
|
turn: 1
|
|
6473
|
+
},
|
|
6474
|
+
_nonStandardLayouts = {
|
|
6475
|
+
grid: 1,
|
|
6476
|
+
flex: 1
|
|
6084
6477
|
},
|
|
6085
6478
|
//takes a single value like 20px and converts it to the unit specified, like "%", returning only the numeric amount.
|
|
6086
6479
|
_convertToUnit = function _convertToUnit(target, property, value, unit) {
|
|
@@ -6124,10 +6517,10 @@ _convertToUnit = function _convertToUnit(target, property, value, unit) {
|
|
|
6124
6517
|
|
|
6125
6518
|
cache = parent._gsap;
|
|
6126
6519
|
|
|
6127
|
-
if (cache && toPercent && cache.width && horizontal && cache.time === _ticker$1.time) {
|
|
6520
|
+
if (cache && toPercent && cache.width && horizontal && cache.time === _ticker$1.time && !cache.uncache) {
|
|
6128
6521
|
return _round$7(curValue / cache.width * amount);
|
|
6129
6522
|
} else {
|
|
6130
|
-
(toPercent || curUnit === "%") && (style.position = _getComputedProperty(target, "position"));
|
|
6523
|
+
(toPercent || curUnit === "%") && !_nonStandardLayouts[_getComputedProperty(parent, "display")] && (style.position = _getComputedProperty(target, "position"));
|
|
6131
6524
|
parent === target && (style.position = "static"); // like for borderRadius, if it's a % we must have it relative to the target itself but that may not have position: relative or position: absolute in which case it'd go up the chain until it finds its offsetParent (bad). position: static protects against that.
|
|
6132
6525
|
|
|
6133
6526
|
parent.appendChild(_tempDiv$2);
|
|
@@ -6339,6 +6732,8 @@ _convertToUnit = function _convertToUnit(target, property, value, unit) {
|
|
|
6339
6732
|
|
|
6340
6733
|
|
|
6341
6734
|
cache.uncache = 1;
|
|
6735
|
+
|
|
6736
|
+
_removeIndependentTransforms(style);
|
|
6342
6737
|
}
|
|
6343
6738
|
}
|
|
6344
6739
|
}
|
|
@@ -6463,7 +6858,7 @@ _identity2DMatrix = [1, 0, 0, 1, 0, 0],
|
|
|
6463
6858
|
// note: in 3.3.0 we switched target.offsetParent to _doc.body.contains(target) to avoid [sometimes unnecessary] MutationObserver calls but that wasn't adequate because there are edge cases where nested position: fixed elements need to get reparented to accurately sense transforms. See https://github.com/greensock/GSAP/issues/388 and https://github.com/greensock/GSAP/issues/375
|
|
6464
6859
|
addedToDOM = 1; //flag
|
|
6465
6860
|
|
|
6466
|
-
nextSibling = target.
|
|
6861
|
+
nextSibling = target.nextElementSibling;
|
|
6467
6862
|
|
|
6468
6863
|
_docElement$2.appendChild(target); //we must add it to the DOM in order to get values properly
|
|
6469
6864
|
|
|
@@ -6551,6 +6946,7 @@ _identity2DMatrix = [1, 0, 0, 1, 0, 0],
|
|
|
6551
6946
|
invertedScaleX = cache.scaleX < 0,
|
|
6552
6947
|
px = "px",
|
|
6553
6948
|
deg = "deg",
|
|
6949
|
+
cs = getComputedStyle(target),
|
|
6554
6950
|
origin = _getComputedProperty(target, _transformOriginProp$2) || "0",
|
|
6555
6951
|
x,
|
|
6556
6952
|
y,
|
|
@@ -6587,6 +6983,16 @@ _identity2DMatrix = [1, 0, 0, 1, 0, 0],
|
|
|
6587
6983
|
x = y = z = rotation = rotationX = rotationY = skewX = skewY = perspective = 0;
|
|
6588
6984
|
scaleX = scaleY = 1;
|
|
6589
6985
|
cache.svg = !!(target.getCTM && _isSVG(target));
|
|
6986
|
+
|
|
6987
|
+
if (cs.translate) {
|
|
6988
|
+
// accommodate independent transforms by combining them into normal ones.
|
|
6989
|
+
if (cs.translate !== "none" || cs.scale !== "none" || cs.rotate !== "none") {
|
|
6990
|
+
style[_transformProp$3] = (cs.translate !== "none" ? "translate3d(" + (cs.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (cs.rotate !== "none" ? "rotate(" + cs.rotate + ") " : "") + (cs.scale !== "none" ? "scale(" + cs.scale.split(" ").join(",") + ") " : "") + cs[_transformProp$3];
|
|
6991
|
+
}
|
|
6992
|
+
|
|
6993
|
+
style.scale = style.rotate = style.translate = "none";
|
|
6994
|
+
}
|
|
6995
|
+
|
|
6590
6996
|
matrix = _getMatrix(target, cache.svg);
|
|
6591
6997
|
|
|
6592
6998
|
if (cache.svg) {
|
|
@@ -7062,8 +7468,13 @@ var CSSPlugin$1 = {
|
|
|
7062
7468
|
transformPropTween,
|
|
7063
7469
|
cache,
|
|
7064
7470
|
smooth,
|
|
7065
|
-
hasPriority
|
|
7066
|
-
|
|
7471
|
+
hasPriority,
|
|
7472
|
+
inlineProps;
|
|
7473
|
+
_pluginInitted || _initCore$b(); // we may call init() multiple times on the same plugin instance, like when adding special properties, so make sure we don't overwrite the revert data or inlineProps
|
|
7474
|
+
|
|
7475
|
+
this.styles = this.styles || _getStyleSaver$1(target);
|
|
7476
|
+
inlineProps = this.styles.props;
|
|
7477
|
+
this.tween = tween;
|
|
7067
7478
|
|
|
7068
7479
|
for (p in vars) {
|
|
7069
7480
|
if (p === "autoRound") {
|
|
@@ -7106,6 +7517,7 @@ var CSSPlugin$1 = {
|
|
|
7106
7517
|
endUnit ? startUnit !== endUnit && (startValue = _convertToUnit(target, p, startValue, endUnit) + endUnit) : startUnit && (endValue += startUnit);
|
|
7107
7518
|
this.add(style, "setProperty", startValue, endValue, index, targets, 0, 0, p);
|
|
7108
7519
|
props.push(p);
|
|
7520
|
+
inlineProps.push(p, style[p]);
|
|
7109
7521
|
} else if (type !== "undefined") {
|
|
7110
7522
|
if (startAt && p in startAt) {
|
|
7111
7523
|
// in case someone hard-codes a complex value as the start, like top: "calc(2vh / 2)". Without this, it'd use the computed value (always in px)
|
|
@@ -7131,6 +7543,8 @@ var CSSPlugin$1 = {
|
|
|
7131
7543
|
startNum = 0;
|
|
7132
7544
|
}
|
|
7133
7545
|
|
|
7546
|
+
inlineProps.push("visibility", style.visibility);
|
|
7547
|
+
|
|
7134
7548
|
_addNonTweeningPT(this, style, "visibility", startNum ? "inherit" : "hidden", endNum ? "inherit" : "hidden", !endNum);
|
|
7135
7549
|
}
|
|
7136
7550
|
|
|
@@ -7143,6 +7557,8 @@ var CSSPlugin$1 = {
|
|
|
7143
7557
|
isTransformRelated = p in _transformProps; //--- TRANSFORM-RELATED ---
|
|
7144
7558
|
|
|
7145
7559
|
if (isTransformRelated) {
|
|
7560
|
+
this.styles.save(p);
|
|
7561
|
+
|
|
7146
7562
|
if (!transformPropTween) {
|
|
7147
7563
|
cache = target._gsap;
|
|
7148
7564
|
cache.renderTransform && !vars.parseTransform || _parseTransform(target, vars.parseTransform); // if, for example, gsap.set(... {transform:"translateX(50vw)"}), the _get() call doesn't parse the transform, thus cache.renderTransform won't be set yet so force the parsing of the transform here.
|
|
@@ -7154,10 +7570,12 @@ var CSSPlugin$1 = {
|
|
|
7154
7570
|
}
|
|
7155
7571
|
|
|
7156
7572
|
if (p === "scale") {
|
|
7157
|
-
this._pt = new PropTween$3(this._pt, cache, "scaleY", cache.scaleY, (relative ? _parseRelative(cache.scaleY, relative + endNum) : endNum) - cache.scaleY || 0);
|
|
7573
|
+
this._pt = new PropTween$3(this._pt, cache, "scaleY", cache.scaleY, (relative ? _parseRelative(cache.scaleY, relative + endNum) : endNum) - cache.scaleY || 0, _renderCSSProp);
|
|
7574
|
+
this._pt.u = 0;
|
|
7158
7575
|
props.push("scaleY", p);
|
|
7159
7576
|
p += "X";
|
|
7160
7577
|
} else if (p === "transformOrigin") {
|
|
7578
|
+
inlineProps.push(_transformOriginProp$2, style[_transformOriginProp$2]);
|
|
7161
7579
|
endValue = _convertKeywordsToPercentages(endValue); //in case something like "left top" or "bottom right" is passed in. Convert to percentages.
|
|
7162
7580
|
|
|
7163
7581
|
if (cache.svg) {
|
|
@@ -7222,12 +7640,25 @@ var CSSPlugin$1 = {
|
|
|
7222
7640
|
_tweenComplexCSSString.call(this, target, p, startValue, relative ? relative + endValue : endValue);
|
|
7223
7641
|
}
|
|
7224
7642
|
|
|
7643
|
+
isTransformRelated || inlineProps.push(p, style[p]);
|
|
7225
7644
|
props.push(p);
|
|
7226
7645
|
}
|
|
7227
7646
|
}
|
|
7228
7647
|
|
|
7229
7648
|
hasPriority && _sortPropTweensByPriority(this);
|
|
7230
7649
|
},
|
|
7650
|
+
render: function render(ratio, data) {
|
|
7651
|
+
if (data.tween._time || !_reverting$1()) {
|
|
7652
|
+
var pt = data._pt;
|
|
7653
|
+
|
|
7654
|
+
while (pt) {
|
|
7655
|
+
pt.r(ratio, pt.d);
|
|
7656
|
+
pt = pt._next;
|
|
7657
|
+
}
|
|
7658
|
+
} else {
|
|
7659
|
+
data.styles.revert();
|
|
7660
|
+
}
|
|
7661
|
+
},
|
|
7231
7662
|
get: _get,
|
|
7232
7663
|
aliases: _propertyAliases,
|
|
7233
7664
|
getSetter: function getSetter(target, property, plugin) {
|
|
@@ -7242,6 +7673,7 @@ var CSSPlugin$1 = {
|
|
|
7242
7673
|
}
|
|
7243
7674
|
};
|
|
7244
7675
|
gsap$f.utils.checkPrefix = _checkPropPrefix;
|
|
7676
|
+
gsap$f.core.getStyleSaver = _getStyleSaver$1;
|
|
7245
7677
|
|
|
7246
7678
|
(function (positionAndScale, rotation, others, aliases) {
|
|
7247
7679
|
var all = _forEachName(positionAndScale + "," + rotation + "," + others, function (name) {
|
|
@@ -7268,7 +7700,7 @@ _forEachName("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,p
|
|
|
7268
7700
|
gsap$f.registerPlugin(CSSPlugin$1);
|
|
7269
7701
|
|
|
7270
7702
|
/*!
|
|
7271
|
-
* paths 3.
|
|
7703
|
+
* paths 3.11.0
|
|
7272
7704
|
* https://greensock.com
|
|
7273
7705
|
*
|
|
7274
7706
|
* Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -8754,7 +9186,7 @@ export function pointToScreen(svgElement, point) {
|
|
|
8754
9186
|
*/
|
|
8755
9187
|
|
|
8756
9188
|
/*!
|
|
8757
|
-
* CustomEase 3.
|
|
9189
|
+
* CustomEase 3.11.0
|
|
8758
9190
|
* https://greensock.com
|
|
8759
9191
|
*
|
|
8760
9192
|
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -9119,144 +9551,10 @@ var CustomEase = /*#__PURE__*/function () {
|
|
|
9119
9551
|
return CustomEase;
|
|
9120
9552
|
}();
|
|
9121
9553
|
_getGSAP$d() && gsap$e.registerPlugin(CustomEase);
|
|
9122
|
-
CustomEase.version = "3.
|
|
9123
|
-
|
|
9124
|
-
/*!
|
|
9125
|
-
* CSSRulePlugin 3.10.4
|
|
9126
|
-
* https://greensock.com
|
|
9127
|
-
*
|
|
9128
|
-
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
9129
|
-
* Subject to the terms at https://greensock.com/standard-license or for
|
|
9130
|
-
* Club GreenSock members, the agreement issued with that membership.
|
|
9131
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
9132
|
-
*/
|
|
9133
|
-
|
|
9134
|
-
/* eslint-disable */
|
|
9135
|
-
var gsap$d,
|
|
9136
|
-
_coreInitted$a,
|
|
9137
|
-
_win$6,
|
|
9138
|
-
_doc$4,
|
|
9139
|
-
CSSPlugin,
|
|
9140
|
-
_windowExists$6 = function _windowExists() {
|
|
9141
|
-
return typeof window !== "undefined";
|
|
9142
|
-
},
|
|
9143
|
-
_getGSAP$c = function _getGSAP() {
|
|
9144
|
-
return gsap$d || _windowExists$6() && (gsap$d = window.gsap) && gsap$d.registerPlugin && gsap$d;
|
|
9145
|
-
},
|
|
9146
|
-
_checkRegister = function _checkRegister() {
|
|
9147
|
-
if (!_coreInitted$a) {
|
|
9148
|
-
_initCore$9();
|
|
9149
|
-
|
|
9150
|
-
if (!CSSPlugin) {
|
|
9151
|
-
console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)");
|
|
9152
|
-
}
|
|
9153
|
-
}
|
|
9154
|
-
|
|
9155
|
-
return _coreInitted$a;
|
|
9156
|
-
},
|
|
9157
|
-
_initCore$9 = function _initCore(core) {
|
|
9158
|
-
gsap$d = core || _getGSAP$c();
|
|
9159
|
-
|
|
9160
|
-
if (_windowExists$6()) {
|
|
9161
|
-
_win$6 = window;
|
|
9162
|
-
_doc$4 = document;
|
|
9163
|
-
}
|
|
9164
|
-
|
|
9165
|
-
if (gsap$d) {
|
|
9166
|
-
CSSPlugin = gsap$d.plugins.css;
|
|
9167
|
-
|
|
9168
|
-
if (CSSPlugin) {
|
|
9169
|
-
_coreInitted$a = 1;
|
|
9170
|
-
}
|
|
9171
|
-
}
|
|
9172
|
-
};
|
|
9173
|
-
|
|
9174
|
-
var CSSRulePlugin = {
|
|
9175
|
-
version: "3.10.4",
|
|
9176
|
-
name: "cssRule",
|
|
9177
|
-
init: function init(target, value, tween, index, targets) {
|
|
9178
|
-
if (!_checkRegister() || typeof target.cssText === "undefined") {
|
|
9179
|
-
return false;
|
|
9180
|
-
}
|
|
9181
|
-
|
|
9182
|
-
var div = target._gsProxy = target._gsProxy || _doc$4.createElement("div");
|
|
9183
|
-
|
|
9184
|
-
this.ss = target;
|
|
9185
|
-
this.style = div.style;
|
|
9186
|
-
div.style.cssText = target.cssText;
|
|
9187
|
-
CSSPlugin.prototype.init.call(this, div, value, tween, index, targets); //we just offload all the work to the regular CSSPlugin and then copy the cssText back over to the rule in the render() method. This allows us to have all of the updates to CSSPlugin automatically flow through to CSSRulePlugin instead of having to maintain both
|
|
9188
|
-
},
|
|
9189
|
-
render: function render(ratio, data) {
|
|
9190
|
-
var pt = data._pt,
|
|
9191
|
-
style = data.style,
|
|
9192
|
-
ss = data.ss,
|
|
9193
|
-
i;
|
|
9194
|
-
|
|
9195
|
-
while (pt) {
|
|
9196
|
-
pt.r(ratio, pt.d);
|
|
9197
|
-
pt = pt._next;
|
|
9198
|
-
}
|
|
9199
|
-
|
|
9200
|
-
i = style.length;
|
|
9201
|
-
|
|
9202
|
-
while (--i > -1) {
|
|
9203
|
-
ss[style[i]] = style[style[i]];
|
|
9204
|
-
}
|
|
9205
|
-
},
|
|
9206
|
-
getRule: function getRule(selector) {
|
|
9207
|
-
_checkRegister();
|
|
9208
|
-
|
|
9209
|
-
var ruleProp = _doc$4.all ? "rules" : "cssRules",
|
|
9210
|
-
styleSheets = _doc$4.styleSheets,
|
|
9211
|
-
i = styleSheets.length,
|
|
9212
|
-
pseudo = selector.charAt(0) === ":",
|
|
9213
|
-
j,
|
|
9214
|
-
curSS,
|
|
9215
|
-
cs,
|
|
9216
|
-
a;
|
|
9217
|
-
selector = (pseudo ? "" : ",") + selector.split("::").join(":").toLowerCase() + ","; //note: old versions of IE report tag name selectors as upper case, so we just change everything to lowercase.
|
|
9218
|
-
|
|
9219
|
-
if (pseudo) {
|
|
9220
|
-
a = [];
|
|
9221
|
-
}
|
|
9222
|
-
|
|
9223
|
-
while (i--) {
|
|
9224
|
-
//Firefox may throw insecure operation errors when css is loaded from other domains, so try/catch.
|
|
9225
|
-
try {
|
|
9226
|
-
curSS = styleSheets[i][ruleProp];
|
|
9227
|
-
|
|
9228
|
-
if (!curSS) {
|
|
9229
|
-
continue;
|
|
9230
|
-
}
|
|
9231
|
-
|
|
9232
|
-
j = curSS.length;
|
|
9233
|
-
} catch (e) {
|
|
9234
|
-
console.warn(e);
|
|
9235
|
-
continue;
|
|
9236
|
-
}
|
|
9237
|
-
|
|
9238
|
-
while (--j > -1) {
|
|
9239
|
-
cs = curSS[j];
|
|
9240
|
-
|
|
9241
|
-
if (cs.selectorText && ("," + cs.selectorText.split("::").join(":").toLowerCase() + ",").indexOf(selector) !== -1) {
|
|
9242
|
-
//note: IE adds an extra ":" to pseudo selectors, so .myClass:after becomes .myClass::after, so we need to strip the extra one out.
|
|
9243
|
-
if (pseudo) {
|
|
9244
|
-
a.push(cs.style);
|
|
9245
|
-
} else {
|
|
9246
|
-
return cs.style;
|
|
9247
|
-
}
|
|
9248
|
-
}
|
|
9249
|
-
}
|
|
9250
|
-
}
|
|
9251
|
-
|
|
9252
|
-
return a;
|
|
9253
|
-
},
|
|
9254
|
-
register: _initCore$9
|
|
9255
|
-
};
|
|
9256
|
-
_getGSAP$c() && gsap$d.registerPlugin(CSSRulePlugin);
|
|
9554
|
+
CustomEase.version = "3.11.0";
|
|
9257
9555
|
|
|
9258
9556
|
/*!
|
|
9259
|
-
* matrix 3.
|
|
9557
|
+
* matrix 3.11.0
|
|
9260
9558
|
* https://greensock.com
|
|
9261
9559
|
*
|
|
9262
9560
|
* Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -9266,8 +9564,8 @@ _getGSAP$c() && gsap$d.registerPlugin(CSSRulePlugin);
|
|
|
9266
9564
|
*/
|
|
9267
9565
|
|
|
9268
9566
|
/* eslint-disable */
|
|
9269
|
-
var _doc$
|
|
9270
|
-
_win$
|
|
9567
|
+
var _doc$4,
|
|
9568
|
+
_win$6,
|
|
9271
9569
|
_docElement$1,
|
|
9272
9570
|
_body$6,
|
|
9273
9571
|
_divContainer,
|
|
@@ -9288,14 +9586,14 @@ var _doc$3,
|
|
|
9288
9586
|
|
|
9289
9587
|
while (doc.parentNode && (doc = doc.parentNode)) {}
|
|
9290
9588
|
|
|
9291
|
-
_win$
|
|
9589
|
+
_win$6 = window;
|
|
9292
9590
|
_identityMatrix$1 = new Matrix2D();
|
|
9293
9591
|
|
|
9294
9592
|
if (doc) {
|
|
9295
|
-
_doc$
|
|
9593
|
+
_doc$4 = doc;
|
|
9296
9594
|
_docElement$1 = doc.documentElement;
|
|
9297
9595
|
_body$6 = doc.body;
|
|
9298
|
-
_gEl = _doc$
|
|
9596
|
+
_gEl = _doc$4.createElementNS("http://www.w3.org/2000/svg", "g"); // prevent any existing CSS from transforming it
|
|
9299
9597
|
|
|
9300
9598
|
_gEl.style.transform = "none"; // now test for the offset reporting bug. Use feature detection instead of browser sniffing to make things more bulletproof and future-proof. Hopefully Safari will fix their bug soon but it's 2020 and it's still not fixed.
|
|
9301
9599
|
|
|
@@ -9355,16 +9653,16 @@ _svgTemps = [],
|
|
|
9355
9653
|
//we create 3 elements for SVG, and 3 for other DOM elements and cache them for performance reasons. They get nested in _divContainer and _svgContainer so that just one element is added to the DOM on each successive attempt. Again, performance is key.
|
|
9356
9654
|
_divTemps = [],
|
|
9357
9655
|
_getDocScrollTop$1 = function _getDocScrollTop() {
|
|
9358
|
-
return _win$
|
|
9656
|
+
return _win$6.pageYOffset || _doc$4.scrollTop || _docElement$1.scrollTop || _body$6.scrollTop || 0;
|
|
9359
9657
|
},
|
|
9360
9658
|
_getDocScrollLeft$1 = function _getDocScrollLeft() {
|
|
9361
|
-
return _win$
|
|
9659
|
+
return _win$6.pageXOffset || _doc$4.scrollLeft || _docElement$1.scrollLeft || _body$6.scrollLeft || 0;
|
|
9362
9660
|
},
|
|
9363
9661
|
_svgOwner = function _svgOwner(element) {
|
|
9364
9662
|
return element.ownerSVGElement || ((element.tagName + "").toLowerCase() === "svg" ? element : null);
|
|
9365
9663
|
},
|
|
9366
9664
|
_isFixed$1 = function _isFixed(element) {
|
|
9367
|
-
if (_win$
|
|
9665
|
+
if (_win$6.getComputedStyle(element).position === "fixed") {
|
|
9368
9666
|
return true;
|
|
9369
9667
|
}
|
|
9370
9668
|
|
|
@@ -9376,14 +9674,14 @@ _divTemps = [],
|
|
|
9376
9674
|
}
|
|
9377
9675
|
},
|
|
9378
9676
|
_createSibling = function _createSibling(element, i) {
|
|
9379
|
-
if (element.parentNode && (_doc$
|
|
9677
|
+
if (element.parentNode && (_doc$4 || _setDoc(element))) {
|
|
9380
9678
|
var svg = _svgOwner(element),
|
|
9381
9679
|
ns = svg ? svg.getAttribute("xmlns") || "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml",
|
|
9382
9680
|
type = svg ? i ? "rect" : "g" : "div",
|
|
9383
9681
|
x = i !== 2 ? 0 : 100,
|
|
9384
9682
|
y = i === 3 ? 100 : 0,
|
|
9385
9683
|
css = "position:absolute;display:block;pointer-events:none;margin:0;padding:0;",
|
|
9386
|
-
e = _doc$
|
|
9684
|
+
e = _doc$4.createElementNS ? _doc$4.createElementNS(ns.replace(/^https/, "http"), type) : _doc$4.createElement(type);
|
|
9387
9685
|
|
|
9388
9686
|
if (i) {
|
|
9389
9687
|
if (!svg) {
|
|
@@ -9450,7 +9748,7 @@ _divTemps = [],
|
|
|
9450
9748
|
y,
|
|
9451
9749
|
cs;
|
|
9452
9750
|
|
|
9453
|
-
if (element === _win$
|
|
9751
|
+
if (element === _win$6) {
|
|
9454
9752
|
return element;
|
|
9455
9753
|
}
|
|
9456
9754
|
|
|
@@ -9492,7 +9790,7 @@ _divTemps = [],
|
|
|
9492
9790
|
b = element;
|
|
9493
9791
|
|
|
9494
9792
|
while (b && (b = b.parentNode) && b !== m && b.parentNode) {
|
|
9495
|
-
if ((_win$
|
|
9793
|
+
if ((_win$6.getComputedStyle(b)[_transformProp$2] + "").length > 4) {
|
|
9496
9794
|
x = b.offsetLeft;
|
|
9497
9795
|
y = b.offsetTop;
|
|
9498
9796
|
b = 0;
|
|
@@ -9500,7 +9798,7 @@ _divTemps = [],
|
|
|
9500
9798
|
}
|
|
9501
9799
|
}
|
|
9502
9800
|
|
|
9503
|
-
cs = _win$
|
|
9801
|
+
cs = _win$6.getComputedStyle(element);
|
|
9504
9802
|
|
|
9505
9803
|
if (cs.position !== "absolute" && cs.position !== "fixed") {
|
|
9506
9804
|
m = element.offsetParent;
|
|
@@ -9640,7 +9938,7 @@ var Matrix2D = /*#__PURE__*/function () {
|
|
|
9640
9938
|
|
|
9641
9939
|
function getGlobalMatrix(element, inverse, adjustGOffset, includeScrollInFixed) {
|
|
9642
9940
|
// adjustGOffset is typically used only when grabbing an element's PARENT's global matrix, and it ignores the x/y offset of any SVG <g> elements because they behave in a special way.
|
|
9643
|
-
if (!element || !element.parentNode || (_doc$
|
|
9941
|
+
if (!element || !element.parentNode || (_doc$4 || _setDoc(element)).documentElement === element) {
|
|
9644
9942
|
return new Matrix2D();
|
|
9645
9943
|
}
|
|
9646
9944
|
|
|
@@ -9679,14 +9977,14 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
9679
9977
|
|
|
9680
9978
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
9681
9979
|
|
|
9682
|
-
var gsap$
|
|
9683
|
-
_win$
|
|
9684
|
-
_doc$
|
|
9980
|
+
var gsap$d,
|
|
9981
|
+
_win$5,
|
|
9982
|
+
_doc$3,
|
|
9685
9983
|
_docElement,
|
|
9686
9984
|
_body$5,
|
|
9687
9985
|
_tempDiv$1,
|
|
9688
9986
|
_placeholderDiv,
|
|
9689
|
-
_coreInitted$
|
|
9987
|
+
_coreInitted$a,
|
|
9690
9988
|
_checkPrefix,
|
|
9691
9989
|
_toArray$7,
|
|
9692
9990
|
_supportsPassive,
|
|
@@ -9698,11 +9996,11 @@ var gsap$c,
|
|
|
9698
9996
|
InertiaPlugin$1,
|
|
9699
9997
|
_defaultCursor,
|
|
9700
9998
|
_supportsPointer,
|
|
9701
|
-
_windowExists$
|
|
9999
|
+
_windowExists$6 = function _windowExists() {
|
|
9702
10000
|
return typeof window !== "undefined";
|
|
9703
10001
|
},
|
|
9704
|
-
_getGSAP$
|
|
9705
|
-
return gsap$
|
|
10002
|
+
_getGSAP$c = function _getGSAP() {
|
|
10003
|
+
return gsap$d || _windowExists$6() && (gsap$d = window.gsap) && gsap$d.registerPlugin && gsap$d;
|
|
9706
10004
|
},
|
|
9707
10005
|
_isFunction$4 = function _isFunction(value) {
|
|
9708
10006
|
return typeof value === "function";
|
|
@@ -9723,9 +10021,9 @@ var gsap$c,
|
|
|
9723
10021
|
},
|
|
9724
10022
|
_isArray$1 = Array.isArray,
|
|
9725
10023
|
_createElement = function _createElement(type, ns) {
|
|
9726
|
-
var e = _doc$
|
|
10024
|
+
var e = _doc$3.createElementNS ? _doc$3.createElementNS((ns || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), type) : _doc$3.createElement(type); //some servers swap in https for http in the namespace which can break things, making "style" inaccessible.
|
|
9727
10025
|
|
|
9728
|
-
return e.style ? e : _doc$
|
|
10026
|
+
return e.style ? e : _doc$3.createElement(type); //some environments won't allow access to the element's style when created with a namespace in which case we default to the standard createElement() to work around the issue. Also note that when GSAP is embedded directly inside an SVG file, createElement() won't allow access to the style object in Firefox (see https://greensock.com/forums/topic/20215-problem-using-tweenmax-in-standalone-self-containing-svg-file-err-cannot-set-property-csstext-of-undefined/).
|
|
9729
10027
|
},
|
|
9730
10028
|
_RAD2DEG$1 = 180 / Math.PI,
|
|
9731
10029
|
_bigNum$1 = 1e20,
|
|
@@ -9781,11 +10079,11 @@ _copy$2 = function _copy(obj, factor) {
|
|
|
9781
10079
|
_renderQueue.push(func);
|
|
9782
10080
|
|
|
9783
10081
|
if (_renderQueue.length === 1) {
|
|
9784
|
-
gsap$
|
|
10082
|
+
gsap$d.ticker.add(_renderQueueTick);
|
|
9785
10083
|
}
|
|
9786
10084
|
},
|
|
9787
10085
|
_renderQueueTimeout = function _renderQueueTimeout() {
|
|
9788
|
-
return !_renderQueue.length && gsap$
|
|
10086
|
+
return !_renderQueue.length && gsap$d.ticker.remove(_renderQueueTick);
|
|
9789
10087
|
},
|
|
9790
10088
|
_removeFromRenderQueue = function _removeFromRenderQueue(func) {
|
|
9791
10089
|
var i = _renderQueue.length;
|
|
@@ -9796,7 +10094,7 @@ _copy$2 = function _copy(obj, factor) {
|
|
|
9796
10094
|
}
|
|
9797
10095
|
}
|
|
9798
10096
|
|
|
9799
|
-
gsap$
|
|
10097
|
+
gsap$d.to(_renderQueueTimeout, {
|
|
9800
10098
|
overwrite: true,
|
|
9801
10099
|
delay: 15,
|
|
9802
10100
|
duration: 0,
|
|
@@ -9854,10 +10152,10 @@ _copy$2 = function _copy(obj, factor) {
|
|
|
9854
10152
|
_addListener$2(event.target, "touchend", _onMultiTouchDocumentEnd);
|
|
9855
10153
|
},
|
|
9856
10154
|
_getDocScrollTop = function _getDocScrollTop(doc) {
|
|
9857
|
-
return _win$
|
|
10155
|
+
return _win$5.pageYOffset || doc.scrollTop || doc.documentElement.scrollTop || doc.body.scrollTop || 0;
|
|
9858
10156
|
},
|
|
9859
10157
|
_getDocScrollLeft = function _getDocScrollLeft(doc) {
|
|
9860
|
-
return _win$
|
|
10158
|
+
return _win$5.pageXOffset || doc.scrollLeft || doc.documentElement.scrollLeft || doc.body.scrollLeft || 0;
|
|
9861
10159
|
},
|
|
9862
10160
|
_addScrollListener = function _addScrollListener(e, callback) {
|
|
9863
10161
|
_addListener$2(e, "scroll", callback);
|
|
@@ -9874,13 +10172,13 @@ _copy$2 = function _copy(obj, factor) {
|
|
|
9874
10172
|
}
|
|
9875
10173
|
},
|
|
9876
10174
|
_isRoot = function _isRoot(e) {
|
|
9877
|
-
return !!(!e || e === _docElement || e.nodeType === 9 || e === _doc$
|
|
10175
|
+
return !!(!e || e === _docElement || e.nodeType === 9 || e === _doc$3.body || e === _win$5 || !e.nodeType || !e.parentNode);
|
|
9878
10176
|
},
|
|
9879
10177
|
_getMaxScroll = function _getMaxScroll(element, axis) {
|
|
9880
10178
|
var dim = axis === "x" ? "Width" : "Height",
|
|
9881
10179
|
scroll = "scroll" + dim,
|
|
9882
10180
|
client = "client" + dim;
|
|
9883
|
-
return Math.max(0, _isRoot(element) ? Math.max(_docElement[scroll], _body$5[scroll]) - (_win$
|
|
10181
|
+
return Math.max(0, _isRoot(element) ? Math.max(_docElement[scroll], _body$5[scroll]) - (_win$5["inner" + dim] || _docElement[client] || _body$5[client]) : element[scroll] - element[client]);
|
|
9884
10182
|
},
|
|
9885
10183
|
_recordMaxScrolls = function _recordMaxScrolls(e, skipCurrent) {
|
|
9886
10184
|
//records _gsMaxScrollX and _gsMaxScrollY properties for the element and all ancestors up the chain so that we can cap it, otherwise dragging beyond the edges with autoScroll on can endlessly scroll.
|
|
@@ -9919,21 +10217,21 @@ _copy$2 = function _copy(obj, factor) {
|
|
|
9919
10217
|
}
|
|
9920
10218
|
},
|
|
9921
10219
|
_getComputedStyle$1 = function _getComputedStyle(element) {
|
|
9922
|
-
return _win$
|
|
10220
|
+
return _win$5.getComputedStyle(element instanceof Element ? element : element.host || (element.parentNode || {}).host || element);
|
|
9923
10221
|
},
|
|
9924
10222
|
//the "host" stuff helps to accommodate ShadowDom objects.
|
|
9925
10223
|
_tempRect = {},
|
|
9926
10224
|
//reuse to reduce garbage collection tasks
|
|
9927
10225
|
_parseRect = function _parseRect(e) {
|
|
9928
10226
|
//accepts a DOM element, a mouse event, or a rectangle object and returns the corresponding rectangle with left, right, width, height, top, and bottom properties
|
|
9929
|
-
if (e === _win$
|
|
10227
|
+
if (e === _win$5) {
|
|
9930
10228
|
_tempRect.left = _tempRect.top = 0;
|
|
9931
10229
|
_tempRect.width = _tempRect.right = _docElement.clientWidth || e.innerWidth || _body$5.clientWidth || 0;
|
|
9932
10230
|
_tempRect.height = _tempRect.bottom = (e.innerHeight || 0) - 20 < _docElement.clientHeight ? _docElement.clientHeight : e.innerHeight || _body$5.clientHeight || 0;
|
|
9933
10231
|
return _tempRect;
|
|
9934
10232
|
}
|
|
9935
10233
|
|
|
9936
|
-
var doc = e.ownerDocument || _doc$
|
|
10234
|
+
var doc = e.ownerDocument || _doc$3,
|
|
9937
10235
|
r = !_isUndefined(e.pageX) ? {
|
|
9938
10236
|
left: e.pageX - _getDocScrollLeft(doc),
|
|
9939
10237
|
top: e.pageY - _getDocScrollTop(doc),
|
|
@@ -9981,7 +10279,7 @@ _parseRect = function _parseRect(e) {
|
|
|
9981
10279
|
left,
|
|
9982
10280
|
offset;
|
|
9983
10281
|
|
|
9984
|
-
if (!e.nodeType && e !== _win$
|
|
10282
|
+
if (!e.nodeType && e !== _win$5) {
|
|
9985
10283
|
if (!_isUndefined(target.left)) {
|
|
9986
10284
|
offset = {
|
|
9987
10285
|
x: 0,
|
|
@@ -10013,7 +10311,7 @@ _parseRect = function _parseRect(e) {
|
|
|
10013
10311
|
_getElementBounds = function _getElementBounds(element, context) {
|
|
10014
10312
|
context = _toArray$7(context)[0];
|
|
10015
10313
|
var isSVG = element.getBBox && element.ownerSVGElement,
|
|
10016
|
-
doc = element.ownerDocument || _doc$
|
|
10314
|
+
doc = element.ownerDocument || _doc$3,
|
|
10017
10315
|
left,
|
|
10018
10316
|
right,
|
|
10019
10317
|
top,
|
|
@@ -10026,15 +10324,14 @@ _getElementBounds = function _getElementBounds(element, context) {
|
|
|
10026
10324
|
bbox,
|
|
10027
10325
|
width,
|
|
10028
10326
|
height,
|
|
10029
|
-
cs
|
|
10030
|
-
contextParent;
|
|
10327
|
+
cs;
|
|
10031
10328
|
|
|
10032
|
-
if (element === _win$
|
|
10329
|
+
if (element === _win$5) {
|
|
10033
10330
|
top = _getDocScrollTop(doc);
|
|
10034
10331
|
left = _getDocScrollLeft(doc);
|
|
10035
10332
|
right = left + (doc.documentElement.clientWidth || element.innerWidth || doc.body.clientWidth || 0);
|
|
10036
10333
|
bottom = top + ((element.innerHeight || 0) - 20 < doc.documentElement.clientHeight ? doc.documentElement.clientHeight : element.innerHeight || doc.body.clientHeight || 0); //some browsers (like Firefox) ignore absolutely positioned elements, and collapse the height of the documentElement, so it could be 8px, for example, if you have just an absolutely positioned div. In that case, we use the innerHeight to resolve this.
|
|
10037
|
-
} else if (context === _win$
|
|
10334
|
+
} else if (context === _win$5 || _isUndefined(context)) {
|
|
10038
10335
|
return element.getBoundingClientRect();
|
|
10039
10336
|
} else {
|
|
10040
10337
|
left = top = 0;
|
|
@@ -10091,10 +10388,9 @@ _getElementBounds = function _getElementBounds(element, context) {
|
|
|
10091
10388
|
});
|
|
10092
10389
|
left = Math.min(p1.x, p2.x, p3.x, p4.x);
|
|
10093
10390
|
top = Math.min(p1.y, p2.y, p3.y, p4.y);
|
|
10094
|
-
contextParent = context.parentNode || {};
|
|
10095
10391
|
return {
|
|
10096
|
-
left: left
|
|
10097
|
-
top: top
|
|
10392
|
+
left: left,
|
|
10393
|
+
top: top,
|
|
10098
10394
|
width: Math.max(p1.x, p2.x, p3.x, p4.x) - left,
|
|
10099
10395
|
height: Math.max(p1.y, p2.y, p3.y, p4.y) - top
|
|
10100
10396
|
};
|
|
@@ -10178,7 +10474,7 @@ _getElementBounds = function _getElementBounds(element, context) {
|
|
|
10178
10474
|
while (i--) {
|
|
10179
10475
|
e = elements[i];
|
|
10180
10476
|
e.ondragstart = e.onselectstart = selectable ? null : _emptyFunc$2;
|
|
10181
|
-
gsap$
|
|
10477
|
+
gsap$d.set(e, {
|
|
10182
10478
|
lazy: true,
|
|
10183
10479
|
userSelect: selectable ? "text" : "none"
|
|
10184
10480
|
});
|
|
@@ -10200,7 +10496,7 @@ _getElementBounds = function _getElementBounds(element, context) {
|
|
|
10200
10496
|
_addPaddingBR,
|
|
10201
10497
|
//The ScrollProxy class wraps an element's contents into another div (we call it "content") that we either add padding when necessary or apply a translate3d() transform in order to overscroll (scroll past the boundaries). This allows us to simply set the scrollTop/scrollLeft (or top/left for easier reverse-axis orientation, which is what we do in Draggable) and it'll do all the work for us. For example, if we tried setting scrollTop to -100 on a normal DOM element, it wouldn't work - it'd look the same as setting it to 0, but if we set scrollTop of a ScrollProxy to -100, it'll give the correct appearance by either setting paddingTop of the wrapper to 100 or applying a 100-pixel translateY.
|
|
10202
10498
|
ScrollProxy = function ScrollProxy(element, vars) {
|
|
10203
|
-
element = gsap$
|
|
10499
|
+
element = gsap$d.utils.toArray(element)[0];
|
|
10204
10500
|
vars = vars || {};
|
|
10205
10501
|
var content = document.createElement("div"),
|
|
10206
10502
|
style = content.style,
|
|
@@ -10256,7 +10552,7 @@ ScrollProxy = function ScrollProxy(element, vars) {
|
|
|
10256
10552
|
if ((dif > 2 || dif < -2) && !force) {
|
|
10257
10553
|
//if the user interacts with the scrollbar (or something else scrolls it, like the mouse wheel), we should kill any tweens of the ScrollProxy.
|
|
10258
10554
|
prevLeft = element.scrollLeft;
|
|
10259
|
-
gsap$
|
|
10555
|
+
gsap$d.killTweensOf(this, {
|
|
10260
10556
|
left: 1,
|
|
10261
10557
|
scrollLeft: 1
|
|
10262
10558
|
});
|
|
@@ -10306,7 +10602,7 @@ ScrollProxy = function ScrollProxy(element, vars) {
|
|
|
10306
10602
|
if ((dif > 2 || dif < -2) && !force) {
|
|
10307
10603
|
//if the user interacts with the scrollbar (or something else scrolls it, like the mouse wheel), we should kill any tweens of the ScrollProxy.
|
|
10308
10604
|
prevTop = element.scrollTop;
|
|
10309
|
-
gsap$
|
|
10605
|
+
gsap$d.killTweensOf(this, {
|
|
10310
10606
|
top: 1,
|
|
10311
10607
|
scrollTop: 1
|
|
10312
10608
|
});
|
|
@@ -10445,13 +10741,13 @@ ScrollProxy = function ScrollProxy(element, vars) {
|
|
|
10445
10741
|
this._skip = false;
|
|
10446
10742
|
this.enable();
|
|
10447
10743
|
},
|
|
10448
|
-
_initCore$
|
|
10449
|
-
if (_windowExists$
|
|
10744
|
+
_initCore$9 = function _initCore(required) {
|
|
10745
|
+
if (_windowExists$6() && document.body) {
|
|
10450
10746
|
var nav = window && window.navigator;
|
|
10451
|
-
_win$
|
|
10452
|
-
_doc$
|
|
10453
|
-
_docElement = _doc$
|
|
10454
|
-
_body$5 = _doc$
|
|
10747
|
+
_win$5 = window;
|
|
10748
|
+
_doc$3 = document;
|
|
10749
|
+
_docElement = _doc$3.documentElement;
|
|
10750
|
+
_body$5 = _doc$3.body;
|
|
10455
10751
|
_tempDiv$1 = _createElement("div");
|
|
10456
10752
|
_supportsPointer = !!window.PointerEvent;
|
|
10457
10753
|
_placeholderDiv = _createElement("div");
|
|
@@ -10459,7 +10755,7 @@ ScrollProxy = function ScrollProxy(element, vars) {
|
|
|
10459
10755
|
_defaultCursor = _placeholderDiv.style.cursor === "grab" ? "grab" : "move";
|
|
10460
10756
|
_isAndroid = nav && nav.userAgent.toLowerCase().indexOf("android") !== -1; //Android handles touch events in an odd way and it's virtually impossible to "feature test" so we resort to UA sniffing
|
|
10461
10757
|
|
|
10462
|
-
_isTouchDevice = "ontouchstart" in _docElement && "orientation" in _win$
|
|
10758
|
+
_isTouchDevice = "ontouchstart" in _docElement && "orientation" in _win$5 || nav && (nav.MaxTouchPoints > 0 || nav.msMaxTouchPoints > 0);
|
|
10463
10759
|
|
|
10464
10760
|
_addPaddingBR = function () {
|
|
10465
10761
|
//this function is in charge of analyzing browser behavior related to padding. It sets the _addPaddingBR to true if the browser doesn't normally factor in the bottom or right padding on the element inside the scrolling area, and it sets _addPaddingLeft to true if it's a browser that requires the extra offset (offsetLeft) to be added to the paddingRight (like Opera).
|
|
@@ -10471,7 +10767,7 @@ ScrollProxy = function ScrollProxy(element, vars) {
|
|
|
10471
10767
|
|
|
10472
10768
|
childStyle.display = "inline-block";
|
|
10473
10769
|
childStyle.position = "relative";
|
|
10474
|
-
div.style.cssText =
|
|
10770
|
+
div.style.cssText = "width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden";
|
|
10475
10771
|
div.appendChild(child);
|
|
10476
10772
|
parent.appendChild(div);
|
|
10477
10773
|
val = child.offsetHeight + 18 > div.scrollHeight; //div.scrollHeight should be child.offsetHeight + 20 because of the 10px of padding on each side, but some browsers ignore one side. We allow a 2px margin of error.
|
|
@@ -10504,15 +10800,15 @@ ScrollProxy = function ScrollProxy(element, vars) {
|
|
|
10504
10800
|
return obj;
|
|
10505
10801
|
}("touchstart,touchmove,touchend,touchcancel");
|
|
10506
10802
|
|
|
10507
|
-
_addListener$2(_doc$
|
|
10803
|
+
_addListener$2(_doc$3, "touchcancel", _emptyFunc$2); //some older Android devices intermittently stop dispatching "touchmove" events if we don't listen for "touchcancel" on the document. Very strange indeed.
|
|
10508
10804
|
|
|
10509
10805
|
|
|
10510
|
-
_addListener$2(_win$
|
|
10806
|
+
_addListener$2(_win$5, "touchmove", _emptyFunc$2); //works around Safari bugs that still allow the page to scroll even when we preventDefault() on the touchmove event.
|
|
10511
10807
|
|
|
10512
10808
|
|
|
10513
10809
|
_body$5 && _body$5.addEventListener("touchstart", _emptyFunc$2); //works around Safari bug: https://greensock.com/forums/topic/21450-draggable-in-iframe-on-mobile-is-buggy/
|
|
10514
10810
|
|
|
10515
|
-
_addListener$2(_doc$
|
|
10811
|
+
_addListener$2(_doc$3, "contextmenu", function () {
|
|
10516
10812
|
for (var p in _lookup$1) {
|
|
10517
10813
|
if (_lookup$1[p].isPressed) {
|
|
10518
10814
|
_lookup$1[p].endDrag();
|
|
@@ -10520,15 +10816,15 @@ ScrollProxy = function ScrollProxy(element, vars) {
|
|
|
10520
10816
|
}
|
|
10521
10817
|
});
|
|
10522
10818
|
|
|
10523
|
-
gsap$
|
|
10819
|
+
gsap$d = _coreInitted$a = _getGSAP$c();
|
|
10524
10820
|
}
|
|
10525
10821
|
|
|
10526
|
-
if (gsap$
|
|
10527
|
-
InertiaPlugin$1 = gsap$
|
|
10528
|
-
_checkPrefix = gsap$
|
|
10822
|
+
if (gsap$d) {
|
|
10823
|
+
InertiaPlugin$1 = gsap$d.plugins.inertia;
|
|
10824
|
+
_checkPrefix = gsap$d.utils.checkPrefix;
|
|
10529
10825
|
_transformProp$1 = _checkPrefix(_transformProp$1);
|
|
10530
10826
|
_transformOriginProp = _checkPrefix(_transformOriginProp);
|
|
10531
|
-
_toArray$7 = gsap$
|
|
10827
|
+
_toArray$7 = gsap$d.utils.toArray;
|
|
10532
10828
|
_supports3D = !!_checkPrefix("perspective");
|
|
10533
10829
|
} else if (required) {
|
|
10534
10830
|
console.warn("Please gsap.registerPlugin(Draggable)");
|
|
@@ -10553,8 +10849,8 @@ var EventDispatcher = /*#__PURE__*/function () {
|
|
|
10553
10849
|
|
|
10554
10850
|
_proto.removeEventListener = function removeEventListener(type, callback) {
|
|
10555
10851
|
var list = this._listeners[type],
|
|
10556
|
-
i = list && list.indexOf(callback)
|
|
10557
|
-
i
|
|
10852
|
+
i = list && list.indexOf(callback);
|
|
10853
|
+
i >= 0 && list.splice(i, 1);
|
|
10558
10854
|
};
|
|
10559
10855
|
|
|
10560
10856
|
_proto.dispatchEvent = function dispatchEvent(type) {
|
|
@@ -10580,11 +10876,11 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
10580
10876
|
var _this2;
|
|
10581
10877
|
|
|
10582
10878
|
_this2 = _EventDispatcher.call(this) || this;
|
|
10583
|
-
_coreInitted$
|
|
10879
|
+
_coreInitted$a || _initCore$9(1);
|
|
10584
10880
|
target = _toArray$7(target)[0]; //in case the target is a selector object or selector text
|
|
10585
10881
|
|
|
10586
10882
|
if (!InertiaPlugin$1) {
|
|
10587
|
-
InertiaPlugin$1 = gsap$
|
|
10883
|
+
InertiaPlugin$1 = gsap$d.plugins.inertia;
|
|
10588
10884
|
}
|
|
10589
10885
|
|
|
10590
10886
|
_this2.vars = vars = _copy$2(vars || {});
|
|
@@ -10596,7 +10892,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
10596
10892
|
_this2.autoScroll = vars.autoScroll || 0;
|
|
10597
10893
|
_this2.lockedAxis = null;
|
|
10598
10894
|
_this2.allowEventDefault = !!vars.allowEventDefault;
|
|
10599
|
-
gsap$
|
|
10895
|
+
gsap$d.getProperty(target, "x"); // to ensure that transforms are instantiated.
|
|
10600
10896
|
|
|
10601
10897
|
var type = (vars.type || "x,y").toLowerCase(),
|
|
10602
10898
|
xyMode = ~type.indexOf("x") || ~type.indexOf("y"),
|
|
@@ -10617,12 +10913,12 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
10617
10913
|
autoScrollMarginLeft = vars.autoScrollMarginLeft || 40,
|
|
10618
10914
|
isClickable = vars.clickableTest || _isClickable,
|
|
10619
10915
|
clickTime = 0,
|
|
10620
|
-
gsCache = target._gsap || gsap$
|
|
10916
|
+
gsCache = target._gsap || gsap$d.core.getCache(target),
|
|
10621
10917
|
isFixed = _isFixed(target),
|
|
10622
10918
|
getPropAsNum = function getPropAsNum(property, unit) {
|
|
10623
10919
|
return parseFloat(gsCache.get(target, property, unit));
|
|
10624
10920
|
},
|
|
10625
|
-
ownerDoc = target.ownerDocument || _doc$
|
|
10921
|
+
ownerDoc = target.ownerDocument || _doc$3,
|
|
10626
10922
|
enabled,
|
|
10627
10923
|
scrollProxy,
|
|
10628
10924
|
startPointerX,
|
|
@@ -10655,6 +10951,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
10655
10951
|
trustedClickDispatch,
|
|
10656
10952
|
isPreventingDefault,
|
|
10657
10953
|
innerMatrix,
|
|
10954
|
+
dragged,
|
|
10658
10955
|
onContextMenu = function onContextMenu(e) {
|
|
10659
10956
|
//used to prevent long-touch from triggering a context menu.
|
|
10660
10957
|
// (self.isPressed && e.which < 2) && self.endDrag() // previously ended drag when context menu was triggered, but instead we should just stop propagation and prevent the default event behavior.
|
|
@@ -10678,8 +10975,8 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
10678
10975
|
changeY,
|
|
10679
10976
|
gap;
|
|
10680
10977
|
checkAutoScrollBounds = false;
|
|
10681
|
-
_windowProxy.scrollTop = _win$
|
|
10682
|
-
_windowProxy.scrollLeft = _win$
|
|
10978
|
+
_windowProxy.scrollTop = _win$5.pageYOffset != null ? _win$5.pageYOffset : ownerDoc.documentElement.scrollTop != null ? ownerDoc.documentElement.scrollTop : ownerDoc.body.scrollTop;
|
|
10979
|
+
_windowProxy.scrollLeft = _win$5.pageXOffset != null ? _win$5.pageXOffset : ownerDoc.documentElement.scrollLeft != null ? ownerDoc.documentElement.scrollLeft : ownerDoc.body.scrollLeft;
|
|
10683
10980
|
pointerX = self.pointerX - _windowProxy.scrollLeft;
|
|
10684
10981
|
pointerY = self.pointerY - _windowProxy.scrollTop;
|
|
10685
10982
|
|
|
@@ -10688,8 +10985,8 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
10688
10985
|
isRoot = _isRoot(e.parentNode);
|
|
10689
10986
|
parent = isRoot ? _windowProxy : e.parentNode;
|
|
10690
10987
|
rect = isRoot ? {
|
|
10691
|
-
bottom: Math.max(_docElement.clientHeight, _win$
|
|
10692
|
-
right: Math.max(_docElement.clientWidth, _win$
|
|
10988
|
+
bottom: Math.max(_docElement.clientHeight, _win$5.innerHeight || 0),
|
|
10989
|
+
right: Math.max(_docElement.clientWidth, _win$5.innerWidth || 0),
|
|
10693
10990
|
left: 0,
|
|
10694
10991
|
top: 0
|
|
10695
10992
|
} : parent.getBoundingClientRect();
|
|
@@ -10732,7 +11029,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
10732
11029
|
}
|
|
10733
11030
|
|
|
10734
11031
|
if (isRoot && (changeX || changeY)) {
|
|
10735
|
-
_win$
|
|
11032
|
+
_win$5.scrollTo(parent.scrollLeft, parent.scrollTop);
|
|
10736
11033
|
|
|
10737
11034
|
setPointerPosition(self.pointerX + changeX, self.pointerY + changeY);
|
|
10738
11035
|
}
|
|
@@ -10816,10 +11113,10 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
10816
11113
|
|
|
10817
11114
|
if (!target._gsap) {
|
|
10818
11115
|
//just in case the _gsap cache got wiped, like if the user called clearProps on the transform or something (very rare).
|
|
10819
|
-
gsCache = gsap$
|
|
11116
|
+
gsCache = gsap$d.core.getCache(target);
|
|
10820
11117
|
}
|
|
10821
11118
|
|
|
10822
|
-
gsCache.uncache && gsap$
|
|
11119
|
+
gsCache.uncache && gsap$d.getProperty(target, "x"); // trigger a re-cache
|
|
10823
11120
|
|
|
10824
11121
|
if (xyMode) {
|
|
10825
11122
|
self.x = parseFloat(gsCache.x);
|
|
@@ -10898,7 +11195,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
10898
11195
|
return function (n) {
|
|
10899
11196
|
var edgeTolerance = !self.isPressed ? 1 : 1 - self.edgeResistance; //if we're tweening, disable the edgeTolerance because it's already factored into the tweening values (we don't want to apply it multiple times)
|
|
10900
11197
|
|
|
10901
|
-
return snap.call(self, n > max ? max + (n - max) * edgeTolerance : n < min ? min + (n - min) * edgeTolerance : n) * factor;
|
|
11198
|
+
return snap.call(self, (n > max ? max + (n - max) * edgeTolerance : n < min ? min + (n - min) * edgeTolerance : n) * factor) * factor;
|
|
10902
11199
|
};
|
|
10903
11200
|
}
|
|
10904
11201
|
|
|
@@ -11125,7 +11422,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11125
11422
|
};
|
|
11126
11423
|
}
|
|
11127
11424
|
|
|
11128
|
-
self.tween = tween = gsap$
|
|
11425
|
+
self.tween = tween = gsap$d.to(scrollProxy || target, {
|
|
11129
11426
|
inertia: inertia,
|
|
11130
11427
|
data: "_draggable",
|
|
11131
11428
|
onComplete: onThrowComplete,
|
|
@@ -11278,6 +11575,8 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11278
11575
|
}
|
|
11279
11576
|
|
|
11280
11577
|
interrupted = isTweening();
|
|
11578
|
+
dragged = false; // we need to track whether or not it was dragged in this interaction so that if, for example, the user calls .endDrag() to FORCE it to stop and then they keep the mouse pressed down and eventually release, that would normally cause an onClick but we have to skip it in that case if there was dragging that occurred.
|
|
11579
|
+
|
|
11281
11580
|
self.pointerEvent = e;
|
|
11282
11581
|
|
|
11283
11582
|
if (_touchEventLookup[e.type]) {
|
|
@@ -11331,7 +11630,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11331
11630
|
if (isPreventingDefault) {
|
|
11332
11631
|
_preventDefault(e);
|
|
11333
11632
|
|
|
11334
|
-
_addListener$2(_win$
|
|
11633
|
+
_addListener$2(_win$5, "touchforcechange", _preventDefault); //works around safari bug: https://greensock.com/forums/topic/21450-draggable-in-iframe-on-mobile-is-buggy/
|
|
11335
11634
|
|
|
11336
11635
|
}
|
|
11337
11636
|
|
|
@@ -11347,7 +11646,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11347
11646
|
|
|
11348
11647
|
_dragCount++;
|
|
11349
11648
|
|
|
11350
|
-
_addToRenderQueue(render); //causes the Draggable to render on each "tick" of
|
|
11649
|
+
_addToRenderQueue(render); //causes the Draggable to render on each "tick" of gsap.ticker (performance optimization - updating values in a mousemove can cause them to happen too frequently, like multiple times between frame redraws which is wasteful, and it also prevents values from updating properly in IE8)
|
|
11351
11650
|
|
|
11352
11651
|
|
|
11353
11652
|
startPointerY = self.pointerY = e.pageY; //record the starting x and y so that we can calculate the movement from the original in _onMouseMove
|
|
@@ -11369,9 +11668,9 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11369
11668
|
recordStartPositions();
|
|
11370
11669
|
self.tween && self.tween.kill();
|
|
11371
11670
|
self.isThrowing = false;
|
|
11372
|
-
gsap$
|
|
11671
|
+
gsap$d.killTweensOf(scrollProxy || target, killProps, true); //in case the user tries to drag it before the last tween is done.
|
|
11373
11672
|
|
|
11374
|
-
scrollProxy && gsap$
|
|
11673
|
+
scrollProxy && gsap$d.killTweensOf(target, {
|
|
11375
11674
|
scrollTo: 1
|
|
11376
11675
|
}, true); //just in case the original target's scroll position is being tweened somewhere else.
|
|
11377
11676
|
|
|
@@ -11389,7 +11688,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11389
11688
|
i = triggers.length;
|
|
11390
11689
|
|
|
11391
11690
|
while (--i > -1) {
|
|
11392
|
-
gsap$
|
|
11691
|
+
gsap$d.set(triggers[i], {
|
|
11393
11692
|
cursor: vars.activeCursor || vars.cursor || (_defaultCursor === "grab" ? "grabbing" : _defaultCursor)
|
|
11394
11693
|
});
|
|
11395
11694
|
}
|
|
@@ -11450,7 +11749,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11450
11749
|
touchDragAxis = dx > dy && allowX ? "x" : "y";
|
|
11451
11750
|
|
|
11452
11751
|
if (allowNativeTouchScrolling && touchDragAxis !== allowNativeTouchScrolling) {
|
|
11453
|
-
_addListener$2(_win$
|
|
11752
|
+
_addListener$2(_win$5, "touchforcechange", _preventDefault); // prevents native touch scrolling from taking over if the user started dragging in the other direction in iOS Safari
|
|
11454
11753
|
|
|
11455
11754
|
}
|
|
11456
11755
|
|
|
@@ -11616,7 +11915,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11616
11915
|
|
|
11617
11916
|
if (!invokeOnMove || _dispatchEvent(self, "move", "onMove") !== false) {
|
|
11618
11917
|
if (!self.isDragging && self.isPressed) {
|
|
11619
|
-
self.isDragging = true;
|
|
11918
|
+
self.isDragging = dragged = true;
|
|
11620
11919
|
|
|
11621
11920
|
_dispatchEvent(self, "dragstart", "onDragStart");
|
|
11622
11921
|
}
|
|
@@ -11647,7 +11946,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11647
11946
|
var originalEvent = e,
|
|
11648
11947
|
wasDragging = self.isDragging,
|
|
11649
11948
|
isContextMenuRelease = self.vars.allowContextMenu && e && (e.ctrlKey || e.which > 2),
|
|
11650
|
-
placeholderDelayedCall = gsap$
|
|
11949
|
+
placeholderDelayedCall = gsap$d.delayedCall(0.001, removePlaceholder),
|
|
11651
11950
|
touches,
|
|
11652
11951
|
i,
|
|
11653
11952
|
syntheticEvent,
|
|
@@ -11666,7 +11965,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11666
11965
|
_removeListener$2(ownerDoc, "mousemove", onMove);
|
|
11667
11966
|
}
|
|
11668
11967
|
|
|
11669
|
-
_removeListener$2(_win$
|
|
11968
|
+
_removeListener$2(_win$5, "touchforcechange", _preventDefault);
|
|
11670
11969
|
|
|
11671
11970
|
if (!_supportsPointer || !touchEventTarget) {
|
|
11672
11971
|
_removeListener$2(ownerDoc, "mouseup", onRelease);
|
|
@@ -11681,6 +11980,8 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11681
11980
|
self.isDragging = false;
|
|
11682
11981
|
}
|
|
11683
11982
|
|
|
11983
|
+
_removeFromRenderQueue(render);
|
|
11984
|
+
|
|
11684
11985
|
if (isClicking && !isContextMenuRelease) {
|
|
11685
11986
|
if (e) {
|
|
11686
11987
|
_removeListener$2(e.target, "change", onRelease);
|
|
@@ -11698,8 +11999,6 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11698
11999
|
return;
|
|
11699
12000
|
}
|
|
11700
12001
|
|
|
11701
|
-
_removeFromRenderQueue(render);
|
|
11702
|
-
|
|
11703
12002
|
i = triggers.length;
|
|
11704
12003
|
|
|
11705
12004
|
while (--i > -1) {
|
|
@@ -11721,7 +12020,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11721
12020
|
|
|
11722
12021
|
while (--i > -1 && (e = touches[i]).identifier !== touchID && e.target !== target) {}
|
|
11723
12022
|
|
|
11724
|
-
if (i < 0) {
|
|
12023
|
+
if (i < 0 && !force) {
|
|
11725
12024
|
return;
|
|
11726
12025
|
}
|
|
11727
12026
|
}
|
|
@@ -11768,7 +12067,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11768
12067
|
eventTarget.click();
|
|
11769
12068
|
} else if (ownerDoc.createEvent) {
|
|
11770
12069
|
syntheticEvent = ownerDoc.createEvent("MouseEvents");
|
|
11771
|
-
syntheticEvent.initMouseEvent("click", true, true, _win$
|
|
12070
|
+
syntheticEvent.initMouseEvent("click", true, true, _win$5, 1, self.pointerEvent.screenX, self.pointerEvent.screenY, self.pointerX, self.pointerY, false, false, false, false, 0, null);
|
|
11772
12071
|
eventTarget.dispatchEvent(syntheticEvent);
|
|
11773
12072
|
}
|
|
11774
12073
|
}
|
|
@@ -11776,7 +12075,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11776
12075
|
|
|
11777
12076
|
if (!_isAndroid && !originalEvent.defaultPrevented) {
|
|
11778
12077
|
//iOS Safari requires the synthetic click to happen immediately or else it simply won't work, but Android doesn't play nice.
|
|
11779
|
-
gsap$
|
|
12078
|
+
gsap$d.delayedCall(0.05, syntheticClick); //in addition to the iOS bug workaround, there's a Firefox issue with clicking on things like a video to play, so we must fake a click event in a slightly delayed fashion. Previously, we listened for the "click" event with "capture" false which solved the video-click-to-play issue, but it would allow the "click" event to be dispatched twice like if you were using a jQuery.click() because that was handled in the capture phase, thus we had to switch to the capture phase to avoid the double-dispatching, but do the delayed synthetic click. Don't fire it too fast (like 0.00001) because we want to give the native event a chance to fire first as it's "trusted".
|
|
11780
12079
|
}
|
|
11781
12080
|
}
|
|
11782
12081
|
} else {
|
|
@@ -11850,7 +12149,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11850
12149
|
}
|
|
11851
12150
|
}
|
|
11852
12151
|
|
|
11853
|
-
if (!recentlyClicked && !recentlyDragged) {
|
|
12152
|
+
if (!recentlyClicked && !recentlyDragged && !dragged) {
|
|
11854
12153
|
// for script-triggered event dispatches, like element.click()
|
|
11855
12154
|
e && e.target && (self.pointerEvent = e);
|
|
11856
12155
|
|
|
@@ -11891,7 +12190,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11891
12190
|
}
|
|
11892
12191
|
|
|
11893
12192
|
if (!self.isDragging) {
|
|
11894
|
-
self.isDragging = true;
|
|
12193
|
+
self.isDragging = dragged = true;
|
|
11895
12194
|
|
|
11896
12195
|
_dispatchEvent(self, "dragstart", "onDragStart");
|
|
11897
12196
|
}
|
|
@@ -11996,8 +12295,8 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
11996
12295
|
_recordMaxScrolls(target.parentNode);
|
|
11997
12296
|
|
|
11998
12297
|
e = target;
|
|
11999
|
-
_windowProxy.scrollTop = _win$
|
|
12000
|
-
_windowProxy.scrollLeft = _win$
|
|
12298
|
+
_windowProxy.scrollTop = _win$5.pageYOffset != null ? _win$5.pageYOffset : ownerDoc.documentElement.scrollTop != null ? ownerDoc.documentElement.scrollTop : ownerDoc.body.scrollTop;
|
|
12299
|
+
_windowProxy.scrollLeft = _win$5.pageXOffset != null ? _win$5.pageXOffset : ownerDoc.documentElement.scrollLeft != null ? ownerDoc.documentElement.scrollLeft : ownerDoc.body.scrollLeft;
|
|
12001
12300
|
|
|
12002
12301
|
while (e && !isRoot) {
|
|
12003
12302
|
//walk up the chain and sense wherever the scrollTop/scrollLeft exceeds the maximum.
|
|
@@ -12090,7 +12389,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
12090
12389
|
setVars.cursor = vars.cursor || _defaultCursor;
|
|
12091
12390
|
}
|
|
12092
12391
|
|
|
12093
|
-
if (gsap$
|
|
12392
|
+
if (gsap$d.utils.checkPrefix("touchCallout")) {
|
|
12094
12393
|
setVars.touchCallout = "none";
|
|
12095
12394
|
}
|
|
12096
12395
|
|
|
@@ -12109,11 +12408,11 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
12109
12408
|
_addListener$2(trigger, "click", onClick, true); //note: used to pass true for capture but it prevented click-to-play-video functionality in Firefox.
|
|
12110
12409
|
|
|
12111
12410
|
|
|
12112
|
-
gsap$
|
|
12411
|
+
gsap$d.set(trigger, setVars);
|
|
12113
12412
|
|
|
12114
12413
|
if (trigger.getBBox && trigger.ownerSVGElement) {
|
|
12115
12414
|
// a bug in chrome doesn't respect touch-action on SVG elements - it only works if we set it on the parent SVG.
|
|
12116
|
-
gsap$
|
|
12415
|
+
gsap$d.set(trigger.ownerSVGElement, {
|
|
12117
12416
|
touchAction: allowX === allowY ? "none" : vars.allowNativeTouchScrolling || vars.allowEventDefault ? "manipulation" : allowX ? "pan-y" : "pan-x"
|
|
12118
12417
|
});
|
|
12119
12418
|
}
|
|
@@ -12209,7 +12508,7 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
12209
12508
|
self.isThrowing = false;
|
|
12210
12509
|
self.tween && self.tween.kill();
|
|
12211
12510
|
self.disable();
|
|
12212
|
-
gsap$
|
|
12511
|
+
gsap$d.set(triggers, {
|
|
12213
12512
|
clearProps: "userSelect"
|
|
12214
12513
|
});
|
|
12215
12514
|
delete _lookup$1[target._gsDragID];
|
|
@@ -12249,13 +12548,13 @@ var Draggable = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
12249
12548
|
}
|
|
12250
12549
|
|
|
12251
12550
|
Draggable.register = function register(core) {
|
|
12252
|
-
gsap$
|
|
12551
|
+
gsap$d = core;
|
|
12253
12552
|
|
|
12254
|
-
_initCore$
|
|
12553
|
+
_initCore$9();
|
|
12255
12554
|
};
|
|
12256
12555
|
|
|
12257
12556
|
Draggable.create = function create(targets, vars) {
|
|
12258
|
-
_coreInitted$
|
|
12557
|
+
_coreInitted$a || _initCore$9(true);
|
|
12259
12558
|
return _toArray$7(targets).map(function (target) {
|
|
12260
12559
|
return new Draggable(target, vars);
|
|
12261
12560
|
});
|
|
@@ -12328,11 +12627,145 @@ _setDefaults$1(Draggable.prototype, {
|
|
|
12328
12627
|
});
|
|
12329
12628
|
|
|
12330
12629
|
Draggable.zIndex = 1000;
|
|
12331
|
-
Draggable.version = "3.
|
|
12332
|
-
_getGSAP$
|
|
12630
|
+
Draggable.version = "3.11.0";
|
|
12631
|
+
_getGSAP$c() && gsap$d.registerPlugin(Draggable);
|
|
12333
12632
|
|
|
12334
12633
|
/*!
|
|
12335
|
-
*
|
|
12634
|
+
* CSSRulePlugin 3.11.0
|
|
12635
|
+
* https://greensock.com
|
|
12636
|
+
*
|
|
12637
|
+
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
12638
|
+
* Subject to the terms at https://greensock.com/standard-license or for
|
|
12639
|
+
* Club GreenSock members, the agreement issued with that membership.
|
|
12640
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
12641
|
+
*/
|
|
12642
|
+
|
|
12643
|
+
/* eslint-disable */
|
|
12644
|
+
var gsap$c,
|
|
12645
|
+
_coreInitted$9,
|
|
12646
|
+
_win$4,
|
|
12647
|
+
_doc$2,
|
|
12648
|
+
CSSPlugin,
|
|
12649
|
+
_windowExists$5 = function _windowExists() {
|
|
12650
|
+
return typeof window !== "undefined";
|
|
12651
|
+
},
|
|
12652
|
+
_getGSAP$b = function _getGSAP() {
|
|
12653
|
+
return gsap$c || _windowExists$5() && (gsap$c = window.gsap) && gsap$c.registerPlugin && gsap$c;
|
|
12654
|
+
},
|
|
12655
|
+
_checkRegister = function _checkRegister() {
|
|
12656
|
+
if (!_coreInitted$9) {
|
|
12657
|
+
_initCore$8();
|
|
12658
|
+
|
|
12659
|
+
if (!CSSPlugin) {
|
|
12660
|
+
console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)");
|
|
12661
|
+
}
|
|
12662
|
+
}
|
|
12663
|
+
|
|
12664
|
+
return _coreInitted$9;
|
|
12665
|
+
},
|
|
12666
|
+
_initCore$8 = function _initCore(core) {
|
|
12667
|
+
gsap$c = core || _getGSAP$b();
|
|
12668
|
+
|
|
12669
|
+
if (_windowExists$5()) {
|
|
12670
|
+
_win$4 = window;
|
|
12671
|
+
_doc$2 = document;
|
|
12672
|
+
}
|
|
12673
|
+
|
|
12674
|
+
if (gsap$c) {
|
|
12675
|
+
CSSPlugin = gsap$c.plugins.css;
|
|
12676
|
+
|
|
12677
|
+
if (CSSPlugin) {
|
|
12678
|
+
_coreInitted$9 = 1;
|
|
12679
|
+
}
|
|
12680
|
+
}
|
|
12681
|
+
};
|
|
12682
|
+
|
|
12683
|
+
var CSSRulePlugin = {
|
|
12684
|
+
version: "3.11.0",
|
|
12685
|
+
name: "cssRule",
|
|
12686
|
+
init: function init(target, value, tween, index, targets) {
|
|
12687
|
+
if (!_checkRegister() || typeof target.cssText === "undefined") {
|
|
12688
|
+
return false;
|
|
12689
|
+
}
|
|
12690
|
+
|
|
12691
|
+
var div = target._gsProxy = target._gsProxy || _doc$2.createElement("div");
|
|
12692
|
+
|
|
12693
|
+
this.ss = target;
|
|
12694
|
+
this.style = div.style;
|
|
12695
|
+
div.style.cssText = target.cssText;
|
|
12696
|
+
CSSPlugin.prototype.init.call(this, div, value, tween, index, targets); //we just offload all the work to the regular CSSPlugin and then copy the cssText back over to the rule in the render() method. This allows us to have all of the updates to CSSPlugin automatically flow through to CSSRulePlugin instead of having to maintain both
|
|
12697
|
+
},
|
|
12698
|
+
render: function render(ratio, data) {
|
|
12699
|
+
var pt = data._pt,
|
|
12700
|
+
style = data.style,
|
|
12701
|
+
ss = data.ss,
|
|
12702
|
+
i;
|
|
12703
|
+
|
|
12704
|
+
while (pt) {
|
|
12705
|
+
pt.r(ratio, pt.d);
|
|
12706
|
+
pt = pt._next;
|
|
12707
|
+
}
|
|
12708
|
+
|
|
12709
|
+
i = style.length;
|
|
12710
|
+
|
|
12711
|
+
while (--i > -1) {
|
|
12712
|
+
ss[style[i]] = style[style[i]];
|
|
12713
|
+
}
|
|
12714
|
+
},
|
|
12715
|
+
getRule: function getRule(selector) {
|
|
12716
|
+
_checkRegister();
|
|
12717
|
+
|
|
12718
|
+
var ruleProp = _doc$2.all ? "rules" : "cssRules",
|
|
12719
|
+
styleSheets = _doc$2.styleSheets,
|
|
12720
|
+
i = styleSheets.length,
|
|
12721
|
+
pseudo = selector.charAt(0) === ":",
|
|
12722
|
+
j,
|
|
12723
|
+
curSS,
|
|
12724
|
+
cs,
|
|
12725
|
+
a;
|
|
12726
|
+
selector = (pseudo ? "" : ",") + selector.split("::").join(":").toLowerCase() + ","; //note: old versions of IE report tag name selectors as upper case, so we just change everything to lowercase.
|
|
12727
|
+
|
|
12728
|
+
if (pseudo) {
|
|
12729
|
+
a = [];
|
|
12730
|
+
}
|
|
12731
|
+
|
|
12732
|
+
while (i--) {
|
|
12733
|
+
//Firefox may throw insecure operation errors when css is loaded from other domains, so try/catch.
|
|
12734
|
+
try {
|
|
12735
|
+
curSS = styleSheets[i][ruleProp];
|
|
12736
|
+
|
|
12737
|
+
if (!curSS) {
|
|
12738
|
+
continue;
|
|
12739
|
+
}
|
|
12740
|
+
|
|
12741
|
+
j = curSS.length;
|
|
12742
|
+
} catch (e) {
|
|
12743
|
+
console.warn(e);
|
|
12744
|
+
continue;
|
|
12745
|
+
}
|
|
12746
|
+
|
|
12747
|
+
while (--j > -1) {
|
|
12748
|
+
cs = curSS[j];
|
|
12749
|
+
|
|
12750
|
+
if (cs.selectorText && ("," + cs.selectorText.split("::").join(":").toLowerCase() + ",").indexOf(selector) !== -1) {
|
|
12751
|
+
//note: IE adds an extra ":" to pseudo selectors, so .myClass:after becomes .myClass::after, so we need to strip the extra one out.
|
|
12752
|
+
if (pseudo) {
|
|
12753
|
+
a.push(cs.style);
|
|
12754
|
+
} else {
|
|
12755
|
+
return cs.style;
|
|
12756
|
+
}
|
|
12757
|
+
}
|
|
12758
|
+
}
|
|
12759
|
+
}
|
|
12760
|
+
|
|
12761
|
+
return a;
|
|
12762
|
+
},
|
|
12763
|
+
register: _initCore$8
|
|
12764
|
+
};
|
|
12765
|
+
_getGSAP$b() && gsap$c.registerPlugin(CSSRulePlugin);
|
|
12766
|
+
|
|
12767
|
+
/*!
|
|
12768
|
+
* EaselPlugin 3.11.0
|
|
12336
12769
|
* https://greensock.com
|
|
12337
12770
|
*
|
|
12338
12771
|
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -12441,7 +12874,7 @@ var gsap$b,
|
|
|
12441
12874
|
p = _colorProps$1[i];
|
|
12442
12875
|
|
|
12443
12876
|
if (s[p] !== e[p]) {
|
|
12444
|
-
pt = plugin.add(s, p, s[p], e[p]);
|
|
12877
|
+
pt = plugin.add(s, p, s[p], e[p], 0, 0, 0, 0, 0, 1);
|
|
12445
12878
|
|
|
12446
12879
|
if (pt) {
|
|
12447
12880
|
pt.op = "easel_colorFilter";
|
|
@@ -12574,7 +13007,7 @@ var gsap$b,
|
|
|
12574
13007
|
|
|
12575
13008
|
while (--i > -1) {
|
|
12576
13009
|
if (matrix[i] !== startMatrix[i]) {
|
|
12577
|
-
pg = plugin.add(startMatrix, i, startMatrix[i], matrix[i]);
|
|
13010
|
+
pg = plugin.add(startMatrix, i, startMatrix[i], matrix[i], 0, 0, 0, 0, 0, 1);
|
|
12578
13011
|
|
|
12579
13012
|
if (pg) {
|
|
12580
13013
|
pg.op = "easel_colorMatrixFilter";
|
|
@@ -12603,7 +13036,7 @@ var gsap$b,
|
|
|
12603
13036
|
};
|
|
12604
13037
|
|
|
12605
13038
|
var EaselPlugin = {
|
|
12606
|
-
version: "3.
|
|
13039
|
+
version: "3.11.0",
|
|
12607
13040
|
name: "easel",
|
|
12608
13041
|
init: function init(target, value, tween, index, targets) {
|
|
12609
13042
|
if (!_coreInitted$8) {
|
|
@@ -12641,7 +13074,7 @@ var EaselPlugin = {
|
|
|
12641
13074
|
}
|
|
12642
13075
|
}
|
|
12643
13076
|
|
|
12644
|
-
pt = this.add(target, "gotoAndStop", target.currentFrame, end, index, targets, Math.round);
|
|
13077
|
+
pt = this.add(target, "gotoAndStop", target.currentFrame, end, index, targets, Math.round, 0, 0, 1);
|
|
12645
13078
|
|
|
12646
13079
|
if (pt) {
|
|
12647
13080
|
pt.op = p;
|
|
@@ -12673,7 +13106,7 @@ EaselPlugin.registerCreateJS = function (createjs) {
|
|
|
12673
13106
|
_getGSAP$a() && gsap$b.registerPlugin(EaselPlugin);
|
|
12674
13107
|
|
|
12675
13108
|
/*!
|
|
12676
|
-
* EasePack 3.
|
|
13109
|
+
* EasePack 3.11.0
|
|
12677
13110
|
* https://greensock.com
|
|
12678
13111
|
*
|
|
12679
13112
|
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -12879,13 +13312,13 @@ var EasePack = {
|
|
|
12879
13312
|
|
|
12880
13313
|
for (var p$1 in EasePack) {
|
|
12881
13314
|
EasePack[p$1].register = _initCore$6;
|
|
12882
|
-
EasePack[p$1].version = "3.
|
|
13315
|
+
EasePack[p$1].version = "3.11.0";
|
|
12883
13316
|
}
|
|
12884
13317
|
|
|
12885
13318
|
_getGSAP$9() && gsap$a.registerPlugin(SlowMo);
|
|
12886
13319
|
|
|
12887
13320
|
/*!
|
|
12888
|
-
* Flip 3.
|
|
13321
|
+
* Flip 3.11.0
|
|
12889
13322
|
* https://greensock.com
|
|
12890
13323
|
*
|
|
12891
13324
|
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -13141,9 +13574,11 @@ _makeAbsolute = function _makeAbsolute(elState, fallbackNode, ignoreBatch) {
|
|
|
13141
13574
|
c.t._gsap.renderTransform(1); // we must force transforms to render on anything that isn't being made position: absolute, otherwise the absolute position happens and then when animation begins it applies transforms which can create a new stacking context, throwing off positioning!
|
|
13142
13575
|
|
|
13143
13576
|
|
|
13144
|
-
|
|
13577
|
+
if (c.b.isVisible) {
|
|
13578
|
+
c.t.style.width = c.b.width + "px"; // otherwise things can collapse when contents are made position: absolute.
|
|
13145
13579
|
|
|
13146
|
-
|
|
13580
|
+
c.t.style.height = c.b.height + "px";
|
|
13581
|
+
}
|
|
13147
13582
|
}
|
|
13148
13583
|
});
|
|
13149
13584
|
}
|
|
@@ -14364,7 +14799,7 @@ var Flip = /*#__PURE__*/function () {
|
|
|
14364
14799
|
|
|
14365
14800
|
return Flip;
|
|
14366
14801
|
}();
|
|
14367
|
-
Flip.version = "3.
|
|
14802
|
+
Flip.version = "3.11.0"; // function whenImagesLoad(el, func) {
|
|
14368
14803
|
// let pending = [],
|
|
14369
14804
|
// onLoad = e => {
|
|
14370
14805
|
// pending.splice(pending.indexOf(e.target), 1);
|
|
@@ -14378,7 +14813,7 @@ Flip.version = "3.10.4"; // function whenImagesLoad(el, func) {
|
|
|
14378
14813
|
typeof window !== "undefined" && window.gsap && window.gsap.registerPlugin(Flip);
|
|
14379
14814
|
|
|
14380
14815
|
/*!
|
|
14381
|
-
* MotionPathPlugin 3.
|
|
14816
|
+
* MotionPathPlugin 3.11.0
|
|
14382
14817
|
* https://greensock.com
|
|
14383
14818
|
*
|
|
14384
14819
|
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -14394,6 +14829,8 @@ var _xProps = "x,translateX,left,marginLeft,xPercent".split(","),
|
|
|
14394
14829
|
PropTween$2,
|
|
14395
14830
|
_getUnit$2,
|
|
14396
14831
|
_toArray$5,
|
|
14832
|
+
_getStyleSaver,
|
|
14833
|
+
_reverting,
|
|
14397
14834
|
_getGSAP$8 = function _getGSAP() {
|
|
14398
14835
|
return gsap$8 || typeof window !== "undefined" && (gsap$8 = window.gsap) && gsap$8.registerPlugin && gsap$8;
|
|
14399
14836
|
},
|
|
@@ -14510,9 +14947,10 @@ _segmentToRawPath = function _segmentToRawPath(plugin, segment, target, x, y, sl
|
|
|
14510
14947
|
});
|
|
14511
14948
|
x += p.x;
|
|
14512
14949
|
y += p.y;
|
|
14513
|
-
}
|
|
14950
|
+
} //if (p || (toElement.getBBox && fromElement.getBBox && toElement.ownerSVGElement === fromElement.ownerSVGElement)) {
|
|
14951
|
+
|
|
14514
14952
|
|
|
14515
|
-
if (p
|
|
14953
|
+
if (p) {
|
|
14516
14954
|
p = m.apply(toElement.getBBox());
|
|
14517
14955
|
x -= p.x;
|
|
14518
14956
|
y -= p.y;
|
|
@@ -14589,15 +15027,19 @@ _segmentToRawPath = function _segmentToRawPath(plugin, segment, target, x, y, sl
|
|
|
14589
15027
|
};
|
|
14590
15028
|
|
|
14591
15029
|
var MotionPathPlugin = {
|
|
14592
|
-
version: "3.
|
|
15030
|
+
version: "3.11.0",
|
|
14593
15031
|
name: "motionPath",
|
|
14594
15032
|
register: function register(core, Plugin, propTween) {
|
|
14595
15033
|
gsap$8 = core;
|
|
14596
15034
|
_getUnit$2 = gsap$8.utils.getUnit;
|
|
14597
15035
|
_toArray$5 = gsap$8.utils.toArray;
|
|
15036
|
+
_getStyleSaver = gsap$8.core.getStyleSaver;
|
|
15037
|
+
|
|
15038
|
+
_reverting = gsap$8.core.reverting || function () {};
|
|
15039
|
+
|
|
14598
15040
|
PropTween$2 = propTween;
|
|
14599
15041
|
},
|
|
14600
|
-
init: function init(target, vars) {
|
|
15042
|
+
init: function init(target, vars, tween) {
|
|
14601
15043
|
if (!gsap$8) {
|
|
14602
15044
|
console.warn("Please gsap.registerPlugin(MotionPathPlugin)");
|
|
14603
15045
|
return false;
|
|
@@ -14624,6 +15066,8 @@ var MotionPathPlugin = {
|
|
|
14624
15066
|
|
|
14625
15067
|
this.rawPaths = rawPaths;
|
|
14626
15068
|
this.target = target;
|
|
15069
|
+
this.tween = tween;
|
|
15070
|
+
this.styles = _getStyleSaver && _getStyleSaver(target, "transform");
|
|
14627
15071
|
|
|
14628
15072
|
if (this.rotate = autoRotate || autoRotate === 0) {
|
|
14629
15073
|
//get the rotational data FIRST so that the setTransform() method is called in the correct order in the render() loop - rotation gets set last.
|
|
@@ -14670,22 +15114,26 @@ var MotionPathPlugin = {
|
|
|
14670
15114
|
i = rawPaths.length,
|
|
14671
15115
|
pt = data._pt;
|
|
14672
15116
|
|
|
14673
|
-
if (
|
|
14674
|
-
ratio
|
|
14675
|
-
|
|
14676
|
-
ratio
|
|
14677
|
-
|
|
15117
|
+
if (data.tween._time || !_reverting()) {
|
|
15118
|
+
if (ratio > 1) {
|
|
15119
|
+
ratio = 1;
|
|
15120
|
+
} else if (ratio < 0) {
|
|
15121
|
+
ratio = 0;
|
|
15122
|
+
}
|
|
14678
15123
|
|
|
14679
|
-
|
|
14680
|
-
|
|
14681
|
-
|
|
15124
|
+
while (i--) {
|
|
15125
|
+
getPositionOnPath(rawPaths[i], ratio, !i && data.rotate, rawPaths[i]);
|
|
15126
|
+
}
|
|
14682
15127
|
|
|
14683
|
-
|
|
14684
|
-
|
|
14685
|
-
|
|
14686
|
-
|
|
15128
|
+
while (pt) {
|
|
15129
|
+
pt.set(pt.t, pt.p, pt.path[pt.pp] + pt.u, pt.d, ratio);
|
|
15130
|
+
pt = pt._next;
|
|
15131
|
+
}
|
|
14687
15132
|
|
|
14688
|
-
|
|
15133
|
+
data.rotate && data.rSet(data.target, data.rProp, rawPaths[0].angle * (data.radians ? _DEG2RAD$1 : 1) + data.rOffset + data.ru, data, ratio);
|
|
15134
|
+
} else {
|
|
15135
|
+
data.styles.revert();
|
|
15136
|
+
}
|
|
14689
15137
|
},
|
|
14690
15138
|
getLength: function getLength(path) {
|
|
14691
15139
|
return cacheRawPathMeasurements(getRawPath(path)).totalLength;
|
|
@@ -14733,7 +15181,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
14733
15181
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
14734
15182
|
|
|
14735
15183
|
/*!
|
|
14736
|
-
* Observer 3.
|
|
15184
|
+
* Observer 3.11.0
|
|
14737
15185
|
* https://greensock.com
|
|
14738
15186
|
*
|
|
14739
15187
|
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -15007,7 +15455,7 @@ var Observer = /*#__PURE__*/function () {
|
|
|
15007
15455
|
this.target = target = _getTarget(target) || _docEl$3;
|
|
15008
15456
|
this.vars = vars;
|
|
15009
15457
|
ignore && (ignore = gsap$7.utils.toArray(ignore));
|
|
15010
|
-
tolerance = tolerance ||
|
|
15458
|
+
tolerance = tolerance || 1e-9;
|
|
15011
15459
|
dragMinimum = dragMinimum || 0;
|
|
15012
15460
|
wheelSpeed = wheelSpeed || 1;
|
|
15013
15461
|
scrollSpeed = scrollSpeed || 1;
|
|
@@ -15079,16 +15527,17 @@ var Observer = /*#__PURE__*/function () {
|
|
|
15079
15527
|
|
|
15080
15528
|
if (moved || dragged) {
|
|
15081
15529
|
onMove && onMove(self);
|
|
15082
|
-
onLockAxis && locked && onLockAxis(self);
|
|
15083
15530
|
|
|
15084
15531
|
if (dragged) {
|
|
15085
15532
|
onDrag(self);
|
|
15086
15533
|
dragged = false;
|
|
15087
15534
|
}
|
|
15088
15535
|
|
|
15089
|
-
moved =
|
|
15536
|
+
moved = false;
|
|
15090
15537
|
}
|
|
15091
15538
|
|
|
15539
|
+
locked && !(locked = false) && onLockAxis && onLockAxis(self);
|
|
15540
|
+
|
|
15092
15541
|
if (wheeled) {
|
|
15093
15542
|
onWheel(self);
|
|
15094
15543
|
wheeled = false;
|
|
@@ -15377,7 +15826,7 @@ var Observer = /*#__PURE__*/function () {
|
|
|
15377
15826
|
|
|
15378
15827
|
return Observer;
|
|
15379
15828
|
}();
|
|
15380
|
-
Observer.version = "3.
|
|
15829
|
+
Observer.version = "3.11.0";
|
|
15381
15830
|
|
|
15382
15831
|
Observer.create = function (vars) {
|
|
15383
15832
|
return new Observer(vars);
|
|
@@ -15398,7 +15847,7 @@ Observer.getById = function (id) {
|
|
|
15398
15847
|
_getGSAP$7() && gsap$7.registerPlugin(Observer);
|
|
15399
15848
|
|
|
15400
15849
|
/*!
|
|
15401
|
-
* PixiPlugin 3.
|
|
15850
|
+
* PixiPlugin 3.11.0
|
|
15402
15851
|
* https://greensock.com
|
|
15403
15852
|
*
|
|
15404
15853
|
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -15767,7 +16216,7 @@ for (i$2 = 0; i$2 < _xyContexts.length; i$2++) {
|
|
|
15767
16216
|
}
|
|
15768
16217
|
|
|
15769
16218
|
var PixiPlugin = {
|
|
15770
|
-
version: "3.
|
|
16219
|
+
version: "3.11.0",
|
|
15771
16220
|
name: "pixi",
|
|
15772
16221
|
register: function register(core, Plugin, propTween) {
|
|
15773
16222
|
gsap$6 = core;
|
|
@@ -15795,7 +16244,7 @@ var PixiPlugin = {
|
|
|
15795
16244
|
|
|
15796
16245
|
if (context) {
|
|
15797
16246
|
axis = ~p.charAt(p.length - 1).toLowerCase().indexOf("x") ? "x" : "y";
|
|
15798
|
-
this.add(target[context], axis, target[context][axis], context === "skew" ? _degreesToRadians(value) : value);
|
|
16247
|
+
this.add(target[context], axis, target[context][axis], context === "skew" ? _degreesToRadians(value) : value, 0, 0, 0, 0, 0, 1);
|
|
15799
16248
|
} else if (p === "scale" || p === "anchor" || p === "pivot" || p === "tileScale") {
|
|
15800
16249
|
this.add(target[p], "x", target[p].x, value);
|
|
15801
16250
|
this.add(target[p], "y", target[p].y, value);
|
|
@@ -15851,7 +16300,7 @@ var PixiPlugin = {
|
|
|
15851
16300
|
_getGSAP$6() && gsap$6.registerPlugin(PixiPlugin);
|
|
15852
16301
|
|
|
15853
16302
|
/*!
|
|
15854
|
-
* ScrollToPlugin 3.
|
|
16303
|
+
* ScrollToPlugin 3.11.0
|
|
15855
16304
|
* https://greensock.com
|
|
15856
16305
|
*
|
|
15857
16306
|
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -15977,7 +16426,7 @@ var gsap$5,
|
|
|
15977
16426
|
};
|
|
15978
16427
|
|
|
15979
16428
|
var ScrollToPlugin$1 = {
|
|
15980
|
-
version: "3.
|
|
16429
|
+
version: "3.11.0",
|
|
15981
16430
|
name: "scrollTo",
|
|
15982
16431
|
rawVars: 1,
|
|
15983
16432
|
register: function register(core) {
|
|
@@ -15999,6 +16448,9 @@ var ScrollToPlugin$1 = {
|
|
|
15999
16448
|
data.getY = _buildGetter$1(target, "y");
|
|
16000
16449
|
data.x = data.xPrev = data.getX();
|
|
16001
16450
|
data.y = data.yPrev = data.getY();
|
|
16451
|
+
gsap$5.getProperty(target, "scrollBehavior") === "smooth" && gsap$5.set(target, {
|
|
16452
|
+
scrollBehavior: "auto"
|
|
16453
|
+
});
|
|
16002
16454
|
|
|
16003
16455
|
if (snapType && snapType !== "none") {
|
|
16004
16456
|
// disable scroll snapping to avoid strange behavior
|
|
@@ -16114,7 +16566,7 @@ ScrollToPlugin$1.buildGetter = _buildGetter$1;
|
|
|
16114
16566
|
_getGSAP$5() && gsap$5.registerPlugin(ScrollToPlugin$1);
|
|
16115
16567
|
|
|
16116
16568
|
/*!
|
|
16117
|
-
* ScrollTrigger 3.
|
|
16569
|
+
* ScrollTrigger 3.11.0
|
|
16118
16570
|
* https://greensock.com
|
|
16119
16571
|
*
|
|
16120
16572
|
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -16150,6 +16602,7 @@ var gsap$4,
|
|
|
16150
16602
|
_baseScreenHeight,
|
|
16151
16603
|
_baseScreenWidth,
|
|
16152
16604
|
_fixIOSBug,
|
|
16605
|
+
_context,
|
|
16153
16606
|
_limitCallbacks,
|
|
16154
16607
|
// if true, we'll only trigger callbacks if the active state toggles, so if you scroll immediately past both the start and end positions of a ScrollTrigger (thus inactive to inactive), neither its onEnter nor onLeave will be called. This is useful during startup.
|
|
16155
16608
|
_startup = 1,
|
|
@@ -16494,45 +16947,6 @@ _startup = 1,
|
|
|
16494
16947
|
// ignore resizes triggered by refresh()
|
|
16495
16948
|
_listeners = {},
|
|
16496
16949
|
_emptyArray = [],
|
|
16497
|
-
_media = [],
|
|
16498
|
-
_creatingMedia,
|
|
16499
|
-
// when ScrollTrigger.matchMedia() is called, we record the current media key here (like "(min-width: 800px)") so that we can assign it to everything that's created during that call. Then we can revert just those when necessary. In the ScrollTrigger's init() call, the _creatingMedia is recorded as a "media" property on the instance.
|
|
16500
|
-
_lastMediaTick,
|
|
16501
|
-
_onMediaChange = function _onMediaChange(e) {
|
|
16502
|
-
var tick = gsap$4.ticker.frame,
|
|
16503
|
-
matches = [],
|
|
16504
|
-
i = 0,
|
|
16505
|
-
index;
|
|
16506
|
-
|
|
16507
|
-
if (_lastMediaTick !== tick || _startup) {
|
|
16508
|
-
_revertAll();
|
|
16509
|
-
|
|
16510
|
-
for (; i < _media.length; i += 4) {
|
|
16511
|
-
index = _win.matchMedia(_media[i]).matches;
|
|
16512
|
-
|
|
16513
|
-
if (index !== _media[i + 3]) {
|
|
16514
|
-
// note: some browsers fire the matchMedia event multiple times, like when going full screen, so we shouldn't call the function multiple times. Check to see if it's already matched.
|
|
16515
|
-
_media[i + 3] = index;
|
|
16516
|
-
index ? matches.push(i) : _revertAll(1, _media[i]) || _isFunction$1(_media[i + 2]) && _media[i + 2](); // Firefox doesn't update the "matches" property of the MediaQueryList object correctly - it only does so as it calls its change handler - so we must re-create a media query here to ensure it's accurate.
|
|
16517
|
-
}
|
|
16518
|
-
}
|
|
16519
|
-
|
|
16520
|
-
_revertRecorded(); // in case killing/reverting any of the animations actually added inline styles back.
|
|
16521
|
-
|
|
16522
|
-
|
|
16523
|
-
for (i = 0; i < matches.length; i++) {
|
|
16524
|
-
index = matches[i];
|
|
16525
|
-
_creatingMedia = _media[index];
|
|
16526
|
-
_media[index + 2] = _media[index + 1](e);
|
|
16527
|
-
}
|
|
16528
|
-
|
|
16529
|
-
_creatingMedia = 0;
|
|
16530
|
-
_coreInitted$3 && _refreshAll(0, 1);
|
|
16531
|
-
_lastMediaTick = tick;
|
|
16532
|
-
|
|
16533
|
-
_dispatch("matchMedia");
|
|
16534
|
-
}
|
|
16535
|
-
},
|
|
16536
16950
|
_softRefresh = function _softRefresh() {
|
|
16537
16951
|
return _removeListener(ScrollTrigger, "scrollEnd", _softRefresh) || _refreshAll(true);
|
|
16538
16952
|
},
|
|
@@ -16545,7 +16959,7 @@ _lastMediaTick,
|
|
|
16545
16959
|
// when ScrollTrigger.saveStyles() is called, the inline styles are recorded in this Array in a sequential format like [element, cssText, gsCache, media]. This keeps it very memory-efficient and fast to iterate through.
|
|
16546
16960
|
_revertRecorded = function _revertRecorded(media) {
|
|
16547
16961
|
for (var i = 0; i < _savedStyles.length; i += 5) {
|
|
16548
|
-
if (!media || _savedStyles[i + 4] === media) {
|
|
16962
|
+
if (!media || _savedStyles[i + 4] && _savedStyles[i + 4].query === media) {
|
|
16549
16963
|
_savedStyles[i].style.cssText = _savedStyles[i + 1];
|
|
16550
16964
|
_savedStyles[i].getBBox && _savedStyles[i].setAttribute("transform", _savedStyles[i + 2] || "");
|
|
16551
16965
|
_savedStyles[i + 3].uncache = 1;
|
|
@@ -16558,11 +16972,11 @@ _revertRecorded = function _revertRecorded(media) {
|
|
|
16558
16972
|
for (_i = 0; _i < _triggers.length; _i++) {
|
|
16559
16973
|
trigger = _triggers[_i];
|
|
16560
16974
|
|
|
16561
|
-
if (!media || trigger.
|
|
16975
|
+
if (trigger && (!media || trigger._ctx === media)) {
|
|
16562
16976
|
if (kill) {
|
|
16563
16977
|
trigger.kill(1);
|
|
16564
16978
|
} else {
|
|
16565
|
-
trigger.revert();
|
|
16979
|
+
trigger.revert(true, true);
|
|
16566
16980
|
}
|
|
16567
16981
|
}
|
|
16568
16982
|
}
|
|
@@ -16598,7 +17012,7 @@ _refreshingAll,
|
|
|
16598
17012
|
|
|
16599
17013
|
|
|
16600
17014
|
_triggers.forEach(function (t) {
|
|
16601
|
-
return t.vars.end === "max" && t.setPositions(t.start, _maxScroll(t.scroller, t._dir));
|
|
17015
|
+
return t.vars.end === "max" && t.setPositions(t.start, Math.max(t.start + 1, _maxScroll(t.scroller, t._dir)));
|
|
16602
17016
|
}); // the scroller's max scroll position may change after all the ScrollTriggers refreshed (like pinning could push it down), so we need to loop back and correct any with end: "max".
|
|
16603
17017
|
|
|
16604
17018
|
|
|
@@ -16670,7 +17084,7 @@ _refreshingAll,
|
|
|
16670
17084
|
|
|
16671
17085
|
if (cache.spacerIsNative) {
|
|
16672
17086
|
_setState(cache.spacerState);
|
|
16673
|
-
} else if (pin.
|
|
17087
|
+
} else if (pin._gsap.swappedIn) {
|
|
16674
17088
|
var parent = spacer.parentNode;
|
|
16675
17089
|
|
|
16676
17090
|
if (parent) {
|
|
@@ -16678,9 +17092,11 @@ _refreshingAll,
|
|
|
16678
17092
|
parent.removeChild(spacer);
|
|
16679
17093
|
}
|
|
16680
17094
|
}
|
|
17095
|
+
|
|
17096
|
+
pin._gsap.swappedIn = false;
|
|
16681
17097
|
},
|
|
16682
17098
|
_swapPinIn = function _swapPinIn(pin, spacer, cs, spacerState) {
|
|
16683
|
-
if (pin.
|
|
17099
|
+
if (!pin._gsap.swappedIn) {
|
|
16684
17100
|
var i = _propNamesToCopy.length,
|
|
16685
17101
|
spacerStyle = spacer.style,
|
|
16686
17102
|
pinStyle = pin.style,
|
|
@@ -16705,8 +17121,13 @@ _refreshingAll,
|
|
|
16705
17121
|
pinStyle[_width] = pinStyle["max" + _Width] = cs[_width];
|
|
16706
17122
|
pinStyle[_height] = pinStyle["max" + _Height] = cs[_height];
|
|
16707
17123
|
pinStyle[_padding] = cs[_padding];
|
|
16708
|
-
|
|
16709
|
-
|
|
17124
|
+
|
|
17125
|
+
if (pin.parentNode !== spacer) {
|
|
17126
|
+
pin.parentNode.insertBefore(spacer, pin);
|
|
17127
|
+
spacer.appendChild(pin);
|
|
17128
|
+
}
|
|
17129
|
+
|
|
17130
|
+
pin._gsap.swappedIn = true;
|
|
16710
17131
|
}
|
|
16711
17132
|
},
|
|
16712
17133
|
_capsExp = /([A-Z])/g,
|
|
@@ -16787,7 +17208,7 @@ _parsePosition = function _parsePosition(value, trigger, scrollerSize, direction
|
|
|
16787
17208
|
|
|
16788
17209
|
if (!_isNumber$1(value)) {
|
|
16789
17210
|
_isFunction$1(trigger) && (trigger = trigger(self));
|
|
16790
|
-
var offsets = value.split(" "),
|
|
17211
|
+
var offsets = (value || "0").split(" "),
|
|
16791
17212
|
bounds,
|
|
16792
17213
|
localOffset,
|
|
16793
17214
|
globalOffset,
|
|
@@ -16892,9 +17313,9 @@ _getTweenCreator = function _getTweenCreator(scroller, direction) {
|
|
|
16892
17313
|
vars.modifiers = modifiers;
|
|
16893
17314
|
|
|
16894
17315
|
modifiers[prop] = function (value) {
|
|
16895
|
-
value =
|
|
17316
|
+
value = Math.round(getScroll()); // round because in some [very uncommon] Windows environments, it can get reported with decimals even though it was set without.
|
|
16896
17317
|
|
|
16897
|
-
if (value !== lastScroll1 && value !== lastScroll2 && Math.abs(value - lastScroll1) >
|
|
17318
|
+
if (value !== lastScroll1 && value !== lastScroll2 && Math.abs(value - lastScroll1) > 3 && Math.abs(value - lastScroll2) > 3) {
|
|
16898
17319
|
// if the user scrolls, kill the tween. iOS Safari intermittently misreports the scroll position, it may be the most recently-set one or the one before that! When Safari is zoomed (CMD-+), it often misreports as 1 pixel off too! So if we set the scroll position to 125, for example, it'll actually report it as 124.
|
|
16899
17320
|
tween.kill();
|
|
16900
17321
|
getTween.tween = 0;
|
|
@@ -16903,7 +17324,7 @@ _getTweenCreator = function _getTweenCreator(scroller, direction) {
|
|
|
16903
17324
|
}
|
|
16904
17325
|
|
|
16905
17326
|
lastScroll2 = lastScroll1;
|
|
16906
|
-
return lastScroll1 =
|
|
17327
|
+
return lastScroll1 = Math.round(value);
|
|
16907
17328
|
};
|
|
16908
17329
|
|
|
16909
17330
|
vars.onComplete = function () {
|
|
@@ -17027,7 +17448,8 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17027
17448
|
caMarkerSetter,
|
|
17028
17449
|
customRevertReturn;
|
|
17029
17450
|
|
|
17030
|
-
self
|
|
17451
|
+
_context(self);
|
|
17452
|
+
|
|
17031
17453
|
self._dir = direction;
|
|
17032
17454
|
anticipatePin *= 45;
|
|
17033
17455
|
self.scroller = scroller;
|
|
@@ -17079,6 +17501,7 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17079
17501
|
_triggers.push(self);
|
|
17080
17502
|
|
|
17081
17503
|
if (snap) {
|
|
17504
|
+
// TODO: potential idea: use legitimate CSS scroll snapping by pushing invisible elements into the DOM that serve as snap positions, and toggle the document.scrollingElement.style.scrollSnapType onToggle. See https://codepen.io/GreenSock/pen/JjLrgWM for a quick proof of concept.
|
|
17082
17505
|
if (!_isObject$1(snap) || snap.push) {
|
|
17083
17506
|
snap = {
|
|
17084
17507
|
snapTo: snap
|
|
@@ -17238,7 +17661,12 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17238
17661
|
return _triggers[_triggers.indexOf(self) + 1];
|
|
17239
17662
|
};
|
|
17240
17663
|
|
|
17241
|
-
self.revert = function (revert) {
|
|
17664
|
+
self.revert = function (revert, temp) {
|
|
17665
|
+
if (!temp) {
|
|
17666
|
+
return self.kill(true);
|
|
17667
|
+
} // for compatibility with gsap.context() and gsap.matchMedia() which call revert()
|
|
17668
|
+
|
|
17669
|
+
|
|
17242
17670
|
var r = revert !== false || !self.enabled,
|
|
17243
17671
|
prevRefreshing = _refreshing;
|
|
17244
17672
|
|
|
@@ -17284,8 +17712,8 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17284
17712
|
}
|
|
17285
17713
|
|
|
17286
17714
|
scrubTween && scrubTween.pause();
|
|
17287
|
-
invalidateOnRefresh && animation && animation.
|
|
17288
|
-
self.isReverted || self.revert();
|
|
17715
|
+
invalidateOnRefresh && animation && animation.revert().invalidate();
|
|
17716
|
+
self.isReverted || self.revert(true, true);
|
|
17289
17717
|
|
|
17290
17718
|
var size = getScrollerSize(),
|
|
17291
17719
|
scrollerBounds = getScrollerOffsets(),
|
|
@@ -17320,7 +17748,7 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17320
17748
|
revertedPins || (revertedPins = []);
|
|
17321
17749
|
revertedPins.unshift(curTrigger); // we'll revert from first to last to make sure things reach their end state properly
|
|
17322
17750
|
|
|
17323
|
-
curTrigger.revert();
|
|
17751
|
+
curTrigger.revert(true, true);
|
|
17324
17752
|
}
|
|
17325
17753
|
|
|
17326
17754
|
if (curTrigger !== _triggers[i]) {
|
|
@@ -17454,7 +17882,7 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17454
17882
|
}
|
|
17455
17883
|
|
|
17456
17884
|
revertedPins && revertedPins.forEach(function (t) {
|
|
17457
|
-
return t.revert(false);
|
|
17885
|
+
return t.revert(false, true);
|
|
17458
17886
|
});
|
|
17459
17887
|
self.start = start;
|
|
17460
17888
|
self.end = end;
|
|
@@ -17465,7 +17893,7 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17465
17893
|
self.scroll.rec = 0;
|
|
17466
17894
|
}
|
|
17467
17895
|
|
|
17468
|
-
self.revert(false);
|
|
17896
|
+
self.revert(false, true);
|
|
17469
17897
|
|
|
17470
17898
|
if (snapDelayedCall) {
|
|
17471
17899
|
lastSnap = -1;
|
|
@@ -17481,7 +17909,7 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17481
17909
|
// ensures that the direction is set properly (when refreshing, progress is set back to 0 initially, then back again to wherever it needs to be) and that callbacks are triggered.
|
|
17482
17910
|
animation && !isToggle && animation.totalProgress(prevProgress, true); // to avoid issues where animation callbacks like onStart aren't triggered.
|
|
17483
17911
|
|
|
17484
|
-
self.progress = prevProgress;
|
|
17912
|
+
self.progress = (scroll1 - start) / change === prevProgress ? 0 : prevProgress;
|
|
17485
17913
|
self.update(0, 0, 1);
|
|
17486
17914
|
}
|
|
17487
17915
|
|
|
@@ -17707,7 +18135,7 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17707
18135
|
|
|
17708
18136
|
self.disable = function (reset, allowAnimation) {
|
|
17709
18137
|
if (self.enabled) {
|
|
17710
|
-
reset !== false && self.revert();
|
|
18138
|
+
reset !== false && self.revert(true, true);
|
|
17711
18139
|
self.enabled = self.isActive = false;
|
|
17712
18140
|
allowAnimation || scrubTween && scrubTween.pause();
|
|
17713
18141
|
prevScroll = 0;
|
|
@@ -17847,6 +18275,7 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17847
18275
|
if (gsap$4) {
|
|
17848
18276
|
_toArray$3 = gsap$4.utils.toArray;
|
|
17849
18277
|
_clamp = gsap$4.utils.clamp;
|
|
18278
|
+
_context = gsap$4.core.context || _passThrough;
|
|
17850
18279
|
_suppressOverwrites = gsap$4.core.suppressOverwrites || _passThrough;
|
|
17851
18280
|
gsap$4.core.globals("ScrollTrigger", ScrollTrigger); // must register the global manually because in Internet Explorer, functions (classes) don't have a "name" property.
|
|
17852
18281
|
|
|
@@ -17861,22 +18290,53 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17861
18290
|
|
|
17862
18291
|
|
|
17863
18292
|
_root = [_win, _doc, _docEl$1, _body$1];
|
|
17864
|
-
|
|
17865
|
-
|
|
17866
|
-
|
|
18293
|
+
|
|
18294
|
+
if (gsap$4.matchMedia) {
|
|
18295
|
+
ScrollTrigger.matchMedia = function (vars) {
|
|
18296
|
+
var mm, p;
|
|
18297
|
+
|
|
18298
|
+
for (p in vars) {
|
|
18299
|
+
mm ? mm.add(p, vars[p]) : mm = gsap$4.matchMedia(p, vars[p]);
|
|
18300
|
+
}
|
|
18301
|
+
|
|
18302
|
+
return mm;
|
|
18303
|
+
};
|
|
18304
|
+
|
|
18305
|
+
gsap$4.addEventListener("matchMediaInit", function () {
|
|
18306
|
+
return _revertAll();
|
|
18307
|
+
});
|
|
18308
|
+
gsap$4.addEventListener("matchMediaRevert", function () {
|
|
18309
|
+
return _revertRecorded();
|
|
18310
|
+
});
|
|
18311
|
+
gsap$4.addEventListener("matchMedia", function () {
|
|
18312
|
+
_refreshAll(0, 1);
|
|
18313
|
+
|
|
18314
|
+
_dispatch("matchMedia");
|
|
18315
|
+
});
|
|
18316
|
+
gsap$4.matchMedia("(orientation: portrait)", function () {
|
|
18317
|
+
// when orientation changes, we should take new base measurements for the ignoreMobileResize feature.
|
|
17867
18318
|
_setBaseDimensions();
|
|
17868
18319
|
|
|
17869
18320
|
return _setBaseDimensions;
|
|
17870
|
-
}
|
|
17871
|
-
}
|
|
18321
|
+
});
|
|
18322
|
+
} else {
|
|
18323
|
+
console.warn("Requires GSAP 3.11.0 or later");
|
|
18324
|
+
}
|
|
17872
18325
|
|
|
17873
18326
|
_addListener(_doc, "scroll", _onScroll); // some browsers (like Chrome), the window stops dispatching scroll events on the window if you scroll really fast, but it's consistent on the document!
|
|
17874
18327
|
|
|
17875
18328
|
|
|
17876
18329
|
var bodyStyle = _body$1.style,
|
|
17877
18330
|
border = bodyStyle.borderTopStyle,
|
|
18331
|
+
AnimationProto = gsap$4.core.Animation.prototype,
|
|
17878
18332
|
bounds,
|
|
17879
18333
|
i;
|
|
18334
|
+
AnimationProto.revert || Object.defineProperty(AnimationProto, "revert", {
|
|
18335
|
+
value: function value() {
|
|
18336
|
+
return this.time(-0.01, true);
|
|
18337
|
+
}
|
|
18338
|
+
}); // only for backwards compatibility (Animation.revert() was added after 3.10.4)
|
|
18339
|
+
|
|
17880
18340
|
bodyStyle.borderTopStyle = "solid"; // works around an issue where a margin of a child element could throw off the bounds of the _body, making it seem like there's a margin when there actually isn't. The border ensures that the bounds are accurate.
|
|
17881
18341
|
|
|
17882
18342
|
bounds = _getBounds(_body$1);
|
|
@@ -17959,48 +18419,10 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
17959
18419
|
}
|
|
17960
18420
|
};
|
|
17961
18421
|
|
|
17962
|
-
ScrollTrigger.matchMedia = function matchMedia(vars) {
|
|
17963
|
-
// _media is populated in the following order: mediaQueryString, onMatch, onUnmatch, isMatched. So if there are two media queries, the Array would have a length of 8
|
|
17964
|
-
var mq, p, i, func, result;
|
|
17965
|
-
|
|
17966
|
-
for (p in vars) {
|
|
17967
|
-
i = _media.indexOf(p);
|
|
17968
|
-
func = vars[p];
|
|
17969
|
-
_creatingMedia = p;
|
|
17970
|
-
|
|
17971
|
-
if (p === "all") {
|
|
17972
|
-
func();
|
|
17973
|
-
} else {
|
|
17974
|
-
mq = _win.matchMedia(p);
|
|
17975
|
-
|
|
17976
|
-
if (mq) {
|
|
17977
|
-
mq.matches && (result = func());
|
|
17978
|
-
|
|
17979
|
-
if (~i) {
|
|
17980
|
-
_media[i + 1] = _combineFunc(_media[i + 1], func);
|
|
17981
|
-
_media[i + 2] = _combineFunc(_media[i + 2], result);
|
|
17982
|
-
} else {
|
|
17983
|
-
i = _media.length;
|
|
17984
|
-
|
|
17985
|
-
_media.push(p, func, result);
|
|
17986
|
-
|
|
17987
|
-
mq.addListener ? mq.addListener(_onMediaChange) : mq.addEventListener("change", _onMediaChange);
|
|
17988
|
-
}
|
|
17989
|
-
|
|
17990
|
-
_media[i + 3] = mq.matches;
|
|
17991
|
-
}
|
|
17992
|
-
}
|
|
17993
|
-
|
|
17994
|
-
_creatingMedia = 0;
|
|
17995
|
-
}
|
|
17996
|
-
|
|
17997
|
-
return _media;
|
|
17998
|
-
};
|
|
17999
|
-
|
|
18000
18422
|
ScrollTrigger.clearMatchMedia = function clearMatchMedia(query) {
|
|
18001
|
-
|
|
18002
|
-
|
|
18003
|
-
|
|
18423
|
+
_triggers.forEach(function (t) {
|
|
18424
|
+
return t._ctx && t._ctx.query === query && t._ctx.kill(true, true);
|
|
18425
|
+
});
|
|
18004
18426
|
};
|
|
18005
18427
|
|
|
18006
18428
|
ScrollTrigger.isInViewport = function isInViewport(element, ratio, horizontal) {
|
|
@@ -18017,9 +18439,23 @@ var ScrollTrigger = /*#__PURE__*/function () {
|
|
|
18017
18439
|
return horizontal ? (bounds.left + offset) / _win.innerWidth : (bounds.top + offset) / _win.innerHeight;
|
|
18018
18440
|
};
|
|
18019
18441
|
|
|
18442
|
+
ScrollTrigger.killAll = function killAll(allowListeners) {
|
|
18443
|
+
_triggers.forEach(function (t) {
|
|
18444
|
+
return t.vars.id !== "ScrollSmoother" && t.kill();
|
|
18445
|
+
});
|
|
18446
|
+
|
|
18447
|
+
if (allowListeners !== true) {
|
|
18448
|
+
var listeners = _listeners.killAll || [];
|
|
18449
|
+
_listeners = {};
|
|
18450
|
+
listeners.forEach(function (f) {
|
|
18451
|
+
return f();
|
|
18452
|
+
});
|
|
18453
|
+
}
|
|
18454
|
+
};
|
|
18455
|
+
|
|
18020
18456
|
return ScrollTrigger;
|
|
18021
18457
|
}();
|
|
18022
|
-
ScrollTrigger.version = "3.
|
|
18458
|
+
ScrollTrigger.version = "3.11.0";
|
|
18023
18459
|
|
|
18024
18460
|
ScrollTrigger.saveStyles = function (targets) {
|
|
18025
18461
|
return targets ? _toArray$3(targets).forEach(function (target) {
|
|
@@ -18029,7 +18465,7 @@ ScrollTrigger.saveStyles = function (targets) {
|
|
|
18029
18465
|
|
|
18030
18466
|
i >= 0 && _savedStyles.splice(i, 5);
|
|
18031
18467
|
|
|
18032
|
-
_savedStyles.push(target, target.style.cssText, target.getBBox && target.getAttribute("transform"), gsap$4.core.getCache(target),
|
|
18468
|
+
_savedStyles.push(target, target.style.cssText, target.getBBox && target.getAttribute("transform"), gsap$4.core.getCache(target), _context());
|
|
18033
18469
|
}
|
|
18034
18470
|
}) : _savedStyles;
|
|
18035
18471
|
};
|
|
@@ -18171,7 +18607,10 @@ var _clampScrollAndGetDurationMultiplier = function _clampScrollAndGetDurationMu
|
|
|
18171
18607
|
cache._isScrollT = time;
|
|
18172
18608
|
}
|
|
18173
18609
|
|
|
18174
|
-
(cache._isScroll || axis === "x")
|
|
18610
|
+
if (cache._isScroll || axis === "x") {
|
|
18611
|
+
event.stopPropagation();
|
|
18612
|
+
event._gsapAllow = true;
|
|
18613
|
+
}
|
|
18175
18614
|
},
|
|
18176
18615
|
// capture events on scrollable elements INSIDE the <body> and allow those by calling stopPropagation() when we find a scrollable ancestor
|
|
18177
18616
|
_inputObserver = function _inputObserver(target, type, inputs, nested) {
|
|
@@ -18218,7 +18657,8 @@ _inputObserver = function _inputObserver(target, type, inputs, nested) {
|
|
|
18218
18657
|
maxY,
|
|
18219
18658
|
target = _getTarget(vars.target) || _docEl$1,
|
|
18220
18659
|
smoother = gsap$4.core.globals().ScrollSmoother,
|
|
18221
|
-
|
|
18660
|
+
smootherInstance = smoother && smoother.get(),
|
|
18661
|
+
content = _fixIOSBug && (vars.content && _getTarget(vars.content) || smootherInstance && vars.content !== false && !smootherInstance.smooth() && smootherInstance.content()),
|
|
18222
18662
|
scrollFuncY = _getScrollFunc(target, _vertical),
|
|
18223
18663
|
scrollFuncX = _getScrollFunc(target, _horizontal),
|
|
18224
18664
|
scale = 1,
|
|
@@ -18229,8 +18669,8 @@ _inputObserver = function _inputObserver(target, type, inputs, nested) {
|
|
|
18229
18669
|
} : function () {
|
|
18230
18670
|
return momentum || 2.8;
|
|
18231
18671
|
},
|
|
18232
|
-
skipTouchMove,
|
|
18233
18672
|
lastRefreshID,
|
|
18673
|
+
skipTouchMove,
|
|
18234
18674
|
inputObserver = _inputObserver(target, vars.type, true, allowNestedScroll),
|
|
18235
18675
|
resumeTouchMove = function resumeTouchMove() {
|
|
18236
18676
|
return skipTouchMove = false;
|
|
@@ -18242,18 +18682,26 @@ _inputObserver = function _inputObserver(target, type, inputs, nested) {
|
|
|
18242
18682
|
scrollClampY = _clamp(_fixIOSBug ? 1 : 0, maxY);
|
|
18243
18683
|
normalizeScrollX && (scrollClampX = _clamp(0, _maxScroll(target, _horizontal)));
|
|
18244
18684
|
lastRefreshID = _refreshID;
|
|
18685
|
+
},
|
|
18686
|
+
removeContentOffset = function removeContentOffset() {
|
|
18687
|
+
content._gsap.y = _round$2(parseFloat(content._gsap.y) + scrollFuncY.offset) + "px";
|
|
18688
|
+
content.style.transform = "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + parseFloat(content._gsap.y) + ", 0, 1)";
|
|
18689
|
+
scrollFuncY.offset = scrollFuncY.cacheID = 0;
|
|
18245
18690
|
},
|
|
18246
18691
|
ignoreDrag = function ignoreDrag() {
|
|
18247
18692
|
if (skipTouchMove) {
|
|
18248
|
-
requestAnimationFrame(resumeTouchMove);
|
|
18693
|
+
requestAnimationFrame(resumeTouchMove);
|
|
18249
18694
|
|
|
18250
18695
|
var offset = _round$2(self.deltaY / 2),
|
|
18251
18696
|
scroll = scrollClampY(scrollFuncY.v - offset);
|
|
18252
18697
|
|
|
18253
18698
|
if (content && scroll !== scrollFuncY.v + scrollFuncY.offset) {
|
|
18254
18699
|
scrollFuncY.offset = scroll - scrollFuncY.v;
|
|
18255
|
-
|
|
18256
|
-
content
|
|
18700
|
+
|
|
18701
|
+
var y = _round$2((parseFloat(content && content._gsap.y) || 0) - scrollFuncY.offset);
|
|
18702
|
+
|
|
18703
|
+
content.style.transform = "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + y + ", 0, 1)";
|
|
18704
|
+
content._gsap.y = y + "px";
|
|
18257
18705
|
scrollFuncY.cacheID = _scrollers.cache;
|
|
18258
18706
|
|
|
18259
18707
|
_updateAll();
|
|
@@ -18262,12 +18710,7 @@ _inputObserver = function _inputObserver(target, type, inputs, nested) {
|
|
|
18262
18710
|
return true;
|
|
18263
18711
|
}
|
|
18264
18712
|
|
|
18265
|
-
|
|
18266
|
-
content.style.transform = "translateY(0px)";
|
|
18267
|
-
scrollFuncY.offset = scrollFuncY.cacheID = 0;
|
|
18268
|
-
content._gsap && (content._gsap.y = "0px");
|
|
18269
|
-
}
|
|
18270
|
-
|
|
18713
|
+
scrollFuncY.offset && removeContentOffset();
|
|
18271
18714
|
skipTouchMove = true;
|
|
18272
18715
|
},
|
|
18273
18716
|
tween,
|
|
@@ -18283,6 +18726,10 @@ _inputObserver = function _inputObserver(target, type, inputs, nested) {
|
|
|
18283
18726
|
}
|
|
18284
18727
|
};
|
|
18285
18728
|
|
|
18729
|
+
content && gsap$4.set(content, {
|
|
18730
|
+
y: "+=0"
|
|
18731
|
+
}); // to ensure there's a cache (element._gsap)
|
|
18732
|
+
|
|
18286
18733
|
vars.ignoreCheck = function (e) {
|
|
18287
18734
|
return _fixIOSBug && e.type === "touchmove" && ignoreDrag(e) || scale > 1.05 && e.type !== "touchstart" || self.isGesturing || e.touches && e.touches.length > 1;
|
|
18288
18735
|
};
|
|
@@ -18292,7 +18739,6 @@ _inputObserver = function _inputObserver(target, type, inputs, nested) {
|
|
|
18292
18739
|
scale = _round$2((_win.visualViewport && _win.visualViewport.scale || 1) / initialScale);
|
|
18293
18740
|
tween.pause();
|
|
18294
18741
|
prevScale !== scale && _allowNativePanning(target, scale > 1.01 ? true : normalizeScrollX ? false : "x");
|
|
18295
|
-
skipTouchMove = false;
|
|
18296
18742
|
startScrollX = scrollFuncX();
|
|
18297
18743
|
startScrollY = scrollFuncY();
|
|
18298
18744
|
updateClamps();
|
|
@@ -18300,11 +18746,7 @@ _inputObserver = function _inputObserver(target, type, inputs, nested) {
|
|
|
18300
18746
|
};
|
|
18301
18747
|
|
|
18302
18748
|
vars.onRelease = vars.onGestureStart = function (self, wasDragging) {
|
|
18303
|
-
|
|
18304
|
-
content.style.transform = "translateY(0px)";
|
|
18305
|
-
scrollFuncY.offset = scrollFuncY.cacheID = 0;
|
|
18306
|
-
content._gsap && (content._gsap.y = "0px");
|
|
18307
|
-
}
|
|
18749
|
+
scrollFuncY.offset && removeContentOffset();
|
|
18308
18750
|
|
|
18309
18751
|
if (!wasDragging) {
|
|
18310
18752
|
onStopDelayedCall.restart(true);
|
|
@@ -18355,9 +18797,16 @@ _inputObserver = function _inputObserver(target, type, inputs, nested) {
|
|
|
18355
18797
|
_refreshID !== lastRefreshID && updateClamps();
|
|
18356
18798
|
dx && normalizeScrollX && scrollFuncX(scrollClampX(xArray[2] === dx ? startScrollX + (self.startX - self.x) : scrollFuncX() + dx - xArray[1])); // for more precision, we track pointer/touch movement from the start, otherwise it'll drift.
|
|
18357
18799
|
|
|
18358
|
-
|
|
18800
|
+
if (dy) {
|
|
18801
|
+
scrollFuncY.offset && removeContentOffset();
|
|
18802
|
+
var isTouch = yArray[2] === dy,
|
|
18803
|
+
y = isTouch ? startScrollY + self.startY - self.y : scrollFuncY() + dy - yArray[1],
|
|
18804
|
+
yClamped = scrollClampY(y);
|
|
18805
|
+
isTouch && y !== yClamped && (startScrollY += yClamped - y);
|
|
18806
|
+
scrollFuncY(yClamped);
|
|
18807
|
+
}
|
|
18359
18808
|
|
|
18360
|
-
_updateAll();
|
|
18809
|
+
(dy || dx) && _updateAll();
|
|
18361
18810
|
};
|
|
18362
18811
|
|
|
18363
18812
|
vars.onEnable = function () {
|
|
@@ -18376,11 +18825,14 @@ _inputObserver = function _inputObserver(target, type, inputs, nested) {
|
|
|
18376
18825
|
inputObserver.kill();
|
|
18377
18826
|
};
|
|
18378
18827
|
|
|
18828
|
+
vars.lockAxis = vars.lockAxis !== false;
|
|
18379
18829
|
self = new Observer(vars);
|
|
18380
18830
|
self.iOS = _fixIOSBug; // used in the Observer getCachedScroll() function to work around an iOS bug that wreaks havoc with TouchEvent.clientY if we allow scroll to go all the way back to 0.
|
|
18381
18831
|
|
|
18382
18832
|
_fixIOSBug && !scrollFuncY() && scrollFuncY(1); // iOS bug causes event.clientY values to freak out (wildly inaccurate) if the scroll position is exactly 0.
|
|
18383
18833
|
|
|
18834
|
+
_fixIOSBug && gsap$4.ticker.add(_passThrough); // prevent the ticker from sleeping
|
|
18835
|
+
|
|
18384
18836
|
onStopDelayedCall = self._dc;
|
|
18385
18837
|
tween = gsap$4.to(self, {
|
|
18386
18838
|
ease: "power4",
|
|
@@ -18442,7 +18894,7 @@ ScrollTrigger.core = {
|
|
|
18442
18894
|
_getGSAP$4() && gsap$4.registerPlugin(ScrollTrigger);
|
|
18443
18895
|
|
|
18444
18896
|
/*!
|
|
18445
|
-
* strings: 3.
|
|
18897
|
+
* strings: 3.11.0
|
|
18446
18898
|
* https://greensock.com
|
|
18447
18899
|
*
|
|
18448
18900
|
* Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -18452,7 +18904,7 @@ _getGSAP$4() && gsap$4.registerPlugin(ScrollTrigger);
|
|
|
18452
18904
|
*/
|
|
18453
18905
|
|
|
18454
18906
|
/* eslint-disable */
|
|
18455
|
-
var _trimExp = /(
|
|
18907
|
+
var _trimExp = /(?:^\s+|\s+$)/g;
|
|
18456
18908
|
var emojiExp = /([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;
|
|
18457
18909
|
function getText(e) {
|
|
18458
18910
|
var type = e.nodeType,
|
|
@@ -18520,9 +18972,7 @@ let _emoji = "[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u269
|
|
|
18520
18972
|
function emojiSafeSplit(text, delimiter, trim, preserveSpaces) {
|
|
18521
18973
|
text += ""; // make sure it's cast as a string. Someone may pass in a number.
|
|
18522
18974
|
|
|
18523
|
-
|
|
18524
|
-
text = text.replace(_trimExp, "");
|
|
18525
|
-
}
|
|
18975
|
+
trim && (text = text.trim ? text.trim() : text.replace(_trimExp, "")); // IE9 and earlier compatibility
|
|
18526
18976
|
|
|
18527
18977
|
if (delimiter && delimiter !== "") {
|
|
18528
18978
|
return text.replace(/>/g, ">").replace(/</g, "<").split(delimiter);
|
|
@@ -18552,7 +19002,7 @@ function emojiSafeSplit(text, delimiter, trim, preserveSpaces) {
|
|
|
18552
19002
|
}
|
|
18553
19003
|
|
|
18554
19004
|
/*!
|
|
18555
|
-
* TextPlugin 3.
|
|
19005
|
+
* TextPlugin 3.11.0
|
|
18556
19006
|
* https://greensock.com
|
|
18557
19007
|
*
|
|
18558
19008
|
* @license Copyright 2008-2022, GreenSock. All rights reserved.
|
|
@@ -18568,7 +19018,7 @@ var gsap$3,
|
|
|
18568
19018
|
};
|
|
18569
19019
|
|
|
18570
19020
|
var TextPlugin = {
|
|
18571
|
-
version: "3.
|
|
19021
|
+
version: "3.11.0",
|
|
18572
19022
|
name: "text",
|
|
18573
19023
|
init: function init(target, value, tween) {
|
|
18574
19024
|
typeof value !== "object" && (value = {
|
|
@@ -18609,7 +19059,7 @@ var TextPlugin = {
|
|
|
18609
19059
|
original = splitInnerHTML(target, delimiter, false, preserveSpaces);
|
|
18610
19060
|
_tempDiv || (_tempDiv = document.createElement("div"));
|
|
18611
19061
|
_tempDiv.innerHTML = value.value;
|
|
18612
|
-
text = splitInnerHTML(_tempDiv, delimiter);
|
|
19062
|
+
text = splitInnerHTML(_tempDiv, delimiter, false, preserveSpaces);
|
|
18613
19063
|
data.from = tween._from;
|
|
18614
19064
|
|
|
18615
19065
|
if ((data.from || rtl) && !(rtl && data.from)) {
|
|
@@ -18714,22 +19164,22 @@ TextPlugin.emojiSafeSplit = emojiSafeSplit;
|
|
|
18714
19164
|
TextPlugin.getText = getText;
|
|
18715
19165
|
_getGSAP$3() && gsap$3.registerPlugin(TextPlugin);
|
|
18716
19166
|
|
|
18717
|
-
var gsapWithCSS = gsap$f.registerPlugin(CSSPlugin$1) || gsap$f,
|
|
18718
|
-
|
|
18719
|
-
|
|
19167
|
+
var gsapWithCSS = gsap$f.registerPlugin(CSSPlugin$1) || gsap$f,
|
|
19168
|
+
// to protect from tree shaking
|
|
19169
|
+
TweenMaxWithCSS = gsapWithCSS.core.Tween;
|
|
18720
19170
|
//BONUS EXPORTS
|
|
18721
|
-
//export * from "./DrawSVGPlugin.js";
|
|
18722
|
-
//export * from "./Physics2DPlugin.js";
|
|
18723
|
-
//export * from "./PhysicsPropsPlugin.js";
|
|
18724
|
-
//export * from "./ScrambleTextPlugin.js";
|
|
18725
|
-
//export * from "./CustomBounce.js";
|
|
18726
|
-
//export * from "./CustomWiggle.js";
|
|
18727
|
-
//export * from "./GSDevTools.js";
|
|
18728
|
-
//export * from "./InertiaPlugin.js";
|
|
18729
|
-
//export * from "./MorphSVGPlugin.js";
|
|
18730
|
-
//export * from "./MotionPathHelper.js";
|
|
18731
|
-
//export * from "./ScrollSmoother.js";
|
|
18732
|
-
//export * from "./SplitText.js";
|
|
19171
|
+
// export * from "./DrawSVGPlugin.js";
|
|
19172
|
+
// export * from "./Physics2DPlugin.js";
|
|
19173
|
+
// export * from "./PhysicsPropsPlugin.js";
|
|
19174
|
+
// export * from "./ScrambleTextPlugin.js";
|
|
19175
|
+
// export * from "./CustomBounce.js";
|
|
19176
|
+
// export * from "./CustomWiggle.js";
|
|
19177
|
+
// export * from "./GSDevTools.js";
|
|
19178
|
+
// export * from "./InertiaPlugin.js";
|
|
19179
|
+
// export * from "./MorphSVGPlugin.js";
|
|
19180
|
+
// export * from "./MotionPathHelper.js";
|
|
19181
|
+
// export * from "./ScrollSmoother.js";
|
|
19182
|
+
// export * from "./SplitText.js";
|
|
18733
19183
|
|
|
18734
19184
|
// for now just expose the builtin process global from node.js
|
|
18735
19185
|
var process_1 = commonjsGlobal.process;
|
|
@@ -24012,12 +24462,15 @@ const toButton = (action, entity, hideIcon) => {
|
|
|
24012
24462
|
function isCampaignActive(campaign) {
|
|
24013
24463
|
return !(campaign === null || campaign === void 0 ? void 0 : campaign.archived) && (!!(campaign === null || campaign === void 0 ? void 0 : campaign.active) || !!(campaign === null || campaign === void 0 ? void 0 : campaign.recurring));
|
|
24014
24464
|
}
|
|
24015
|
-
function
|
|
24465
|
+
function isCampaignTodo(campaign) {
|
|
24016
24466
|
return (campaign === null || campaign === void 0 ? void 0 : campaign.type) === 'todo';
|
|
24017
24467
|
}
|
|
24468
|
+
function isCampaignFeed(campaign) {
|
|
24469
|
+
return (campaign === null || campaign === void 0 ? void 0 : campaign.type) === 'feed';
|
|
24470
|
+
}
|
|
24018
24471
|
function isCampaignAnnouncementByUser(campaign) {
|
|
24019
24472
|
var _a;
|
|
24020
|
-
return
|
|
24473
|
+
return isCampaignTodo(campaign) && (!((_a = campaign === null || campaign === void 0 ? void 0 : campaign.audience) === null || _a === void 0 ? void 0 : _a.target) || (campaign === null || campaign === void 0 ? void 0 : campaign.audience.target) === 'byuser');
|
|
24021
24474
|
}
|
|
24022
24475
|
function getCampaignIcon(campaign) {
|
|
24023
24476
|
switch (campaign === null || campaign === void 0 ? void 0 : campaign.type) {
|
|
@@ -24027,6 +24480,8 @@ function getCampaignIcon(campaign) {
|
|
|
24027
24480
|
return 'action-plan';
|
|
24028
24481
|
case 'todo':
|
|
24029
24482
|
return 'mission';
|
|
24483
|
+
case 'feed':
|
|
24484
|
+
return 'feed';
|
|
24030
24485
|
default:
|
|
24031
24486
|
return 'campaign';
|
|
24032
24487
|
}
|
|
@@ -24037,6 +24492,8 @@ function getCampaignColor(campaign) {
|
|
|
24037
24492
|
case 'poll':
|
|
24038
24493
|
case 'service':
|
|
24039
24494
|
return 'app-color';
|
|
24495
|
+
case 'feed':
|
|
24496
|
+
return 'warning';
|
|
24040
24497
|
case 'todo':
|
|
24041
24498
|
return 'success';
|
|
24042
24499
|
default:
|
|
@@ -24572,7 +25029,7 @@ const HapticsNotificationType = NotificationType;
|
|
|
24572
25029
|
const HapticsImpactStyle = ImpactStyle;
|
|
24573
25030
|
|
|
24574
25031
|
const Haptics = registerPlugin('Haptics', {
|
|
24575
|
-
web: () => import('./web-
|
|
25032
|
+
web: () => import('./web-a8785545.js').then(m => new m.HapticsWeb()),
|
|
24576
25033
|
});
|
|
24577
25034
|
|
|
24578
25035
|
/// <reference types="@capacitor/cli" />
|
|
@@ -24636,7 +25093,7 @@ const Keyboard = registerPlugin('Keyboard');
|
|
|
24636
25093
|
/// <reference types="@capacitor/cli" />
|
|
24637
25094
|
|
|
24638
25095
|
const SplashScreen = registerPlugin('SplashScreen', {
|
|
24639
|
-
web: () => import('./web-
|
|
25096
|
+
web: () => import('./web-d571009b.js').then(m => new m.SplashScreenWeb()),
|
|
24640
25097
|
});
|
|
24641
25098
|
|
|
24642
25099
|
var Style;
|
|
@@ -29731,7 +30188,7 @@ const quoteOrUrlRegex = /".*?"|((https?|ftps?):\/\/[^"<\s)]+)(?![^<>]*>|[^"]*?<\
|
|
|
29731
30188
|
const urlRegex = /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;
|
|
29732
30189
|
// eslint-disable-next-line no-useless-escape
|
|
29733
30190
|
const urlsRegex = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&\/\/=]*)/gi;
|
|
29734
|
-
const advanceURLRegex = /
|
|
30191
|
+
const advanceURLRegex = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/;
|
|
29735
30192
|
const cloudinaryRegex = /^.+\.cloudinary\.com\/(?:[^/]+\/)(?:(image|video)\/)?(?:(upload|fetch)\/)?(?:(?:[^_/]+_[^,/]+,?)*\/)?(?:v(\d+|\w{1,2})\/)?([^.^\s]+)(?:\.(.+))?$/;
|
|
29736
30193
|
function cleanupWKWebViewFilePath(value) {
|
|
29737
30194
|
if (isWKWebView() && (value === null || value === void 0 ? void 0 : value.startsWith)) {
|
|
@@ -29761,6 +30218,31 @@ function replaceAllLinks(text, prevenNewline, cssClass = 'app-color') {
|
|
|
29761
30218
|
return `<yoo-mention-tag data-type='url' data-url='${url}' class='${cssClass}'>${url}</yoo-mention-tag>`;
|
|
29762
30219
|
});
|
|
29763
30220
|
}
|
|
30221
|
+
function updateLinkPreviews(content, linkPreviews, isDeleting) {
|
|
30222
|
+
let previews = linkPreviews;
|
|
30223
|
+
let hasChanges = false;
|
|
30224
|
+
if (containsUrls(content)) {
|
|
30225
|
+
const { links } = replaceAndGetAllLinks(content.replace(/ /g, ' '), ' ');
|
|
30226
|
+
links.map((link, index) => {
|
|
30227
|
+
if (containsUrls(link)) {
|
|
30228
|
+
const matchingPreview = linkPreviews === null || linkPreviews === void 0 ? void 0 : linkPreviews.find((item) => item.originalURL === link);
|
|
30229
|
+
if (!matchingPreview) {
|
|
30230
|
+
previews[index] = { isLoading: true, url: link, title: link };
|
|
30231
|
+
hasChanges = true;
|
|
30232
|
+
}
|
|
30233
|
+
}
|
|
30234
|
+
else if (isDeleting) {
|
|
30235
|
+
previews = previews.filter(item => { var _a; return !((_a = item === null || item === void 0 ? void 0 : item.originalURL) === null || _a === void 0 ? void 0 : _a.includes(link)); });
|
|
30236
|
+
hasChanges = true;
|
|
30237
|
+
}
|
|
30238
|
+
});
|
|
30239
|
+
}
|
|
30240
|
+
else if (linkPreviews === null || linkPreviews === void 0 ? void 0 : linkPreviews.length) {
|
|
30241
|
+
previews = [];
|
|
30242
|
+
hasChanges = true;
|
|
30243
|
+
}
|
|
30244
|
+
return { hasChanges, previews };
|
|
30245
|
+
}
|
|
29764
30246
|
/**
|
|
29765
30247
|
* Given a text with links, return a list of non video/image links and replace them with
|
|
29766
30248
|
* replacementText if provided
|
|
@@ -32377,7 +32859,7 @@ var et = createCommonjsModule(function (module, exports) {
|
|
|
32377
32859
|
});
|
|
32378
32860
|
|
|
32379
32861
|
var fr = createCommonjsModule(function (module, exports) {
|
|
32380
|
-
!function(e,n){"object"=='object'&&"undefined"!='object'?module.exports=n(dayjs_min):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fr=n(e.dayjs);}(commonjsGlobal,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return ""+e+(1===e?"er":"
|
|
32862
|
+
!function(e,n){"object"=='object'&&"undefined"!='object'?module.exports=n(dayjs_min):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fr=n(e.dayjs);}(commonjsGlobal,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return ""+e+(1===e?"er":"")}};return t.default.locale(i,null,!0),i}));
|
|
32381
32863
|
});
|
|
32382
32864
|
|
|
32383
32865
|
var he = createCommonjsModule(function (module, exports) {
|
|
@@ -32405,7 +32887,7 @@ var ko = createCommonjsModule(function (module, exports) {
|
|
|
32405
32887
|
});
|
|
32406
32888
|
|
|
32407
32889
|
var nl = createCommonjsModule(function (module, exports) {
|
|
32408
|
-
!function(e,a){"object"=='object'&&"undefined"!='object'?module.exports=a(dayjs_min):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nl=a(e.dayjs);}(commonjsGlobal,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=a(e),n={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return d.default.locale(n,null,!0),n}));
|
|
32890
|
+
!function(e,a){"object"=='object'&&"undefined"!='object'?module.exports=a(dayjs_min):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nl=a(e.dayjs);}(commonjsGlobal,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=a(e),n={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return "["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return d.default.locale(n,null,!0),n}));
|
|
32409
32891
|
});
|
|
32410
32892
|
|
|
32411
32893
|
var pl = createCommonjsModule(function (module, exports) {
|
|
@@ -34020,7 +34502,7 @@ function getCampaignConfigsForFeed(campaign, campaignRef, availableMission) {
|
|
|
34020
34502
|
return;
|
|
34021
34503
|
}
|
|
34022
34504
|
const viewAllHandler = () => {
|
|
34023
|
-
const isAnnouncement =
|
|
34505
|
+
const isAnnouncement = isCampaignTodo(campaign);
|
|
34024
34506
|
if (isAnnouncement) {
|
|
34025
34507
|
getAsyncExtraData({ type: 'announcement-detail', params: { announcement: campaign } });
|
|
34026
34508
|
}
|
|
@@ -34047,7 +34529,7 @@ function getCampaignConfigsForFeed(campaign, campaignRef, availableMission) {
|
|
|
34047
34529
|
active: campaign.active || false,
|
|
34048
34530
|
availableCount: ((_a = campaign.campaignStats) === null || _a === void 0 ? void 0 : _a.availableCount) + ((_b = campaign.campaignStats) === null || _b === void 0 ? void 0 : _b.bookedCount),
|
|
34049
34531
|
isService: campaign.type === 'service',
|
|
34050
|
-
viewAllHandler,
|
|
34532
|
+
viewAllHandler: isCampaignFeed(campaign) ? null : viewAllHandler,
|
|
34051
34533
|
createHandler,
|
|
34052
34534
|
missionDetailHandler,
|
|
34053
34535
|
missiondescriptionRef: campaignRef,
|
|
@@ -34078,7 +34560,7 @@ function getIncentiveConfigsForFeed(incentive, incentiveRef) {
|
|
|
34078
34560
|
};
|
|
34079
34561
|
}
|
|
34080
34562
|
function getCardFeedEntryFromFeed(item, host, modalMode, preview) {
|
|
34081
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
34563
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
34082
34564
|
if (!item) {
|
|
34083
34565
|
return null;
|
|
34084
34566
|
}
|
|
@@ -34213,10 +34695,10 @@ function getCardFeedEntryFromFeed(item, host, modalMode, preview) {
|
|
|
34213
34695
|
entry.description = feed.description;
|
|
34214
34696
|
}
|
|
34215
34697
|
else {
|
|
34216
|
-
entry.description = feed.description || entry.pollTitle || (!feed.pollChartDefinition ? feed.pollTitle : null);
|
|
34698
|
+
entry.description = feed.description || (isCampaignFeed(feed.missiondescription) ? (_o = (_m = feed === null || feed === void 0 ? void 0 : feed.missiondescription) === null || _m === void 0 ? void 0 : _m.todo) === null || _o === void 0 ? void 0 : _o.description : null) || entry.pollTitle || (!feed.pollChartDefinition ? feed.pollTitle : null);
|
|
34217
34699
|
}
|
|
34218
34700
|
if (feed.pollIsLong && modalMode && !feed.description) {
|
|
34219
|
-
entry.description = ((
|
|
34701
|
+
entry.description = ((_p = feed.poll) === null || _p === void 0 ? void 0 : _p.title) || (feed === null || feed === void 0 ? void 0 : feed.pollTitle);
|
|
34220
34702
|
}
|
|
34221
34703
|
if (entry.description && entry.description !== '' && !entry.description.includes('<iframe') && !entry.description.includes('http')) {
|
|
34222
34704
|
entry.description = translateMulti(entry.description);
|
|
@@ -34228,7 +34710,7 @@ function getCardFeedEntryFromFeed(item, host, modalMode, preview) {
|
|
|
34228
34710
|
entry.scheduledDate = dateFormat(item.startDate, 'L LT');
|
|
34229
34711
|
}
|
|
34230
34712
|
const isDisplayingPollTitle = !feed.description && feed.pollTitle;
|
|
34231
|
-
if (item.enableTranslation && ((
|
|
34713
|
+
if (item.enableTranslation && ((_q = entry.description) === null || _q === void 0 ? void 0 : _q.length) < MAX_FORM_TRANSLATE_VALUE && item.userLanguage !== getCurrentLanguage() && !isDisplayingPollTitle && entry.description) {
|
|
34232
34714
|
entry.translationCallback = async () => {
|
|
34233
34715
|
let text = feed.descriptionTranslated;
|
|
34234
34716
|
if (!text) {
|
|
@@ -36243,6 +36725,20 @@ async function getImageScaleFactor(options) {
|
|
|
36243
36725
|
const { width, height } = imgSize || await getImageSize(src, onErr);
|
|
36244
36726
|
return parseFloat((Math.min((maxWidth / width), (maxHeight / height))).toFixed(2));
|
|
36245
36727
|
}
|
|
36728
|
+
function getMaxViewPortImage(host, isPreview) {
|
|
36729
|
+
const getMaxBound = (boundType) => {
|
|
36730
|
+
var _a, _b, _c, _d, _e;
|
|
36731
|
+
return (host === null || host === void 0 ? void 0 : host[`client${boundType}`]) ||
|
|
36732
|
+
((_c = (_b = (_a = host === null || host === void 0 ? void 0 : host.parentElement) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.content-container')) === null || _c === void 0 ? void 0 : _c[`client${boundType}`]) ||
|
|
36733
|
+
((_d = host === null || host === void 0 ? void 0 : host.parentElement) === null || _d === void 0 ? void 0 : _d[`client${boundType}`]) ||
|
|
36734
|
+
(!isPreview ? (_e = host === null || host === void 0 ? void 0 : host.closest('.modal-wrapper')) === null || _e === void 0 ? void 0 : _e[`client${boundType}`] : 0) ||
|
|
36735
|
+
window[`inner${boundType}`];
|
|
36736
|
+
};
|
|
36737
|
+
return {
|
|
36738
|
+
width: getMaxBound('Width'),
|
|
36739
|
+
height: getMaxBound('Height')
|
|
36740
|
+
};
|
|
36741
|
+
}
|
|
36246
36742
|
const getFormattedImageURL = (url) => {
|
|
36247
36743
|
let result = Array.isArray(url) && url.length ? url[0] : url;
|
|
36248
36744
|
if (result) {
|
|
@@ -40253,7 +40749,7 @@ function isKeyInArray(isKeyPresent, key, itemsToCheck, updateKey, formDynamic) {
|
|
|
40253
40749
|
const removeSymbolKey = key.slice(1, key.length - 1);
|
|
40254
40750
|
itemsToCheck = itemsToCheck.map((item) => {
|
|
40255
40751
|
if ((item && item === key) || (item === removeSymbolKey && (!updateKey || !(updateKey === null || updateKey === void 0 ? void 0 : updateKey.blockRemoveSymbol)))) {
|
|
40256
|
-
if (updateKey === null || updateKey === void 0 ? void 0 : updateKey.key) {
|
|
40752
|
+
if ((updateKey === null || updateKey === void 0 ? void 0 : updateKey.key) || (updateKey === null || updateKey === void 0 ? void 0 : updateKey.key) === '') {
|
|
40257
40753
|
item = updateKey.key;
|
|
40258
40754
|
}
|
|
40259
40755
|
isKeyPresent = true;
|
|
@@ -54379,7 +54875,7 @@ function canPerformActionPlan(mission, session = getSession()) {
|
|
|
54379
54875
|
const isOwnerRef = mission.ownerRef === session.userId;
|
|
54380
54876
|
// In the case of an Action Plan created from a campaign, we allow an empty list of actions.
|
|
54381
54877
|
// If the list of actions is not empty, we apply the default rules of the Action Plans.
|
|
54382
|
-
const isAnnouncement =
|
|
54878
|
+
const isAnnouncement = isCampaignTodo(mission.description);
|
|
54383
54879
|
if (isAnnouncement && session && (!mission.todo || !((_a = mission.todo.values) === null || _a === void 0 ? void 0 : _a.length))) {
|
|
54384
54880
|
// The user can perform the AP if there is no ownerRef or if he is the ownerRef
|
|
54385
54881
|
return hasNoOwnerRef || isOwnerRef;
|
|
@@ -54504,7 +55000,7 @@ function isUserIntoWorkflowStepRoles(step, session = getSession()) {
|
|
|
54504
55000
|
}
|
|
54505
55001
|
function getTodoCampaignPhotos(mission) {
|
|
54506
55002
|
var _a;
|
|
54507
|
-
if (
|
|
55003
|
+
if (isCampaignTodo(mission === null || mission === void 0 ? void 0 : mission.description)) {
|
|
54508
55004
|
return (_a = (mission.description)) === null || _a === void 0 ? void 0 : _a.photosSrc;
|
|
54509
55005
|
}
|
|
54510
55006
|
return [];
|
|
@@ -59410,4 +59906,4 @@ async function dismiss(modal, data, role, overlayDismiss, animationFn) {
|
|
|
59410
59906
|
modal.host.remove();
|
|
59411
59907
|
}
|
|
59412
59908
|
|
|
59413
|
-
export { getCourseProgress as $, isWeb as A, Back as B, debounce as C, querySelectorDeep as D, Elastic as E, findDevice as F, isIphoneX as G, isIOS as H, setAnimation as I, animations as J, getCssColor as K, startOf as L, isDateBefore as M, dateDiffInCalendarDays as N, isDateAfter as O, getAsyncExtraData as P, findParent as Q, isNativeFilePath as R, ScreenOrientation as S, cleanupWKWebViewFilePath as T, Cloudinary as U, getProtocol as V, CloudinaryGradientLayer as W, isNullOrUndefined as X, YOOBICON_ENTITIES_MAP as Y, translateMulti as Z, __extends$9 as _, getDeviceType as a, findField as a$, getCourseFinishedItemsCount as a0, getPlanTotalItemsCount as a1, getPlanDueDate as a2, getSession as a3, getIncentiveState as a4, appendIncentiveUnit as a5, getParticipantsScore as a6, getUserDisplayName as a7, getClosestImageRatio as a8, floatingIconAnimation as a9, toButton as aA, toDate as aB, capitalizeFirstLetter as aC, showContextMenu as aD, hideKeyboard as aE, getDefaultAudience as aF, isTextField as aG, dateIsValid as aH, isPresent as aI, dateSub as aJ, dateAdd as aK, Keyboard as aL, getHours as aM, getMinutes as aN, setDateHours as aO, setDateMinutes as aP, getUUID as aQ, Draggable as aR, gsapTo as aS, gsapSet as aT, gsapFromTo as aU, isImageUrl as aV, updateTranslationKey as aW, checkIfKeyIsInPage as aX, removeScoringSelectedFields as aY, serializeScores as aZ, setFieldIconAndCategory as a_, disableKeyboardResize as aa, enableKeyboardResize as ab, isNotificationMessage as ac, isRichContentMessage as ad, showAlert as ae, showActionSheet as af, isVideo as ag, isGif as ah, isImage as ai, downloadFile as aj, dateFormat as ak, dispatchCustomEvent as al, is24Hour as am, isFile as an, replaceAtTagToMentionTag as ao, replaceAllLinks as ap, parseLongIntoDate as aq, pipes as ar, copyToClipboard as as, formatDistanceFromNow as at, getLanguageKey as au, isCloudinaryLink as av, getCurrentLanguage as aw, parseMarkDown as ax, isPhotoEdited as ay, changeExtension as az, getOS as b, loadScript as b$, CURVE_EASE_OUT_QUAD as b0, changeSelectedScoring as b1, hasImageRecognitionFields as b2, calculateScoringTotal as b3, formatSlides as b4, showToast as b5, checkIfKeyIsInField as b6, removeParentCondition as b7, populateScoringFields as b8, isFieldNameUnique as b9, escapeRegExp as bA, slenderizeObject as bB, getFormulaReplacement as bC, isDateTimeField as bD, formatTranslation as bE, MAX_TAGS_CHARACTERS as bF, filterListByText as bG, toSeconds as bH, dateDiff as bI, isCampaignRecurring as bJ, getProductBatchDelayInDays as bK, fromNow as bL, getWaitlistVisitLastAlertDate as bM, isCampaignActive as bN, screenOrientationUnlock as bO, screenOrientationLock as bP, getLocaleVariantScormCloudId as bQ, isSafari as bR, Power1 as bS, endOf as bT, dateParse as bU, isTabletOrIpad as bV, getVariantValue as bW, isYoutubeSource as bX, isDailymotionSource as bY, isVimeoSource as bZ, StatusBar as b_, getCustomName as ba, getScoringCategory as bb, formatScoringValuePairs as bc, findMultiMaxScore as bd, generateUniqueKey as be, truncateMarkdown as bf, isValueATranslationKey as bg, isValueALegacyTranslationKey as bh, getDatesFromDateRange as bi, getDatesRangeDisplay as bj, getMedia as bk, isPointInsidePlan as bl, isOffline as bm, getKeyToCache as bn, hexToRgbArray as bo, isTranslationKey as bp, getContrastColor as bq, scaleUpAnimation as br, convertSvgToBase64 as bs, evalInContext as bt, evalConditionsInContext as bu, getNameAndData as bv, getFieldsFromSlides as bw, getFieldValue as bx, getFieldReplacement as by, getSessionReplacementValue as bz, __assign as c,
|
|
59909
|
+
export { getCourseProgress as $, isWeb as A, Back as B, debounce as C, querySelectorDeep as D, Elastic as E, findDevice as F, isIphoneX as G, isIOS as H, setAnimation as I, animations as J, getCssColor as K, startOf as L, isDateBefore as M, dateDiffInCalendarDays as N, isDateAfter as O, getAsyncExtraData as P, findParent as Q, isNativeFilePath as R, ScreenOrientation as S, cleanupWKWebViewFilePath as T, Cloudinary as U, getProtocol as V, CloudinaryGradientLayer as W, isNullOrUndefined as X, YOOBICON_ENTITIES_MAP as Y, translateMulti as Z, __extends$9 as _, getDeviceType as a, findField as a$, getCourseFinishedItemsCount as a0, getPlanTotalItemsCount as a1, getPlanDueDate as a2, getSession as a3, getIncentiveState as a4, appendIncentiveUnit as a5, getParticipantsScore as a6, getUserDisplayName as a7, getClosestImageRatio as a8, floatingIconAnimation as a9, toButton as aA, toDate as aB, capitalizeFirstLetter as aC, showContextMenu as aD, hideKeyboard as aE, getDefaultAudience as aF, isTextField as aG, dateIsValid as aH, isPresent as aI, dateSub as aJ, dateAdd as aK, Keyboard as aL, getHours as aM, getMinutes as aN, setDateHours as aO, setDateMinutes as aP, getUUID as aQ, Draggable as aR, gsapTo as aS, gsapSet as aT, gsapFromTo as aU, isImageUrl as aV, updateTranslationKey as aW, checkIfKeyIsInPage as aX, removeScoringSelectedFields as aY, serializeScores as aZ, setFieldIconAndCategory as a_, disableKeyboardResize as aa, enableKeyboardResize as ab, isNotificationMessage as ac, isRichContentMessage as ad, showAlert as ae, showActionSheet as af, isVideo as ag, isGif as ah, isImage as ai, downloadFile as aj, dateFormat as ak, dispatchCustomEvent as al, is24Hour as am, isFile as an, replaceAtTagToMentionTag as ao, replaceAllLinks as ap, parseLongIntoDate as aq, pipes as ar, copyToClipboard as as, formatDistanceFromNow as at, getLanguageKey as au, isCloudinaryLink as av, getCurrentLanguage as aw, parseMarkDown as ax, isPhotoEdited as ay, changeExtension as az, getOS as b, loadScript as b$, CURVE_EASE_OUT_QUAD as b0, changeSelectedScoring as b1, hasImageRecognitionFields as b2, calculateScoringTotal as b3, formatSlides as b4, showToast as b5, checkIfKeyIsInField as b6, removeParentCondition as b7, populateScoringFields as b8, isFieldNameUnique as b9, escapeRegExp as bA, slenderizeObject as bB, getFormulaReplacement as bC, isDateTimeField as bD, formatTranslation as bE, MAX_TAGS_CHARACTERS as bF, filterListByText as bG, toSeconds as bH, dateDiff as bI, isCampaignRecurring as bJ, getProductBatchDelayInDays as bK, fromNow as bL, getWaitlistVisitLastAlertDate as bM, isCampaignActive as bN, screenOrientationUnlock as bO, screenOrientationLock as bP, getLocaleVariantScormCloudId as bQ, isSafari as bR, Power1 as bS, endOf as bT, dateParse as bU, isTabletOrIpad as bV, getVariantValue as bW, isYoutubeSource as bX, isDailymotionSource as bY, isVimeoSource as bZ, StatusBar as b_, getCustomName as ba, getScoringCategory as bb, formatScoringValuePairs as bc, findMultiMaxScore as bd, generateUniqueKey as be, truncateMarkdown as bf, isValueATranslationKey as bg, isValueALegacyTranslationKey as bh, getDatesFromDateRange as bi, getDatesRangeDisplay as bj, getMedia as bk, isPointInsidePlan as bl, isOffline as bm, getKeyToCache as bn, hexToRgbArray as bo, isTranslationKey as bp, getContrastColor as bq, scaleUpAnimation as br, convertSvgToBase64 as bs, evalInContext as bt, evalConditionsInContext as bu, getNameAndData as bv, getFieldsFromSlides as bw, getFieldValue as bx, getFieldReplacement as by, getSessionReplacementValue as bz, __assign as c, showRename as c$, getIncentiveTargetHighestMilestone as c0, getIncentiveProgressBase as c1, getIncentiveProgressOf as c2, getIncentiveProgress as c3, filter as c4, not$1 as c5, raceWith as c6, argsOrArgArray as c7, Subject as c8, Subscription as c9, isContentOnly as cA, getConfidencePoints as cB, getConfidenceDescriptionKey as cC, showRatingDialog as cD, isPdf as cE, answerIsValid as cF, getCorrectAnswersCount as cG, updateSVGCustomColors as cH, isQuiz as cI, setStatusBarDarkMode as cJ, isChrome as cK, removeKeyboardEventListeners as cL, addKeyboardEventListener as cM, isMemoEditable as cN, getTodoCampaignPhotos as cO, isToday as cP, fromToday as cQ, getMissionPublicationDate as cR, isDateSame as cS, isMissionBookable as cT, canParticipateTo as cU, canPerformActionPlan as cV, getAuthentication as cW, getDownloadAction as cX, salesAIGetColorFromPattern as cY, salesAIFormatDemand as cZ, gsapFrom as c_, Observable as ca, merge$1 as cb, share as cc, process_1 as cd, fromEvent as ce, getMediaType as cf, isMedia as cg, isBase64 as ch, File$1 as ci, hasWebCam as cj, replaceAndGetAllLinks as ck, addFilePrefix as cl, read as cm, keepAwake as cn, moveToImageDirectory as co, vibrateHapticMedium as cp, cordova$1 as cq, AwesomeCordovaNativePlugin as cr, cordovaPropertyGet as cs, cordovaPropertySet as ct, registerPlugin as cu, isIonic as cv, Device as cw, getMediaDevices as cx, getChartTypes as cy, minsToMinsAndSecs as cz, __spreadArray as d, utc as d$, getTranslatedAttribute as d0, setSecuredContent as d1, require$$2 as d2, getExtension as d3, urlToFileBlob as d4, b64ToFile as d5, convertSrtToWebVTT as d6, getVideoPoster as d7, replaceSVGColors as d8, getPeriodOfDay as d9, getDialogPosition as dA, getLocaleTranslation as dB, isHTML as dC, isDocument as dD, isAudio as dE, isUnsplashUrl as dF, getResizedImageSize as dG, showMessageInfoDialog as dH, getAudioDuration as dI, isChatMessageTypeMedia as dJ, getFormCapturedFileSize as dK, isLenovo as dL, updatePathSessionId as dM, getMimeType as dN, hasLargeFile as dO, audios as dP, PhotoLibrary as dQ, isSurface as dR, isFirefox as dS, saveToLocalFile as dT, removeFileAtPath as dU, safeScrollIntoView as dV, getPermissions as dW, isPlanInFuture as dX, groupsResolver as dY, aclRolesResolver as dZ, toHours as d_, isZebraScanner as da, present as db, dismiss as dc, MODAL_BASE_ZINDEX as dd, fadeScaleAnimation as de, isAnimationsDisabled as df, slideExpandAnimation as dg, scaleAnimation as dh, slideAnimation as di, getTranslateLanguageKeys as dj, Power3 as dk, findMaxScore as dl, isNotApplicable as dm, cleanUnusedTranslations as dn, updateScoringWithTranslations as dp, updateAuditWithTranslations as dq, generateYoobicQRCode as dr, getCustomApp as ds, images as dt, videos as du, getColorSwatches as dv, asyncWaterfall as dw, updateLinkPreviews as dx, isKeyboardResizeModeInactive as dy, getRoundedMinutes as dz, compareAsc as e, getCardFeedEntryFromFeed as e$, convertSecondsToTimeUnits as e0, showScanner as e1, setDateSeconds as e2, setDateMilliseconds as e3, roundToNearestMinutes as e4, getWeekDays as e5, resetTime as e6, getYear as e7, day as e8, isSameMonth as e9, fadeFromBottom as eA, fadeFromTop as eB, isDeeplink as eC, componentOnReady as eD, isCurrentLanguageChinese as eE, getEventStatusInfo as eF, getPlanStartDate as eG, isPlanRatingEnabled as eH, getPlanTypeTagProps as eI, isCampaignFeed as eJ, removeTextStyle as eK, isCampaignTodo as eL, hasAttachment as eM, canBeRetried as eN, isLessonCompleted as eO, getLessonTypeIcon as eP, mapKpiData as eQ, isValid$1 as eR, resizeImage as eS, getRandomFileName as eT, FileSaver_min as eU, getMonths as eV, isTruncated as eW, getType as eX, replaceTextWithRichContent as eY, getMediaSrcAndType as eZ, getFormatedDate as e_, isDateSameOrAfter as ea, isDateSameOrBefore as eb, isTimedQuiz as ec, isConfidenceAssessment as ed, isVisible as ee, hasValue as ef, getDistance as eg, isFieldWithDirectValue as eh, isFieldWithNoValue as ei, updateDatasetFilters as ej, getConfidenceEmoji as ek, isSamsung as el, isPhotoOrMultiPhotosField as em, isChromeForIos as en, getTimeOneLetterFormat as eo, isYoobicSecuredDocTenant as ep, getURLs as eq, guessCurrentTimezone as er, TIMEZONES as es, HorizontalSlidesAnimation as et, MONGODB_ID_REGEX as eu, isMapField as ev, isForceScrollbar as ew, getStartDayOfWeek as ex, getUrlParameterByName as ey, getEventTypeColor as ez, isSameDate as f, getCampaignConfigsForFeed as f0, getIncentiveConfigsForFeed as f1, getCardFeedEntryFromQuestion as f2, getEventConfigsFromEvent as f3, getMediaSrcFromFeed as f4, canAccessReadReceipt as f5, getWorkflowProgress as f6, getRandomSwatchColor as f7, getCampaignIcon as f8, getCampaignColor as f9, applyViewBox as fA, getFormattedImageURL as fB, urlToBlob as fC, getContrastColorName as fD, getTransformInfos as fE, getMaxViewPortImage as fF, getImageSize as fG, getImageScaleFactor as fH, WebPlugin as fI, ImpactStyle as fJ, NotificationType as fK, CapacitorException as fL, getUserTags as fa, fileHasIcon as fb, getIconName as fc, getIconColor as fd, getLanguageFlag as fe, getDashboardTags as ff, getRoleTitle as fg, getMobileFieldIcon as fh, isCampaignAnnouncementByUser as fi, getCommunityKpis as fj, changeHexOpacity as fk, isDocumentDownloadSupported as fl, showDocumentDownloadOptions as fm, openBase64File as fn, toPng as fo, isDocumentEmailSupported as fp, getNativeDirectory as fq, fileNativeCheckFile as fr, downloadFileToDevice as fs, Linear as ft, closeMenuModal as fu, isMouseInBoundaries as fv, removeMarkdown as fw, getFeedLikes as fx, extractTextFromStringHTML as fy, isElementClicked as fz, getGrade as g, isFullScreenFalse as h, isChromatic as i, isNativeMobile as j, isAndroid as k, isIpadPro as l, isIpad as m, isTablet as n, loadTranslations as o, closeModal as p, gsapTimeline as q, requestInterval as r, setCurrentLanguage as s, translate as t, getFormattedCountDownToDisplay as u, cancelRequestInterval as v, isIphone5 as w, isIphoneSE as x, getModalAnimation as y, showModal as z };
|