@sparkle-learning/core 0.0.52 → 0.0.54
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-074c584e.js → PrivateRoute-e2047db2.js} +18 -30
- package/dist/cjs/{feed.service-b4f09441.js → appdata.service-d28cf2d6.js} +4 -56
- package/dist/cjs/{assets.service-0c759d51.js → assets.service-bfa75092.js} +1 -1
- package/dist/cjs/{environment-config.service-0e02b049.js → environment-config.service-c8ff1f3d.js} +0 -1
- package/dist/cjs/{facilitator.service-9e990274.js → facilitator.service-0b9f6ac7.js} +1 -1
- package/dist/cjs/feed.service-6df9382f.js +57 -0
- package/dist/cjs/header-mobile-collapse_61.cjs.entry.js +289 -3279
- package/dist/cjs/{httpService-7211d93b.js → httpService-d8a5b474.js} +13 -11
- package/dist/cjs/index.cjs.js +5 -4
- package/dist/cjs/{ion-select_2.cjs.entry.js → ion-select_3.cjs.entry.js} +127 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/media.service-2bc73d37.js +40 -0
- package/dist/cjs/signalR.service-0d5da1d3.js +2985 -0
- package/dist/cjs/sparkle-animation-player.cjs.entry.js +2 -1
- package/dist/cjs/sparkle-assignment.cjs.entry.js +25 -0
- package/dist/cjs/sparkle-character-intro.cjs.entry.js +2 -2
- package/dist/cjs/sparkle-core.cjs.js +1 -1
- 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-facilitator-notes-form.cjs.entry.js +5 -3
- package/dist/cjs/sparkle-feedback.cjs.entry.js +5 -3
- package/dist/cjs/sparkle-goal-form.cjs.entry.js +11 -8
- package/dist/cjs/sparkle-quiz-container.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz-old.cjs.entry.js +120 -0
- package/dist/cjs/sparkle-quiz.cjs.entry.js +31 -48
- package/dist/cjs/{student.service-2e58f237.js → student.service-d8ec2551.js} +1 -1
- package/dist/cjs/token.service-bfb0089b.js +86 -0
- package/dist/cjs/{util-d383acb8.js → util-47e320b2.js} +2 -2
- package/dist/collection/PrivateRoute.js +2 -2
- package/dist/collection/collection-manifest.json +6 -2
- package/dist/collection/components/layout/facilitator/facilitator-page.js +2 -3
- package/dist/collection/components/layout/page/page.css +4 -0
- package/dist/collection/components/layout/page/page.js +39 -26
- package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +1 -0
- package/dist/collection/components/sparkle-assignment/sparkle-assignment.css +3 -0
- package/dist/collection/components/sparkle-assignment/sparkle-assignment.js +25 -0
- package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.css +8 -1
- package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.js +10 -6
- package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +12 -1
- 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-feed-post/sparkle-feed-post.js +54 -67
- package/dist/collection/components/sparkle-login/sparkle-login.js +2 -1
- package/dist/collection/components/sparkle-quiz/{sparkle-quiz/sparkle-quiz.css → sparkle-quiz-old/sparkle-quiz-old.css} +1 -1
- package/dist/collection/components/sparkle-quiz/{sparkle-quiz/sparkle-quiz.js → sparkle-quiz-old/sparkle-quiz-old.js} +4 -4
- package/dist/collection/components/sparkle-quiz/{sparkle-quiz-v1.js → sparkle-quiz.js} +23 -25
- package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.js +1 -1
- package/dist/collection/components/sparkle-root/sparkle-root.js +12 -10
- package/dist/collection/services/assignment.service.js +14 -0
- package/dist/collection/services/auth/auth.service.js +15 -14
- package/dist/collection/services/environment/environment-config.js +1 -1
- package/dist/collection/services/environment/environment-config.service.js +0 -1
- package/dist/collection/services/httpService.js +12 -10
- package/dist/collection/services/signalR.service.js +17 -19
- package/dist/collection/services/token.service.js +68 -0
- package/dist/collection/util.js +5 -2
- package/dist/esm/{PrivateRoute-c5441f35.js → PrivateRoute-c6e80d5d.js} +17 -29
- package/dist/esm/{feed.service-8fbe4ce3.js → appdata.service-d1058e00.js} +5 -55
- package/dist/esm/{assets.service-66e848b8.js → assets.service-def1d63c.js} +1 -1
- package/dist/esm/{environment-config.service-2b5d692b.js → environment-config.service-b191f276.js} +0 -1
- package/dist/esm/{facilitator.service-b0292f7f.js → facilitator.service-53e05a01.js} +1 -1
- package/dist/esm/feed.service-8385ad7a.js +54 -0
- package/dist/esm/header-mobile-collapse_61.entry.js +278 -3268
- package/dist/esm/{httpService-7b75b095.js → httpService-db476835.js} +13 -11
- package/dist/esm/index.js +5 -4
- package/dist/esm/{ion-select_2.entry.js → ion-select_3.entry.js} +127 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/media.service-b68cbfff.js +37 -0
- package/dist/esm/signalR.service-4a2d5a92.js +2982 -0
- package/dist/esm/sparkle-animation-player.entry.js +2 -1
- package/dist/esm/sparkle-assignment.entry.js +21 -0
- package/dist/esm/sparkle-character-intro.entry.js +3 -3
- package/dist/esm/sparkle-core.js +1 -1
- package/dist/esm/sparkle-discussion-questions_2.entry.js +276 -0
- package/dist/esm/sparkle-discussion.entry.js +38 -0
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +5 -3
- package/dist/esm/sparkle-feedback.entry.js +5 -3
- package/dist/esm/sparkle-goal-form.entry.js +8 -5
- package/dist/esm/sparkle-quiz-container.entry.js +1 -1
- package/dist/esm/sparkle-quiz-old.entry.js +116 -0
- package/dist/esm/sparkle-quiz.entry.js +31 -48
- package/dist/esm/{student.service-0746418b.js → student.service-6457aaa0.js} +1 -1
- package/dist/esm/token.service-20f1a256.js +83 -0
- package/dist/esm/{util-6ef753e9.js → util-57cc8006.js} +2 -2
- package/dist/sparkle-core/index.esm.js +1 -1
- package/dist/sparkle-core/p-11ac00b0.js +1 -0
- package/dist/sparkle-core/p-13ec39db.entry.js +1 -0
- package/dist/sparkle-core/{p-5efc6566.js → p-17b6b07e.js} +1 -1
- package/dist/sparkle-core/p-33a7151d.entry.js +1 -0
- package/dist/sparkle-core/{p-fbccd30c.js → p-38f707fb.js} +1 -1
- package/dist/sparkle-core/p-38fa5987.js +1 -0
- package/dist/sparkle-core/{p-9a443f51.js → p-408176ba.js} +1 -1
- package/dist/sparkle-core/p-630a4fa0.js +1 -0
- package/dist/sparkle-core/{p-0335c863.entry.js → p-6a1fc0af.entry.js} +26 -26
- package/dist/sparkle-core/p-6fab3a4b.js +1 -0
- package/dist/sparkle-core/p-71720d6e.entry.js +1 -0
- package/dist/sparkle-core/{p-162bff1a.entry.js → p-72053ae0.entry.js} +1 -1
- package/dist/sparkle-core/p-85d4cd5c.entry.js +1 -0
- package/dist/sparkle-core/p-967a2ed7.js +1 -0
- package/dist/sparkle-core/{p-ff0e0d4e.entry.js → p-98daeddb.entry.js} +1 -1
- package/dist/sparkle-core/p-98f7780c.entry.js +1 -0
- package/dist/sparkle-core/p-bd90903e.js +1 -0
- package/dist/sparkle-core/{p-a49ab4e8.entry.js → p-c64a34cd.entry.js} +1 -1
- package/dist/sparkle-core/{p-564e64fc.entry.js → p-ca907214.entry.js} +2 -2
- package/dist/sparkle-core/p-d51f30ca.js +1 -0
- package/dist/sparkle-core/p-dcff298d.entry.js +1 -0
- package/dist/sparkle-core/p-e50c8b04.entry.js +1 -0
- package/dist/sparkle-core/p-ed9de327.js +1 -0
- package/dist/sparkle-core/p-f891c79a.entry.js +1 -0
- package/dist/sparkle-core/sparkle-core.esm.js +1 -1
- package/dist/types/components/layout/page/page.d.ts +2 -0
- package/dist/types/components/sparkle-assignment/sparkle-assignment.d.ts +6 -0
- package/dist/types/components/sparkle-course-root/sparkle-course-root.d.ts +1 -0
- package/dist/types/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.d.ts +28 -0
- package/dist/types/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.d.ts +45 -0
- package/dist/types/components/sparkle-discussion/sparkle-discussion.d.ts +11 -0
- package/dist/types/components/sparkle-feed-post/sparkle-feed-post.d.ts +3 -2
- package/dist/types/components/sparkle-quiz/{sparkle-quiz/sparkle-quiz.d.ts → sparkle-quiz-old/sparkle-quiz-old.d.ts} +1 -1
- package/dist/types/components/sparkle-quiz/sparkle-quiz.d.ts +36 -36
- package/dist/types/components.d.ts +115 -37
- package/dist/types/models/class.model.d.ts +4 -0
- package/dist/types/services/assignment.service.d.ts +8 -0
- package/dist/types/services/auth/auth.service.d.ts +1 -1
- package/dist/types/services/environment/environment-config.d.ts +3 -0
- package/dist/types/services/token.service.d.ts +12 -0
- package/dist/types/util.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/sparkle-feed-post.cjs.entry.js +0 -124
- package/dist/cjs/sparkle-quiz-v1.cjs.entry.js +0 -105
- package/dist/esm/sparkle-feed-post.entry.js +0 -120
- package/dist/esm/sparkle-quiz-v1.entry.js +0 -101
- package/dist/sparkle-core/p-15403881.entry.js +0 -1
- package/dist/sparkle-core/p-1d4c7c11.js +0 -1
- package/dist/sparkle-core/p-370609ba.entry.js +0 -1
- package/dist/sparkle-core/p-41a9ece7.entry.js +0 -1
- package/dist/sparkle-core/p-462bffba.js +0 -1
- package/dist/sparkle-core/p-58e4bbe5.entry.js +0 -1
- package/dist/sparkle-core/p-600cf6a3.js +0 -1
- package/dist/sparkle-core/p-80d6b0e6.entry.js +0 -1
- package/dist/sparkle-core/p-af3cc111.entry.js +0 -1
- package/dist/sparkle-core/p-b226f54d.js +0 -1
- package/dist/types/components/sparkle-quiz/sparkle-quiz-v1.d.ts +0 -41
- /package/dist/collection/components/sparkle-quiz/{sparkle-quiz-v1.css → sparkle-quiz.css} +0 -0
- /package/dist/sparkle-core/{p-935e7cfc.js → p-8b56f734.js} +0 -0
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-51e8292e.js');
|
6
6
|
const localstorage_service = require('./localstorage.service-6346a41d.js');
|
7
|
-
const util = require('./util-
|
7
|
+
const util = require('./util-47e320b2.js');
|
8
8
|
|
9
9
|
//https://github.com/bazh/subtitles-parser/blob/master/index.js
|
10
10
|
class CaptionParser {
|
@@ -384,6 +384,7 @@ const SparkleAnimationPlayer = class {
|
|
384
384
|
this.captionText = this.captionData[Math.floor(this.timeline.position / this.library.properties.fps)];
|
385
385
|
}
|
386
386
|
if (this.timeline.position % 10 == 0) {
|
387
|
+
console.log(this.timeline.duration - 10, this.timeline.position);
|
387
388
|
if (this.timeline.position > (this.timeline.duration - 10)) {
|
388
389
|
this.animationCompleted();
|
389
390
|
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-51e8292e.js');
|
6
|
+
|
7
|
+
const sparkleAssignmentCss = ":host{display:block}";
|
8
|
+
|
9
|
+
const SparkleAssignment = class {
|
10
|
+
constructor(hostRef) {
|
11
|
+
index.registerInstance(this, hostRef);
|
12
|
+
this.submitted = true;
|
13
|
+
}
|
14
|
+
async onSubmit(e) {
|
15
|
+
e.preventDefault();
|
16
|
+
this.submitted = true;
|
17
|
+
}
|
18
|
+
render() {
|
19
|
+
return index.h(index.Host, null, "Assignment");
|
20
|
+
}
|
21
|
+
get el() { return index.getElement(this); }
|
22
|
+
};
|
23
|
+
SparkleAssignment.style = sparkleAssignmentCss;
|
24
|
+
|
25
|
+
exports.sparkle_assignment = SparkleAssignment;
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-51e8292e.js');
|
6
6
|
|
7
|
-
const sparkleCharacterIntroCss = "sparkle-character-intro{--sparkle-character-background-color:#e7e7e7}sparkle-character-intro .character-phrase-block{display:flex;width:100%;min-height:200px;align-items:center;padding:20px}sparkle-character-intro .character-phrase-block.right{justify-content:flex-end}sparkle-character-intro .character-phrase-block.left{justify-content:flex-start}sparkle-character-intro .character-phrase-block.left .character-box{order:2}sparkle-character-intro .character-phrase-block.left .character-image-block{order:1}sparkle-character-intro .character-box{
|
7
|
+
const sparkleCharacterIntroCss = "sparkle-character-intro{--sparkle-character-background-color:#e7e7e7}sparkle-character-intro .character-phrase-block{display:flex;width:100%;min-height:200px;align-items:center;padding:20px}sparkle-character-intro.shift-up .character-phrase-block{padding-top:0px !important}sparkle-character-intro.shift-up-overlap .character-phrase-block{padding-top:0px !important;margin-top:-50px !important}sparkle-character-intro .character-phrase-block.right{justify-content:flex-end}sparkle-character-intro .character-phrase-block.left{justify-content:flex-start}sparkle-character-intro .character-phrase-block.left .character-box{order:2}sparkle-character-intro .character-phrase-block.left .character-image-block{order:1}sparkle-character-intro .character-box{width:80%;border-radius:15px;background:var(--sparkle-character-background-color);color:var(--text-color);padding:20px;text-align:center;position:relative;box-shadow:0px 1px 3px rgba(2, 8, 20, 0.06), 0px 1px 2px rgba(2, 8, 20, 0.04)}sparkle-character-intro .character-box.right:before{content:\"\";width:0px;height:0px;position:absolute;border-left:15px solid var(--sparkle-character-background-color);border-right:15px solid transparent;border-top:15px solid var(--sparkle-character-background-color);border-bottom:15px solid transparent;right:-16px;top:0px}sparkle-character-intro .character-box.left:before{content:\"\";width:0px;height:0px;position:absolute;border-left:15px solid transparent;border-right:15px solid var(--sparkle-character-background-color);border-top:15px solid var(--sparkle-character-background-color);border-bottom:15px solid transparent;left:-16px;top:0px}sparkle-character-intro img{max-width:100%;border:0}sparkle-character-intro .character-image-block{float:left;width:20%}sparkle-character-intro .character-image-block.right{transform:rotateY(180deg)}";
|
8
8
|
|
9
9
|
const SparkleCharacterIntro = class {
|
10
10
|
constructor(hostRef) {
|
@@ -16,7 +16,7 @@ const SparkleCharacterIntro = class {
|
|
16
16
|
console.log(this.character);
|
17
17
|
}
|
18
18
|
render() {
|
19
|
-
return (index.h("div", { class: `character-phrase-block ${this.position}` }, index.h("div", { class: `character-box ${this.position}` }, index.h("slot", null)), index.h("div", { class: `character-image-block ${this.position}` }, index.h("img", { class: "image-animation", src: index.getAssetPath('./assets/characters/' + this.character + '.png') }))));
|
19
|
+
return (index.h(index.Host, null, index.h("div", { class: `character-phrase-block ${this.position}` }, index.h("div", { class: `character-box ${this.position}` }, index.h("slot", null)), index.h("div", { class: `character-image-block ${this.position}` }, index.h("img", { class: "image-animation", src: index.getAssetPath('./assets/characters/' + this.character + '.png') })))));
|
20
20
|
}
|
21
21
|
static get assetsDirs() { return ["assets"]; }
|
22
22
|
get el() { return index.getElement(this); }
|
@@ -18,5 +18,5 @@ const patchBrowser = () => {
|
|
18
18
|
|
19
19
|
patchBrowser().then(options => {
|
20
20
|
appGlobals.globalScripts();
|
21
|
-
return index.bootstrapLazy(JSON.parse("[[\"sparkle-goal-form.cjs\",[[0,\"sparkle-goal-form\",{\"appData\":[16],\"name\":[32],\"description\":[32],\"category\":[32],\"progress\":[32],\"public\":[32],\"goalUpdateText\":[32],\"submitted\":[32]}]]],[\"sparkle-feedback.cjs\",[[0,\"sparkle-feedback\",{\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-feed-post.cjs\",[[4,\"sparkle-feed-post\",{\"assignmentName\":[1025,\"assignment-name\"],\"textValue\":[1,\"text-value\"],\"postText\":[32],\"errorMessage\":[32],\"uploadedImage\":[32],\"successMessage\":[32],\"externalResourceUrl\":[32],\"uploadImageLoading\":[32],\"setText\":[64]}]]],[\"sparkle-quiz-container.cjs\",[[0,\"sparkle-quiz-container\",{\"questionIds\":[1,\"question-ids\"],\"showInstantResult\":[4,\"show-instant-result\"],\"submitted\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"],[16,\"quizAnswerChanged\",\"updateQuizAnswerModelHandler\"]]]]],[\"ion-datetime.cjs\",[[33,\"ion-datetime\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"isDateEnabled\":[16],\"min\":[1025],\"max\":[1025],\"presentation\":[1],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"clearText\":[1,\"clear-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"locale\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"multiple\":[4],\"value\":[1025],\"showDefaultTitle\":[4,\"show-default-title\"],\"showDefaultButtons\":[4,\"show-default-buttons\"],\"showClearButton\":[4,\"show-clear-button\"],\"showDefaultTimeLabel\":[4,\"show-default-time-label\"],\"hourCycle\":[1,\"hour-cycle\"],\"size\":[1],\"preferWheel\":[4,\"prefer-wheel\"],\"showMonthAndYear\":[32],\"activeParts\":[32],\"workingParts\":[32],\"isPresented\":[32],\"isTimePopoverOpen\":[32],\"confirm\":[64],\"reset\":[64],\"cancel\":[64]}]]],[\"sparkle-gww-comment-list.cjs\",[[0,\"sparkle-gww-comment-list\",{\"comments\":[16]}]]],[\"sparkle-quiz-v1.cjs\",[[0,\"sparkle-quiz-v1\",{\"questionId\":[2,\"question-id\"],\"submitted\":[4],\"correct\":[4],\"showInstantResult\":[4,\"show-instant-result\"],\"question\":[32],\"quizData\":[32]},[[0,\"quizInputChange\",\"quizInputChangeHandler\"],[0,\"quizFeedbackChange\",\"quizFeedbackChangeHandler\"],[0,\"quizSelectChange\",\"quizSelectChangeHandler\"],[0,\"quizOpinionChange\",\"quizOpinionChangeHandler\"]]]]],[\"sparkle-compass-post.cjs\",[[0,\"sparkle-compass-post\",{\"errorMessage\":[32],\"successMessage\":[32],\"resiliance\":[32],\"care\":[32],\"compassData\":[32],\"renderCompass\":[64]}]]],[\"sparkle-animation-player.cjs\",[[0,\"sparkle-animation-player\",{\"src\":[1],\"composition\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"showCaption\":[32],\"paused\":[32],\"sizeOfCanvas\":[32],\"sizeofProgressBar\":[32],\"dataLoaded\":[32],\"currentProgressWidth\":[32],\"captionText\":[32],\"showFirstFrame\":[32],\"isBusy\":[32],\"playAnimation\":[64],\"pauseAnimation\":[64],\"classRoomModeChanged\":[64],\"destroyAnimation\":[64]},[[0,\"ionChange\",\"closedCaptionChange\"],[16,\"classRoomModeChanged\",\"onClassRoomModeChanged\"]]]]],[\"sparkle-facilitator-notes-form.cjs\",[[0,\"sparkle-facilitator-notes-form\",{\"initialValues\":[16],\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-sidebar.cjs\",[[4,\"sparkle-sidebar\",{\"position\":[1],\"size\":[1],\"headerText\":[1,\"header-text\"],\"isShowing\":[32],\"hide\":[64],\"show\":[64]}]]],[\"course-select.cjs\",[[0,\"course-select\",{\"toggleClickFn\":[16]}]]],[\"ion-fab-button.cjs\",[[33,\"ion-fab-button\",{\"color\":[513],\"activated\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1],\"show\":[4],\"translucent\":[4],\"type\":[1],\"size\":[1],\"closeIcon\":[1,\"close-icon\"]}]]],[\"ion-loading.cjs\",[[34,\"ion-loading\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"message\":[1],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"spinner\":[1025],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button.cjs\",[[33,\"ion-menu-button\",{\"color\":[513],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker.cjs\",[[34,\"ion-picker\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"columns\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"showBackdrop\":[4,\"show-backdrop\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"animated\":[4],\"htmlAttributes\":[16],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content.cjs\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast.cjs\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[513],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"header\":[1],\"message\":[1],\"keyboardClose\":[4,\"keyboard-close\"],\"position\":[1],\"buttons\":[16],\"translucent\":[4],\"animated\":[4],\"icon\":[1],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-accordion.cjs\",[[49,\"ion-accordion\",{\"value\":[1],\"disabled\":[4],\"readonly\":[4],\"toggleIcon\":[1,\"toggle-icon\"],\"toggleIconSlot\":[1,\"toggle-icon-slot\"],\"state\":[32],\"isNext\":[32],\"isPrevious\":[32]}]]],[\"ion-breadcrumb.cjs\",[[33,\"ion-breadcrumb\",{\"collapsed\":[4],\"last\":[4],\"showCollapsedIndicator\":[4,\"show-collapsed-indicator\"],\"color\":[1],\"active\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"separator\":[4],\"target\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-chip.cjs\",[[33,\"ion-chip\",{\"color\":[513],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-datetime-button.cjs\",[[33,\"ion-datetime-button\",{\"color\":[513],\"disabled\":[516],\"datetime\":[1],\"datetimePresentation\":[32],\"dateText\":[32],\"timeText\":[32],\"datetimeActive\":[32],\"selectedButton\":[32]}]]],[\"ion-infinite-scroll-content.cjs\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option.cjs\",[[33,\"ion-item-option\",{\"color\":[513],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu.cjs\",[[33,\"ion-menu\",{\"contentId\":[513,\"content-id\"],\"menuId\":[513,\"menu-id\"],\"type\":[1025],\"disabled\":[1028],\"side\":[513],\"swipeGesture\":[4,\"swipe-gesture\"],\"maxEdgeStart\":[2,\"max-edge-start\"],\"isPaneVisible\":[32],\"isEndSide\":[32],\"isOpen\":[64],\"isActive\":[64],\"open\":[64],\"close\":[64],\"toggle\":[64],\"setOpen\":[64]},[[16,\"ionSplitPaneVisible\",\"onSplitPaneChanged\"],[2,\"click\",\"onBackdropClick\"],[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-modal.cjs\",[[33,\"ion-modal\",{\"hasController\":[4,\"has-controller\"],\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"breakpoints\":[16],\"initialBreakpoint\":[2,\"initial-breakpoint\"],\"backdropBreakpoint\":[2,\"backdrop-breakpoint\"],\"handle\":[4],\"handleBehavior\":[1,\"handle-behavior\"],\"component\":[1],\"componentProps\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"animated\":[4],\"swipeToClose\":[4,\"swipe-to-close\"],\"presentingElement\":[16],\"htmlAttributes\":[16],\"isOpen\":[4,\"is-open\"],\"trigger\":[1],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"canDismiss\":[4,\"can-dismiss\"],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"setCurrentBreakpoint\":[64],\"getCurrentBreakpoint\":[64]}]]],[\"ion-reorder.cjs\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-searchbar.cjs\",[[34,\"ion-searchbar\",{\"color\":[513],\"animated\":[4],\"autocomplete\":[1],\"autocorrect\":[1],\"cancelButtonIcon\":[1,\"cancel-button-icon\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"clearIcon\":[1,\"clear-icon\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"placeholder\":[1],\"searchIcon\":[1,\"search-icon\"],\"showCancelButton\":[1,\"show-cancel-button\"],\"showClearButton\":[1,\"show-clear-button\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}]]],[\"ion-segment-button.cjs\",[[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}]]],[\"ion-tab-button.cjs\",[[33,\"ion-tab-button\",{\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"layout\":[1025],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"ionTabBarChanged\",\"onTabBarChanged\"]]]]],[\"sparkle-lower-content-nav.cjs\",[[0,\"sparkle-lower-content-nav\",{\"next\":[16],\"prev\":[16]}]]],[\"sparkle-notfound-page.cjs\",[[0,\"sparkle-notfound-page\"]]],[\"sparkle-table-of-contents.cjs\",[[0,\"sparkle-table-of-contents\",{\"links\":[16],\"label\":[1],\"basepath\":[1],\"itemOffsets\":[32],\"selectedId\":[32],\"pageWidth\":[32]},[[9,\"scroll\",\"function\"],[9,\"resize\",\"updateItemOffsets\"]]]]],[\"compass-svg.cjs\",[[0,\"compass-svg\"]]],[\"context-consumer.cjs\",[[0,\"context-consumer\",{\"context\":[16],\"renderer\":[16],\"subscribe\":[16],\"unsubscribe\":[32]}]]],[\"ion-accordion-group.cjs\",[[33,\"ion-accordion-group\",{\"animated\":[4],\"multiple\":[4],\"value\":[1025],\"disabled\":[4],\"readonly\":[4],\"expand\":[1],\"requestAccordionToggle\":[64],\"getAccordions\":[64]},[[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-app.cjs\",[[0,\"ion-app\",{\"setFocus\":[64]}]]],[\"ion-badge.cjs\",[[33,\"ion-badge\",{\"color\":[513]}]]],[\"ion-breadcrumbs.cjs\",[[33,\"ion-breadcrumbs\",{\"color\":[1],\"maxItems\":[2,\"max-items\"],\"itemsBeforeCollapse\":[2,\"items-before-collapse\"],\"itemsAfterCollapse\":[2,\"items-after-collapse\"],\"collapsed\":[32],\"activeChanged\":[32]},[[0,\"collapsedClick\",\"onCollapsedClick\"]]]]],[\"ion-card-header.cjs\",[[33,\"ion-card-header\",{\"color\":[513],\"translucent\":[4]}]]],[\"ion-card-subtitle.cjs\",[[33,\"ion-card-subtitle\",{\"color\":[513]}]]],[\"ion-card-title.cjs\",[[33,\"ion-card-title\",{\"color\":[513]}]]],[\"ion-fab.cjs\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64],\"toggle\":[64]}]]],[\"ion-fab-list.cjs\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-footer.cjs\",[[36,\"ion-footer\",{\"collapse\":[1],\"translucent\":[4]}]]],[\"ion-img.cjs\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll.cjs\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-item-divider.cjs\",[[33,\"ion-item-divider\",{\"color\":[513],\"sticky\":[4]}]]],[\"ion-item-group.cjs\",[[32,\"ion-item-group\"]]],[\"ion-item-options.cjs\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding.cjs\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle.cjs\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav.cjs\",[[1,\"ion-nav\",{\"delegate\":[16],\"swipeGesture\":[1028,\"swipe-gesture\"],\"animated\":[4],\"animation\":[16],\"rootParams\":[16],\"root\":[1],\"push\":[64],\"insert\":[64],\"insertPages\":[64],\"pop\":[64],\"popTo\":[64],\"popToRoot\":[64],\"removeIndex\":[64],\"setRoot\":[64],\"setPages\":[64],\"setRouteId\":[64],\"getRouteId\":[64],\"getActive\":[64],\"getByIndex\":[64],\"canGoBack\":[64],\"getPrevious\":[64]}]]],[\"ion-nav-link.cjs\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-progress-bar.cjs\",[[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[513]}]]],[\"ion-refresher.cjs\",[[32,\"ion-refresher\",{\"pullMin\":[2,\"pull-min\"],\"pullMax\":[2,\"pull-max\"],\"closeDuration\":[1,\"close-duration\"],\"snapbackDuration\":[1,\"snapback-duration\"],\"pullFactor\":[2,\"pull-factor\"],\"disabled\":[4],\"nativeRefresher\":[32],\"state\":[32],\"complete\":[64],\"cancel\":[64],\"getProgress\":[64]}]]],[\"ion-reorder-group.cjs\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route.cjs\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect.cjs\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router.cjs\",[[0,\"ion-router\",{\"root\":[1],\"useHash\":[4,\"use-hash\"],\"canTransition\":[64],\"push\":[64],\"back\":[64],\"printDebug\":[64],\"navChanged\":[64]},[[8,\"popstate\",\"onPopState\"],[4,\"ionBackButton\",\"onBackButton\"]]]]],[\"ion-router-link.cjs\",[[1,\"ion-router-link\",{\"color\":[513],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet.cjs\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-segment.cjs\",[[33,\"ion-segment\",{\"color\":[513],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"selectOnFocus\":[4,\"select-on-focus\"],\"activated\":[32]},[[0,\"keydown\",\"onKeyDown\"]]]]],[\"ion-skeleton-text.cjs\",[[1,\"ion-skeleton-text\",{\"animated\":[4]}]]],[\"ion-slide.cjs\",[[0,\"ion-slide\"]]],[\"ion-slides.cjs\",[[36,\"ion-slides\",{\"options\":[8],\"pager\":[4],\"scrollbar\":[4],\"update\":[64],\"updateAutoHeight\":[64],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"getActiveIndex\":[64],\"getPreviousIndex\":[64],\"length\":[64],\"isEnd\":[64],\"isBeginning\":[64],\"startAutoplay\":[64],\"stopAutoplay\":[64],\"lockSwipeToNext\":[64],\"lockSwipeToPrev\":[64],\"lockSwipes\":[64],\"getSwiper\":[64]}]]],[\"ion-split-pane.cjs\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab.cjs\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar.cjs\",[[33,\"ion-tab-bar\",{\"color\":[513],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]}]]],[\"ion-tabs.cjs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-thumbnail.cjs\",[[1,\"ion-thumbnail\"]]],[\"ion-virtual-scroll.cjs\",[[0,\"ion-virtual-scroll\",{\"approxItemHeight\":[2,\"approx-item-height\"],\"approxHeaderHeight\":[2,\"approx-header-height\"],\"approxFooterHeight\":[2,\"approx-footer-height\"],\"headerFn\":[16],\"footerFn\":[16],\"items\":[16],\"itemHeight\":[16],\"headerHeight\":[16],\"footerHeight\":[16],\"renderItem\":[16],\"renderHeader\":[16],\"renderFooter\":[16],\"nodeRender\":[16],\"domRender\":[16],\"totalHeight\":[32],\"positionForItem\":[64],\"checkRange\":[64],\"checkEnd\":[64]},[[9,\"resize\",\"onResize\"]]]]],[\"sparkle-character-intro.cjs\",[[4,\"sparkle-character-intro\",{\"character\":[1],\"position\":[1]}]]],[\"sparkle-code.cjs\",[[0,\"sparkle-code\",{\"language\":[513],\"showCopyConfirmation\":[32]}]]],[\"sparkle-compass.cjs\",[[0,\"sparkle-compass\",{\"resiliance\":[514],\"care\":[514],\"organization\":[514],\"school\":[514],\"relationship\":[514],\"emotions\":[514],\"spirituality\":[514],\"rest\":[514],\"canvas\":[32],\"canvase_container\":[32],\"drawOnCompass\":[64]}]]],[\"sparkle-emoji.cjs\",[[1,\"sparkle-emoji\",{\"mood\":[1],\"size\":[1]}]]],[\"sparkle-gww-graph.cjs\",[[4,\"sparkle-gww-graph\"]]],[\"sparkle-intro.cjs\",[[0,\"sparkle-intro\",{\"description\":[32]}]]],[\"sparkle-menu-collapsible.cjs\",[[4,\"sparkle-menu-collapsible\",{\"heading\":[1],\"isOpen\":[32]}]]],[\"sparkle-modal-image.cjs\",[[1,\"sparkle-modal-image\",{\"src\":[1],\"alt\":[1],\"width\":[1],\"height\":[1],\"openDialog\":[1028,\"open-dialog\"],\"transparent\":[4]},[[0,\"keydown\",\"handleKeyDown\"],[2,\"click\",\"handleScroll\"]]]]],[\"sparkle-poll.cjs\",[[1,\"sparkle-poll\"]]],[\"sparkle-tab.cjs\",[[4,\"sparkle-tab\",{\"tab\":[513],\"selected\":[516]}]]],[\"sparkle-tabs.cjs\",[[4,\"sparkle-tabs\",{\"listenFor\":[1,\"listen-for\"],\"selected\":[32],\"tabs\":[32]},[[8,\"local-storage\",\"listenForFrameworkSelection\"]]]]],[\"sparkle-youtube.cjs\",[[0,\"sparkle-youtube\",{\"src\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"video_thumbnail\":[32],\"classRoomModeChanged\":[64]}]]],[\"stencil-async-content.cjs\",[[0,\"stencil-async-content\",{\"documentLocation\":[1,\"document-location\"],\"content\":[32]}]]],[\"stencil-route-title.cjs\",[[0,\"stencil-route-title\",{\"titleSuffix\":[1,\"title-suffix\"],\"pageTitle\":[1,\"page-title\"]}]]],[\"stencil-router-prompt.cjs\",[[0,\"stencil-router-prompt\",{\"when\":[4],\"message\":[1],\"history\":[16],\"unblock\":[32]}]]],[\"sparkle-quiz.cjs\",[[4,\"sparkle-quiz\",{\"questionId\":[2,\"question-id\"],\"type\":[1],\"scale\":[1],\"questionText\":[1,\"question-text\"],\"showOptionNumber\":[4,\"show-option-number\"],\"submitted\":[4],\"correct\":[4],\"feedback\":[1],\"showInstantResult\":[4,\"show-instant-result\"],\"options\":[32]},[[0,\"quizInputChange\",\"quizInputChangeHandler\"],[0,\"quizFeedbackChange\",\"quizFeedbackChangeHandler\"],[0,\"quizSelectChange\",\"quizSelectChangeHandler\"],[0,\"quizOpinionChange\",\"quizOpinionChangeHandler\"]]]]],[\"sparkle-select.cjs\",[[0,\"sparkle-select\",{\"options\":[1040],\"initializer\":[16],\"optionRenderer\":[16],\"selected\":[32]}]]],[\"ion-picker-column.cjs\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"sparkle-overlay.cjs\",[[4,\"sparkle-overlay\",{\"titleId\":[1,\"title-id\"],\"absolute\":[4],\"theme\":[1],\"preventClose\":[4,\"prevent-close\"],\"focusIndex\":[32],\"isShowing\":[32],\"show\":[64],\"hide\":[64]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"ion-toggle.cjs\",[[33,\"ion-toggle\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"enableOnOffLabels\":[4,\"enable-on-off-labels\"],\"activated\":[32]}]]],[\"ion-action-sheet_4.cjs\",[[34,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"multiple\":[4],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]],[34,\"ion-action-sheet\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}],[34,\"ion-alert\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"buttons\":[16],\"inputs\":[1040],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]],[33,\"ion-popover\",{\"hasController\":[4,\"has-controller\"],\"delegate\":[16],\"overlayIndex\":[2,\"overlay-index\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"component\":[1],\"componentProps\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"event\":[8],\"showBackdrop\":[4,\"show-backdrop\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"triggerAction\":[1,\"trigger-action\"],\"trigger\":[1],\"size\":[1],\"dismissOnSelect\":[4,\"dismiss-on-select\"],\"reference\":[1],\"side\":[1],\"alignment\":[1025],\"arrow\":[4],\"isOpen\":[4,\"is-open\"],\"keyboardEvents\":[4,\"keyboard-events\"],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"presented\":[32],\"presentFromTrigger\":[64],\"present\":[64],\"dismiss\":[64],\"getParentPopover\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-select_2.cjs\",[[33,\"ion-select\",{\"disabled\":[4],\"cancelText\":[1,\"cancel-text\"],\"okText\":[1,\"ok-text\"],\"placeholder\":[1],\"name\":[1],\"selectedText\":[1,\"selected-text\"],\"multiple\":[4],\"interface\":[1],\"interfaceOptions\":[8,\"interface-options\"],\"compareWith\":[1,\"compare-with\"],\"value\":[1032],\"isExpanded\":[32],\"open\":[64]}],[1,\"ion-select-option\",{\"disabled\":[4],\"value\":[8]}]]],[\"ion-back-button.cjs\",[[33,\"ion-back-button\",{\"color\":[513],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-picker-column-internal_2.cjs\",[[33,\"ion-picker-column-internal\",{\"items\":[16],\"value\":[1032],\"color\":[513],\"numericInput\":[4,\"numeric-input\"],\"isActive\":[32],\"scrollActiveItemIntoView\":[64],\"setValue\":[64]}],[33,\"ion-picker-internal\"]]],[\"ion-textarea.cjs\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"autocapitalize\":[1],\"autofocus\":[4],\"clearOnEdit\":[1028,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"cols\":[2],\"rows\":[2],\"wrap\":[1],\"autoGrow\":[516,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-content_2.cjs\",[[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[1,\"ion-content\",{\"color\":[513],\"fullscreen\":[4],\"forceOverscroll\":[1028,\"force-overscroll\"],\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"scrollEvents\":[4,\"scroll-events\"],\"getScrollElement\":[64],\"scrollToTop\":[64],\"scrollToBottom\":[64],\"scrollByPoint\":[64],\"scrollToPoint\":[64]},[[8,\"appload\",\"onAppLoad\"]]]]],[\"ion-backdrop.cjs\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]],[\"ion-buttons_3.cjs\",[[33,\"ion-title\",{\"color\":[513],\"size\":[1]}],[33,\"ion-toolbar\",{\"color\":[513]},[[0,\"ionStyle\",\"childrenStyle\"]]],[34,\"ion-buttons\",{\"collapse\":[4]}]]],[\"header-mobile-collapse_61.cjs\",[[0,\"sparkle-course-root\",{\"isMenuToggled\":[32],\"tocData\":[32]}],[0,\"sparkle-login\",{\"history\":[16],\"notsignin\":[32],\"username\":[32],\"password\":[32],\"rememberMe\":[32],\"submitted\":[32]}],[0,\"sparkle-user-enrollment\",{\"enrollmentFormControls\":[32],\"enrollmentFormSubmitted\":[32]}],[0,\"sparkle-mood\",{\"history\":[16],\"loading\":[32],\"feeling\":[32],\"intensity\":[32],\"location\":[32],\"public\":[32],\"submitted\":[32],\"currentStep\":[32]}],[0,\"sparkle-signup\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-user-profile\",{\"profileFormControls\":[32],\"profileFormSubmitted\":[32]}],[0,\"sparkle-forgot-password\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-goals\"],[0,\"sparkle-health\",{\"history\":[16],\"uploadedImageUrl\":[32],\"heartRate\":[32],\"public\":[32],\"submitted\":[32]}],[0,\"sparkle-gww\"],[0,\"sparkle-reset-password\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-facilitator-page\",{\"path\":[1],\"notesPath\":[1,\"notes-path\"],\"badFetch\":[32],\"badFetchLessonNotes\":[32],\"isLesson\":[32],\"notesPage\":[32],\"lessonNotesPage\":[32],\"page\":[32],\"onlineStudents\":[32],\"activetab\":[32]}],[4,\"sparkle-header\",{\"authUser\":[8,\"auth-user\"],\"hideClassRoomToggle\":[4,\"hide-class-room-toggle\"],\"courseName\":[1,\"course-name\"],\"imageUrl\":[1,\"image-url\"],\"toggleClickFn\":[16],\"signoutClickFn\":[16],\"classRoomMode\":[32],\"hidden\":[32]},[[9,\"scroll\",\"handleScroll\"]]],[0,\"sparkle-menu\",{\"toggleClickFn\":[16],\"toc\":[16],\"config\":[16]}],[4,\"sparkle-facilitator-header\",{\"courseName\":[1,\"course-name\"],\"toggleStudentClickFn\":[16],\"hidden\":[32]},[[9,\"scroll\",\"handleScroll\"]]],[4,\"sparkle-page\",{\"history\":[16],\"path\":[1],\"presentation\":[4],\"badFetch\":[32],\"page\":[32],\"isLesson\":[32]}],[4,\"sparkle-root\",{\"config\":[16]}],[0,\"sparkle-unauthorized\"],[0,\"stencil-route\",{\"group\":[513],\"componentUpdated\":[16],\"match\":[1040],\"url\":[1],\"component\":[1],\"componentProps\":[16],\"exact\":[4],\"routeRender\":[16],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"routeViewsUpdated\":[16],\"location\":[16],\"history\":[16],\"historyType\":[1,\"history-type\"]}],[4,\"stencil-router\",{\"root\":[1],\"historyType\":[1,\"history-type\"],\"titleSuffix\":[1,\"title-suffix\"],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"location\":[32],\"history\":[32]}],[0,\"sparkle-gww-item\",{\"post\":[16],\"onPostComment\":[16],\"loading\":[4],\"comment\":[32]},[[16,\"commentPosted\",\"clearCommentField\"]]],[0,\"sparkle-goal-item\",{\"goal\":[16],\"onEditGoal\":[16]}],[0,\"sparkle-page-footer\",{\"page\":[16]}],[0,\"sparkle-nav\",{\"toc\":[16],\"config\":[16],\"selectedParent\":[1040],\"moduleURLName\":[32],\"sessionURLName\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"]]],[1,\"ion-grid\",{\"fixed\":[4]}],[4,\"sparkle-cards\"],[0,\"sparkle-export-lessons\",{\"tocData\":[32],\"moduleContent\":[32],\"moduleName\":[32],\"page\":[32]}],[0,\"sparkle-facilitator-dashboard\",{\"tocData\":[32],\"selectedModule\":[32],\"selectedSession\":[32],\"selectedPage\":[32],\"showAllModules\":[32]}],[0,\"sparkle-facilitator-notes\"],[0,\"sparkle-online-students\",{\"path\":[1],\"onlineStudents\":[32]}],[4,\"stencil-route-switch\",{\"group\":[513],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"location\":[16],\"routeViewsUpdated\":[16]}],[0,\"stencil-router-redirect\",{\"history\":[16],\"root\":[1],\"url\":[1]}],[4,\"sparkle-card\",{\"href\":[1],\"header\":[1],\"icon\":[1],\"hoverIcon\":[1,\"hover-icon\"],\"iconset\":[1],\"ionicon\":[1],\"img\":[1],\"size\":[1],\"activeIndex\":[32]}],[33,\"ion-card\",{\"color\":[513],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[4,\"sparkle-button\",{\"href\":[1],\"round\":[516],\"primary\":[516]}],[0,\"sparkle-pagination\",{\"page\":[16]}],[4,\"header-mobile-collapse\",{\"darkMode\":[4,\"dark-mode\"],\"mobileDropdownActive\":[32],\"stuck\":[32],\"queued\":[32]},[[16,\"pageChanged\",\"deactivate\"]]],[32,\"ion-card-content\"],[1,\"ion-col\",{\"offset\":[1],\"offsetXs\":[1,\"offset-xs\"],\"offsetSm\":[1,\"offset-sm\"],\"offsetMd\":[1,\"offset-md\"],\"offsetLg\":[1,\"offset-lg\"],\"offsetXl\":[1,\"offset-xl\"],\"pull\":[1],\"pullXs\":[1,\"pull-xs\"],\"pullSm\":[1,\"pull-sm\"],\"pullMd\":[1,\"pull-md\"],\"pullLg\":[1,\"pull-lg\"],\"pullXl\":[1,\"pull-xl\"],\"push\":[1],\"pushXs\":[1,\"push-xs\"],\"pushSm\":[1,\"push-sm\"],\"pushMd\":[1,\"push-md\"],\"pushLg\":[1,\"push-lg\"],\"pushXl\":[1,\"push-xl\"],\"size\":[1],\"sizeXs\":[1,\"size-xs\"],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]},[[9,\"resize\",\"onResize\"]]],[1,\"ion-row\"],[0,\"sparkle-menu-toggle\"],[4,\"sparkle-dropdown\",{\"align\":[1],\"label\":[1],\"icon\":[16],\"image\":[1],\"isOpen\":[32],\"close\":[64],\"open\":[64],\"toggle\":[64]},[[8,\"click\",\"handleClick\"],[0,\"keyup\",\"handleKeyup\"]]],[0,\"sparkle-validation-error\",{\"errors\":[16]}],[0,\"sparkle-goal-progress\",{\"percentage\":[1]}],[33,\"ion-avatar\"],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]],[33,\"ion-checkbox\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[8]}],[33,\"ion-radio\",{\"color\":[513],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[33,\"ion-range\",{\"color\":[513],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"pinFormatter\":[16],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"activeBarStart\":[1026,\"active-bar-start\"],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}],[33,\"ion-list-header\",{\"color\":[513],\"lines\":[1]}],[1,\"ion-text\",{\"color\":[513]}],[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"accept\":[1],\"autocapitalize\":[1],\"autocomplete\":[1],\"autocorrect\":[1],\"autofocus\":[4],\"clearInput\":[4,\"clear-input\"],\"clearOnEdit\":[4,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"enterkeyhint\":[1],\"inputmode\":[1],\"max\":[8],\"maxlength\":[2],\"min\":[8],\"minlength\":[2],\"multiple\":[4],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"step\":[1],\"size\":[2],\"type\":[1],\"value\":[1032],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}],[32,\"ion-list\",{\"lines\":[1],\"inset\":[4],\"closeSlidingItems\":[64]}],[1,\"ion-spinner\",{\"color\":[513],\"duration\":[2],\"name\":[1],\"paused\":[4]}],[34,\"ion-label\",{\"color\":[513],\"position\":[1],\"noAnimate\":[32]}],[4,\"stencil-route-link\",{\"url\":[1],\"urlMatch\":[1,\"url-match\"],\"activeClass\":[1,\"active-class\"],\"exact\":[4],\"strict\":[4],\"custom\":[1],\"anchorClass\":[1,\"anchor-class\"],\"anchorRole\":[1,\"anchor-role\"],\"anchorTitle\":[1,\"anchor-title\"],\"anchorTabIndex\":[1,\"anchor-tab-index\"],\"anchorId\":[1,\"anchor-id\"],\"history\":[16],\"location\":[16],\"root\":[1],\"ariaHaspopup\":[1,\"aria-haspopup\"],\"ariaPosinset\":[1,\"aria-posinset\"],\"ariaSetsize\":[2,\"aria-setsize\"],\"ariaLabel\":[1,\"aria-label\"],\"match\":[32]}],[33,\"ion-button\",{\"color\":[513],\"buttonType\":[1025,\"button-type\"],\"disabled\":[516],\"expand\":[513],\"fill\":[1537],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"download\":[1],\"href\":[1],\"rel\":[1],\"shape\":[513],\"size\":[513],\"strong\":[4],\"target\":[1],\"type\":[1]}],[49,\"ion-item\",{\"color\":[513],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"fill\":[1],\"shape\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"counter\":[4],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"counterFormatter\":[16],\"multipleInputs\":[32],\"focusable\":[32],\"counterString\":[32]},[[0,\"ionChange\",\"handleIonChange\"],[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[33,\"ion-note\",{\"color\":[513]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[513],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32],\"ariaLabel\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]],[\"sparkle-quiz-feedback_5.cjs\",[[0,\"sparkle-quiz-opinion\",{\"question\":[16],\"selectedIndex\":[32]}],[0,\"sparkle-quiz-feedback\",{\"question\":[16]}],[0,\"sparkle-quiz-input\",{\"question\":[16]}],[0,\"sparkle-quiz-poll\",{\"question\":[16]}],[0,\"sparkle-quiz-select\",{\"question\":[16],\"allowMultiple\":[4,\"allow-multiple\"],\"values\":[32]}]]]]"), options);
|
21
|
+
return index.bootstrapLazy(JSON.parse("[[\"sparkle-discussion.cjs\",[[0,\"sparkle-discussion\",{\"allowPostToFeed\":[4,\"allow-post-to-feed\"],\"feedStartingText\":[1,\"feed-starting-text\"],\"isTeacherMode\":[1028,\"is-teacher-mode\"],\"questionIds\":[1,\"question-ids\"],\"quizData\":[32]}]]],[\"sparkle-goal-form.cjs\",[[0,\"sparkle-goal-form\",{\"appData\":[16],\"name\":[32],\"description\":[32],\"category\":[32],\"progress\":[32],\"public\":[32],\"goalUpdateText\":[32],\"submitted\":[32]}]]],[\"sparkle-feedback.cjs\",[[0,\"sparkle-feedback\",{\"formControls\":[32],\"submitted\":[32]}]]],[\"ion-datetime.cjs\",[[33,\"ion-datetime\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"isDateEnabled\":[16],\"min\":[1025],\"max\":[1025],\"presentation\":[1],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"clearText\":[1,\"clear-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"locale\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"multiple\":[4],\"value\":[1025],\"showDefaultTitle\":[4,\"show-default-title\"],\"showDefaultButtons\":[4,\"show-default-buttons\"],\"showClearButton\":[4,\"show-clear-button\"],\"showDefaultTimeLabel\":[4,\"show-default-time-label\"],\"hourCycle\":[1,\"hour-cycle\"],\"size\":[1],\"preferWheel\":[4,\"prefer-wheel\"],\"showMonthAndYear\":[32],\"activeParts\":[32],\"workingParts\":[32],\"isPresented\":[32],\"isTimePopoverOpen\":[32],\"confirm\":[64],\"reset\":[64],\"cancel\":[64]}]]],[\"sparkle-gww-comment-list.cjs\",[[0,\"sparkle-gww-comment-list\",{\"comments\":[16]}]]],[\"sparkle-quiz.cjs\",[[0,\"sparkle-quiz\",{\"questionId\":[2,\"question-id\"],\"submitted\":[4],\"correct\":[4],\"showInstantResult\":[4,\"show-instant-result\"],\"question\":[32],\"quizData\":[32]},[[0,\"quizInputChange\",\"quizInputChangeHandler\"],[0,\"quizFeedbackChange\",\"quizFeedbackChangeHandler\"],[0,\"quizSelectChange\",\"quizSelectChangeHandler\"],[0,\"quizOpinionChange\",\"quizOpinionChangeHandler\"]]]]],[\"sparkle-quiz-old.cjs\",[[4,\"sparkle-quiz-old\",{\"questionId\":[2,\"question-id\"],\"type\":[1],\"scale\":[1],\"questionText\":[1,\"question-text\"],\"showOptionNumber\":[4,\"show-option-number\"],\"submitted\":[4],\"correct\":[4],\"feedback\":[1],\"showInstantResult\":[4,\"show-instant-result\"],\"options\":[32]},[[0,\"quizInputChange\",\"quizInputChangeHandler\"],[0,\"quizFeedbackChange\",\"quizFeedbackChangeHandler\"],[0,\"quizSelectChange\",\"quizSelectChangeHandler\"],[0,\"quizOpinionChange\",\"quizOpinionChangeHandler\"]]]]],[\"sparkle-compass-post.cjs\",[[0,\"sparkle-compass-post\",{\"errorMessage\":[32],\"successMessage\":[32],\"resiliance\":[32],\"care\":[32],\"compassData\":[32],\"renderCompass\":[64]}]]],[\"sparkle-animation-player.cjs\",[[0,\"sparkle-animation-player\",{\"src\":[1],\"composition\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"showCaption\":[32],\"paused\":[32],\"sizeOfCanvas\":[32],\"sizeofProgressBar\":[32],\"dataLoaded\":[32],\"currentProgressWidth\":[32],\"captionText\":[32],\"showFirstFrame\":[32],\"isBusy\":[32],\"playAnimation\":[64],\"pauseAnimation\":[64],\"classRoomModeChanged\":[64],\"destroyAnimation\":[64]},[[0,\"ionChange\",\"closedCaptionChange\"],[16,\"classRoomModeChanged\",\"onClassRoomModeChanged\"]]]]],[\"sparkle-facilitator-notes-form.cjs\",[[0,\"sparkle-facilitator-notes-form\",{\"initialValues\":[16],\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-sidebar.cjs\",[[4,\"sparkle-sidebar\",{\"position\":[1],\"size\":[1],\"headerText\":[1,\"header-text\"],\"isShowing\":[32],\"hide\":[64],\"show\":[64]}]]],[\"course-select.cjs\",[[0,\"course-select\",{\"toggleClickFn\":[16]}]]],[\"ion-fab-button.cjs\",[[33,\"ion-fab-button\",{\"color\":[513],\"activated\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1],\"show\":[4],\"translucent\":[4],\"type\":[1],\"size\":[1],\"closeIcon\":[1,\"close-icon\"]}]]],[\"ion-loading.cjs\",[[34,\"ion-loading\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"message\":[1],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"spinner\":[1025],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button.cjs\",[[33,\"ion-menu-button\",{\"color\":[513],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker.cjs\",[[34,\"ion-picker\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"columns\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"showBackdrop\":[4,\"show-backdrop\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"animated\":[4],\"htmlAttributes\":[16],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content.cjs\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast.cjs\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[513],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"header\":[1],\"message\":[1],\"keyboardClose\":[4,\"keyboard-close\"],\"position\":[1],\"buttons\":[16],\"translucent\":[4],\"animated\":[4],\"icon\":[1],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"sparkle-quiz-container.cjs\",[[0,\"sparkle-quiz-container\",{\"questionIds\":[1,\"question-ids\"],\"showInstantResult\":[4,\"show-instant-result\"],\"submitted\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"],[16,\"quizAnswerChanged\",\"updateQuizAnswerModelHandler\"]]]]],[\"ion-accordion.cjs\",[[49,\"ion-accordion\",{\"value\":[1],\"disabled\":[4],\"readonly\":[4],\"toggleIcon\":[1,\"toggle-icon\"],\"toggleIconSlot\":[1,\"toggle-icon-slot\"],\"state\":[32],\"isNext\":[32],\"isPrevious\":[32]}]]],[\"ion-breadcrumb.cjs\",[[33,\"ion-breadcrumb\",{\"collapsed\":[4],\"last\":[4],\"showCollapsedIndicator\":[4,\"show-collapsed-indicator\"],\"color\":[1],\"active\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"separator\":[4],\"target\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-chip.cjs\",[[33,\"ion-chip\",{\"color\":[513],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-datetime-button.cjs\",[[33,\"ion-datetime-button\",{\"color\":[513],\"disabled\":[516],\"datetime\":[1],\"datetimePresentation\":[32],\"dateText\":[32],\"timeText\":[32],\"datetimeActive\":[32],\"selectedButton\":[32]}]]],[\"ion-infinite-scroll-content.cjs\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option.cjs\",[[33,\"ion-item-option\",{\"color\":[513],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu.cjs\",[[33,\"ion-menu\",{\"contentId\":[513,\"content-id\"],\"menuId\":[513,\"menu-id\"],\"type\":[1025],\"disabled\":[1028],\"side\":[513],\"swipeGesture\":[4,\"swipe-gesture\"],\"maxEdgeStart\":[2,\"max-edge-start\"],\"isPaneVisible\":[32],\"isEndSide\":[32],\"isOpen\":[64],\"isActive\":[64],\"open\":[64],\"close\":[64],\"toggle\":[64],\"setOpen\":[64]},[[16,\"ionSplitPaneVisible\",\"onSplitPaneChanged\"],[2,\"click\",\"onBackdropClick\"],[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-modal.cjs\",[[33,\"ion-modal\",{\"hasController\":[4,\"has-controller\"],\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"breakpoints\":[16],\"initialBreakpoint\":[2,\"initial-breakpoint\"],\"backdropBreakpoint\":[2,\"backdrop-breakpoint\"],\"handle\":[4],\"handleBehavior\":[1,\"handle-behavior\"],\"component\":[1],\"componentProps\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"animated\":[4],\"swipeToClose\":[4,\"swipe-to-close\"],\"presentingElement\":[16],\"htmlAttributes\":[16],\"isOpen\":[4,\"is-open\"],\"trigger\":[1],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"canDismiss\":[4,\"can-dismiss\"],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"setCurrentBreakpoint\":[64],\"getCurrentBreakpoint\":[64]}]]],[\"ion-reorder.cjs\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-searchbar.cjs\",[[34,\"ion-searchbar\",{\"color\":[513],\"animated\":[4],\"autocomplete\":[1],\"autocorrect\":[1],\"cancelButtonIcon\":[1,\"cancel-button-icon\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"clearIcon\":[1,\"clear-icon\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"placeholder\":[1],\"searchIcon\":[1,\"search-icon\"],\"showCancelButton\":[1,\"show-cancel-button\"],\"showClearButton\":[1,\"show-clear-button\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}]]],[\"ion-segment-button.cjs\",[[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}]]],[\"ion-tab-button.cjs\",[[33,\"ion-tab-button\",{\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"layout\":[1025],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"ionTabBarChanged\",\"onTabBarChanged\"]]]]],[\"sparkle-lower-content-nav.cjs\",[[0,\"sparkle-lower-content-nav\",{\"next\":[16],\"prev\":[16]}]]],[\"sparkle-notfound-page.cjs\",[[0,\"sparkle-notfound-page\"]]],[\"sparkle-table-of-contents.cjs\",[[0,\"sparkle-table-of-contents\",{\"links\":[16],\"label\":[1],\"basepath\":[1],\"itemOffsets\":[32],\"selectedId\":[32],\"pageWidth\":[32]},[[9,\"scroll\",\"function\"],[9,\"resize\",\"updateItemOffsets\"]]]]],[\"compass-svg.cjs\",[[0,\"compass-svg\"]]],[\"context-consumer.cjs\",[[0,\"context-consumer\",{\"context\":[16],\"renderer\":[16],\"subscribe\":[16],\"unsubscribe\":[32]}]]],[\"ion-accordion-group.cjs\",[[33,\"ion-accordion-group\",{\"animated\":[4],\"multiple\":[4],\"value\":[1025],\"disabled\":[4],\"readonly\":[4],\"expand\":[1],\"requestAccordionToggle\":[64],\"getAccordions\":[64]},[[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-app.cjs\",[[0,\"ion-app\",{\"setFocus\":[64]}]]],[\"ion-badge.cjs\",[[33,\"ion-badge\",{\"color\":[513]}]]],[\"ion-breadcrumbs.cjs\",[[33,\"ion-breadcrumbs\",{\"color\":[1],\"maxItems\":[2,\"max-items\"],\"itemsBeforeCollapse\":[2,\"items-before-collapse\"],\"itemsAfterCollapse\":[2,\"items-after-collapse\"],\"collapsed\":[32],\"activeChanged\":[32]},[[0,\"collapsedClick\",\"onCollapsedClick\"]]]]],[\"ion-card-header.cjs\",[[33,\"ion-card-header\",{\"color\":[513],\"translucent\":[4]}]]],[\"ion-card-subtitle.cjs\",[[33,\"ion-card-subtitle\",{\"color\":[513]}]]],[\"ion-card-title.cjs\",[[33,\"ion-card-title\",{\"color\":[513]}]]],[\"ion-fab.cjs\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64],\"toggle\":[64]}]]],[\"ion-fab-list.cjs\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-footer.cjs\",[[36,\"ion-footer\",{\"collapse\":[1],\"translucent\":[4]}]]],[\"ion-img.cjs\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll.cjs\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-item-divider.cjs\",[[33,\"ion-item-divider\",{\"color\":[513],\"sticky\":[4]}]]],[\"ion-item-group.cjs\",[[32,\"ion-item-group\"]]],[\"ion-item-options.cjs\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding.cjs\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle.cjs\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav.cjs\",[[1,\"ion-nav\",{\"delegate\":[16],\"swipeGesture\":[1028,\"swipe-gesture\"],\"animated\":[4],\"animation\":[16],\"rootParams\":[16],\"root\":[1],\"push\":[64],\"insert\":[64],\"insertPages\":[64],\"pop\":[64],\"popTo\":[64],\"popToRoot\":[64],\"removeIndex\":[64],\"setRoot\":[64],\"setPages\":[64],\"setRouteId\":[64],\"getRouteId\":[64],\"getActive\":[64],\"getByIndex\":[64],\"canGoBack\":[64],\"getPrevious\":[64]}]]],[\"ion-nav-link.cjs\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-progress-bar.cjs\",[[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[513]}]]],[\"ion-refresher.cjs\",[[32,\"ion-refresher\",{\"pullMin\":[2,\"pull-min\"],\"pullMax\":[2,\"pull-max\"],\"closeDuration\":[1,\"close-duration\"],\"snapbackDuration\":[1,\"snapback-duration\"],\"pullFactor\":[2,\"pull-factor\"],\"disabled\":[4],\"nativeRefresher\":[32],\"state\":[32],\"complete\":[64],\"cancel\":[64],\"getProgress\":[64]}]]],[\"ion-reorder-group.cjs\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route.cjs\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect.cjs\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router.cjs\",[[0,\"ion-router\",{\"root\":[1],\"useHash\":[4,\"use-hash\"],\"canTransition\":[64],\"push\":[64],\"back\":[64],\"printDebug\":[64],\"navChanged\":[64]},[[8,\"popstate\",\"onPopState\"],[4,\"ionBackButton\",\"onBackButton\"]]]]],[\"ion-router-link.cjs\",[[1,\"ion-router-link\",{\"color\":[513],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet.cjs\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-segment.cjs\",[[33,\"ion-segment\",{\"color\":[513],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"selectOnFocus\":[4,\"select-on-focus\"],\"activated\":[32]},[[0,\"keydown\",\"onKeyDown\"]]]]],[\"ion-skeleton-text.cjs\",[[1,\"ion-skeleton-text\",{\"animated\":[4]}]]],[\"ion-slide.cjs\",[[0,\"ion-slide\"]]],[\"ion-slides.cjs\",[[36,\"ion-slides\",{\"options\":[8],\"pager\":[4],\"scrollbar\":[4],\"update\":[64],\"updateAutoHeight\":[64],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"getActiveIndex\":[64],\"getPreviousIndex\":[64],\"length\":[64],\"isEnd\":[64],\"isBeginning\":[64],\"startAutoplay\":[64],\"stopAutoplay\":[64],\"lockSwipeToNext\":[64],\"lockSwipeToPrev\":[64],\"lockSwipes\":[64],\"getSwiper\":[64]}]]],[\"ion-split-pane.cjs\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab.cjs\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar.cjs\",[[33,\"ion-tab-bar\",{\"color\":[513],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]}]]],[\"ion-tabs.cjs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-thumbnail.cjs\",[[1,\"ion-thumbnail\"]]],[\"ion-virtual-scroll.cjs\",[[0,\"ion-virtual-scroll\",{\"approxItemHeight\":[2,\"approx-item-height\"],\"approxHeaderHeight\":[2,\"approx-header-height\"],\"approxFooterHeight\":[2,\"approx-footer-height\"],\"headerFn\":[16],\"footerFn\":[16],\"items\":[16],\"itemHeight\":[16],\"headerHeight\":[16],\"footerHeight\":[16],\"renderItem\":[16],\"renderHeader\":[16],\"renderFooter\":[16],\"nodeRender\":[16],\"domRender\":[16],\"totalHeight\":[32],\"positionForItem\":[64],\"checkRange\":[64],\"checkEnd\":[64]},[[9,\"resize\",\"onResize\"]]]]],[\"sparkle-assignment.cjs\",[[0,\"sparkle-assignment\",{\"submitted\":[32]}]]],[\"sparkle-character-intro.cjs\",[[4,\"sparkle-character-intro\",{\"character\":[1],\"position\":[1]}]]],[\"sparkle-code.cjs\",[[0,\"sparkle-code\",{\"language\":[513],\"showCopyConfirmation\":[32]}]]],[\"sparkle-compass.cjs\",[[0,\"sparkle-compass\",{\"resiliance\":[514],\"care\":[514],\"organization\":[514],\"school\":[514],\"relationship\":[514],\"emotions\":[514],\"spirituality\":[514],\"rest\":[514],\"canvas\":[32],\"canvase_container\":[32],\"drawOnCompass\":[64]}]]],[\"sparkle-emoji.cjs\",[[1,\"sparkle-emoji\",{\"mood\":[1],\"size\":[1]}]]],[\"sparkle-gww-graph.cjs\",[[4,\"sparkle-gww-graph\"]]],[\"sparkle-intro.cjs\",[[0,\"sparkle-intro\",{\"description\":[32]}]]],[\"sparkle-menu-collapsible.cjs\",[[4,\"sparkle-menu-collapsible\",{\"heading\":[1],\"isOpen\":[32]}]]],[\"sparkle-modal-image.cjs\",[[1,\"sparkle-modal-image\",{\"src\":[1],\"alt\":[1],\"width\":[1],\"height\":[1],\"openDialog\":[1028,\"open-dialog\"],\"transparent\":[4]},[[0,\"keydown\",\"handleKeyDown\"],[2,\"click\",\"handleScroll\"]]]]],[\"sparkle-poll.cjs\",[[1,\"sparkle-poll\"]]],[\"sparkle-tab.cjs\",[[4,\"sparkle-tab\",{\"tab\":[513],\"selected\":[516]}]]],[\"sparkle-tabs.cjs\",[[4,\"sparkle-tabs\",{\"listenFor\":[1,\"listen-for\"],\"selected\":[32],\"tabs\":[32]},[[8,\"local-storage\",\"listenForFrameworkSelection\"]]]]],[\"sparkle-youtube.cjs\",[[0,\"sparkle-youtube\",{\"src\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"video_thumbnail\":[32],\"classRoomModeChanged\":[64]}]]],[\"stencil-async-content.cjs\",[[0,\"stencil-async-content\",{\"documentLocation\":[1,\"document-location\"],\"content\":[32]}]]],[\"stencil-route-title.cjs\",[[0,\"stencil-route-title\",{\"titleSuffix\":[1,\"title-suffix\"],\"pageTitle\":[1,\"page-title\"]}]]],[\"stencil-router-prompt.cjs\",[[0,\"stencil-router-prompt\",{\"when\":[4],\"message\":[1],\"history\":[16],\"unblock\":[32]}]]],[\"sparkle-select.cjs\",[[0,\"sparkle-select\",{\"options\":[1040],\"initializer\":[16],\"optionRenderer\":[16],\"selected\":[32]}]]],[\"ion-picker-column.cjs\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"sparkle-overlay.cjs\",[[4,\"sparkle-overlay\",{\"titleId\":[1,\"title-id\"],\"absolute\":[4],\"theme\":[1],\"preventClose\":[4,\"prevent-close\"],\"focusIndex\":[32],\"isShowing\":[32],\"show\":[64],\"hide\":[64]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"ion-action-sheet_4.cjs\",[[34,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"multiple\":[4],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]],[34,\"ion-action-sheet\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}],[34,\"ion-alert\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"buttons\":[16],\"inputs\":[1040],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]],[33,\"ion-popover\",{\"hasController\":[4,\"has-controller\"],\"delegate\":[16],\"overlayIndex\":[2,\"overlay-index\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"component\":[1],\"componentProps\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"event\":[8],\"showBackdrop\":[4,\"show-backdrop\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"triggerAction\":[1,\"trigger-action\"],\"trigger\":[1],\"size\":[1],\"dismissOnSelect\":[4,\"dismiss-on-select\"],\"reference\":[1],\"side\":[1],\"alignment\":[1025],\"arrow\":[4],\"isOpen\":[4,\"is-open\"],\"keyboardEvents\":[4,\"keyboard-events\"],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"presented\":[32],\"presentFromTrigger\":[64],\"present\":[64],\"dismiss\":[64],\"getParentPopover\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"sparkle-discussion-questions_2.cjs\",[[0,\"sparkle-discussion-questions\",{\"allowPostToFeed\":[4,\"allow-post-to-feed\"],\"postToFeedAssignmentName\":[1,\"post-to-feed-assignment-name\"],\"feedStartingText\":[1,\"feed-starting-text\"],\"isTeacherMode\":[4,\"is-teacher-mode\"],\"questions\":[16],\"error\":[32],\"modelChange\":[32],\"responses\":[32],\"suggestionList\":[32],\"postToFeedTextValue\":[32]}],[0,\"sparkle-discussion-results\",{\"allowPostToFeed\":[4,\"allow-post-to-feed\"],\"feedStartingText\":[1,\"feed-starting-text\"],\"isTeacherMode\":[4,\"is-teacher-mode\"],\"questions\":[16],\"error\":[32],\"modelChange\":[32],\"responses\":[32],\"suggestionList\":[32]},[[16,\"receivedPollSubmissionSignalREvent\",\"gotServerUpdate\"]]]]],[\"ion-back-button.cjs\",[[33,\"ion-back-button\",{\"color\":[513],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-picker-column-internal_2.cjs\",[[33,\"ion-picker-column-internal\",{\"items\":[16],\"value\":[1032],\"color\":[513],\"numericInput\":[4,\"numeric-input\"],\"isActive\":[32],\"scrollActiveItemIntoView\":[64],\"setValue\":[64]}],[33,\"ion-picker-internal\"]]],[\"ion-toggle.cjs\",[[33,\"ion-toggle\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"enableOnOffLabels\":[4,\"enable-on-off-labels\"],\"activated\":[32]}]]],[\"ion-content_2.cjs\",[[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[1,\"ion-content\",{\"color\":[513],\"fullscreen\":[4],\"forceOverscroll\":[1028,\"force-overscroll\"],\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"scrollEvents\":[4,\"scroll-events\"],\"getScrollElement\":[64],\"scrollToTop\":[64],\"scrollToBottom\":[64],\"scrollByPoint\":[64],\"scrollToPoint\":[64]},[[8,\"appload\",\"onAppLoad\"]]]]],[\"ion-textarea.cjs\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"autocapitalize\":[1],\"autofocus\":[4],\"clearOnEdit\":[1028,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"cols\":[2],\"rows\":[2],\"wrap\":[1],\"autoGrow\":[516,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-backdrop.cjs\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]],[\"ion-select_3.cjs\",[[4,\"sparkle-feed-post\",{\"assignmentName\":[1025,\"assignment-name\"],\"textValue\":[1,\"text-value\"],\"postText\":[32],\"errorMessage\":[32],\"uploadedImage\":[32],\"successMessage\":[32],\"externalResourceUrl\":[32],\"uploadImageLoading\":[32],\"postLoading\":[32],\"setText\":[64]}],[33,\"ion-select\",{\"disabled\":[4],\"cancelText\":[1,\"cancel-text\"],\"okText\":[1,\"ok-text\"],\"placeholder\":[1],\"name\":[1],\"selectedText\":[1,\"selected-text\"],\"multiple\":[4],\"interface\":[1],\"interfaceOptions\":[8,\"interface-options\"],\"compareWith\":[1,\"compare-with\"],\"value\":[1032],\"isExpanded\":[32],\"open\":[64]}],[1,\"ion-select-option\",{\"disabled\":[4],\"value\":[8]}]]],[\"sparkle-quiz-feedback_5.cjs\",[[0,\"sparkle-quiz-opinion\",{\"question\":[16],\"selectedIndex\":[32]}],[0,\"sparkle-quiz-feedback\",{\"question\":[16]}],[0,\"sparkle-quiz-input\",{\"question\":[16]}],[0,\"sparkle-quiz-poll\",{\"question\":[16]}],[0,\"sparkle-quiz-select\",{\"question\":[16],\"allowMultiple\":[4,\"allow-multiple\"],\"values\":[32]}]]],[\"ion-buttons_3.cjs\",[[33,\"ion-title\",{\"color\":[513],\"size\":[1]}],[33,\"ion-toolbar\",{\"color\":[513]},[[0,\"ionStyle\",\"childrenStyle\"]]],[34,\"ion-buttons\",{\"collapse\":[4]}]]],[\"header-mobile-collapse_61.cjs\",[[0,\"sparkle-course-root\",{\"isMenuToggled\":[32],\"tocData\":[32]},[[0,\"userDidLogIn\",\"useDidLogin\"]]],[0,\"sparkle-login\",{\"history\":[16],\"notsignin\":[32],\"username\":[32],\"password\":[32],\"rememberMe\":[32],\"submitted\":[32]}],[0,\"sparkle-user-enrollment\",{\"enrollmentFormControls\":[32],\"enrollmentFormSubmitted\":[32]}],[0,\"sparkle-mood\",{\"history\":[16],\"loading\":[32],\"feeling\":[32],\"intensity\":[32],\"location\":[32],\"public\":[32],\"submitted\":[32],\"currentStep\":[32]}],[0,\"sparkle-signup\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-user-profile\",{\"profileFormControls\":[32],\"profileFormSubmitted\":[32]}],[0,\"sparkle-forgot-password\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-goals\"],[0,\"sparkle-health\",{\"history\":[16],\"uploadedImageUrl\":[32],\"heartRate\":[32],\"public\":[32],\"submitted\":[32]}],[0,\"sparkle-gww\"],[0,\"sparkle-reset-password\",{\"history\":[16],\"validationErrors\":[32],\"formControls\":[32],\"submitted\":[32]}],[0,\"sparkle-facilitator-page\",{\"path\":[1],\"notesPath\":[1,\"notes-path\"],\"badFetch\":[32],\"badFetchLessonNotes\":[32],\"isLesson\":[32],\"notesPage\":[32],\"lessonNotesPage\":[32],\"page\":[32],\"onlineStudents\":[32],\"activetab\":[32]}],[4,\"sparkle-header\",{\"authUser\":[8,\"auth-user\"],\"hideClassRoomToggle\":[4,\"hide-class-room-toggle\"],\"courseName\":[1,\"course-name\"],\"imageUrl\":[1,\"image-url\"],\"toggleClickFn\":[16],\"signoutClickFn\":[16],\"classRoomMode\":[32],\"hidden\":[32]},[[9,\"scroll\",\"handleScroll\"]]],[0,\"sparkle-menu\",{\"toggleClickFn\":[16],\"toc\":[16],\"config\":[16]}],[4,\"sparkle-facilitator-header\",{\"courseName\":[1,\"course-name\"],\"toggleStudentClickFn\":[16],\"hidden\":[32]},[[9,\"scroll\",\"handleScroll\"]]],[4,\"sparkle-page\",{\"history\":[16],\"path\":[1],\"presentation\":[4],\"badFetch\":[32],\"page\":[32],\"isLesson\":[32]}],[4,\"sparkle-root\",{\"config\":[16]}],[0,\"sparkle-unauthorized\"],[0,\"stencil-route\",{\"group\":[513],\"componentUpdated\":[16],\"match\":[1040],\"url\":[1],\"component\":[1],\"componentProps\":[16],\"exact\":[4],\"routeRender\":[16],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"routeViewsUpdated\":[16],\"location\":[16],\"history\":[16],\"historyType\":[1,\"history-type\"]}],[4,\"stencil-router\",{\"root\":[1],\"historyType\":[1,\"history-type\"],\"titleSuffix\":[1,\"title-suffix\"],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"location\":[32],\"history\":[32]}],[0,\"sparkle-gww-item\",{\"post\":[16],\"onPostComment\":[16],\"loading\":[4],\"comment\":[32]},[[16,\"commentPosted\",\"clearCommentField\"]]],[0,\"sparkle-goal-item\",{\"goal\":[16],\"onEditGoal\":[16]}],[0,\"sparkle-page-footer\",{\"page\":[16]}],[0,\"sparkle-nav\",{\"toc\":[16],\"config\":[16],\"selectedParent\":[1040],\"moduleURLName\":[32],\"sessionURLName\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"]]],[1,\"ion-grid\",{\"fixed\":[4]}],[4,\"sparkle-cards\"],[0,\"sparkle-export-lessons\",{\"tocData\":[32],\"moduleContent\":[32],\"moduleName\":[32],\"page\":[32]}],[0,\"sparkle-facilitator-dashboard\",{\"tocData\":[32],\"selectedModule\":[32],\"selectedSession\":[32],\"selectedPage\":[32],\"showAllModules\":[32]}],[0,\"sparkle-facilitator-notes\"],[0,\"sparkle-online-students\",{\"path\":[1],\"onlineStudents\":[32]}],[4,\"stencil-route-switch\",{\"group\":[513],\"scrollTopOffset\":[2,\"scroll-top-offset\"],\"location\":[16],\"routeViewsUpdated\":[16]}],[0,\"stencil-router-redirect\",{\"history\":[16],\"root\":[1],\"url\":[1]}],[4,\"sparkle-card\",{\"href\":[1],\"header\":[1],\"icon\":[1],\"hoverIcon\":[1,\"hover-icon\"],\"iconset\":[1],\"ionicon\":[1],\"img\":[1],\"size\":[1],\"activeIndex\":[32]}],[4,\"sparkle-button\",{\"href\":[1],\"round\":[516],\"primary\":[516]}],[0,\"sparkle-pagination\",{\"page\":[16]}],[4,\"header-mobile-collapse\",{\"darkMode\":[4,\"dark-mode\"],\"mobileDropdownActive\":[32],\"stuck\":[32],\"queued\":[32]},[[16,\"pageChanged\",\"deactivate\"]]],[1,\"ion-col\",{\"offset\":[1],\"offsetXs\":[1,\"offset-xs\"],\"offsetSm\":[1,\"offset-sm\"],\"offsetMd\":[1,\"offset-md\"],\"offsetLg\":[1,\"offset-lg\"],\"offsetXl\":[1,\"offset-xl\"],\"pull\":[1],\"pullXs\":[1,\"pull-xs\"],\"pullSm\":[1,\"pull-sm\"],\"pullMd\":[1,\"pull-md\"],\"pullLg\":[1,\"pull-lg\"],\"pullXl\":[1,\"pull-xl\"],\"push\":[1],\"pushXs\":[1,\"push-xs\"],\"pushSm\":[1,\"push-sm\"],\"pushMd\":[1,\"push-md\"],\"pushLg\":[1,\"push-lg\"],\"pushXl\":[1,\"push-xl\"],\"size\":[1],\"sizeXs\":[1,\"size-xs\"],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]},[[9,\"resize\",\"onResize\"]]],[1,\"ion-row\"],[0,\"sparkle-menu-toggle\"],[4,\"sparkle-dropdown\",{\"align\":[1],\"label\":[1],\"icon\":[16],\"image\":[1],\"isOpen\":[32],\"close\":[64],\"open\":[64],\"toggle\":[64]},[[8,\"click\",\"handleClick\"],[0,\"keyup\",\"handleKeyup\"]]],[0,\"sparkle-validation-error\",{\"errors\":[16]}],[33,\"ion-card\",{\"color\":[513],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[32,\"ion-card-content\"],[0,\"sparkle-goal-progress\",{\"percentage\":[1]}],[33,\"ion-range\",{\"color\":[513],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"pinFormatter\":[16],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"activeBarStart\":[1026,\"active-bar-start\"],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}],[33,\"ion-avatar\"],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]],[1,\"ion-text\",{\"color\":[513]}],[33,\"ion-checkbox\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[8]}],[33,\"ion-radio\",{\"color\":[513],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[33,\"ion-list-header\",{\"color\":[513],\"lines\":[1]}],[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"accept\":[1],\"autocapitalize\":[1],\"autocomplete\":[1],\"autocorrect\":[1],\"autofocus\":[4],\"clearInput\":[4,\"clear-input\"],\"clearOnEdit\":[4,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"enterkeyhint\":[1],\"inputmode\":[1],\"max\":[8],\"maxlength\":[2],\"min\":[8],\"minlength\":[2],\"multiple\":[4],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"step\":[1],\"size\":[2],\"type\":[1],\"value\":[1032],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}],[32,\"ion-list\",{\"lines\":[1],\"inset\":[4],\"closeSlidingItems\":[64]}],[4,\"stencil-route-link\",{\"url\":[1],\"urlMatch\":[1,\"url-match\"],\"activeClass\":[1,\"active-class\"],\"exact\":[4],\"strict\":[4],\"custom\":[1],\"anchorClass\":[1,\"anchor-class\"],\"anchorRole\":[1,\"anchor-role\"],\"anchorTitle\":[1,\"anchor-title\"],\"anchorTabIndex\":[1,\"anchor-tab-index\"],\"anchorId\":[1,\"anchor-id\"],\"history\":[16],\"location\":[16],\"root\":[1],\"ariaHaspopup\":[1,\"aria-haspopup\"],\"ariaPosinset\":[1,\"aria-posinset\"],\"ariaSetsize\":[2,\"aria-setsize\"],\"ariaLabel\":[1,\"aria-label\"],\"match\":[32]}],[1,\"ion-spinner\",{\"color\":[513],\"duration\":[2],\"name\":[1],\"paused\":[4]}],[34,\"ion-label\",{\"color\":[513],\"position\":[1],\"noAnimate\":[32]}],[33,\"ion-button\",{\"color\":[513],\"buttonType\":[1025,\"button-type\"],\"disabled\":[516],\"expand\":[513],\"fill\":[1537],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"download\":[1],\"href\":[1],\"rel\":[1],\"shape\":[513],\"size\":[513],\"strong\":[4],\"target\":[1],\"type\":[1]}],[49,\"ion-item\",{\"color\":[513],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"fill\":[1],\"shape\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"counter\":[4],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"counterFormatter\":[16],\"multipleInputs\":[32],\"focusable\":[32],\"counterString\":[32]},[[0,\"ionChange\",\"handleIonChange\"],[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[33,\"ion-note\",{\"color\":[513]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[513],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32],\"ariaLabel\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]]]"), options);
|
22
22
|
});
|
@@ -0,0 +1,281 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-51e8292e.js');
|
6
|
+
const signalR_service = require('./signalR.service-0d5da1d3.js');
|
7
|
+
require('./environment-config.service-c8ff1f3d.js');
|
8
|
+
require('./auth.store-1e630a7d.js');
|
9
|
+
require('./token.service-bfb0089b.js');
|
10
|
+
require('./localstorage.service-6346a41d.js');
|
11
|
+
|
12
|
+
const sparkleDiscussionQuestionsCss = "div.question{margin-bottom:5px}div.question ul{padding-left:5px}div.question li{list-style-type:none;cursor:pointer;background:#e5053a;border-radius:4px;vertical-align:middle;line-height:40px;padding-left:20px;color:#fff;margin-bottom:5px}.question h3{color:#333;padding-top:14px;margin-bottom:4px;font-size:16px}div.question li.selected{font-weight:bold;background:#9e0428}input[type='text']{width:100%;padding:12px 20px;margin:8px 0;box-sizing:border-box;border:2px solid #ccc;-webkit-transition:0.5s;transition:0.5s;outline:none}input[type='text']:focus{border:2px solid var(--ion-color-primary)}ion-item .item-native{padding-left:0px !important}ion-button.suggetion-btn{margin-left:0px !important}.graph-container{display:flex;flex-direction:row;flex-wrap:wrap;flex-direction:column}.graph-container .question-title{width:100%}.graph-container div.question{display:flex;flex-direction:column;justify-content:flex-end;flex-basis:100px}.graph-container div.question p{text-align:center}.answer-column{background-color:antiquewhite;flex:0 0 auto;text-align:center;color:#c0873c;flex-basis:100px}.toggle-mode{color:#888}.cloud{display:inline;list-style-type:none;width:400px}.cloud>div{list-style:none;display:inline;padding:20px}.cloud>div:nth-of-type(3n+1){font-size:1.25em}.cloud>div:nth-of-type(4n+3){font-size:1.5em}.cloud>div:nth-of-type(5n - 3){font-size:1em}.bar-graph-column{display:flex;align-items:flex-end}.bar-graph-questions{display:flex;align-items:flex-start}";
|
13
|
+
|
14
|
+
const SparkleDiscussionQuestions = class {
|
15
|
+
constructor(hostRef) {
|
16
|
+
index.registerInstance(this, hostRef);
|
17
|
+
this.allowPostToFeed = false;
|
18
|
+
this.feedStartingText = 'My suggestions are:';
|
19
|
+
this.isTeacherMode = false;
|
20
|
+
this.questions = [];
|
21
|
+
this.error = '';
|
22
|
+
this.modelChange = '';
|
23
|
+
this.responses = [];
|
24
|
+
this.tempResponses = [];
|
25
|
+
this.suggestionList = [];
|
26
|
+
this.postToFeedTextValue = '';
|
27
|
+
}
|
28
|
+
componentDidLoad() { }
|
29
|
+
resetPollData() {
|
30
|
+
signalR_service.SignalRService.getInstance().callSignalR('ResetPollData', {});
|
31
|
+
}
|
32
|
+
selectOption(evt, question, option) {
|
33
|
+
evt.target.parentElement.childNodes.forEach(e => e.classList.remove('selected'));
|
34
|
+
evt.target.classList.add('selected');
|
35
|
+
//console.log(question, option);
|
36
|
+
signalR_service.SignalRService.getInstance().callSignalR('PollSubmission', {
|
37
|
+
questionId: question.questionId,
|
38
|
+
question: question.questionText,
|
39
|
+
answer: option.option,
|
40
|
+
responseType: question.questionType,
|
41
|
+
pageUrl: window.location.href,
|
42
|
+
});
|
43
|
+
}
|
44
|
+
addSuggestion(evt, question) {
|
45
|
+
var inputVal = evt.target.parentElement.parentElement.querySelector('input[type=text]');
|
46
|
+
if (inputVal.value == '' || !inputVal.value) {
|
47
|
+
this.error = 'Please enter the value';
|
48
|
+
}
|
49
|
+
else {
|
50
|
+
signalR_service.SignalRService.getInstance().callSignalR('PollSubmission', {
|
51
|
+
questionId: question.questionId,
|
52
|
+
question: question.questionText,
|
53
|
+
answer: inputVal.value,
|
54
|
+
responseType: question.questionType,
|
55
|
+
pageUrl: window.location.href,
|
56
|
+
});
|
57
|
+
// this.dataSvc.callSignalR(
|
58
|
+
// {
|
59
|
+
// questionId: question.questionId,
|
60
|
+
// question: question.question,
|
61
|
+
// answer: inputVal.value,
|
62
|
+
// responseType: question.responseType,
|
63
|
+
// },
|
64
|
+
// 'PollSubmission',
|
65
|
+
// true,
|
66
|
+
// );
|
67
|
+
//&& question.updateFeedText
|
68
|
+
if (this.allowPostToFeed) {
|
69
|
+
this.suggestionList.push({ questionId: question.questionId, question: question.questionText, answer: inputVal.value, responseType: question.questionType });
|
70
|
+
let value = this.suggestionList
|
71
|
+
.map(x => x.answer)
|
72
|
+
.join(', ')
|
73
|
+
.toString();
|
74
|
+
this.postToFeedTextValue = this.feedStartingText + ' ' + value;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
// async presentToast(message: string) {
|
79
|
+
// const toast = await this.toastCtrl.create({
|
80
|
+
// message: message,
|
81
|
+
// duration: 2000
|
82
|
+
// });
|
83
|
+
// await toast.present();
|
84
|
+
// }
|
85
|
+
toggleMode() {
|
86
|
+
this.isTeacherMode = !this.isTeacherMode;
|
87
|
+
}
|
88
|
+
renderOptions(question) {
|
89
|
+
if (question.questionType == 'MULTIPLE-CHOICE') {
|
90
|
+
return (index.h("ul", null, question.options.map(opt => (index.h("li", { onClick: evt => this.selectOption(evt, question, opt) }, opt.option)))));
|
91
|
+
}
|
92
|
+
else if (question.questionType == 'FEEDBACK') {
|
93
|
+
return (index.h("ion-item", null, index.h("ion-label", null, "Choose Option ", index.h("ion-icon", { name: "arrow-back", mode: "ios" })), index.h("ion-select", { id: "customAlertSelect", interface: "alert" }, index.h("ion-select-option", { value: "bacon" }, "Bacon"), index.h("ion-select-option", { value: "olives" }, "Black Olives"), index.h("ion-select-option", { value: "xcheese" }, "Extra Cheese"), index.h("ion-select-option", { value: "peppers" }, "Green Peppers"), index.h("ion-select-option", { value: "mushrooms" }, "Mushrooms"), index.h("ion-select-option", { value: "onions" }, "Onions"), index.h("ion-select-option", { value: "pepperoni" }, "Pepperoni"), index.h("ion-select-option", { value: "pineapple" }, "Pineapple"), index.h("ion-select-option", { value: "sausage" }, "Sausage"), index.h("ion-select-option", { value: "Spinach" }, "Spinach"))));
|
94
|
+
}
|
95
|
+
else {
|
96
|
+
return (index.h("div", null, index.h("input", { slot: "start", type: "text", placeholder: "Type suggestion" }), index.h("div", null, this.error), index.h("ion-item", null, index.h("ion-button", { class: "suggetion-btn", size: "default", slot: "end", color: "primary", onClick: evt => this.addSuggestion(evt, question) }, "ADD SUGGESTION"))));
|
97
|
+
}
|
98
|
+
}
|
99
|
+
renderQuestions() {
|
100
|
+
return [
|
101
|
+
this.questions.map(q => (index.h("div", { class: 'question' }, index.h("h3", null, q.questionText, ' ', index.h("span", { class: "toggle-mode", onClick: () => this.toggleMode() }, ".")), this.renderOptions(q)))),
|
102
|
+
this.allowPostToFeed ? index.h("sparkle-feed-post", { assignmentName: this.postToFeedAssignmentName, textValue: this.postToFeedTextValue }) : '',
|
103
|
+
];
|
104
|
+
}
|
105
|
+
render() {
|
106
|
+
return this.renderQuestions();
|
107
|
+
}
|
108
|
+
get el() { return index.getElement(this); }
|
109
|
+
};
|
110
|
+
SparkleDiscussionQuestions.style = sparkleDiscussionQuestionsCss;
|
111
|
+
|
112
|
+
const sparkleDiscussionResultsCss = "div.question{margin-bottom:5px}div.question ul{padding-left:5px}div.question li{list-style-type:none;cursor:pointer;background:#e5053a;border-radius:4px;vertical-align:middle;line-height:40px;padding-left:20px;color:#fff;margin-bottom:5px}.question h3{color:#333;padding-top:14px;margin-bottom:4px;font-size:16px}div.question li.selected{font-weight:bold;background:#9e0428}input[type='text']{width:100%;padding:12px 20px;margin:8px 0;box-sizing:border-box;border:2px solid #ccc;-webkit-transition:0.5s;transition:0.5s;outline:none}input[type='text']:focus{border:2px solid var(--ion-color-primary)}ion-item .item-native{padding-left:0px !important}ion-button.suggetion-btn{margin-left:0px !important}.graph-container{display:flex;flex-direction:row;flex-wrap:wrap;flex-direction:column}.graph-container .question-title{width:100%}.graph-container div.question{display:flex;flex-direction:column;justify-content:flex-end;flex-basis:100px}.graph-container div.question p{text-align:center}.answer-column{background-color:rgba(var(--ion-color-sparkle-rgb), var(--bg-alpha, 0.06));flex:0 0 auto;text-align:center;color:#c0873c;flex-basis:100px;margin-bottom:14px}.toggle-mode{color:#888}.cloud{display:inline;list-style-type:none;width:400px}.cloud>div{list-style:none;display:inline;padding:20px}.cloud>div:nth-of-type(3n+1){font-size:1.25em}.cloud>div:nth-of-type(4n+3){font-size:1.5em}.cloud>div:nth-of-type(5n - 3){font-size:1em}.bar-graph-column{display:flex;align-items:flex-end}.bar-graph-questions{display:flex;align-items:flex-start}";
|
113
|
+
|
114
|
+
const SparkleDiscussionResults = class {
|
115
|
+
constructor(hostRef) {
|
116
|
+
index.registerInstance(this, hostRef);
|
117
|
+
this.allowPostToFeed = false;
|
118
|
+
this.feedStartingText = 'My suggestions are:';
|
119
|
+
this.isTeacherMode = false;
|
120
|
+
this.questions = [];
|
121
|
+
this.error = '';
|
122
|
+
this.modelChange = '';
|
123
|
+
this.responses = [];
|
124
|
+
this.tempResponses = [];
|
125
|
+
this.suggestionList = [];
|
126
|
+
}
|
127
|
+
questionsChaged(newValue, _oldValue) {
|
128
|
+
this.setupData(newValue);
|
129
|
+
}
|
130
|
+
//Any child component can liste for server events like
|
131
|
+
gotServerUpdate(evt) {
|
132
|
+
if (this.isTeacherMode) {
|
133
|
+
var detail = evt.detail;
|
134
|
+
if (detail.type == 'list') {
|
135
|
+
detail.data.forEach(element => {
|
136
|
+
if (element.responseType == 'TEXT') {
|
137
|
+
this.addToWordCloud(element);
|
138
|
+
}
|
139
|
+
else if (element.responseType == 'MULTIPLE-CHOICE') {
|
140
|
+
this.addToBarChart(element);
|
141
|
+
}
|
142
|
+
});
|
143
|
+
}
|
144
|
+
else if (detail.type == 'removed') {
|
145
|
+
this.responses = [...this.tempResponses];
|
146
|
+
}
|
147
|
+
else {
|
148
|
+
detail = detail.data;
|
149
|
+
if (detail.responseType == 'TEXT') {
|
150
|
+
this.addToWordCloud(detail);
|
151
|
+
}
|
152
|
+
else if (detail.responseType == 'MULTIPLE-CHOICE') {
|
153
|
+
this.addToBarChart(detail);
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
addToWordCloud(q) {
|
159
|
+
var isExistObj = this.responses.find(x => x.question == q.question);
|
160
|
+
if (isExistObj) {
|
161
|
+
this.responses = this.responses.map(resp => {
|
162
|
+
if (resp.question == q.question) {
|
163
|
+
return q;
|
164
|
+
}
|
165
|
+
return resp;
|
166
|
+
});
|
167
|
+
}
|
168
|
+
else {
|
169
|
+
this.responses = [...this.responses, q];
|
170
|
+
}
|
171
|
+
console.log(this.responses);
|
172
|
+
}
|
173
|
+
addToBarChart(q) {
|
174
|
+
var isExistObj = this.responses.find(x => x.question == q.question);
|
175
|
+
if (isExistObj) {
|
176
|
+
isExistObj.responses = isExistObj.responses.map(resp => {
|
177
|
+
var correctData = q.responses.find(x => x.response == resp.response);
|
178
|
+
if (correctData) {
|
179
|
+
return correctData;
|
180
|
+
}
|
181
|
+
return resp;
|
182
|
+
});
|
183
|
+
isExistObj.total = q.total;
|
184
|
+
this.responses = this.responses.map(resp => {
|
185
|
+
if (resp.question == isExistObj.question) {
|
186
|
+
return isExistObj;
|
187
|
+
}
|
188
|
+
return resp;
|
189
|
+
});
|
190
|
+
}
|
191
|
+
else {
|
192
|
+
this.responses = [...this.responses, q];
|
193
|
+
}
|
194
|
+
}
|
195
|
+
componentDidLoad() {
|
196
|
+
if (this.questions) {
|
197
|
+
this.setupData(this.questions);
|
198
|
+
signalR_service.signalRStore.onChange('connected', connected => {
|
199
|
+
if (connected && this.isTeacherMode) {
|
200
|
+
signalR_service.SignalRService.getInstance().callSignalR('GetPollSubmission', { pageUrl: window.location.href });
|
201
|
+
}
|
202
|
+
});
|
203
|
+
}
|
204
|
+
}
|
205
|
+
setupData(questions) {
|
206
|
+
this.setupResponseGraph(questions);
|
207
|
+
// if (this.isTeacherMode) {
|
208
|
+
// SignalRService.getInstance().callSignalR('GetPollSubmission', {});
|
209
|
+
// }
|
210
|
+
}
|
211
|
+
resetPollData() {
|
212
|
+
signalR_service.SignalRService.getInstance().callSignalR('ResetPollData', {});
|
213
|
+
}
|
214
|
+
setupResponseGraph(questions) {
|
215
|
+
this.responses = [];
|
216
|
+
questions.forEach(q => {
|
217
|
+
if (q.questionType == 'TEXT') {
|
218
|
+
this.responses = [
|
219
|
+
...this.responses,
|
220
|
+
{
|
221
|
+
question: q.questionText,
|
222
|
+
responseType: q.questionType,
|
223
|
+
responses: [],
|
224
|
+
total: 0,
|
225
|
+
},
|
226
|
+
];
|
227
|
+
this.tempResponses = this.responses.slice();
|
228
|
+
}
|
229
|
+
else if (q.questionType == 'MULTIPLE-CHOICE') {
|
230
|
+
var answer = [];
|
231
|
+
Object.keys(q.options).map((o) => {
|
232
|
+
answer.push({ count: 0, response: q.options[o].option });
|
233
|
+
});
|
234
|
+
this.responses = [...this.responses, { question: q.questionText, responseType: q.questionType, responses: answer, total: 0 }];
|
235
|
+
this.tempResponses = this.responses.slice();
|
236
|
+
}
|
237
|
+
});
|
238
|
+
console.log(this.responses);
|
239
|
+
}
|
240
|
+
columnHeight(responseCount, totalResponseCount) {
|
241
|
+
let maxScale = 100;
|
242
|
+
let scaleUnit = 0;
|
243
|
+
if (totalResponseCount != 0) {
|
244
|
+
scaleUnit = maxScale / totalResponseCount;
|
245
|
+
}
|
246
|
+
var size = scaleUnit * responseCount;
|
247
|
+
return { height: `${size}px` };
|
248
|
+
}
|
249
|
+
getRandomColorAndFontSize(count) {
|
250
|
+
const h = Math.floor(Math.random() * 360), s = Math.floor(Math.random() * 100) + '%', l = Math.floor(Math.random() * 60) + '%';
|
251
|
+
let fontSize = 1;
|
252
|
+
if (count > 0) {
|
253
|
+
fontSize = fontSize + (count - 1) * 0.25;
|
254
|
+
}
|
255
|
+
return { 'color': `hsl(${h},${s},${l})`, 'font-size': `${fontSize}em` };
|
256
|
+
}
|
257
|
+
renderResults() {
|
258
|
+
console.log('Responsed', this.responses);
|
259
|
+
var barResponses = this.responses.filter(x => x.responseType == 'MULTIPLE-CHOICE');
|
260
|
+
var cloudResponses = this.responses.filter(x => x.responseType == 'TEXT');
|
261
|
+
return [
|
262
|
+
// <ion-button size="default" slot="end" color="primary" onClick={(evt) => this.resetPollData()} >Reset</ion-button>,
|
263
|
+
barResponses.map((q) => (index.h("div", null, ' ', index.h("h3", { class: "line" }, q.question), index.h("div", { class: "graph-container" }, index.h("div", { class: "bar-graph-column" }, q.responses.map(r => (index.h("div", { class: "answer-column", style: this.columnHeight(r.count, q.total) }, r.count)))), index.h("div", { class: "bar-graph-questions" }, q.responses.map(r => (index.h("div", { class: 'question' }, index.h("p", null, r.response))))))))),
|
264
|
+
cloudResponses.map(q => [
|
265
|
+
index.h("p", null, index.h("h3", { class: "line" }, q.question)),
|
266
|
+
index.h("div", { class: "cloud" }, q.responses.map(r => (index.h("div", { style: this.getRandomColorAndFontSize(r.count) }, r.response)))),
|
267
|
+
]),
|
268
|
+
];
|
269
|
+
}
|
270
|
+
render() {
|
271
|
+
return this.renderResults();
|
272
|
+
}
|
273
|
+
get el() { return index.getElement(this); }
|
274
|
+
static get watchers() { return {
|
275
|
+
"questions": ["questionsChaged"]
|
276
|
+
}; }
|
277
|
+
};
|
278
|
+
SparkleDiscussionResults.style = sparkleDiscussionResultsCss;
|
279
|
+
|
280
|
+
exports.sparkle_discussion_questions = SparkleDiscussionQuestions;
|
281
|
+
exports.sparkle_discussion_results = SparkleDiscussionResults;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-51e8292e.js');
|
6
|
+
const environmentConfig_service = require('./environment-config.service-c8ff1f3d.js');
|
7
|
+
const assets_service = require('./assets.service-bfa75092.js');
|
8
|
+
require('./auth.store-1e630a7d.js');
|
9
|
+
|
10
|
+
const sparkleDiscussionCss = "sparkle-discussion{border:1px solid var(--line-rule-color);display:block;padding:12px}";
|
11
|
+
|
12
|
+
const SparkleDiscussion = class {
|
13
|
+
constructor(hostRef) {
|
14
|
+
index.registerInstance(this, hostRef);
|
15
|
+
this.allowPostToFeed = false;
|
16
|
+
this.feedStartingText = 'My suggestions are:';
|
17
|
+
this.isTeacherMode = false;
|
18
|
+
this.quizData = [];
|
19
|
+
}
|
20
|
+
async componentDidLoad() {
|
21
|
+
this.isTeacherMode = this.isTeacherMode == false ? window.location.href.indexOf('/presentation/course') > -1 : this.isTeacherMode;
|
22
|
+
const config = environmentConfig_service.EnvironmentConfigService.getInstance().get('sparkle');
|
23
|
+
let allQuizData = await assets_service.AssetsService.getInstance().loadJsonFile(config.quizPath);
|
24
|
+
if (allQuizData) {
|
25
|
+
if (this.questionIds) {
|
26
|
+
let questionIds = this.questionIds.split(',');
|
27
|
+
this.quizData = [];
|
28
|
+
questionIds.forEach(id => {
|
29
|
+
this.quizData = [...this.quizData, allQuizData[+id]];
|
30
|
+
});
|
31
|
+
console.log('QUIZ Data', this.quizData);
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
render() {
|
36
|
+
return this.isTeacherMode ? (index.h("sparkle-discussion-results", { allowPostToFeed: this.allowPostToFeed, feedStartingText: this.feedStartingText, isTeacherMode: this.isTeacherMode, questions: this.quizData })) : (index.h("sparkle-discussion-questions", { allowPostToFeed: this.allowPostToFeed, feedStartingText: this.feedStartingText, isTeacherMode: this.isTeacherMode, questions: this.quizData }));
|
37
|
+
}
|
38
|
+
get el() { return index.getElement(this); }
|
39
|
+
};
|
40
|
+
SparkleDiscussion.style = sparkleDiscussionCss;
|
41
|
+
|
42
|
+
exports.sparkle_discussion = SparkleDiscussion;
|