@cuemath/leap 3.3.9 → 3.3.10-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.
Files changed (54) hide show
  1. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +4 -4
  2. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -1
  3. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js +2 -2
  4. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js.map +1 -1
  5. package/dist/features/parent-dashboard/api/parent-home.js +10 -0
  6. package/dist/features/parent-dashboard/api/parent-home.js.map +1 -0
  7. package/dist/features/parent-dashboard/comps/compact-header/compact-header.js +30 -0
  8. package/dist/features/parent-dashboard/comps/compact-header/compact-header.js.map +1 -0
  9. package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js +2 -2
  10. package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js.map +1 -1
  11. package/dist/features/parent-dashboard/comps/math-practice/math-practice.js +12 -12
  12. package/dist/features/parent-dashboard/comps/math-practice/math-practice.js.map +1 -1
  13. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js +64 -0
  14. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js.map +1 -0
  15. package/dist/features/parent-dashboard/parent-dashboard-constants.js +26 -0
  16. package/dist/features/parent-dashboard/parent-dashboard-constants.js.map +1 -0
  17. package/dist/features/parent-dashboard/parent-dashboard-styled.js +33 -0
  18. package/dist/features/parent-dashboard/parent-dashboard-styled.js.map +1 -0
  19. package/dist/features/parent-dashboard/parent-dashboard-view.js +203 -0
  20. package/dist/features/parent-dashboard/parent-dashboard-view.js.map +1 -0
  21. package/dist/features/parent-dashboard/parent-dashboard.js +8 -0
  22. package/dist/features/parent-dashboard/parent-dashboard.js.map +1 -0
  23. package/dist/features/trial-session/comps/pla/next-steps/next-steps.js +6 -6
  24. package/dist/features/trial-session/comps/pla/next-steps/next-steps.js.map +1 -1
  25. package/dist/features/trial-session/comps/pla/session-status/session-status.js.map +1 -1
  26. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js +13 -13
  27. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js.map +1 -1
  28. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js.map +1 -1
  29. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js +9 -9
  30. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js.map +1 -1
  31. package/dist/features/worksheet/worksheet/worksheet-behavior-helper.js +38 -38
  32. package/dist/features/worksheet/worksheet/worksheet-behavior-helper.js.map +1 -1
  33. package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +126 -128
  34. package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
  35. package/dist/index.d.ts +26 -3
  36. package/dist/index.js +32 -28
  37. package/dist/index.js.map +1 -1
  38. package/dist/node_modules/decode-uri-component/index.js.map +1 -0
  39. package/dist/node_modules/query-string/base.js +1 -1
  40. package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
  41. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  42. package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
  43. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  44. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
  45. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  46. package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
  47. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  48. package/package.json +1 -1
  49. package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
  50. package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
  51. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
  52. package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
  53. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
  54. /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import { default as O } from "./assets/line-icons/icons/bulb.js";
16
16
  import { default as g } from "./assets/line-icons/icons/bulb2.js";
17
17
  import { default as G } from "./assets/line-icons/icons/calendar.js";
18
18
  import { default as v } from "./assets/line-icons/icons/check.js";
19
- import { default as b } from "./assets/line-icons/icons/check2.js";
19
+ import { default as U } from "./assets/line-icons/icons/check2.js";
20
20
  import { default as z } from "./assets/line-icons/icons/clipboard.js";
21
21
  import { default as w } from "./assets/line-icons/icons/clock.js";
22
22
  import { default as V } from "./assets/line-icons/icons/clock2.js";
@@ -43,7 +43,7 @@ import { default as Oe } from "./assets/line-icons/icons/home.js";
43
43
  import { default as ge } from "./assets/line-icons/icons/image.js";
44
44
  import { default as Ge } from "./assets/line-icons/icons/info.js";
45
45
  import { default as ve } from "./assets/line-icons/icons/info2.js";
