@sparkle-learning/core 0.0.57 → 0.0.58
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 +255 -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-3daf2915.entry.js +352 -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-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 +1 -1
- 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 i,h as t,H as r}from"./p-ee1e0eb4.js";import{g as n}from"./p-871106e0.js";import{c as o}from"./p-0e4de1d0.js";const a=class{constructor(t){i(this,t),this.outline=!1,this.disabled=!1}render(){const i=n(this);return t(r,{"aria-disabled":this.disabled?"true":null,class:o(this.color,{[i]:!0,"chip-outline":this.outline,"chip-disabled":this.disabled,"ion-activatable":!0})},t("slot",null),"md"===i&&t("ion-ripple-effect",null))}};a.style={ios:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:4px;margin-right:4px;margin-top:4px;margin-bottom:4px;padding-left:12px;padding-right:12px;padding-top:7px;padding-bottom:7px;display:inline-flex;position:relative;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;line-height:1;cursor:pointer;overflow:hidden;vertical-align:middle;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(0, 0, 0, 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(0, 0, 0, 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(0, 0, 0, 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(0, 0, 0, 0.54)}::slotted(ion-icon:first-child){margin-left:-4px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon:last-child){margin-left:8px;margin-right:-4px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px}}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){margin-left:-8px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-avatar:last-child){margin-left:8px;margin-right:-8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px}}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}",md:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:4px;margin-right:4px;margin-top:4px;margin-bottom:4px;padding-left:12px;padding-right:12px;padding-top:7px;padding-bottom:7px;display:inline-flex;position:relative;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;line-height:1;cursor:pointer;overflow:hidden;vertical-align:middle;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(0, 0, 0, 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(0, 0, 0, 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(0, 0, 0, 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(0, 0, 0, 0.54)}::slotted(ion-icon:first-child){margin-left:-4px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon:last-child){margin-left:8px;margin-right:-4px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px}}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){margin-left:-8px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-avatar:last-child){margin-left:8px;margin-right:-8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px}}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}"};export{a as ion_chip}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as o,h as t,H as r}from"./p-ee1e0eb4.js";import{g as i}from"./p-871106e0.js";import{c as a}from"./p-0e4de1d0.js";const n=class{constructor(t){o(this,t)}render(){const o=i(this);return t(r,{role:"heading","aria-level":"3",class:a(this.color,{"ion-inherit-color":!0,[o]:!0})},t("slot",null))}};n.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:12px;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:14px;font-weight:500}"};export{n as ion_card_subtitle}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,i as s,w as i,h as e,H as o,e as n}from"./p-ee1e0eb4.js";import{c as r,g as a}from"./p-871106e0.js";import{q as h}from"./p-d68092b7.js";import{i as l}from"./p-506221fe.js";import{c,h as d}from"./p-0e4de1d0.js";const u=class{constructor(i){t(this,i),this.ionChange=s(this,"ionChange",7),this.ionSelect=s(this,"ionSelect",7),this.ionStyle=s(this,"ionStyle",7),this.didInit=!1,this.activated=!1,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.selectOnFocus=!1,this.onClick=t=>{const s=t.target,i=this.checked;"ION-SEGMENT"!==s.tagName&&(this.value=s.value,!this.scrollable&&this.swipeGesture||(i?this.checkButton(i,s):this.setCheckedClasses()),this.checked=s)},this.getSegmentButton=t=>{const s=this.getButtons().filter((t=>!t.disabled)),i=s.findIndex((t=>t===document.activeElement));switch(t){case"first":return s[0];case"last":return s[s.length-1];case"next":return s[i+1]||s[0];case"previous":return s[i-1]||s[s.length-1];default:return null}}}colorChanged(t,s){(void 0===s&&void 0!==t||void 0!==s&&void 0===t)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(t,s){this.ionSelect.emit({value:t}),(""!==s||this.didInit)&&(this.activated?this.valueAfterGesture=t:this.ionChange.emit({value:t}))}disabledChanged(){this.gestureChanged();const t=this.getButtons();for(const s of t)s.disabled=this.disabled}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle()}componentWillLoad(){this.emitStyle()}async componentDidLoad(){this.setCheckedClasses(),this.ensureFocusable(),this.gesture=(await import("./p-e9431eeb.js")).createGesture({el:this.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.gestureChanged(),this.disabled&&this.disabledChanged(),this.didInit=!0}onStart(t){this.activate(t)}onMove(t){this.setNextIndex(t)}onEnd(t){this.setActivated(!1);const s=this.setNextIndex(t,!0);t.event.stopImmediatePropagation(),s&&this.addRipple(t);const i=this.valueAfterGesture;void 0!==i&&(this.ionChange.emit({value:i}),this.valueAfterGesture=void 0)}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}addRipple(t){if(!r.getBoolean("animated",!0)||!r.getBoolean("rippleEffect",!0))return;const s=this.getButtons().find((t=>t.value===this.value)),i=(s.shadowRoot||s).querySelector("ion-ripple-effect");if(!i)return;const{x:e,y:o}=h(t.event);i.addRipple(e,o).then((t=>t()))}setActivated(t){this.getButtons().forEach((s=>{t?s.classList.add("segment-button-activated"):s.classList.remove("segment-button-activated")})),this.activated=t}activate(t){const s=t.event.target,i=this.getButtons().find((t=>t.value===this.value));"ION-SEGMENT-BUTTON"===s.tagName&&(i||(this.value=s.value,this.setCheckedClasses()),this.value===s.value&&this.setActivated(!0))}getIndicator(t){return(t.shadowRoot||t).querySelector(".segment-button-indicator")}checkButton(t,s){const e=this.getIndicator(t),o=this.getIndicator(s);if(null===e||null===o)return;const n=e.getBoundingClientRect(),r=o.getBoundingClientRect(),a=`translate3d(${n.left-r.left}px, 0, 0) scaleX(${n.width/r.width})`;i((()=>{o.classList.remove("segment-button-indicator-animated"),o.style.setProperty("transform",a),o.getBoundingClientRect(),o.classList.add("segment-button-indicator-animated"),o.style.setProperty("transform","")})),this.value=s.value,this.setCheckedClasses()}setCheckedClasses(){const t=this.getButtons(),s=t.findIndex((t=>t.value===this.value))+1;this.checked=t.find((t=>t.value===this.value));for(const s of t)s.classList.remove("segment-button-after-checked");s<t.length&&t[s].classList.add("segment-button-after-checked")}setNextIndex(t,s=!1){const i=l(this.el),e=this.activated,o=this.getButtons(),n=o.findIndex((t=>t.value===this.value)),r=o[n];let a,h;if(-1===n)return;const c=r.getBoundingClientRect(),d=c.left,u=c.width,g=t.currentX,m=c.top+c.height/2,b=this.el.getRootNode().elementFromPoint(g,m);if(e&&!s){if(i?g>d+u:g<d){const t=n-1;t>=0&&(h=t)}else if((i?g<d:g>d+u)&&e&&!s){const t=n+1;t<o.length&&(h=t)}void 0===h||o[h].disabled||(a=o[h])}if(!e&&s&&(a=b),null!=a){if("ION-SEGMENT"===a.tagName)return!1;r!==a&&this.checkButton(r,a)}return!0}emitStyle(){this.ionStyle.emit({segment:!0})}onKeyDown(t){const s=l(this.el);let i,e=this.selectOnFocus;switch(t.key){case"ArrowRight":t.preventDefault(),i=this.getSegmentButton(s?"previous":"next");break;case"ArrowLeft":t.preventDefault(),i=this.getSegmentButton(s?"next":"previous");break;case"Home":t.preventDefault(),i=this.getSegmentButton("first");break;case"End":t.preventDefault(),i=this.getSegmentButton("last");break;case" ":case"Enter":t.preventDefault(),i=document.activeElement,e=!0}i&&(e&&this.checkButton(this.checked||i,i),i.focus())}ensureFocusable(){var t;void 0===this.value&&(null===(t=this.getButtons()[0])||void 0===t||t.setAttribute("tabindex","0"))}render(){const t=a(this);return e(o,{role:"tablist",onClick:this.onClick,class:c(this.color,{[t]:!0,"in-toolbar":d("ion-toolbar",this.el),"in-toolbar-color":d("ion-toolbar[color]",this.el),"segment-activated":this.activated,"segment-disabled":this.disabled,"segment-scrollable":this.scrollable})},e("slot",null))}get el(){return n(this)}static get watchers(){return{color:["colorChanged"],swipeGesture:["swipeGestureChanged"],value:["valueChanged"],disabled:["disabledChanged"]}}};u.style={ios:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:stretch;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;user-select:none}:host(.segment-scrollable){justify-content:start;width:auto;overflow-x:auto}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;width:auto}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-toolbar){margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}",md:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:stretch;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;user-select:none}:host(.segment-scrollable){justify-content:start;width:auto;overflow-x:auto}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}"};export{u as ion_segment}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as s,h as t,H as i,e}from"./p-ee1e0eb4.js";import{A as o}from"./p-4fba3e4c.js";import{F as n}from"./p-b8d71ff4.js";import{M as a}from"./p-1adc98f6.js";import{T as l}from"./p-7dae0f0e.js";import{S as r}from"./p-8b56f734.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 p=class{constructor(t){s(this,t)}componentDidLoad(){this.postText=this.textValue,this.ref&&this.ref.innerText&&(this.assignmentName=this.ref.innerText,console.log(this.assignmentName))}setText(s){this.postText=s}isAuthenticated(){return l.getInstance().isAuthenticated()}async submitPost(){this.postLoading=!0,this.errorMessage="",this.successMessage="";var s=this.el.getElementsByClassName("PostExternalUrl")[0],t=this.el.getElementsByClassName("IsPublic")[0],i={PostText:this.postText,IsPublic:t.checked,ExternalResourceUrl:s.value,MiniAppId:r.MY_GOALS_APP_ID,AssignmentName:this.assignmentName,AssignmentData:"",PostTextJSON:null};try{if((await n.getInstance().createPost(i)).Succeeded?(this.postLoading=!1,this.successMessage="Posted Successfully.",this.postText="",this.externalResourceUrl="",this.uploadedImage=""):(this.postLoading=!1,this.errorMessage="There is an error while posting to feed."),this.assignmentName){var e={AssignmentData:JSON.stringify({text:i.PostText,url:i.ExternalResourceUrl}),AssignmentName:this.assignmentName};await o.getInstance().createAssignment(e)}}catch(s){this.postLoading=!1}}async uploadImage(s){this.uploadImageLoading=!0;var t=s.target.files;let i=await a.getInstance().uploadImage(t);i.Succeeded?(console.log(i),this.uploadImageLoading=!1,this.uploadedImage=i.Data.length>0?i.Data[0].FullImageUrl:"",this.externalResourceUrl=i.Data.length>0?i.Data[0].FullImageUrl:""):(this.uploadImageLoading=!1,this.errorMessage="There is an error while uploading an image.")}selectFile(){this.el.querySelector("#fileInput").click()}renderUserInfo(){let s=l.getInstance().getAuthUserSync();return s&&s.JWToken?t("ion-avatar",{class:"header-avatar",slot:"end"},t("img",s.PhotoUrl?{src:s.PhotoUrl}:{src:"/assets/img/user.png"})):t("ion-button",{slot:"end",href:"/login"},"Login to Post")}render(){const s=this.renderUserInfo();return t(i,null,t("div",{class:"assignment-name",ref:s=>this.ref=s},t("slot",null)),t("ion-card",null,t("ion-item",{class:"header",lines:"full"},s),t("ion-card-content",null,t("form",null,t("ion-list",null,t("ion-item",{class:"padding"},t("ion-textarea",{class:"PostText",required:!0,placeholder:"Post Text",onInput:s=>this.postText=s.target.value,name:"PostText",value:this.postText})),t("ion-item",{class:"padding"},t("ion-input",{class:"PostExternalUrl",required:!0,type:"text",placeholder:"URL",name:"ExternalResourceUrl",onInput:s=>this.externalResourceUrl=s.target.value,value:this.externalResourceUrl})),this.uploadedImage?t("ion-item",{class:"ion-padding",lines:"none"},t("img",{class:"uploaded-image",src:this.uploadedImage})):"",t("ion-item",{lines:"none"},t("input",{type:"file",id:"fileInput",onChange:s=>this.uploadImage(s),style:{display:"none"},accept:"image/*"}),this.uploadImageLoading?t("ion-spinner",{color:"primary"}):"",t("ion-button",{slot:"start",onClick:()=>this.selectFile()},t("ion-icon",{name:"add"}),"Upload Image")),t("div",{class:"public-post-toggle"},t("ion-toggle",{class:"IsPublic",color:"primary",name:"IsPublic"}),t("div",null,"Public Post")),t("div",{class:"post-footer-container"},t("div",{class:"post-footer"},t("div",null,t("div",{class:"error"},this.errorMessage),t("div",{class:"success"},this.successMessage)),t("div",null,this.postLoading?t("ion-spinner",{color:"primary"}):""),t("ion-button",{slot:"end",size:"default",onClick:()=>this.submitPost(),disabled:this.postLoading||!this.isAuthenticated()},"Post"))))))))}get el(){return e(this)}};p.style=":host{display:block}.post-footer-container{display:flex;justify-content:flex-end}.post-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}.public-post-toggle{display:flex;justify-content:flex-end;align-items:center}.assignment-name{display:none}";export{p as sparkle_feed_post}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as i,i as e,h as t,H as s,e as o}from"./p-ee1e0eb4.js";import{g as r}from"./p-871106e0.js";const n={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""},d=class{constructor(t){i(this,t),this.ionSplitPaneVisible=e(this,"ionSplitPaneVisible",7),this.visible=!1,this.disabled=!1,this.when=n.lg}visibleChanged(i){const e={visible:i,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(e)}async connectedCallback(){"undefined"!=typeof customElements&&await customElements.whenDefined("ion-split-pane"),this.styleChildren(),this.updateState()}disconnectedCallback(){this.rmL&&(this.rmL(),this.rmL=void 0)}updateState(){if(this.rmL&&(this.rmL(),this.rmL=void 0),this.disabled)return void(this.visible=!1);const i=this.when;if("boolean"==typeof i)return void(this.visible=i);const e=n[i]||i;if(0!==e.length){if(window.matchMedia){const i=i=>{this.visible=i.matches},t=window.matchMedia(e);t.addListener(i),this.rmL=()=>t.removeListener(i),this.visible=t.matches}}else this.visible=!1}isPane(i){return!!this.visible&&i.parentElement===this.el&&i.classList.contains("split-pane-side")}styleChildren(){const i=this.contentId,e=this.el.children,t=this.el.childElementCount;let s=!1;for(let o=0;o<t;o++){const t=e[o],r=void 0!==i&&t.id===i;if(r){if(s)return void console.warn("split pane cannot have more than one main node");s=!0}a(t,r)}s||console.warn("split pane does not have a specified main node")}render(){const i=r(this);return t(s,{class:{[i]:!0,[`split-pane-${i}`]:!0,"split-pane-visible":this.visible}},t("slot",null))}get el(){return o(this)}static get watchers(){return{visible:["visibleChanged"],disabled:["updateState"],when:["updateState"]}}},a=(i,e)=>{let t,s;e?(t="split-pane-main",s="split-pane-side"):(t="split-pane-side",s="split-pane-main");const o=i.classList;o.add(t),o.remove(s)};d.style={ios:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:row;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:flex;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:0;border-right:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:unset;border-right:unset;-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border)}}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:var(--border);border-right:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:unset;border-right:unset;-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0}}",md:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:row;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:flex;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:0;border-right:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:unset;border-right:unset;-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border)}}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:var(--border);border-right:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:unset;border-right:unset;-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0}}"};export{d as ion_split_pane}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{d as t,f as e}from"./p-ee1e0eb4.js";var r=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}},n=Object.prototype.toString;function o(t){return Array.isArray(t)}function i(t){return void 0===t}function u(t){return"[object ArrayBuffer]"===n.call(t)}function a(t){return null!==t&&"object"==typeof t}function f(t){if("[object Object]"!==n.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===n.call(t)}function p(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}var y={isArray:o,isArrayBuffer:u,isBuffer:function(t){return null!==t&&!i(t)&&null!==t.constructor&&!i(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"[object FormData]"===n.call(t)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&u(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isPlainObject:f,isUndefined:i,isDate:function(t){return"[object Date]"===n.call(t)},isFile:function(t){return"[object File]"===n.call(t)},isBlob:function(t){return"[object Blob]"===n.call(t)},isFunction:c,isStream:function(t){return a(t)&&c(t.pipe)},isURLSearchParams:function(t){return"[object URLSearchParams]"===n.call(t)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:p,merge:function t(){var e={};function r(r,n){e[n]=f(e[n])&&f(r)?t(e[n],r):f(r)?t({},r):o(r)?r.slice():r}for(var n=0,i=arguments.length;n<i;n++)p(arguments[n],r);return e},extend:function(t,e,n){return p(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}};function s(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var l=function(t,e,r){if(!e)return t;var n;if(r)n=r(e);else if(y.isURLSearchParams(e))n=e.toString();else{var o=[];y.forEach(e,(function(t,e){null!=t&&(y.isArray(t)?e+="[]":t=[t],y.forEach(t,(function(t){y.isDate(t)?t=t.toISOString():y.isObject(t)&&(t=JSON.stringify(t)),o.push(s(e)+"="+s(t))})))})),n=o.join("&")}if(n){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t};function d(){this.handlers=[]}d.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},d.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},d.prototype.forEach=function(t){y.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var b=d,v=function(t,e){y.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))},m=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},h={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},g=function(t,e,r,n,o){var i=new Error(t);return m(i,e,r,n,o)},j=y.isStandardBrowserEnv()?{write:function(t,e,r,n,o,i){var u=[];u.push(t+"="+encodeURIComponent(e)),y.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),y.isString(n)&&u.push("path="+n),y.isString(o)&&u.push("domain="+o),!0===i&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},S=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],A=y.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=n(window.location.href),function(e){var r=y.isString(e)?n(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0};function w(t){this.message=t}w.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},w.prototype.__CANCEL__=!0;var O=w,P={"Content-Type":"application/x-www-form-urlencoded"};function E(t,e){!y.isUndefined(t)&&y.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var R,F={transitional:h,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(R=function(t){return new Promise((function(e,r){var n,o=t.data,i=t.headers,u=t.responseType;function a(){t.cancelToken&&t.cancelToken.unsubscribe(n),t.signal&&t.signal.removeEventListener("abort",n)}y.isFormData(o)&&delete i["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var c=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.Authorization="Basic "+btoa(c+":"+p)}var s,d,b=(d=t.url,(s=t.baseURL)&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(d)?function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}(s,d):d);function v(){if(f){var n,o,i,c,p,s="getAllResponseHeaders"in f?(n=f.getAllResponseHeaders(),p={},n?(y.forEach(n.split("\n"),(function(t){if(c=t.indexOf(":"),o=y.trim(t.substr(0,c)).toLowerCase(),i=y.trim(t.substr(c+1)),o){if(p[o]&&S.indexOf(o)>=0)return;p[o]="set-cookie"===o?(p[o]?p[o]:[]).concat([i]):p[o]?p[o]+", "+i:i}})),p):p):null;!function(t,e,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(g("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}((function(t){e(t),a()}),(function(t){r(t),a()}),{data:u&&"text"!==u&&"json"!==u?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:s,config:t,request:f}),f=null}}if(f.open(t.method.toUpperCase(),l(b,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,"onloadend"in f?f.onloadend=v:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(v)},f.onabort=function(){f&&(r(g("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){r(g("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(g(e,t,(t.transitional||h).clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},y.isStandardBrowserEnv()){var m=(t.withCredentials||A(b))&&t.xsrfCookieName?j.read(t.xsrfCookieName):void 0;m&&(i[t.xsrfHeaderName]=m)}"setRequestHeader"in f&&y.forEach(i,(function(t,e){void 0===o&&"content-type"===e.toLowerCase()?delete i[e]:f.setRequestHeader(e,t)})),y.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),u&&"json"!==u&&(f.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(n=function(t){f&&(r(!t||t&&t.type?new O("canceled"):t),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(n),t.signal&&(t.signal.aborted?n():t.signal.addEventListener("abort",n))),o||(o=null),f.send(o)}))}),R),transformRequest:[function(t,e){return v(e,"Accept"),v(e,"Content-Type"),y.isFormData(t)||y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)?t:y.isArrayBufferView(t)?t.buffer:y.isURLSearchParams(t)?(E(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):y.isObject(t)||e&&"application/json"===e["Content-Type"]?(E(e,"application/json"),function(t){if(y.isString(t))try{return(0,JSON.parse)(t),y.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||F.transitional,r=!(e&&e.silentJSONParsing)&&"json"===this.responseType;if(r||e&&e.forcedJSONParsing&&y.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw m(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};y.forEach(["delete","get","head"],(function(t){F.headers[t]={}})),y.forEach(["post","put","patch"],(function(t){F.headers[t]=y.merge(P)}));var x=F,I=function(t,e,r){var n=this||x;return y.forEach(r,(function(r){t=r.call(n,t,e)})),t},M=function(t){return!(!t||!t.__CANCEL__)};function U(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new O("canceled")}var k=function(t){return U(t),t.headers=t.headers||{},t.data=I.call(t,t.data,t.headers,t.transformRequest),t.headers=y.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),y.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||x.adapter)(t).then((function(e){return U(t),e.data=I.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return M(e)||(U(t),e&&e.response&&(e.response.data=I.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},N=function(t,e){e=e||{};var r={};function n(t,e){return y.isPlainObject(t)&&y.isPlainObject(e)?y.merge(t,e):y.isPlainObject(e)?y.merge({},e):y.isArray(e)?e.slice():e}function o(r){return y.isUndefined(e[r])?y.isUndefined(t[r])?void 0:n(void 0,t[r]):n(t[r],e[r])}function i(t){if(!y.isUndefined(e[t]))return n(void 0,e[t])}function u(r){return y.isUndefined(e[r])?y.isUndefined(t[r])?void 0:n(void 0,t[r]):n(void 0,e[r])}function a(r){return r in e?n(t[r],e[r]):r in t?n(void 0,t[r]):void 0}var f={url:i,method:i,data:i,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:a};return y.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=f[t]||o,n=e(t);y.isUndefined(n)&&e!==a||(r[t]=n)})),r},B={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){B[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var T={};B.transitional=function(t,e,r){function n(t,e){return"[Axios v0.26.1] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,o,i){if(!1===t)throw new Error(n(o," has been removed"+(e?" in "+e:"")));return e&&!T[o]&&(T[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};var C={assertOptions:function(t,e,r){if("object"!=typeof t)throw new TypeError("options must be an object");for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],u=e[i];if(u){var a=t[i],f=void 0===a||u(a,i,t);if(!0!==f)throw new TypeError("option "+i+" must be "+f)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:B},W=C.validators;function D(t){this.defaults=t,this.interceptors={request:new b,response:new b}}D.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=N(this.defaults,e)).method=e.method?e.method.toLowerCase():this.defaults.method?this.defaults.method.toLowerCase():"get";var r=e.transitional;void 0!==r&&C.assertOptions(r,{silentJSONParsing:W.transitional(W.boolean),forcedJSONParsing:W.transitional(W.boolean),clarifyTimeoutError:W.transitional(W.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)})),!o){var a=[k,void 0];for(Array.prototype.unshift.apply(a,n),a=a.concat(u),i=Promise.resolve(e);a.length;)i=i.then(a.shift(),a.shift());return i}for(var f=e;n.length;){var c=n.shift(),p=n.shift();try{f=c(f)}catch(t){p(t);break}}try{i=k(f)}catch(t){return Promise.reject(t)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},D.prototype.getUri=function(t){return t=N(this.defaults,t),l(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},y.forEach(["delete","get","head","options"],(function(t){D.prototype[t]=function(e,r){return this.request(N(r||{},{method:t,url:e,data:(r||{}).data}))}})),y.forEach(["post","put","patch"],(function(t){D.prototype[t]=function(e,r,n){return this.request(N(n||{},{method:t,url:e,data:r}))}}));var _=D;function $(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new O(t),e(r.reason))}))}$.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},$.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},$.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},$.source=function(){var t;return{token:new $((function(e){t=e})),cancel:t}};var q=$,G=function t(e){var n=new _(e),o=r(_.prototype.request,n);return y.extend(o,_.prototype,n),y.extend(o,n),o.create=function(r){return t(N(e,r))},o}(x);G.Axios=_,G.Cancel=O,G.CancelToken=q,G.isCancel=M,G.VERSION="0.26.1",G.all=function(t){return Promise.all(t)},G.spread=function(t){return function(e){return t.apply(null,e)}},G.isAxiosError=function(t){return y.isObject(t)&&!0===t.isAxiosError};var J=G;J.default=G;var L="undefined"!=typeof Symbol&&Symbol,z="Function.prototype.bind called on incompatible ",H=Array.prototype.slice,V=Object.prototype.toString,X=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==V.call(e))throw new TypeError(z+e);for(var r,n=H.call(arguments,1),o=function(){if(this instanceof r){var o=e.apply(this,n.concat(H.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(H.call(arguments)))},i=Math.max(0,e.length-n.length),u=[],a=0;a<i;a++)u.push("$"+a);if(r=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var f=function(){};f.prototype=e.prototype,r.prototype=new f,f.prototype=null}return r},K=X.call(Function.call,Object.prototype.hasOwnProperty),Q=SyntaxError,Y=Function,Z=TypeError,tt=function(t){try{return Y('"use strict"; return ('+t+").constructor;")()}catch(t){}},et=Object.getOwnPropertyDescriptor,rt=function(){throw new Z},nt=et?function(){try{return rt}catch(t){try{return et(arguments,"callee").get}catch(t){return rt}}}():rt,ot="function"==typeof L&&"function"==typeof Symbol&&"symbol"==typeof L("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}(),it=Object.getPrototypeOf||function(t){return t.__proto__},ut={},at="undefined"==typeof Uint8Array?void 0:it(Uint8Array),ft={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":ot?it([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":ut,"%AsyncGenerator%":ut,"%AsyncGeneratorFunction%":ut,"%AsyncIteratorPrototype%":ut,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":Y,"%GeneratorFunction%":ut,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ot?it(it([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ot?it((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ot?it((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ot?it(""[Symbol.iterator]()):void 0,"%Symbol%":ot?Symbol:void 0,"%SyntaxError%":Q,"%ThrowTypeError%":nt,"%TypedArray%":at,"%TypeError%":Z,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},ct=function t(e){var r;if("%AsyncFunction%"===e)r=tt("async function () {}");else if("%GeneratorFunction%"===e)r=tt("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=tt("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=it(o.prototype))}return ft[e]=r,r},pt={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},yt=X.call(Function.call,Array.prototype.concat),st=X.call(Function.apply,Array.prototype.splice),lt=X.call(Function.call,String.prototype.replace),dt=X.call(Function.call,String.prototype.slice),bt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,vt=/\\(\\)?/g,mt=function(t){var e=dt(t,0,1),r=dt(t,-1);if("%"===e&&"%"!==r)throw new Q("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new Q("invalid intrinsic syntax, expected opening `%`");var n=[];return lt(t,bt,(function(t,e,r,o){n[n.length]=r?lt(o,vt,"$1"):e||t})),n},ht=function(t,e){var r,n=t;if(K(pt,n)&&(n="%"+(r=pt[n])[0]+"%"),K(ft,n)){var o=ft[n];if(o===ut&&(o=ct(n)),void 0===o&&!e)throw new Z("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Q("intrinsic "+t+" does not exist!")},gt=function(t,e){if("string"!=typeof t||0===t.length)throw new Z("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new Z('"allowMissing" argument must be a boolean');var r=mt(t),n=r.length>0?r[0]:"",o=ht("%"+n+"%",e),i=o.name,u=o.value,a=!1,f=o.alias;f&&(n=f[0],st(r,yt([0,1],f)));for(var c=1,p=!0;c<r.length;c+=1){var y=r[c],s=dt(y,0,1),l=dt(y,-1);if(('"'===s||"'"===s||"`"===s||'"'===l||"'"===l||"`"===l)&&s!==l)throw new Q("property names with quotes must have matching quotes");if("constructor"!==y&&p||(a=!0),K(ft,i="%"+(n+="."+y)+"%"))u=ft[i];else if(null!=u){if(!(y in u)){if(!e)throw new Z("base intrinsic for "+t+" exists, but the property is not available.");return}if(et&&c+1>=r.length){var d=et(u,y);u=(p=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:u[y]}else p=K(u,y),u=u[y];p&&!a&&(ft[i]=u)}}return u},jt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function St(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function At(t,e,r){return t(r={path:e,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}function wt(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})})),e}var Ot=At((function(t){var e=gt("%Function.prototype.apply%"),r=gt("%Function.prototype.call%"),n=gt("%Reflect.apply%",!0)||X.call(r,e),o=gt("%Object.getOwnPropertyDescriptor%",!0),i=gt("%Object.defineProperty%",!0),u=gt("%Math.max%");if(i)try{i({},"a",{value:1})}catch(t){i=null}t.exports=function(t){var e=n(X,r,arguments);if(o&&i){var a=o(e,"length");a.configurable&&i(e,"length",{value:1+u(0,t.length-(arguments.length-1))})}return e};var a=function(){return n(X,e,arguments)};i?i(t.exports,"apply",{value:a}):t.exports.apply=a})),Pt=Ot(gt("String.prototype.indexOf")),Et=function(t,e){var r=gt(t,!!e);return"function"==typeof r&&Pt(t,".prototype.")>-1?Ot(r):r};const Rt=wt(Object.freeze({__proto__:null,default:{}}));var Ft="function"==typeof Map&&Map.prototype,xt=Object.getOwnPropertyDescriptor&&Ft?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,It=Ft&&xt&&"function"==typeof xt.get?xt.get:null,Mt=Ft&&Map.prototype.forEach,Ut="function"==typeof Set&&Set.prototype,kt=Object.getOwnPropertyDescriptor&&Ut?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Nt=Ut&&kt&&"function"==typeof kt.get?kt.get:null,Bt=Ut&&Set.prototype.forEach,Tt="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Ct="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Wt="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Dt=Boolean.prototype.valueOf,_t=Object.prototype.toString,$t=Function.prototype.toString,qt=String.prototype.match,Gt=String.prototype.slice,Jt=String.prototype.replace,Lt=String.prototype.toUpperCase,zt=String.prototype.toLowerCase,Ht=RegExp.prototype.test,Vt=Array.prototype.concat,Xt=Array.prototype.join,Kt=Array.prototype.slice,Qt=Math.floor,Yt="function"==typeof BigInt?BigInt.prototype.valueOf:null,Zt=Object.getOwnPropertySymbols,te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,ee="function"==typeof Symbol&&"object"==typeof Symbol.iterator,re="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,ne=Object.prototype.propertyIsEnumerable,oe=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function ie(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||Ht.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-Qt(-t):Qt(t);if(n!==t){var o=String(n),i=Gt.call(e,o.length+1);return Jt.call(o,r,"$&_")+"."+Jt.call(Jt.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Jt.call(e,r,"$&_")}var ue=Rt.custom,ae=ue&&se(ue)?ue:null,fe=function t(e,r,n,o){var i=r||{};if(de(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(de(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!de(i,"customInspect")||i.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(de(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(de(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=i.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return me(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var f=String(e);return a?ie(e,f):f}if("bigint"==typeof e){var c=String(e)+"n";return a?ie(e,c):c}var p=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=p&&p>0&&"object"==typeof e)return ye(e)?"[Array]":"[Object]";var y,s=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Xt.call(Array(t.indent+1)," ")}return{base:r,prev:Xt.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(ve(o,e)>=0)return"[Circular]";function l(e,r,u){if(r&&(o=Kt.call(o)).push(r),u){var a={depth:i.depth};return de(i,"quoteStyle")&&(a.quoteStyle=i.quoteStyle),t(e,a,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e){var d=function(t){if(t.name)return t.name;var e=qt.call($t.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),b=we(e,l);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(b.length>0?" { "+Xt.call(b,", ")+" }":"")}if(se(e)){var v=ee?Jt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):te.call(e);return"object"!=typeof e||ee?v:ge(v)}if((y=e)&&"object"==typeof y&&("undefined"!=typeof HTMLElement&&y instanceof HTMLElement||"string"==typeof y.nodeName&&"function"==typeof y.getAttribute)){for(var m="<"+zt.call(String(e.nodeName)),h=e.attributes||[],g=0;g<h.length;g++)m+=" "+h[g].name+"="+ce(pe(h[g].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+"</"+zt.call(String(e.nodeName))+">"}if(ye(e)){if(0===e.length)return"[]";var j=we(e,l);return s&&!function(t){for(var e=0;e<t.length;e++)if(ve(t[e],"\n")>=0)return!1;return!0}(j)?"["+Ae(j,s)+"]":"[ "+Xt.call(j,", ")+" ]"}if(function(t){return!("[object Error]"!==be(t)||re&&"object"==typeof t&&re in t)}(e)){var S=we(e,l);return"cause"in e&&!ne.call(e,"cause")?"{ ["+String(e)+"] "+Xt.call(Vt.call("[cause]: "+l(e.cause),S),", ")+" }":0===S.length?"["+String(e)+"]":"{ ["+String(e)+"] "+Xt.call(S,", ")+" }"}if("object"==typeof e&&u){if(ae&&"function"==typeof e[ae])return e[ae]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!It||!t||"object"!=typeof t)return!1;try{It.call(t);try{Nt.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var A=[];return Mt.call(e,(function(t,r){A.push(l(r,e,!0)+" => "+l(t,e))})),Se("Map",It.call(e),A,s)}if(function(t){if(!Nt||!t||"object"!=typeof t)return!1;try{Nt.call(t);try{It.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var w=[];return Bt.call(e,(function(t){w.push(l(t,e))})),Se("Set",Nt.call(e),w,s)}if(function(t){if(!Tt||!t||"object"!=typeof t)return!1;try{Tt.call(t,Tt);try{Ct.call(t,Ct)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return je("WeakMap");if(function(t){if(!Ct||!t||"object"!=typeof t)return!1;try{Ct.call(t,Ct);try{Tt.call(t,Tt)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return je("WeakSet");if(function(t){if(!Wt||!t||"object"!=typeof t)return!1;try{return Wt.call(t),!0}catch(t){}return!1}(e))return je("WeakRef");if(function(t){return!("[object Number]"!==be(t)||re&&"object"==typeof t&&re in t)}(e))return ge(l(Number(e)));if(function(t){if(!t||"object"!=typeof t||!Yt)return!1;try{return Yt.call(t),!0}catch(t){}return!1}(e))return ge(l(Yt.call(e)));if(function(t){return!("[object Boolean]"!==be(t)||re&&"object"==typeof t&&re in t)}(e))return ge(Dt.call(e));if(function(t){return!("[object String]"!==be(t)||re&&"object"==typeof t&&re in t)}(e))return ge(l(String(e)));if(!function(t){return!("[object Date]"!==be(t)||re&&"object"==typeof t&&re in t)}(e)&&!function(t){return!("[object RegExp]"!==be(t)||re&&"object"==typeof t&&re in t)}(e)){var O=we(e,l),P=oe?oe(e)===Object.prototype:e instanceof Object||e.constructor===Object,E=e instanceof Object?"":"null prototype",R=!P&&re&&Object(e)===e&&re in e?Gt.call(be(e),8,-1):E?"Object":"",F=(P||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(R||E?"["+Xt.call(Vt.call([],R||[],E||[]),": ")+"] ":"");return 0===O.length?F+"{}":s?F+"{"+Ae(O,s)+"}":F+"{ "+Xt.call(O,", ")+" }"}return String(e)};function ce(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function pe(t){return Jt.call(String(t),/"/g,""")}function ye(t){return!("[object Array]"!==be(t)||re&&"object"==typeof t&&re in t)}function se(t){if(ee)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!te)return!1;try{return te.call(t),!0}catch(t){}return!1}var le=Object.prototype.hasOwnProperty||function(t){return t in this};function de(t,e){return le.call(t,e)}function be(t){return _t.call(t)}function ve(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function me(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return me(Gt.call(t,0,e.maxStringLength),e)+n}return ce(Jt.call(Jt.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,he),"single",e)}function he(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Lt.call(e.toString(16))}function ge(t){return"Object("+t+")"}function je(t){return t+" { ? }"}function Se(t,e,r,n){return t+" ("+e+") {"+(n?Ae(r,n):Xt.call(r,", "))+"}"}function Ae(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+Xt.call(t,","+r)+"\n"+e.prev}function we(t,e){var r=ye(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=de(t,o)?e(t[o],t):""}var i,u="function"==typeof Zt?Zt(t):[];if(ee){i={};for(var a=0;a<u.length;a++)i["$"+u[a]]=u[a]}for(var f in t)de(t,f)&&(r&&String(Number(f))===f&&f<t.length||ee&&i["$"+f]instanceof Symbol||(Ht.call(/[^\w$]/,f)?n.push(e(f,t)+": "+e(t[f],t)):n.push(f+": "+e(t[f],t))));if("function"==typeof Zt)for(var c=0;c<u.length;c++)ne.call(t,u[c])&&n.push("["+e(u[c])+"]: "+e(t[u[c]],t));return n}var Oe=gt("%TypeError%"),Pe=gt("%WeakMap%",!0),Ee=gt("%Map%",!0),Re=Et("WeakMap.prototype.get",!0),Fe=Et("WeakMap.prototype.set",!0),xe=Et("WeakMap.prototype.has",!0),Ie=Et("Map.prototype.get",!0),Me=Et("Map.prototype.set",!0),Ue=Et("Map.prototype.has",!0),ke=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},Ne=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new Oe("Side channel does not contain "+fe(t))},get:function(n){if(Pe&&n&&("object"==typeof n||"function"==typeof n)){if(t)return Re(t,n)}else if(Ee){if(e)return Ie(e,n)}else if(r)return function(t,e){var r=ke(t,e);return r&&r.value}(r,n)},has:function(n){if(Pe&&n&&("object"==typeof n||"function"==typeof n)){if(t)return xe(t,n)}else if(Ee){if(e)return Ue(e,n)}else if(r)return function(t,e){return!!ke(t,e)}(r,n);return!1},set:function(n,o){Pe&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new Pe),Fe(t,n,o)):Ee?(e||(e=new Ee),Me(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=ke(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},Be=String.prototype.replace,Te=/%20/g,Ce={default:"RFC3986",formatters:{RFC1738:function(t){return Be.call(t,Te,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:"RFC3986"},We=Object.prototype.hasOwnProperty,De=Array.isArray,_e=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),$e=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},qe={arrayToObject:$e,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],u=Object.keys(i),a=0;a<u.length;++a){var f=u[a],c=i[f];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:i,prop:f}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(De(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var u="",a=0;a<i.length;++a){var f=i.charCodeAt(a);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===Ce.RFC1738&&(40===f||41===f)?u+=i.charAt(a):f<128?u+=_e[f]:f<2048?u+=_e[192|f>>6]+_e[128|63&f]:f<55296||f>=57344?u+=_e[224|f>>12]+_e[128|f>>6&63]+_e[128|63&f]:(f=65536+((1023&f)<<10|1023&i.charCodeAt(a+=1)),u+=_e[240|f>>18]+_e[128|f>>12&63]+_e[128|f>>6&63]+_e[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(De(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(De(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!We.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return De(e)&&!De(r)&&(o=$e(e,n)),De(e)&&De(r)?(r.forEach((function(r,o){if(We.call(e,o)){var i=e[o];i&&"object"==typeof i&&r&&"object"==typeof r?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return e[o]=We.call(e,o)?t(e[o],i,n):i,e}),o)}};const Ge=t=>!("isConnected"in t)||t.isConnected,Je=(()=>{let t;return(...e)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let e of t.keys())t.set(e,t.get(e).filter(Ge))})(...e)}),2e3)}})(),Le=(r,n)=>{const o=((t,e=((t,e)=>t!==e))=>{let r=new Map(Object.entries(null!=t?t:{}));const n={dispose:[],get:[],set:[],reset:[]},o=()=>{r=new Map(Object.entries(null!=t?t:{})),n.reset.forEach((t=>t()))},i=t=>(n.get.forEach((e=>e(t))),r.get(t)),u=(t,o)=>{const i=r.get(t);e(o,i,t)&&(r.set(t,o),n.set.forEach((e=>e(t,o,i))))},a="undefined"==typeof Proxy?{}:new Proxy(t,{get:(t,e)=>i(e),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,e)=>r.has(e),set:(t,e,r)=>(u(e,r),!0)}),f=(t,e)=>(n[t].push(e),()=>{((t,e)=>{const r=t.indexOf(e);r>=0&&(t[r]=t[t.length-1],t.length--)})(n[t],e)});return{state:a,get:i,set:u,on:f,onChange:(e,r)=>{const n=f("set",((t,n)=>{t===e&&r(n)})),o=f("reset",(()=>r(t[e])));return()=>{n(),o()}},use:(...t)=>{const e=t.reduce(((t,e)=>(e.set&&t.push(f("set",e.set)),e.get&&t.push(f("get",e.get)),e.reset&&t.push(f("reset",e.reset)),e.dispose&&t.push(f("dispose",e.dispose)),t)),[]);return()=>e.forEach((t=>t()))},dispose:()=>{n.dispose.forEach((t=>t())),o()},reset:o,forceUpdate:t=>{const e=r.get(t);n.set.forEach((r=>r(t,e,e)))}}})(r,n);return o.use((()=>{if("function"!=typeof t)return{};const r=new Map;return{dispose:()=>r.clear(),get:e=>{const n=t();n&&((t,e,r)=>{const n=t.get(e);n?n.includes(r)||n.push(r):t.set(e,[r])})(r,e,n)},set:t=>{const n=r.get(t);n&&r.set(t,n.filter(e)),Je(r)},reset:()=>{r.forEach((t=>t.forEach(e))),Je(r)}}})()),o},{state:ze,onChange:He,reset:Ve}=Le({toc:void 0}),Xe={state:ze,onChange:He,reset:Ve},{state:Ke,onChange:Qe,reset:Ye}=Le({authUser:null,bearer:"Bearer ",isAuthenticated:!1,loading:!1});Qe("authUser",(t=>{Ke.bearer=`Bearer ${t?t.JWToken:""}`,Ke.isAuthenticated=t&&!!t.Id}));const Ze={state:Ke,onChange:Qe,reset:Ye};export{Ze as A,Xe as T,J as a,jt as b,At as c,Le as d,Ce as f,St as g,Ne as s,qe as u}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import{r as t,i as e,w as a,h as i,H as n,e as o}from"./p-ee1e0eb4.js";import{d as s,c as r,a as d,f as h,g as l}from"./p-4c6a7e52.js";import{g as p}from"./p-871106e0.js";import{startFocusVisible as c}from"./p-924b2917.js";import{l as m,d as g,g as u}from"./p-d68092b7.js";import{a as b,p as y}from"./p-a208ab2d.js";import{i as x}from"./p-506221fe.js";import{c as f}from"./p-0e4de1d0.js";import{g as w,i as v,a as k,b as j,c as O,d as C,p as P,e as z,f as A,h as D,j as V,k as I,l as E,m as $,n as T,w as M,o as L,q as W,r as S,s as B,t as F,u as H,v as R,x as U,y as Y,z as q,A as K,B as G,C as J,D as _,E as N,F as Q,G as X,H as Z,I as tt,J as et,K as at,L as it}from"./p-eaa8bbee.js";
|
2
|
+
/*!
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
4
|
+
*/const nt=(t,e,a,i)=>null===t.day||void 0!==i&&!i.includes(t.day)||!(!e||!v(t,e))||!(!a||!k(t,a)),ot=(t,{minParts:e,maxParts:a})=>!!((t,e,a)=>!!(e&&e.year>t)||!!(a&&a.year<t))(t.year,e,a)||!!(e&&v(t,e)||a&&k(t,a)),st=class{constructor(i){t(this,i),this.ionCancel=e(this,"ionCancel",7),this.ionChange=e(this,"ionChange",7),this.ionFocus=e(this,"ionFocus",7),this.ionBlur=e(this,"ionBlur",7),this.ionStyle=e(this,"ionStyle",7),this.ionRender=e(this,"ionRender",7),this.inputId="ion-dt-"+rt++,this.highlightActiveParts=!1,this.todayParts=P(z()),this.prevPresentation=null,this.showMonthAndYear=!1,this.activeParts={month:5,day:28,year:2021,hour:13,minute:52,ampm:"pm"},this.workingParts={month:5,day:28,year:2021,hour:13,minute:52,ampm:"pm"},this.isPresented=!1,this.isTimePopoverOpen=!1,this.color="primary",this.name=this.inputId,this.disabled=!1,this.readonly=!1,this.presentation="date-time",this.cancelText="Cancel",this.doneText="Done",this.clearText="Clear",this.locale="default",this.firstDayOfWeek=0,this.multiple=!1,this.showDefaultTitle=!1,this.showDefaultButtons=!1,this.showClearButton=!1,this.showDefaultTimeLabel=!0,this.size="fixed",this.preferWheel=!1,this.closeParentOverlay=()=>{const t=this.el.closest("ion-modal, ion-popover");t&&t.dismiss()},this.setWorkingParts=t=>{this.workingParts=Object.assign({},t)},this.setActiveParts=(t,e=!1)=>{const{multiple:a,activePartsClone:i,highlightActiveParts:n}=this;if(a){const a=Array.isArray(i)?i:[i];this.activeParts=e?a.filter((e=>!j(e,t))):n?[...a,t]:[t]}else this.activeParts=Object.assign({},t);this.highlightActiveParts=!0,null!==this.el.querySelector('[slot="buttons"]')||this.showDefaultButtons||this.confirm()},this.getCalendarBodyEl=()=>{var t;return this.calendarBodyRef||(null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector(".calendar-body"))},this.initializeKeyboardListeners=()=>{const t=this.getCalendarBodyEl();if(!t)return;const e=this.el.shadowRoot,a=t.querySelector(".calendar-month:nth-of-type(2)"),i=new MutationObserver((e=>{var i;!(null===(i=e[0].oldValue)||void 0===i?void 0:i.includes("ion-focused"))&&t.classList.contains("ion-focused")&&this.focusWorkingDay(a)}));i.observe(t,{attributeFilter:["class"],attributeOldValue:!0}),this.destroyKeyboardMO=()=>{null==i||i.disconnect()},t.addEventListener("keydown",(t=>{const i=e.activeElement;if(!i||!i.classList.contains("calendar-day"))return;const n=A(i);let o;switch(t.key){case"ArrowDown":t.preventDefault(),o=T(n);break;case"ArrowUp":t.preventDefault(),o=$(n);break;case"ArrowRight":t.preventDefault(),o=E(n);break;case"ArrowLeft":t.preventDefault(),o=I(n);break;case"Home":t.preventDefault(),o=V(n);break;case"End":t.preventDefault(),o=D(n);break;case"PageUp":t.preventDefault(),o=t.shiftKey?tt(n):O(n);break;case"PageDown":t.preventDefault(),o=t.shiftKey?Z(n):C(n);break;default:return}nt(o,this.minParts,this.maxParts)||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),o)),requestAnimationFrame((()=>this.focusWorkingDay(a))))}))},this.focusWorkingDay=t=>{const e=t.querySelectorAll(".calendar-day-padding"),{day:a}=this.workingParts;if(null===a)return;const i=t.querySelector(`.calendar-day:nth-of-type(${e.length+a})`);i&&i.focus()},this.processMinParts=()=>{if(void 0===this.min)return void(this.minParts=void 0);const{month:t,day:e,year:a,hour:i,minute:n}=P(this.min);this.minParts={month:t,day:e,year:a,hour:i,minute:n}},this.processMaxParts=()=>{if(void 0===this.max)return void(this.maxParts=void 0);const{month:t,day:e,year:a,hour:i,minute:n}=P(this.max);this.maxParts={month:t,day:e,year:a,hour:i,minute:n}},this.initializeCalendarListener=()=>{const t=this.getCalendarBodyEl();if(!t)return;const e=t.querySelectorAll(".calendar-month"),i=e[0],n=e[1],o=e[2],s="ios"===p(this)&&"undefined"!=typeof navigator&&navigator.maxTouchPoints>1;a((()=>{t.scrollLeft=i.clientWidth*(x(this.el)?-1:1);const e=e=>{const a=t.getBoundingClientRect(),n=this.el.shadowRoot.elementFromPoint(a.x+a.width/2,a.y+a.height/2);if(!n)return;const s=n.closest(".calendar-month");if(!s)return;const r=s.getBoundingClientRect();return Math.abs(r.x-a.x)>2?void 0:s===i?O(e):s===o?C(e):void 0},r=()=>{s&&(t.style.removeProperty("pointer-events"),h=!1);const i=e(this.workingParts);if(!i)return;const{month:o,day:r,year:d}=i;ot({month:o,year:d,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})})||(t.style.setProperty("overflow","hidden"),a((()=>{this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:o,day:r,year:d})),t.scrollLeft=n.clientWidth*(x(this.el)?-1:1),t.style.removeProperty("overflow")})))};let d,h=!1;const l=()=>{d&&clearTimeout(d),!h&&s&&(t.style.setProperty("pointer-events","none"),h=!0),d=setTimeout(r,50)};t.addEventListener("scroll",l),this.destroyCalendarListener=()=>{t.removeEventListener("scroll",l)}}))},this.destroyInteractionListeners=()=>{const{destroyCalendarListener:t,destroyKeyboardMO:e}=this;void 0!==t&&t(),void 0!==e&&e()},this.processValue=t=>{this.highlightActiveParts=!!t;let e=P(t||z());const{minParts:a,maxParts:i,multiple:n}=this;!n&&Array.isArray(t)&&(this.value=t[0],e=e[0]),M(e,a,i);const o=Array.isArray(e)?e[0]:e,{month:s,day:r,year:d,hour:h,minute:l,tzOffset:p}=et(o,a,i),c=at(h);this.setWorkingParts({month:s,day:r,year:d,hour:h,minute:l,tzOffset:p,ampm:c}),this.activeParts=Array.isArray(e)?[...e]:{month:s,day:r,year:d,hour:h,minute:l,tzOffset:p,ampm:c}},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.hasValue=()=>null!=this.value&&""!==this.value,this.nextMonth=()=>{const t=this.getCalendarBodyEl();if(!t)return;const e=t.querySelector(".calendar-month:last-of-type");e&&t.scrollTo({top:0,left:2*e.offsetWidth*(x(this.el)?-1:1),behavior:"smooth"})},this.prevMonth=()=>{const t=this.getCalendarBodyEl();t&&t.querySelector(".calendar-month:first-of-type")&&t.scrollTo({top:0,left:0,behavior:"smooth"})},this.toggleMonthAndYearView=()=>{this.showMonthAndYear=!this.showMonthAndYear}}disabledChanged(){this.emitStyle()}minChanged(){this.processMinParts()}maxChanged(){this.processMaxParts()}yearValuesChanged(){this.parsedYearValues=L(this.yearValues)}monthValuesChanged(){this.parsedMonthValues=L(this.monthValues)}dayValuesChanged(){this.parsedDayValues=L(this.dayValues)}hourValuesChanged(){this.parsedHourValues=L(this.hourValues)}minuteValuesChanged(){this.parsedMinuteValues=L(this.minuteValues)}activePartsChanged(){this.activePartsClone=this.activeParts}valueChanged(){const{value:t,minParts:e,maxParts:a,workingParts:i,multiple:n}=this;if(this.hasValue()){if(!n&&Array.isArray(t))return void(this.value=t[0]);const o=P(t);if(o)if(M(o,e,a),Array.isArray(o))this.activePartsClone=[...o];else{const{month:t,day:e,year:a,hour:n,minute:s}=o,r=null!=n?n>=12?"pm":"am":void 0;this.activePartsClone=Object.assign(Object.assign({},this.activeParts),{month:t,day:e,year:a,hour:n,minute:s,ampm:r}),this.setWorkingParts(Object.assign(Object.assign({},i),{ampm:r}))}else b(`Unable to parse date string: ${t}. Please provide a valid ISO 8601 datetime string.`)}this.emitStyle(),this.ionChange.emit({value:t})}async confirm(t=!1){const{highlightActiveParts:e,isCalendarPicker:a,activeParts:i}=this;if(e||!a){const t=Array.isArray(i);if(t&&0===i.length)this.value=void 0;else{if(t){const t=W(i).map((t=>new Date(t)));for(let e=0;e<t.length;e++)i[e].tzOffset=-1*t[e].getTimezoneOffset()}else{const t=new Date(W(i));i.tzOffset=-1*t.getTimezoneOffset()}this.value=W(i)}}t&&this.closeParentOverlay()}async reset(t){this.processValue(t)}async cancel(t=!1){this.ionCancel.emit(),t&&this.closeParentOverlay()}get isCalendarPicker(){const{presentation:t}=this;return"date"===t||"date-time"===t||"time-date"===t}connectedCallback(){this.clearFocusVisible=c(this.el).destroy}disconnectedCallback(){this.clearFocusVisible&&(this.clearFocusVisible(),this.clearFocusVisible=void 0)}initializeListeners(){this.initializeCalendarListener(),this.initializeKeyboardListeners()}componentDidLoad(){const t=new IntersectionObserver((t=>{t[0].isIntersecting&&(this.initializeListeners(),a((()=>{this.el.classList.add("datetime-ready")})))}),{threshold:.01});m((()=>null==t?void 0:t.observe(this.el)));const e=new IntersectionObserver((t=>{t[0].isIntersecting||(this.destroyInteractionListeners(),a((()=>{this.el.classList.remove("datetime-ready")})))}),{threshold:0});m((()=>null==e?void 0:e.observe(this.el)));const i=u(this.el);i.addEventListener("ionFocus",(t=>t.stopPropagation())),i.addEventListener("ionBlur",(t=>t.stopPropagation()))}componentDidRender(){const{presentation:t,prevPresentation:e}=this;null!==e?t!==e&&(this.prevPresentation=t,this.destroyInteractionListeners(),this.initializeListeners(),this.showMonthAndYear=!1,m((()=>{this.ionRender.emit()}))):this.prevPresentation=t}componentWillLoad(){const{el:t,multiple:e,presentation:a,preferWheel:i}=this;e&&("date"!==a&&b('Multiple date selection is only supported for presentation="date".',t),i&&b('Multiple date selection is not supported with preferWheel="true".',t)),this.processMinParts(),this.processMaxParts(),this.processValue(this.value),this.parsedHourValues=L(this.hourValues),this.parsedMinuteValues=L(this.minuteValues),this.parsedMonthValues=L(this.monthValues),this.parsedYearValues=L(this.yearValues),this.parsedDayValues=L(this.dayValues),this.emitStyle()}emitStyle(){this.ionStyle.emit({interactive:!0,datetime:!0,"interactive-disabled":this.disabled})}renderFooter(){const{showDefaultButtons:t,showClearButton:e}=this;if(null===this.el.querySelector('[slot="buttons"]')&&!t&&!e)return;const a=()=>{this.reset(),this.value=void 0};return i("div",{class:"datetime-footer"},i("div",{class:"datetime-buttons"},i("div",{class:{"datetime-action-buttons":!0,"has-clear-button":this.showClearButton}},i("slot",{name:"buttons"},i("ion-buttons",null,t&&i("ion-button",{id:"cancel-button",color:this.color,onClick:()=>this.cancel(!0)},this.cancelText),i("div",null,e&&i("ion-button",{id:"clear-button",color:this.color,onClick:()=>a()},this.clearText),t&&i("ion-button",{id:"confirm-button",color:this.color,onClick:()=>this.confirm(!0)},this.doneText)))))))}renderWheelPicker(t=this.presentation){const e="time-date"===t?[this.renderTimePickerColumns(t),this.renderDatePickerColumns(t)]:[this.renderDatePickerColumns(t),this.renderTimePickerColumns(t)];return i("ion-picker-internal",null,e)}renderDatePickerColumns(t){return"date-time"===t||"time-date"===t?this.renderCombinedDatePickerColumn():this.renderIndividualDatePickerColumns(t)}renderCombinedDatePickerColumn(){const{activeParts:t,workingParts:e,locale:a,minParts:n,maxParts:o,todayParts:s,isDateEnabled:r}=this,d=J(e);for(let t=0;t<=d.length-1;t++)d[t].day=null;const h=S(a,e,s,n||d[0],o||d[d.length-1],this.parsedDayValues,this.parsedMonthValues);let l=h.items;const p=h.parts;return r&&(l=l.map(((t,e)=>{const a=p[e];let i;try{i=!r(W(a))}catch(t){y("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",t)}return Object.assign(Object.assign({},t),{disabled:i})}))),i("ion-picker-column-internal",{class:"date-column",color:this.color,items:l,value:e.day?`${e.year}-${e.month}-${e.day}`:`${s.year}-${s.month}-${s.day}`,onIonChange:a=>{this.destroyCalendarListener&&this.destroyCalendarListener();const{value:i}=a.detail,n=p.find((({month:t,day:e,year:a})=>i===`${a}-${t}-${e}`));this.setWorkingParts(Object.assign(Object.assign({},e),n)),Array.isArray(t)||this.setActiveParts(Object.assign(Object.assign({},t),n)),this.initializeCalendarListener(),a.stopPropagation()}})}renderIndividualDatePickerColumns(t){const{workingParts:e,isDateEnabled:a}=this,i="year"!==t&&"time"!==t?B(this.locale,e,this.minParts,this.maxParts,this.parsedMonthValues):[];let n="date"===t?F(this.locale,e,this.minParts,this.maxParts,this.parsedDayValues):[];a&&(n=n.map((t=>{const{value:i}=t,n="string"==typeof i?parseInt(i):i,o={month:e.month,day:n,year:e.year};let s;try{s=!a(W(o))}catch(t){y("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",t)}return Object.assign(Object.assign({},t),{disabled:s})})));const o="month"!==t&&"time"!==t?H(this.todayParts,this.minParts,this.maxParts,this.parsedYearValues):[];let s=[];return s=R(this.locale,{month:"numeric",day:"numeric"})?[this.renderMonthPickerColumn(i),this.renderDayPickerColumn(n),this.renderYearPickerColumn(o)]:[this.renderDayPickerColumn(n),this.renderMonthPickerColumn(i),this.renderYearPickerColumn(o)],s}renderDayPickerColumn(t){var e;if(0===t.length)return[];const{activeParts:a,workingParts:n}=this;return i("ion-picker-column-internal",{class:"day-column",color:this.color,items:t,value:null!==(e=n.day||this.todayParts.day)&&void 0!==e?e:void 0,onIonChange:t=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},n),{day:t.detail.value})),Array.isArray(a)||this.setActiveParts(Object.assign(Object.assign({},a),{day:t.detail.value})),this.initializeCalendarListener(),t.stopPropagation()}})}renderMonthPickerColumn(t){if(0===t.length)return[];const{activeParts:e,workingParts:a}=this;return i("ion-picker-column-internal",{class:"month-column",color:this.color,items:t,value:a.month,onIonChange:t=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},a),{month:t.detail.value})),Array.isArray(e)||this.setActiveParts(Object.assign(Object.assign({},e),{month:t.detail.value})),this.initializeCalendarListener(),t.stopPropagation()}})}renderYearPickerColumn(t){if(0===t.length)return[];const{activeParts:e,workingParts:a}=this;return i("ion-picker-column-internal",{class:"year-column",color:this.color,items:t,value:a.year,onIonChange:t=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},a),{year:t.detail.value})),Array.isArray(e)||this.setActiveParts(Object.assign(Object.assign({},e),{year:t.detail.value})),this.initializeCalendarListener(),t.stopPropagation()}})}renderTimePickerColumns(t){if(["date","month","month-year","year"].includes(t))return[];const{hoursData:e,minutesData:a,dayPeriodData:i}=U(this.locale,this.workingParts,this.hourCycle,this.value?this.minParts:void 0,this.value?this.maxParts:void 0,this.parsedHourValues,this.parsedMinuteValues);return[this.renderHourPickerColumn(e),this.renderMinutePickerColumn(a),this.renderDayPeriodPickerColumn(i)]}renderHourPickerColumn(t){const{workingParts:e,activePartsClone:a}=this;return 0===t.length?[]:i("ion-picker-column-internal",{color:this.color,value:a.hour,items:t,numericInput:!0,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},e),{hour:t.detail.value})),Array.isArray(a)||this.setActiveParts(Object.assign(Object.assign({},a),{hour:t.detail.value})),t.stopPropagation()}})}renderMinutePickerColumn(t){const{workingParts:e,activePartsClone:a}=this;return 0===t.length?[]:i("ion-picker-column-internal",{color:this.color,value:a.minute,items:t,numericInput:!0,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},e),{minute:t.detail.value})),Array.isArray(a)||this.setActiveParts(Object.assign(Object.assign({},a),{minute:t.detail.value})),t.stopPropagation()}})}renderDayPeriodPickerColumn(t){const{workingParts:e,activePartsClone:a}=this;if(0===t.length)return[];const n=Y(this.locale);return i("ion-picker-column-internal",{style:n?{order:"-1"}:{},color:this.color,value:a.ampm,items:t,onIonChange:t=>{const i=it(e,t.detail.value);this.setWorkingParts(Object.assign(Object.assign({},e),{ampm:t.detail.value,hour:i})),Array.isArray(a)||this.setActiveParts(Object.assign(Object.assign({},a),{ampm:t.detail.value,hour:i})),t.stopPropagation()}})}renderWheelView(t){const{locale:e}=this,a=R(e);return i("div",{class:{["wheel-order-"+(a?"month-first":"year-first")]:!0}},this.renderWheelPicker(t))}renderCalendarHeader(t){const e="ios"===t?d:h,a="ios"===t?r:l,n=((t,e,a)=>{const i=Object.assign(Object.assign({},O(this.workingParts)),{day:null});return ot(i,{minParts:e,maxParts:a})})(0,this.minParts,this.maxParts),o=((t,e)=>{const a=Object.assign(Object.assign({},C(this.workingParts)),{day:null});return ot(a,{maxParts:e})})(0,this.maxParts);return i("div",{class:"calendar-header"},i("div",{class:"calendar-action-buttons"},i("div",{class:"calendar-month-year"},i("ion-item",{button:!0,detail:!1,lines:"none",onClick:()=>this.toggleMonthAndYearView()},i("ion-label",null,K(this.locale,this.workingParts)," ",i("ion-icon",{icon:this.showMonthAndYear?e:a,lazy:!1})))),i("div",{class:"calendar-next-prev"},i("ion-buttons",null,i("ion-button",{disabled:n,onClick:()=>this.prevMonth()},i("ion-icon",{slot:"icon-only",icon:s,lazy:!1,flipRtl:!0})),i("ion-button",{disabled:o,onClick:()=>this.nextMonth()},i("ion-icon",{slot:"icon-only",icon:r,lazy:!1,flipRtl:!0}))))),i("div",{class:"calendar-days-of-week"},q(this.locale,t,this.firstDayOfWeek%7).map((t=>i("div",{class:"day-of-week"},t)))))}renderMonth(t,e){const{highlightActiveParts:a}=this,n=void 0===this.parsedYearValues||this.parsedYearValues.includes(e),o=void 0===this.parsedMonthValues||this.parsedMonthValues.includes(t),s=!n||!o,r=ot({month:t,year:e,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})});return i("div",{class:{"calendar-month":!0,"calendar-month-disabled":!(this.workingParts.month===t&&this.workingParts.year===e)&&r}},i("div",{class:"calendar-month-grid"},G(t,e,this.firstDayOfWeek%7).map(((n,o)=>{const{day:r,dayOfWeek:d}=n,{isDateEnabled:h,multiple:l}=this,p={month:t,day:r,year:e},{isActive:c,isToday:m,ariaLabel:g,ariaSelected:u,disabled:b}=((t,e,a,i,n,o,s)=>{const r=void 0!==(Array.isArray(a)?a:[a]).find((t=>j(e,t))),d=j(e,i);return{disabled:nt(e,n,o,s),isActive:r,isToday:d,ariaSelected:r?"true":null,ariaLabel:w(t,d,e)}})(this.locale,p,this.activePartsClone,this.todayParts,this.minParts,this.maxParts,this.parsedDayValues);let x=s||b;if(!x&&void 0!==h)try{x=!h(W(p))}catch(t){y("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",t)}return i("button",{tabindex:"-1","data-day":r,"data-month":t,"data-year":e,"data-index":o,"data-day-of-week":d,disabled:x,class:{"calendar-day-padding":null===r,"calendar-day":!0,"calendar-day-active":c&&a,"calendar-day-today":m},"aria-selected":u,"aria-label":g,onClick:()=>{null!==r&&(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:t,day:r,year:e})),l?this.setActiveParts({month:t,day:r,year:e},c&&a):this.setActiveParts(Object.assign(Object.assign({},this.activeParts),{month:t,day:r,year:e})))}},r)}))))}renderCalendarBody(){return i("div",{class:"calendar-body ion-focusable",ref:t=>this.calendarBodyRef=t,tabindex:"0"},J(this.workingParts).map((({month:t,year:e})=>this.renderMonth(t,e))))}renderCalendar(t){return i("div",{class:"datetime-calendar"},this.renderCalendarHeader(t),this.renderCalendarBody())}renderTimeLabel(){if(null!==this.el.querySelector('[slot="time-label"]')||this.showDefaultTimeLabel)return i("slot",{name:"time-label"},"Time")}renderTimeOverlay(){const t=_(this.locale,this.hourCycle);return[i("div",{class:"time-header"},this.renderTimeLabel()),i("button",{class:{"time-body":!0,"time-body-active":this.isTimePopoverOpen},"aria-expanded":"false","aria-haspopup":"true",onClick:async t=>{const{popoverRef:e}=this;e&&(this.isTimePopoverOpen=!0,e.present(new CustomEvent("ionShadowTarget",{detail:{ionShadowTarget:t.target}})),await e.onWillDismiss(),this.isTimePopoverOpen=!1)}},N(this.locale,this.activePartsClone,t)),i("ion-popover",{alignment:"center",translucent:!0,overlayIndex:1,arrow:!1,onWillPresent:t=>{t.target.querySelectorAll("ion-picker-column-internal").forEach((t=>t.scrollActiveItemIntoView()))},style:{"--offset-y":"-10px","--min-width":"fit-content"},keyboardEvents:!0,ref:t=>this.popoverRef=t},this.renderWheelPicker("time"))]}renderCalendarViewHeader(t){if(null!==this.el.querySelector('[slot="title"]')||this.showDefaultTitle)return i("div",{class:"datetime-header"},i("div",{class:"datetime-title"},i("slot",{name:"title"},"Select Date")),"md"===t&&!this.multiple&&i("div",{class:"datetime-selected-date"},Q(this.locale,this.activeParts)))}renderTime(){const{presentation:t}=this;return i("div",{class:"datetime-time"},"time"===t?this.renderWheelPicker():this.renderTimeOverlay())}renderCalendarViewMonthYearPicker(){return i("div",{class:"datetime-year"},this.renderWheelView("month-year"))}renderDatetime(t){const{presentation:e,preferWheel:a}=this;if(a&&("date"===e||"date-time"===e||"time-date"===e))return[this.renderWheelView(),this.renderFooter()];switch(e){case"date-time":return[this.renderCalendarViewHeader(t),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderTime(),this.renderFooter()];case"time-date":return[this.renderCalendarViewHeader(t),this.renderTime(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()];case"time":return[this.renderTime(),this.renderFooter()];case"month":case"month-year":case"year":return[this.renderWheelView(),this.renderFooter()];default:return[this.renderCalendarViewHeader(t),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()]}}render(){const{name:t,value:e,disabled:a,el:o,color:s,isPresented:r,readonly:d,showMonthAndYear:h,preferWheel:l,presentation:c,size:m}=this,u=p(this),b="year"===c||"month"===c||"month-year"===c,y=h||b,x=h&&!b,w="date"===c||"date-time"===c||"time-date"===c,v=w&&l,k=w&&!l;return g(!0,o,t,X(e),a),i(n,{"aria-disabled":a?"true":null,onFocus:this.onFocus,onBlur:this.onBlur,class:Object.assign({},f(s,{[u]:!0,"datetime-presented":r,"datetime-readonly":d,"datetime-disabled":a,"show-month-and-year":y,"month-year-picker-open":x,[`datetime-presentation-${c}`]:!0,[`datetime-size-${m}`]:!0,"datetime-prefer-wheel":v,"datetime-grid":k}))},this.renderDatetime(u))}get el(){return o(this)}static get watchers(){return{disabled:["disabledChanged"],min:["minChanged"],max:["maxChanged"],yearValues:["yearValuesChanged"],monthValues:["monthValuesChanged"],dayValues:["dayValuesChanged"],hourValues:["hourValuesChanged"],minuteValues:["minuteValuesChanged"],activeParts:["activePartsChanged"],value:["valueChanged"]}}};let rt=0;st.style={ios:':host{display:flex;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{order:3;text-align:end}:host .wheel-order-year-first .month-column{order:2;text-align:end}:host .wheel-order-year-first .year-column{order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:flex;flex:1 1 auto;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px;position:absolute;visibility:hidden;pointer-events:none}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-readonly),:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled){opacity:0.4}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:flex;align-items:center}:host .calendar-action-buttons ion-item ion-icon{padding-left:4px;padding-right:0;padding-top:0;padding-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-action-buttons ion-item ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0}}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}:host .calendar-body{display:flex;flex-grow:1;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{scroll-snap-align:start;scroll-snap-stop:always;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr);height:100%}:host .calendar-day{padding-left:0px;padding-right:0px;padding-top:0px;padding-bottom:0px;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:0px;display:flex;position:relative;align-items:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;cursor:pointer;appearance:none;z-index:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day{padding-left:unset;padding-right:unset;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day{margin-left:unset;margin-right:unset;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px}}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}:host .calendar-day:after{border-radius:32px;padding-left:4px;padding-right:4px;padding-top:4px;padding-bottom:4px;position:absolute;top:50%;left:50%;width:32px;height:32px;transform:translate(-50%, -50%);content:" ";z-index:-1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day:after{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}:host .datetime-time{display:flex;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:flex;align-items:center}:host .time-body{border-radius:8px;padding-left:12px;padding-right:12px;padding-top:6px;padding-bottom:6px;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .time-body{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-light, #ffffff);--background-rgb:var(--ion-color-light-rgb);--title-color:var(--ion-color-step-600, #666666)}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, #cccccc)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-header{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host .datetime-header .datetime-title{color:var(--title-color);font-size:14px}:host .calendar-action-buttons ion-item{--padding-start:16px;--background-hover:transparent;--background-activated:transparent;font-size:16px;font-weight:600}:host .calendar-action-buttons ion-item ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{padding-left:8px;padding-right:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, #b3b3b3);font-size:12px;font-weight:600;line-height:24px;text-transform:uppercase}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-days-of-week{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}:host .calendar-body .calendar-month .calendar-month-grid{padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;height:calc(100% - 16px)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-body .calendar-month .calendar-month-grid{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}:host .calendar-day{font-size:20px}:host .calendar-day:after{opacity:0.2}:host .calendar-day:focus:after{background:var(--ion-color-base)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-active:after{background:var(--ion-color-base)}:host .calendar-day.calendar-day-today.calendar-day-active{color:var(--ion-color-contrast)}:host .calendar-day.calendar-day-today.calendar-day-active:after{background:var(--ion-color-base);opacity:1}:host .datetime-time{padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:16px;font-size:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-time{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, #cccccc)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-buttons{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:flex;align-items:center;justify-content:space-between}:host .datetime-action-buttons{width:100%}',md:':host{display:flex;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{order:3;text-align:end}:host .wheel-order-year-first .month-column{order:2;text-align:end}:host .wheel-order-year-first .year-column{order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:flex;flex:1 1 auto;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px;position:absolute;visibility:hidden;pointer-events:none}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-readonly),:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled){opacity:0.4}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:flex;align-items:center}:host .calendar-action-buttons ion-item ion-icon{padding-left:4px;padding-right:0;padding-top:0;padding-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-action-buttons ion-item ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0}}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}:host .calendar-body{display:flex;flex-grow:1;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{scroll-snap-align:start;scroll-snap-stop:always;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr);height:100%}:host .calendar-day{padding-left:0px;padding-right:0px;padding-top:0px;padding-bottom:0px;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:0px;display:flex;position:relative;align-items:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;cursor:pointer;appearance:none;z-index:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day{padding-left:unset;padding-right:unset;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day{margin-left:unset;margin-right:unset;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px}}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}:host .calendar-day:after{border-radius:32px;padding-left:4px;padding-right:4px;padding-top:4px;padding-bottom:4px;position:absolute;top:50%;left:50%;width:32px;height:32px;transform:translate(-50%, -50%);content:" ";z-index:-1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day:after{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}:host .datetime-time{display:flex;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:flex;align-items:center}:host .time-body{border-radius:8px;padding-left:12px;padding-right:12px;padding-top:6px;padding-bottom:6px;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .time-body{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-step-100, #ffffff);--title-color:var(--ion-color-contrast)}:host .datetime-header{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-header{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}:host .datetime-header .datetime-title{font-size:12px;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:34px}:host .datetime-calendar .calendar-action-buttons ion-item{--padding-start:20px}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{color:var(--ion-color-step-650, #595959)}:host .calendar-days-of-week{padding-left:10px;padding-right:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, gray);font-size:14px;line-height:36px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-days-of-week{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}:host .calendar-body .calendar-month .calendar-month-grid{padding-left:10px;padding-right:10px;padding-top:3px;padding-bottom:0px;grid-template-rows:repeat(6, 1fr)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-body .calendar-month .calendar-month-grid{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}:host .calendar-day{padding-left:0px;padding-right:0;padding-top:13px;padding-bottom:13px;font-size:14px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day{padding-left:unset;padding-right:unset;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0;padding-inline-end:0}}:host .calendar-day:focus:after{background:rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-today:after{border:1px solid var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}:host .calendar-day.calendar-day-active:after{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-time{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host .time-header{color:var(--ion-color-step-650, #595959)}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{padding-left:10px;padding-right:10px;padding-top:10px;padding-bottom:10px;display:flex;align-items:center;justify-content:flex-end}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-buttons{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}:host .datetime-view-buttons ion-button{color:var(--ion-color-step-800, #333333)}'};export{st as ion_datetime}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,e}from"./p-ee1e0eb4.js";import{A as s}from"./p-99ee9919.js";const i=class{constructor(e){t(this,e),this.titleSuffix="",this.pageTitle=""}updateDocumentTitle(){const t=this.el;t.ownerDocument&&(t.ownerDocument.title=`${this.pageTitle}${this.titleSuffix||""}`)}componentWillLoad(){this.updateDocumentTitle()}get el(){return e(this)}static get watchers(){return{pageTitle:["updateDocumentTitle"]}}};s.injectProps(i,["titleSuffix"]);export{i as stencil_route_title}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as n,h as t}from"./p-ee1e0eb4.js";const l=class{constructor(t){n(this,t)}render(){return[null!=this.prev?t("stencil-route-link",{url:this.prev.url,anchorClass:"pull-left btn btn--secondary"},"Back"):null,null!=this.next?t("stencil-route-link",{url:this.next.url,anchorClass:"pull-right btn btn--primary"},"Next"):null]}};l.style="lower-content-nav{display:flex;justify-content:space-between}lower-content-nav>stencil-route-link{display:inline-block}";export{l as sparkle_lower_content_nav}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r,h as o,H as t}from"./p-ee1e0eb4.js";import{g as i}from"./p-871106e0.js";import{c as n}from"./p-0e4de1d0.js";const a=class{constructor(o){r(this,o),this.translucent=!1}render(){const r=i(this);return o(t,{class:n(this.color,{"card-header-translucent":this.translucent,"ion-inherit-color":!0,[r]:!0})},o("slot",null))}};a.style={ios:":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}@supports (backdrop-filter: blur(0)){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);backdrop-filter:saturate(180%) blur(30px)}}",md:":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}"};export{a as ion_card_header}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{h as t,r as s,H as e,e as i}from"./p-ee1e0eb4.js";import{t as a}from"./p-ff7a8a71.js";import{F as o,f as l}from"./p-39a31e43.js";import"./p-871106e0.js";import"./p-add30d46.js";import"./p-d68092b7.js";import"./p-b06e2bef.js";import"./p-2f569553.js";import"./p-bd90903e.js";import"./p-7dae0f0e.js";import"./p-5d409601.js";const r=()=>t("div",{class:"spinner-border",role:"status"}),n=class{constructor(t){s(this,t),this.formControls={noteText:{isValid:!0,value:"",errorMessage:"",validate:t=>(console.log(t),t&&t.length>0?{valid:!0,errorMessage:""}:{valid:!1,errorMessage:"Notes is required"})}},this.submitted=!1}componentDidLoad(){this.initialValues&&this.changeFormValue("noteText",this.initialValues.NoteText)}async onSubmit(t){t.preventDefault(),this.submitted=!0;let s=!0;for(let t in this.formControls){let e=this.formControls[t];e.isValid=e.validate(e.value).valid,e.errorMessage=e.validate(e.value).errorMessage,e.isValid||(s=!1)}if(s)if(this.initialValues&&this.initialValues.Id>0){let t=await o.getInstance().updateFacilitatorNote({NoteText:this.formControls.noteText.value,Id:this.initialValues.Id});t.Succeeded?((await a.create({message:"Notes updated successfully",duration:3e3})).present(),this.dismiss()):(await a.create({message:t.Message,duration:3e3})).present()}else{let t=await o.getInstance().addFacilitatorNote({NoteText:this.formControls.noteText.value});t.Succeeded?((await a.create({message:"Notes added successfully",duration:3e3})).present(),this.dismiss()):(await a.create({message:t.Message,duration:3e3})).present()}}dismiss(t){this.el.closest("ion-modal").dismiss({dismissed:!0})}changeFormValue(t,s){this.formControls=Object.assign(Object.assign({},this.formControls),{[t]:Object.assign(Object.assign({},this.formControls[t]),{value:s,isValid:this.formControls[t].validate(s).valid,errorMessage:this.formControls[t].validate(s).errorMessage})})}render(){const s=this.formControls.noteText.isValid?"is-valid":"is-invalid";return t(e,null,t("ion-header",{translucent:!0},t("ion-toolbar",null,t("ion-title",null,"Facilitator Note"),t("ion-buttons",{slot:"end"},t("ion-button",{onClick:()=>this.dismiss()},"Close")))),t("ion-content",{class:"ion-padding"},t("form",{onSubmit:t=>this.onSubmit(t),novalidate:!0},t("div",{class:"mb-3"},t("label",{htmlFor:"validationTextarea",class:"form-label"},"Notes"),t("textarea",{class:`form-control ${this.submitted&&s}`,placeholder:"Notes",value:this.formControls.noteText.value,onChange:t=>this.changeFormValue("noteText",t.target.value)}),this.formControls.noteText.errorMessage&&t("div",{class:"invalid-feedback"},this.formControls.noteText.errorMessage)),t("div",{class:"mb-3"},l.state.notesLoading&&t(r,null),t("button",{class:"btn btn-primary",type:"submit",disabled:l.state.notesLoading},"Submit")))))}get el(){return i(this)}};n.style=":host{display:block}";export{n as sparkle_facilitator_notes_form}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as s,h as t,c as i,e as a}from"./p-ee1e0eb4.js";const h=class{constructor(t){s(this,t)}componentDidLoad(){this.drawOnCompass(),window.addEventListener("resize",(()=>this.drawOnCompass()))}async drawOnCompass(){this.canvas=this.el.querySelector(".myCanvas"),this.canvase_container=this.el.querySelector("#container"),this.canvase_container.style.width="100%",this.canvas.width=this.canvase_container.offsetWidth,this.canvas.height=this.canvase_container.offsetWidth,this.canvas.style.width=this.canvase_container.offsetWidth+"px",this.canvas.style.height=this.canvase_container.offsetWidth+"px";var s=this.canvas.getContext("2d"),t=this.canvas.width/2,i=this.canvas.height/2;s.beginPath(),s.moveTo(t,i),s.fillStyle="rgba(96, 187,70, 0.5)";var a=this.getRadiusFromSection(this.resiliance);s.arc(t,i,a,0,Math.PI/4),s.fill(),s.beginPath(),s.moveTo(t,i),s.fillStyle="rgba(96, 187,70, 0.6)",a=this.getRadiusFromSection(this.care),s.arc(t,i,a,Math.PI/4,Math.PI/2),s.fill(),s.beginPath(),s.moveTo(t,i),s.fillStyle="rgba(44, 160,217, 0.5)",a=this.getRadiusFromSection(this.organization),s.arc(t,i,a,Math.PI/2,.75*Math.PI),s.fill(),s.beginPath(),s.moveTo(t,i),s.fillStyle="rgba(44, 160,217, 0.6)",a=this.getRadiusFromSection(this.school),s.arc(t,i,a,.75*Math.PI,Math.PI),s.fill(),s.beginPath(),s.moveTo(t,i),s.fillStyle="rgba(220, 24,98, 0.5)",a=this.getRadiusFromSection(this.relationship),s.arc(t,i,a,Math.PI,1.25*Math.PI),s.fill(),s.beginPath(),s.moveTo(t,i),s.fillStyle="rgba(220, 24,98, 0.6)",a=this.getRadiusFromSection(this.emotions),s.arc(t,i,a,1.25*Math.PI,1.5*Math.PI),s.fill(),s.beginPath(),s.moveTo(t,i),s.fillStyle="rgba(224,117,33, 0.5)",a=this.getRadiusFromSection(this.spirituality),s.arc(t,i,a,1.5*Math.PI,1.75*Math.PI),s.fill(),s.beginPath(),s.moveTo(t,i),s.fillStyle="rgba(224,117,33, 0.6)",a=this.getRadiusFromSection(this.rest),s.arc(t,i,a,1.75*Math.PI,2*Math.PI),s.fill()}getRadiusFromSection(s){var t=.09*this.canvas.width,i=.028*this.canvas.width;return 0==s?0:1==s?t:s>5?t+(s-1)*i+1:t+(s-1)*i}render(){return t("div",{id:"container"},t("img",{id:"compassImage",class:"src-image",src:i("../assets/img/compass.png")}),t("canvas",{class:"myCanvas"},"Your browser does not support the HTML5 canvas tag."),t("img",{id:"compassOverImage",src:i("../assets/img/compass-over.png")}))}get el(){return a(this)}};h.style="#compassImage{position:absolute;z-index:1;width:100%}#compassOverImage{position:absolute;z-index:30;top:11.6%;left:11.8%;width:76.5%;height:76.5%}.myCanvas{position:relative;z-index:20}#container{display:inline-block;margin:0 auto;position:relative}";export{h as sparkle_compass}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import{w as e,r,i,j as s,h as t,e as n,H as o}from"./p-ee1e0eb4.js";import{a as h,g as a}from"./p-871106e0.js";import{g as f}from"./p-4d4077ea.js";import{I as l,p as c,b as p,g}from"./p-bd80ff43.js";import{t as d,c as m,m as u,g as x,l as v}from"./p-d68092b7.js";import{h as y}from"./p-604a7987.js";import{c as b}from"./p-48f72e63.js";import"./p-a208ab2d.js";
|
2
|
+
/*!
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
4
|
+
*/const w=e=>{const r=e.querySelector("ion-spinner"),i=r.shadowRoot.querySelector("circle"),s=e.querySelector(".spinner-arrow-container"),t=e.querySelector(".arrow-container"),n=t?t.querySelector("ion-icon"):null,o=b().duration(1e3).easing("ease-out"),h=b().addElement(s).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),a=b().addElement(i).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),f=b().addElement(r).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(t&&n){const e=b().addElement(t).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),r=b().addElement(n).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);o.addAnimation([e,r])}return o.addAnimation([h,a,f])},k=(r,i,s=200)=>{if(!r)return Promise.resolve();const t=d(r,s);return e((()=>{r.style.setProperty("transition",`${s}ms all ease-out`),void 0===i?r.style.removeProperty("transform"):r.style.setProperty("transform",`translate3d(0px, ${i}, 0px)`)})),t},j=async(e,r)=>{const i=e.querySelector("ion-refresher-content");if(!i)return Promise.resolve(!1);await new Promise((e=>m(i,e)));const s=e.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),t=e.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");return null!==s&&null!==t&&("ios"===r&&h("mobile")&&void 0!==e.style.webkitOverflowScrolling||"md"===r)},N=class{constructor(e){r(this,e),this.ionRefresh=i(this,"ionRefresh",7),this.ionPull=i(this,"ionPull",7),this.ionStart=i(this,"ionStart",7),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.lastVelocityY=0,this.animations=[],this.nativeRefresher=!1,this.state=1,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration="280ms",this.snapbackDuration="280ms",this.pullFactor=1,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}async checkNativeRefresher(){const e=await j(this.el,a(this));if(e&&!this.nativeRefresher){const e=this.el.closest("ion-content");this.setupNativeRefresher(e)}else e||this.destroyNativeRefresher()}destroyNativeRefresher(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}async resetNativeRefresher(e,r){this.state=r,"ios"===a(this)?await k(e,void 0,300):await d(this.el.querySelector(".refresher-refreshing-icon"),200),this.didRefresh=!1,this.needsCompletion=!1,this.pointerDown=!1,this.animations.forEach((e=>e.destroy())),this.animations=[],this.progress=0,this.state=1}async setupiOSNativeRefresher(r,i){this.elementToTransform=this.scrollEl;const t=r.shadowRoot.querySelectorAll("svg");let n=.16*this.scrollEl.clientHeight;const o=t.length;e((()=>t.forEach((e=>e.style.setProperty("animation","none"))))),this.scrollListenerCallback=()=>{(this.pointerDown||1!==this.state)&&s((()=>{const r=this.scrollEl.scrollTop,s=this.el.clientHeight;if(r>0){if(8===this.state){const t=u(0,r/(.5*s),1);return void e((()=>{i.style.setProperty("opacity",(1-t).toString())}))}return}this.pointerDown&&(this.didStart||(this.didStart=!0,this.ionStart.emit()),this.pointerDown&&this.ionPull.emit());const h=this.didStart?30:0,a=this.progress=u(0,(Math.abs(r)-h)/n,1);var f,l;8===this.state||1===a?(this.pointerDown&&(f=i,l=this.lastVelocityY,e((()=>{f.style.setProperty("--refreshing-rotation-duration",l>=1?"0.5s":"2s"),f.style.setProperty("opacity","1")}))),this.didRefresh||(this.beginRefresh(),this.didRefresh=!0,y({style:"light"}),this.pointerDown||k(this.elementToTransform,`${s}px`))):(this.state=2,((r,i,s)=>{e((()=>{r.forEach(((e,r)=>{const t=r*(1/i),n=u(0,(s-t)/(1-t),1);e.style.setProperty("opacity",n.toString())}))}))})(t,o,a))}))},this.scrollEl.addEventListener("scroll",this.scrollListenerCallback),this.gesture=(await import("./p-e9431eeb.js")).createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:()=>{this.pointerDown=!0,this.didRefresh||k(this.elementToTransform,"0px"),0===n&&(n=.16*this.scrollEl.clientHeight)},onMove:e=>{this.lastVelocityY=e.velocityY},onEnd:()=>{this.pointerDown=!1,this.didStart=!1,this.needsCompletion?(this.resetNativeRefresher(this.elementToTransform,32),this.needsCompletion=!1):this.didRefresh&&s((()=>k(this.elementToTransform,`${this.el.clientHeight}px`)))}}),this.disabledChanged()}async setupMDNativeRefresher(r,i,s){const t=x(i).querySelector("circle"),n=this.el.querySelector("ion-refresher-content .refresher-pulling-icon"),o=x(s).querySelector("circle");null!==t&&null!==o&&e((()=>{t.style.setProperty("animation","none"),s.style.setProperty("animation-delay","-655ms"),o.style.setProperty("animation-delay","-655ms")})),this.gesture=(await import("./p-e9431eeb.js")).createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,canStart:()=>8!==this.state&&32!==this.state&&0===this.scrollEl.scrollTop,onStart:e=>{this.progress=0,e.data={animation:void 0,didStart:!1,cancelled:!1}},onMove:i=>{if(i.velocityY<0&&0===this.progress&&!i.data.didStart||i.data.cancelled)i.data.cancelled=!0;else{if(!i.data.didStart){i.data.didStart=!0,this.state=2,e((()=>this.scrollEl.style.setProperty("--overflow","hidden")));const s=((e,r,i)=>"scale"===e?((e,r)=>{const i=r.clientHeight,s=b().addElement(e).keyframes([{offset:0,transform:`scale(0) translateY(-${i}px)`},{offset:1,transform:"scale(1) translateY(100px)"}]);return w(e).addAnimation([s])})(r,i):((e,r)=>{const i=r.clientHeight,s=b().addElement(e).keyframes([{offset:0,transform:`translateY(-${i}px)`},{offset:1,transform:"translateY(100px)"}]);return w(e).addAnimation([s])})(r,i))((e=>{const r=e.previousElementSibling;return null!==r&&"ION-HEADER"===r.tagName?"translate":"scale"})(r),n,this.el);return i.data.animation=s,s.progressStart(!1,0),this.ionStart.emit(),void this.animations.push(s)}this.progress=u(0,i.deltaY/180*.5,1),i.data.animation.progressStep(this.progress),this.ionPull.emit()}},onEnd:r=>{if(!r.data.didStart)return;if(this.gesture.enable(!1),e((()=>this.scrollEl.style.removeProperty("--overflow"))),this.progress<=.4)return void r.data.animation.progressEnd(0,this.progress,500).onFinish((()=>{this.animations.forEach((e=>e.destroy())),this.animations=[],this.gesture.enable(!0),this.state=1}));const i=f([0,0],[0,0],[1,1],[1,1],this.progress)[0],s=(e=>b().duration(125).addElement(e).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)"))(n);this.animations.push(s),e((async()=>{n.style.setProperty("--ion-pulling-refresher-translate",100*i+"px"),r.data.animation.progressEnd(),await s.play(),this.beginRefresh(),r.data.animation.destroy(),this.gesture.enable(!0)}))}}),this.disabledChanged()}async setupNativeRefresher(e){if(this.scrollListenerCallback||!e||this.nativeRefresher||!this.scrollEl)return;this.setCss(0,"",!1,""),this.nativeRefresher=!0;const r=this.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),i=this.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");"ios"===a(this)?this.setupiOSNativeRefresher(r,i):this.setupMDNativeRefresher(e,r,i)}componentDidUpdate(){this.checkNativeRefresher()}async connectedCallback(){if("fixed"!==this.el.getAttribute("slot"))return void console.error('Make sure you use: <ion-refresher slot="fixed">');const e=this.el.closest(l);if(!e)return void c(this.el);const r=e.querySelector(p);this.scrollEl=await g(null!=r?r:e),this.backgroundContentEl=x(null!=e?e:r).querySelector("#background-content"),await j(this.el,a(this))?this.setupNativeRefresher(e):(this.gesture=(await import("./p-e9431eeb.js")).createGesture({el:e,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:()=>this.canStart(),onStart:()=>this.onStart(),onMove:e=>this.onMove(e),onEnd:()=>this.onEnd()}),this.disabledChanged())}disconnectedCallback(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async complete(){this.nativeRefresher?(this.needsCompletion=!0,this.pointerDown||v((()=>v((()=>this.resetNativeRefresher(this.elementToTransform,32)))))):this.close(32,"120ms")}async cancel(){this.nativeRefresher?this.pointerDown||v((()=>v((()=>this.resetNativeRefresher(this.elementToTransform,16))))):this.close(16,"")}getProgress(){return Promise.resolve(this.progress)}canStart(){return!(!this.scrollEl||1!==this.state||this.scrollEl.scrollTop>0)}onStart(){this.progress=0,this.state=1}onMove(e){if(!this.scrollEl)return;const r=e.event;if(r.touches&&r.touches.length>1)return;if(0!=(56&this.state))return;const i=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,s=e.deltaY*i;if(s<=0)return this.progress=0,this.state=1,this.appliedStyles?void this.setCss(0,"",!1,""):void 0;if(1===this.state){if(this.scrollEl.scrollTop>0)return void(this.progress=0);this.state=2}if(r.cancelable&&r.preventDefault(),this.setCss(s,"0ms",!0,""),0===s)return void(this.progress=0);const t=this.pullMin;this.progress=s/t,this.didStart||(this.didStart=!0,this.ionStart.emit()),this.ionPull.emit(),s<t?this.state=2:s>this.pullMax?this.beginRefresh():this.state=4}onEnd(){4===this.state?this.beginRefresh():2===this.state&&this.cancel()}beginRefresh(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,""),this.ionRefresh.emit({complete:this.complete.bind(this)})}close(e,r){setTimeout((()=>{this.state=1,this.progress=0,this.didStart=!1,this.setCss(0,"0ms",!1,"")}),600),this.state=e,this.setCss(0,this.closeDuration,!0,r)}setCss(r,i,s,t){this.nativeRefresher||(this.appliedStyles=r>0,e((()=>{if(this.scrollEl&&this.backgroundContentEl){const e=this.scrollEl.style,n=this.backgroundContentEl.style;e.transform=n.transform=r>0?`translateY(${r}px) translateZ(0px)`:"",e.transitionDuration=n.transitionDuration=i,e.transitionDelay=n.transitionDelay=t,e.overflow=s?"hidden":""}})))}render(){const e=a(this);return t(o,{slot:"fixed",class:{[e]:!0,[`refresher-${e}`]:!0,"refresher-native":this.nativeRefresher,"refresher-active":1!==this.state,"refresher-pulling":2===this.state,"refresher-ready":4===this.state,"refresher-refreshing":8===this.state,"refresher-cancelling":16===this.state,"refresher-completing":32===this.state}})}get el(){return n(this)}static get watchers(){return{disabled:["disabledChanged"]}}};N.style={ios:"ion-refresher{left:0;top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}[dir=rtl] ion-refresher,:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:flex;flex-direction:column;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{transform-origin:center;transition:200ms;font-size:30px;text-align:center}[dir=rtl] .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{transform-origin:calc(100% - center)}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-refresher.refresher-native ion-spinner{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, #747577)}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{transform:scale(0) rotate(180deg);transition:300ms}@keyframes refresher-pop{0%{transform:scale(1);animation-timing-function:ease-in}50%{transform:scale(1.2);animation-timing-function:ease-out}100%{transform:scale(1)}}@keyframes refresher-rotate{from{transform:rotate(0deg)}to{transform:rotate(180deg)}}",md:"ion-refresher{left:0;top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}[dir=rtl] ion-refresher,:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:flex;flex-direction:column;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{transform-origin:center;transition:200ms;font-size:30px;text-align:center}[dir=rtl] .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{transform-origin:calc(100% - center)}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #3880ff)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-refresher.refresher-native ion-spinner{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #3880ff);font-size:12px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-refresher.refresher-native .arrow-container ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:flex}ion-refresher.refresher-native .refresher-pulling-icon{transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;border-radius:100%;padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;display:flex;border:1px solid var(--ion-color-step-200, #ececec);background:var(--ion-color-step-250, #ffffff);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}"};export{N as ion_refresher}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{H as a}from"./p-b06e2bef.js";import{d as e}from"./p-2f569553.js";const{state:t,onChange:s}=e({pageNotes:[],allPageNotes:[],onlineStudents:[],dashboardData:null,isConnected:!1,loading:!1,dashboardDataLoading:!1,notesLoading:!1,classes:[],classesLoading:!1}),o={state:t,onChange:s};class r{constructor(){}static getInstance(){return r.instance||(r.instance=new r),r.instance}async fetchClasses(){o.state.classesLoading=!0;let e=await a.http.get("api/v1/Teacher/Classes");return e&&(o.state.classes=e.Data,o.state.classesLoading=!1),e}async fetchDashboardData(e){o.state.dashboardDataLoading=!0;let t=await a.http.get(`api/v1/Teacher/Dashboard/${e.ClassId}`);return t&&(o.state.dashboardData=t.Data,o.state.dashboardDataLoading=!1),t}async fetchNotes(e){o.state.notesLoading=!0;let t=await a.http.get(`api/v1/Teacher/Notes/${e.showAllNotes}`);return t&&(e.showAllNotes?o.state.allPageNotes=t.Data:o.state.pageNotes=t.Data,o.state.notesLoading=!1),t}async addFacilitatorNote(e){o.state.notesLoading=!0;let t=await a.http.post("api/v1/Teacher/Notes",e);return t&&(o.state.pageNotes=[...o.state.pageNotes,t.Data]),o.state.notesLoading=!1,t}async updateFacilitatorNote(e){o.state.notesLoading=!0;let t=await a.http.put(`api/v1/Teacher/Notes/${e.Id}`,e);return t&&(o.state.pageNotes=o.state.pageNotes.map((a=>a.Id==t.Data.Id?t.Data:a))),o.state.notesLoading=!1,t}async deleteFacilitatorNote(e){o.state.notesLoading=!0;let t=await a.http.delete(`api/v1/Teacher/Notes/${e}`);return t&&(o.state.pageNotes=o.state.pageNotes.filter((a=>a.Id!=e))),o.state.notesLoading=!1,t}}export{r as F,o as f}
|