@sparkle-learning/core 0.0.57 → 0.0.59
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/PrivateRoute-f97245ce.js +217 -0
- package/dist/cjs/active-router-f9e18bd8.js +75 -0
- package/dist/cjs/animation-ee586546.js +986 -0
- package/dist/cjs/app-globals-33c9f31b.js +9 -0
- package/dist/cjs/appdata.service-c8d71e05.js +73 -0
- package/dist/cjs/assets.service-bfa75092.js +50 -0
- package/dist/cjs/assignment.service-690fb59c.js +19 -0
- package/dist/cjs/auth.store-1e630a7d.js +3392 -0
- package/dist/cjs/compass-svg.cjs.entry.js +132 -0
- package/dist/cjs/context-consumer.cjs.entry.js +29 -0
- package/dist/cjs/course-select.cjs.entry.js +30 -0
- package/dist/cjs/cubic-bezier-53d26d05.js +93 -0
- package/dist/cjs/dir-5af5259a.js +20 -0
- package/dist/cjs/environment-config.service-c8ff1f3d.js +28 -0
- package/dist/cjs/facilitator.service-ff0e1659.js +95 -0
- package/dist/cjs/feed.service-8eca4de6.js +57 -0
- package/dist/cjs/focus-visible-b0b07ba6.js +76 -0
- package/dist/cjs/framework-delegate-59a98abd.js +111 -0
- package/dist/cjs/gesture-controller-0eb5579e.js +196 -0
- package/dist/cjs/haptic-780f33c4.js +116 -0
- package/dist/cjs/hardware-back-button-92d97ff8.js +76 -0
- package/dist/cjs/header-mobile-collapse_61.cjs.entry.js +15124 -0
- package/dist/cjs/helpers-c2496722.js +425 -0
- package/dist/cjs/httpService-d2e7bf8f.js +687 -0
- package/dist/cjs/icons-fda820af.js +26 -0
- package/dist/cjs/index-12082cba.js +465 -0
- package/dist/cjs/index-15ea05f5.js +314 -0
- package/dist/cjs/index-51e8292e.js +1928 -0
- package/dist/cjs/index-787d4498.js +232 -0
- package/dist/cjs/index-8b5629a6.js +186 -0
- package/dist/cjs/index-975586fd.js +48 -0
- package/dist/cjs/index-9c7b27e4.js +140 -0
- package/dist/cjs/index-af080b50.js +139 -0
- package/dist/cjs/index-e56e09b8.js +38 -0
- package/dist/cjs/index.cjs.js +26 -0
- package/dist/cjs/index.es-38cbcdbe.js +10666 -0
- package/dist/cjs/input-shims-eff63b88.js +418 -0
- package/dist/cjs/ion-accordion-group.cjs.entry.js +205 -0
- package/dist/cjs/ion-accordion.cjs.entry.js +336 -0
- package/dist/cjs/ion-action-sheet_7.cjs.entry.js +2935 -0
- package/dist/cjs/ion-app.cjs.entry.js +79 -0
- package/dist/cjs/ion-back-button.cjs.entry.js +94 -0
- package/dist/cjs/ion-backdrop.cjs.entry.js +67 -0
- package/dist/cjs/ion-badge.cjs.entry.js +29 -0
- package/dist/cjs/ion-breadcrumb.cjs.entry.js +95 -0
- package/dist/cjs/ion-breadcrumbs.cjs.entry.js +133 -0
- package/dist/cjs/ion-buttons_3.cjs.entry.js +153 -0
- package/dist/cjs/ion-card-header.cjs.entry.js +37 -0
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +30 -0
- package/dist/cjs/ion-card-title.cjs.entry.js +30 -0
- package/dist/cjs/ion-chip.cjs.entry.js +40 -0
- package/dist/cjs/ion-content_2.cjs.entry.js +659 -0
- package/dist/cjs/ion-datetime-button.cjs.entry.js +312 -0
- package/dist/cjs/ion-datetime.cjs.entry.js +1623 -0
- package/dist/cjs/ion-fab-button.cjs.entry.js +108 -0
- package/dist/cjs/ion-fab-list.cjs.entry.js +45 -0
- package/dist/cjs/ion-fab.cjs.entry.js +76 -0
- package/dist/cjs/ion-footer.cjs.entry.js +120 -0
- package/dist/cjs/ion-img.cjs.entry.js +101 -0
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +37 -0
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +206 -0
- package/dist/cjs/ion-item-divider.cjs.entry.js +40 -0
- package/dist/cjs/ion-item-group.cjs.entry.js +31 -0
- package/dist/cjs/ion-item-option.cjs.entry.js +60 -0
- package/dist/cjs/ion-item-options.cjs.entry.js +47 -0
- package/dist/cjs/ion-item-sliding.cjs.entry.js +398 -0
- package/dist/cjs/ion-loading.cjs.entry.js +215 -0
- package/dist/cjs/ion-menu-button.cjs.entry.js +76 -0
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +47 -0
- package/dist/cjs/ion-menu.cjs.entry.js +575 -0
- package/dist/cjs/ion-modal.cjs.entry.js +1711 -0
- package/dist/cjs/ion-nav-link.cjs.entry.js +47 -0
- package/dist/cjs/ion-nav.cjs.entry.js +872 -0
- package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +808 -0
- package/dist/cjs/ion-picker-column.cjs.entry.js +331 -0
- package/dist/cjs/ion-picker.cjs.entry.js +221 -0
- package/dist/cjs/ion-progress-bar.cjs.entry.js +74 -0
- package/dist/cjs/ion-refresher-content.cjs.entry.js +35 -0
- package/dist/cjs/ion-refresher.cjs.entry.js +802 -0
- package/dist/cjs/ion-reorder-group.cjs.entry.js +281 -0
- package/dist/cjs/ion-reorder.cjs.entry.js +38 -0
- package/dist/cjs/ion-route-redirect.cjs.entry.js +24 -0
- package/dist/cjs/ion-route.cjs.entry.js +49 -0
- package/dist/cjs/ion-router-link.cjs.entry.js +38 -0
- package/dist/cjs/ion-router-outlet.cjs.entry.js +200 -0
- package/dist/cjs/ion-router.cjs.entry.js +831 -0
- package/dist/cjs/ion-searchbar.cjs.entry.js +370 -0
- package/dist/cjs/ion-segment-button.cjs.entry.js +102 -0
- package/dist/cjs/ion-segment.cjs.entry.js +417 -0
- package/dist/cjs/ion-skeleton-text.cjs.entry.js +33 -0
- package/dist/cjs/ion-slide.cjs.entry.js +25 -0
- package/dist/cjs/ion-slides.cjs.entry.js +391 -0
- package/dist/cjs/ion-split-pane.cjs.entry.js +154 -0
- package/dist/cjs/ion-tab-bar.cjs.entry.js +75 -0
- package/dist/cjs/ion-tab-button.cjs.entry.js +103 -0
- package/dist/cjs/ion-tab.cjs.entry.js +59 -0
- package/dist/cjs/ion-tabs.cjs.entry.js +154 -0
- package/dist/cjs/ion-thumbnail.cjs.entry.js +20 -0
- package/dist/cjs/ion-toast.cjs.entry.js +272 -0
- package/dist/cjs/ion-toggle.cjs.entry.js +177 -0
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +555 -0
- package/dist/cjs/ionic-global-2cde9d3a.js +231 -0
- package/dist/cjs/ios.transition-da235483.js +482 -0
- package/dist/cjs/keyboard-91096619.js +140 -0
- package/dist/cjs/loader.cjs.js +24 -0
- package/dist/cjs/localstorage.service-6346a41d.js +40 -0
- package/dist/cjs/md.transition-be429e07.js +57 -0
- package/dist/cjs/media.service-8a1b9bc5.js +40 -0
- package/dist/cjs/menu-toggle-util-7a01448c.js +14 -0
- package/dist/cjs/overlays-32df265a.js +507 -0
- package/dist/cjs/parse-d0071120.js +1237 -0
- package/dist/cjs/purify-fb9c107e.js +1468 -0
- package/dist/cjs/signalR.service-bd6b42f9.js +2985 -0
- package/dist/cjs/sparkle-animation-player.cjs.entry.js +515 -0
- package/dist/cjs/sparkle-assignment.cjs.entry.js +110 -0
- package/dist/cjs/sparkle-character-intro.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-code.cjs.entry.js +43 -0
- package/dist/cjs/sparkle-compass-post.cjs.entry.js +133 -0
- package/dist/cjs/sparkle-compass.cjs.entry.js +126 -0
- package/dist/cjs/sparkle-core.cjs.js +22 -0
- package/dist/cjs/sparkle-discussion-questions_2.cjs.entry.js +281 -0
- package/dist/cjs/sparkle-discussion.cjs.entry.js +42 -0
- package/dist/cjs/sparkle-emoji.cjs.entry.js +80 -0
- package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +121 -0
- package/dist/cjs/sparkle-feed-post.cjs.entry.js +122 -0
- package/dist/cjs/sparkle-feedback.cjs.entry.js +101 -0
- package/dist/cjs/sparkle-file-upload.cjs.entry.js +53 -0
- package/dist/cjs/sparkle-goal-form.cjs.entry.js +179 -0
- package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-gww-graph.cjs.entry.js +19 -0
- package/dist/cjs/sparkle-input.cjs.entry.js +56 -0
- package/dist/cjs/sparkle-intro.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +22 -0
- package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +46 -0
- package/dist/cjs/sparkle-modal-image.cjs.entry.js +34 -0
- package/dist/cjs/sparkle-notfound-page.cjs.entry.js +25 -0
- package/dist/cjs/sparkle-overlay.cjs.entry.js +92 -0
- package/dist/cjs/sparkle-poll.cjs.entry.js +19 -0
- package/dist/cjs/sparkle-quiz-container.cjs.entry.js +47 -0
- package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +117 -0
- package/dist/cjs/sparkle-quiz-old.cjs.entry.js +120 -0
- package/dist/cjs/sparkle-quiz.cjs.entry.js +103 -0
- package/dist/cjs/sparkle-select.cjs.entry.js +61 -0
- package/dist/cjs/sparkle-sidebar.cjs.entry.js +43 -0
- package/dist/cjs/sparkle-tab.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +71 -0
- package/dist/cjs/sparkle-tabs.cjs.entry.js +66 -0
- package/dist/cjs/sparkle-video-player.cjs.entry.js +22 -0
- package/dist/cjs/sparkle-youtube.cjs.entry.js +39 -0
- package/dist/cjs/spinner-configs-0ac05f2d.js +147 -0
- package/dist/cjs/status-tap-033befa2.js +42 -0
- package/dist/cjs/stencil-async-content.cjs.entry.js +32 -0
- package/dist/cjs/stencil-route-title.cjs.entry.js +32 -0
- package/dist/cjs/stencil-router-prompt.cjs.entry.js +59 -0
- package/dist/cjs/student.service-7e5385be.js +78 -0
- package/dist/cjs/swipe-back-4a826f9b.js +76 -0
- package/dist/cjs/swiper.bundle-8c897c07.js +6420 -0
- package/dist/cjs/theme-b0b295c1.js +48 -0
- package/dist/cjs/token.service-7a41953d.js +97 -0
- package/dist/cjs/util-47e320b2.js +2462 -0
- package/dist/collection/PrivateRoute.js +27 -0
- package/dist/collection/appconst.js +13 -0
- package/dist/collection/assets/img/forward.svg +5 -0
- package/dist/collection/assets/img/help/fitt-logo.svg +1 -0
- package/dist/collection/assets/img/home/big-white-wall.svg +15 -0
- package/dist/collection/assets/img/home/find-help.svg +23 -0
- package/dist/collection/assets/img/home/lessons.svg +26 -0
- package/dist/collection/assets/img/home/my-goals.svg +19 -0
- package/dist/collection/assets/img/home/my-health.svg +17 -0
- package/dist/collection/assets/img/home/my-mood.svg +26 -0
- package/dist/collection/assets/img/pause.svg +5 -0
- package/dist/collection/assets/img/play-symbol.svg +8 -0
- package/dist/collection/assets/img/play.svg +4 -0
- package/dist/collection/assets/img/rewind.svg +5 -0
- package/dist/collection/assets/lib/SignalRAspNetCoreHelper.js +17 -0
- package/dist/collection/assets/lib/sparkleUtility.js +8 -0
- package/dist/collection/assets/svg/profile.svg +2 -0
- package/dist/collection/collection-manifest.json +219 -0
- package/dist/collection/components/compass-svg/compass-svg.css +15 -0
- package/dist/collection/components/compass-svg/compass-svg.js +156 -0
- package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.css +7 -0
- package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.js +110 -0
- package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.css +3 -0
- package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.js +214 -0
- package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header-mobile-collapse/facilitator-header-mobile-collapse.js +0 -0
- package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.css +172 -0
- package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.js +104 -0
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.css +3 -0
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.js +144 -0
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.css +14 -0
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.js +64 -0
- package/dist/collection/components/layout/facilitator/facilitator-page.css +196 -0
- package/dist/collection/components/layout/facilitator/facilitator-page.js +281 -0
- package/dist/collection/components/layout/facilitator/online-students/online-students.css +0 -0
- package/dist/collection/components/layout/facilitator/online-students/online-students.js +70 -0
- package/dist/collection/components/layout/page/page.css +183 -0
- package/dist/collection/components/layout/page/page.js +321 -0
- package/dist/collection/components/layout/page/templates/default.js +9 -0
- package/dist/collection/components/layout/page/templates/error.js +33 -0
- package/dist/collection/components/layout/page/templates/index.js +8 -0
- package/dist/collection/components/layout/page/templates/pdf.js +8 -0
- package/dist/collection/components/layout/page/to-hypertext.js +27 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.css +3 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.js +252 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.css +12 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.js +59 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.css +33 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.js +37 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.css +8 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.js +40 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.css +7 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.js +52 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.css +3 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.js +14 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.css +30 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.js +187 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.css +3 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.js +43 -0
- package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.css +10 -0
- package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.js +111 -0
- package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.css +11 -0
- package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.js +127 -0
- package/dist/collection/components/modal-image/modal-image.css +61 -0
- package/dist/collection/components/modal-image/modal-image.js +159 -0
- package/dist/collection/components/sparkle-animation-player/assets/play-button-disabled-overlay.png +0 -0
- package/dist/collection/components/sparkle-animation-player/assets/play-button-overlay.png +0 -0
- package/dist/collection/components/sparkle-animation-player/caption-parser.js +94 -0
- package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.css +157 -0
- package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +598 -0
- package/dist/collection/components/sparkle-assignment/sparkle-assignment.css +30 -0
- package/dist/collection/components/sparkle-assignment/sparkle-assignment.js +159 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/character-img.jpg +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/jen.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/kimberly.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/valeria.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/yuna.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/zynab.png +0 -0
- package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.css +74 -0
- package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.js +68 -0
- package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.css +35 -0
- package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.js +171 -0
- package/dist/collection/components/sparkle-compass/sparkle-compass.css +25 -0
- package/dist/collection/components/sparkle-compass/sparkle-compass.js +283 -0
- package/dist/collection/components/sparkle-course-root/sparkle-course-root.css +3 -0
- package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +196 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.css +157 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.js +232 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.css +158 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.js +274 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion.css +5 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion.js +112 -0
- package/dist/collection/components/sparkle-emoji/sparkle-emoji.css +16 -0
- package/dist/collection/components/sparkle-emoji/sparkle-emoji.js +116 -0
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +35 -0
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +199 -0
- package/dist/collection/components/sparkle-feedback/sparkle-feedback.css +3 -0
- package/dist/collection/components/sparkle-feedback/sparkle-feedback.js +118 -0
- package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.css +0 -0
- package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.js +105 -0
- package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.css +4 -0
- package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.js +107 -0
- package/dist/collection/components/sparkle-input/sparkle-input.css +0 -0
- package/dist/collection/components/sparkle-input/sparkle-input.js +212 -0
- package/dist/collection/components/sparkle-intro/sparkle-intro.css +15 -0
- package/dist/collection/components/sparkle-intro/sparkle-intro.js +35 -0
- package/dist/collection/components/sparkle-login/sparkle-login.css +4 -0
- package/dist/collection/components/sparkle-login/sparkle-login.js +173 -0
- package/dist/collection/components/sparkle-poll/sparkle-poll.css +3 -0
- package/dist/collection/components/sparkle-poll/sparkle-poll.js +15 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.css +3 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.js +69 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.css +3 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.js +59 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.css +48 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.js +327 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.css +18 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.js +106 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.css +3 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.js +59 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.css +3 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.js +100 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz.css +48 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz.js +221 -0
- package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.css +3 -0
- package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.js +98 -0
- package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.css +3 -0
- package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.js +126 -0
- package/dist/collection/components/sparkle-root/sparkle-root.css +61 -0
- package/dist/collection/components/sparkle-root/sparkle-root.js +86 -0
- package/dist/collection/components/sparkle-signup/sparkle-signup.css +6 -0
- package/dist/collection/components/sparkle-signup/sparkle-signup.js +197 -0
- package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.css +13 -0
- package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.js +18 -0
- package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.css +3 -0
- package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.js +93 -0
- package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.css +54 -0
- package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.js +151 -0
- package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.css +11 -0
- package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.js +44 -0
- package/dist/collection/components/sparkle-video-player/sparkle-video-player.css +0 -0
- package/dist/collection/components/sparkle-video-player/sparkle-video-player.js +92 -0
- package/dist/collection/components/sparkle-youtube/sparkle-youtube.css +24 -0
- package/dist/collection/components/sparkle-youtube/sparkle-youtube.js +99 -0
- package/dist/collection/global/app.js +4 -0
- package/dist/collection/helpers/utils.js +3 -0
- package/dist/collection/icons.js +36 -0
- package/dist/collection/index.js +3 -0
- package/dist/collection/l10n.js +18 -0
- package/dist/collection/models/api.model.js +7 -0
- package/dist/collection/models/assets.model.js +1 -0
- package/dist/collection/models/auth/auth.user.js +1 -0
- package/dist/collection/models/class.model.js +5 -0
- package/dist/collection/models/course.model.js +10 -0
- package/dist/collection/models/definitions.js +1 -0
- package/dist/collection/models/facilitator-dashboard.model.js +5 -0
- package/dist/collection/models/goal.model.js +1 -0
- package/dist/collection/models/index.js +1 -0
- package/dist/collection/models/markdown.model.js +1 -0
- package/dist/collection/models/page.model.js +1 -0
- package/dist/collection/models/quiz.model.js +3 -0
- package/dist/collection/models/user.model.js +1 -0
- package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part1.js +2727 -0
- package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part2.js +2042 -0
- package/dist/collection/services/account.service.js +61 -0
- package/dist/collection/services/appdata.service.js +60 -0
- package/dist/collection/services/assignment.service.js +14 -0
- package/dist/collection/services/auth/auth.service.js +64 -0
- package/dist/collection/services/core/assets.service.js +45 -0
- package/dist/collection/services/core/localstorage.service.js +34 -0
- package/dist/collection/services/environment/environment-config.js +24 -0
- package/dist/collection/services/environment/environment-config.service.js +24 -0
- package/dist/collection/services/facilitator.service.js +76 -0
- package/dist/collection/services/feed.service.js +43 -0
- package/dist/collection/services/httpService.js +103 -0
- package/dist/collection/services/index.js +4 -0
- package/dist/collection/services/media.service.js +29 -0
- package/dist/collection/services/signalR.service.js +83 -0
- package/dist/collection/services/store.service.js +13 -0
- package/dist/collection/services/student.service.js +56 -0
- package/dist/collection/services/token.service.js +79 -0
- package/dist/collection/stores/auth.store.js +12 -0
- package/dist/collection/stores/class.store.js +5 -0
- package/dist/collection/stores/error.store.js +5 -0
- package/dist/collection/stores/facilitator.store.js +15 -0
- package/dist/collection/stores/feed.store.js +8 -0
- package/dist/collection/stores/goal.store.js +7 -0
- package/dist/collection/stores/index.js +1 -0
- package/dist/collection/stores/media.store.js +5 -0
- package/dist/collection/stores/mood.store.js +5 -0
- package/dist/collection/stores/nav.store.js +11 -0
- package/dist/collection/stores/signalR.store.js +6 -0
- package/dist/collection/stores/theme.store.js +9 -0
- package/dist/collection/stores/toc.store.js +5 -0
- package/dist/collection/stores/user.store.js +16 -0
- package/dist/collection/util.js +55 -0
- package/dist/collection/utils.js +92 -0
- package/dist/esm/PrivateRoute-90ac95b8.js +212 -0
- package/dist/esm/active-router-fc9e4e06.js +73 -0
- package/dist/esm/animation-12377cb3.js +984 -0
- package/dist/esm/app-globals-3f0347b0.js +7 -0
- package/dist/esm/appdata.service-2e84e167.js +70 -0
- package/dist/esm/assets.service-def1d63c.js +48 -0
- package/dist/esm/assignment.service-8d31f141.js +17 -0
- package/dist/esm/auth.store-dba2c2da.js +3381 -0
- package/dist/esm/compass-svg.entry.js +128 -0
- package/dist/esm/context-consumer.entry.js +25 -0
- package/dist/esm/course-select.entry.js +26 -0
- package/dist/esm/dir-03012648.js +18 -0
- package/dist/esm/environment-config.service-b191f276.js +26 -0
- package/dist/esm/facilitator.service-18c47bdf.js +92 -0
- package/dist/esm/feed.service-b4f3cae4.js +54 -0
- package/dist/esm/framework-delegate-3e634a5c.js +107 -0
- package/dist/esm/gesture-controller-7be18351.js +194 -0
- package/dist/esm/haptic-522f76f2.js +110 -0
- package/dist/esm/header-mobile-collapse_61.entry.js +15060 -0
- package/dist/esm/helpers-bf0e23d6.js +403 -0
- package/dist/esm/httpService-7986aeed.js +685 -0
- package/dist/esm/icons-1c794c74.js +18 -0
- package/dist/esm/index-21661af2.js +463 -0
- package/dist/esm/index-2b84cad2.js +223 -0
- package/dist/esm/index-4044fde9.js +25 -0
- package/dist/esm/index-45fec1e7.js +184 -0
- package/dist/esm/index-5e8971ae.js +128 -0
- package/dist/esm/index-c04b9ed5.js +1888 -0
- package/dist/esm/index-cded2d87.js +312 -0
- package/dist/esm/index-dad75b83.js +34 -0
- package/dist/esm/index.es-e0c0f891.js +10580 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/input-shims-671d8d9f.js +416 -0
- package/dist/esm/ion-accordion-group.entry.js +201 -0
- package/dist/esm/ion-accordion.entry.js +332 -0
- package/dist/esm/ion-action-sheet_7.entry.js +2925 -0
- package/dist/esm/ion-app.entry.js +75 -0
- package/dist/esm/ion-back-button.entry.js +90 -0
- package/dist/esm/ion-backdrop.entry.js +63 -0
- package/dist/esm/ion-badge.entry.js +25 -0
- package/dist/esm/ion-breadcrumb.entry.js +91 -0
- package/dist/esm/ion-breadcrumbs.entry.js +129 -0
- package/dist/esm/ion-buttons_3.entry.js +147 -0
- package/dist/esm/ion-card-header.entry.js +33 -0
- package/dist/esm/ion-card-subtitle.entry.js +26 -0
- package/dist/esm/ion-card-title.entry.js +26 -0
- package/dist/esm/ion-chip.entry.js +36 -0
- package/dist/esm/ion-content_2.entry.js +654 -0
- package/dist/esm/ion-datetime-button.entry.js +308 -0
- package/dist/esm/ion-datetime.entry.js +1619 -0
- package/dist/esm/ion-fab-button.entry.js +104 -0
- package/dist/esm/ion-fab-list.entry.js +41 -0
- package/dist/esm/ion-fab.entry.js +72 -0
- package/dist/esm/ion-footer.entry.js +116 -0
- package/dist/esm/ion-img.entry.js +97 -0
- package/dist/esm/ion-infinite-scroll-content.entry.js +33 -0
- package/dist/esm/ion-infinite-scroll.entry.js +202 -0
- package/dist/esm/ion-item-divider.entry.js +36 -0
- package/dist/esm/ion-item-group.entry.js +27 -0
- package/dist/esm/ion-item-option.entry.js +56 -0
- package/dist/esm/ion-item-options.entry.js +43 -0
- package/dist/esm/ion-item-sliding.entry.js +394 -0
- package/dist/esm/ion-loading.entry.js +211 -0
- package/dist/esm/ion-menu-button.entry.js +72 -0
- package/dist/esm/ion-menu-toggle.entry.js +43 -0
- package/dist/esm/ion-menu.entry.js +571 -0
- package/dist/esm/ion-modal.entry.js +1707 -0
- package/dist/esm/ion-nav-link.entry.js +43 -0
- package/dist/esm/ion-nav.entry.js +868 -0
- package/dist/esm/ion-picker-column-internal_2.entry.js +803 -0
- package/dist/esm/ion-picker-column.entry.js +327 -0
- package/dist/esm/ion-picker.entry.js +217 -0
- package/dist/esm/ion-progress-bar.entry.js +70 -0
- package/dist/esm/ion-refresher-content.entry.js +31 -0
- package/dist/esm/ion-refresher.entry.js +798 -0
- package/dist/esm/ion-reorder-group.entry.js +277 -0
- package/dist/esm/ion-reorder.entry.js +34 -0
- package/dist/esm/ion-route-redirect.entry.js +20 -0
- package/dist/esm/ion-route.entry.js +45 -0
- package/dist/esm/ion-router-link.entry.js +34 -0
- package/dist/esm/ion-router-outlet.entry.js +196 -0
- package/dist/esm/ion-router.entry.js +827 -0
- package/dist/esm/ion-searchbar.entry.js +366 -0
- package/dist/esm/ion-segment-button.entry.js +98 -0
- package/dist/esm/ion-segment.entry.js +413 -0
- package/dist/esm/ion-skeleton-text.entry.js +29 -0
- package/dist/esm/ion-slide.entry.js +21 -0
- package/dist/esm/ion-slides.entry.js +387 -0
- package/dist/esm/ion-split-pane.entry.js +150 -0
- package/dist/esm/ion-tab-bar.entry.js +71 -0
- package/dist/esm/ion-tab-button.entry.js +99 -0
- package/dist/esm/ion-tab.entry.js +55 -0
- package/dist/esm/ion-tabs.entry.js +150 -0
- package/dist/esm/ion-thumbnail.entry.js +16 -0
- package/dist/esm/ion-toast.entry.js +268 -0
- package/dist/esm/ion-toggle.entry.js +173 -0
- package/dist/esm/ion-virtual-scroll.entry.js +551 -0
- package/dist/esm/ionic-global-4903e23e.js +226 -0
- package/dist/esm/ios.transition-131d64fe.js +479 -0
- package/dist/esm/loader.js +20 -0
- package/dist/esm/md.transition-f6126011.js +55 -0
- package/dist/esm/media.service-6e90bc41.js +37 -0
- package/dist/esm/menu-toggle-util-bace8ae6.js +12 -0
- package/dist/esm/overlays-4233a39d.js +491 -0
- package/dist/esm/parse-1ae3a9bb.js +1196 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/purify-85bfcc69.js +1466 -0
- package/dist/esm/signalR.service-c33fba50.js +2982 -0
- package/dist/esm/sparkle-animation-player.entry.js +511 -0
- package/dist/esm/sparkle-assignment.entry.js +106 -0
- package/dist/esm/sparkle-character-intro.entry.js +22 -0
- package/dist/esm/sparkle-code.entry.js +39 -0
- package/dist/esm/sparkle-compass-post.entry.js +129 -0
- package/dist/esm/sparkle-compass.entry.js +122 -0
- package/dist/esm/sparkle-core.js +20 -0
- package/dist/esm/sparkle-discussion-questions_2.entry.js +276 -0
- package/dist/esm/sparkle-discussion.entry.js +38 -0
- package/dist/esm/sparkle-emoji.entry.js +76 -0
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +117 -0
- package/dist/esm/sparkle-feed-post.entry.js +118 -0
- package/dist/esm/sparkle-feedback.entry.js +97 -0
- package/dist/esm/sparkle-file-upload.entry.js +49 -0
- package/dist/esm/sparkle-goal-form.entry.js +175 -0
- package/dist/esm/sparkle-gww-comment-list.entry.js +22 -0
- package/dist/esm/sparkle-gww-graph.entry.js +15 -0
- package/dist/esm/sparkle-input.entry.js +52 -0
- package/dist/esm/sparkle-intro.entry.js +22 -0
- package/dist/esm/sparkle-lower-content-nav.entry.js +18 -0
- package/dist/esm/sparkle-menu-collapsible.entry.js +42 -0
- package/dist/esm/sparkle-modal-image.entry.js +30 -0
- package/dist/esm/sparkle-notfound-page.entry.js +21 -0
- package/dist/esm/sparkle-overlay.entry.js +88 -0
- package/dist/esm/sparkle-poll.entry.js +15 -0
- package/dist/esm/sparkle-quiz-container.entry.js +43 -0
- package/dist/esm/sparkle-quiz-feedback_5.entry.js +109 -0
- package/dist/esm/sparkle-quiz-old.entry.js +116 -0
- package/dist/esm/sparkle-quiz.entry.js +99 -0
- package/dist/esm/sparkle-select.entry.js +57 -0
- package/dist/esm/sparkle-sidebar.entry.js +39 -0
- package/dist/esm/sparkle-tab.entry.js +22 -0
- package/dist/esm/sparkle-table-of-contents.entry.js +67 -0
- package/dist/esm/sparkle-tabs.entry.js +62 -0
- package/dist/esm/sparkle-video-player.entry.js +18 -0
- package/dist/esm/sparkle-youtube.entry.js +35 -0
- package/dist/esm/status-tap-dde52787.js +40 -0
- package/dist/esm/stencil-async-content.entry.js +28 -0
- package/dist/esm/stencil-route-title.entry.js +28 -0
- package/dist/esm/stencil-router-prompt.entry.js +55 -0
- package/dist/esm/student.service-08af124f.js +75 -0
- package/dist/esm/swipe-back-7847a0c1.js +74 -0
- package/dist/esm/swiper.bundle-b6a959de.js +6418 -0
- package/dist/esm/token.service-71a5d33f.js +94 -0
- package/dist/esm/util-57cc8006.js +2451 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +12 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +75 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +72 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +25 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +59 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +357 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +290 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +494 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +502 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +17 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +22 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +22 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +281 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +309 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +58 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +62 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +234 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +237 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +38 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +439 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +428 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +128 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +151 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +101 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +95 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +61 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +63 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +35 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +28 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +27 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +27 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +169 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +172 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +200 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +200 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +108 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +237 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +648 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +637 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +60 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +61 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +338 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +307 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +116 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +151 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +108 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +40 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +12 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +8 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +54 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +54 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +185 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +185 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +669 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +928 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +204 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +297 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +186 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +180 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +88 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +85 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +42 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +156 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +250 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +91 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +114 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +118 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +94 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +109 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +100 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +127 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +123 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +175 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +178 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +250 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +177 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +16 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +17 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +217 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +204 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +122 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +123 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +82 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +85 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +126 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +122 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +201 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +132 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +206 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +206 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +177 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +178 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +275 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +320 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +189 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +210 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +15 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +15 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +33 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +58 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +29 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +348 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +279 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +65 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +36 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +446 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +424 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +145 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +177 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +14 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +53 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/slide/slide.css +31 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.ios.css +764 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.md.css +764 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +167 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +108 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +108 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +97 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +82 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +308 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +331 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +19 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +175 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +179 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +21 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +122 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +55 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +262 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +295 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +286 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +261 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +175 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +168 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +21 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +49 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +208 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +31 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +245 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +115 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +257 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +232 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +3 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +25 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +71 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +194 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +4 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +67 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +25 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +93 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +52 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +98 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +8 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +37 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +64 -0
- package/dist/node_modules/@stencil/router/dist/collection/components/route/route.css +3 -0
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +101 -0
- package/dist/sparkle-core/index.esm.js +1 -19
- package/dist/sparkle-core/p-00d10dc9.js +4 -0
- package/dist/sparkle-core/p-0147266a.js +1 -0
- package/dist/sparkle-core/p-04c7b276.entry.js +1 -0
- package/dist/sparkle-core/p-05c032dd.js +4 -0
- package/dist/sparkle-core/p-06642405.entry.js +1 -0
- package/dist/sparkle-core/p-0664370b.entry.js +1 -0
- package/dist/sparkle-core/p-06c7d0f2.entry.js +1 -0
- package/dist/sparkle-core/p-076f0239.js +4 -0
- package/dist/sparkle-core/p-077c732b.js +4 -0
- package/dist/sparkle-core/p-08420531.entry.js +1 -0
- package/dist/sparkle-core/p-0ad5c123.entry.js +1 -0
- package/dist/sparkle-core/p-0afa3a4d.entry.js +1 -0
- package/dist/sparkle-core/p-0c3f3ea6.entry.js +1 -0
- package/dist/sparkle-core/p-0e4de1d0.js +4 -0
- package/dist/sparkle-core/p-0e8e539f.entry.js +1 -0
- package/dist/sparkle-core/p-11356b03.entry.js +1 -0
- package/dist/sparkle-core/p-11a6c175.entry.js +1 -0
- package/dist/sparkle-core/p-12dd96d7.js +4 -0
- package/dist/sparkle-core/p-13ec39db.entry.js +1 -0
- package/dist/sparkle-core/p-1adc98f6.js +1 -0
- package/dist/sparkle-core/p-1b1ba156.entry.js +1 -0
- package/dist/sparkle-core/p-1e125ca5.entry.js +1 -0
- package/dist/sparkle-core/p-1e4782af.entry.js +1 -0
- package/dist/sparkle-core/p-2033cd86.js +7 -0
- package/dist/sparkle-core/p-214d1229.entry.js +1 -0
- package/dist/sparkle-core/p-23aca7ca.js +4 -0
- package/dist/sparkle-core/p-24cb9a33.entry.js +1 -0
- package/dist/sparkle-core/p-27fbabc3.entry.js +1 -0
- package/dist/sparkle-core/p-2ba70507.entry.js +1 -0
- package/dist/sparkle-core/p-2c1ca854.entry.js +1 -0
- package/dist/sparkle-core/p-2caed39f.entry.js +1 -0
- package/dist/sparkle-core/p-2d9659e2.entry.js +1 -0
- package/dist/sparkle-core/p-2f569553.js +1 -0
- package/dist/sparkle-core/p-30b810d1.entry.js +4 -0
- package/dist/sparkle-core/p-32f4e565.entry.js +1 -0
- package/dist/sparkle-core/p-352677e6.entry.js +1 -0
- package/dist/sparkle-core/p-38b7cf68.entry.js +1 -0
- package/dist/sparkle-core/p-38c842d5.entry.js +1 -0
- package/dist/sparkle-core/p-3963e02b.entry.js +1 -0
- package/dist/sparkle-core/p-39712c56.entry.js +4 -0
- package/dist/sparkle-core/p-39a31e43.js +1 -0
- package/dist/sparkle-core/p-3de0e00c.js +4 -0
- package/dist/sparkle-core/p-4053ecdb.entry.js +1 -0
- package/dist/sparkle-core/p-408176ba.js +1 -0
- package/dist/sparkle-core/p-42ed7d5f.entry.js +1 -0
- package/dist/sparkle-core/p-48f72e63.js +4 -0
- package/dist/sparkle-core/p-4b4a8703.js +1 -0
- package/dist/sparkle-core/p-4c1980f7.entry.js +352 -0
- package/dist/sparkle-core/p-4c6a7e52.js +1 -0
- package/dist/sparkle-core/p-4d1cfcbe.entry.js +1 -0
- package/dist/sparkle-core/p-4d4077ea.js +4 -0
- package/dist/sparkle-core/p-4fba3e4c.js +1 -0
- package/dist/sparkle-core/p-506221fe.js +4 -0
- package/dist/sparkle-core/p-5096739e.entry.js +1 -0
- package/dist/sparkle-core/p-5322c920.entry.js +1 -0
- package/dist/sparkle-core/p-5893bbe5.entry.js +1 -0
- package/dist/sparkle-core/p-594a6982.entry.js +1 -0
- package/dist/sparkle-core/p-5c435d5a.entry.js +1 -0
- package/dist/sparkle-core/p-5cad23f1.js +3 -0
- package/dist/sparkle-core/p-5d409601.js +1 -0
- package/dist/sparkle-core/p-601397df.entry.js +1 -0
- package/dist/sparkle-core/p-604a7987.js +4 -0
- package/dist/sparkle-core/p-616941c6.entry.js +1 -0
- package/dist/sparkle-core/p-6316d124.entry.js +1 -0
- package/dist/sparkle-core/p-63f71ada.entry.js +1 -0
- package/dist/sparkle-core/p-69487d90.entry.js +1 -0
- package/dist/sparkle-core/p-6bde0192.entry.js +7 -0
- package/dist/sparkle-core/p-6d2f4093.entry.js +7 -0
- package/dist/sparkle-core/p-6ffd2420.entry.js +1 -0
- package/dist/sparkle-core/p-72053ae0.entry.js +1 -0
- package/dist/sparkle-core/p-73721c84.js +4 -0
- package/dist/sparkle-core/p-74864276.entry.js +1 -0
- package/dist/sparkle-core/p-7d8427eb.js +4 -0
- package/dist/sparkle-core/p-7dae0f0e.js +1 -0
- package/dist/sparkle-core/p-7dbfc316.js +1 -0
- package/dist/sparkle-core/p-7e7ce516.js +4 -0
- package/dist/sparkle-core/p-81714d94.entry.js +1 -0
- package/dist/sparkle-core/p-8492a765.entry.js +1 -0
- package/dist/sparkle-core/p-859563db.entry.js +1 -0
- package/dist/sparkle-core/p-85d4cd5c.entry.js +1 -0
- package/dist/sparkle-core/p-865f36a8.entry.js +1 -0
- package/dist/sparkle-core/p-86ed13f0.js +5 -0
- package/dist/sparkle-core/p-871106e0.js +4 -0
- package/dist/sparkle-core/p-894ff7e6.entry.js +1 -0
- package/dist/sparkle-core/p-8a41b502.entry.js +1 -0
- package/dist/sparkle-core/p-8b56f734.js +1 -0
- package/dist/sparkle-core/p-8c74cbb6.entry.js +1 -0
- package/dist/sparkle-core/p-924b2917.js +4 -0
- package/dist/sparkle-core/p-9289cdbc.entry.js +1 -0
- package/dist/sparkle-core/p-957715c5.entry.js +1 -0
- package/dist/sparkle-core/p-973fe404.entry.js +22 -0
- package/dist/sparkle-core/p-975b99ee.entry.js +1 -0
- package/dist/sparkle-core/p-98daeddb.entry.js +1 -0
- package/dist/sparkle-core/p-99ee9919.js +1 -0
- package/dist/sparkle-core/p-9abbd715.entry.js +1 -0
- package/dist/sparkle-core/p-9d894ed4.js +4 -0
- package/dist/sparkle-core/p-9e309b3e.entry.js +1 -0
- package/dist/sparkle-core/p-9e7fee8f.entry.js +1 -0
- package/dist/sparkle-core/p-9ebf0537.entry.js +1 -0
- package/dist/sparkle-core/p-a208ab2d.js +4 -0
- package/dist/sparkle-core/p-a2638250.entry.js +1 -0
- package/dist/sparkle-core/p-a2ebcf0a.entry.js +1 -0
- package/dist/sparkle-core/p-a98d7ebe.entry.js +1 -0
- package/dist/sparkle-core/p-add30d46.js +4 -0
- package/dist/sparkle-core/p-b0603d19.js +16 -0
- package/dist/sparkle-core/p-b06e2bef.js +1 -0
- package/dist/sparkle-core/p-b3f375fb.entry.js +1 -0
- package/dist/sparkle-core/p-b5f3e1bf.entry.js +1 -0
- package/dist/sparkle-core/p-b6fec622.entry.js +1 -0
- package/dist/sparkle-core/p-b8d71ff4.js +1 -0
- package/dist/sparkle-core/p-b96f3c84.entry.js +7 -0
- package/dist/sparkle-core/p-bd80ff43.js +4 -0
- package/dist/sparkle-core/p-bd90903e.js +1 -0
- package/dist/sparkle-core/p-be64105c.entry.js +1 -0
- package/dist/sparkle-core/p-c0533c23.entry.js +1 -0
- package/dist/sparkle-core/p-c2990b24.entry.js +1 -0
- package/dist/sparkle-core/p-c3cadfc6.entry.js +1 -0
- package/dist/sparkle-core/p-c60b29bd.entry.js +4 -0
- package/dist/sparkle-core/p-c64a34cd.entry.js +1 -0
- package/dist/sparkle-core/p-c7e21070.entry.js +1 -0
- package/dist/sparkle-core/p-c9f753a4.js +1 -0
- package/dist/sparkle-core/p-cabe9139.js +1 -0
- package/dist/sparkle-core/p-cabfbf22.entry.js +1 -0
- package/dist/sparkle-core/p-cc518c36.entry.js +1 -0
- package/dist/sparkle-core/p-cffd4817.entry.js +1 -0
- package/dist/sparkle-core/p-d0adf726.entry.js +1 -0
- package/dist/sparkle-core/p-d20e4fcf.entry.js +1 -0
- package/dist/sparkle-core/p-d24e53ab.entry.js +1 -0
- package/dist/sparkle-core/p-d288e6c1.entry.js +1 -0
- package/dist/sparkle-core/p-d601810e.entry.js +1 -0
- package/dist/sparkle-core/p-d68092b7.js +4 -0
- package/dist/sparkle-core/p-da391f3f.js +1 -0
- package/dist/sparkle-core/p-de4deb61.entry.js +1 -0
- package/dist/sparkle-core/p-e0cad1bb.js +1 -0
- package/dist/sparkle-core/p-e249aebf.entry.js +1 -0
- package/dist/sparkle-core/p-e3e36ce9.entry.js +1 -0
- package/dist/sparkle-core/p-e421d638.entry.js +1 -0
- package/dist/sparkle-core/p-e686d8b5.entry.js +4 -0
- package/dist/sparkle-core/p-e8988989.entry.js +1 -0
- package/dist/sparkle-core/p-e9431eeb.js +7 -0
- package/dist/sparkle-core/p-ea962e1b.entry.js +1 -0
- package/dist/sparkle-core/p-eaa8bbee.js +4 -0
- package/dist/sparkle-core/p-ebd4354b.entry.js +1 -0
- package/dist/sparkle-core/p-ee1e0eb4.js +2 -0
- package/dist/sparkle-core/p-ef4edc48.entry.js +4 -0
- package/dist/sparkle-core/p-f196c124.entry.js +7 -0
- package/dist/sparkle-core/p-f3cba72a.js +4 -0
- package/dist/sparkle-core/p-f47fe1fe.entry.js +1 -0
- package/dist/sparkle-core/p-f714f77a.entry.js +1 -0
- package/dist/sparkle-core/p-f891c79a.entry.js +1 -0
- package/dist/sparkle-core/p-fb0ca75e.entry.js +5 -0
- package/dist/sparkle-core/p-fb757951.entry.js +1 -0
- package/dist/sparkle-core/p-fd8d0738.entry.js +4 -0
- package/dist/sparkle-core/p-fda95b6e.entry.js +1 -0
- package/dist/sparkle-core/p-fe6dc976.entry.js +1 -0
- package/dist/sparkle-core/p-ff080f82.entry.js +10 -0
- package/dist/sparkle-core/p-ff7a8a71.js +4 -0
- package/dist/sparkle-core/sparkle-core.css +1 -2660
- package/dist/sparkle-core/sparkle-core.esm.js +1 -130
- package/package.json +2 -2
- package/dist/sparkle-core/PrivateRoute-a12e7ee5.js +0 -37
- package/dist/sparkle-core/account.service-e711795d.js +0 -63
- package/dist/sparkle-core/active-router-af86c9b4.js +0 -73
- package/dist/sparkle-core/animation-676a644d.js +0 -984
- package/dist/sparkle-core/app-globals-9ffa9ec3.js +0 -10
- package/dist/sparkle-core/appdata.service-703dff70.js +0 -69
- package/dist/sparkle-core/assets/user.png +0 -0
- package/dist/sparkle-core/assets.service-6508aae6.js +0 -71
- package/dist/sparkle-core/assignment.service-e42e9368.js +0 -17
- package/dist/sparkle-core/button-active-d68c5eb7.js +0 -67
- package/dist/sparkle-core/compass-svg.entry.js +0 -128
- package/dist/sparkle-core/context-consumer.entry.js +0 -25
- package/dist/sparkle-core/course-select.entry.js +0 -26
- package/dist/sparkle-core/css-shim-04165e59.js +0 -4
- package/dist/sparkle-core/dom-26e7cb2c.js +0 -73
- package/dist/sparkle-core/dom-utils-8e73e88b.js +0 -55
- package/dist/sparkle-core/facilitator.service-00a88935.js +0 -79
- package/dist/sparkle-core/facilitator.store-01be0386.js +0 -18
- package/dist/sparkle-core/feed.service-d495f3e1.js +0 -53
- package/dist/sparkle-core/framework-delegate-d3fa493f.js +0 -107
- package/dist/sparkle-core/haptic-a9e94599.js +0 -124
- package/dist/sparkle-core/header-mobile-collapse.entry.js +0 -86
- package/dist/sparkle-core/helpers-f11f0674.js +0 -406
- package/dist/sparkle-core/icons-758d1417.js +0 -41
- package/dist/sparkle-core/index-05b398c2.js +0 -34
- package/dist/sparkle-core/index-0af0deac.js +0 -312
- package/dist/sparkle-core/index-0df264ee.js +0 -4518
- package/dist/sparkle-core/index-183cda39.js +0 -223
- package/dist/sparkle-core/index-18a69883.js +0 -1336
- package/dist/sparkle-core/index-1d7a6fa0.js +0 -269
- package/dist/sparkle-core/index-1dec9544.js +0 -3064
- package/dist/sparkle-core/index-81dab78f.js +0 -85
- package/dist/sparkle-core/index-9b5bcea1.js +0 -22
- package/dist/sparkle-core/index-bb469fe3.js +0 -128
- package/dist/sparkle-core/index-d2990a48.js +0 -184
- package/dist/sparkle-core/index-dd414b33.js +0 -653
- package/dist/sparkle-core/index-faeec85a.js +0 -8
- package/dist/sparkle-core/index.es-1f6eedc5.js +0 -11066
- package/dist/sparkle-core/input-shims-0b2f5522.js +0 -418
- package/dist/sparkle-core/ion-accordion-group.entry.js +0 -201
- package/dist/sparkle-core/ion-accordion.entry.js +0 -332
- package/dist/sparkle-core/ion-action-sheet.entry.js +0 -263
- package/dist/sparkle-core/ion-alert.entry.js +0 -448
- package/dist/sparkle-core/ion-app.entry.js +0 -75
- package/dist/sparkle-core/ion-avatar.entry.js +0 -21
- package/dist/sparkle-core/ion-back-button.entry.js +0 -90
- package/dist/sparkle-core/ion-backdrop.entry.js +0 -63
- package/dist/sparkle-core/ion-badge.entry.js +0 -25
- package/dist/sparkle-core/ion-breadcrumb.entry.js +0 -91
- package/dist/sparkle-core/ion-breadcrumbs.entry.js +0 -129
- package/dist/sparkle-core/ion-button.entry.js +0 -125
- package/dist/sparkle-core/ion-buttons.entry.js +0 -38
- package/dist/sparkle-core/ion-card-content.entry.js +0 -26
- package/dist/sparkle-core/ion-card-header.entry.js +0 -33
- package/dist/sparkle-core/ion-card-subtitle.entry.js +0 -26
- package/dist/sparkle-core/ion-card-title.entry.js +0 -26
- package/dist/sparkle-core/ion-card.entry.js +0 -64
- package/dist/sparkle-core/ion-checkbox.entry.js +0 -109
- package/dist/sparkle-core/ion-chip.entry.js +0 -36
- package/dist/sparkle-core/ion-col.entry.js +0 -121
- package/dist/sparkle-core/ion-content.entry.js +0 -319
- package/dist/sparkle-core/ion-datetime-button.entry.js +0 -308
- package/dist/sparkle-core/ion-datetime.entry.js +0 -1619
- package/dist/sparkle-core/ion-fab-button.entry.js +0 -104
- package/dist/sparkle-core/ion-fab-list.entry.js +0 -41
- package/dist/sparkle-core/ion-fab.entry.js +0 -72
- package/dist/sparkle-core/ion-footer.entry.js +0 -116
- package/dist/sparkle-core/ion-grid.entry.js +0 -24
- package/dist/sparkle-core/ion-header.entry.js +0 -341
- package/dist/sparkle-core/ion-icon.entry.js +0 -200
- package/dist/sparkle-core/ion-img.entry.js +0 -97
- package/dist/sparkle-core/ion-infinite-scroll-content.entry.js +0 -33
- package/dist/sparkle-core/ion-infinite-scroll.entry.js +0 -202
- package/dist/sparkle-core/ion-input.entry.js +0 -293
- package/dist/sparkle-core/ion-item-divider.entry.js +0 -36
- package/dist/sparkle-core/ion-item-group.entry.js +0 -27
- package/dist/sparkle-core/ion-item-option.entry.js +0 -56
- package/dist/sparkle-core/ion-item-options.entry.js +0 -43
- package/dist/sparkle-core/ion-item-sliding.entry.js +0 -394
- package/dist/sparkle-core/ion-item.entry.js +0 -267
- package/dist/sparkle-core/ion-label.entry.js +0 -77
- package/dist/sparkle-core/ion-list-header.entry.js +0 -27
- package/dist/sparkle-core/ion-list.entry.js +0 -48
- package/dist/sparkle-core/ion-loading.entry.js +0 -211
- package/dist/sparkle-core/ion-menu-button.entry.js +0 -72
- package/dist/sparkle-core/ion-menu-toggle.entry.js +0 -43
- package/dist/sparkle-core/ion-menu.entry.js +0 -575
- package/dist/sparkle-core/ion-modal.entry.js +0 -1706
- package/dist/sparkle-core/ion-nav-link.entry.js +0 -43
- package/dist/sparkle-core/ion-nav.entry.js +0 -872
- package/dist/sparkle-core/ion-note.entry.js +0 -25
- package/dist/sparkle-core/ion-picker-column-internal.entry.js +0 -363
- package/dist/sparkle-core/ion-picker-column.entry.js +0 -327
- package/dist/sparkle-core/ion-picker-internal.entry.js +0 -454
- package/dist/sparkle-core/ion-picker.entry.js +0 -217
- package/dist/sparkle-core/ion-popover.entry.js +0 -1362
- package/dist/sparkle-core/ion-progress-bar.entry.js +0 -70
- package/dist/sparkle-core/ion-radio-group.entry.js +0 -121
- package/dist/sparkle-core/ion-radio.entry.js +0 -111
- package/dist/sparkle-core/ion-range.entry.js +0 -511
- package/dist/sparkle-core/ion-refresher-content.entry.js +0 -31
- package/dist/sparkle-core/ion-refresher.entry.js +0 -798
- package/dist/sparkle-core/ion-reorder-group.entry.js +0 -277
- package/dist/sparkle-core/ion-reorder.entry.js +0 -34
- package/dist/sparkle-core/ion-ripple-effect.entry.js +0 -89
- package/dist/sparkle-core/ion-route-redirect.entry.js +0 -20
- package/dist/sparkle-core/ion-route.entry.js +0 -45
- package/dist/sparkle-core/ion-router-link.entry.js +0 -34
- package/dist/sparkle-core/ion-router-outlet.entry.js +0 -196
- package/dist/sparkle-core/ion-router.entry.js +0 -827
- package/dist/sparkle-core/ion-row.entry.js +0 -16
- package/dist/sparkle-core/ion-searchbar.entry.js +0 -366
- package/dist/sparkle-core/ion-segment-button.entry.js +0 -98
- package/dist/sparkle-core/ion-segment.entry.js +0 -415
- package/dist/sparkle-core/ion-select-option.entry.js +0 -23
- package/dist/sparkle-core/ion-select-popover.entry.js +0 -96
- package/dist/sparkle-core/ion-select.entry.js +0 -510
- package/dist/sparkle-core/ion-skeleton-text.entry.js +0 -29
- package/dist/sparkle-core/ion-slide.entry.js +0 -21
- package/dist/sparkle-core/ion-slides.entry.js +0 -387
- package/dist/sparkle-core/ion-spinner.entry.js +0 -60
- package/dist/sparkle-core/ion-split-pane.entry.js +0 -156
- package/dist/sparkle-core/ion-tab-bar.entry.js +0 -71
- package/dist/sparkle-core/ion-tab-button.entry.js +0 -99
- package/dist/sparkle-core/ion-tab.entry.js +0 -63
- package/dist/sparkle-core/ion-tabs.entry.js +0 -150
- package/dist/sparkle-core/ion-text.entry.js +0 -20
- package/dist/sparkle-core/ion-textarea.entry.js +0 -244
- package/dist/sparkle-core/ion-thumbnail.entry.js +0 -16
- package/dist/sparkle-core/ion-title.entry.js +0 -48
- package/dist/sparkle-core/ion-toast.entry.js +0 -268
- package/dist/sparkle-core/ion-toggle.entry.js +0 -173
- package/dist/sparkle-core/ion-toolbar.entry.js +0 -70
- package/dist/sparkle-core/ion-virtual-scroll.entry.js +0 -551
- package/dist/sparkle-core/ionic-global-127576f6.js +0 -226
- package/dist/sparkle-core/ios.transition-02531dda.js +0 -479
- package/dist/sparkle-core/location-utils-fea12957.js +0 -229
- package/dist/sparkle-core/match-path-760e1797.js +0 -343
- package/dist/sparkle-core/md.transition-f8765467.js +0 -55
- package/dist/sparkle-core/media.service-2609406e.js +0 -36
- package/dist/sparkle-core/menu-toggle-util-6cc13cbd.js +0 -12
- package/dist/sparkle-core/overlays-fd3cfa13.js +0 -493
- package/dist/sparkle-core/parse-60474840.js +0 -1196
- package/dist/sparkle-core/purify-d9093094.js +0 -1469
- package/dist/sparkle-core/quiz.model-1cff62e4.js +0 -5
- package/dist/sparkle-core/shadow-css-1257b266.js +0 -387
- package/dist/sparkle-core/signalR.service-2b7645c1.js +0 -2983
- package/dist/sparkle-core/sparkle-animation-player.entry.js +0 -513
- package/dist/sparkle-core/sparkle-assignment.entry.js +0 -114
- package/dist/sparkle-core/sparkle-button.entry.js +0 -24
- package/dist/sparkle-core/sparkle-card.entry.js +0 -61
- package/dist/sparkle-core/sparkle-cards.entry.js +0 -15
- package/dist/sparkle-core/sparkle-character-intro.entry.js +0 -22
- package/dist/sparkle-core/sparkle-code.entry.js +0 -39
- package/dist/sparkle-core/sparkle-compass-post.entry.js +0 -129
- package/dist/sparkle-core/sparkle-compass.entry.js +0 -122
- package/dist/sparkle-core/sparkle-course-root.entry.js +0 -155
- package/dist/sparkle-core/sparkle-discussion-questions.entry.js +0 -122
- package/dist/sparkle-core/sparkle-discussion-results.entry.js +0 -189
- package/dist/sparkle-core/sparkle-discussion.entry.js +0 -52
- package/dist/sparkle-core/sparkle-dropdown.entry.js +0 -57
- package/dist/sparkle-core/sparkle-emoji.entry.js +0 -77
- package/dist/sparkle-core/sparkle-export-lessons.entry.js +0 -10081
- package/dist/sparkle-core/sparkle-facilitator-dashboard.entry.js +0 -93
- package/dist/sparkle-core/sparkle-facilitator-header.entry.js +0 -60
- package/dist/sparkle-core/sparkle-facilitator-notes-form.entry.js +0 -160
- package/dist/sparkle-core/sparkle-facilitator-notes.entry.js +0 -65
- package/dist/sparkle-core/sparkle-facilitator-page.entry.js +0 -198
- package/dist/sparkle-core/sparkle-feed-post.entry.js +0 -131
- package/dist/sparkle-core/sparkle-feedback.entry.js +0 -106
- package/dist/sparkle-core/sparkle-file-upload.entry.js +0 -57
- package/dist/sparkle-core/sparkle-forgot-password.entry.js +0 -80
- package/dist/sparkle-core/sparkle-goal-form.entry.js +0 -182
- package/dist/sparkle-core/sparkle-goal-item.entry.js +0 -15
- package/dist/sparkle-core/sparkle-goal-progress.entry.js +0 -15
- package/dist/sparkle-core/sparkle-goals.entry.js +0 -47
- package/dist/sparkle-core/sparkle-gww-comment-list.entry.js +0 -22
- package/dist/sparkle-core/sparkle-gww-graph.entry.js +0 -15
- package/dist/sparkle-core/sparkle-gww-item.entry.js +0 -80
- package/dist/sparkle-core/sparkle-gww.entry.js +0 -44
- package/dist/sparkle-core/sparkle-header.entry.js +0 -97
- package/dist/sparkle-core/sparkle-health.entry.js +0 -70
- package/dist/sparkle-core/sparkle-input.entry.js +0 -52
- package/dist/sparkle-core/sparkle-intro.entry.js +0 -22
- package/dist/sparkle-core/sparkle-login.entry.js +0 -116
- package/dist/sparkle-core/sparkle-lower-content-nav.entry.js +0 -18
- package/dist/sparkle-core/sparkle-menu-collapsible.entry.js +0 -42
- package/dist/sparkle-core/sparkle-menu-toggle.entry.js +0 -24
- package/dist/sparkle-core/sparkle-menu.entry.js +0 -26
- package/dist/sparkle-core/sparkle-modal-image.entry.js +0 -33
- package/dist/sparkle-core/sparkle-mood.entry.js +0 -76
- package/dist/sparkle-core/sparkle-nav.entry.js +0 -113
- package/dist/sparkle-core/sparkle-notfound-page.entry.js +0 -25
- package/dist/sparkle-core/sparkle-online-students.entry.js +0 -55
- package/dist/sparkle-core/sparkle-overlay.entry.js +0 -90
- package/dist/sparkle-core/sparkle-page-footer.entry.js +0 -24
- package/dist/sparkle-core/sparkle-page.entry.js +0 -245
- package/dist/sparkle-core/sparkle-pagination.entry.js +0 -67
- package/dist/sparkle-core/sparkle-poll.entry.js +0 -15
- package/dist/sparkle-core/sparkle-quiz-container.entry.js +0 -43
- package/dist/sparkle-core/sparkle-quiz-feedback.entry.js +0 -18
- package/dist/sparkle-core/sparkle-quiz-input.entry.js +0 -16
- package/dist/sparkle-core/sparkle-quiz-old.entry.js +0 -116
- package/dist/sparkle-core/sparkle-quiz-opinion.entry.js +0 -41
- package/dist/sparkle-core/sparkle-quiz-poll.entry.js +0 -16
- package/dist/sparkle-core/sparkle-quiz-select.entry.js +0 -29
- package/dist/sparkle-core/sparkle-quiz.entry.js +0 -98
- package/dist/sparkle-core/sparkle-reset-password.entry.js +0 -96
- package/dist/sparkle-core/sparkle-root.entry.js +0 -79
- package/dist/sparkle-core/sparkle-select.entry.js +0 -57
- package/dist/sparkle-core/sparkle-sidebar.entry.js +0 -39
- package/dist/sparkle-core/sparkle-signup.entry.js +0 -144
- package/dist/sparkle-core/sparkle-tab.entry.js +0 -22
- package/dist/sparkle-core/sparkle-table-of-contents.entry.js +0 -67
- package/dist/sparkle-core/sparkle-tabs.entry.js +0 -62
- package/dist/sparkle-core/sparkle-unauthorized.entry.js +0 -17
- package/dist/sparkle-core/sparkle-user-enrollment.entry.js +0 -85
- package/dist/sparkle-core/sparkle-user-profile.entry.js +0 -129
- package/dist/sparkle-core/sparkle-validation-error.entry.js +0 -17
- package/dist/sparkle-core/sparkle-video-player.entry.js +0 -18
- package/dist/sparkle-core/sparkle-youtube.entry.js +0 -35
- package/dist/sparkle-core/status-tap-52feb1b1.js +0 -40
- package/dist/sparkle-core/stencil-async-content.entry.js +0 -28
- package/dist/sparkle-core/stencil-route-link.entry.js +0 -74
- package/dist/sparkle-core/stencil-route-switch.entry.js +0 -100
- package/dist/sparkle-core/stencil-route-title.entry.js +0 -28
- package/dist/sparkle-core/stencil-route.entry.js +0 -93
- package/dist/sparkle-core/stencil-router-prompt.entry.js +0 -55
- package/dist/sparkle-core/stencil-router-redirect.entry.js +0 -28
- package/dist/sparkle-core/stencil-router.entry.js +0 -636
- package/dist/sparkle-core/store.service-0f7d998b.js +0 -16
- package/dist/sparkle-core/student.service-f0375229.js +0 -59
- package/dist/sparkle-core/swipe-back-9a614189.js +0 -73
- package/dist/sparkle-core/swiper.bundle-4274e115.js +0 -6418
- package/dist/sparkle-core/user.store-3d052406.js +0 -19
- package/dist/sparkle-core/util-ba470e54.js +0 -14683
- package/dist/sparkle-core/utils-cae23bce.js +0 -114
- /package/dist/{sparkle-core → esm}/cubic-bezier-4c0db14f.js +0 -0
- /package/dist/{sparkle-core → esm}/focus-visible-4e9a0764.js +0 -0
- /package/dist/{sparkle-core → esm}/hardware-back-button-fa04d6e9.js +0 -0
- /package/dist/{sparkle-core → esm}/index-be6112f8.js +0 -0
- /package/dist/{sparkle-core → esm}/keyboard-7e8329b3.js +0 -0
- /package/dist/{sparkle-core → esm}/localstorage.service-4bf408c8.js +0 -0
- /package/dist/{sparkle-core → esm}/spinner-configs-a37e628a.js +0 -0
- /package/dist/{sparkle-core → esm}/theme-7ef00c83.js +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as n,H as i,e as o}from"./p-ee1e0eb4.js";import{d as r,n as a}from"./p-4c6a7e52.js";import{c as e,g as d}from"./p-871106e0.js";import{i as s}from"./p-d68092b7.js";import{o as c,c as g,h as p}from"./p-0e4de1d0.js";const l=class{constructor(n){t(this,n),this.inheritedAttributes={},this.disabled=!1,this.type="button",this.onClick=async t=>{const n=this.el.closest("ion-nav");return t.preventDefault(),n&&await n.canGoBack()?n.pop({animationBuilder:this.routerAnimation,skipIfBusy:!0}):c(this.defaultHref,t,"back",this.routerAnimation)}}componentWillLoad(){this.inheritedAttributes=s(this.el),void 0===this.defaultHref&&(this.defaultHref=e.get("backButtonDefaultHref"))}get backButtonIcon(){const t=this.icon;return null!=t?t:"ios"===d(this)?e.get("backButtonIcon",r):e.get("backButtonIcon",a)}get backButtonText(){const t="ios"===d(this)?"Back":null;return null!=this.text?this.text:e.get("backButtonText",t)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:t,defaultHref:o,disabled:r,type:a,hasIconOnly:e,backButtonIcon:s,backButtonText:c,icon:l,inheritedAttributes:h}=this,b=void 0!==o,m=d(this),v=h["aria-label"]||c||"back";return n(i,{onClick:this.onClick,class:g(t,{[m]:!0,button:!0,"back-button-disabled":r,"back-button-has-icon-only":e,"in-toolbar":p("ion-toolbar",this.el),"in-toolbar-color":p("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":b})},n("button",{type:a,disabled:r,class:"button-native",part:"native","aria-label":v},n("span",{class:"button-inner"},s&&n("ion-icon",{part:"icon",icon:s,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===l}),c&&n("span",{part:"text","aria-hidden":"true",class:"button-text"},c)),"md"===m&&n("ion-ripple-effect",{type:this.rippleType})))}get el(){return o(this)}};l.style={ios:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;user-select:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;user-select:none;z-index:0;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{padding-left:var(--icon-padding-start);padding-right:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);margin-left:var(--icon-margin-start);margin-right:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end)}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:-5px;--icon-margin-start:-4px;--icon-font-size:1.85em;--min-height:32px;font-size:17px}.button-native{transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}',md:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;user-select:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;user-select:none;z-index:0;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{padding-left:var(--icon-padding-start);padding-right:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);margin-left:var(--icon-margin-start);margin-right:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end)}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:24px;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:14px;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;height:48px}.button-native{box-shadow:none}.button-text{padding-left:4px;padding-right:4px;padding-top:0;padding-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-text{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}'};export{l as ion_back_button}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r,h as e,H as a}from"./p-ee1e0eb4.js";import{c as i,g as n}from"./p-871106e0.js";import{m as t}from"./p-d68092b7.js";import{c as s}from"./p-0e4de1d0.js";const o=class{constructor(e){r(this,e),this.type="determinate",this.reversed=!1,this.value=0,this.buffer=1}render(){const{color:r,type:t,reversed:o,value:f,buffer:b}=this,l=i.getBoolean("_testing"),d=n(this);return e(a,{role:"progressbar","aria-valuenow":"determinate"===t?f:null,"aria-valuemin":"0","aria-valuemax":"1",class:s(r,{[d]:!0,[`progress-bar-${t}`]:!0,"progress-paused":l,"progress-bar-reversed":"rtl"===document.dir?!o:o})},"indeterminate"===t?c():m(f,b))}},c=()=>e("div",{part:"track",class:"progress-buffer-bar"},e("div",{class:"indeterminate-bar-primary"},e("span",{part:"progress",class:"progress-indeterminate"})),e("div",{class:"indeterminate-bar-secondary"},e("span",{part:"progress",class:"progress-indeterminate"}))),m=(r,a)=>{const i=t(0,r,1),n=t(0,a,1);return[e("div",{part:"progress",class:"progress",style:{transform:`scaleX(${i})`}}),e("div",{class:{"buffer-circles-container":!0,"ion-hide":1===n},style:{transform:`translateX(${100*n}%)`}},e("div",{class:"buffer-circles-container",style:{transform:`translateX(-${100*n}%)`}},e("div",{part:"stream",class:"buffer-circles"}))),e("div",{part:"track",class:"progress-buffer-bar",style:{transform:`scaleX(${n})`}})]};o.style={ios:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{transform-origin:left top;transition:transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{animation:primary-indeterminate-scale 2s infinite linear;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{animation:secondary-indeterminate-scale 2s infinite linear;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@keyframes primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes buffering{to{transform:translateX(-10px)}}:host{height:3px}",md:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{transform-origin:left top;transition:transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{animation:primary-indeterminate-scale 2s infinite linear;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{animation:secondary-indeterminate-scale 2s infinite linear;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@keyframes primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes buffering{to{transform:translateX(-10px)}}:host{height:4px}"};export{o as ion_progress_bar}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as s,e as t}from"./p-ee1e0eb4.js";const i=class{constructor(t){e(this,t),this.courses=["Mind & Body","Data Analytics","Financial Literacy"],this.renderOption=e=>s("div",{class:"CourseSelect-course"},s("span",null,e))}componentDidLoad(){}redirectToCourse(e){this.courses[1]===e?window.location.href="https://g3da.z13.web.core.windows.net/":this.courses[2]===e&&(window.location.href="https://girlsinclearning.com/Financial")}render(){return s("sparkle-select",{class:"CourseSelect",options:this.courses,optionRenderer:this.renderOption,onSelection:e=>this.redirectToCourse(e.detail)})}get el(){return t(this)}};export{i as course_select}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as s,i,h as t,H as e,e as n}from"./p-ee1e0eb4.js";function o(s,i){return"question-"+s+"-option-"+i}const l=class{constructor(t){s(this,t),this.quizFeedbackChange=i(this,"quizFeedbackChange",7),this.displayOptions=[0,1,2,3,4,5,6,7,8,9,10]}render(){return t(e,{class:"quiz__feedback"},t("div",{class:"question-container"},t("div",{class:"question-text"},this.question.questionText),t("div",null,this.displayOptions.map(((s,i)=>t("div",{class:"option"},t("input",{type:"radio",id:o(this.question.questionId,i),name:"question-"+this.question.questionId,value:s,onChange:s=>this.quizFeedbackChange.emit({value:s.target.value,question:this.question})}),t("label",{htmlFor:o(this.question.questionId,i)},t("span",{class:"number"},this.displayOptions[i])," ",s),t("br",null)))))))}};l.style=":host{display:block}";const a=class{constructor(t){s(this,t),this.quizInputChange=i(this,"quizInputChange",7)}render(){return t(e,{class:"quiz__input"},t("div",{class:"question-container"},t("label",{htmlFor:"question-"+this.question.questionId,class:"form-label"},this.question.questionText),t("input",{type:"text",class:"form-control",id:"question-"+this.question.questionId,name:"question-"+this.question.questionId,onInput:s=>this.quizInputChange.emit({value:s.target.value,question:this.question})})))}};a.style=":host{display:block}";const h=class{constructor(t){s(this,t),this.quizOpinionChange=i(this,"quizOpinionChange",7),this.fivePointsDisplayOptions=["Strongly agree","Agree","Not sure","Disagree","Strongly disagree"],this.tenPointsDisplayOptions=["Never","Never","Sometimes","Sometimes","Half of the time","Half of the time","Most of the time","Most of the time","Always","Always","Always"],this.tenPointsDefaultValue=5}optionChanged(s,i){this.selectedIndex=s,this.quizOpinionChange.emit({value:i,question:this.question})}renderFivePointScale(){return this.fivePointsDisplayOptions.map(((s,i)=>t("div",{class:"option"},t("input",{id:o(this.question.questionId,i),type:"radio",name:"question-"+this.question.questionId,value:s,onChange:()=>this.optionChanged(i,this.fivePointsDisplayOptions[i])}),t("label",{htmlFor:o(this.question.questionId,i)},t("span",{class:"number"},i+1),s),t("br",null))))}renderTenPointScale(){return t("div",null,t("ion-item",null,t("ion-range",{class:"opinion-range",onIonChange:s=>this.optionChanged(+s.detail.value,this.tenPointsDisplayOptions[+s.detail.value]),min:0,max:10,value:this.tenPointsDefaultValue,step:1,pin:!0,snaps:!0},t("ion-icon",{size:"small",slot:"start",name:"star-outline"}),t("ion-icon",{slot:"end",name:"star"}))),t("div",{class:"scale"},t("p",null,"Never"),t("p",{class:"selected"},this.tenPointsDisplayOptions[this.selectedIndex]||this.tenPointsDisplayOptions[this.tenPointsDefaultValue]),t("p",null,"Always")),t("br",null),t("hr",null))}render(){return t(e,{class:"quiz__opinion"},t("div",{class:"opinion-container"},t("div",{class:"question-text"},this.question.questionText),t("div",null,"FIVE-POINTS"==this.question.scale&&this.renderFivePointScale(),"TEN-POINTS"==this.question.scale&&this.renderTenPointScale())))}get el(){return n(this)}};h.style="sparkle-quiz-opinion .scale{display:flex;justify-content:space-between}sparkle-quiz-opinion .scale>p{margin:0}sparkle-quiz-opinion .scale>p.selected{color:var(--ion-color-primary)}sparkle-quiz-opinion ion-icon{font-size:30px}sparkle-quiz-opinion .icon-group{min-width:70px;text-align:right;padding-right:10px}";const r=class{constructor(t){s(this,t),this.quizInputChange=i(this,"quizInputChange",7)}render(){return t(e,{class:"quiz__input"},t("div",{class:"question-container"},t("label",{htmlFor:"question-"+this.question.questionId,class:"form-label"},this.question.questionText),t("input",{type:"text",class:"form-control",id:"question-"+this.question.questionId,name:"question-"+this.question.questionId,onInput:s=>this.quizInputChange.emit({value:s.target.value,question:this.question})})))}};r.style=":host{display:block}";const u=class{constructor(t){s(this,t),this.quizSelectChange=i(this,"quizSelectChange",7),this.allowMultiple=!1,this.values=[],this.displayOptions=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]}optionChanged(s){this.values=s.target.checked?[...this.values,s.target.value]:this.values.filter((i=>i!==s.target.value)),this.quizSelectChange.emit({value:this.values,question:this.question})}render(){return t(e,{class:"quiz__select"},t("div",{class:"question-container"},t("div",{class:"question-text"},this.question.questionText),t("div",null,this.question.options.map(((s,i)=>t("div",{class:"option"},t("input",{type:this.allowMultiple?"checkbox":"radio",id:o(this.question.questionId,i),name:"question-"+this.question.questionId,value:s.option,onChange:s=>this.optionChanged(s)}),t("label",{htmlFor:o(this.question.questionId,i)},t("span",{class:"number"},this.displayOptions[i]),s.option),t("br",null)))))))}};u.style=":host{display:block}";export{l as sparkle_quiz_feedback,a as sparkle_quiz_input,h as sparkle_quiz_opinion,r as sparkle_quiz_poll,u as sparkle_quiz_select}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import{r as t,i,h as e,e as s}from"./p-ee1e0eb4.js";import{g as n,c as o}from"./p-871106e0.js";import{g as r}from"./p-4d4077ea.js";import{o as a,s as h}from"./p-d68092b7.js";import{l as c,t as l,s as d,L as u,a as v,b as m}from"./p-00d10dc9.js";import{a as f}from"./p-05c032dd.js";
|
2
|
+
/*!
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
4
|
+
*/class p{constructor(t,i){this.component=t,this.params=i,this.state=1}async init(t){if(this.state=2,!this.element){const i=this.component;this.element=await f(this.delegate,t,i,["ion-page","ion-page-invisible"],this.params)}}_destroy(){a(3!==this.state,"view state must be ATTACHED");const t=this.element;t&&(this.delegate?this.delegate.removeViewFromDom(t.parentElement,t):t.remove()),this.nav=void 0,this.state=3}}const w=(t,i,e)=>!!t&&t.component===i&&h(t.params,e),b=(t,i)=>t?t instanceof p?t:new p(t,i):null,g=class{constructor(e){t(this,e),this.ionNavWillLoad=i(this,"ionNavWillLoad",7),this.ionNavWillChange=i(this,"ionNavWillChange",3),this.ionNavDidChange=i(this,"ionNavDidChange",3),this.transInstr=[],this.animationEnabled=!0,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.animated=!0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){void 0!==this.root&&(this.useRouter||this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const t=n(this);this.swipeGesture=o.getBoolean("swipeBackEnabled","ios"===t)}this.ionNavWillLoad.emit()}async componentDidLoad(){this.rootChanged(),this.gesture=(await import("./p-73721c84.js")).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const t of this.views)c(t.element,u),t._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(t,i,e,s){return this.insert(-1,t,i,e,s)}insert(t,i,e,s,n){return this.insertPages(t,[{component:i,componentProps:e}],s,n)}insertPages(t,i,e,s){return this.queueTrns({insertStart:t,insertViews:i,opts:e},s)}pop(t,i){return this.removeIndex(-1,1,t,i)}popTo(t,i,e){const s={removeStart:-1,removeCount:-1,opts:i};return"object"==typeof t&&t.component?(s.removeView=t,s.removeStart=1):"number"==typeof t&&(s.removeStart=t+1),this.queueTrns(s,e)}popToRoot(t,i){return this.removeIndex(1,-1,t,i)}removeIndex(t,i=1,e,s){return this.queueTrns({removeStart:t,removeCount:i,opts:e},s)}setRoot(t,i,e,s){return this.setPages([{component:t,componentProps:i}],e,s)}setPages(t,i,e){return null!=i||(i={}),!0!==i.animated&&(i.animated=!1),this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:i},e)}setRouteId(t,i,e,s){const n=this.getActiveSync();if(w(n,t,i))return Promise.resolve({changed:!1,element:n.element});let o;const r=new Promise((t=>o=t));let a;const h={updateURL:!1,viewIsReady:t=>{let i;const e=new Promise((t=>i=t));return o({changed:!0,element:t,markVisible:async()=>{i(),await a}}),e}};if("root"===e)a=this.setRoot(t,i,h);else{const n=this.views.find((e=>w(e,t,i)));n?a=this.popTo(n,Object.assign(Object.assign({},h),{direction:"back",animationBuilder:s})):"forward"===e?a=this.push(t,i,Object.assign(Object.assign({},h),{animationBuilder:s})):"back"===e&&(a=this.setRoot(t,i,Object.assign(Object.assign({},h),{direction:"back",animated:!0,animationBuilder:s})))}return r}async getRouteId(){const t=this.getActiveSync();if(t)return{id:t.element.tagName,params:t.params,element:t.element}}async getActive(){return this.getActiveSync()}async getByIndex(t){return this.views[t]}async canGoBack(t){return this.canGoBackSync(t)}async getPrevious(t){return this.getPreviousSync(t)}getLength(){return this.views.length}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(t=this.getActiveSync()){return!(!t||!this.getPreviousSync(t))}getPreviousSync(t=this.getActiveSync()){if(!t)return;const i=this.views,e=i.indexOf(t);return e>0?i[e-1]:void 0}async queueTrns(t,i){var e,s;if(this.isTransitioning&&(null===(e=t.opts)||void 0===e?void 0:e.skipIfBusy))return!1;const n=new Promise(((i,e)=>{t.resolve=i,t.reject=e}));if(t.done=i,t.opts&&!1!==t.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");if(i){const e=await i.canTransition();if(!1===e)return!1;if("string"==typeof e)return i.push(e,t.opts.direction||"back"),!1}}return 0===(null===(s=t.insertViews)||void 0===s?void 0:s.length)&&(t.insertViews=void 0),this.transInstr.push(t),this.nextTrns(),n}success(t,i){if(this.destroyed)this.fireError("nav controller was destroyed",i);else if(i.done&&i.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction),i.resolve(t.hasCompleted),!1!==i.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");i&&i.navChanged("back"===t.direction?"back":"forward")}}failed(t,i){this.destroyed?this.fireError("nav controller was destroyed",i):(this.transInstr.length=0,this.fireError(t,i))}fireError(t,i){i.done&&i.done(!1,!1,t),i.reject&&!this.destroyed?i.reject(t):i.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const t=this.transInstr.shift();return!!t&&(this.runTransition(t),!0)}async runTransition(t){try{this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(t);const i=this.getActiveSync(),e=this.getEnteringView(t,i);if(!i&&!e)throw new Error("no views in the stack to be removed");e&&1===e.state&&await e.init(this.el),this.postViewInit(e,i,t);const s=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&e!==i;let n;s&&t.opts&&i&&("back"===t.opts.direction&&(t.opts.animationBuilder=t.opts.animationBuilder||(null==e?void 0:e.animationBuilder)),i.animationBuilder=t.opts.animationBuilder),n=s?await this.transition(e,i,t):{hasCompleted:!0,requiresTransition:!1},this.success(n,t),this.ionNavDidChange.emit()}catch(i){this.failed(i,t)}this.isTransitioning=!1,this.nextTrns()}prepareTI(t){var i,e,s;const n=this.views.length;if(null!==(i=t.opts)&&void 0!==i||(t.opts={}),null!==(e=(s=t.opts).delegate)&&void 0!==e||(s.delegate=this.delegate),void 0!==t.removeView){a(void 0!==t.removeStart,"removeView needs removeStart"),a(void 0!==t.removeCount,"removeView needs removeCount");const i=this.views.indexOf(t.removeView);if(i<0)throw new Error("removeView was not found");t.removeStart+=i}void 0!==t.removeStart&&(t.removeStart<0&&(t.removeStart=n-1),t.removeCount<0&&(t.removeCount=n-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===n),t.insertViews&&((t.insertStart<0||t.insertStart>n)&&(t.insertStart=n),t.enteringRequiresTransition=t.insertStart===n);const o=t.insertViews;if(!o)return;a(o.length>0,"length can not be zero");const r=o.map((t=>t instanceof p?t:"component"in t?b(t.component,null===t.componentProps?void 0:t.componentProps):b(t,void 0))).filter((t=>null!==t));if(0===r.length)throw new Error("invalid views to insert");for(const i of r){i.delegate=t.opts.delegate;const e=i.nav;if(e&&e!==this)throw new Error("inserted view was already inserted");if(3===i.state)throw new Error("inserted view was already destroyed")}t.insertViews=r}getEnteringView(t,i){const e=t.insertViews;if(void 0!==e)return e[e.length-1];const s=t.removeStart;if(void 0!==s){const e=this.views,n=s+t.removeCount;for(let t=e.length-1;t>=0;t--){const o=e[t];if((t<s||t>=n)&&o!==i)return o}}}postViewInit(t,i,e){var s,n,o;a(i||t,"Both leavingView and enteringView are null"),a(e.resolve,"resolve must be valid"),a(e.reject,"reject must be valid");const r=e.opts,{insertViews:h,removeStart:l,removeCount:d}=e;let f;if(void 0!==l&&void 0!==d){a(l>=0,"removeStart can not be negative"),a(d>=0,"removeCount can not be negative"),f=[];for(let e=l;e<l+d;e++){const s=this.views[e];s&&s!==t&&s!==i&&f.push(s)}null!==(s=r.direction)&&void 0!==s||(r.direction="back")}const p=this.views.length+(null!==(n=null==h?void 0:h.length)&&void 0!==n?n:0)-(null!=d?d:0);if(a(p>=0,"final balance can not be negative"),0===p)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(h){let t=e.insertStart;for(const i of h)this.insertViewAt(i,t),t++;e.enteringRequiresTransition&&(null!==(o=r.direction)&&void 0!==o||(r.direction="forward"))}if(f&&f.length>0){for(const t of f)c(t.element,v),c(t.element,m),c(t.element,u);for(const t of f)this.destroyView(t)}}async transition(t,i,e){const s=e.opts,r=s.progressAnimation?t=>this.sbAni=t:void 0,a=n(this),h=t.element,c=i&&i.element,d=Object.assign(Object.assign({mode:a,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:r,animated:this.animated&&o.getBoolean("animated",!0),enteringEl:h,leavingEl:c},s),{animationBuilder:s.animationBuilder||this.animation||o.get("navAnimation")}),{hasCompleted:u}=await l(d);return this.transitionFinish(u,t,i,s)}transitionFinish(t,i,e,s){const n=t?i:e;return n&&this.unmountInactiveViews(n),{hasCompleted:t,requiresTransition:!0,enteringView:i,leavingView:e,direction:s.direction}}insertViewAt(t,i){const e=this.views,s=e.indexOf(t);s>-1?(a(t.nav===this,"view is not part of the nav"),e.splice(s,1),e.splice(i,0,t)):(a(!t.nav,"nav is used"),t.nav=this,e.splice(i,0,t))}removeView(t){a(2===t.state||3===t.state,"view state should be loaded or destroyed");const i=this.views,e=i.indexOf(t);a(e>-1,"view must be part of the stack"),e>=0&&i.splice(e,1)}destroyView(t){t._destroy(),this.removeView(t)}unmountInactiveViews(t){if(this.destroyed)return;const i=this.views,e=i.indexOf(t);for(let t=i.length-1;t>=0;t--){const s=i[t],n=s.element;n&&(t>e?(c(n,u),this.destroyView(s)):t<e&&d(n,!0))}}canStart(){return!!this.swipeGesture&&!this.isTransitioning&&0===this.transInstr.length&&this.animationEnabled&&this.canGoBackSync()}onStart(){this.pop({direction:"back",progressAnimation:!0})}onMove(t){this.sbAni&&this.sbAni.progressStep(t)}onEnd(t,i,e){if(this.sbAni){this.animationEnabled=!1,this.sbAni.onFinish((()=>{this.animationEnabled=!0}),{oneTimeCallback:!0});let s=t?-.001:.001;t?s+=r([0,0],[.32,.72],[0,1],[1,1],i)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),s+=r([0,0],[1,0],[.68,.28],[1,1],i)[0]),this.sbAni.progressEnd(t?1:0,s,e)}}render(){return e("slot",null)}get el(){return s(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};g.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}";export{g as ion_nav}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as i,i as e,h as s,e as t}from"./p-ee1e0eb4.js";const n=class{constructor(s){i(this,s),this.quizAnswerChanged=e(this,"quizAnswerChanged",7),this.type="TEXT",this.scale="FIVE-POINTS",this.options=[]}async componentWillLoad(){}async componentDidLoad(){this.options=[],this.el.querySelector("[slot='options']")&&(Array.from(this.el.querySelector("[slot='options']").querySelectorAll("option")).forEach((i=>{this.options=[...this.options,{option:i.innerText}]})),console.log(this.questionText,this.options)),this.quizAnswerChanged.emit({question:null,answer:"1"})}quizInputChangeHandler(i){this.quizAnswerChanged.emit({question:i.detail.question,answer:i.detail.value})}quizFeedbackChangeHandler(i){this.quizAnswerChanged.emit({question:i.detail.question,answer:i.detail.value})}quizSelectChangeHandler(i){this.quizAnswerChanged.emit({question:i.detail.question,answer:i.detail.value})}quizOpinionChangeHandler(i){this.quizAnswerChanged.emit({question:i.detail.question,answer:i.detail.value})}getQuestionFeedback(){return"MULTIPLE-CHOICE"==this.type?s("small",null):"FEEDBACK"==this.type||"TEXT"==this.type?this.feedback&&s("small",null," ",this.feedback):void 0}showAnswerStatus(){return s("div",null,s("strong",null,this.correct?"Good job!":"Incorrect answer, please try again."))}renderQuestion(){var i={questionId:this.questionId,questionText:this.questionText,questionType:this.type,scale:this.scale,showOptionNumber:this.showOptionNumber,options:this.options,feedback:this.feedback};return"MULTIPLE-CHOICE"==this.type?s("sparkle-quiz-select",{question:i,allowMultiple:!0}):"FEEDBACK"==this.type?s("sparkle-quiz-feedback",{question:i}):"TEXT"==this.type?s("sparkle-quiz-input",{question:i}):"OPINION"==this.type?s("sparkle-quiz-opinion",{question:i}):"POLL"==this.type?s("sparkle-quiz-poll",{question:i}):void 0}render(){return this.questionText?s("div",{class:{correct:this.submitted&&this.correct,incorrect:this.submitted&&!this.correct},ref:i=>this.containerRef=i},s("div",{hidden:!0},s("slot",null)),this.renderQuestion(),this.submitted&&this.showInstantResult&&s("div",{class:"feedback-container"},[this.showAnswerStatus(),this.getQuestionFeedback()])):s("p",null,"No question found.")}get el(){return t(this)}};n.style="sparkle-quiz-old{display:block;font-family:var(--font-family);--sparkle-quiz-question-container-padding:10px 0px;--sparkle-quiz-question-container-margin:0px;--sparkle-quiz-question-text-padding:10px 0px;--sparkle-quiz-option-border:2px solid var(--line-rule-color);--sparkle-quiz-selected-option-border:2px solid var(--text-color--dark);--sparkle-quiz-option-border-radius:4px;--sparkle-quiz-option-padding:5px 10px;--sparkle-quiz-option-width:100%;--sparkle-quiz-error-bg-color:#fbaeae;--sparkle-quiz-success-bg-color:#fbaeae;padding:var(--sparkle-quiz-question-container-padding);margin:var(--sparkle-quiz-question-container-margin)}.question-text{padding:var(--sparkle-quiz-question-text-padding)}.option{padding:5px 0px}.number{padding:0px 14px;border:1px solid #ebebeb;border-radius:4px;margin-right:10px;font-size:14px;width:14px;display:inline-flex;justify-content:center}.feedback-container{padding:10px;border-radius:4px}.incorrect .feedback-container{background-color:var(--sparkle-quiz-error-bg-color, #fbaeae)}.correct .feedback-container{background-color:var(--sparkle-quiz-success-bg-color, #fbaeae)}";export{n as sparkle_quiz_old}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as s,h as t}from"./p-ee1e0eb4.js";const e=class{constructor(t){s(this,t),this.type="video/mp4",this.width=400,this.controls=!0}render(){return t("video",{width:this.width,controls:this.controls,preload:"metadata"},t("source",{src:this.src,type:this.type}))}};e.style="";export{e as sparkle_video_player}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{H as e}from"./p-b06e2bef.js";import{d as t}from"./p-2f569553.js";const{state:a,onChange:s,reset:r}=t({user:{FirstName:"",LastName:"",ProfileText:"",ProfileImage:"",IsVerified:!1,Roles:[],FacilitatorClassList:[]},loaded:!1,updateLoading:!1,enrollmentList:[]}),n={state:a,onChange:s,reset:r};class i{constructor(){}static getInstance(){return i.instance||(i.instance=new i),i.instance}async enrollClass(t){let a=await e.http.post("api/v1/Student/EnrollClass",t);return a&&(n.state.enrollmentList=[...n.state.enrollmentList,a.Data]),a}async leaveClass(t){let a=await e.http.post("api/v1/Student/LeaveClass",t);return a&&(n.state.enrollmentList=n.state.enrollmentList.filter((e=>e.Id!=a.Data))),a}async fetchUserConfiguration(){let t=await e.http.get("api/v1/Student/UserConfiguration");return t&&(n.state.enrollmentList=t.Data.EnrollmentList,n.state.user.FirstName=t.Data.FirstName,n.state.user.LastName=t.Data.LastName,n.state.user.ProfileText=t.Data.ProfileText,n.state.user.ProfileImage=t.Data.ProfileImage,n.state.user.IsVerified=t.Data.IsVerified,n.state.user.Roles=t.Data.Roles,n.state.user.FacilitatorClassList=t.Data.FacilitatorClassList),t}async updateProfile(t){n.state.updateLoading=!0;let a=await e.http.post("api/Account/update-profile",t);return console.log("after fetch",a),a&&(n.state.updateLoading=!1,n.state.user=Object.assign(Object.assign({},n.state.user),{FirstName:a.Data.FirstName,LastName:a.Data.LastName,ProfileText:a.Data.ProfileText,ProfileImage:a.Data.ProfileImage})),a}async submitFeedback(t){return await e.http.post("api/v1/Feedback",t)}}export{i as S,n as u}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{h as c}from"./p-ee1e0eb4.js";const s=s=>c("svg",Object.assign({viewBox:"0 0 512 512"},s),c("path",{d:"M217.9 256L345 129c9.4-9.4 9.4-24.6 0-33.9-9.4-9.4-24.6-9.3-34 0L167 239c-9.1 9.1-9.3 23.7-.7 33.1L310.9 417c4.7 4.7 10.9 7 17 7s12.3-2.3 17-7c9.4-9.4 9.4-24.6 0-33.9L217.9 256z"})),v=s=>c("svg",Object.assign({viewBox:"0 0 512 512"},s),c("path",{d:"M256 294.1L383 167c9.4-9.4 24.6-9.4 33.9 0s9.3 24.6 0 34L273 345c-9.1 9.1-23.7 9.3-33.1.7L95 201.1c-4.7-4.7-7-10.9-7-17s2.3-12.3 7-17c9.4-9.4 24.6-9.4 33.9 0l127.1 127z"})),e=s=>c("svg",Object.assign({viewBox:"0 0 512 512"},s),c("path",{d:"M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z"})),t=s=>c("svg",Object.assign({viewBox:"0 0 512 512"},s),c("path",{d:"M405.34 405.332H106.66V106.668H240V64H106.66C83.191 64 64 83.197 64 106.668v298.664C64 428.803 83.191 448 106.66 448h298.68c23.469 0 42.66-19.197 42.66-42.668V272h-42.66v133.332zM288 64v42.668h87.474L159.999 322.133l29.866 29.866 215.476-215.47V224H448V64H288z"})),a=s=>c("svg",Object.assign({viewBox:"0 0 512 512"},s),c("path",{d:"M64 384h384v-42.666H64V384zm0-106.666h384v-42.667H64v42.667zM64 128v42.665h384V128H64z"})),C=s=>c("svg",Object.assign({viewBox:"0 0 4 16"},s),c("path",{d:"M4 2C4 0.8999 3.1001 0 2 0C0.8999 0 0 0.8999 0 2C0 3.1001 0.8999 4 2 4C3.1001 4 4 3.1001 4 2ZM4 14C4 12.8999 3.1001 12 2 12C0.8999 12 0 12.8999 0 14C0 15.1001 0.8999 16 2 16C3.1001 16 4 15.1001 4 14ZM4 8C4 6.8999 3.1001 6 2 6C0.8999 6 0 6.8999 0 8C0 9.1001 0.8999 10 2 10C3.1001 10 4 9.1001 4 8Z",fill:"#5B708B"})),h=s=>c("svg",Object.assign({viewBox:"0 0 512 512"},s),c("path",{d:"M362.6 192.9L345 174.8c-.7-.8-1.8-1.2-2.8-1.2-1.1 0-2.1.4-2.8 1.2l-122 122.9-44.4-44.4c-.8-.8-1.8-1.2-2.8-1.2-1 0-2 .4-2.8 1.2l-17.8 17.8c-1.6 1.6-1.6 4.1 0 5.7l56 56c3.6 3.6 8 5.7 11.7 5.7 5.3 0 9.9-3.9 11.6-5.5h.1l133.7-134.4c1.4-1.7 1.4-4.2-.1-5.7z"}));export{s as B,h as C,v as D,e as F,C as M,t as O,a}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,i,h as s,e,H as h}from"./p-ee1e0eb4.js";import{g as n}from"./p-871106e0.js";import{f as o,d as a,r}from"./p-bd80ff43.js";import{n as d}from"./p-d68092b7.js";import"./p-a208ab2d.js";let l;const c=class{constructor(s){t(this,s),this.ionDrag=i(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.contentEl=null,this.initialContentScrollY=!0,this.state=2,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}async connectedCallback(){this.item=this.el.querySelector("ion-item"),this.contentEl=o(this.el),await this.updateOptions(),this.gesture=(await import("./p-e9431eeb.js")).createGesture({el:this.el,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:t=>this.canStart(t),onStart:()=>this.onStart(),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.disabledChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,l===this.el&&(l=void 0)}getOpenAmount(){return Promise.resolve(this.openAmount)}getSlidingRatio(){return Promise.resolve(this.getSlidingRatioSync())}async open(t){if(null===this.item)return;const i=this.getOptions(t);i&&(void 0===t&&(t=i===this.leftOptions?"start":"end"),t=d(t)?"end":"start",this.openAmount<0&&i===this.leftOptions||this.openAmount>0&&i===this.rightOptions||(this.closeOpened(),this.state=4,requestAnimationFrame((()=>{this.calculateOptsWidth(),l=this.el,this.setOpenAmount("end"===t?this.optsWidthRightSide:-this.optsWidthLeftSide,!1),this.state="end"===t?8:16}))))}async close(){this.setOpenAmount(0,!0)}async closeOpened(){return void 0!==l&&(l.close(),l=void 0,!0)}getOptions(t){return void 0===t?this.leftOptions||this.rightOptions:"start"===t?this.leftOptions:this.rightOptions}async updateOptions(){const t=this.el.querySelectorAll("ion-item-options");let i=0;this.leftOptions=this.rightOptions=void 0;for(let s=0;s<t.length;s++){const e=t.item(s),h=void 0!==e.componentOnReady?await e.componentOnReady():e;"start"==(d(h.side)?"end":"start")?(this.leftOptions=h,i|=1):(this.rightOptions=h,i|=2)}this.optsDirty=!0,this.sides=i}canStart(t){return!("rtl"===document.dir?window.innerWidth-t.startX<15:t.startX<15)&&(l&&l!==this.el&&this.closeOpened(),!(!this.rightOptions&&!this.leftOptions))}onStart(){this.item=this.el.querySelector("ion-item");const{contentEl:t}=this;t&&(this.initialContentScrollY=a(t)),l=this.el,void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),0===this.openAmount&&(this.optsDirty=!0,this.state=4),this.initialOpenAmount=this.openAmount,this.item&&(this.item.style.transition="none")}onMove(t){this.optsDirty&&this.calculateOptsWidth();let i,s=this.initialOpenAmount-t.deltaX;switch(this.sides){case 2:s=Math.max(0,s);break;case 1:s=Math.min(0,s);break;case 3:break;case 0:return;default:console.warn("invalid ItemSideFlags value",this.sides)}s>this.optsWidthRightSide?(i=this.optsWidthRightSide,s=i+.55*(s-i)):s<-this.optsWidthLeftSide&&(i=-this.optsWidthLeftSide,s=i+.55*(s-i)),this.setOpenAmount(s,!1)}onEnd(t){const{contentEl:i,initialContentScrollY:s}=this;i&&r(i,s);const e=t.velocityX;let h=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;const n=this.openAmount>0==!(e<0),o=Math.abs(e)>.3,a=Math.abs(this.openAmount)<Math.abs(h/2);p(n,o,a)&&(h=0);const d=this.state;this.setOpenAmount(h,!0),0!=(32&d)&&this.rightOptions?this.rightOptions.fireSwipeEvent():0!=(64&d)&&this.leftOptions&&this.leftOptions.fireSwipeEvent()}calculateOptsWidth(){this.optsWidthRightSide=0,this.rightOptions&&(this.rightOptions.style.display="flex",this.optsWidthRightSide=this.rightOptions.offsetWidth,this.rightOptions.style.display=""),this.optsWidthLeftSide=0,this.leftOptions&&(this.leftOptions.style.display="flex",this.optsWidthLeftSide=this.leftOptions.offsetWidth,this.leftOptions.style.display=""),this.optsDirty=!1}setOpenAmount(t,i){if(void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),!this.item)return;const s=this.item.style;if(this.openAmount=t,i&&(s.transition=""),t>0)this.state=t>=this.optsWidthRightSide+30?40:8;else{if(!(t<0))return this.gesture&&this.gesture.enable(!1),this.tmr=setTimeout((()=>{this.state=2,this.tmr=void 0,this.gesture&&this.gesture.enable(!this.disabled)}),600),l=void 0,void(s.transform="");this.state=t<=-this.optsWidthLeftSide-30?80:16}s.transform=`translate3d(${-t}px,0,0)`,this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})}getSlidingRatioSync(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}render(){const t=n(this);return s(h,{class:{[t]:!0,"item-sliding-active-slide":2!==this.state,"item-sliding-active-options-end":0!=(8&this.state),"item-sliding-active-options-start":0!=(16&this.state),"item-sliding-active-swipe-end":0!=(32&this.state),"item-sliding-active-swipe-start":0!=(64&this.state)}})}get el(){return e(this)}static get watchers(){return{disabled:["disabledChanged"]}}},p=(t,i,s)=>!i&&s||t&&i;c.style="ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;user-select:none}ion-item-sliding .item{user-select:none}.item-sliding-active-slide .item{position:relative;transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;order:1;transition-duration:0.6s;transition-property:padding-left}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{order:-1}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;order:-1;transition-duration:0.6s;transition-property:padding-right}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{order:1}";export{c as ion_item_sliding}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as s,h as i,H as r,e}from"./p-ee1e0eb4.js";import{j as n,k as t}from"./p-4c6a7e52.js";import{g as o,c as a,a as c}from"./p-871106e0.js";import{s as h}from"./p-7d8427eb.js";import{S as l}from"./p-f3cba72a.js";const p=class{constructor(i){s(this,i)}componentWillLoad(){if(void 0===this.pullingIcon){const s=o(this),i=void 0!==this.el.style.webkitOverflowScrolling?"lines":t;this.pullingIcon=a.get("refreshingIcon","ios"===s&&c("mobile")?a.get("spinner",i):"circular")}if(void 0===this.refreshingSpinner){const s=o(this);this.refreshingSpinner=a.get("refreshingSpinner",a.get("spinner","ios"===s?"lines":"circular"))}}render(){const s=this.pullingIcon,e=null!=s&&void 0!==l[s],t=o(this);return i(r,{class:t},i("div",{class:"refresher-pulling"},this.pullingIcon&&e&&i("div",{class:"refresher-pulling-icon"},i("div",{class:"spinner-arrow-container"},i("ion-spinner",{name:this.pullingIcon,paused:!0}),"md"===t&&"circular"===this.pullingIcon&&i("div",{class:"arrow-container"},i("ion-icon",{icon:n})))),this.pullingIcon&&!e&&i("div",{class:"refresher-pulling-icon"},i("ion-icon",{icon:this.pullingIcon,lazy:!1})),this.pullingText&&i("div",{class:"refresher-pulling-text",innerHTML:h(this.pullingText)})),i("div",{class:"refresher-refreshing"},this.refreshingSpinner&&i("div",{class:"refresher-refreshing-icon"},i("ion-spinner",{name:this.refreshingSpinner})),this.refreshingText&&i("div",{class:"refresher-refreshing-text",innerHTML:h(this.refreshingText)})))}get el(){return e(this)}};export{p as ion_refresher_content}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as o,h as e,H as r,e as s}from"./p-ee1e0eb4.js";import{r as i,l as n}from"./p-4c6a7e52.js";import{g as t}from"./p-871106e0.js";const c=class{constructor(e){o(this,e)}onClick(o){const e=this.el.closest("ion-reorder-group");o.preventDefault(),e&&e.disabled||o.stopImmediatePropagation()}render(){const o=t(this);return e(r,{class:o},e("slot",null,e("ion-icon",{icon:"ios"===o?i:n,lazy:!1,class:"reorder-icon",part:"icon"})))}get el(){return s(this)}};c.style={ios:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:34px;opacity:0.4}",md:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:31px;opacity:0.3}"};export{c as ion_reorder}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as s,e as t}from"./p-ee1e0eb4.js";import{A as e}from"./p-99ee9919.js";const i=class{constructor(t){s(this,t),this.when=!0,this.message=""}enable(s){this.unblock&&this.unblock(),this.history&&(this.unblock=this.history.block(s))}disable(){this.unblock&&(this.unblock(),this.unblock=void 0)}componentWillLoad(){this.when&&this.enable(this.message)}updateMessage(s,t){this.when?this.when&&t===s||this.enable(this.message):this.disable()}componentDidUnload(){this.disable()}render(){return null}get el(){return t(this)}static get watchers(){return{message:["updateMessage"],when:["updateMessage"]}}};e.injectProps(i,["history"]);export{i as stencil_router_prompt}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r,h as i,H as t,e as n}from"./p-ee1e0eb4.js";import{c as a,g as o}from"./p-871106e0.js";import{h as e}from"./p-0e4de1d0.js";const s=class{constructor(i){r(this,i),this.animated=!1}render(){const r=this.animated&&a.getBoolean("animated",!0),n=e("ion-avatar",this.el)||e("ion-thumbnail",this.el),s=o(this);return i(t,{class:{[s]:!0,"skeleton-text-animated":r,"in-media":n}},i("span",null," "))}get el(){return n(this)}};s.style=":host{--background:rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065);border-radius:var(--border-radius, inherit);display:block;width:100%;height:inherit;margin-top:4px;margin-bottom:4px;background:var(--background);line-height:10px;user-select:none;pointer-events:none}span{display:inline-block}:host(.in-media){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;height:100%}:host(.skeleton-text-animated){position:relative;background:linear-gradient(to right, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135) 18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 33%);background-size:800px 104px;animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:shimmer;animation-timing-function:linear}@keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}";export{s as ion_skeleton_text}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r,h as s,H as e}from"./p-ee1e0eb4.js";import{g as i}from"./p-871106e0.js";const o=class{constructor(s){r(this,s)}render(){return s(e,{class:i(this)},s("slot",null))}};o.style=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;object-fit:cover;overflow:hidden}";export{o as ion_thumbnail}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,i,h as s,H as e,e as o}from"./p-ee1e0eb4.js";const n=class{constructor(s){t(this,s),this.ionNavWillLoad=i(this,"ionNavWillLoad",7),this.ionTabsWillChange=i(this,"ionTabsWillChange",3),this.ionTabsDidChange=i(this,"ionTabsDidChange",3),this.transitioning=!1,this.useRouter=!1,this.onTabClicked=t=>{const{href:i,tab:s}=t.detail;if(this.useRouter&&void 0!==i){const t=document.querySelector("ion-router");t&&t.push(i)}else this.select(s)}}async componentWillLoad(){if(this.useRouter||(this.useRouter=!!document.querySelector("ion-router")&&!this.el.closest("[no-router]")),!this.useRouter){const t=this.tabs;t.length>0&&await this.select(t[0])}this.ionNavWillLoad.emit()}componentWillRender(){const t=this.el.querySelector("ion-tab-bar");t&&(t.selectedTab=this.selectedTab?this.selectedTab.tab:void 0)}async select(t){const i=h(this.tabs,t);return!!this.shouldSwitch(i)&&(await this.setActive(i),await this.notifyRouter(),this.tabSwitch(),!0)}async getTab(t){return h(this.tabs,t)}getSelected(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:void 0)}async setRouteId(t){const i=h(this.tabs,t);return this.shouldSwitch(i)?(await this.setActive(i),{changed:!0,element:this.selectedTab,markVisible:()=>this.tabSwitch()}):{changed:!1,element:this.selectedTab}}async getRouteId(){var t;const i=null===(t=this.selectedTab)||void 0===t?void 0:t.tab;return void 0!==i?{id:i,element:this.selectedTab}:void 0}setActive(t){return this.transitioning?Promise.reject("transitioning already happening"):(this.transitioning=!0,this.leavingTab=this.selectedTab,this.selectedTab=t,this.ionTabsWillChange.emit({tab:t.tab}),t.active=!0,Promise.resolve())}tabSwitch(){const t=this.selectedTab,i=this.leavingTab;this.leavingTab=void 0,this.transitioning=!1,t&&i!==t&&(i&&(i.active=!1),this.ionTabsDidChange.emit({tab:t.tab}))}notifyRouter(){if(this.useRouter){const t=document.querySelector("ion-router");if(t)return t.navChanged("forward")}return Promise.resolve(!1)}shouldSwitch(t){return void 0!==t&&t!==this.selectedTab&&!this.transitioning}get tabs(){return Array.from(this.el.querySelectorAll("ion-tab"))}render(){return s(e,{onIonTabButtonClick:this.onTabClicked},s("slot",{name:"top"}),s("div",{class:"tabs-inner"},s("slot",null)),s("slot",{name:"bottom"}))}get el(){return o(this)}},h=(t,i)=>{const s="string"==typeof i?t.find((t=>t.tab===i)):i;return s||console.error(`tab with id: "${s}" does not exist`),s};n.style=":host{left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;flex:1;contain:layout size style}";export{n as ion_tabs}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as s,h as o,e as t}from"./p-ee1e0eb4.js";const e=class{constructor(o){s(this,o),this.resiliance=0,this.care=0,this.compassData={}}componentDidLoad(){}componentWillUpdate(){console.log("Component will update and re-render")}async renderCompass(s){for(var o={},t=0;t<s.length;t++)s[t]&&s[t].extraData&&s[t].extraData.compass&&(void 0===o[s[t].extraData.compass]&&(o[s[t].extraData.compass]=0),o[s[t].extraData.compass]+=s[t].response||0);for(var e in o)o[e]=Math.floor(.25*o[e]);console.log(o)}loadOldData(){}submitPost(){}getTokenData(){let s=window.localStorage.currentUser;if(s){let o=JSON.parse(s);if(o=JSON.parse(o),new Date(o.Expiration).getTime()>(new Date).getTime())return o}return null}renderUserInfo(){var s=this.getTokenData();return null!=s&&s.Token?o("ion-avatar",{class:"header-avatar",slot:"end"},o("img",s.ProfileImageUrl?{src:s.ProfileImageUrl}:{src:"/assets/img/avatar.png"})):o("ion-button",{slot:"end",href:"/login"},"Login to Post")}render(){const s=this.renderUserInfo();return o("div",{class:"compass-post"},o("div",{class:"compass-post-header"},"Bulletin Board",s),o("div",{class:"compass-post-body"},o("form",null,o("ion-item",null,o("ion-label",null,"Public"),o("ion-radio",{class:"IsPublic",slot:"end",color:"primary",value:"IsPublic",name:"IsPublic"})),o("gi-compass",null),o("ion-item",{class:"footer"},o("div",null,o("div",{class:"error"},this.errorMessage),o("div",{class:"success"},this.successMessage)),o("ion-button",{slot:"end",size:"default",onClick:()=>this.submitPost(),disabled:null==this.getTokenData()},"Post")))))}get el(){return t(this)}};e.style="gi-compass-post .compass-post{padding-top:10px}gi-compass-post .compass-post-header{padding:15px;background-color:rgba(213, 213, 213, 0.5);text-transform:uppercase;display:flex;justify-content:space-between;align-items:center}gi-compass-post .compass-post-header ion-avatar{width:32px;height:32px}gi-compass-post .compass-post-header h3{color:#333;padding-top:0px;padding-bottom:0px;margin:0px}gi-compass-post .compass-post-body{padding:15px;background-color:#fff}gi-compass-post .error{color:red}gi-compass-post .success{color:green}gi-compass-post .footer{display:flex;justify-content:space-between}";export{e as sparkle_compass_post}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*!
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
3
|
+
*/
|
4
|
+
const a=(a,i=0)=>new Promise((r=>{e(a,i,r)})),e=(a,e=0,i)=>{let r,n;const t={passive:!0},o=()=>{r&&r()},l=e=>{void 0!==e&&a!==e.target||(o(),i(e))};return a&&(a.addEventListener("webkitTransitionEnd",l,t),a.addEventListener("transitionend",l,t),n=setTimeout(l,e+500),r=()=>{n&&(clearTimeout(n),n=void 0),a.removeEventListener("webkitTransitionEnd",l,t),a.removeEventListener("transitionend",l,t)}),o},i=(a,e)=>{a.componentOnReady?a.componentOnReady().then((a=>e(a))):u((()=>e(a)))},r=(a,e=[])=>{const i={};return e.forEach((e=>{a.hasAttribute(e)&&(null!==a.getAttribute(e)&&(i[e]=a.getAttribute(e)),a.removeAttribute(e))})),i},n=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],t=a=>r(a,n),o=(a,e,i,r)=>{var n;if("undefined"!=typeof window){const t=window,o=null===(n=null==t?void 0:t.Ionic)||void 0===n?void 0:n.config;if(o){const n=o.get("_ael");if(n)return n(a,e,i,r);if(o._ael)return o._ael(a,e,i,r)}}return a.addEventListener(e,i,r)},l=(a,e,i,r)=>{var n;if("undefined"!=typeof window){const t=window,o=null===(n=null==t?void 0:t.Ionic)||void 0===n?void 0:n.config;if(o){const n=o.get("_rel");if(n)return n(a,e,i,r);if(o._rel)return o._rel(a,e,i,r)}}return a.removeEventListener(e,i,r)},s=(a,e=a)=>a.shadowRoot||e,u=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),d=a=>!!a.shadowRoot&&!!a.attachShadow,c=a=>{const e=a.closest("ion-item");return e?e.querySelector("ion-label"):null},f=a=>{if(a.focus(),a.classList.contains("ion-focusable")){const e=a.closest("ion-app");e&&e.setFocus([a])}},m=(a,e)=>{let i;const r=a.getAttribute("aria-labelledby"),n=a.id;let t=null!==r&&""!==r.trim()?r:e+"-lbl",o=null!==r&&""!==r.trim()?document.getElementById(r):c(a);return o?(null===r&&(o.id=t),i=o.textContent,o.setAttribute("aria-hidden","true")):""!==n.trim()&&(o=document.querySelector(`label[for="${n}"]`),o&&(""!==o.id?t=o.id:o.id=t=`${n}-lbl`,i=o.textContent)),{label:o,labelId:t,labelText:i}},b=(a,e,i,r,n)=>{if(a||d(e)){let a=e.querySelector("input.aux-input");a||(a=e.ownerDocument.createElement("input"),a.type="hidden",a.classList.add("aux-input"),e.appendChild(a)),a.disabled=n,a.name=i,a.value=r||""}},p=(a,e,i)=>Math.max(a,Math.min(e,i)),v=(a,e)=>{if(!a){const a="ASSERT: "+e;throw console.error(a),new Error(a)}},w=a=>a.timeStamp||Date.now(),x=a=>{if(a){const e=a.changedTouches;if(e&&e.length>0){const a=e[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},y=a=>{const e="rtl"===document.dir;switch(a){case"start":return e;case"end":return!e;default:throw new Error(`"${a}" is not a valid value for [side]. Use "start" or "end" instead.`)}},h=(a,e)=>{const i=a._original||a;return{_original:a,emit:_(i.emit.bind(i),e)}},_=(a,e=0)=>{let i;return(...r)=>{clearTimeout(i),i=setTimeout(a,e,...r)}},T=(a,e)=>{if(null!=a||(a={}),null!=e||(e={}),a===e)return!0;const i=Object.keys(a);if(i.length!==Object.keys(e).length)return!1;for(const r of i){if(!(r in e))return!1;if(a[r]!==e[r])return!1}return!0};export{o as a,m as b,i as c,b as d,h as e,f,s as g,d as h,t as i,r as j,c as k,u as l,p as m,y as n,v as o,_ as p,x as q,l as r,T as s,a as t,w as u}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{H as a}from"./p-b06e2bef.js";import{d as t}from"./p-2f569553.js";import{S as e}from"./p-8b56f734.js";const{state:p,onChange:s}=t({goals:[],goalsLoading:!1,goalLoading:!1}),r={state:p,onChange:s};class n{constructor(){}static getInstance(){return n.instance||(n.instance=new n),n.instance}async getAllAppData(t){return await a.http.get(`api/v1/AppData/${t}`)}async createAppData(t){return await a.http.post("api/v1/AppData/",t)}async updateAppData(t){return await a.http.put(`api/v1/AppData/${t.Id}`,t)}async getAllGoals(){r.state.goalsLoading=!0;let a=await this.getAllAppData(e.MY_GOALS_APP_ID);return a&&(r.state.goals=a.Data.map((a=>Object.assign(Object.assign({},a),{AppData:JSON.parse(a.AppJsonData)}))),r.state.goalsLoading=!1),a}async createGoal(a){r.state.goalLoading=!0;let t=await this.createAppData(a);return t&&(t.Data.AppData=JSON.parse(t.Data.AppJsonData),r.state.goals=[...r.state.goals,t.Data],r.state.goalLoading=!1),t}async updateGoal(a){r.state.goalLoading=!0;let t=await this.updateAppData(a);return t&&(t.Data.AppData=JSON.parse(t.Data.AppJsonData),r.state.goals=r.state.goals.map((a=>a.Id==t.Data.Id?Object.assign(Object.assign({},t.Data),{AppData:JSON.parse(t.Data.AppJsonData)}):a)),r.state.goalLoading=!1),t}}export{n as A,r as g}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as e,H as i,e as a}from"./p-ee1e0eb4.js";import{a as s}from"./p-05c032dd.js";import"./p-d68092b7.js";const n=class{constructor(e){t(this,e),this.loaded=!1,this.active=!1}async componentWillLoad(){this.active&&await this.setActive()}async setActive(){await this.prepareLazyLoaded(),this.active=!0}changeActive(t){t&&this.prepareLazyLoaded()}prepareLazyLoaded(){if(!this.loaded&&null!=this.component){this.loaded=!0;try{return s(this.delegate,this.el,this.component,["ion-page"])}catch(t){console.error(t)}}return Promise.resolve(void 0)}render(){const{tab:t,active:a,component:s}=this;return e(i,{role:"tabpanel","aria-hidden":a?null:"true","aria-labelledby":`tab-button-${t}`,class:{"ion-page":void 0===s,"tab-hidden":!a}},e("slot",null))}get el(){return a(this)}static get watchers(){return{active:["changeActive"]}}};n.style=":host(.tab-hidden){display:none !important}";export{n as ion_tab}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{c as t,h as e}from"./p-ee1e0eb4.js";import{r,g as n}from"./p-5d409601.js";import{H as a}from"./p-b06e2bef.js";import{T as o,A as i}from"./p-7dae0f0e.js";import{A as s}from"./p-2f569553.js";const c=new class{constructor(){this.sample=t=>t[Math.floor(Math.random()*t.length)],this.keyBy=(t,e,r)=>t.reduce(((t,n)=>(t[e(n)]=r?r(n):n,t)),{}),this.debounce=(t,e)=>{let r=null;return(...n)=>{clearTimeout(r),r=setTimeout(t,e,...n)}}}loadScript(t){var e=document.createElement("script");e.type="text/javascript",e.src=t,document.body.appendChild(e)}loadScriptAsync(t){return new Promise((function(e,r){const n=document.createElement("script");let a=!1;n.type="text/javascript",n.src=t,n.async=!0,n.onerror=function(t){r(t)},n.onload=n.onreadystatechange=function(){a||this.readyState&&"complete"!=this.readyState||(a=!0,e(!0))};const o=document.getElementsByTagName("script")[0];o.parentElement.insertBefore(n,o)}))}extend(...t){let e,r,n,a,o,i,s,c=t[0]||{},l=1,u=t.length,p=!1;for("boolean"==typeof c&&(p=c,c=t[l]||{},l++),"object"!=typeof c&&"function"!=typeof c&&(c={}),l===u&&(c=this,l--);l<u;l++)if(null!==(e=t[l]))for(r in e)n=c[r],o=e[r],c!==o&&(a=Array.isArray(n)?"array":typeof n,p&&o&&((i=Array.isArray(o))||"object"==typeof o)?(i?(i=!1,s=n&&"array"===a?n:[]):s=n&&"object"===a?n:{},c[r]=this.extend(p,s,o)):void 0!==o&&(c[r]=o));return c}setLocalization(){if(!sparkle.utils.getCookieValue("Sparkle.Localization.CultureName")){let t=navigator.language;sparkle.utils.setCookieValue("Sparkle.Localization.CultureName",t,new Date((new Date).getTime()+15768e7),sparkle.appPath)}}};async function l(t){if(!window)return;const e=window,r=e.Sparkle;if(!r||!r.config||"Object"===r.config.constructor.name)return e.Sparkle=e.Sparkle||{},e.Sparkle.config=Object.assign(Object.assign({},e.Sparkle.config),t),e.Sparkle.config;console.error("Sparkle config was already initialized")}async function u(e){await c.loadScriptAsync(t("../assets/lib/sparkle.js")),await l(e)}class p{constructor(){}static getInstance(){return p.instance||(p.instance=new p),p.instance}async authenticate(t){const e={"Content-Type":"application/json"};let r;s.state.loading=!0;try{if(r=await a.http.post("api/Account/Authenticate",t,{headers:e}),r){const t=r.Data,e={Id:t.Id,UserName:t.UserName,Email:t.Email,Roles:t.Roles,IsVerified:t.IsVerified,JWToken:t.JWToken,IssuedOn:t.IssuedOn,ExpiresOn:t.ExpiresOn,RefreshToken:t.RefreshToken,PhotoUrl:"",IsFacilitator:t.Roles.indexOf("Facilitator")>0};return await o.getInstance().saveAuthUser(e),s.state.loading=!1,e}}catch(t){return s.state.loading=!1,t}}async signOut(){await r(i.AUTH_USER_LOCALSTORAGE),await o.getInstance().removeAuthUser(),sessionStorage.clear()}async getLocalAuthUser(){return n(i.AUTH_USER_LOCALSTORAGE)}}const f=t=>{var{component:r,permission:n,render:a}=t,o=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(t);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(t,n[a])&&(r[n[a]]=t[n[a]])}return r}(t,["component","permission","render"]);const i=r;return e("stencil-route",Object.assign({},o,{routeRender:t=>s.state.isAuthenticated?n&&!sparkle.auth.isGranted(n)?e("stencil-router-redirect",{url:"/unauthorized"}):i?e(i,Object.assign({},t,t.componentProps)):a(t):e("stencil-router-redirect",{url:"/login"})}))};export{p as A,f as P,u as i,l as s}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as i,H as n,e as r}from"./p-ee1e0eb4.js";import{g as a}from"./p-871106e0.js";import{c as e}from"./p-0e4de1d0.js";const o=class{constructor(i){t(this,i),this.sticky=!1}render(){const t=a(this);return i(n,{class:e(this.color,{[t]:!0,"item-divider-sticky":this.sticky,item:!0})},i("slot",{name:"start"}),i("div",{class:"item-divider-inner"},i("div",{class:"item-divider-wrapper"},i("slot",null)),i("slot",{name:"end"})))}get el(){return r(this)}};o.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border:0;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-divider-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, #e6e6e6);--color:var(--ion-color-step-850, #262626);--padding-start:20px;--inner-padding-end:10px;border-radius:0;position:relative;min-height:28px;font-size:17px;font-weight:600}:host([slot=start]){margin-left:0;margin-right:20px;margin-top:2px;margin-bottom:2px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:20px;margin-inline-end:20px}}:host([slot=end]){margin-left:10px;margin-right:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4);font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border:0;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-divider-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, #999999);--padding-start:16px;--inner-padding-end:0;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:14px}::slotted([slot=start]){margin-right:32px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted([slot=end]){margin-left:32px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;-webkit-margin-start:32px;margin-inline-start:32px}}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){margin-right:32px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted(ion-icon[slot=end]){margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){padding-right:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-note[slot=start]){padding-right:unset;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-note[slot=end]){padding-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-note[slot=end]){padding-left:unset;-webkit-padding-start:16px;padding-inline-start:16px}}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:unset;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, #666666);font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}"};export{o as ion_item_divider}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-ee1e0eb4.js";import{g as e}from"./p-871106e0.js";const i=class{constructor(r){o(this,r)}render(){const o=e(this);return r(s,{role:"group",class:{[o]:!0,[`item-group-${o}`]:!0,item:!0}})}};i.style={ios:"ion-item-group{display:block}",md:"ion-item-group{display:block}"};export{i as ion_item_group}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as i,h as t,H as s}from"./p-ee1e0eb4.js";const e=class{constructor(t){i(this,t),this.openDialog=!1,this.transparent=!1}handleKeyDown(i){"Escape"===i.key&&(this.openDialog=!1)}handleScroll(){this.openDialog&&(this.openDialog=!1)}openImage(){this.openDialog=!0}render(){return t(s,null,t("a",{href:"javascript:void()",onClick:()=>this.openImage()},t("img",{src:this.src,alt:this.alt,width:this.width,height:this.height})),this.openDialog&&t("div",{class:"overlay "+(this.openDialog?"is-visible":"")+" "+(this.transparent?"is-transparent":"")},t("div",{class:"modal-window"},t("div",{class:"modal-window__content"},t("img",{src:this.src,alt:this.alt,width:this.width,height:this.height})))))}};e.style=":host{display:block}.overlay{opacity:0;visibility:hidden;position:fixed;width:100%;height:100%;top:0;left:0;background:rgba(0, 0, 0, 0.7);-webkit-transition:opacity 0.5s, visibility 0s 0.5s;transition:opacity 0.5s, visibility 0s 0.5s;display:flex;align-items:center;justify-content:center;z-index:100}.is-visible{opacity:1;visibility:visible;-webkit-transition:opacity 0.5s;transition:opacity 0.5s}.is-transparent{opacity:0}.modal-window{border-radius:25px;width:75%;height:75%;padding:50px;display:flex;align-items:center;justify-content:center}.modal-window__content{width:100%;height:100%;display:flex;justify-content:center;align-items:center;animation-name:zoom;animation-duration:0.6s}@keyframes zoom{from{transform:scale(0)}to{transform:scale(1)}}";export{e as sparkle_modal_image}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import{j as o,w as t,r as e,h as r,H as i,e as s}from"./p-ee1e0eb4.js";import{g as a}from"./p-871106e0.js";import{a as n,p as l,g as p}from"./p-bd80ff43.js";import{m as d}from"./p-d68092b7.js";import"./p-a208ab2d.js";
|
2
|
+
/*!
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
4
|
+
*/const A=(e,r)=>{o((()=>{const o=d(0,1-(e.scrollTop-(e.scrollHeight-e.clientHeight-10))/10,1);t((()=>{r.style.setProperty("--opacity-scale",o.toString())}))}))},f=class{constructor(o){e(this,o),this.translucent=!1,this.checkCollapsibleFooter=()=>{if("ios"!==a(this))return;const{collapse:o}=this,t="fade"===o;if(this.destroyCollapsibleFooter(),t){const o=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),t=o?n(o):null;if(!t)return void l(this.el);this.setupFadeFooter(t)}},this.setupFadeFooter=async o=>{const t=this.scrollEl=await p(o);this.contentScrollCallback=()=>{A(t,this.el)},t.addEventListener("scroll",this.contentScrollCallback),A(t,this.el)}}componentDidLoad(){this.checkCollapsibleFooter()}componentDidUpdate(){this.checkCollapsibleFooter()}destroyCollapsibleFooter(){this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0)}render(){const{translucent:o,collapse:t}=this,e=a(this);return r(i,{role:"contentinfo",class:{[e]:!0,[`footer-${e}`]:!0,"footer-translucent":o,[`footer-translucent-${e}`]:o,[`footer-collapse-${t}`]:void 0!==t}},"ios"===e&&o&&r("div",{class:"footer-background"}),r("slot",null))}get el(){return s(this)}};f.style={ios:"ion-footer{display:block;position:relative;order:1;width:100%;z-index:10}ion-footer ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-ios ion-toolbar:first-of-type{--border-width:0.55px 0 0}@supports (backdrop-filter: blur(0)){.footer-background{left:0;right:0;top:0;bottom:0;position:absolute;backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8}}.footer-ios.ion-no-border ion-toolbar:first-of-type{--border-width:0}.footer-collapse-fade ion-toolbar{--opacity-scale:inherit}",md:'ion-footer{display:block;position:relative;order:1;width:100%;z-index:10}ion-footer ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-md::before{left:0;top:-2px;bottom:auto;background-position:left 0 top 0;position:absolute;width:100%;height:2px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==");background-repeat:repeat-x;content:""}[dir=rtl] .footer-md::before,:host-context([dir=rtl]) .footer-md::before{left:unset;right:unset;right:0}[dir=rtl] .footer-md::before,:host-context([dir=rtl]) .footer-md::before{background-position:right 0 top 0}.footer-md.ion-no-border::before{display:none}'};export{f as ion_footer}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as o,i as t,h as r,H as a,e as n}from"./p-ee1e0eb4.js";import{g as e}from"./p-871106e0.js";import{c as i}from"./p-0e4de1d0.js";const s=class{constructor(r){o(this,r),this.ionTabBarChanged=t(this,"ionTabBarChanged",7),this.keyboardVisible=!1,this.translucent=!1}selectedTabChanged(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}connectedCallback(){"undefined"!=typeof window&&(this.keyboardWillShowHandler=()=>{"top"!==this.el.getAttribute("slot")&&(this.keyboardVisible=!0)},this.keyboardWillHideHandler=()=>{setTimeout((()=>this.keyboardVisible=!1),50)},window.addEventListener("keyboardWillShow",this.keyboardWillShowHandler),window.addEventListener("keyboardWillHide",this.keyboardWillHideHandler))}disconnectedCallback(){"undefined"!=typeof window&&(window.removeEventListener("keyboardWillShow",this.keyboardWillShowHandler),window.removeEventListener("keyboardWillHide",this.keyboardWillHideHandler),this.keyboardWillShowHandler=this.keyboardWillHideHandler=void 0)}render(){const{color:o,translucent:t,keyboardVisible:n}=this,s=e(this);return r(a,{role:"tablist","aria-hidden":n?"true":null,class:i(o,{[s]:!0,"tab-bar-translucent":t,"tab-bar-hidden":n})},r("slot",null))}get el(){return n(this)}static get watchers(){return{selectedTab:["selectedTabChanged"]}}};s.style={ios:":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:flex;align-items:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;user-select:none;z-index:10;box-sizing:content-box !important}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, #f7f7f7));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-400, #999999));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports (backdrop-filter: blur(0)){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",md:":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:flex;align-items:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;user-select:none;z-index:10;box-sizing:content-box !important}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}"};export{s as ion_tab_bar}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import{G as t}from"./p-076f0239.js";export{G as GESTURE_CONTROLLER}from"./p-076f0239.js";
|
2
|
+
/*!
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
4
|
+
*/const e=(t,e,n,r)=>{const s=o(t)?{capture:!!r.capture,passive:!!r.passive}:!!r.capture;let i,c;return t.__zone_symbol__addEventListener?(i="__zone_symbol__addEventListener",c="__zone_symbol__removeEventListener"):(i="addEventListener",c="removeEventListener"),t[i](e,n,s),()=>{t[c](e,n,s)}},o=t=>{if(void 0===n)try{const e=Object.defineProperty({},"passive",{get:()=>{n=!0}});t.addEventListener("optsTest",(()=>{}),e)}catch(t){n=!1}return!!n};let n;
|
5
|
+
/*!
|
6
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
7
|
+
*/const r=t=>t instanceof Document?t:t.ownerDocument,s=o=>{let n=!1,s=!1,u=!0,d=!1;const l=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},o),v=l.canStart,m=l.onWillStart,p=l.onStart,f=l.onEnd,y=l.notCaptured,_=l.onMove,h=l.threshold,b=l.passive,E=l.blurOnStart,L={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},x=((t,e,o)=>{const n=o*(Math.PI/180),r="x"===t,s=Math.cos(n),i=e*e;let c=0,a=0,u=!1,d=0;return{start(t,e){c=t,a=e,d=0,u=!0},detect(t,e){if(!u)return!1;const o=t-c,n=e-a,l=o*o+n*n;if(l<i)return!1;const v=Math.sqrt(l),m=(r?o:n)/v;return d=m>s?1:m<-s?-1:0,u=!1,!0},isGesture:()=>0!==d,getDirection:()=>d}})(l.direction,l.threshold,l.maxAngle),D=t.createGesture({name:o.gestureName,priority:o.gesturePriority,disableScroll:o.disableScroll}),T=()=>{n&&(d=!1,_&&_(L))},g=()=>!(D&&!D.capture()||(n=!0,u=!1,L.startX=L.currentX,L.startY=L.currentY,L.startTime=L.currentTime,m?m(L).then(j):j(),0)),j=()=>{E&&(()=>{if("undefined"!=typeof document){const t=document.activeElement;(null==t?void 0:t.blur)&&t.blur()}})(),p&&p(L),u=!0},G=()=>{n=!1,s=!1,d=!1,u=!0,D.release()},O=t=>{const e=n,o=u;G(),o&&(i(L,t),e?f&&f(L):y&&y(L))},X=((t,o,n,s,i)=>{let c,a,u,d,l,v,m,p=0;const f=r=>{p=Date.now()+2e3,o(r)&&(!a&&n&&(a=e(t,"touchmove",n,i)),u||(u=e(r.target,"touchend",_,i)),d||(d=e(r.target,"touchcancel",_,i)))},y=s=>{p>Date.now()||o(s)&&(!v&&n&&(v=e(r(t),"mousemove",n,i)),m||(m=e(r(t),"mouseup",h,i)))},_=t=>{b(),s&&s(t)},h=t=>{E(),s&&s(t)},b=()=>{a&&a(),u&&u(),d&&d(),a=u=d=void 0},E=()=>{v&&v(),m&&m(),v=m=void 0},L=()=>{b(),E()},x=(o=!0)=>{o?(c||(c=e(t,"touchstart",f,i)),l||(l=e(t,"mousedown",y,i))):(c&&c(),l&&l(),c=l=void 0,L())};return{enable:x,stop:L,destroy:()=>{x(!1),s=n=o=void 0}}})(l.el,(t=>{const e=a(t);return!(s||!u)&&(c(t,L),L.startX=L.currentX,L.startY=L.currentY,L.startTime=L.currentTime=e,L.velocityX=L.velocityY=L.deltaX=L.deltaY=0,L.event=t,(!v||!1!==v(L))&&(D.release(),!!D.start()&&(s=!0,0===h?g():(x.start(L.startX,L.startY),!0))))}),(t=>{n?!d&&u&&(d=!0,i(L,t),requestAnimationFrame(T)):(i(L,t),x.detect(L.currentX,L.currentY)&&(x.isGesture()&&g()||Y()))}),O,{capture:!1,passive:b}),Y=()=>{G(),X.stop(),y&&y(L)};return{enable(t=!0){t||(n&&O(void 0),G()),X.enable(t)},destroy(){D.destroy(),X.destroy()}}},i=(t,e)=>{if(!e)return;const o=t.currentX,n=t.currentY,r=t.currentTime;c(e,t);const s=t.currentX,i=t.currentY,u=(t.currentTime=a(e))-r;if(u>0&&u<100){const e=(i-n)/u;t.velocityX=(s-o)/u*.7+.3*t.velocityX,t.velocityY=.7*e+.3*t.velocityY}t.deltaX=s-t.startX,t.deltaY=i-t.startY,t.event=e},c=(t,e)=>{let o=0,n=0;if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];o=t.clientX,n=t.clientY}else void 0!==t.pageX&&(o=t.pageX,n=t.pageY)}e.currentX=o,e.currentY=n},a=t=>t.timeStamp||Date.now();export{s as createGesture}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as e}from"./p-ee1e0eb4.js";const n=class{constructor(e){t(this,e),this.content=""}componentWillLoad(){if(null!=this.documentLocation)return this.fetchNewContent(this.documentLocation)}fetchNewContent(t){return fetch(t).then((t=>t.text())).then((t=>{this.content=t}))}render(){return e("div",{innerHTML:this.content})}static get watchers(){return{documentLocation:["fetchNewContent"]}}};export{n as stencil_async_content}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import{a as e}from"./p-a208ab2d.js";
|
2
|
+
/*!
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
4
|
+
*/const t=(e,t)=>e.month===t.month&&e.day===t.day&&e.year===t.year,n=(e,t)=>e.year<t.year||e.year===t.year&&e.month<t.month||e.year===t.year&&e.month===t.month&&e.day&&e.day<t.day,o=(e,t)=>e.year>t.year||e.year===t.year&&e.month>t.month||e.year===t.year&&e.month===t.month&&e.day&&e.day>t.day,r=(t,r,a)=>{const d=Array.isArray(t)?t:[t];for(const i of d)if(r&&n(i,r)||a&&o(i,a)){e(`The value provided to ion-datetime is out of bounds.\n\nMin: ${JSON.stringify(r)}\nMax: ${JSON.stringify(a)}\nValue: ${JSON.stringify(t)}`);break}},a=(e,t)=>{if(void 0!==t)return"h23"===t;const n=new Intl.DateTimeFormat(e,{hour:"numeric"}),o=n.resolvedOptions();if(void 0!==o.hourCycle)return"h23"===o.hourCycle;const r=new Date("5/18/2021 00:00"),a=n.formatToParts(r).find((e=>"hour"===e.type));if(!a)throw new Error("Hour value not found from DateTimeFormat");return"00"===a.value},d=(e,t)=>4===e||6===e||9===e||11===e?30:2===e?(e=>e%4==0&&e%100!=0||e%400==0)(t)?29:28:31,i=(e,t={month:"numeric",year:"numeric"})=>"month"===new Intl.DateTimeFormat(e,t).formatToParts(new Date)[0].type,s=e=>"dayPeriod"===new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date)[0].type,u=e=>("0"+(void 0!==e?Math.abs(e):"0")).slice(-2);function l(e){if(Array.isArray(e))return e.map((e=>l(e)));let t="";var n;return void 0!==e.year?(t=("000"+(void 0!==(n=e.year)?Math.abs(n):"0")).slice(-4),void 0!==e.month&&(t+="-"+u(e.month),void 0!==e.day&&(t+="-"+u(e.day),void 0!==e.hour&&(t+=`T${u(e.hour)}:${u(e.minute)}:00`,t+=void 0===e.tzOffset?"Z":(e.tzOffset>0?"+":"-")+u(Math.floor(Math.abs(e.tzOffset/60)))+":"+u(e.tzOffset%60))))):void 0!==e.hour&&(t=u(e.hour)+":"+u(e.minute)),t}const m=(e,t)=>void 0===t?e:"am"===t?12===e?0:e:12===e?12:e+12,c=e=>{const{dayOfWeek:t}=e;if(null==t)throw new Error("No day of week provided");return $(e,t)},y=e=>{const{dayOfWeek:t}=e;if(null==t)throw new Error("No day of week provided");return p(e,6-t)},v=e=>p(e,1),h=e=>$(e,1),w=e=>$(e,7),f=e=>p(e,7),$=(e,t)=>{const{month:n,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const a={month:n,day:o,year:r};if(a.day=o-t,a.day<1&&(a.month-=1),a.month<1&&(a.month=12,a.year-=1),a.day<1){const e=d(a.month,a.year);a.day=e+a.day}return a},p=(e,t)=>{const{month:n,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const a={month:n,day:o,year:r},i=d(n,r);return a.day=o+t,a.day>i&&(a.day-=i,a.month+=1),a.month>12&&(a.month=1,a.year+=1),a},T=e=>{const t=1===e.month?12:e.month-1,n=1===e.month?e.year-1:e.year,o=d(t,n);return{month:t,year:n,day:o<e.day?o:e.day}},I=e=>{const t=12===e.month?1:e.month+1,n=12===e.month?e.year+1:e.year,o=d(t,n);return{month:t,year:n,day:o<e.day?o:e.day}},O=(e,t)=>{const n=e.month,o=e.year+t,r=d(n,o);return{month:n,year:o,day:r<e.day?r:e.day}},D=e=>O(e,-1),b=e=>O(e,1),j=(e,t,n)=>t?e:m(e,n),M=(e,t)=>{const{ampm:n,hour:o}=e;let r=o;return"am"===n&&"pm"===t?r=m(r,"pm"):"pm"===n&&"am"===t&&(r=Math.abs(r-12)),r},k=(e,t,n)=>void 0===t.hour||void 0===t.minute?"Invalid Time":new Intl.DateTimeFormat(e,{hour:"numeric",minute:"numeric",timeZone:"UTC",hour12:!n}).format(new Date(l(Object.assign(Object.assign({},t),{tzOffset:void 0})))),x=e=>{const t=e.toString();return t.length>1?t:`0${t}`},Z=(e,t)=>t?x(e):e.toString(),C=(e,t,n)=>{if(null===n.day)return null;const o=new Date(`${n.month}/${n.day}/${n.year} GMT+0000`),r=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(o);return t?`Today, ${r}`:r},U=(e,t)=>{const n=new Date(`${t.month}/${t.day}/${t.year} GMT+0000`);return new Intl.DateTimeFormat(e,{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}).format(n)},G=(e,t)=>{const n=new Date(`${t.month}/${t.day}/${t.year} GMT+0000`);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(n)},N=(e,t)=>g(e,t,{month:"short",day:"numeric",year:"numeric"}),g=(e,t,n)=>{const o=new Date(`${t.month}/${t.day}/${t.year}${t.hour&&t.minute?` ${t.hour}:${t.minute}`:""} GMT+0000`);return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},n),{timeZone:"UTC"})).format(o)},A=e=>{if("RelativeTimeFormat"in Intl){const t=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return t.charAt(0).toUpperCase()+t.slice(1)}return"Today"},E=e=>{const t=e.getTimezoneOffset();return e.setMinutes(e.getMinutes()-t),e},W=E(new Date("2022T01:00")),F=E(new Date("2022T13:00")),J=(e,t)=>{const n="am"===t?W:F,o=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(n).find((e=>"dayPeriod"===e.type));return o?o.value:(e=>void 0===e?"":e.toUpperCase())(t)},z=e=>Array.isArray(e)?e.join(","):e,P=()=>E(new Date).toISOString(),S=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],H=[12,1,2,3,4,5,6,7,8,9,10,11],q=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],B=(e,t,n=0)=>{const o=new Intl.DateTimeFormat(e,{weekday:"ios"===t?"short":"narrow"}),r=new Date("11/01/2020"),a=[];for(let e=n;e<n+7;e++){const t=new Date(r);t.setDate(t.getDate()+e),a.push(o.format(t))}return a},K=(e,t,n)=>{const o=d(e,t),r=new Date(`${e}/1/${t}`).getDay(),a=r>=n?r-(n+1):6-(n-r);let i=[];for(let e=1;e<=o;e++)i.push({day:e,dayOfWeek:(a+e)%7});for(let e=0;e<=a;e++)i=[{day:null,dayOfWeek:null},...i];return i},L=(e,r="h12",a,d,i,s)=>{const u="h23"===r;let l=u?q:H,m=S,c=!0,y=!0;if(i&&(l=l.filter((e=>i.includes(e)))),s&&(m=m.filter((e=>s.includes(e)))),a)if(t(e,a)){if(void 0!==a.hour&&(l=l.filter((t=>(u?t:"pm"===e.ampm?(t+12)%24:t)>=a.hour)),c=a.hour<13),void 0!==a.minute){let t=!1;void 0!==a.hour&&void 0!==e.hour&&e.hour>a.hour&&(t=!0),m=m.filter((e=>!!t||e>=a.minute))}}else n(e,a)&&(l=[],m=[],c=y=!1);return d&&(t(e,d)?(void 0!==d.hour&&(l=l.filter((t=>(u?t:"pm"===e.ampm?(t+12)%24:t)<=d.hour)),y=d.hour>=13),void 0!==d.minute&&e.hour===d.hour&&(m=m.filter((e=>e<=d.minute)))):o(e,d)&&(l=[],m=[],c=y=!1)),{hours:l,minutes:m,am:c,pm:y}},R=e=>[T(e),{month:e.month,year:e.year,day:e.day},I(e)],V=(e,t,n,o,r,a={month:"long"})=>{const{year:d}=t,i=[];if(void 0!==r){let t=r;void 0!==(null==o?void 0:o.month)&&(t=t.filter((e=>e<=o.month))),void 0!==(null==n?void 0:n.month)&&(t=t.filter((e=>e>=n.month))),t.forEach((t=>{const n=new Date(`${t}/1/${d} GMT+0000`),o=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(n);i.push({text:o,value:t})}))}else{const t=o&&o.year===d?o.month:12;for(let o=n&&n.year===d?n.month:1;o<=t;o++){const t=new Date(`${o}/1/${d} GMT+0000`),n=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(t);i.push({text:n,value:o})}}return i},Q=(e,t,n,o,r,a={day:"numeric"})=>{const{month:i,year:s}=t,u=[],l=d(i,s),m=(null==o?void 0:o.day)&&o.year===s&&o.month===i?o.day:l,c=(null==n?void 0:n.day)&&n.year===s&&n.month===i?n.day:1;if(void 0!==r){let t=r;t=t.filter((e=>e>=c&&e<=m)),t.forEach((t=>{const n=new Date(`${i}/${t}/${s} GMT+0000`),o=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(n);u.push({text:o,value:t})}))}else for(let t=c;t<=m;t++){const n=new Date(`${i}/${t}/${s} GMT+0000`),o=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(n);u.push({text:o,value:t})}return u},X=(e,t,n,o)=>{let r=[];if(void 0!==o)r=o,void 0!==(null==n?void 0:n.year)&&(r=r.filter((e=>e<=n.year))),void 0!==(null==t?void 0:t.year)&&(r=r.filter((e=>e>=t.year)));else{const{year:o}=e,a=(null==t?void 0:t.year)||o-100;for(let e=(null==n?void 0:n.year)||o;e>=a;e--)r.push(e)}return r.map((e=>({text:`${e}`,value:e})))},Y=(e,t)=>e.month===t.month&&e.year===t.year?[e]:[e,...Y(I(e),t)],_=(e,n,o,r,a,d,i)=>{let s=[],u=[],l=Y(r,a);return i&&(l=l.filter((({month:e})=>i.includes(e)))),l.forEach((i=>{const l={month:i.month,day:null,year:n.year},m=Q(e,l,r,a,d,{month:"short",day:"numeric",weekday:"short"}),c=[],y=[];m.forEach((r=>{const a=t(Object.assign(Object.assign({},l),{day:r.value}),o);y.push({text:a?A(e):r.text,value:`${n.year}-${i.month}-${r.value}`}),c.push({month:i.month,year:n.year,day:r.value})})),u=[...u,...c],s=[...s,...y]})),{parts:u,items:s}},ee=(e,t,n,o,r,d,i)=>{const s=a(e,n),{hours:u,minutes:l,am:m,pm:c}=L(t,s?"h23":"h12",o,r,d,i),y=u.map((e=>({text:Z(e,s),value:j(e,s,t.ampm)}))),v=l.map((e=>({text:x(e),value:e}))),h=[];return m&&!s&&h.push({text:J(e,"am"),value:"am"}),c&&!s&&h.push({text:J(e,"pm"),value:"pm"}),{minutesData:v,hoursData:y,dayPeriodData:h}},te=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,ne=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,oe=e=>{if(void 0===e)return;let t,n=e;return"string"==typeof e&&(n=e.replace(/\[|\]|\s/g,"").split(",")),t=Array.isArray(n)?n.map((e=>parseInt(e,10))).filter(isFinite):[n],t},re=e=>({month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)});function ae(e){if(Array.isArray(e))return e.map((e=>ae(e)));let t=null;if(null!=e&&""!==e&&(t=ne.exec(e),t?(t.unshift(void 0,void 0),t[2]=t[3]=void 0):t=te.exec(e)),null===t)return;for(let e=1;e<8;e++)t[e]=void 0!==t[e]?parseInt(t[e],10):void 0;let n=0;return t[9]&&t[10]&&(n=60*parseInt(t[10],10),t[11]&&(n+=parseInt(t[11],10)),"-"===t[9]&&(n*=-1)),{year:t[1],month:t[2],day:t[3],hour:t[4],minute:t[5],tzOffset:n}}const de=(e,t,r)=>t&&n(e,t)?t:r&&o(e,r)?r:e,ie=e=>e>=12?"pm":"am";export{G as A,K as B,R as C,a as D,k as E,U as F,z as G,b as H,D as I,de as J,ie as K,M as L,g as M,N,o as a,t as b,T as c,I as d,P as e,re as f,C as g,y as h,n as i,c as j,h as k,v as l,w as m,f as n,oe as o,ae as p,l as q,_ as r,V as s,Q as t,X as u,i as v,r as w,ee as x,s as y,B as z}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,i,h as s,e}from"./p-ee1e0eb4.js";import{g as a,c as o}from"./p-871106e0.js";import{g as n}from"./p-4d4077ea.js";import{a as h,d as r}from"./p-05c032dd.js";import{s as l}from"./p-d68092b7.js";import{t as c}from"./p-00d10dc9.js";const d=class{constructor(s){t(this,s),this.ionNavWillLoad=i(this,"ionNavWillLoad",7),this.ionNavWillChange=i(this,"ionNavWillChange",3),this.ionNavDidChange=i(this,"ionNavDidChange",3),this.gestureOrAnimationInProgress=!1,this.mode=a(this),this.animated=!0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}async connectedCallback(){const t=()=>{this.gestureOrAnimationInProgress=!0,this.swipeHandler&&this.swipeHandler.onStart()};this.gesture=(await import("./p-73721c84.js")).createSwipeBackGesture(this.el,(()=>!this.gestureOrAnimationInProgress&&!!this.swipeHandler&&this.swipeHandler.canStart()),(()=>t()),(t=>{var i;return null===(i=this.ani)||void 0===i?void 0:i.progressStep(t)}),((t,i,s)=>{if(this.ani){this.ani.onFinish((()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(t)}),{oneTimeCallback:!0});let e=t?-.001:.001;t?e+=n([0,0],[.32,.72],[0,1],[1,1],i)[0]:(this.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),e+=n([0,0],[1,0],[.68,.28],[1,1],i)[0]),this.ani.progressEnd(t?1:0,e,s)}else this.gestureOrAnimationInProgress=!1})),this.swipeHandlerChanged()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async commit(t,i,s){const e=await this.lock();let a=!1;try{a=await this.transition(t,i,s)}catch(t){console.error(t)}return e(),a}async setRouteId(t,i,s,e){return{changed:await this.setRoot(t,i,{duration:"root"===s?0:void 0,direction:"back"===s?"back":"forward",animationBuilder:e}),element:this.activeEl}}async getRouteId(){const t=this.activeEl;return t?{id:t.tagName,element:t,params:this.activeParams}:void 0}async setRoot(t,i,s){if(this.activeComponent===t&&l(i,this.activeParams))return!1;const e=this.activeEl,a=await h(this.delegate,this.el,t,["ion-page","ion-page-invisible"],i);return this.activeComponent=t,this.activeEl=a,this.activeParams=i,await this.commit(a,e,s),await r(this.delegate,e),!0}async transition(t,i,s={}){if(i===t)return!1;this.ionNavWillChange.emit();const{el:e,mode:a}=this,n=this.animated&&o.getBoolean("animated",!0),h=s.animationBuilder||this.animation||o.get("navAnimation");return await c(Object.assign(Object.assign({mode:a,animated:n,enteringEl:t,leavingEl:i,baseEl:e,progressCallback:s.progressAnimation?t=>{void 0===t||this.gestureOrAnimationInProgress?this.ani=t:(this.gestureOrAnimationInProgress=!0,t.onFinish((()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(!1)}),{oneTimeCallback:!0}),t.progressEnd(0,0,0))}:void 0},s),{animationBuilder:h})),this.ionNavDidChange.emit(),!0}async lock(){const t=this.waitPromise;let i;return this.waitPromise=new Promise((t=>i=t)),void 0!==t&&await t,i}render(){return s("slot",null)}get el(){return e(this)}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}};d.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}";export{d as ion_router_outlet}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
let e,t,n,l=!1,s=!1,o=!1,i=!1,r=null,c=!1;const a="undefined"!=typeof window?window:{},f=a.document||{head:{}},u={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},d=e=>{Object.assign(u,e)},p=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),$={},m=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=b(e,n),i=y(t,s),r=w(n);u.ael(o,l,i,r),(t.o=t.o||[]).push((()=>u.rel(o,l,i,r)))}))},y=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){ke(e)}},b=(e,t)=>4&t?f:8&t?a:16&t?f.body:e,w=e=>0!=(2&e),g="http://www.w3.org/1999/xlink",v=new WeakMap,k=(e,t)=>"sc-"+(t&&32&e.t?e.p+"-"+t:e.p),j=e=>Ce.push(e),S=e=>be(e).h,O={},C=e=>"object"==(e=typeof e)||"function"===e,M=(e,t,...n)=>{let l=null,s=null,o=null,i=!1,r=!1;const c=[],a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!C(l))&&(l+=""),i&&r?c[c.length-1].$+=l:c.push(i?R(null,l):l),r=i)};if(a(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,P);const f=R(e,null);return f.m=t,c.length>0&&(f.g=c),f.v=s,f.k=o,f},R=(e,t)=>({t:0,j:e,$:t,S:null,g:null,m:null,v:null,k:null}),x={},P={forEach:(e,t)=>e.map(U).forEach(t),map:(e,t)=>e.map(U).map(t).map(T)},U=e=>({vattrs:e.m,vchildren:e.g,vkey:e.v,vname:e.k,vtag:e.j,vtext:e.$}),T=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),M(e.vtag,t,...e.vchildren||[])}const t=R(e.vtag,e.vtext);return t.m=e.vattrs,t.g=e.vchildren,t.v=e.vkey,t.k=e.vname,t},D=(e,t,n,l,s,o)=>{if(n!==l){let i=ve(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,s=W(n),o=W(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=C(l);if((i||c&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let a=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(g,t):e.removeAttribute(t)):(!i||4&o||s)&&!c&&(l=!0===l?"":l,a?e.setAttributeNS(g,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ve(a,r)?r.slice(2):r[2]+t.slice(3),n&&u.rel(e,t,n,!1),l&&u.ael(e,t,l,!1)}},L=/\s/,W=e=>e?e.split(L):[],E=(e,t,n,l)=>{const s=11===t.S.nodeType&&t.S.host?t.S.host:t.S,o=e&&e.m||O,i=t.m||O;for(l in o)l in i||D(s,l,o[l],void 0,n,t.t);for(l in i)D(s,l,o[l],i[l],n,t.t)},F=(s,r,c,a)=>{const u=r.g[c];let d,p,h,$=0;if(l||(o=!0,"slot"===u.j&&(e&&a.classList.add(e+"-s"),u.t|=u.g?2:1)),null!==u.$)d=u.S=f.createTextNode(u.$);else if(1&u.t)d=u.S=f.createTextNode("");else{if(i||(i="svg"===u.j),d=u.S=f.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&u.t?"slot-fb":u.j),i&&"foreignObject"===u.j&&(i=!1),E(null,u,i),null!=e&&d["s-si"]!==e&&d.classList.add(d["s-si"]=e),u.g)for($=0;$<u.g.length;++$)p=F(s,u,$,d),p&&d.appendChild(p);"svg"===u.j?i=!1:"foreignObject"===d.tagName&&(i=!0)}return d["s-hn"]=n,3&u.t&&(d["s-sr"]=!0,d["s-cr"]=t,d["s-sn"]=u.k||"",h=s&&s.g&&s.g[c],h&&h.j===u.j&&s.S&&N(s.S,!1)),d},N=(e,t)=>{u.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const s=l[e];s["s-hn"]!==n&&s["s-ol"]&&(V(s).insertBefore(s,H(s)),s["s-ol"].remove(),s["s-ol"]=void 0,o=!0),t&&N(s,t)}u.t&=-2},q=(e,t,l,s,o,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);o<=i;++o)s[o]&&(r=F(null,l,o,e),r&&(s[o].S=r,c.insertBefore(r,H(t))))},A=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(o=l.S,K(l),s=!0,o["s-ol"]?o["s-ol"].remove():N(o,!0),o.remove())},B=(e,t)=>e.j===t.j&&("slot"===e.j?e.k===t.k:e.v===t.v),H=e=>e&&e["s-ol"]||e,V=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t)=>{const n=t.S=e.S,l=e.g,s=t.g,o=t.j,r=t.$;let c;null===r?(i="svg"===o||"foreignObject"!==o&&i,"slot"===o||E(e,t,i),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,r=0,c=0,a=0,f=t.length-1,u=t[0],d=t[f],p=l.length-1,h=l[0],$=l[p];for(;i<=f&&r<=p;)if(null==u)u=t[++i];else if(null==d)d=t[--f];else if(null==h)h=l[++r];else if(null==$)$=l[--p];else if(B(u,h))_(u,h),u=t[++i],h=l[++r];else if(B(d,$))_(d,$),d=t[--f],$=l[--p];else if(B(u,$))"slot"!==u.j&&"slot"!==$.j||N(u.S.parentNode,!1),_(u,$),e.insertBefore(u.S,d.S.nextSibling),u=t[++i],$=l[--p];else if(B(d,h))"slot"!==u.j&&"slot"!==$.j||N(d.S.parentNode,!1),_(d,h),e.insertBefore(d.S,u.S),d=t[--f],h=l[++r];else{for(c=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].v&&t[a].v===h.v){c=a;break}c>=0?(o=t[c],o.j!==h.j?s=F(t&&t[r],n,c,e):(_(o,h),t[c]=void 0,s=o.S),h=l[++r]):(s=F(t&&t[r],n,r,e),h=l[++r]),s&&V(u.S).insertBefore(s,H(u.S))}i>f?q(e,null==l[p+1]?null:l[p+1].S,n,l,r,p):r>p&&A(t,i,f)})(n,l,t,s):null!==s?(null!==e.$&&(n.textContent=""),q(n,null,t,s,0,s.length-1)):null!==l&&A(l,0,l.length-1),i&&"svg"===o&&(i=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:e.$!==r&&(n.data=r)},z=e=>{const t=e.childNodes;let n,l,s,o,i,r;for(l=0,s=t.length;l<s;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,o=0;o<s;o++)if(r=t[o].nodeType,t[o]["s-hn"]!==n["s-hn"]||""!==i){if(1===r&&i===t[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===r||3===r&&""!==t[o].textContent.trim()){n.hidden=!0;break}z(n)}},G=[],I=e=>{let t,n,l,o,i,r,c=0;const a=e.childNodes,f=a.length;for(;c<f;c++){if(t=a[c],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,o=t["s-sn"],r=l.length-1;r>=0;r--)n=l[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(J(n,o)?(i=G.find((e=>e.O===n)),s=!0,n["s-sn"]=n["s-sn"]||o,i?i.C=t:G.push({C:t,O:n}),n["s-sr"]&&G.map((e=>{J(e.O,n["s-sn"])&&(i=G.find((e=>e.O===n)),i&&!e.C&&(e.C=i.C))}))):G.some((e=>e.O===n))||G.push({O:n}));1===t.nodeType&&I(t)}},J=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,K=e=>{e.m&&e.m.ref&&e.m.ref(null),e.g&&e.g.map(K)},Q=e=>be(e).M,X=(e,t,n)=>{const l=Q(e);return{emit:e=>Y(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},Y=(e,t,n)=>{const l=u.ce(t,n);return e.dispatchEvent(l),l},Z=(e,t)=>{t&&!e.R&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.R=t)))},ee=(e,t)=>{if(e.t|=16,!(4&e.t))return Z(e,e.P),Le((()=>te(e,t)));e.t|=512},te=(e,t)=>{const n=e.i;let l;return t?(e.t|=256,e.u&&(e.u.map((([e,t])=>ce(n,e,t))),e.u=null),l=ce(n,"componentWillLoad")):l=ce(n,"componentWillUpdate"),l=ae(l,(()=>ce(n,"componentWillRender"))),ae(l,(()=>ne(e,n,t)))},ne=async(e,t,n)=>{const l=e.M,s=l["s-rc"];n&&(e=>{const t=e.U,n=e.M,l=t.t,s=((e,t,n)=>{let l=k(t,n);const s=Oe.get(l);if(e=11===e.nodeType?e:f,s)if("string"==typeof s){let t,n=v.get(e=e.head||e);n||v.set(e,n=new Set),n.has(l)||(t=f.createElement("style"),t.innerHTML=s,e.insertBefore(t,e.querySelector("link")),n&&n.add(l))}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.h);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&l&&n.classList.add(s+"-s"))})(e);le(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>oe(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},le=(i,c)=>{try{r=c,c=c.render&&c.render(),i.t&=-17,i.t|=2,((i,r)=>{const c=i.M,a=i.U,d=i.T||R(null,null),p=(e=>e&&e.j===x)(r)?r:M(null,null,r);if(n=c.tagName,a.D&&(p.m=p.m||{},a.D.map((([e,t])=>p.m[t]=c[e]))),p.j=null,p.t|=4,i.T=p,p.S=d.S=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],l=0!=(1&a.t),s=!1,_(d,p),u.t|=1,o){let e,t,n,l,s,o;I(p.S);let i=0;for(;i<G.length;i++)e=G[i],t=e.O,t["s-ol"]||(n=f.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<G.length;i++)if(e=G[i],t=e.O,e.C){for(l=e.C.parentNode,s=e.C.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&l===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&l!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}s&&z(p.S),u.t&=-2,G.length=0})(i,c)}catch(e){ke(e,i.M)}return r=null,null},se=()=>r,oe=e=>{const t=e.M,n=e.i,l=e.P;ce(n,"componentDidRender"),64&e.t?ce(n,"componentDidUpdate"):(e.t|=64,fe(t),ce(n,"componentDidLoad"),e.L(t),l||re()),e.W(t),e.R&&(e.R(),e.R=void 0),512&e.t&&Te((()=>ee(e,!1))),e.t&=-517},ie=e=>{{const t=be(e),n=t.M.isConnected;return n&&2==(18&t.t)&&ee(t,!1),n}},re=()=>{fe(f.documentElement),Te((()=>Y(a,"appload",{detail:{namespace:"sparkle-core"}})))},ce=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ke(e)}},ae=(e,t)=>e&&e.then?e.then(t):t(),fe=e=>e.classList.add("hydrated"),ue=(e,t,n)=>{if(t.F){e.watchers&&(t.N=e.watchers);const l=Object.entries(t.F),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>be(this).q.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=be(e),o=s.M,i=s.q.get(t),r=s.t,c=s.i;if(n=((e,t)=>null==e||C(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&r)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.q.set(t,n),c)){if(l.N&&128&r){const e=l.N[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){ke(e,o)}}))}2==(18&r)&&ee(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=be(this);return n.A.then((()=>n.i[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){u.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.D.push([e,s]),s}))}}return e},de=e=>{ce(e,"connectedCallback")},pe=(e,t={})=>{const n=[],l=t.exclude||[],s=a.customElements,o=f.head,i=o.querySelector("meta[charset]"),r=f.createElement("style"),c=[];let d,p=!0;Object.assign(u,t),u.l=new URL(t.resourcesUrl||"./",f.baseURI).href,e.map((e=>{e[1].map((t=>{const o={t:t[0],p:t[1],F:t[2],B:t[3]};o.F=t[2],o.B=t[3],o.D=[],o.N={};const i=o.p,r=class extends HTMLElement{constructor(e){super(e),ge(e=this,o),1&o.t&&e.attachShadow({mode:"open",delegatesFocus:!!(16&o.t)})}connectedCallback(){d&&(clearTimeout(d),d=null),p?c.push(this):u.jmp((()=>(e=>{if(0==(1&u.t)){const t=be(e),n=t.U,l=()=>{};if(1&t.t)m(e,t,n.B),de(t.i);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=f.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Z(t,t.P=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=Se(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.N=s.watchers,ue(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){ke(e)}t.t&=-9,t.t|=128,e(),de(t.i)}if(s.style){let l=s.style;"string"!=typeof l&&(l=l[t.h=(e=>Ce.map((t=>t(e))).find((e=>!!e)))(e)]);const o=k(n,t.h);if(!Oe.has(o)){const e=()=>{};((e,t,n)=>{let l=Oe.get(e);h&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Oe.set(e,l)})(o,l,!!(1&n.t)),e()}}}const o=t.P,i=()=>ee(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(e,t,n)}l()}})(this)))}disconnectedCallback(){u.jmp((()=>(()=>{if(0==(1&u.t)){const e=be(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),ce(t,"disconnectedCallback"),ce(t,"componentDidUnload")}})()))}componentOnReady(){return be(this).H}};o.V=e[0],l.includes(i)||s.get(i)||(n.push(i),s.define(i,ue(r,o,1)))}))})),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),o.insertBefore(r,i?i.nextSibling:o.firstChild),p=!1,c.length?c.map((e=>e.connectedCallback())):u.jmp((()=>d=setTimeout(re,30)))},he=e=>{const t=new URL(e,u.l);return t.origin!==a.location.origin?t.href:t.pathname},$e=(e,t)=>t in $?$[t]:"window"===t?a:"document"===t?f:"isServer"!==t&&"isPrerender"!==t&&("isClient"===t||("resourcesUrl"===t||"publicPath"===t?he("."):"queue"===t?{write:Le,read:De,tick:{then:e=>Te(e)}}:void 0)),me=(e,t)=>t,ye=new WeakMap,be=e=>ye.get(e),we=(e,t)=>ye.set(t.i=e,t),ge=(e,t)=>{const n={t:0,M:e,U:t,q:new Map};return n.A=new Promise((e=>n.W=e)),n.H=new Promise((e=>n.L=e)),e["s-p"]=[],e["s-rc"]=[],m(e,n,t.B),ye.set(e,n)},ve=(e,t)=>t in e,ke=(e,t)=>(0,console.error)(e,t),je=new Map,Se=e=>{const t=e.p.replace(/-/g,"_"),n=e.V,l=je.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(je.set(n,e),e[t])),ke)
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Oe=new Map,Ce=[],Me=[],Re=[],xe=(e,t)=>n=>{e.push(n),c||(c=!0,t&&4&u.t?Te(Ue):u.raf(Ue))},Pe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ke(e)}e.length=0},Ue=()=>{Pe(Me),Pe(Re),(c=Me.length>0)&&u.raf(Ue)},Te=e=>p().then(e),De=xe(Me,!1),Le=xe(Re,!0),We={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1};export{We as B,$ as C,me as F,x as H,j as a,pe as b,he as c,se as d,Q as e,ie as f,S as g,M as h,X as i,De as j,$e as k,p,we as r,d as s,Le as w}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import{r as t,j as i,w as s,f as e,h,H as r,e as n}from"./p-ee1e0eb4.js";import{c as o}from"./p-d68092b7.js";
|
2
|
+
/*!
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
4
|
+
*/const a=(t,i)=>{const s=l(t,i);return s&&t.ownerDocument?t.ownerDocument.importNode(s.content,!0).children[0]:null},l=(t,i)=>{switch(i){case"item":return t.querySelector("template:not([name])");case"header":return t.querySelector("template[name=header]");case"footer":return t.querySelector("template[name=footer]")}},c=(t,i,s,e,h,r,n,o,a,l,c,u)=>{const d=[],m=u+c;for(let u=c;u<m;u++){const c=t[u];if(h){const i=h(c,u,t);null!=i&&d.push({i:l++,type:"header",value:i,index:u,height:s?s(i,u):n,reads:s?0:2,visible:!!s})}if(d.push({i:l++,type:"item",value:c,index:u,height:i?i(c,u):a,reads:i?0:2,visible:!!i}),r){const i=r(c,u,t);null!=i&&d.push({i:l++,type:"footer",value:i,index:u,height:e?e(i,u):o,reads:e?0:2,visible:!!e})}}return d},u=class{constructor(i){t(this,i),this.range={offset:0,length:0},this.viewportHeight=0,this.cells=[],this.virtualDom=[],this.isEnabled=!1,this.viewportOffset=0,this.currentScrollTop=0,this.indexDirty=0,this.lastItemLen=0,this.totalHeight=0,this.approxItemHeight=45,this.approxHeaderHeight=30,this.approxFooterHeight=30,this.onScroll=()=>{this.updateVirtualScroll()}}itemsChanged(){this.calcCells(),this.updateVirtualScroll()}componentWillLoad(){console.warn("[Deprecation Warning]: ion-virtual-scroll has been deprecated and will be removed in Ionic Framework v7.0. See https://ionicframework.com/docs/angular/virtual-scroll for migration steps.")}async connectedCallback(){const t=this.el.closest("ion-content");t?(this.scrollEl=await t.getScrollElement(),this.contentEl=t,this.calcCells(),this.updateState()):console.error("<ion-virtual-scroll> must be used inside an <ion-content>")}componentDidUpdate(){this.updateState()}disconnectedCallback(){this.scrollEl=void 0}onResize(){this.calcCells(),this.updateVirtualScroll()}positionForItem(t){return Promise.resolve(((t,i,s)=>{const e=i.find((i=>"item"===i.type&&i.index===t));return e?s[e.i]:-1})(t,this.cells,this.getHeightIndex()))}async checkRange(t,i=-1){if(!this.items)return;const s=-1===i?this.items.length-t:i,e=((t,i)=>0===i?0:i===(t.length>0?t[t.length-1].index:0)+1?t.length:t.findIndex((t=>t.index===i)))(this.cells,t),h=c(this.items,this.itemHeight,this.headerHeight,this.footerHeight,this.headerFn,this.footerFn,this.approxHeaderHeight,this.approxFooterHeight,this.approxItemHeight,e,t,s);this.cells=((t,i,s)=>{if(0===s&&i.length>=t.length)return i;for(let e=0;e<i.length;e++)t[e+s]=i[e];return t})(this.cells,h,e),this.lastItemLen=this.items.length,this.indexDirty=Math.max(t-1,0),this.scheduleUpdate()}async checkEnd(){this.items&&this.checkRange(this.lastItemLen)}updateVirtualScroll(){this.isEnabled&&this.scrollEl&&(this.timerUpdate&&(clearTimeout(this.timerUpdate),this.timerUpdate=void 0),i(this.readVS.bind(this)),s(this.writeVS.bind(this)))}readVS(){const{contentEl:t,scrollEl:i,el:s}=this;let e=0,h=s;for(;h&&h!==t;)e+=h.offsetTop,h=h.offsetParent;this.viewportOffset=e,i&&(this.viewportHeight=i.offsetHeight,this.currentScrollTop=i.scrollTop)}writeVS(){const t=this.indexDirty,i=(r=this.currentScrollTop-this.viewportOffset,n=this.viewportHeight,{top:Math.max(r-100,0),bottom:r+n+100}),s=this.getHeightIndex(),h=((t,i)=>{const s=i.top,e=i.bottom;let h=0;for(;h<t.length&&!(t[h]>s);h++);const r=Math.max(h-2-1,0);for(;h<t.length&&!(t[h]>=e);h++);return{offset:r,length:Math.min(h+2,t.length)-r}})(s,i);var r,n;((t,i,s)=>t<=s.offset+s.length||i.offset!==s.offset||i.length!==s.length)(t,this.range,h)&&(this.range=h,((t,i,s,e)=>{for(const i of t)i.change=0,i.d=!0;const h=[],r=e.offset+e.length;for(let n=e.offset;n<r;n++){const e=s[n],r=t.find((t=>t.d&&t.cell===e));if(r){const t=i[n];t!==r.top&&(r.top=t,r.change=1),r.d=!1}else h.push(e)}const n=t.filter((t=>t.d));for(const s of h){const e=n.find((t=>t.d&&t.cell.type===s.type)),h=s.i;e?(e.d=!1,e.change=2,e.cell=s,e.top=i[h]):t.push({d:!1,cell:s,visible:!0,change:2,top:i[h]})}t.filter((t=>t.d&&-9999!==t.top)).forEach((t=>{t.change=1,t.top=-9999}))})(this.virtualDom,s,this.cells,h),this.nodeRender?((t,i,s,e)=>{const h=Array.from(t.children).filter((t=>"TEMPLATE"!==t.tagName)),r=h.length;let n;for(let o=0;o<s.length;o++){const l=s[o],c=l.cell;if(2===l.change){if(o<r)n=h[o],i(n,c,o);else{const s=a(t,c.type);n=i(s,c,o)||s,n.classList.add("virtual-item"),t.appendChild(n)}n.$ionCell=c}else n=h[o];0!==l.change&&(n.style.transform=`translate3d(0,${l.top}px,0)`);const u=c.visible;l.visible!==u&&(u?n.classList.remove("virtual-loading"):n.classList.add("virtual-loading"),l.visible=u),c.reads>0&&(e(c,n),c.reads--)}})(this.el,this.nodeRender,this.virtualDom,this.updateCellHeight.bind(this)):this.domRender?this.domRender(this.virtualDom):this.renderItem&&e(this))}updateCellHeight(t,i){const s=()=>{if(i.$ionCell===t){const s=window.getComputedStyle(i),e=i.offsetHeight+parseFloat(s.getPropertyValue("margin-bottom"));this.setCellHeight(t,e)}};i?o(i,s):s()}setCellHeight(t,i){const s=t.i;t===this.cells[s]&&(t.height===i&&!0===t.visible||(t.visible=!0,t.height=i,this.indexDirty=Math.min(this.indexDirty,s),this.scheduleUpdate()))}scheduleUpdate(){clearTimeout(this.timerUpdate),this.timerUpdate=setTimeout((()=>this.updateVirtualScroll()),100)}updateState(){const t=!(!this.scrollEl||!this.cells);t!==this.isEnabled&&(this.enableScrollEvents(t),t&&this.updateVirtualScroll())}calcCells(){this.items&&(this.lastItemLen=this.items.length,this.cells=c(this.items,this.itemHeight,this.headerHeight,this.footerHeight,this.headerFn,this.footerFn,this.approxHeaderHeight,this.approxFooterHeight,this.approxItemHeight,0,0,this.lastItemLen),this.indexDirty=0)}getHeightIndex(){return this.indexDirty!==1/0&&this.calcHeightIndex(this.indexDirty),this.heightIndex}calcHeightIndex(t=0){this.heightIndex=((t,i)=>{if(!t)return new Uint32Array(i);if(t.length===i)return t;if(i>t.length){const s=new Uint32Array(i);return s.set(t),s}return t.subarray(0,i)})(this.heightIndex,this.cells.length),this.totalHeight=((t,i,s)=>{let e=t[s];for(let h=s;h<t.length;h++)t[h]=e,e+=i[h].height;return e})(this.heightIndex,this.cells,t),this.indexDirty=1/0}enableScrollEvents(t){this.rmEvent&&(this.rmEvent(),this.rmEvent=void 0);const i=this.scrollEl;i&&(this.isEnabled=t,i.addEventListener("scroll",this.onScroll),this.rmEvent=()=>{i.removeEventListener("scroll",this.onScroll)})}renderVirtualNode(t){const{type:i,value:s,index:e}=t.cell;switch(i){case"item":return this.renderItem(s,e);case"header":return this.renderHeader(s,e);case"footer":return this.renderFooter(s,e)}}render(){return h(r,{style:{height:`${this.totalHeight}px`}},this.renderItem&&h(d,{dom:this.virtualDom},this.virtualDom.map((t=>this.renderVirtualNode(t)))))}get el(){return n(this)}static get watchers(){return{itemHeight:["itemsChanged"],headerHeight:["itemsChanged"],footerHeight:["itemsChanged"],items:["itemsChanged"]}}},d=({dom:t},i,s)=>s.map(i,((i,s)=>{const e=t[s],h=i.vattrs||{};let r=h.class||"";return r+="virtual-item ",e.visible||(r+="virtual-loading"),Object.assign(Object.assign({},i),{vattrs:Object.assign(Object.assign({},h),{class:r,style:Object.assign(Object.assign({},h.style),{transform:`translate3d(0,${e.top}px,0)`})})})}));u.style="ion-virtual-scroll{display:block;position:relative;width:100%;contain:strict;user-select:none}ion-virtual-scroll>.virtual-loading{opacity:0}ion-virtual-scroll>.virtual-item{position:absolute !important;top:0 !important;right:0 !important;left:0 !important;transition-duration:0ms;will-change:transform}";export{u as ion_virtual_scroll}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import{r as t,i as o,h as i,H as a,e as r}from"./p-ee1e0eb4.js";import{g as n}from"./p-871106e0.js";import{i as e,p as s,b as p,d,e as l,s as h}from"./p-ff7a8a71.js";import{s as c}from"./p-7d8427eb.js";import{g,c as u}from"./p-0e4de1d0.js";import{c as b}from"./p-48f72e63.js";import{g as m}from"./p-d68092b7.js";import"./p-add30d46.js";
|
2
|
+
/*!
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
4
|
+
*/const x=(t,o)=>{const i=b(),a=b(),r=m(t).querySelector(".toast-wrapper");switch(a.addElement(r),o){case"top":a.fromTo("transform","translateY(-100%)","translateY(calc(10px + var(--ion-safe-area-top, 0px)))");break;case"middle":const o=Math.floor(t.clientHeight/2-r.clientHeight/2);r.style.top=`${o}px`,a.fromTo("opacity",.01,1);break;default:a.fromTo("transform","translateY(100%)","translateY(calc(-10px - var(--ion-safe-area-bottom, 0px)))")}return i.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(a)},f=(t,o)=>{const i=b(),a=b(),r=m(t).querySelector(".toast-wrapper");switch(a.addElement(r),o){case"top":a.fromTo("transform","translateY(calc(10px + var(--ion-safe-area-top, 0px)))","translateY(-100%)");break;case"middle":a.fromTo("opacity",.99,0);break;default:a.fromTo("transform","translateY(calc(-10px - var(--ion-safe-area-bottom, 0px)))","translateY(100%)")}return i.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(a)},v=(t,o)=>{const i=b(),a=b(),r=m(t).querySelector(".toast-wrapper");switch(a.addElement(r),o){case"top":r.style.top="calc(8px + var(--ion-safe-area-top, 0px))",a.fromTo("opacity",.01,1);break;case"middle":const o=Math.floor(t.clientHeight/2-r.clientHeight/2);r.style.top=`${o}px`,a.fromTo("opacity",.01,1);break;default:r.style.bottom="calc(8px + var(--ion-safe-area-bottom, 0px))",a.fromTo("opacity",.01,1)}return i.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(a)},w=t=>{const o=b(),i=b(),a=m(t).querySelector(".toast-wrapper");return i.addElement(a).fromTo("opacity",.99,0),o.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(i)},y=class{constructor(i){t(this,i),this.didPresent=o(this,"ionToastDidPresent",7),this.willPresent=o(this,"ionToastWillPresent",7),this.willDismiss=o(this,"ionToastWillDismiss",7),this.didDismiss=o(this,"ionToastDidDismiss",7),this.presented=!1,this.duration=0,this.keyboardClose=!1,this.position="bottom",this.translucent=!1,this.animated=!0,this.dispatchCancelHandler=t=>{if(e(t.detail.role)){const t=this.getButtons().find((t=>"cancel"===t.role));this.callButtonHandler(t)}}}connectedCallback(){s(this.el)}async present(){await p(this,"toastEnter",x,v,this.position),this.duration>0&&(this.durationTimeout=setTimeout((()=>this.dismiss(void 0,"timeout")),this.duration))}dismiss(t,o){return this.durationTimeout&&clearTimeout(this.durationTimeout),d(this,t,o,"toastLeave",f,w,this.position)}onDidDismiss(){return l(this.el,"ionToastDidDismiss")}onWillDismiss(){return l(this.el,"ionToastWillDismiss")}getButtons(){return this.buttons?this.buttons.map((t=>"string"==typeof t?{text:t}:t)):[]}async buttonClick(t){const o=t.role;return e(o)||await this.callButtonHandler(t)?this.dismiss(void 0,o):Promise.resolve()}async callButtonHandler(t){if(null==t?void 0:t.handler)try{if(!1===await h(t.handler))return!1}catch(t){console.error(t)}return!0}renderButtons(t,o){if(0===t.length)return;const a=n(this);return i("div",{class:{"toast-button-group":!0,[`toast-button-group-${o}`]:!0}},t.map((t=>i("button",{type:"button",class:k(t),tabIndex:0,onClick:()=>this.buttonClick(t),part:"button"},i("div",{class:"toast-button-inner"},t.icon&&i("ion-icon",{icon:t.icon,slot:void 0===t.text?"icon-only":void 0,class:"toast-button-icon"}),t.text),"md"===a&&i("ion-ripple-effect",{type:void 0!==t.icon&&void 0===t.text?"unbounded":"bounded"})))))}render(){const t=this.getButtons(),o=t.filter((t=>"start"===t.side)),r=t.filter((t=>"start"!==t.side)),e=n(this),s={"toast-wrapper":!0,[`toast-${this.position}`]:!0};return i(a,Object.assign({"aria-live":"polite","aria-atomic":"true",role:t.length>0?"dialog":"status",tabindex:"-1"},this.htmlAttributes,{style:{zIndex:`${6e4+this.overlayIndex}`},class:u(this.color,Object.assign(Object.assign({[e]:!0},g(this.cssClass)),{"overlay-hidden":!0,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),i("div",{class:s},i("div",{class:"toast-container",part:"container"},this.renderButtons(o,"start"),void 0!==this.icon&&i("ion-icon",{class:"toast-icon",part:"icon",icon:this.icon,lazy:!1,"aria-hidden":"true"}),i("div",{class:"toast-content"},void 0!==this.header&&i("div",{class:"toast-header",part:"header"},this.header),void 0!==this.message&&i("div",{class:"toast-message",part:"message",innerHTML:c(this.message)})),this.renderButtons(r,"end"))))}get el(){return r(this)}},k=t=>Object.assign({"toast-button":!0,"toast-button-icon-only":void 0!==t.icon&&void 0===t.text,[`toast-button-${t.role}`]:void 0!==t.role,"ion-focusable":!0,"ion-activatable":!0},g(t.cssClass));
|
5
|
+
/*!
|
6
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
7
|
+
*/y.style={ios:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);left:var(--start);right:var(--end);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-shadow:var(--box-shadow)}[dir=rtl] .toast-wrapper,:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}.toast-container{display:flex;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-content{display:flex;flex:1;flex-direction:column;justify-content:center}.toast-icon{margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toast-icon{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}.toast-message{flex:1;white-space:var(--white-space)}.toast-button-group{display:flex}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:flex;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, #f2f2f2);--border-radius:14px;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-850, #262626);--max-width:700px;--start:10px;--end:10px;font-size:14px}.toast-wrapper{margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toast-wrapper{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}@supports (backdrop-filter: blur(0)){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);backdrop-filter:saturate(180%) blur(20px)}}.toast-wrapper.toast-top{transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-middle{opacity:0.01}.toast-wrapper.toast-bottom{transform:translate3d(0, 100%, 0);bottom:0}.toast-content{padding-left:15px;padding-right:15px;padding-top:15px;padding-bottom:15px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toast-content{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;height:44px;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:17px;font-weight:500;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toast-button{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}",md:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);left:var(--start);right:var(--end);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-shadow:var(--box-shadow)}[dir=rtl] .toast-wrapper,:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}.toast-container{display:flex;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-content{display:flex;flex:1;flex-direction:column;justify-content:center}.toast-icon{margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toast-icon{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}.toast-message{flex:1;white-space:var(--white-space)}.toast-button-group{display:flex}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:flex;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, #333333);--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-50, #f2f2f2);--max-width:700px;--start:8px;--end:8px;font-size:14px}.toast-wrapper{margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toast-wrapper{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.toast-content{padding-left:16px;padding-right:16px;padding-top:14px;padding-bottom:14px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toast-content{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.toast-header{margin-bottom:2px;font-weight:500;line-height:20px}.toast-message{line-height:20px}.toast-button-group-start{margin-left:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toast-button-group-start{margin-left:unset;-webkit-margin-start:8px;margin-inline-start:8px}}.toast-button-group-end{margin-right:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toast-button-group-end{margin-right:unset;-webkit-margin-end:8px;margin-inline-end:8px}}.toast-button{padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:14px;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toast-button{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-button-cancel{color:var(--ion-color-step-100, #e6e6e6)}.toast-button-icon-only{border-radius:50%;padding-left:9px;padding-right:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toast-button-icon-only{padding-left:unset;padding-right:unset;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px}}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}"};export{y as ion_toast}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*!
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
3
|
+
*/
|
4
|
+
const e={bubbles:{dur:1e3,circles:9,fn:(e,t,s)=>{const n=e*t/s-e+"ms",r=2*Math.PI*t/s;return{r:5,style:{top:9*Math.sin(r)+"px",left:9*Math.cos(r)+"px","animation-delay":n}}}},circles:{dur:1e3,circles:8,fn:(e,t,s)=>{const n=t/s,r=e*n-e+"ms",a=2*Math.PI*n;return{r:5,style:{top:9*Math.sin(a)+"px",left:9*Math.cos(a)+"px","animation-delay":r}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(e,t)=>({r:6,style:{left:9-9*t+"px","animation-delay":-110*t+"ms"}})},lines:{dur:1e3,lines:8,fn:(e,t,s)=>({y1:14,y2:26,style:{transform:`rotate(${360/s*t+(t<s/2?180:-180)}deg)`,"animation-delay":e*t/s-e+"ms"}})},"lines-small":{dur:1e3,lines:8,fn:(e,t,s)=>({y1:12,y2:20,style:{transform:`rotate(${360/s*t+(t<s/2?180:-180)}deg)`,"animation-delay":e*t/s-e+"ms"}})},"lines-sharp":{dur:1e3,lines:12,fn:(e,t,s)=>({y1:17,y2:29,style:{transform:`rotate(${30*t+(t<6?180:-180)}deg)`,"animation-delay":e*t/s-e+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(e,t,s)=>({y1:12,y2:20,style:{transform:`rotate(${30*t+(t<6?180:-180)}deg)`,"animation-delay":e*t/s-e+"ms"}})}};export{e as S}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,i as s,h as e,H as i,e as n}from"./p-ee1e0eb4.js";import{A as r}from"./p-4fba3e4c.js";import{T as o}from"./p-7dae0f0e.js";import"./p-b06e2bef.js";import"./p-2f569553.js";import"./p-ff7a8a71.js";import"./p-871106e0.js";import"./p-add30d46.js";import"./p-d68092b7.js";import"./p-bd90903e.js";import"./p-5d409601.js";const a=class{constructor(e){t(this,e),this.formSubmitted=s(this,"formSubmitted",7),this.submitted=!0,this.assignmentLoading=!1,this.onSubmit=async t=>{t.preventDefault();const s=t.currentTarget.querySelectorAll("sparkle-input,sparkle-file-upload"),e=Array.from(s).reduce(((t,s)=>{const{name:e,type:i,value:n}=s;let r=!1;return s.querySelector("ion-item")&&(r=s.querySelector("ion-item").classList.contains("item-checkbox-checked")),e&&(t[e]="checkbox"===i?r:n),t}),{});Array.from(s).filter((t=>t.required)).every((t=>""!==t.value))?this.formSubmitted.emit(e):alert("Please fill in all required fields"),this.assignmentLoading=!0,this.errorMessage="",this.successMessage="";var i={AssignmentData:JSON.stringify(e),AssignmentName:this.name};console.log(i);try{(await r.getInstance().createAssignment(i)).Succeeded?(this.assignmentLoading=!1,this.successMessage="Assignment submitted Successfully.",this.resetForm()):(this.assignmentLoading=!1,this.errorMessage="There is an error while posting to feed.")}catch(t){this.assignmentLoading=!1}}}fileUploaded(t){console.log("fileUploaded",t)}resetForm(){const t=this.el.querySelector("form");t&&t.reset()}renderUserInfo(){let t=o.getInstance().getAuthUserSync();return t&&t.JWToken?e("ion-avatar",{class:"header-avatar",slot:"end"},e("img",t.PhotoUrl?{src:t.PhotoUrl}:{src:"/assets/img/user.png"})):e("ion-button",{slot:"end",href:"/login"},"Login to Post")}isAuthenticated(){return o.getInstance().isAuthenticated()}render(){const t=this.renderUserInfo();return e(i,null,e("ion-card",null,e("ion-item",{class:"header ion-justify-content-between",lines:"full"},e("ion-label",null,this.name),t),e("ion-card-content",null,e("form",{onSubmit:this.onSubmit},e("slot",null),e("div",{class:"assignment-footer-container"},e("div",{class:"assignment-footer"},e("div",null,e("div",{class:"error"},this.errorMessage),e("div",{class:"success"},this.successMessage)),e("div",null,this.assignmentLoading?e("ion-spinner",{color:"primary"}):""),e("ion-button",{type:"submit",slot:"end",size:"default",disabled:this.assignmentLoading||!this.isAuthenticated()},"Submit")))))))}get el(){return n(this)}};a.style=":host{display:block}.assignment-footer-container{display:flex;justify-content:flex-end}.assignment-footer{display:flex;justify-content:space-between;align-items:center}.error{color:red;margin-right:10px}.success{color:green;margin-right:10px}.uploaded-image{display:block;max-height:140px;width:auto !important}";export{a as sparkle_assignment}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as t,e as i}from"./p-ee1e0eb4.js";import{S as s,s as o}from"./p-4b4a8703.js";import"./p-bd90903e.js";import"./p-2f569553.js";import"./p-7dae0f0e.js";import"./p-5d409601.js";const n=class{constructor(t){e(this,t),this.allowPostToFeed=!1,this.feedStartingText="My suggestions are:",this.isTeacherMode=!1,this.questions=[],this.error="",this.modelChange="",this.responses=[],this.tempResponses=[],this.suggestionList=[],this.postToFeedTextValue=""}componentDidLoad(){}resetPollData(){s.getInstance().callSignalR("ResetPollData",{})}selectOption(e,t,i){e.target.parentElement.childNodes.forEach((e=>e.classList.remove("selected"))),e.target.classList.add("selected"),s.getInstance().callSignalR("PollSubmission",{questionId:t.questionId,question:t.questionText,answer:i.option,responseType:t.questionType,pageUrl:window.location.href})}addSuggestion(e,t){var i=e.target.parentElement.parentElement.querySelector("input[type=text]");if(""!=i.value&&i.value){if(s.getInstance().callSignalR("PollSubmission",{questionId:t.questionId,question:t.questionText,answer:i.value,responseType:t.questionType,pageUrl:window.location.href}),this.allowPostToFeed){this.suggestionList.push({questionId:t.questionId,question:t.questionText,answer:i.value,responseType:t.questionType});let e=this.suggestionList.map((e=>e.answer)).join(", ").toString();this.postToFeedTextValue=this.feedStartingText+" "+e}}else this.error="Please enter the value"}toggleMode(){this.isTeacherMode=!this.isTeacherMode}renderOptions(e){return"MULTIPLE-CHOICE"==e.questionType?t("ul",null,e.options.map((i=>t("li",{onClick:t=>this.selectOption(t,e,i)},i.option)))):"FEEDBACK"==e.questionType?t("ion-item",null,t("ion-label",null,"Choose Option ",t("ion-icon",{name:"arrow-back",mode:"ios"})),t("ion-select",{id:"customAlertSelect",interface:"alert"},t("ion-select-option",{value:"bacon"},"Bacon"),t("ion-select-option",{value:"olives"},"Black Olives"),t("ion-select-option",{value:"xcheese"},"Extra Cheese"),t("ion-select-option",{value:"peppers"},"Green Peppers"),t("ion-select-option",{value:"mushrooms"},"Mushrooms"),t("ion-select-option",{value:"onions"},"Onions"),t("ion-select-option",{value:"pepperoni"},"Pepperoni"),t("ion-select-option",{value:"pineapple"},"Pineapple"),t("ion-select-option",{value:"sausage"},"Sausage"),t("ion-select-option",{value:"Spinach"},"Spinach"))):t("div",null,t("input",{slot:"start",type:"text",placeholder:"Type suggestion"}),t("div",null,this.error),t("ion-item",null,t("ion-button",{class:"suggetion-btn",size:"default",slot:"end",color:"primary",onClick:t=>this.addSuggestion(t,e)},"ADD SUGGESTION")))}renderQuestions(){return[this.questions.map((e=>t("div",{class:"question"},t("h3",null,e.questionText," ",t("span",{class:"toggle-mode",onClick:()=>this.toggleMode()},".")),this.renderOptions(e)))),this.allowPostToFeed?t("sparkle-feed-post",{assignmentName:this.postToFeedAssignmentName,textValue:this.postToFeedTextValue}):""]}render(){return this.renderQuestions()}get el(){return i(this)}};n.style="div.question{margin-bottom:5px}div.question ul{padding-left:5px}div.question li{list-style-type:none;cursor:pointer;background:#e5053a;border-radius:4px;vertical-align:middle;line-height:40px;padding-left:20px;color:#fff;margin-bottom:5px}.question h3{color:#333;padding-top:14px;margin-bottom:4px;font-size:16px}div.question li.selected{font-weight:bold;background:#9e0428}input[type='text']{width:100%;padding:12px 20px;margin:8px 0;box-sizing:border-box;border:2px solid #ccc;-webkit-transition:0.5s;transition:0.5s;outline:none}input[type='text']:focus{border:2px solid var(--ion-color-primary)}ion-item .item-native{padding-left:0px !important}ion-button.suggetion-btn{margin-left:0px !important}.graph-container{display:flex;flex-direction:row;flex-wrap:wrap;flex-direction:column}.graph-container .question-title{width:100%}.graph-container div.question{display:flex;flex-direction:column;justify-content:flex-end;flex-basis:100px}.graph-container div.question p{text-align:center}.answer-column{background-color:antiquewhite;flex:0 0 auto;text-align:center;color:#c0873c;flex-basis:100px}.toggle-mode{color:#888}.cloud{display:inline;list-style-type:none;width:400px}.cloud>div{list-style:none;display:inline;padding:20px}.cloud>div:nth-of-type(3n+1){font-size:1.25em}.cloud>div:nth-of-type(4n+3){font-size:1.5em}.cloud>div:nth-of-type(5n - 3){font-size:1em}.bar-graph-column{display:flex;align-items:flex-end}.bar-graph-questions{display:flex;align-items:flex-start}";const l=class{constructor(t){e(this,t),this.allowPostToFeed=!1,this.feedStartingText="My suggestions are:",this.isTeacherMode=!1,this.questions=[],this.error="",this.modelChange="",this.responses=[],this.tempResponses=[],this.suggestionList=[]}questionsChaged(e,t){this.setupData(e)}gotServerUpdate(e){if(this.isTeacherMode){var t=e.detail;"list"==t.type?t.data.forEach((e=>{"TEXT"==e.responseType?this.addToWordCloud(e):"MULTIPLE-CHOICE"==e.responseType&&this.addToBarChart(e)})):"removed"==t.type?this.responses=[...this.tempResponses]:"TEXT"==(t=t.data).responseType?this.addToWordCloud(t):"MULTIPLE-CHOICE"==t.responseType&&this.addToBarChart(t)}}addToWordCloud(e){var t=this.responses.find((t=>t.question==e.question));this.responses=t?this.responses.map((t=>t.question==e.question?e:t)):[...this.responses,e],console.log(this.responses)}addToBarChart(e){var t=this.responses.find((t=>t.question==e.question));t?(t.responses=t.responses.map((t=>e.responses.find((e=>e.response==t.response))||t)),t.total=e.total,this.responses=this.responses.map((e=>e.question==t.question?t:e))):this.responses=[...this.responses,e]}componentDidLoad(){this.questions&&(this.setupData(this.questions),o.onChange("connected",(e=>{e&&this.isTeacherMode&&s.getInstance().callSignalR("GetPollSubmission",{pageUrl:window.location.href})})))}setupData(e){this.setupResponseGraph(e)}resetPollData(){s.getInstance().callSignalR("ResetPollData",{})}setupResponseGraph(e){this.responses=[],e.forEach((e=>{if("TEXT"==e.questionType)this.responses=[...this.responses,{question:e.questionText,responseType:e.questionType,responses:[],total:0}],this.tempResponses=this.responses.slice();else if("MULTIPLE-CHOICE"==e.questionType){var t=[];Object.keys(e.options).map((i=>{t.push({count:0,response:e.options[i].option})})),this.responses=[...this.responses,{question:e.questionText,responseType:e.questionType,responses:t,total:0}],this.tempResponses=this.responses.slice()}})),console.log(this.responses)}columnHeight(e,t){let i=0;return 0!=t&&(i=100/t),{height:i*e+"px"}}getRandomColorAndFontSize(e){let t=1;return e>0&&(t+=.25*(e-1)),{color:`hsl(${Math.floor(360*Math.random())},${Math.floor(100*Math.random())+"%"},${Math.floor(60*Math.random())+"%"})`,"font-size":`${t}em`}}renderResults(){console.log("Responsed",this.responses);var e=this.responses.filter((e=>"MULTIPLE-CHOICE"==e.responseType)),i=this.responses.filter((e=>"TEXT"==e.responseType));return[e.map((e=>t("div",null," ",t("h3",{class:"line"},e.question),t("div",{class:"graph-container"},t("div",{class:"bar-graph-column"},e.responses.map((i=>t("div",{class:"answer-column",style:this.columnHeight(i.count,e.total)},i.count)))),t("div",{class:"bar-graph-questions"},e.responses.map((e=>t("div",{class:"question"},t("p",null,e.response))))))))),i.map((e=>[t("p",null,t("h3",{class:"line"},e.question)),t("div",{class:"cloud"},e.responses.map((e=>t("div",{style:this.getRandomColorAndFontSize(e.count)},e.response))))]))]}render(){return this.renderResults()}get el(){return i(this)}static get watchers(){return{questions:["questionsChaged"]}}};l.style="div.question{margin-bottom:5px}div.question ul{padding-left:5px}div.question li{list-style-type:none;cursor:pointer;background:#e5053a;border-radius:4px;vertical-align:middle;line-height:40px;padding-left:20px;color:#fff;margin-bottom:5px}.question h3{color:#333;padding-top:14px;margin-bottom:4px;font-size:16px}div.question li.selected{font-weight:bold;background:#9e0428}input[type='text']{width:100%;padding:12px 20px;margin:8px 0;box-sizing:border-box;border:2px solid #ccc;-webkit-transition:0.5s;transition:0.5s;outline:none}input[type='text']:focus{border:2px solid var(--ion-color-primary)}ion-item .item-native{padding-left:0px !important}ion-button.suggetion-btn{margin-left:0px !important}.graph-container{display:flex;flex-direction:row;flex-wrap:wrap;flex-direction:column}.graph-container .question-title{width:100%}.graph-container div.question{display:flex;flex-direction:column;justify-content:flex-end;flex-basis:100px}.graph-container div.question p{text-align:center}.answer-column{background-color:rgba(var(--ion-color-sparkle-rgb), var(--bg-alpha, 0.06));flex:0 0 auto;text-align:center;color:#c0873c;flex-basis:100px;margin-bottom:14px}.toggle-mode{color:#888}.cloud{display:inline;list-style-type:none;width:400px}.cloud>div{list-style:none;display:inline;padding:20px}.cloud>div:nth-of-type(3n+1){font-size:1.25em}.cloud>div:nth-of-type(4n+3){font-size:1.5em}.cloud>div:nth-of-type(5n - 3){font-size:1em}.bar-graph-column{display:flex;align-items:flex-end}.bar-graph-questions{display:flex;align-items:flex-start}";export{n as sparkle_discussion_questions,l as sparkle_discussion_results}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as s,h as t,e as i}from"./p-ee1e0eb4.js";import{E as e}from"./p-bd90903e.js";import{A as o}from"./p-408176ba.js";import"./p-2f569553.js";const r=class{constructor(t){s(this,t),this.allowPostToFeed=!1,this.feedStartingText="My suggestions are:",this.isTeacherMode=!1,this.quizData=[]}async componentDidLoad(){this.isTeacherMode=0==this.isTeacherMode?window.location.href.indexOf("/presentation/course")>-1:this.isTeacherMode;const s=e.getInstance().get("sparkle");let t=await o.getInstance().loadJsonFile(s.quizPath);if(t&&this.questionIds){let s=this.questionIds.split(",");this.quizData=[],s.forEach((s=>{this.quizData=[...this.quizData,t[+s]]})),console.log("QUIZ Data",this.quizData)}}render(){return t(this.isTeacherMode?"sparkle-discussion-results":"sparkle-discussion-questions",{allowPostToFeed:this.allowPostToFeed,feedStartingText:this.feedStartingText,isTeacherMode:this.isTeacherMode,questions:this.quizData})}get el(){return i(this)}};r.style="sparkle-discussion{border:1px solid var(--line-rule-color);display:block;padding:12px}";export{r as sparkle_discussion}
|