46
- import { default as be } from "./assets/line-icons/icons/left.js";
46
+ import { default as Ue } from "./assets/line-icons/icons/left.js";
47
47
  import { default as ze } from "./assets/line-icons/icons/lock.js";
48
48
  import { default as we } from "./assets/line-icons/icons/lock2.js";
49
49
  import { default as Ve } from "./assets/line-icons/icons/lock3.js";
@@ -69,7 +69,7 @@ import { default as Mo } from "./assets/line-icons/icons/redo.js";
69
69
  import { default as Do } from "./assets/line-icons/icons/right.js";
70
70
  import { default as Ho } from "./assets/line-icons/icons/ruler.js";
71
71
  import { default as yo } from "./assets/line-icons/icons/search.js";
72
- import { default as Uo } from "./assets/line-icons/icons/sheet.js";
72
+ import { default as bo } from "./assets/line-icons/icons/sheet.js";
73
73
  import { default as Bo } from "./assets/line-icons/icons/star.js";
74
74
  import { default as Fo } from "./assets/line-icons/icons/skip-colored.js";
75
75
  import { default as Wo } from "./assets/line-icons/icons/skip.js";
@@ -96,7 +96,7 @@ import { default as Or } from "./assets/line-icons/icons/game.js";
96
96
  import { default as gr } from "./assets/line-icons/icons/tutoring.js";
97
97
  import { default as Gr } from "./assets/line-icons/icons/chat.js";
98
98
  import { default as vr } from "./assets/line-icons/icons/cuemath-logo.js";
99
- import { default as br } from "./assets/line-icons/icons/next2.js";
99
+ import { default as Ur } from "./assets/line-icons/icons/next2.js";
100
100
  import { default as zr } from "./assets/line-icons/icons/evening.js";
101
101
  import { default as wr } from "./assets/line-icons/icons/after-noon.js";
102
102
  import { default as Vr } from "./assets/line-icons/icons/morning.js";
@@ -123,7 +123,7 @@ import { default as Ot } from "./features/ui/buttons/text-button/text-button.js"
123
123
  import { ArcButton as gt } from "./features/ui/arc-button/arc-button.js";
124
124
  import { default as Gt } from "./features/ui/error/error.js";
125
125
  import { default as vt } from "./features/ui/inputs/checkbox-input/checkbox-input.js";
126
- import { default as bt } from "./features/ui/inputs/checkbox-input-list/checkbox-input-list.js";
126
+ import { default as Ut } from "./features/ui/inputs/checkbox-input-list/checkbox-input-list.js";
127
127
  import { default as zt } from "./features/ui/inputs/radio-input/radio-input.js";
128
128
  import { default as wt } from "./features/ui/inputs/select-input/select-input.js";
129
129
  import { default as Vt } from "./features/ui/inputs/searchable-select-input/searchable-select-input.js";
@@ -149,7 +149,7 @@ import { default as ka, useUIContext as Ma } from "./features/ui/context/context
149
149
  import { default as Da } from "./features/ui/context/use-tracking-context.js";
150
150
  import { default as Ha } from "./features/ui/hooks/use-context-menu-click-handler.js";
151
151
  import { EDeviceType as ya } from "./features/ui/theme/constants.js";
152
- import { getTheme as Ua } from "./features/ui/theme/get-theme.js";
152
+ import { getTheme as ba } from "./features/ui/theme/get-theme.js";
153
153
  import { default as Ba } from "./features/ui/avatar/avatar.js";
154
154
  import { default as Fa } from "./features/ui/time-left-timeline/time-left-timeline.js";
155
155
  import { default as Wa } from "./features/ui/tab/tab.js";
@@ -176,7 +176,7 @@ import { default as Of } from "./features/auth/comps/resend-otp/resend-otp.js";
176
176
  import { default as gf } from "./features/auth/comps/otp-input/otp-input.js";
177
177
  import { default as Gf } from "./features/auth/comps/pill-button/pill-button.js";
