@sparkle-learning/core 0.0.26 → 0.0.29
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-cee9b061.js → PrivateRoute-81e20cbf.js} +4 -38
- package/dist/cjs/feed.service-032c2ecc.js +124 -0
- package/dist/cjs/header-mobile-collapse_60.cjs.entry.js +5 -3
- package/dist/cjs/index.cjs.js +2 -1
- package/dist/cjs/{index.es-91493ac6.js → index.es-11437480.js} +5 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/localstorage.service-6346a41d.js +40 -0
- package/dist/cjs/{purify-ed567052.js → purify-a443f0eb.js} +1 -1
- package/dist/cjs/sparkle-animation-player.cjs.entry.js +55 -49
- package/dist/cjs/sparkle-character-intro.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-core.cjs.js +1 -1
- package/dist/cjs/sparkle-goal-form.cjs.entry.js +9 -8
- package/dist/cjs/{feed.service-518d18fd.js → util-b0e2ec9f.js} +1 -121
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +78 -66
- package/dist/collection/components/sparkle-character-intro/assets/characters/character-img.jpg +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/jen.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/kimberly.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/valeria.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/yuna.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/zynab.png +0 -0
- package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.css +67 -0
- package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.js +64 -0
- package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +48 -43
- package/dist/collection/util.js +1 -0
- package/dist/esm/{PrivateRoute-9f0973bb.js → PrivateRoute-df0d1e6b.js} +1 -35
- package/dist/esm/feed.service-694d3d54.js +119 -0
- package/dist/esm/header-mobile-collapse_60.entry.js +5 -3
- package/dist/esm/{index.es-32e2f407.js → index.es-1d452836.js} +5 -3
- package/dist/esm/index.js +2 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/localstorage.service-4bf408c8.js +36 -0
- package/dist/esm/{purify-f1a55787.js → purify-7e29b899.js} +1 -1
- package/dist/esm/sparkle-animation-player.entry.js +55 -49
- package/dist/esm/sparkle-character-intro.entry.js +22 -0
- package/dist/esm/sparkle-core.js +1 -1
- package/dist/esm/sparkle-goal-form.entry.js +2 -1
- package/dist/esm/{feed.service-0fda1e36.js → util-042b5fee.js} +2 -118
- package/dist/sparkle-core/assets/characters/character-img.jpg +0 -0
- package/dist/sparkle-core/assets/characters/jen.png +0 -0
- package/dist/sparkle-core/assets/characters/kimberly.png +0 -0
- package/dist/sparkle-core/assets/characters/valeria.png +0 -0
- package/dist/sparkle-core/assets/characters/yuna.png +0 -0
- package/dist/sparkle-core/assets/characters/zynab.png +0 -0
- package/dist/sparkle-core/index.esm.js +1 -1
- package/dist/sparkle-core/p-0312758b.js +1 -0
- package/dist/sparkle-core/p-396a9849.js +1 -0
- package/dist/sparkle-core/p-4328af62.js +1 -0
- package/dist/sparkle-core/{p-14ff8097.js → p-522733aa.js} +4 -4
- package/dist/sparkle-core/p-5b4938ce.entry.js +1 -0
- package/dist/sparkle-core/p-5d409601.js +1 -0
- package/dist/sparkle-core/p-62a62b6e.entry.js +1 -0
- package/dist/sparkle-core/p-7ecad3fb.entry.js +1 -0
- package/dist/sparkle-core/p-8490f1bc.js +1 -0
- package/dist/sparkle-core/{p-0d3fe46c.js → p-e23bd285.js} +1 -1
- package/dist/sparkle-core/p-e4f41e16.entry.js +1 -0
- package/dist/sparkle-core/sparkle-core.esm.js +1 -1
- package/dist/types/components/sparkle-animation-player/sparkle-animation-player.d.ts +1 -0
- package/dist/types/components/sparkle-character-intro/sparkle-character-intro.d.ts +7 -0
- package/dist/types/components/sparkle-course-root/sparkle-course-root.d.ts +2 -2
- package/dist/types/components.d.ts +17 -0
- package/dist/types/util.d.ts +1 -0
- package/package.json +2 -2
- package/dist/sparkle-core/p-090f2624.js +0 -1
- package/dist/sparkle-core/p-82d95fcd.entry.js +0 -1
- package/dist/sparkle-core/p-ab5cdfeb.js +0 -1
- package/dist/sparkle-core/p-b080c1e3.entry.js +0 -1
- package/dist/sparkle-core/p-bc568dcb.js +0 -1
- package/dist/sparkle-core/p-f6ce91f2.entry.js +0 -1
@@ -0,0 +1,36 @@
|
|
1
|
+
const storage = window.localStorage;
|
2
|
+
function set(key, value) {
|
3
|
+
return new Promise((resolve, reject) => {
|
4
|
+
try {
|
5
|
+
storage && storage.setItem(key, JSON.stringify(value));
|
6
|
+
resolve();
|
7
|
+
}
|
8
|
+
catch (err) {
|
9
|
+
reject(`Couldnt store object ${err}`);
|
10
|
+
}
|
11
|
+
});
|
12
|
+
}
|
13
|
+
function remove(key) {
|
14
|
+
return new Promise((resolve, reject) => {
|
15
|
+
try {
|
16
|
+
storage && storage.removeItem(key);
|
17
|
+
resolve();
|
18
|
+
}
|
19
|
+
catch (err) {
|
20
|
+
reject(`Couldnt remove object ${err}`);
|
21
|
+
}
|
22
|
+
});
|
23
|
+
}
|
24
|
+
function get(key) {
|
25
|
+
try {
|
26
|
+
if (storage) {
|
27
|
+
const item = storage.getItem(key);
|
28
|
+
return JSON.parse(item);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
catch (err) {
|
32
|
+
return null;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
export { get as g, remove as r, set as s };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { c as createCommonjsModule, a as commonjsGlobal } from './header-mobile-collapse.ion-avatar.ion-button.ion-card.ion-card-content.ion-checkbox.ion-col.ion-grid.ion-icon.ion-input.ion-item.ion-label.ion-list.ion-list-header.ion-radio.ion-radio-group.ion-range.ion-ripple-effect.ion-row.ion-spinner.ion-text.sparkle-button.sparkle-card.sparkle-cards.sparkle-course-root.sparkle-dropdown.sparkle-export-lessons.sparkle-facilitator-dashboard.sparkle-facilitator-header.sparkle-facilitator-notes.sparkle-facilitator-page.sparkle-forgot-password.sparkle-goal-item.sparkle-goal-progress.sparkle-goals.sparkle-gww.sparkle-gww-item.sparkle-header.sparkle-health.sparkle-login.sparkle-menu.sparkle-menu-toggle.sparkle-mood.sparkle-nav.sparkle-online-students.sparkle-page.sparkle-page-footer.sparkle-pagination.sparkle-reset-password.sparkle-root.sparkle-signup.sparkle-unauthorized.sparkle-user-enrollment.sparkle-user-profile.sparkle-validation-error.stencil-route.stencil-route-link.stencil-route-switch.stencil-router.stencil-router-redirect-
|
1
|
+
import { c as createCommonjsModule, a as commonjsGlobal } from './header-mobile-collapse.ion-avatar.ion-button.ion-card.ion-card-content.ion-checkbox.ion-col.ion-grid.ion-icon.ion-input.ion-item.ion-label.ion-list.ion-list-header.ion-radio.ion-radio-group.ion-range.ion-ripple-effect.ion-row.ion-spinner.ion-text.sparkle-button.sparkle-card.sparkle-cards.sparkle-course-root.sparkle-dropdown.sparkle-export-lessons.sparkle-facilitator-dashboard.sparkle-facilitator-header.sparkle-facilitator-notes.sparkle-facilitator-page.sparkle-forgot-password.sparkle-goal-item.sparkle-goal-progress.sparkle-goals.sparkle-gww.sparkle-gww-item.sparkle-header.sparkle-health.sparkle-login.sparkle-menu.sparkle-menu-toggle.sparkle-mood.sparkle-nav.sparkle-online-students.sparkle-page.sparkle-page-footer.sparkle-pagination.sparkle-reset-password.sparkle-root.sparkle-signup.sparkle-unauthorized.sparkle-user-enrollment.sparkle-user-profile.sparkle-validation-error.stencil-route.stencil-route-link.stencil-route-switch.stencil-router.stencil-router-redirect-da746cb2.js';
|
2
2
|
|
3
3
|
var purify = createCommonjsModule(function (module, exports) {
|
4
4
|
/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { r as registerInstance, h, a as getAssetPath, d as getElement } from './index-55fc9f5e.js';
|
2
|
+
import { g as get } from './localstorage.service-4bf408c8.js';
|
3
|
+
import { S as SparkleGlobal } from './util-042b5fee.js';
|
2
4
|
|
3
5
|
//https://github.com/bazh/subtitles-parser/blob/master/index.js
|
4
6
|
class CaptionParser {
|
@@ -104,24 +106,28 @@ const SparkleAnimationPlayer = class {
|
|
104
106
|
this.paused = true;
|
105
107
|
this.dataLoaded = false;
|
106
108
|
this.currentProgressWidth = 0;
|
107
|
-
this.captionText =
|
108
|
-
this.firstFramePath =
|
109
|
+
this.captionText = '';
|
110
|
+
this.firstFramePath = '';
|
109
111
|
this.isBusy = false;
|
110
|
-
this.animationVideoProgress =
|
112
|
+
this.animationVideoProgress = '0';
|
111
113
|
this.captionData = {};
|
112
114
|
}
|
113
115
|
closedCaptionChange(event) {
|
114
116
|
this.showCaption = !this.showCaption;
|
115
117
|
}
|
118
|
+
onClassRoomModeChanged(event) {
|
119
|
+
this.classMode = event.detail;
|
120
|
+
}
|
116
121
|
componentWillLoad() {
|
117
122
|
// if (!this.isScriptLoaded(this.src)) {
|
118
|
-
this.classMode =
|
119
|
-
|
120
|
-
|
123
|
+
this.classMode = get(SparkleGlobal.LOCALSTORAGE_CLASSROOM_MODE);
|
124
|
+
//this.classMode = this.initialClassMode;
|
125
|
+
const script = document.createElement('script');
|
126
|
+
this.firstFramePath = this.src.replace('.js', '.png');
|
121
127
|
script.src = this.src;
|
122
128
|
//script.async = true;
|
123
129
|
document.body.appendChild(script);
|
124
|
-
this.readTextFile(this.src.replace(
|
130
|
+
this.readTextFile(this.src.replace('.js', '.srt'));
|
125
131
|
this.rergisterSoundControls();
|
126
132
|
// }
|
127
133
|
// else {
|
@@ -131,7 +137,7 @@ const SparkleAnimationPlayer = class {
|
|
131
137
|
readTextFile(fileName) {
|
132
138
|
let that = this;
|
133
139
|
var rawFile = new XMLHttpRequest();
|
134
|
-
rawFile.open(
|
140
|
+
rawFile.open('GET', fileName, false);
|
135
141
|
rawFile.onreadystatechange = function () {
|
136
142
|
if (rawFile.readyState === 4) {
|
137
143
|
if (rawFile.status === 200 || rawFile.status == 0) {
|
@@ -153,15 +159,15 @@ const SparkleAnimationPlayer = class {
|
|
153
159
|
return false;
|
154
160
|
}
|
155
161
|
rergisterSoundControls() {
|
156
|
-
window[
|
162
|
+
window['playSound'] = (id, loop) => {
|
157
163
|
if (this.sound) {
|
158
164
|
this.sound.stop();
|
159
165
|
}
|
160
166
|
this.sound = createjs.Sound.play(id, { interrupt: createjs.Sound.INTERRUPT_EARLY, loop: 0, volume: 1 });
|
161
167
|
return this.sound;
|
162
168
|
};
|
163
|
-
window[
|
164
|
-
console.log(
|
169
|
+
window['resetToStart'] = () => {
|
170
|
+
console.log('reset');
|
165
171
|
this.rewindAnimationToStart();
|
166
172
|
};
|
167
173
|
}
|
@@ -176,15 +182,13 @@ const SparkleAnimationPlayer = class {
|
|
176
182
|
}
|
177
183
|
handleFileLoad(evt) {
|
178
184
|
var images = this.comp.getImages();
|
179
|
-
if (evt &&
|
185
|
+
if (evt && evt.item.type == 'image') {
|
180
186
|
images[evt.item.id] = evt.result;
|
181
187
|
}
|
182
188
|
}
|
183
189
|
handleQueueProgress(that) {
|
184
|
-
return
|
185
|
-
this.animationVideoProgress = progress.loaded
|
186
|
-
? (progress.loaded * 100).toFixed(0)
|
187
|
-
: "0";
|
190
|
+
return progress => {
|
191
|
+
this.animationVideoProgress = progress.loaded ? (progress.loaded * 100).toFixed(0) : '0';
|
188
192
|
if (progress.loaded == 1) {
|
189
193
|
this.doneLoading();
|
190
194
|
}
|
@@ -196,18 +200,20 @@ const SparkleAnimationPlayer = class {
|
|
196
200
|
//var lib = this.comp.getLibrary();
|
197
201
|
var ssMetadata = this.library.ssMetadata;
|
198
202
|
for (var i = 0; i < ssMetadata.length; i++) {
|
199
|
-
ss[ssMetadata[i].name] = new createjs.SpriteSheet({
|
203
|
+
ss[ssMetadata[i].name] = new createjs.SpriteSheet({ images: [queue.getResult(ssMetadata[i].name)], frames: ssMetadata[i].frames });
|
200
204
|
}
|
201
205
|
var jsFileName = this.src.substring(this.src.lastIndexOf('/') + 1, this.src.lastIndexOf('.'));
|
202
|
-
this.exportRoot = new this.library[jsFileName];
|
206
|
+
this.exportRoot = new this.library[jsFileName]();
|
203
207
|
this.stage = new this.library.Stage(this.canvas);
|
204
208
|
this.makeResponsive(true, 'both', false, 1);
|
205
209
|
AdobeAn.compositionLoaded(this.library.properties.id);
|
206
210
|
this.stage.addChild(this.exportRoot);
|
207
211
|
createjs.Ticker.framerate = this.library.properties.fps;
|
208
212
|
createjs.Ticker.paused = false;
|
209
|
-
createjs.Ticker.addEventListener(
|
210
|
-
createjs.Ticker.addEventListener(
|
213
|
+
createjs.Ticker.addEventListener('tick', this.stage);
|
214
|
+
createjs.Ticker.addEventListener('tick', evt => {
|
215
|
+
this.tickHandler(evt);
|
216
|
+
});
|
211
217
|
console.log(createjs.Ticker);
|
212
218
|
}
|
213
219
|
loadAnimation() {
|
@@ -215,23 +221,27 @@ const SparkleAnimationPlayer = class {
|
|
215
221
|
if (!createjs.Sound.initializeDefaultPlugins()) {
|
216
222
|
return;
|
217
223
|
}
|
218
|
-
this.canvas = this.el.querySelector(
|
219
|
-
this.anim_container = this.el.querySelector(
|
224
|
+
this.canvas = this.el.querySelector('.video-canvas');
|
225
|
+
this.anim_container = this.el.querySelector('.canvas-container');
|
220
226
|
this.comp = AdobeAn.getComposition(this.composition);
|
221
|
-
this.canvas.style.width =
|
227
|
+
this.canvas.style.width = '100%';
|
222
228
|
console.log(this.canvas.offsetWidth);
|
223
|
-
this.canvas.style.height = this.canvas.offsetWidth +
|
224
|
-
this.anim_container.style.height = this.canvas.offsetWidth +
|
229
|
+
this.canvas.style.height = this.canvas.offsetWidth + 'px';
|
230
|
+
this.anim_container.style.height = this.canvas.offsetWidth + 'px';
|
225
231
|
this.library = this.comp.getLibrary();
|
226
232
|
this.loader = new createjs.LoadQueue(false);
|
227
233
|
this.loader.setMaxConnections(3);
|
228
234
|
this.loader.maintainScriptOrder = true;
|
229
235
|
this.loader.installPlugin(createjs.Sound);
|
230
|
-
this.loader.addEventListener(
|
231
|
-
|
232
|
-
|
236
|
+
this.loader.addEventListener('complete', evt => {
|
237
|
+
this.handleComplete(evt);
|
238
|
+
});
|
239
|
+
this.loader.addEventListener('fileload', evt => {
|
240
|
+
this.handleFileLoad(evt);
|
241
|
+
});
|
242
|
+
this.loader.addEventListener('progress', this.handleQueueProgress(this));
|
233
243
|
//TODO :can't figure out https://github.com/CreateJS/SoundJS/issues/283
|
234
|
-
this.loader.loadManifest(this.library.properties.manifest, true, this.src.substring(0, this.src.lastIndexOf(
|
244
|
+
this.loader.loadManifest(this.library.properties.manifest, true, this.src.substring(0, this.src.lastIndexOf('/') + 1));
|
235
245
|
}
|
236
246
|
playButtonAction() {
|
237
247
|
if (!this.dataLoaded) {
|
@@ -261,7 +271,7 @@ const SparkleAnimationPlayer = class {
|
|
261
271
|
st.paused = newState;
|
262
272
|
}
|
263
273
|
createjs.Ticker.paused = newState;
|
264
|
-
createjs.Ticker.addEventListener(
|
274
|
+
createjs.Ticker.addEventListener('tick', this.stage);
|
265
275
|
this.paused = newState;
|
266
276
|
// let stage = this.stage.children[0];
|
267
277
|
// stage.gotoAndStop(0);
|
@@ -279,7 +289,7 @@ const SparkleAnimationPlayer = class {
|
|
279
289
|
st.paused = newState;
|
280
290
|
}
|
281
291
|
createjs.Ticker.paused = newState;
|
282
|
-
createjs.Ticker.removeEventListener(
|
292
|
+
createjs.Ticker.removeEventListener('tick', this.stage);
|
283
293
|
this.paused = newState;
|
284
294
|
}
|
285
295
|
}
|
@@ -337,16 +347,16 @@ const SparkleAnimationPlayer = class {
|
|
337
347
|
sRatio = Math.max(xRatio, yRatio);
|
338
348
|
}
|
339
349
|
}
|
340
|
-
var anim_container = this.el.querySelector(
|
350
|
+
var anim_container = this.el.querySelector('.canvas-container');
|
341
351
|
// this.canvas.width = w * pRatio * sRatio;
|
342
352
|
// this.canvas.height = h * pRatio * sRatio;
|
343
353
|
// this.canvas.style.width = this.dom_overlay_container.style.width = anim_container.style.width = w * sRatio + 'px';
|
344
354
|
// this.canvas.style.height = anim_container.style.height = this.dom_overlay_container.style.height = h * sRatio + 'px';
|
345
355
|
this.canvas.width = w * pRatio * sRatio;
|
346
356
|
this.canvas.height = h * pRatio * sRatio;
|
347
|
-
this.canvas.style.width =
|
348
|
-
this.canvas.style.height = this.canvas.offsetWidth +
|
349
|
-
anim_container.style.height = this.canvas.offsetWidth +
|
357
|
+
this.canvas.style.width = '100%';
|
358
|
+
this.canvas.style.height = this.canvas.offsetWidth + 'px';
|
359
|
+
anim_container.style.height = this.canvas.offsetWidth + 'px';
|
350
360
|
this.stage.scaleX = pRatio * sRatio;
|
351
361
|
this.stage.scaleY = pRatio * sRatio;
|
352
362
|
lastW = iw;
|
@@ -354,7 +364,7 @@ const SparkleAnimationPlayer = class {
|
|
354
364
|
lastS = sRatio;
|
355
365
|
var newWidth = this.canvas.offsetWidth;
|
356
366
|
this.sizeOfCanvas = newWidth;
|
357
|
-
var progressBar = this.el.querySelector(
|
367
|
+
var progressBar = this.el.querySelector('.progressBar');
|
358
368
|
this.sizeofProgressBar = progressBar.offsetWidth;
|
359
369
|
this.stage.tickOnUpdate = false;
|
360
370
|
this.stage.update();
|
@@ -363,14 +373,12 @@ const SparkleAnimationPlayer = class {
|
|
363
373
|
tickHandler(event) {
|
364
374
|
if (!event.paused) {
|
365
375
|
let stage = this.stage.children[0];
|
366
|
-
this.timeline = stage[
|
376
|
+
this.timeline = stage['timeline'];
|
367
377
|
if (this.captionData[Math.floor(this.timeline.position / this.library.properties.fps)]) {
|
368
378
|
this.captionText = this.captionData[Math.floor(this.timeline.position / this.library.properties.fps)];
|
369
379
|
}
|
370
380
|
if (this.timeline.position % 10 == 0) {
|
371
|
-
this.currentProgressWidth = parseFloat((this.timeline.position /
|
372
|
-
this.timeline.duration *
|
373
|
-
this.sizeofProgressBar).toFixed(0));
|
381
|
+
this.currentProgressWidth = parseFloat(((this.timeline.position / this.timeline.duration) * this.sizeofProgressBar).toFixed(0));
|
374
382
|
}
|
375
383
|
}
|
376
384
|
}
|
@@ -380,7 +388,7 @@ const SparkleAnimationPlayer = class {
|
|
380
388
|
st.paused = true;
|
381
389
|
}
|
382
390
|
let stage = this.stage.children[0];
|
383
|
-
let timeline = stage[
|
391
|
+
let timeline = stage['timeline'];
|
384
392
|
if (newPosition < 0) {
|
385
393
|
newPosition = 0;
|
386
394
|
}
|
@@ -433,8 +441,8 @@ const SparkleAnimationPlayer = class {
|
|
433
441
|
rewindAnimation(event) {
|
434
442
|
event.stopPropagation();
|
435
443
|
let stage = this.stage.children[0];
|
436
|
-
let timeline = stage[
|
437
|
-
let newPosition = Math.round(event.offsetX / this.sizeofProgressBar * timeline.duration);
|
444
|
+
let timeline = stage['timeline'];
|
445
|
+
let newPosition = Math.round((event.offsetX / this.sizeofProgressBar) * timeline.duration);
|
438
446
|
// var soundPosition = this.sound.position + 5000;
|
439
447
|
// console.log("video", newPosition / 1000);
|
440
448
|
// console.log("sound", soundPosition / 1000);
|
@@ -443,7 +451,7 @@ const SparkleAnimationPlayer = class {
|
|
443
451
|
rewind5Sec() {
|
444
452
|
let fps = this.library.properties.fps;
|
445
453
|
let stage = this.stage.children[0];
|
446
|
-
let timeline = stage[
|
454
|
+
let timeline = stage['timeline'];
|
447
455
|
let newPosition = timeline.position - fps * 5;
|
448
456
|
//var soundPosition = this.sound.position - 5000;
|
449
457
|
this.rewindAnimationTo(newPosition);
|
@@ -451,7 +459,7 @@ const SparkleAnimationPlayer = class {
|
|
451
459
|
fastForward5Sec() {
|
452
460
|
let fps = this.library.properties.fps;
|
453
461
|
let stage = this.stage.children[0];
|
454
|
-
let timeline = stage[
|
462
|
+
let timeline = stage['timeline'];
|
455
463
|
let newPosition = timeline.position + fps * 5;
|
456
464
|
// var soundPosition = this.sound.position + 5000;
|
457
465
|
this.rewindAnimationTo(newPosition);
|
@@ -479,11 +487,9 @@ const SparkleAnimationPlayer = class {
|
|
479
487
|
}
|
480
488
|
}
|
481
489
|
render() {
|
482
|
-
return (h("div", { class: "cavase-main-container" }, h("div", { class: "canvas-container", id: "canvas-container" }, !this.classMode ? (h("div", null, h("canvas", { class: "video-canvas", onClick: () => this.playButtonAction() }), this.showCaption ?
|
483
|
-
h("div", { class: "caption" }, this.captionText) : "")) : (""), !this.dataLoaded ? (h("img", { class: "frame-img", src: this.firstFramePath })) : (""), this.classMode ? (h("img", { class: "overlay-img", src: getAssetPath(`./assets/play-button-disabled-overlay.png`) })) : (""), !this.classMode && this.paused ? (h("img", { class: "overlay-img", onClick: () => this.playButtonAction(), src: getAssetPath(`./assets/play-button-overlay.png`) })) : (""), this.isBusy ? (h("div", { class: "loading-container" }, h("div", { class: "uil-ring-css" }, h("div", null), h("a", null, "Loading ", this.animationVideoProgress, "%")))) : ("")), this.dataLoaded ? (h("div", { class: "navControls" }, h("div", { class: "progressBar", onClick: (ev) => this.rewindAnimation(ev) }, h("div", { class: "currentProgress", style: { width: this.currentProgressWidth + "px" } })), h("div", { class: "button-panel" }, h("ion-button", { size: "small", color: "transperant", onClick: () => this.rewind5Sec() }, " ", h("ion-icon", { name: "play-back-outline" }), " "), h("ion-button", { size: "small", color: "transperant", onClick: () => this.playButtonAction() }, " ", this.paused ? (h("ion-icon", { name: "pause-outline" })) : (h("ion-icon", { name: "play-outline" })
|
490
|
+
return (h("div", { class: "cavase-main-container" }, h("div", { class: "canvas-container", id: "canvas-container" }, !this.classMode ? (h("div", null, h("canvas", { class: "video-canvas", onClick: () => this.playButtonAction() }), this.showCaption ? h("div", { class: "caption" }, this.captionText) : '')) : (''), !this.dataLoaded ? h("img", { class: "frame-img", src: this.firstFramePath }) : '', this.classMode ? h("img", { class: "overlay-img", src: getAssetPath(`./assets/play-button-disabled-overlay.png`) }) : '', !this.classMode && this.paused ? h("img", { class: "overlay-img", onClick: () => this.playButtonAction(), src: getAssetPath(`./assets/play-button-overlay.png`) }) : '', this.isBusy ? (h("div", { class: "loading-container" }, h("div", { class: "uil-ring-css" }, h("div", null), h("a", null, "Loading ", this.animationVideoProgress, "%")))) : ('')), this.dataLoaded ? (h("div", { class: "navControls" }, h("div", { class: "progressBar", onClick: ev => this.rewindAnimation(ev) }, h("div", { class: "currentProgress", style: { width: this.currentProgressWidth + 'px' } })), h("div", { class: "button-panel" }, h("ion-button", { size: "small", color: "transperant", onClick: () => this.rewind5Sec() }, ' ', h("ion-icon", { name: "play-back-outline" }), ' '), h("ion-button", { size: "small", color: "transperant", onClick: () => this.playButtonAction() }, ' ', this.paused ? (h("ion-icon", { name: "pause-outline" })) : (h("ion-icon", { name: "play-outline" })
|
484
491
|
// <ion-icon src="/assets/img/play-symbol.svg"></ion-icon>
|
485
|
-
)), h("ion-button", { size: "small", color: "transperant", onClick: () => this.fastForward5Sec() },
|
486
|
-
h("div", { class: "closed-caption" }, h("ion-item", { lines: "none" }, h("ion-label", null, "Closed Caption"), h("ion-toggle", { slot: "end", color: "primary", checked: this.showCaption }))) : ""));
|
492
|
+
)), h("ion-button", { size: "small", color: "transperant", onClick: () => this.fastForward5Sec() }, ' ', h("ion-icon", { name: "play-forward-outline" }))))) : (''), this.dataLoaded && this.captionText ? (h("div", { class: "closed-caption" }, h("ion-item", { lines: "none" }, h("ion-label", null, "Closed Caption"), h("ion-toggle", { slot: "end", color: "primary", checked: this.showCaption })))) : ('')));
|
487
493
|
}
|
488
494
|
static get assetsDirs() { return ["assets"]; }
|
489
495
|
get el() { return getElement(this); }
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { r as registerInstance, h, a as getAssetPath, d as getElement } from './index-55fc9f5e.js';
|
2
|
+
|
3
|
+
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{min-width:300px;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)}";
|
4
|
+
|
5
|
+
const SparkleCharacterIntro = class {
|
6
|
+
constructor(hostRef) {
|
7
|
+
registerInstance(this, hostRef);
|
8
|
+
this.character = 'jen';
|
9
|
+
this.position = 'right';
|
10
|
+
}
|
11
|
+
componentDidLoad() {
|
12
|
+
console.log(this.character);
|
13
|
+
}
|
14
|
+
render() {
|
15
|
+
return (h("div", { class: `character-phrase-block ${this.position}` }, h("div", { class: `character-box ${this.position}` }, h("slot", null)), h("div", { class: `character-image-block ${this.position}` }, h("img", { class: "image-animation", src: getAssetPath('./assets/characters/' + this.character + '.png') }))));
|
16
|
+
}
|
17
|
+
static get assetsDirs() { return ["assets"]; }
|
18
|
+
get el() { return getElement(this); }
|
19
|
+
};
|
20
|
+
SparkleCharacterIntro.style = sparkleCharacterIntroCss;
|
21
|
+
|
22
|
+
export { SparkleCharacterIntro as sparkle_character_intro };
|
package/dist/esm/sparkle-core.js
CHANGED
@@ -16,5 +16,5 @@ const patchBrowser = () => {
|
|
16
16
|
|
17
17
|
patchBrowser().then(options => {
|
18
18
|
globalScripts();
|
19
|
-
return bootstrapLazy(JSON.parse("[[\"sparkle-goal-form\",[[0,\"sparkle-goal-form\",{\"appData\":[16],\"name\":[32],\"description\":[32],\"category\":[32],\"progress\":[32],\"public\":[32],\"goalUpdateText\":[32],\"submitted\":[32]}]]],[\"sparkle-feedback\",[[0,\"sparkle-feedback\",{\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-quiz-container\",[[0,\"sparkle-quiz-container\",{\"questionIds\":[1,\"question-ids\"],\"showInstantResult\":[4,\"show-instant-result\"],\"submitted\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"],[16,\"quizAnswerChanged\",\"updateQuizAnswerModelHandler\"]]]]],[\"sparkle-gww-comment-list\",[[0,\"sparkle-gww-comment-list\",{\"comments\":[16]}]]],[\"ion-select-popover\",[[2,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]]]],[\"sparkle-compass-post\",[[0,\"sparkle-compass-post\",{\"errorMessage\":[32],\"successMessage\":[32],\"resiliance\":[32],\"care\":[32],\"compassData\":[32],\"renderCompass\":[64]}]]],[\"sparkle-facilitator-notes-form\",[[0,\"sparkle-facilitator-notes-form\",{\"initialValues\":[16],\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-animation-player\",[[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],\"isBusy\":[32],\"playAnimation\":[64],\"pauseAnimation\":[64],\"classRoomModeChanged\":[64],\"destroyAnimation\":[64]},[[0,\"ionChange\",\"closedCaptionChange\"]]]]],[\"sparkle-sidebar\",[[4,\"sparkle-sidebar\",{\"position\":[1],\"size\":[1],\"headerText\":[1,\"header-text\"],\"isShowing\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ion-action-sheet\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"course-select\",[[0,\"course-select\",{\"toggleClickFn\":[16]}]]],[\"ion-alert\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]]]],[\"ion-fab-button\",[[33,\"ion-fab-button\",{\"color\":[1],\"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\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button\",[[33,\"ion-menu-button\",{\"color\":[1],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker\",[[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],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[1],\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-chip\",[[33,\"ion-chip\",{\"color\":[1],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-infinite-scroll-content\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option\",[[33,\"ion-item-option\",{\"color\":[1],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu\",[[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\"]]]]],[\"ion-modal\",[[34,\"ion-modal\",{\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-popover\",[[34,\"ion-popover\",{\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-reorder\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-searchbar\",[[34,\"ion-searchbar\",{\"color\":[1],\"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\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}]]],[\"ion-segment-button\",[[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}]]],[\"ion-tab-button\",[[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\",[[0,\"sparkle-lower-content-nav\",{\"next\":[16],\"prev\":[16]}]]],[\"sparkle-notfound-page\",[[0,\"sparkle-notfound-page\"]]],[\"sparkle-table-of-contents\",[[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\",[[0,\"compass-svg\"]]],[\"context-consumer\",[[0,\"context-consumer\",{\"context\":[16],\"renderer\":[16],\"subscribe\":[16],\"unsubscribe\":[32]}]]],[\"ion-app\",[[0,\"ion-app\"]]],[\"ion-badge\",[[33,\"ion-badge\",{\"color\":[1]}]]],[\"ion-card-header\",[[33,\"ion-card-header\",{\"color\":[1],\"translucent\":[4]}]]],[\"ion-card-subtitle\",[[33,\"ion-card-subtitle\",{\"color\":[1]}]]],[\"ion-card-title\",[[33,\"ion-card-title\",{\"color\":[1]}]]],[\"ion-datetime\",[[33,\"ion-datetime\",{\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[1025],\"max\":[1025],\"displayFormat\":[1,\"display-format\"],\"displayTimezone\":[1,\"display-timezone\"],\"pickerFormat\":[1,\"picker-format\"],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"monthNames\":[1,\"month-names\"],\"monthShortNames\":[1,\"month-short-names\"],\"dayNames\":[1,\"day-names\"],\"dayShortNames\":[1,\"day-short-names\"],\"pickerOptions\":[16],\"placeholder\":[1],\"value\":[1025],\"isExpanded\":[32],\"open\":[64]}]]],[\"ion-fab\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64]}]]],[\"ion-fab-list\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-footer\",[[36,\"ion-footer\",{\"translucent\":[4]}]]],[\"ion-img\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-item-divider\",[[33,\"ion-item-divider\",{\"color\":[1],\"sticky\":[4]}]]],[\"ion-item-group\",[[32,\"ion-item-group\"]]],[\"ion-item-options\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav\",[[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\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-note\",[[33,\"ion-note\",{\"color\":[1]}]]],[\"ion-progress-bar\",[[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[1]}]]],[\"ion-refresher\",[[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\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router\",[[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\",[[1,\"ion-router-link\",{\"color\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-segment\",[[33,\"ion-segment\",{\"color\":[1],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"activated\":[32]}]]],[\"ion-skeleton-text\",[[1,\"ion-skeleton-text\",{\"animated\":[4]}]]],[\"ion-slide\",[[0,\"ion-slide\"]]],[\"ion-slides\",[[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\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar\",[[33,\"ion-tab-bar\",{\"color\":[1],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]},[[8,\"keyboardWillHide\",\"onKeyboardWillHide\"],[8,\"keyboardWillShow\",\"onKeyboardWillShow\"]]]]],[\"ion-tabs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-thumbnail\",[[1,\"ion-thumbnail\"]]],[\"ion-virtual-scroll\",[[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-code\",[[0,\"sparkle-code\",{\"language\":[513],\"showCopyConfirmation\":[32]}]]],[\"sparkle-compass\",[[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\",[[1,\"sparkle-emoji\",{\"mood\":[1],\"size\":[1]}]]],[\"sparkle-feed-post\",[[4,\"sparkle-feed-post\"]]],[\"sparkle-gww-graph\",[[4,\"sparkle-gww-graph\"]]],[\"sparkle-menu-collapsible\",[[4,\"sparkle-menu-collapsible\",{\"heading\":[1],\"isOpen\":[32]}]]],[\"sparkle-modal-image\",[[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\",[[1,\"sparkle-poll\"]]],[\"sparkle-tab\",[[4,\"sparkle-tab\",{\"tab\":[513],\"selected\":[516]}]]],[\"sparkle-tabs\",[[4,\"sparkle-tabs\",{\"listenFor\":[1,\"listen-for\"],\"selected\":[32],\"tabs\":[32]},[[8,\"local-storage\",\"listenForFrameworkSelection\"]]]]],[\"sparkle-youtube\",[[0,\"sparkle-youtube\",{\"src\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"video_thumbnail\":[32],\"classRoomModeChanged\":[64]}]]],[\"stencil-async-content\",[[0,\"stencil-async-content\",{\"documentLocation\":[1,\"document-location\"],\"content\":[32]}]]],[\"stencil-route-title\",[[0,\"stencil-route-title\",{\"titleSuffix\":[1,\"title-suffix\"],\"pageTitle\":[1,\"page-title\"]}]]],[\"stencil-router-prompt\",[[0,\"stencil-router-prompt\",{\"when\":[4],\"message\":[1],\"history\":[16],\"unblock\":[32]}]]],[\"header-mobile-collapse_60\",[[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]}],[33,\"ion-card\",{\"color\":[1],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[0,\"sparkle-nav\",{\"toc\":[16],\"config\":[16],\"selectedParent\":[1040],\"moduleURLName\":[32],\"sessionURLName\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"]]],[32,\"ion-card-content\"],[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\"],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]],[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-avatar\"],[33,\"ion-checkbox\",{\"color\":[1],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[1]}],[33,\"ion-radio\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[0,\"sparkle-goal-progress\",{\"percentage\":[1]}],[33,\"ion-list-header\",{\"color\":[1],\"lines\":[1]}],[33,\"ion-range\",{\"color\":[1],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}],[1,\"ion-text\",{\"color\":[1]}],[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[1],\"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\":[1],\"maxlength\":[2],\"min\":[1],\"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]}],[34,\"ion-label\",{\"color\":[1],\"position\":[1],\"noAnimate\":[32]}],[1,\"ion-spinner\",{\"color\":[1],\"duration\":[2],\"name\":[1],\"paused\":[4]}],[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]}],[49,\"ion-item\",{\"color\":[1],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"multipleInputs\":[32]},[[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[33,\"ion-button\",{\"color\":[1],\"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]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ariaLabel\":[1537,\"aria-label\"],\"ariaHidden\":[513,\"aria-hidden\"],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[1],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]],[\"sparkle-quiz\",[[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-select\",[[0,\"sparkle-select\",{\"options\":[1040],\"initializer\":[16],\"optionRenderer\":[16],\"selected\":[32]}]]],[\"ion-picker-column\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"ion-toggle\",[[33,\"ion-toggle\",{\"color\":[1],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"activated\":[32]}]]],[\"sparkle-overlay\",[[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-back-button\",[[33,\"ion-back-button\",{\"color\":[1],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-select_2\",[[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-textarea\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[1],\"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\":[4,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-content_2\",[[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[1,\"ion-content\",{\"color\":[1],\"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\"],[2,\"click\",\"onClick\"]]]]],[\"ion-backdrop\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]],[\"sparkle-quiz-feedback_5\",[[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\",[[34,\"ion-buttons\",{\"collapse\":[4]}],[33,\"ion-title\",{\"color\":[1],\"size\":[1]}],[33,\"ion-toolbar\",{\"color\":[1]},[[0,\"ionStyle\",\"childrenStyle\"]]]]]]"), options);
|
19
|
+
return bootstrapLazy(JSON.parse("[[\"sparkle-goal-form\",[[0,\"sparkle-goal-form\",{\"appData\":[16],\"name\":[32],\"description\":[32],\"category\":[32],\"progress\":[32],\"public\":[32],\"goalUpdateText\":[32],\"submitted\":[32]}]]],[\"sparkle-feedback\",[[0,\"sparkle-feedback\",{\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-quiz-container\",[[0,\"sparkle-quiz-container\",{\"questionIds\":[1,\"question-ids\"],\"showInstantResult\":[4,\"show-instant-result\"],\"submitted\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"],[16,\"quizAnswerChanged\",\"updateQuizAnswerModelHandler\"]]]]],[\"sparkle-gww-comment-list\",[[0,\"sparkle-gww-comment-list\",{\"comments\":[16]}]]],[\"ion-select-popover\",[[2,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]]]],[\"sparkle-compass-post\",[[0,\"sparkle-compass-post\",{\"errorMessage\":[32],\"successMessage\":[32],\"resiliance\":[32],\"care\":[32],\"compassData\":[32],\"renderCompass\":[64]}]]],[\"sparkle-facilitator-notes-form\",[[0,\"sparkle-facilitator-notes-form\",{\"initialValues\":[16],\"formControls\":[32],\"submitted\":[32]}]]],[\"sparkle-animation-player\",[[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],\"isBusy\":[32],\"playAnimation\":[64],\"pauseAnimation\":[64],\"classRoomModeChanged\":[64],\"destroyAnimation\":[64]},[[0,\"ionChange\",\"closedCaptionChange\"],[16,\"classRoomModeChanged\",\"onClassRoomModeChanged\"]]]]],[\"sparkle-sidebar\",[[4,\"sparkle-sidebar\",{\"position\":[1],\"size\":[1],\"headerText\":[1,\"header-text\"],\"isShowing\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ion-action-sheet\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"course-select\",[[0,\"course-select\",{\"toggleClickFn\":[16]}]]],[\"ion-alert\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]]]],[\"ion-fab-button\",[[33,\"ion-fab-button\",{\"color\":[1],\"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\",[[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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button\",[[33,\"ion-menu-button\",{\"color\":[1],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker\",[[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],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[1],\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-chip\",[[33,\"ion-chip\",{\"color\":[1],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-infinite-scroll-content\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option\",[[33,\"ion-item-option\",{\"color\":[1],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu\",[[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\"]]]]],[\"ion-modal\",[[34,\"ion-modal\",{\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-popover\",[[34,\"ion-popover\",{\"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],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-reorder\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-searchbar\",[[34,\"ion-searchbar\",{\"color\":[1],\"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\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}]]],[\"ion-segment-button\",[[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}]]],[\"ion-tab-button\",[[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\",[[0,\"sparkle-lower-content-nav\",{\"next\":[16],\"prev\":[16]}]]],[\"sparkle-notfound-page\",[[0,\"sparkle-notfound-page\"]]],[\"sparkle-table-of-contents\",[[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\",[[0,\"compass-svg\"]]],[\"context-consumer\",[[0,\"context-consumer\",{\"context\":[16],\"renderer\":[16],\"subscribe\":[16],\"unsubscribe\":[32]}]]],[\"ion-app\",[[0,\"ion-app\"]]],[\"ion-badge\",[[33,\"ion-badge\",{\"color\":[1]}]]],[\"ion-card-header\",[[33,\"ion-card-header\",{\"color\":[1],\"translucent\":[4]}]]],[\"ion-card-subtitle\",[[33,\"ion-card-subtitle\",{\"color\":[1]}]]],[\"ion-card-title\",[[33,\"ion-card-title\",{\"color\":[1]}]]],[\"ion-datetime\",[[33,\"ion-datetime\",{\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[1025],\"max\":[1025],\"displayFormat\":[1,\"display-format\"],\"displayTimezone\":[1,\"display-timezone\"],\"pickerFormat\":[1,\"picker-format\"],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"monthNames\":[1,\"month-names\"],\"monthShortNames\":[1,\"month-short-names\"],\"dayNames\":[1,\"day-names\"],\"dayShortNames\":[1,\"day-short-names\"],\"pickerOptions\":[16],\"placeholder\":[1],\"value\":[1025],\"isExpanded\":[32],\"open\":[64]}]]],[\"ion-fab\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64]}]]],[\"ion-fab-list\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-footer\",[[36,\"ion-footer\",{\"translucent\":[4]}]]],[\"ion-img\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-item-divider\",[[33,\"ion-item-divider\",{\"color\":[1],\"sticky\":[4]}]]],[\"ion-item-group\",[[32,\"ion-item-group\"]]],[\"ion-item-options\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav\",[[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\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-note\",[[33,\"ion-note\",{\"color\":[1]}]]],[\"ion-progress-bar\",[[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[1]}]]],[\"ion-refresher\",[[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\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router\",[[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\",[[1,\"ion-router-link\",{\"color\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-segment\",[[33,\"ion-segment\",{\"color\":[1],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"activated\":[32]}]]],[\"ion-skeleton-text\",[[1,\"ion-skeleton-text\",{\"animated\":[4]}]]],[\"ion-slide\",[[0,\"ion-slide\"]]],[\"ion-slides\",[[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\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar\",[[33,\"ion-tab-bar\",{\"color\":[1],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]},[[8,\"keyboardWillHide\",\"onKeyboardWillHide\"],[8,\"keyboardWillShow\",\"onKeyboardWillShow\"]]]]],[\"ion-tabs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-thumbnail\",[[1,\"ion-thumbnail\"]]],[\"ion-virtual-scroll\",[[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\",[[4,\"sparkle-character-intro\",{\"character\":[1],\"position\":[1]}]]],[\"sparkle-code\",[[0,\"sparkle-code\",{\"language\":[513],\"showCopyConfirmation\":[32]}]]],[\"sparkle-compass\",[[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\",[[1,\"sparkle-emoji\",{\"mood\":[1],\"size\":[1]}]]],[\"sparkle-feed-post\",[[4,\"sparkle-feed-post\"]]],[\"sparkle-gww-graph\",[[4,\"sparkle-gww-graph\"]]],[\"sparkle-menu-collapsible\",[[4,\"sparkle-menu-collapsible\",{\"heading\":[1],\"isOpen\":[32]}]]],[\"sparkle-modal-image\",[[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\",[[1,\"sparkle-poll\"]]],[\"sparkle-tab\",[[4,\"sparkle-tab\",{\"tab\":[513],\"selected\":[516]}]]],[\"sparkle-tabs\",[[4,\"sparkle-tabs\",{\"listenFor\":[1,\"listen-for\"],\"selected\":[32],\"tabs\":[32]},[[8,\"local-storage\",\"listenForFrameworkSelection\"]]]]],[\"sparkle-youtube\",[[0,\"sparkle-youtube\",{\"src\":[1],\"initialClassMode\":[4,\"initial-class-mode\"],\"classMode\":[32],\"video_thumbnail\":[32],\"classRoomModeChanged\":[64]}]]],[\"stencil-async-content\",[[0,\"stencil-async-content\",{\"documentLocation\":[1,\"document-location\"],\"content\":[32]}]]],[\"stencil-route-title\",[[0,\"stencil-route-title\",{\"titleSuffix\":[1,\"title-suffix\"],\"pageTitle\":[1,\"page-title\"]}]]],[\"stencil-router-prompt\",[[0,\"stencil-router-prompt\",{\"when\":[4],\"message\":[1],\"history\":[16],\"unblock\":[32]}]]],[\"header-mobile-collapse_60\",[[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]}],[33,\"ion-card\",{\"color\":[1],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[0,\"sparkle-nav\",{\"toc\":[16],\"config\":[16],\"selectedParent\":[1040],\"moduleURLName\":[32],\"sessionURLName\":[32]},[[4,\"pageDidLoad\",\"pageDidLoadHandler\"]]],[32,\"ion-card-content\"],[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\"],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]],[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-avatar\"],[33,\"ion-checkbox\",{\"color\":[1],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[1]}],[33,\"ion-radio\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[0,\"sparkle-goal-progress\",{\"percentage\":[1]}],[33,\"ion-list-header\",{\"color\":[1],\"lines\":[1]}],[33,\"ion-range\",{\"color\":[1],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}],[1,\"ion-text\",{\"color\":[1]}],[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[1],\"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\":[1],\"maxlength\":[2],\"min\":[1],\"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]}],[34,\"ion-label\",{\"color\":[1],\"position\":[1],\"noAnimate\":[32]}],[1,\"ion-spinner\",{\"color\":[1],\"duration\":[2],\"name\":[1],\"paused\":[4]}],[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]}],[49,\"ion-item\",{\"color\":[1],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"multipleInputs\":[32]},[[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[33,\"ion-button\",{\"color\":[1],\"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]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ariaLabel\":[1537,\"aria-label\"],\"ariaHidden\":[513,\"aria-hidden\"],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[1],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]],[\"sparkle-quiz\",[[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-select\",[[0,\"sparkle-select\",{\"options\":[1040],\"initializer\":[16],\"optionRenderer\":[16],\"selected\":[32]}]]],[\"ion-picker-column\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"ion-toggle\",[[33,\"ion-toggle\",{\"color\":[1],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"activated\":[32]}]]],[\"sparkle-overlay\",[[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-back-button\",[[33,\"ion-back-button\",{\"color\":[1],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-select_2\",[[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-textarea\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[1],\"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\":[4,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-content_2\",[[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[1,\"ion-content\",{\"color\":[1],\"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\"],[2,\"click\",\"onClick\"]]]]],[\"ion-backdrop\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]],[\"sparkle-quiz-feedback_5\",[[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\",[[34,\"ion-buttons\",{\"collapse\":[4]}],[33,\"ion-title\",{\"color\":[1],\"size\":[1]}],[33,\"ion-toolbar\",{\"color\":[1]},[[0,\"ionStyle\",\"childrenStyle\"]]]]]]"), options);
|
20
20
|
});
|
@@ -6,7 +6,8 @@ import './auth.store-dd944bc2.js';
|
|
6
6
|
import './helpers-e7f66b2b.js';
|
7
7
|
import './hardware-back-button-508e48cf.js';
|
8
8
|
import './overlays-8363621c.js';
|
9
|
-
import {
|
9
|
+
import { S as SparkleGlobal, G as GetGoalAppData, e as MyGoalTemplate, f as MyGoalTemplateJSON } from './util-042b5fee.js';
|
10
|
+
import { A as AppDataService, F as FeedService, g as goalStore, f as feedStore } from './feed.service-694d3d54.js';
|
10
11
|
|
11
12
|
const sparkleGoalFormCss = ":host{display:block}";
|
12
13
|
|