@cuemath/leap 3.3.31 → 3.3.32-j2
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/features/auth/pla-signup/pla-analytics-events.js +7 -1
- package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js +8 -8
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-helpers.js +13 -7
- package/dist/features/milestone/create/milestone-create-helpers.js.map +1 -1
- package/dist/features/student-username/add/add-student-username-constants.js +6 -0
- package/dist/features/student-username/add/add-student-username-constants.js.map +1 -0
- package/dist/features/student-username/add/add-student-username-helpers.js +6 -0
- package/dist/features/student-username/add/add-student-username-helpers.js.map +1 -0
- package/dist/features/student-username/add/add-student-username-styled.js +10 -0
- package/dist/features/student-username/add/add-student-username-styled.js.map +1 -0
- package/dist/features/student-username/add/add-student-username.js +78 -0
- package/dist/features/student-username/add/add-student-username.js.map +1 -0
- package/dist/features/student-username/add/api/update-username.js +9 -0
- package/dist/features/student-username/add/api/update-username.js.map +1 -0
- package/dist/features/student-username/add/api/username-availability.js +10 -0
- package/dist/features/student-username/add/api/username-availability.js.map +1 -0
- package/dist/features/student-username/add/hooks/use-check-username-availability.js +41 -0
- package/dist/features/student-username/add/hooks/use-check-username-availability.js.map +1 -0
- package/dist/features/trial-session/api/teacher-availability.js +9 -0
- package/dist/features/trial-session/api/teacher-availability.js.map +1 -0
- package/dist/features/trial-session/comps/class-preference/class-preference.js +61 -49
- package/dist/features/trial-session/comps/class-preference/class-preference.js.map +1 -1
- package/dist/features/trial-session/comps/class-preference/helpers.js +28 -0
- package/dist/features/trial-session/comps/class-preference/helpers.js.map +1 -0
- package/dist/features/trial-session/comps/navigation-bar/index.js +25 -25
- package/dist/features/trial-session/comps/navigation-bar/index.js.map +1 -1
- package/dist/features/trial-session/comps/school-goals/school-goals.js +55 -53
- package/dist/features/trial-session/comps/school-goals/school-goals.js.map +1 -1
- package/dist/features/trial-session/comps/session-report/session-report.js +15 -15
- package/dist/features/trial-session/comps/session-report/session-report.js.map +1 -1
- package/dist/features/trial-session/comps/student-enrichment/student-enrichment.js +44 -43
- package/dist/features/trial-session/comps/student-enrichment/student-enrichment.js.map +1 -1
- package/dist/features/trial-session/comps/student-feedback/student-feedback-constants.js +5 -0
- package/dist/features/trial-session/comps/student-feedback/student-feedback-constants.js.map +1 -1
- package/dist/features/trial-session/comps/student-feedback/student-feedback.js +96 -51
- package/dist/features/trial-session/comps/student-feedback/student-feedback.js.map +1 -1
- package/dist/features/trial-session/comps/student-profile/student-profile.js +70 -63
- package/dist/features/trial-session/comps/student-profile/student-profile.js.map +1 -1
- package/dist/features/trial-session/comps/test-prep/test-prep.js +40 -39
- package/dist/features/trial-session/comps/test-prep/test-prep.js.map +1 -1
- package/dist/features/trial-session/helper.js +69 -53
- package/dist/features/trial-session/helper.js.map +1 -1
- package/dist/features/trial-session/hooks/use-slide-config-update.js +49 -0
- package/dist/features/trial-session/hooks/use-slide-config-update.js.map +1 -0
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js +150 -130
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js.map +1 -1
- package/dist/features/trial-session/trial-session-types.js.map +1 -1
- package/dist/features/trial-session/trial-session-view.js +103 -112
- package/dist/features/trial-session/trial-session-view.js.map +1 -1
- package/dist/features/ui/accordion/accordion-items/accordion-items.js +13 -13
- package/dist/features/ui/accordion/accordion-items/accordion-items.js.map +1 -1
- package/dist/features/utils/utils.js +1 -1
- package/dist/features/utils/utils.js.map +1 -1
- package/dist/index.d.ts +20 -4
- package/dist/index.js +32 -30
- package/dist/index.js.map +1 -1
- package/dist/node_modules/decode-uri-component/index.js.map +1 -0
- package/dist/node_modules/query-string/base.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/package.json +3 -2
- package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
- /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { default as i } from "./assets/line-icons/icons/alert.js";
|
|
|
8
8
|
import { default as I } from "./assets/line-icons/icons/back.js";
|
|
9
9
|
import { default as T } from "./assets/line-icons/icons/bin.js";
|
|
10
10
|
import { default as C } from "./assets/line-icons/icons/bin2.js";
|
|
11
|
-
import { default as
|
|
11
|
+
import { default as P } from "./assets/line-icons/icons/book-closed.js";
|
|
12
12
|
import { default as h } from "./assets/line-icons/icons/book.js";
|
|
13
13
|
import { default as L } from "./assets/line-icons/icons/book2.js";
|
|
14
14
|
import { default as k } from "./assets/line-icons/icons/bookmark.js";
|
|
@@ -35,7 +35,7 @@ import { default as ie } from "./assets/line-icons/icons/edit-star.js";
|
|
|
35
35
|
import { default as Ie } from "./assets/line-icons/icons/eraser.js";
|
|
36
36
|
import { default as Te } from "./assets/line-icons/icons/eye.js";
|
|
37
37
|
import { default as Ce } from "./assets/line-icons/icons/eye2.js";
|
|
38
|
-
import { default as
|
|
38
|
+
import { default as Pe } from "./assets/line-icons/icons/exclamation.js";
|
|
39
39
|
import { default as he } from "./assets/line-icons/icons/hand.js";
|
|
40
40
|
import { default as Le } from "./assets/line-icons/icons/hint-fill.js";
|
|
41
41
|
import { default as ke } from "./assets/line-icons/icons/help.js";
|
|
@@ -61,7 +61,7 @@ import { default as no } from "./assets/line-icons/icons/play2.js";
|
|
|
61
61
|
import { default as co } from "./assets/line-icons/icons/plus.js";
|
|
62
62
|
import { default as So } from "./assets/line-icons/icons/plus2.js";
|
|
63
63
|
import { default as Eo } from "./assets/line-icons/icons/practice.js";
|
|
64
|
-
import { default as
|
|
64
|
+
import { default as Ao } from "./assets/line-icons/icons/progress.js";
|
|
65
65
|
import { default as _o } from "./assets/line-icons/icons/puzzle-icon.js";
|
|
66
66
|
import { default as Mo } from "./assets/line-icons/icons/puzzle2.js";
|
|
67
67
|
import { default as Ro } from "./assets/line-icons/icons/question.js";
|
|
@@ -88,7 +88,7 @@ import { default as nr } from "./assets/line-icons/icons/unlock2.js";
|
|
|
88
88
|
import { default as cr } from "./assets/line-icons/icons/up.js";
|
|
89
89
|
import { default as Sr } from "./assets/line-icons/icons/user.js";
|
|
90
90
|
import { default as Er } from "./assets/line-icons/icons/user2.js";
|
|
91
|
-
import { default as
|
|
91
|
+
import { default as Ar } from "./assets/line-icons/icons/wins-common-icon.js";
|
|
92
92
|
import { default as _r, default as hr } from "./assets/line-icons/icons/sketch.js";
|
|
93
93
|
import { default as Lr } from "./assets/line-icons/icons/back2.js";
|
|
94
94
|
import { default as kr } from "./assets/line-icons/icons/chevron-right.js";
|
|
@@ -115,7 +115,7 @@ import { default as it } from "./features/notification/notification.js";
|
|
|
115
115
|
import { default as It } from "./features/ui/accordion/accordion.js";
|
|
116
116
|
import { default as Tt } from "./features/ui/accordion-section/accordion-section.js";
|
|
117
117
|
import { default as Ct } from "./features/ui/arrow-tooltip/arrow-tooltip.js";
|
|
118
|
-
import { default as
|
|
118
|
+
import { default as Pt } from "./features/ui/context-menu/context-menu.js";
|
|
119
119
|
import { default as ht } from "./features/ui/timers/countdown-timer/countdown-timer.js";
|
|
120
120
|
import { default as Lt } from "./features/ui/nudge/nudge.js";
|
|
121
121
|
import { default as kt } from "./features/ui/buttons/button/button.js";
|
|
@@ -142,7 +142,7 @@ import { CircularLoader as ia } from "./features/ui/loader/circular-loader/circu
|
|
|
142
142
|
import { default as Ia } from "./features/ui/modals/modal-provider.js";
|
|
143
143
|
import { default as Ta } from "./features/ui/modals/use-modal-actions.js";
|
|
144
144
|
import { default as Ca } from "./features/ui/modals/use-modal-params.js";
|
|
145
|
-
import { default as
|
|
145
|
+
import { default as Pa } from "./features/ui/radio-cards/radio-cards.js";
|
|
146
146
|
import { default as ha } from "./features/ui/section-list/section-list.js";
|
|
147
147
|
import { default as La } from "./features/ui/text/text.js";
|
|
148
148
|
import { default as ka } from "./features/ui/tag/tag.js";
|
|
@@ -168,7 +168,7 @@ import { PLATFORM_EVENTS_STUDENT as nf } from "./features/analytics-events/platf
|
|
|
168
168
|
import { PLATFORM_EVENTS_TEACHER as If } from "./features/analytics-events/platform-events-teacher.js";
|
|
169
169
|
import { WHITELIST_EVENTS as Tf } from "./features/analytics-events/whitelist-events.js";
|
|
170
170
|
import { default as Cf } from "./features/auth/comps/auth-static-panel/auth-static-panel.js";
|
|
171
|
-
import { default as
|
|
171
|
+
import { default as Pf } from "./features/auth/comps/auth-page-layout/auth-page-layout.js";
|
|
172
172
|
import { default as hf } from "./features/auth/comps/overlay-loader/overlay-loader.js";
|
|
173
173
|
import { default as Lf } from "./features/auth/comps/tabs/tabs.js";
|
|
174
174
|
import { default as kf } from "./features/auth/comps/input-status-icon/input-status-icon.js";
|
|
@@ -195,7 +195,7 @@ import { default as is } from "./features/auth/login/social-login-methods/social
|
|
|
195
195
|
import { default as Is } from "./features/auth/login/social-account-not-found/social-account-not-found.js";
|
|
196
196
|
import { default as Ts } from "./features/auth/login/username-password-form/username-password-form.js";
|
|
197
197
|
import { default as Cs } from "./features/auth/login/identifier-otp-form/identifier-otp-form.js";
|
|
198
|
-
import { default as
|
|
198
|
+
import { default as Ps } from "./features/auth/forgot-password/otp-form/otp-form.js";
|
|
199
199
|
import { default as hs } from "./features/auth/forgot-password/reset-password-form/reset-password-form.js";
|
|
200
200
|
import { default as Ls } from "./features/auth/forgot-password/user-identifier-form/user-identifier-form.js";
|
|
201
201
|
import { AUTH_TABS as ks } from "./features/auth/login/login-constants.js";
|
|
@@ -222,7 +222,7 @@ import { ELeaderboardType as il } from "./features/circle-games/leaderboard/enum
|
|
|
222
222
|
import { StreakReductionLocalStorageUtil as Il } from "./features/circle-games/utils/streak-reduction-localstorage-util.js";
|
|
223
223
|
import { Tutorial as Tl } from "./features/circle-games/games/tutorial/tutorial.js";
|
|
224
224
|
import { WebView as Cl } from "./features/circle-games/games/web-view/web-view.js";
|
|
225
|
-
import { ProjectOutcome as
|
|
225
|
+
import { ProjectOutcome as Pl } from "./features/circle-games/games/web-view/enums/project-outcomes-enum.js";
|
|
226
226
|
import { WebViewEvent as hl } from "./features/circle-games/games/web-view/enums/web-view-events-enum.js";
|
|
227
227
|
import { ProjectType as Ll } from "./features/circle-games/games/web-view/enums/project-type-enum.js";
|
|
228
228
|
import { PlayerType as kl } from "./features/circle-games/games/web-view/enums/player-type-enum.js";
|
|
@@ -248,7 +248,7 @@ import { useInClassActionDispatcher as nu, useInClassActionListener as iu } from
|
|
|
248
248
|
import { default as Iu } from "./features/trial-session/trial-session.js";
|
|
249
249
|
import { default as Tu } from "./features/trial-session/comps/session-report/report-information/report-information.js";
|
|
250
250
|
import { default as Cu } from "./features/trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.js";
|
|
251
|
-
import { EClassTimeAlertLevel as
|
|
251
|
+
import { EClassTimeAlertLevel as Pu } from "./features/trial-session/trial-session-types.js";
|
|
252
252
|
import { ESessionStatus as hu } from "./features/parent-dashboard/comps/upcoming-sessions/upcoming-sessions-types.js";
|
|
253
253
|
import { useGetSessionReports as Lu } from "./features/trial-session/api/trial-home.js";
|
|
254
254
|
import { useClassTimeAlerts as ku } from "./features/trial-session/hooks/use-class-time-alerts.js";
|
|
@@ -275,7 +275,7 @@ import { usePuzzleReviewJourney as ip } from "./features/journey/hooks/use-puzzl
|
|
|
275
275
|
import { usePuzzleUnassignJourney as Ip } from "./features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js";
|
|
276
276
|
import { default as Tp } from "./features/maintenance/maintenance.js";
|
|
277
277
|
import { default as Cp } from "./features/milestone/create/submit-modal/submit-modal.js";
|
|
278
|
-
import { default as
|
|
278
|
+
import { default as Pp } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
|
|
279
279
|
import { default as hp } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
|
|
280
280
|
import { default as Lp } from "./features/milestone/create/milestone-create-container.js";
|
|
281
281
|
import { default as kp } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
|
|
@@ -299,7 +299,7 @@ import { default as nm } from "./features/pointer-sync/pointer.js";
|
|
|
299
299
|
import { default as cm } from "./features/pointer-sync/hooks/use-pointer-sync.js";
|
|
300
300
|
import { DigitalMeter as Sm } from "./features/post-game-stats/digital-meter/digital-meter.js";
|
|
301
301
|
import { EPostGameStat as Em } from "./features/post-game-stats/enums/post-game-stats-enum.js";
|
|
302
|
-
import { PostGameStats as
|
|
302
|
+
import { PostGameStats as Am } from "./features/post-game-stats/post-game-stats.js";
|
|
303
303
|
import { default as _m } from "./features/puzzles/puzzle-container/puzzle-container.js";
|
|
304
304
|
import { default as Mm } from "./features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js";
|
|
305
305
|
import { default as Rm } from "./features/puzzles/puzzle-dashboard/puzzle-dashboard.js";
|
|
@@ -319,7 +319,7 @@ import { default as nd } from "./features/student-details/student-details.js";
|
|
|
319
319
|
import { default as cd } from "./features/utils/load-script.js";
|
|
320
320
|
import { default as Sd } from "./features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js";
|
|
321
321
|
import { default as Ed } from "./features/wins-dashboard/student-badges/student-badges-lists.js";
|
|
322
|
-
import { default as
|
|
322
|
+
import { default as Ad } from "./features/wins-dashboard/header/wins-header.js";
|
|
323
323
|
import { STUDENT_BADGE_STATUS as _d, STUDENT_BADGE_TYPE as hd } from "./features/wins-dashboard/constants.js";
|
|
324
324
|
import { ACTION_BAR_HEIGHT as Ld, QUESTIONS_GAP as Rd, QUESTION_WIDTH as kd, TOP_NAVIGATION_HEIGHT as Dd } from "./features/worksheet/worksheet/constants.js";
|
|
325
325
|
import { isOkayTypeQuestion as Hd } from "./features/worksheet/worksheet/worksheet-helpers.js";
|
|
@@ -344,14 +344,15 @@ import { default as nx } from "./features/parent-dashboard/modals/trial-report/t
|
|
|
344
344
|
import { default as cx } from "./features/parent-dashboard/modals/help-and-support/help-and-support.js";
|
|
345
345
|
import { default as Sx } from "./features/parent-dashboard/modals/student-login-info/student-login-info.js";
|
|
346
346
|
import { default as Ex } from "./features/parent-dashboard/modals/tutor-change/tutor-change.js";
|
|
347
|
-
import { default as
|
|
347
|
+
import { default as Ax } from "./features/parent-dashboard/modals/view-payment-method/view-payment-method.js";
|
|
348
348
|
import { default as _x } from "./features/parent-dashboard/parent-dashboard.js";
|
|
349
349
|
import { usePLASwitchUserJourney as Mx } from "./features/parent-dashboard/hooks/use-switch-user-journey.js";
|
|
350
350
|
import { default as Rx } from "./features/parent-dashboard/hooks/use-fetch-parent-home.js";
|
|
351
351
|
import { default as Dx } from "./features/parent-dashboard/hooks/use-parent-home-data.js";
|
|
352
352
|
import { invalidateParentHome as Hx } from "./features/parent-dashboard/api/parent-home.js";
|
|
353
353
|
import { EPLAState as gx, ESummaryType as yx } from "./features/parent-dashboard/parent-dashboard-types.js";
|
|
354
|
-
import {
|
|
354
|
+
import { default as Ux } from "./features/student-username/add/add-student-username.js";
|
|
355
|
+
import { COUNTRY_CODE_MAP as Bx } from "./constants/country.js";
|
|
355
356
|
export {
|
|
356
357
|
Xp as ACHIEVEMENT_ACTIONS,
|
|
357
358
|
ks as AUTH_TABS,
|
|
@@ -361,6 +362,7 @@ export {
|
|
|
361
362
|
xs as AccountSelector,
|
|
362
363
|
Op as AchievementNotShareReasonModal,
|
|
363
364
|
yp as AchievementShareInstructionModal,
|
|
365
|
+
Ux as AddStudentUsername,
|
|
364
366
|
Yr as AfternoonIcon,
|
|
365
367
|
i as AlertIcon,
|
|
366
368
|
ff as AnimatedArc,
|
|
@@ -369,7 +371,7 @@ export {
|
|
|
369
371
|
Ut as ArcButton,
|
|
370
372
|
Ct as ArrowTooltip,
|
|
371
373
|
Ns as AuthApiErrorCode,
|
|
372
|
-
|
|
374
|
+
Pf as AuthPageLayout,
|
|
373
375
|
Cf as AuthStaticPanel,
|
|
374
376
|
ut as AutoPlayPermissionProvider,
|
|
375
377
|
Wa as Avatar,
|
|
@@ -381,7 +383,7 @@ export {
|
|
|
381
383
|
C as Bin2Icon,
|
|
382
384
|
T as BinIcon,
|
|
383
385
|
L as Book2Icon,
|
|
384
|
-
|
|
386
|
+
P as BookClosedIcon,
|
|
385
387
|
h as BookIcon,
|
|
386
388
|
k as BookmarkIcon,
|
|
387
389
|
O as Bulb2Icon,
|
|
@@ -390,7 +392,7 @@ export {
|
|
|
390
392
|
yl as CIRCLE_ACTION_IDS,
|
|
391
393
|
Ol as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
|
392
394
|
jm as COMPLETED_SHEET_STATE,
|
|
393
|
-
|
|
395
|
+
Bx as COUNTRY_CODE_MAP,
|
|
394
396
|
y as CalendarIcon,
|
|
395
397
|
Na as Callout,
|
|
396
398
|
px as CancelSubscriptionModal,
|
|
@@ -422,7 +424,7 @@ export {
|
|
|
422
424
|
Xu as Coachmark,
|
|
423
425
|
Y as CodeIcon,
|
|
424
426
|
ox as CompactHeader,
|
|
425
|
-
|
|
427
|
+
Pt as ContextMenu,
|
|
426
428
|
K as CopyIcon,
|
|
427
429
|
ht as CountdownTimer,
|
|
428
430
|
Z as CrossIcon,
|
|
@@ -448,7 +450,7 @@ export {
|
|
|
448
450
|
ue as DragIcon,
|
|
449
451
|
pf as Drawer,
|
|
450
452
|
vd as DynamicPreviewWorksheet,
|
|
451
|
-
|
|
453
|
+
Pu as EClassTimeAlertLevel,
|
|
452
454
|
ba as EDeviceType,
|
|
453
455
|
il as ELeaderboardType,
|
|
454
456
|
gx as EPLAState,
|
|
@@ -464,7 +466,7 @@ export {
|
|
|
464
466
|
Ie as EraserIcon,
|
|
465
467
|
Bt as Error,
|
|
466
468
|
Vr as EveningIcon,
|
|
467
|
-
|
|
469
|
+
Pe as ExclamationIcon,
|
|
468
470
|
wm as ExpandableHeader,
|
|
469
471
|
Ou as ExtraPractice,
|
|
470
472
|
Ce as Eye2Icon,
|
|
@@ -475,7 +477,7 @@ export {
|
|
|
475
477
|
x as GIF,
|
|
476
478
|
yr as GameIcon,
|
|
477
479
|
Ul as GameLauncher,
|
|
478
|
-
|
|
480
|
+
Pp as GoalCreationConfirmationModal,
|
|
479
481
|
kp as GoalDraftEdit,
|
|
480
482
|
Bp as GoalEdit,
|
|
481
483
|
Zt as GooglePlacesSearchInput,
|
|
@@ -535,7 +537,7 @@ export {
|
|
|
535
537
|
it as Notification,
|
|
536
538
|
Lt as Nudge,
|
|
537
539
|
aa as NumRangeInput,
|
|
538
|
-
|
|
540
|
+
Ps as OTPForm,
|
|
539
541
|
Of as OTPInput,
|
|
540
542
|
as as OnboardingGuide,
|
|
541
543
|
hf as OverlayLoader,
|
|
@@ -557,11 +559,11 @@ export {
|
|
|
557
559
|
So as Plus2Icon,
|
|
558
560
|
co as PlusIcon,
|
|
559
561
|
uo as PointerIcon,
|
|
560
|
-
|
|
562
|
+
Am as PostGameStats,
|
|
561
563
|
Eo as PracticeIcon,
|
|
562
564
|
Gd as PreviewWorksheet,
|
|
563
|
-
|
|
564
|
-
|
|
565
|
+
Ao as ProgressIcon,
|
|
566
|
+
Pl as ProjectOutcome,
|
|
565
567
|
Ll as ProjectType,
|
|
566
568
|
Mo as Puzzle2Icon,
|
|
567
569
|
Dm as PuzzleApp,
|
|
@@ -572,7 +574,7 @@ export {
|
|
|
572
574
|
Ro as QuestionIcon,
|
|
573
575
|
Do as QuestionLetterIcon,
|
|
574
576
|
ed as REWARDS_LIST,
|
|
575
|
-
|
|
577
|
+
Pa as RadioCard,
|
|
576
578
|
Vt as RadioInput,
|
|
577
579
|
ym as RecentChapters,
|
|
578
580
|
Ho as RedoIcon,
|
|
@@ -669,7 +671,7 @@ export {
|
|
|
669
671
|
Vf as UserTypeSelector,
|
|
670
672
|
Ts as UsernamePasswordForm,
|
|
671
673
|
$a as Video,
|
|
672
|
-
|
|
674
|
+
Ax as ViewPaymentMethodModal,
|
|
673
675
|
Tf as WHITELIST_EVENTS,
|
|
674
676
|
Ld as WORKSHEET_ACTION_BAR_HEIGHT,
|
|
675
677
|
Rd as WORKSHEET_QUESTIONS_GAP,
|
|
@@ -678,8 +680,8 @@ export {
|
|
|
678
680
|
Qm as WORKSHEET_V3_NODE_TYPES,
|
|
679
681
|
Cl as WebView,
|
|
680
682
|
hl as WebViewEvent,
|
|
681
|
-
|
|
682
|
-
|
|
683
|
+
Ar as WinsCommonIcon,
|
|
684
|
+
Ad as WinsHeader,
|
|
683
685
|
gd as Worksheet,
|
|
684
686
|
Zs as checkIfPPTNodeType,
|
|
685
687
|
Xs as getActiveSATSheet,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/decode-uri-component/index.js"],"sourcesContent":["const token = '%[a-f0-9]{2}';\nconst singleMatcher = new RegExp('(' + token + ')|([^%]+?)', 'gi');\nconst multiMatcher = new RegExp('(' + token + ')+', 'gi');\n\nfunction decodeComponents(components, split) {\n\ttry {\n\t\t// Try to decode the entire string first\n\t\treturn [decodeURIComponent(components.join(''))];\n\t} catch {\n\t\t// Do nothing\n\t}\n\n\tif (components.length === 1) {\n\t\treturn components;\n\t}\n\n\tsplit = split || 1;\n\n\t// Split the array in 2 parts\n\tconst left = components.slice(0, split);\n\tconst right = components.slice(split);\n\n\treturn Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right));\n}\n\nfunction decode(input) {\n\ttry {\n\t\treturn decodeURIComponent(input);\n\t} catch {\n\t\tlet tokens = input.match(singleMatcher) || [];\n\n\t\tfor (let i = 1; i < tokens.length; i++) {\n\t\t\tinput = decodeComponents(tokens, i).join('');\n\n\t\t\ttokens = input.match(singleMatcher) || [];\n\t\t}\n\n\t\treturn input;\n\t}\n}\n\nfunction customDecodeURIComponent(input) {\n\t// Keep track of all the replacements and prefill the map with the `BOM`\n\tconst replaceMap = {\n\t\t'%FE%FF': '\\uFFFD\\uFFFD',\n\t\t'%FF%FE': '\\uFFFD\\uFFFD',\n\t};\n\n\tlet match = multiMatcher.exec(input);\n\twhile (match) {\n\t\ttry {\n\t\t\t// Decode as big chunks as possible\n\t\t\treplaceMap[match[0]] = decodeURIComponent(match[0]);\n\t\t} catch {\n\t\t\tconst result = decode(match[0]);\n\n\t\t\tif (result !== match[0]) {\n\t\t\t\treplaceMap[match[0]] = result;\n\t\t\t}\n\t\t}\n\n\t\tmatch = multiMatcher.exec(input);\n\t}\n\n\t// Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else\n\treplaceMap['%C2'] = '\\uFFFD';\n\n\tconst entries = Object.keys(replaceMap);\n\n\tfor (const key of entries) {\n\t\t// Replace all decoded components\n\t\tinput = input.replace(new RegExp(key, 'g'), replaceMap[key]);\n\t}\n\n\treturn input;\n}\n\nexport default function decodeUriComponent(encodedURI) {\n\tif (typeof encodedURI !== 'string') {\n\t\tthrow new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`');\n\t}\n\n\ttry {\n\t\t// Try the built in decoder first\n\t\treturn decodeURIComponent(encodedURI);\n\t} catch {\n\t\t// Fallback to a more advanced decoder\n\t\treturn customDecodeURIComponent(encodedURI);\n\t}\n}\n"],"names":["token","singleMatcher","multiMatcher","decodeComponents","components","split","left","right","decode","input","tokens","i","customDecodeURIComponent","replaceMap","match","result","entries","key","decodeUriComponent","encodedURI"],"mappings":"AAAA,MAAMA,IAAQ,gBACRC,IAAgB,IAAI,OAAO,MAAMD,IAAQ,cAAc,IAAI,GAC3DE,IAAe,IAAI,OAAO,MAAMF,IAAQ,MAAM,IAAI;AAExD,SAASG,EAAiBC,GAAYC,GAAO;AAC5C,MAAI;AAEH,WAAO,CAAC,mBAAmBD,EAAW,KAAK,EAAE,CAAC,CAAC;AAAA,EACjD,QAAS;AAAA,EAEP;AAED,MAAIA,EAAW,WAAW;AACzB,WAAOA;AAGR,EAAAC,IAAQA,KAAS;AAGjB,QAAMC,IAAOF,EAAW,MAAM,GAAGC,CAAK,GAChCE,IAAQH,EAAW,MAAMC,CAAK;AAEpC,SAAO,MAAM,UAAU,OAAO,KAAK,CAAA,GAAIF,EAAiBG,CAAI,GAAGH,EAAiBI,CAAK,CAAC;AACvF;AAEA,SAASC,EAAOC,GAAO;AACtB,MAAI;AACH,WAAO,mBAAmBA,CAAK;AAAA,EACjC,QAAS;AACP,QAAIC,IAASD,EAAM,MAAMR,CAAa,KAAK,CAAA;AAE3C,aAASU,IAAI,GAAGA,IAAID,EAAO,QAAQC;AAClC,MAAAF,IAAQN,EAAiBO,GAAQC,CAAC,EAAE,KAAK,EAAE,GAE3CD,IAASD,EAAM,MAAMR,CAAa,KAAK,CAAA;AAGxC,WAAOQ;AAAA,EACP;AACF;AAEA,SAASG,EAAyBH,GAAO;AAExC,QAAMI,IAAa;AAAA,IAClB,UAAU;AAAA,IACV,UAAU;AAAA,EACZ;AAEC,MAAIC,IAAQZ,EAAa,KAAKO,CAAK;AACnC,SAAOK,KAAO;AACb,QAAI;AAEH,MAAAD,EAAWC,EAAM,CAAC,CAAC,IAAI,mBAAmBA,EAAM,CAAC,CAAC;AAAA,IACrD,QAAU;AACP,YAAMC,IAASP,EAAOM,EAAM,CAAC,CAAC;AAE9B,MAAIC,MAAWD,EAAM,CAAC,MACrBD,EAAWC,EAAM,CAAC,CAAC,IAAIC;AAAA,IAExB;AAED,IAAAD,IAAQZ,EAAa,KAAKO,CAAK;AAAA,EAC/B;AAGD,EAAAI,EAAW,KAAK,IAAI;AAEpB,QAAMG,IAAU,OAAO,KAAKH,CAAU;AAEtC,aAAWI,KAAOD;AAEjB,IAAAP,IAAQA,EAAM,QAAQ,IAAI,OAAOQ,GAAK,GAAG,GAAGJ,EAAWI,CAAG,CAAC;AAG5D,SAAOR;AACR;AAEe,SAASS,EAAmBC,GAAY;AACtD,MAAI,OAAOA,KAAe;AACzB,UAAM,IAAI,UAAU,wDAAwD,OAAOA,IAAa,GAAG;AAGpG,MAAI;AAEH,WAAO,mBAAmBA,CAAU;AAAA,EACtC,QAAS;AAEP,WAAOP,EAAyBO,CAAU;AAAA,EAC1C;AACF;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import b from "
|
|
1
|
+
import b from "../decode-uri-component/index.js";
|
|
2
2
|
import l from "../split-on-first/index.js";
|
|
3
3
|
import { includeKeys as N } from "../filter-obj/index.js";
|
|
4
4
|
const j = (r) => r == null, A = (r) => encodeURIComponent(r).replace(/[!'()*]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`), u = Symbol("encodeFragmentIdentifier");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"native.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/native.js"],"sourcesContent":["const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};"],"names":["randomUUID","native"],"mappings":"AAAA,MAAMA,IAAa,OAAO,SAAW,OAAe,OAAO,cAAc,OAAO,WAAW,KAAK,MAAM,GACvFC,IAAA;AAAA,EACb,YAAAD;AACF;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
let t;
|
|
2
|
+
const e = new Uint8Array(16);
|
|
2
3
|
function o() {
|
|
3
|
-
if (!t && (t = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)
|
|
4
|
+
if (!t && (t = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !t))
|
|
4
5
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
5
6
|
return t(e);
|
|
6
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rng.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/rng.js"],"sourcesContent":["// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\
|
|
1
|
+
{"version":3,"file":"rng.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/rng.js"],"sourcesContent":["// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}"],"names":["getRandomValues","rnds8","rng"],"mappings":"AAGA,IAAIA;AACJ,MAAMC,IAAQ,IAAI,WAAW,EAAE;AAChB,SAASC,IAAM;AAE5B,MAAI,CAACF,MAEHA,IAAkB,OAAO,SAAW,OAAe,OAAO,mBAAmB,OAAO,gBAAgB,KAAK,MAAM,GAE3G,CAACA;AACH,UAAM,IAAI,MAAM,0GAA0G;AAI9H,SAAOA,EAAgBC,CAAK;AAC9B;","x_google_ignoreList":[0]}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, o = (t[e[i + 0]] + t[e[i + 1]] + t[e[i + 2]] + t[e[i + 3]] + "-" + t[e[i + 4]] + t[e[i + 5]] + "-" + t[e[i + 6]] + t[e[i + 7]] + "-" + t[e[i + 8]] + t[e[i + 9]] + "-" + t[e[i + 10]] + t[e[i + 11]] + t[e[i + 12]] + t[e[i + 13]] + t[e[i + 14]] + t[e[i + 15]]).toLowerCase();
|
|
7
|
-
if (!s(o))
|
|
8
|
-
throw TypeError("Stringified UUID is invalid");
|
|
9
|
-
return o;
|
|
1
|
+
const i = [];
|
|
2
|
+
for (let n = 0; n < 256; ++n)
|
|
3
|
+
i.push((n + 256).toString(16).slice(1));
|
|
4
|
+
function c(n, u = 0) {
|
|
5
|
+
return (i[n[u + 0]] + i[n[u + 1]] + i[n[u + 2]] + i[n[u + 3]] + "-" + i[n[u + 4]] + i[n[u + 5]] + "-" + i[n[u + 6]] + i[n[u + 7]] + "-" + i[n[u + 8]] + i[n[u + 9]] + "-" + i[n[u + 10]] + i[n[u + 11]] + i[n[u + 12]] + i[n[u + 13]] + i[n[u + 14]] + i[n[u + 15]]).toLowerCase();
|
|
10
6
|
}
|
|
11
7
|
export {
|
|
12
|
-
|
|
8
|
+
c as unsafeStringify
|
|
13
9
|
};
|
|
14
10
|
//# sourceMappingURL=stringify.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stringify.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/stringify.js"],"sourcesContent":["import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\
|
|
1
|
+
{"version":3,"file":"stringify.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/stringify.js"],"sourcesContent":["import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;"],"names":["byteToHex","i","unsafeStringify","arr","offset"],"mappings":"AAMA,MAAMA,IAAY,CAAA;AAElB,SAASC,IAAI,GAAGA,IAAI,KAAK,EAAEA;AACzB,EAAAD,EAAU,MAAMC,IAAI,KAAO,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC;AAG3C,SAASC,EAAgBC,GAAKC,IAAS,GAAG;AAG/C,UAAQJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,GAAG;AACvf;","x_google_ignoreList":[0]}
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import e from "./native.js";
|
|
2
|
+
import i from "./rng.js";
|
|
3
|
+
import { unsafeStringify as d } from "./stringify.js";
|
|
4
|
+
function g(n, m, t) {
|
|
5
|
+
if (e.randomUUID && !m && !n)
|
|
6
|
+
return e.randomUUID();
|
|
4
7
|
n = n || {};
|
|
5
|
-
|
|
8
|
+
const r = n.random || (n.rng || i)();
|
|
6
9
|
if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, m) {
|
|
7
|
-
|
|
8
|
-
for (
|
|
9
|
-
m[
|
|
10
|
+
t = t || 0;
|
|
11
|
+
for (let a = 0; a < 16; ++a)
|
|
12
|
+
m[t + a] = r[a];
|
|
10
13
|
return m;
|
|
11
14
|
}
|
|
12
|
-
return
|
|
15
|
+
return d(r);
|
|
13
16
|
}
|
|
14
17
|
export {
|
|
15
|
-
|
|
18
|
+
g as default
|
|
16
19
|
};
|
|
17
20
|
//# sourceMappingURL=v4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v4.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import rng from './rng.js';\nimport
|
|
1
|
+
{"version":3,"file":"v4.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;"],"names":["v4","options","buf","offset","native","rnds","rng","i","unsafeStringify"],"mappings":";;;AAIA,SAASA,EAAGC,GAASC,GAAKC,GAAQ;AAChC,MAAIC,EAAO,cAAc,CAACF,KAAO,CAACD;AAChC,WAAOG,EAAO;AAGhB,EAAAH,IAAUA,KAAW;AACrB,QAAMI,IAAOJ,EAAQ,WAAWA,EAAQ,OAAOK;AAK/C,MAHAD,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,IAC3BA,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,KAEvBH,GAAK;AACP,IAAAC,IAASA,KAAU;AAEnB,aAASI,IAAI,GAAGA,IAAI,IAAI,EAAEA;AACxB,MAAAL,EAAIC,IAASI,CAAC,IAAIF,EAAKE,CAAC;AAG1B,WAAOL;AAAA,EACR;AAED,SAAOM,EAAgBH,CAAI;AAC7B;","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuemath/leap",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.32-j2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -96,5 +96,6 @@
|
|
|
96
96
|
"vite-plugin-dts": "3.6.4",
|
|
97
97
|
"vite-plugin-svgr": "3.2.0",
|
|
98
98
|
"vite-tsconfig-paths": "^4.2.2"
|
|
99
|
-
}
|
|
99
|
+
},
|
|
100
|
+
"packageManager": "yarn@4.4.1"
|
|
100
101
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/query-string/node_modules/decode-uri-component/index.js"],"sourcesContent":["const token = '%[a-f0-9]{2}';\nconst singleMatcher = new RegExp('(' + token + ')|([^%]+?)', 'gi');\nconst multiMatcher = new RegExp('(' + token + ')+', 'gi');\n\nfunction decodeComponents(components, split) {\n\ttry {\n\t\t// Try to decode the entire string first\n\t\treturn [decodeURIComponent(components.join(''))];\n\t} catch {\n\t\t// Do nothing\n\t}\n\n\tif (components.length === 1) {\n\t\treturn components;\n\t}\n\n\tsplit = split || 1;\n\n\t// Split the array in 2 parts\n\tconst left = components.slice(0, split);\n\tconst right = components.slice(split);\n\n\treturn Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right));\n}\n\nfunction decode(input) {\n\ttry {\n\t\treturn decodeURIComponent(input);\n\t} catch {\n\t\tlet tokens = input.match(singleMatcher) || [];\n\n\t\tfor (let i = 1; i < tokens.length; i++) {\n\t\t\tinput = decodeComponents(tokens, i).join('');\n\n\t\t\ttokens = input.match(singleMatcher) || [];\n\t\t}\n\n\t\treturn input;\n\t}\n}\n\nfunction customDecodeURIComponent(input) {\n\t// Keep track of all the replacements and prefill the map with the `BOM`\n\tconst replaceMap = {\n\t\t'%FE%FF': '\\uFFFD\\uFFFD',\n\t\t'%FF%FE': '\\uFFFD\\uFFFD',\n\t};\n\n\tlet match = multiMatcher.exec(input);\n\twhile (match) {\n\t\ttry {\n\t\t\t// Decode as big chunks as possible\n\t\t\treplaceMap[match[0]] = decodeURIComponent(match[0]);\n\t\t} catch {\n\t\t\tconst result = decode(match[0]);\n\n\t\t\tif (result !== match[0]) {\n\t\t\t\treplaceMap[match[0]] = result;\n\t\t\t}\n\t\t}\n\n\t\tmatch = multiMatcher.exec(input);\n\t}\n\n\t// Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else\n\treplaceMap['%C2'] = '\\uFFFD';\n\n\tconst entries = Object.keys(replaceMap);\n\n\tfor (const key of entries) {\n\t\t// Replace all decoded components\n\t\tinput = input.replace(new RegExp(key, 'g'), replaceMap[key]);\n\t}\n\n\treturn input;\n}\n\nexport default function decodeUriComponent(encodedURI) {\n\tif (typeof encodedURI !== 'string') {\n\t\tthrow new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`');\n\t}\n\n\ttry {\n\t\t// Try the built in decoder first\n\t\treturn decodeURIComponent(encodedURI);\n\t} catch {\n\t\t// Fallback to a more advanced decoder\n\t\treturn customDecodeURIComponent(encodedURI);\n\t}\n}\n"],"names":["token","singleMatcher","multiMatcher","decodeComponents","components","split","left","right","decode","input","tokens","i","customDecodeURIComponent","replaceMap","match","result","entries","key","decodeUriComponent","encodedURI"],"mappings":"AAAA,MAAMA,IAAQ,gBACRC,IAAgB,IAAI,OAAO,MAAMD,IAAQ,cAAc,IAAI,GAC3DE,IAAe,IAAI,OAAO,MAAMF,IAAQ,MAAM,IAAI;AAExD,SAASG,EAAiBC,GAAYC,GAAO;AAC5C,MAAI;AAEH,WAAO,CAAC,mBAAmBD,EAAW,KAAK,EAAE,CAAC,CAAC;AAAA,EACjD,QAAS;AAAA,EAEP;AAED,MAAIA,EAAW,WAAW;AACzB,WAAOA;AAGR,EAAAC,IAAQA,KAAS;AAGjB,QAAMC,IAAOF,EAAW,MAAM,GAAGC,CAAK,GAChCE,IAAQH,EAAW,MAAMC,CAAK;AAEpC,SAAO,MAAM,UAAU,OAAO,KAAK,CAAA,GAAIF,EAAiBG,CAAI,GAAGH,EAAiBI,CAAK,CAAC;AACvF;AAEA,SAASC,EAAOC,GAAO;AACtB,MAAI;AACH,WAAO,mBAAmBA,CAAK;AAAA,EACjC,QAAS;AACP,QAAIC,IAASD,EAAM,MAAMR,CAAa,KAAK,CAAA;AAE3C,aAASU,IAAI,GAAGA,IAAID,EAAO,QAAQC;AAClC,MAAAF,IAAQN,EAAiBO,GAAQC,CAAC,EAAE,KAAK,EAAE,GAE3CD,IAASD,EAAM,MAAMR,CAAa,KAAK,CAAA;AAGxC,WAAOQ;AAAA,EACP;AACF;AAEA,SAASG,EAAyBH,GAAO;AAExC,QAAMI,IAAa;AAAA,IAClB,UAAU;AAAA,IACV,UAAU;AAAA,EACZ;AAEC,MAAIC,IAAQZ,EAAa,KAAKO,CAAK;AACnC,SAAOK,KAAO;AACb,QAAI;AAEH,MAAAD,EAAWC,EAAM,CAAC,CAAC,IAAI,mBAAmBA,EAAM,CAAC,CAAC;AAAA,IACrD,QAAU;AACP,YAAMC,IAASP,EAAOM,EAAM,CAAC,CAAC;AAE9B,MAAIC,MAAWD,EAAM,CAAC,MACrBD,EAAWC,EAAM,CAAC,CAAC,IAAIC;AAAA,IAExB;AAED,IAAAD,IAAQZ,EAAa,KAAKO,CAAK;AAAA,EAC/B;AAGD,EAAAI,EAAW,KAAK,IAAI;AAEpB,QAAMG,IAAU,OAAO,KAAKH,CAAU;AAEtC,aAAWI,KAAOD;AAEjB,IAAAP,IAAQA,EAAM,QAAQ,IAAI,OAAOQ,GAAK,GAAG,GAAGJ,EAAWI,CAAG,CAAC;AAG5D,SAAOR;AACR;AAEe,SAASS,EAAmBC,GAAY;AACtD,MAAI,OAAOA,KAAe;AACzB,UAAM,IAAI,UAAU,wDAAwD,OAAOA,IAAa,GAAG;AAGpG,MAAI;AAEH,WAAO,mBAAmBA,CAAU;AAAA,EACtC,QAAS;AAEP,WAAOP,EAAyBO,CAAU;AAAA,EAC1C;AACF;","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"regex.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/regex.js"],"sourcesContent":["export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;"],"names":["REGEX"],"mappings":"AAAA,MAAAA,IAAe;","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate.js","sources":["../../../../../node_modules/uuid/dist/esm-browser/validate.js"],"sourcesContent":["import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;"],"names":["validate","uuid","REGEX"],"mappings":";AAEA,SAASA,EAASC,GAAM;AACtB,SAAO,OAAOA,KAAS,YAAYC,EAAM,KAAKD,CAAI;AACpD;","x_google_ignoreList":[0]}
|
|
File without changes
|