178
178
  import { default as vf } from "./features/auth/comps/linear-progress-bar/linear-progress-bar.js";
179
- import { default as bf } from "./features/auth/comps/selectable-info-card/selectable-info-card.js";
179
+ import { default as Uf } from "./features/auth/comps/selectable-info-card/selectable-info-card.js";
180
180
  import { default as zf } from "./features/auth/comps/animated-avatar-message/animated-avatar-message.js";
181
181
  import { default as wf } from "./features/auth/comps/user-list/user-list.js";
182
182
  import { default as Vf } from "./features/auth/signup/user-type-selector/user-type-selector.js";
@@ -203,7 +203,7 @@ import { PLA_ANALYTICS_EVENTS as Os } from "./features/auth/pla-signup/pla-analy
203
203
  import { default as gs } from "./features/av/av-preview/av-preview.js";
204
204
  import { default as Gs } from "./features/blockers/multi-tab-blocker/use-is-tab-blocked.js";
205
205
  import { default as vs } from "./features/blockers/multi-tab-blocker/multi-tab-blocker.js";
206
- import { default as bs } from "./features/chapters/chapter/chapter.js";
206
+ import { default as Us } from "./features/chapters/chapter/chapter.js";
207
207
  import { default as zs } from "./features/chapters/chapters-list/chapters-list.js";
208
208
  import { default as ws } from "./features/chapters/lpar-chapter/lpar-chapter.js";
209
209
  import { default as Vs } from "./features/chapters/lpar-milestone-chapter/lpar-milestone-chapter.js";
@@ -230,7 +230,7 @@ import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as Ol } from "./features/circle-games
230
230
  import { CIRCLE_ACTION_IDS as gl } from "./features/circle-games/enum/circle-action-ids.js";
231
231
  import { GameLauncher as Gl } from "./features/circle-games/game-launcher/game-launcher.js";
232
232
  import { useGetCircleHomeDetailsDal as vl } from "./features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js";
233
- import { Leaderboard as bl } from "./features/circle-games/leaderboard/leaderboard.js";
233
+ import { Leaderboard as Ul } from "./features/circle-games/leaderboard/leaderboard.js";
234
234
  import { BackgroundImage as zl, CircularSteps as Fl } from "./features/circle-games/sign-up/comp/circular-steps/circular-steps.js";
235
235
  import { SplashScreen as Wl } from "./features/circle-games/sign-up/comp/splash-screen/splash-screen.js";
236
236
  import { SignUp as Jl } from "./features/circle-games/sign-up/sign-up.js";
@@ -256,7 +256,7 @@ import { EClassTimeAlertLevel as Ou } from "./features/trial-session/trial-sessi
256
256
  import { ESessionStatus as gu } from "./features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js";
257
257
  import { useGetSessionReports as Gu } from "./features/trial-session/api/trial-home.js";
258
258
  import { useClassTimeAlerts as vu } from "./features/trial-session/hooks/use-class-time-alerts.js";
259
- import { default as bu } from "./features/talk-meter/talk-meter.js";
259
+ import { default as Uu } from "./features/talk-meter/talk-meter.js";
260
260
  import { default as zu } from "./features/extra-practice/extra-practice.js";
261
261
  import { default as wu } from "./features/homework/hw-card-list/hw-card-list.js";
262
262
  import { invalidateHomeworks as Vu } from "./features/homework/hw-card-list/api/get-homeworks.js";
@@ -283,7 +283,7 @@ import { default as Op } from "./features/milestone/create/comps/confirmation-mo
283
283
  import { default as gp } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
284
284
  import { default as Gp } from "./features/milestone/create/milestone-create-container.js";
285
285
  import { default as vp } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
286
- import { default as bp } from "./features/milestone/outcome/milestone-outcome-container.js";
286
+ import { default as Up } from "./features/milestone/outcome/milestone-outcome-container.js";
287
287
  import { default as zp } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
288
288
  import { default as wp } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
289
289
  import { default as Vp } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
@@ -307,7 +307,7 @@ import { EPostGameStat as Mm } from "./features/post-game-stats/enums/post-game-
307
307
  import { PostGameStats as Dm } from "./features/post-game-stats/post-game-stats.js";
308
308
  import { default as Hm } from "./features/recent-chapters/recent-chapters.js";
309
309
  import { SENTRY_DENIED_URLS as ym, SENTRY_IGNORED_ERRORS as vm } from "./features/sentry/constants/ignored.js";
310
- import { default as bm } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
310
+ import { default as Um } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
311
311
  import { default as zm } from "./features/sheet-tools/tool-header/tool-header.js";
312
312
  import { default as wm } from "./features/sheets/sheets-list/sheets-list.js";
313
313
  import { default as Vm } from "./features/sheets/reference-sheet/reference-sheet.js";
@@ -327,13 +327,15 @@ import { default as Od } from "./features/worksheet/learnosity-preloader/use-is-
327
327
  import { default as gd } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
328
328
  import { default as Gd } from "./features/puzzles/puzzle-container/puzzle-container.js";
329
329
  import { default as vd } from "./features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js";
330
- import { default as bd } from "./features/puzzles/puzzle-dashboard/puzzle-dashboard.js";
330
+ import { default as Ud } from "./features/puzzles/puzzle-dashboard/puzzle-dashboard.js";
331
331
  import { default as zd } from "./features/puzzles/app/puzzle-app.js";
332
332
  import { invalidatePuzzleToAssign as wd, useGetPuzzleToAssign as Wd } from "./features/puzzles/api/puzzle-assign.js";
333
333
  import { default as Jd } from "./features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js";
334
334
  import { default as Qd } from "./features/parent-dashboard/comps/math-practice/math-practice.js";
335
335
  import { default as jd } from "./features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs.js";
336
- import { COUNTRY_CODE_MAP as qd } from "./constants/country.js";
336
+ import { default as qd } from "./features/parent-dashboard/comps/compact-header/compact-header.js";
337
+ import { default as $d } from "./features/parent-dashboard/parent-dashboard.js";
338
+ import { COUNTRY_CODE_MAP as ox } from "./constants/country.js";
337
339
  export {
338
340
  sm as ACHIEVEMENT_ACTIONS,
339
341
  Ls as AUTH_TABS,
@@ -371,20 +373,20 @@ export {
371
373
  gl as CIRCLE_ACTION_IDS,
372
374
  Ol as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
373
375
  Km as COMPLETED_SHEET_STATE,
374
- qd as COUNTRY_CODE_MAP,
376
+ ox as COUNTRY_CODE_MAP,
375
377
  G as CalendarIcon,
376
378
  La as Callout,
377
379
  lf as Carousel,
378
380
  Xt as CascadingSelectInput,
379
- bs as Chapter,
381
+ Us as Chapter,
380
382
  gp as ChapterClearanceConfirmationModal,
381
383
  Xs as ChapterDetails,
382
384
  zs as ChaptersList,
383
385
  Gr as ChatIcon,
384
- b as Check2Icon,
386
+ U as Check2Icon,
385
387
  v as CheckIcon,
386
388
  vt as CheckboxInput,
387
- bt as CheckboxInputList,
389
+ Ut as CheckboxInputList,
388
390
  kr as ChevronDownIcon,
389
391
  Lr as ChevronLeftIcon,
390
392
  hr as ChevronRightIcon,
@@ -399,6 +401,7 @@ export {
399
401
  w as ClockIcon,
400
402
  sp as Coachmark,
401
403
  Y as CodeIcon,
404
+ qd as CompactHeader,
402
405
  Tt as ContextMenu,
403
406
  K as CopyIcon,
404
407
  Ct as CountdownTimer,
@@ -416,7 +419,7 @@ export {
416
419
  Xf as CustomInputField,
417
420
  ee as DashArrowIcon,
418
421
  Zf as DatePickerInput,
419
- bm as DesmosCalculator,
422
+ Um as DesmosCalculator,
420
423
  Nm as DigitalMeter,
421
424
  df as DotLottieAnimation,
422
425
  re as DownIcon,
@@ -479,9 +482,9 @@ export {
479
482
  m as LOTTIE,
480
483
  ws as LPARChapter,
481
484
  Vs as LPARMilestoneChapter,
482
- bl as Leaderboard,
485
+ Ul as Leaderboard,
483
486
  kd as LearnosityPreloader,
484
- be as LeftIcon,
487
+ Ue as LeftIcon,
485
488
  vf as LinearProgressBar,
486
489
  we as Lock2Icon,
487
490
  Ve as Lock3Icon,
@@ -492,7 +495,7 @@ export {
492
495
  Gp as MilestoneCreate,
493
496
  Kp as MilestoneEdit,
494
497
  Zp as MilestoneList,
495
- bp as MilestoneOutcome,
498
+ Up as MilestoneOutcome,
496
499
  em as MilestoneStart,
497
500
  Ke as Minus2Icon,
498
501
  Ye as MinusIcon,
@@ -505,7 +508,7 @@ export {
505
508
  jm as NODE_LABELS,
506
509
  Zm as NODE_SUB_GROUP,
507
510
  qm as NODE_TYPE,
508
- br as Next2Icon,
511
+ Ur as Next2Icon,
509
512
  ro as NextIcon,
510
513
  Pu as NextSteps,
511
514
  mt as Notification,
@@ -519,6 +522,7 @@ export {
519
522
  If as PLATFORM_EVENTS_TEACHER,
520
523
  Os as PLA_ANALYTICS_EVENTS,
521
524
  Xm as PYTHON_NODE_TYPES,
525
+ $d as ParentDashboard,
522
526
  jd as ParentDashboardFaqs,
523
527
  ao as PencilIcon,
524
528
  ra as PercentileInput,
@@ -539,7 +543,7 @@ export {
539
543
  _o as Puzzle2Icon,
540
544
  zd as PuzzleApp,
541
545
  Gd as PuzzleCard,
542
- bd as PuzzleDashboard,
546
+ Ud as PuzzleDashboard,
543
547
  vd as PuzzleFeedbackCelebration,
544
548
  Ao as PuzzleIcon,
545
549
  Ro as QuestionIcon,
@@ -573,13 +577,13 @@ export {
573
577
  Vt as SearchableSelectInput,
574
578
  Ca as SectionList,
575
579
  wt as SelectInput,
576
- bf as SelectableInfoCard,
580
+ Uf as SelectableInfoCard,
577
581
  aa as SelectionCards,
578
582
  Qa as Separator,
579
583
  Tu as SessionStatus,
580
584
  Cu as SessionSummary,
581
585
  Ld as SheetError,
582
- Uo as SheetIcon,
586
+ bo as SheetIcon,
583
587
  wm as SheetList,
584
588
  hd as SheetLocked,
585
589
  Jl as SignUp,
@@ -612,7 +616,7 @@ export {
612
616
  Wa as TabComponent,
613
617
  Lf as Tabs,
614
618
  ha as Tag,
615
- bu as TalkMeter,
619
+ Uu as TalkMeter,
616
620
  Iu as TeacherProfile,
617
621
  rm as TestsCreation,
618
622
  Pa as Text,
@@ -648,7 +652,7 @@ export {
648
652
  Td as Worksheet,
649
653
  Ks as checkIfPPTNodeType,
650
654
  Zs as getActiveSATSheet,
651
- Ua as getTheme,
655
+ ba as getTheme,
652
656
  el as invalidateGetChapterDetails,
653
657
  Vu as invalidateHomeworks,
654
658
  Cm as invalidateMilestoneResources,
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 "./node_modules/decode-uri-component/index.js";
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,7 @@
1
+ const o = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), t = {
2
+ randomUUID: o
3
+ };
4
+ export {
5
+ t as default
6
+ };
7
+ //# sourceMappingURL=native.js.map
@@ -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
- var t, e = new Uint8Array(16);
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) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !t))
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()).\nvar getRandomValues;\nvar 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. Also,\n // find the complete implementation of crypto (msCrypto) on IE11.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\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,GACAC,IAAQ,IAAI,WAAW,EAAE;AACd,SAASC,IAAM;AAE5B,MAAI,CAACF,MAGHA,IAAkB,OAAO,SAAW,OAAe,OAAO,mBAAmB,OAAO,gBAAgB,KAAK,MAAM,KAAK,OAAO,WAAa,OAAe,OAAO,SAAS,mBAAoB,cAAc,SAAS,gBAAgB,KAAK,QAAQ,GAE3O,CAACA;AACH,UAAM,IAAI,MAAM,0GAA0G;AAI9H,SAAOA,EAAgBC,CAAK;AAC9B;","x_google_ignoreList":[0]}
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
- import s from "./validate.js";
2
- var t = [];
3
- for (var n = 0; n < 256; ++n)
4
- t.push((n + 256).toString(16).substr(1));
5
- function f(e) {
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
- f as default
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\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 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 var uuid = (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(); // 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","stringify","arr","offset","uuid","validate"],"mappings":";AAMA,IAAIA,IAAY,CAAA;AAEhB,SAASC,IAAI,GAAGA,IAAI,KAAK,EAAEA;AACzB,EAAAD,EAAU,MAAMC,IAAI,KAAO,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;AAGnD,SAASC,EAAUC,GAAK;AACtB,MAAIC,IAAS,UAAU,SAAS,KAAK,UAAU,CAAC,MAAM,SAAY,UAAU,CAAC,IAAI,GAG7EC,KAAQL,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;AAMzf,MAAI,CAACE,EAASD,CAAI;AAChB,UAAM,UAAU,6BAA6B;AAG/C,SAAOA;AACT;","x_google_ignoreList":[0]}
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 d from "./rng.js";
2
- import f from "./stringify.js";
3
- function v(n, m, x) {
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
- var r = n.random || (n.rng || d)();
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
- x = x || 0;
8
- for (var a = 0; a < 16; ++a)
9
- m[x + a] = r[a];
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 f(r);
15
+ return d(r);
13
16
  }
14
17
  export {
15
- v as default
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 stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n var 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 (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;"],"names":["v4","options","buf","offset","rnds","rng","i","stringify"],"mappings":";;AAGA,SAASA,EAAGC,GAASC,GAAKC,GAAQ;AAChC,EAAAF,IAAUA,KAAW;AACrB,MAAIG,IAAOH,EAAQ,WAAWA,EAAQ,OAAOI;AAK7C,MAHAD,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,IAC3BA,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,KAEvBF,GAAK;AACP,IAAAC,IAASA,KAAU;AAEnB,aAASG,IAAI,GAAGA,IAAI,IAAI,EAAEA;AACxB,MAAAJ,EAAIC,IAASG,CAAC,IAAIF,EAAKE,CAAC;AAG1B,WAAOJ;AAAA,EACR;AAED,SAAOK,EAAUH,CAAI;AACvB;","x_google_ignoreList":[0]}
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.9",
3
+ "version": "3.3.10-j2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -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,5 +0,0 @@
1
- const a = /^(?:[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;
2
- export {
3
- a as default
4
- };
5
- //# sourceMappingURL=regex.js.map
@@ -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,8 +0,0 @@
1
- import e from "./regex.js";
2
- function o(t) {
3
- return typeof t == "string" && e.test(t);
4
- }
5
- export {
6
- o as default
7
- };
8
- //# sourceMappingURL=validate.js.map
@@ -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]}