@cuemath/leap 3.1.7 → 3.1.8-j

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 (71) hide show
  1. package/dist/assets/illustrations/illustrations.js +1 -1
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/constants/country.js +994 -2
  4. package/dist/constants/country.js.map +1 -1
  5. package/dist/features/auth/account-selector/account-selector-styled.js +9 -0
  6. package/dist/features/auth/account-selector/account-selector-styled.js.map +1 -0
  7. package/dist/features/auth/account-selector/account-selector.js +60 -36
  8. package/dist/features/auth/account-selector/account-selector.js.map +1 -1
  9. package/dist/features/auth/comps/auth-page-layout/{auth-page-layout-styles.js → auth-page-layout-styled.js} +1 -1
  10. package/dist/features/auth/comps/auth-page-layout/{auth-page-layout-styles.js.map → auth-page-layout-styled.js.map} +1 -1
  11. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +20 -9
  12. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  13. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +1 -1
  14. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +1 -1
  15. package/dist/features/auth/forgot-password/forgot-password-styled.js +30 -4
  16. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -1
  17. package/dist/features/auth/forgot-password/otp-form/otp-form.js +27 -29
  18. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +1 -1
  19. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +22 -27
  20. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +1 -1
  21. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +25 -28
  22. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +1 -1
  23. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +17 -4
  24. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -1
  25. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +88 -79
  26. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +1 -1
  27. package/dist/features/auth/login/login-styled.js +26 -0
  28. package/dist/features/auth/login/login-styled.js.map +1 -0
  29. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +27 -21
  30. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +1 -1
  31. package/dist/features/auth/login/social-login-methods/social-login-methods-styled.js +9 -0
  32. package/dist/features/auth/login/social-login-methods/social-login-methods-styled.js.map +1 -0
  33. package/dist/features/auth/login/social-login-methods/social-login-methods.js +43 -34
  34. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +1 -1
  35. package/dist/features/auth/login/username-password-form/username-password-form.js +68 -71
  36. package/dist/features/auth/login/username-password-form/username-password-form.js.map +1 -1
  37. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js +1 -1
  38. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js.map +1 -1
  39. package/dist/features/auth/signup/signup-constants.js +6 -998
  40. package/dist/features/auth/signup/signup-constants.js.map +1 -1
  41. package/dist/features/auth/user-list/user-item/user-item.js +33 -32
  42. package/dist/features/auth/user-list/user-item/user-item.js.map +1 -1
  43. package/dist/features/auth/user-list/user-list.js +60 -51
  44. package/dist/features/auth/user-list/user-list.js.map +1 -1
  45. package/dist/features/hooks/use-viewport/use-viewport.js +21 -0
  46. package/dist/features/hooks/use-viewport/use-viewport.js.map +1 -0
  47. package/dist/features/ui/buttons/button/button-styled.js +29 -29
  48. package/dist/features/ui/buttons/button/button-styled.js.map +1 -1
  49. package/dist/features/utils/media.js +16 -0
  50. package/dist/features/utils/media.js.map +1 -0
  51. package/dist/index.d.ts +22 -15
  52. package/dist/index.js +56 -52
  53. package/dist/index.js.map +1 -1
  54. package/dist/node_modules/decode-uri-component/index.js.map +1 -0
  55. package/dist/node_modules/query-string/base.js +1 -1
  56. package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
  57. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  58. package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
  59. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  60. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
  61. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  62. package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
  63. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  64. package/dist/static/cuemath-app-qr-code.7205ee79.svg +1 -0
  65. package/package.json +1 -1
  66. package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
  67. package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
  68. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
  69. package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
  70. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
  71. /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
package/dist/index.d.ts CHANGED
@@ -758,7 +758,7 @@ declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>,
758
758
  shape?: 'curved' | 'square';
759
759
  disabled?: boolean;
760
760
  busy?: boolean;
761
- width?: number;
761
+ width?: number | string;
762
762
  widthX?: number;
763
763
  Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
764
764
  iconPosition?: 'left' | 'right';
@@ -1168,16 +1168,6 @@ declare interface ICountdownTimer {
1168
1168
  theme: 'GREEN_1' | 'ORANGE_1';
1169
1169
  }
1170
1170
 
1171
- declare interface ICountryOption {
1172
- code: string;
1173
- id: string;
1174
- value: string;
1175
- label: string;
1176
- icon: string;
1177
- url: string;
1178
- geoIPCountryCode: string;
1179
- }
1180
-
1181
1171
  export declare interface ICreateUserPayloadDal {
1182
1172
  username: string;
1183
1173
  grade: string;
@@ -2503,7 +2493,7 @@ declare interface IOTPResendProps {
2503
2493
  showVoiceOTP?: boolean;
2504
2494
  disabled?: boolean;
2505
2495
  renderAs?: 'submit' | 'text';
2506
- width?: number;
2496
+ width?: number | string;
2507
2497
  }
2508
2498
 
2509
2499
  declare interface IOutcomeConfig {
@@ -3055,7 +3045,8 @@ declare interface ISingleFieldFormProps {
3055
3045
 
3056
3046
  declare interface ISocialAccountNotFoundProps {
3057
3047
  onRetryLogin: () => void;
3058
- onGoToSignup: () => void;
3048
+ onGoToSignup?: () => void;
3049
+ showSignupButton?: boolean;
3059
3050
  }
3060
3051
 
3061
3052
  declare interface ISocialLoginMethodsProps {
@@ -3628,6 +3619,12 @@ declare interface IUseTrialSessionMessageBroker {
3628
3619
  };
3629
3620
  }
3630
3621
 
3622
+ declare interface IUseViewportReturn {
3623
+ isCompact: boolean;
3624
+ isMobile: boolean;
3625
+ isDesktop: boolean;
3626
+ }
3627
+
3631
3628
  declare interface IUseWorksheetLayout {
3632
3629
  (options: {
3633
3630
  userType: TUserTypes;
@@ -4096,6 +4093,11 @@ export declare const Maintenance: React_2.FC<IMaintenanceProps>;
4096
4093
 
4097
4094
  declare const MASTERY: "mastery";
4098
4095
 
4096
+ export declare const media: {
4097
+ minDesktop: string;
4098
+ minLarge: string;
4099
+ };
4100
+
4099
4101
  export declare const MilestoneActionWidget: React_2.FC<IMilestoneActionWidgetProps>;
4100
4102
 
4101
4103
  export declare const MilestoneCreate: React.FC<IMileStoneCreateContainerProps>;
@@ -4520,7 +4522,7 @@ export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4520
4522
 
4521
4523
  export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4522
4524
 
4523
- export declare const SocialAccountNotFound: MemoExoticComponent<({ onRetryLogin, onGoToSignup }: ISocialAccountNotFoundProps) => JSX_2.Element>;
4525
+ export declare const SocialAccountNotFound: MemoExoticComponent<({ onRetryLogin, onGoToSignup, showSignupButton, }: ISocialAccountNotFoundProps) => JSX_2.Element>;
4524
4526
 
4525
4527
  export declare const SocialLoginMethods: NamedExoticComponent<ISocialLoginMethodsProps>;
4526
4528
 
@@ -5476,7 +5478,10 @@ declare type TSectionSummary = {
5476
5478
  modules: TSATModule[];
5477
5479
  };
5478
5480
 
5479
- export declare type TSelectedCountry = Pick<ICountryOption, 'id' | 'code'>;
5481
+ export declare type TSelectedCountry = {
5482
+ id: string;
5483
+ code: string;
5484
+ };
5480
5485
 
5481
5486
  declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
5482
5487
 
@@ -5852,6 +5857,8 @@ export declare const useTrialSessionMessageBroker: IUseTrialSessionMessageBroker
5852
5857
 
5853
5858
  export declare const useUIContext: () => UIContextProps;
5854
5859
 
5860
+ export declare const useViewport: () => IUseViewportReturn;
5861
+
5855
5862
  export declare const useWorksheetLayout: IUseWorksheetLayout;
5856
5863
 
5857
5864
  export declare const useZoomDisable: () => void;
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { default as r } from "./features/ui/grade-selector/grade-selector.js";
2
2
  import { default as a } from "./features/ui/stepper/stepper.js";
3
3
  import { ILLUSTRATIONS as s } from "./assets/illustrations/illustrations.js";
4
4
  import { IMAGES as p } from "./assets/images/images.js";
5
- import { LOTTIE as m } from "./assets/lottie/lottie.js";
5
+ import { LOTTIE as u } from "./assets/lottie/lottie.js";
6
6
  import { default as x } from "./assets/line-icons/icons/alert.js";
7
7
  import { default as c } from "./assets/line-icons/icons/back.js";
8
8
  import { default as I } from "./assets/line-icons/icons/bin.js";
@@ -29,7 +29,7 @@ import { default as re } from "./assets/line-icons/icons/draft.js";
29
29
  import { default as ae } from "./assets/line-icons/icons/drag.js";
30
30
  import { default as se } from "./assets/line-icons/icons/edit.js";
31
31
  import { default as pe } from "./assets/line-icons/icons/edit2.js";
32
- import { default as me } from "./assets/line-icons/icons/edit-star.js";
32
+ import { default as ue } from "./assets/line-icons/icons/edit-star.js";
33
33
  import { default as xe } from "./assets/line-icons/icons/eraser.js";
34
34
  import { default as ce } from "./assets/line-icons/icons/eye.js";
35
35
  import { default as Ie } from "./assets/line-icons/icons/eye2.js";
@@ -56,7 +56,7 @@ import { default as ro } from "./assets/line-icons/icons/pointer.js";
56
56
  import { default as ao } from "./assets/line-icons/icons/play.js";
57
57
  import { default as so } from "./assets/line-icons/icons/play2.js";
58
58
  import { default as po } from "./assets/line-icons/icons/plus.js";
59
- import { default as mo } from "./assets/line-icons/icons/plus2.js";
59
+ import { default as uo } from "./assets/line-icons/icons/plus2.js";
60
60
  import { default as no } from "./assets/line-icons/icons/practice.js";
61
61
  import { default as io } from "./assets/line-icons/icons/progress.js";
62
62
  import { default as To } from "./assets/line-icons/icons/question.js";
@@ -82,7 +82,7 @@ import { default as or } from "./assets/line-icons/icons/unlock2.js";
82
82
  import { default as tr } from "./assets/line-icons/icons/up.js";
83
83
  import { default as fr } from "./assets/line-icons/icons/user.js";
84
84
  import { default as lr } from "./assets/line-icons/icons/user2.js";
85
- import { default as ur, default as mr } from "./assets/line-icons/icons/sketch.js";
85
+ import { default as mr, default as ur } from "./assets/line-icons/icons/sketch.js";
86
86
  import { default as xr } from "./assets/line-icons/icons/back2.js";
87
87
  import { default as cr } from "./assets/line-icons/icons/chevron-right.js";
88
88
  import { default as Ir } from "./assets/line-icons/icons/chevron-left.js";
@@ -109,7 +109,7 @@ import { default as rt } from "./features/ui/error/error.js";
109
109
  import { default as at } from "./features/ui/inputs/checkbox-input/checkbox-input.js";
110
110
  import { default as st } from "./features/ui/inputs/checkbox-input-list/checkbox-input-list.js";
111
111
  import { default as pt } from "./features/ui/inputs/radio-input/radio-input.js";
112
- import { default as mt } from "./features/ui/inputs/select-input/select-input.js";
112
+ import { default as ut } from "./features/ui/inputs/select-input/select-input.js";
113
113
  import { default as xt } from "./features/ui/inputs/searchable-select-input/searchable-select-input.js";
114
114
  import { default as ct } from "./features/ui/inputs/google-places-search-input/google-places-search-input.js";
115
115
  import { default as It } from "./features/ui/inputs/text-input/text-input.js";
@@ -135,7 +135,7 @@ import { default as oa } from "./features/ui/tab/tab.js";
135
135
  import { default as ta } from "./features/ui/streak-icon/streak-icon.js";
136
136
  import { default as fa } from "./features/ui/separator/separator.js";
137
137
  import { default as la } from "./features/ui/video/index.js";
138
- import { default as ua } from "./features/ui/perfect-hits/perfect-hits.js";
138
+ import { default as ma } from "./features/ui/perfect-hits/perfect-hits.js";
139
139
  import { default as da } from "./features/ui/image/image.js";
140
140
  import { default as na } from "./features/ui/animated-arc/animated-arc.js";
141
141
  import { default as ia } from "./features/auth/comps/auth-static-panel/auth-static-panel.js";
@@ -162,7 +162,7 @@ import { default as of } from "./features/auth/forgot-password/user-identifier-f
162
162
  import { AUTH_TABS as tf } from "./features/auth/login/login-constants.js";
163
163
  import { AuthApiErrorCode as ff } from "./features/auth/signup/signup-constants.js";
164
164
  import { PLATFORM_EVENTS_STUDENT as lf } from "./features/analytics-events/platform-events-student.js";
165
- import { PLATFORM_EVENTS_TEACHER as uf } from "./features/analytics-events/platform-events-teacher.js";
165
+ import { PLATFORM_EVENTS_TEACHER as mf } from "./features/analytics-events/platform-events-teacher.js";
166
166
  import { WHITELIST_EVENTS as df } from "./features/analytics-events/whitelist-events.js";
167
167
  import { default as nf } from "./features/blockers/multi-tab-blocker/use-is-tab-blocked.js";
168
168
  import { default as If } from "./features/blockers/multi-tab-blocker/multi-tab-blocker.js";
@@ -189,7 +189,7 @@ import { ProjectType as rs } from "./features/circle-games/games/web-view/enums/
189
189
  import { PlayerType as as } from "./features/circle-games/games/web-view/enums/player-type-enum.js";
190
190
  import { IStatsToAwardErrorCode as ss } from "./features/circle-games/games/web-view/web-view-types.js";
191
191
  import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as ps } from "./features/circle-games/enum/circle-onboarding-steps.js";
192
- import { CIRCLE_ACTION_IDS as ms } from "./features/circle-games/enum/circle-action-ids.js";
192
+ import { CIRCLE_ACTION_IDS as us } from "./features/circle-games/enum/circle-action-ids.js";
193
193
  import { GameLauncher as xs } from "./features/circle-games/game-launcher/game-launcher.js";
194
194
  import { useGetCircleHomeDetailsDal as cs } from "./features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js";
195
195
  import { Leaderboard as Is } from "./features/circle-games/leaderboard/leaderboard.js";
@@ -215,7 +215,7 @@ import { default as rl } from "./features/homework/hw-card-list/hw-card-list.js"
215
215
  import { invalidateHomeworks as al } from "./features/homework/hw-card-list/api/get-homeworks.js";
216
216
  import { useAutoPlayPermission as sl } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
217
217
  import { JOURNEY_ID_STUDENT as pl } from "./features/journey/journey-id/journey-id-student.js";
218
- import { JOURNEY_ID_TEACHER as ml } from "./features/journey/journey-id/journey-id-teacher.js";
218
+ import { JOURNEY_ID_TEACHER as ul } from "./features/journey/journey-id/journey-id-teacher.js";
219
219
  import { useJourney as xl } from "./features/journey/use-journey/use-journey.js";
220
220
  import { useGetEligibleJourneysViaRoute as cl } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
221
221
  import { JourneyProvider as Il } from "./features/journey/use-journey/journey-context-provider.js";
@@ -241,7 +241,7 @@ import { default as ep } from "./features/milestone/start/milestone-start.js";
241
241
  import { default as rp } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
242
242
  import { default as ap } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
243
243
  import { ACHIEVEMENT_ACTIONS as sp, STAGES as lp } from "./features/milestone/outcome/milestone-outcome-constants.js";
244
- import { invalidateMilestonesData as up, useGetAllMilestonesdata as mp } from "./features/milestone/milestone-list-container/api/get-milestones.js";
244
+ import { invalidateMilestonesData as mp, useGetAllMilestonesdata as up } from "./features/milestone/milestone-list-container/api/get-milestones.js";
245
245
  import { invalidatePastMilestoneCount as xp, useGetPastMilestoneCount as np } from "./features/milestone/milestone-list-container/api/get-past-milestone-count.js";
246
246
  import { invalidateTestHelpData as ip, useGetTestHelpData as Ip } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
247
247
  import { invalidateMilestoneResources as Sp, useGetMilestoneResources as Ep } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
@@ -257,18 +257,20 @@ import { default as vp } from "./features/sheet-tools/tool-header/tool-header.js
257
257
  import { default as wp } from "./features/sheets/sheets-list/sheets-list.js";
258
258
  import { default as Vp } from "./features/sheets/reference-sheet/reference-sheet.js";
259
259
  import { WORKSHEET_V3_NODE_TYPES as Yp } from "./features/sheets/utils/is-v3-worksheet.js";
260
- import { COMPLETED_SHEET_STATE as Qp, NODE_LABELS as Kp, NODE_SUB_GROUP as jp, NODE_TYPE as Zp, PYTHON_NODE_TYPES as qp, REWARDS_LIST as zp, SHEET_ACTIONS as Xp, SHEET_ATTEMPT_LOCATION as $p, SHEET_ATTEMPT_LOCATION_MAP as eu, SHEET_ATTEMPT_STATE as ou, SHEET_DATA_TYPE as ru, SHEET_STATE as tu } from "./features/sheets/constants/sheet.js";
261
- import { default as fu } from "./features/student-details/student-details.js";
262
- import { default as lu } from "./features/utils/load-script.js";
263
- import { ACTION_BAR_HEIGHT as uu, QUESTIONS_GAP as mu, QUESTION_WIDTH as du, TOP_NAVIGATION_HEIGHT as xu } from "./features/worksheet/worksheet/constants.js";
264
- import { isOkayTypeQuestion as cu } from "./features/worksheet/worksheet/worksheet-helpers.js";
265
- import { default as Iu } from "./features/worksheet/worksheet/worksheet-container.js";
266
- import { default as Su } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
267
- import { default as Cu } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
268
- import { default as Pu } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
269
- import { default as hu } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
270
- import { default as Ru } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
271
- import { default as Nu } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
260
+ import { COMPLETED_SHEET_STATE as Qp, NODE_LABELS as Kp, NODE_SUB_GROUP as jp, NODE_TYPE as Zp, PYTHON_NODE_TYPES as qp, REWARDS_LIST as zp, SHEET_ACTIONS as Xp, SHEET_ATTEMPT_LOCATION as $p, SHEET_ATTEMPT_LOCATION_MAP as em, SHEET_ATTEMPT_STATE as om, SHEET_DATA_TYPE as rm, SHEET_STATE as tm } from "./features/sheets/constants/sheet.js";
261
+ import { default as fm } from "./features/student-details/student-details.js";
262
+ import { default as lm } from "./features/utils/load-script.js";
263
+ import { media as mm } from "./features/utils/media.js";
264
+ import { ACTION_BAR_HEIGHT as dm, QUESTIONS_GAP as xm, QUESTION_WIDTH as nm, TOP_NAVIGATION_HEIGHT as cm } from "./features/worksheet/worksheet/constants.js";
265
+ import { isOkayTypeQuestion as Im } from "./features/worksheet/worksheet/worksheet-helpers.js";
266
+ import { default as Sm } from "./features/worksheet/worksheet/worksheet-container.js";
267
+ import { default as Cm } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
268
+ import { default as Pm } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
269
+ import { default as hm } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
270
+ import { default as Rm } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
271
+ import { default as Nm } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
272
+ import { default as Om } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
273
+ import { default as Dm } from "./features/hooks/use-viewport/use-viewport.js";
272
274
  export {
273
275
  sp as ACHIEVEMENT_ACTIONS,
274
276
  tf as AUTH_TABS,
@@ -298,7 +300,7 @@ export {
298
300
  O as Bulb2Icon,
299
301
  N as BulbIcon,
300
302
  Qr as Button,
301
- ms as CIRCLE_ACTION_IDS,
303
+ us as CIRCLE_ACTION_IDS,
302
304
  ps as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
303
305
  Qp as COMPLETED_SHEET_STATE,
304
306
  D as CalendarIcon,
@@ -354,7 +356,7 @@ export {
354
356
  pe as Edit2Icon,
355
357
  se as EditIcon,
356
358
  Yl as EditMilestoneModal,
357
- me as EditStarIcon,
359
+ ue as EditStarIcon,
358
360
  xe as EraserIcon,
359
361
  rt as Error,
360
362
  Se as ExclamationIcon,
@@ -390,13 +392,13 @@ export {
390
392
  Oe as InfoIcon,
391
393
  _a as InputStatusIcon,
392
394
  pl as JOURNEY_ID_STUDENT,
393
- ml as JOURNEY_ID_TEACHER,
395
+ ul as JOURNEY_ID_TEACHER,
394
396
  Il as JourneyProvider,
395
- m as LOTTIE,
397
+ u as LOTTIE,
396
398
  Pf as LPARChapter,
397
399
  hf as LPARMilestoneChapter,
398
400
  Is as Leaderboard,
399
- hu as LearnosityPreloader,
401
+ Rm as LearnosityPreloader,
400
402
  ge as LeftIcon,
401
403
  ve as Lock2Icon,
402
404
  we as Lock3Icon,
@@ -424,20 +426,20 @@ export {
424
426
  za as OTPForm,
425
427
  Ea as OverlayLoader,
426
428
  lf as PLATFORM_EVENTS_STUDENT,
427
- uf as PLATFORM_EVENTS_TEACHER,
429
+ mf as PLATFORM_EVENTS_TEACHER,
428
430
  qp as PYTHON_NODE_TYPES,
429
431
  eo as PencilIcon,
430
432
  Pt as PercentileInput,
431
- ua as PerfectHits,
433
+ ma as PerfectHits,
432
434
  so as Play2Icon,
433
435
  ao as PlayIcon,
434
436
  as as PlayerType,
435
- mo as Plus2Icon,
437
+ uo as Plus2Icon,
436
438
  po as PlusIcon,
437
439
  ro as PointerIcon,
438
440
  Mp as PostGameStats,
439
441
  no as PracticeIcon,
440
- Su as PreviewWorksheet,
442
+ Cm as PreviewWorksheet,
441
443
  io as ProgressIcon,
442
444
  Xf as ProjectOutcome,
443
445
  rs as ProjectType,
@@ -459,25 +461,25 @@ export {
459
461
  gp as SENTRY_IGNORED_ERRORS,
460
462
  Xp as SHEET_ACTIONS,
461
463
  $p as SHEET_ATTEMPT_LOCATION,
462
- eu as SHEET_ATTEMPT_LOCATION_MAP,
463
- ou as SHEET_ATTEMPT_STATE,
464
- ru as SHEET_DATA_TYPE,
465
- tu as SHEET_STATE,
464
+ em as SHEET_ATTEMPT_LOCATION_MAP,
465
+ om as SHEET_ATTEMPT_STATE,
466
+ rm as SHEET_DATA_TYPE,
467
+ tm as SHEET_STATE,
466
468
  lp as STAGES,
467
- ur as ScribbleIcon,
469
+ mr as ScribbleIcon,
468
470
  ko as SearchIcon,
469
471
  xt as SearchableSelectInput,
470
472
  gt as SectionList,
471
- mt as SelectInput,
473
+ ut as SelectInput,
472
474
  ht as SelectionCards,
473
475
  fa as Separator,
474
- Pu as SheetError,
476
+ hm as SheetError,
475
477
  Mo as SheetIcon,
476
478
  wp as SheetList,
477
- Cu as SheetLocked,
479
+ Pm as SheetLocked,
478
480
  _s as SignUp,
479
481
  ba as SignupMethods,
480
- mr as SketchIcon,
482
+ ur as SketchIcon,
481
483
  Bo as Skip2Icon,
482
484
  Go as SkipColoredIcon,
483
485
  yo as SkipIcon,
@@ -491,7 +493,7 @@ export {
491
493
  ta as StreakIcon,
492
494
  Qf as StreakReductionLocalStorageUtil,
493
495
  Fo as StrikedEyeIcon,
494
- fu as StudentDetails,
496
+ fm as StudentDetails,
495
497
  Nl as SubmitMilestoneModal,
496
498
  Jo as SwitchIcon,
497
499
  oa as TabComponent,
@@ -520,24 +522,25 @@ export {
520
522
  Ka as UsernamePasswordForm,
521
523
  la as Video,
522
524
  df as WHITELIST_EVENTS,
523
- uu as WORKSHEET_ACTION_BAR_HEIGHT,
524
- mu as WORKSHEET_QUESTIONS_GAP,
525
- du as WORKSHEET_QUESTION_WIDTH,
526
- xu as WORKSHEET_TOP_NAVIGATION_HEIGHT,
525
+ dm as WORKSHEET_ACTION_BAR_HEIGHT,
526
+ xm as WORKSHEET_QUESTIONS_GAP,
527
+ nm as WORKSHEET_QUESTION_WIDTH,
528
+ cm as WORKSHEET_TOP_NAVIGATION_HEIGHT,
527
529
  Yp as WORKSHEET_V3_NODE_TYPES,
528
530
  qf as WebView,
529
531
  es as WebViewEvent,
530
- Iu as Worksheet,
532
+ Sm as Worksheet,
531
533
  Nf as checkIfPPTNodeType,
532
534
  Zt as getTheme,
533
535
  Df as invalidateGetChapterDetails,
534
536
  al as invalidateHomeworks,
535
537
  Sp as invalidateMilestoneResources,
536
- up as invalidateMilestonesData,
538
+ mp as invalidateMilestonesData,
537
539
  xp as invalidatePastMilestoneCount,
538
540
  ip as invalidateTestHelpData,
539
- cu as isOkayTypeQuestion,
540
- lu as loadScript,
541
+ Im as isOkayTypeQuestion,
542
+ lm as loadScript,
543
+ mm as media,
541
544
  sl as useAutoPlayPermission,
542
545
  Hs as useCanvasSyncBroker,
543
546
  hl as useChapterPageJourney,
@@ -545,7 +548,7 @@ export {
545
548
  qs as useClassTimeAlerts,
546
549
  Kt as useContextMenuClickHandler,
547
550
  gr as useForceReload,
548
- mp as useGetAllMilestonesdata,
551
+ up as useGetAllMilestonesdata,
549
552
  cs as useGetCircleHomeDetailsDal,
550
553
  cl as useGetEligibleJourneysViaRoute,
551
554
  Vf as useGetLeaderboardDal,
@@ -556,14 +559,15 @@ export {
556
559
  Fs as useInClassActionDispatcher,
557
560
  Ys as useInClassActionListener,
558
561
  Bs as useInClassMessageBroker,
559
- Ru as useIsLearnosityLoaded,
562
+ Nm as useIsLearnosityLoaded,
560
563
  nf as useIsTabBlocked,
561
564
  xl as useJourney,
562
565
  _p as usePointerSync,
563
566
  Jt as useTrackingContext,
564
567
  bs as useTrialSessionMessageBroker,
565
568
  Ft as useUIContext,
566
- Nu as useWorksheetLayout,
569
+ Dm as useViewport,
570
+ Om as useWorksheetLayout,
567
571
  Dr as useZoomDisable
568
572
  };
569
573
  //# sourceMappingURL=index.js.map
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]}
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024"><defs><clipPath id="clip-path-dot-color"><path d="M 62 341 v 31 h 31v -31h -31ZM 62 403 v 31 h 31v -31h -31ZM 62 465 v 31 h 31v -31h -31ZM 62 496 v 31 h 31v -31h -31ZM 62 558 v 31 h 31v -31h -31ZM 62 589 v 31 h 31v -31h -31ZM 62 620 v 31 h 31v -31h -31ZM 62 651 v 31 h 31v -31h -31ZM 93 341 v 31 h 31v -31h -31ZM 93 372 v 31 h 31v -31h -31ZM 93 434 v 31 h 31v -31h -31ZM 93 465 v 31 h 31v -31h -31ZM 93 496 v 31 h 31v -31h -31ZM 93 527 v 31 h 31v -31h -31ZM 93 558 v 31 h 31v -31h -31ZM 93 589 v 31 h 31v -31h -31ZM 93 620 v 31 h 31v -31h -31ZM 93 682 v 31 h 31v -31h -31ZM 124 341 v 31 h 31v -31h -31ZM 124 434 v 31 h 31v -31h -31ZM 124 465 v 31 h 31v -31h -31ZM 124 558 v 31 h 31v -31h -31ZM 124 589 v 31 h 31v -31h -31ZM 124 651 v 31 h 31v -31h -31ZM 124 682 v 31 h 31v -31h -31ZM 155 403 v 31 h 31v -31h -31ZM 155 465 v 31 h 31v -31h -31ZM 155 496 v 31 h 31v -31h -31ZM 186 341 v 31 h 31v -31h -31ZM 186 434 v 31 h 31v -31h -31ZM 186 465 v 31 h 31v -31h -31ZM 186 496 v 31 h 31v -31h -31ZM 186 527 v 31 h 31v -31h -31ZM 186 558 v 31 h 31v -31h -31ZM 186 589 v 31 h 31v -31h -31ZM 186 620 v 31 h 31v -31h -31ZM 217 310 v 31 h 31v -31h -31ZM 217 341 v 31 h 31v -31h -31ZM 217 403 v 31 h 31v -31h -31ZM 217 465 v 31 h 31v -31h -31ZM 217 496 v 31 h 31v -31h -31ZM 217 527 v 31 h 31v -31h -31ZM 217 589 v 31 h 31v -31h -31ZM 217 620 v 31 h 31v -31h -31ZM 217 651 v 31 h 31v -31h -31ZM 248 310 v 31 h 31v -31h -31ZM 248 372 v 31 h 31v -31h -31ZM 248 434 v 31 h 31v -31h -31ZM 248 496 v 31 h 31v -31h -31ZM 248 558 v 31 h 31v -31h -31ZM 248 620 v 31 h 31v -31h -31ZM 248 682 v 31 h 31v -31h -31ZM 279 341 v 31 h 31v -31h -31ZM 279 372 v 31 h 31v -31h -31ZM 279 403 v 31 h 31v -31h -31ZM 279 496 v 31 h 31v -31h -31ZM 279 527 v 31 h 31v -31h -31ZM 279 589 v 31 h 31v -31h -31ZM 279 620 v 31 h 31v -31h -31ZM 279 651 v 31 h 31v -31h -31ZM 310 62 v 31 h 31v -31h -31ZM 310 155 v 31 h 31v -31h -31ZM 310 217 v 31 h 31v -31h -31ZM 310 248 v 31 h 31v -31h -31ZM 310 310 v 31 h 31v -31h -31ZM 310 341 v 31 h 31v -31h -31ZM 310 713 v 31 h 31v -31h -31ZM 310 775 v 31 h 31v -31h -31ZM 341 93 v 31 h 31v -31h -31ZM 341 124 v 31 h 31v -31h -31ZM 341 155 v 31 h 31v -31h -31ZM 341 186 v 31 h 31v -31h -31ZM 341 279 v 31 h 31v -31h -31ZM 341 372 v 31 h 31v -31h -31ZM 341 496 v 31 h 31v -31h -31ZM 341 558 v 31 h 31v -31h -31ZM 341 589 v 31 h 31v -31h -31ZM 341 682 v 31 h 31v -31h -31ZM 341 713 v 31 h 31v -31h -31ZM 341 744 v 31 h 31v -31h -31ZM 341 837 v 31 h 31v -31h -31ZM 341 930 v 31 h 31v -31h -31ZM 372 124 v 31 h 31v -31h -31ZM 372 155 v 31 h 31v -31h -31ZM 372 248 v 31 h 31v -31h -31ZM 372 341 v 31 h 31v -31h -31ZM 372 403 v 31 h 31v -31h -31ZM 372 434 v 31 h 31v -31h -31ZM 372 558 v 31 h 31v -31h -31ZM 372 620 v 31 h 31v -31h -31ZM 372 651 v 31 h 31v -31h -31ZM 372 682 v 31 h 31v -31h -31ZM 372 837 v 31 h 31v -31h -31ZM 372 868 v 31 h 31v -31h -31ZM 372 899 v 31 h 31v -31h -31ZM 403 93 v 31 h 31v -31h -31ZM 403 124 v 31 h 31v -31h -31ZM 403 186 v 31 h 31v -31h -31ZM 403 217 v 31 h 31v -31h -31ZM 403 310 v 31 h 31v -31h -31ZM 403 341 v 31 h 31v -31h -31ZM 403 372 v 31 h 31v -31h -31ZM 403 496 v 31 h 31v -31h -31ZM 403 527 v 31 h 31v -31h -31ZM 403 620 v 31 h 31v -31h -31ZM 403 744 v 31 h 31v -31h -31ZM 403 775 v 31 h 31v -31h -31ZM 403 806 v 31 h 31v -31h -31ZM 403 868 v 31 h 31v -31h -31ZM 403 899 v 31 h 31v -31h -31ZM 434 93 v 31 h 31v -31h -31ZM 434 155 v 31 h 31v -31h -31ZM 434 217 v 31 h 31v -31h -31ZM 434 248 v 31 h 31v -31h -31ZM 434 372 v 31 h 31v -31h -31ZM 434 558 v 31 h 31v -31h -31ZM 434 589 v 31 h 31v -31h -31ZM 434 651 v 31 h 31v -31h -31ZM 434 682 v 31 h 31v -31h -31ZM 434 713 v 31 h 31v -31h -31ZM 434 744 v 31 h 31v -31h -31ZM 434 837 v 31 h 31v -31h -31ZM 434 899 v 31 h 31v -31h -31ZM 434 930 v 31 h 31v -31h -31ZM 465 186 v 31 h 31v -31h -31ZM 465 217 v 31 h 31v -31h -31ZM 465 434 v 31 h 31v -31h -31ZM 465 589 v 31 h 31v -31h -31ZM 465 620 v 31 h 31v -31h -31ZM 465 651 v 31 h 31v -31h -31ZM 465 775 v 31 h 31v -31h -31ZM 496 93 v 31 h 31v -31h -31ZM 496 155 v 31 h 31v -31h -31ZM 496 186 v 31 h 31v -31h -31ZM 496 248 v 31 h 31v -31h -31ZM 496 279 v 31 h 31v -31h -31ZM 496 341 v 31 h 31v -31h -31ZM 496 372 v 31 h 31v -31h -31ZM 496 589 v 31 h 31v -31h -31ZM 496 620 v 31 h 31v -31h -31ZM 496 713 v 31 h 31v -31h -31ZM 496 744 v 31 h 31v -31h -31ZM 496 837 v 31 h 31v -31h -31ZM 496 868 v 31 h 31v -31h -31ZM 496 899 v 31 h 31v -31h -31ZM 496 930 v 31 h 31v -31h -31ZM 527 62 v 31 h 31v -31h -31ZM 527 217 v 31 h 31v -31h -31ZM 527 403 v 31 h 31v -31h -31ZM 527 465 v 31 h 31v -31h -31ZM 527 496 v 31 h 31v -31h -31ZM 527 527 v 31 h 31v -31h -31ZM 527 558 v 31 h 31v -31h -31ZM 527 589 v 31 h 31v -31h -31ZM 527 651 v 31 h 31v -31h -31ZM 527 837 v 31 h 31v -31h -31ZM 527 899 v 31 h 31v -31h -31ZM 558 62 v 31 h 31v -31h -31ZM 558 93 v 31 h 31v -31h -31ZM 558 124 v 31 h 31v -31h -31ZM 558 155 v 31 h 31v -31h -31ZM 558 217 v 31 h 31v -31h -31ZM 558 248 v 31 h 31v -31h -31ZM 558 279 v 31 h 31v -31h -31ZM 558 310 v 31 h 31v -31h -31ZM 558 372 v 31 h 31v -31h -31ZM 558 465 v 31 h 31v -31h -31ZM 558 496 v 31 h 31v -31h -31ZM 558 527 v 31 h 31v -31h -31ZM 558 589 v 31 h 31v -31h -31ZM 558 682 v 31 h 31v -31h -31ZM 558 713 v 31 h 31v -31h -31ZM 558 775 v 31 h 31v -31h -31ZM 558 899 v 31 h 31v -31h -31ZM 589 124 v 31 h 31v -31h -31ZM 589 186 v 31 h 31v -31h -31ZM 589 279 v 31 h 31v -31h -31ZM 589 310 v 31 h 31v -31h -31ZM 589 341 v 31 h 31v -31h -31ZM 589 403 v 31 h 31v -31h -31ZM 589 434 v 31 h 31v -31h -31ZM 589 558 v 31 h 31v -31h -31ZM 589 620 v 31 h 31v -31h -31ZM 589 713 v 31 h 31v -31h -31ZM 589 744 v 31 h 31v -31h -31ZM 589 775 v 31 h 31v -31h -31ZM 589 837 v 31 h 31v -31h -31ZM 589 930 v 31 h 31v -31h -31ZM 620 62 v 31 h 31v -31h -31ZM 620 124 v 31 h 31v -31h -31ZM 620 248 v 31 h 31v -31h -31ZM 620 310 v 31 h 31v -31h -31ZM 620 372 v 31 h 31v -31h -31ZM 620 403 v 31 h 31v -31h -31ZM 620 434 v 31 h 31v -31h -31ZM 620 465 v 31 h 31v -31h -31ZM 620 620 v 31 h 31v -31h -31ZM 620 682 v 31 h 31v -31h -31ZM 620 713 v 31 h 31v -31h -31ZM 620 744 v 31 h 31v -31h -31ZM 620 775 v 31 h 31v -31h -31ZM 620 899 v 31 h 31v -31h -31ZM 620 930 v 31 h 31v -31h -31ZM 651 124 v 31 h 31v -31h -31ZM 651 465 v 31 h 31v -31h -31ZM 651 527 v 31 h 31v -31h -31ZM 651 589 v 31 h 31v -31h -31ZM 651 682 v 31 h 31v -31h -31ZM 651 744 v 31 h 31v -31h -31ZM 651 899 v 31 h 31v -31h -31ZM 651 930 v 31 h 31v -31h -31ZM 682 62 v 31 h 31v -31h -31ZM 682 124 v 31 h 31v -31h -31ZM 682 248 v 31 h 31v -31h -31ZM 682 310 v 31 h 31v -31h -31ZM 682 341 v 31 h 31v -31h -31ZM 682 372 v 31 h 31v -31h -31ZM 682 403 v 31 h 31v -31h -31ZM 682 434 v 31 h 31v -31h -31ZM 682 496 v 31 h 31v -31h -31ZM 682 558 v 31 h 31v -31h -31ZM 682 682 v 31 h 31v -31h -31ZM 682 713 v 31 h 31v -31h -31ZM 682 744 v 31 h 31v -31h -31ZM 682 775 v 31 h 31v -31h -31ZM 682 806 v 31 h 31v -31h -31ZM 682 868 v 31 h 31v -31h -31ZM 713 310 v 31 h 31v -31h -31ZM 713 372 v 31 h 31v -31h -31ZM 713 403 v 31 h 31v -31h -31ZM 713 465 v 31 h 31v -31h -31ZM 713 558 v 31 h 31v -31h -31ZM 713 589 v 31 h 31v -31h -31ZM 713 620 v 31 h 31v -31h -31ZM 713 682 v 31 h 31v -31h -31ZM 713 806 v 31 h 31v -31h -31ZM 713 868 v 31 h 31v -31h -31ZM 713 899 v 31 h 31v -31h -31ZM 713 930 v 31 h 31v -31h -31ZM 744 372 v 31 h 31v -31h -31ZM 744 403 v 31 h 31v -31h -31ZM 744 465 v 31 h 31v -31h -31ZM 744 496 v 31 h 31v -31h -31ZM 744 558 v 31 h 31v -31h -31ZM 744 589 v 31 h 31v -31h -31ZM 744 620 v 31 h 31v -31h -31ZM 744 682 v 31 h 31v -31h -31ZM 744 744 v 31 h 31v -31h -31ZM 744 806 v 31 h 31v -31h -31ZM 744 899 v 31 h 31v -31h -31ZM 775 310 v 31 h 31v -31h -31ZM 775 341 v 31 h 31v -31h -31ZM 775 372 v 31 h 31v -31h -31ZM 775 465 v 31 h 31v -31h -31ZM 775 527 v 31 h 31v -31h -31ZM 775 558 v 31 h 31v -31h -31ZM 775 620 v 31 h 31v -31h -31ZM 775 682 v 31 h 31v -31h -31ZM 775 806 v 31 h 31v -31h -31ZM 775 837 v 31 h 31v -31h -31ZM 775 868 v 31 h 31v -31h -31ZM 775 899 v 31 h 31v -31h -31ZM 806 341 v 31 h 31v -31h -31ZM 806 403 v 31 h 31v -31h -31ZM 806 496 v 31 h 31v -31h -31ZM 806 589 v 31 h 31v -31h -31ZM 806 620 v 31 h 31v -31h -31ZM 806 682 v 31 h 31v -31h -31ZM 806 713 v 31 h 31v -31h -31ZM 806 744 v 31 h 31v -31h -31ZM 806 775 v 31 h 31v -31h -31ZM 806 806 v 31 h 31v -31h -31ZM 806 899 v 31 h 31v -31h -31ZM 806 930 v 31 h 31v -31h -31ZM 837 310 v 31 h 31v -31h -31ZM 837 341 v 31 h 31v -31h -31ZM 837 434 v 31 h 31v -31h -31ZM 837 496 v 31 h 31v -31h -31ZM 837 651 v 31 h 31v -31h -31ZM 837 744 v 31 h 31v -31h -31ZM 837 806 v 31 h 31v -31h -31ZM 837 837 v 31 h 31v -31h -31ZM 837 868 v 31 h 31v -31h -31ZM 837 899 v 31 h 31v -31h -31ZM 868 341 v 31 h 31v -31h -31ZM 868 496 v 31 h 31v -31h -31ZM 868 806 v 31 h 31v -31h -31ZM 868 837 v 31 h 31v -31h -31ZM 868 868 v 31 h 31v -31h -31ZM 868 930 v 31 h 31v -31h -31ZM 899 372 v 31 h 31v -31h -31ZM 899 403 v 31 h 31v -31h -31ZM 899 434 v 31 h 31v -31h -31ZM 899 496 v 31 h 31v -31h -31ZM 899 589 v 31 h 31v -31h -31ZM 899 620 v 31 h 31v -31h -31ZM 899 651 v 31 h 31v -31h -31ZM 899 682 v 31 h 31v -31h -31ZM 899 744 v 31 h 31v -31h -31ZM 899 806 v 31 h 31v -31h -31ZM 899 899 v 31 h 31v -31h -31ZM 930 310 v 31 h 31v -31h -31ZM 930 341 v 31 h 31v -31h -31ZM 930 589 v 31 h 31v -31h -31ZM 930 682 v 31 h 31v -31h -31ZM 930 713 v 31 h 31v -31h -31ZM 930 775 v 31 h 31v -31h -31ZM 930 806 v 31 h 31v -31h -31ZM 930 899 v 31 h 31v -31h -31Z"/></clipPath><clipPath id="clip-path-corners-square-color-0-0"><path d="M 62 62 v 31 h 31v -31h -31ZM 62 93 v 31 h 31v -31h -31ZM 62 124 v 31 h 31v -31h -31ZM 62 155 v 31 h 31v -31h -31ZM 62 186 v 31 h 31v -31h -31ZM 62 217 v 31 h 31v -31h -31ZM 62 248 v 31 h 31v -31h -31ZM 93 62 v 31 h 31v -31h -31ZM 93 248 v 31 h 31v -31h -31ZM 124 62 v 31 h 31v -31h -31ZM 124 248 v 31 h 31v -31h -31ZM 155 62 v 31 h 31v -31h -31ZM 155 248 v 31 h 31v -31h -31ZM 186 62 v 31 h 31v -31h -31ZM 186 248 v 31 h 31v -31h -31ZM 217 62 v 31 h 31v -31h -31ZM 217 248 v 31 h 31v -31h -31ZM 248 62 v 31 h 31v -31h -31ZM 248 93 v 31 h 31v -31h -31ZM 248 124 v 31 h 31v -31h -31ZM 248 155 v 31 h 31v -31h -31ZM 248 186 v 31 h 31v -31h -31ZM 248 217 v 31 h 31v -31h -31ZM 248 248 v 31 h 31v -31h -31Z"/></clipPath><clipPath id="clip-path-corners-dot-color-0-0"><path d="M 124 124 v 31 h 31v -31h -31ZM 124 155 v 31 h 31v -31h -31ZM 124 186 v 31 h 31v -31h -31ZM 155 124 v 31 h 31v -31h -31ZM 155 155 v 31 h 31v -31h -31ZM 155 186 v 31 h 31v -31h -31ZM 186 124 v 31 h 31v -31h -31ZM 186 155 v 31 h 31v -31h -31ZM 186 186 v 31 h 31v -31h -31Z"/></clipPath><clipPath id="clip-path-corners-square-color-1-0"><path d="M 744 62 v 31 h 31v -31h -31ZM 744 93 v 31 h 31v -31h -31ZM 744 124 v 31 h 31v -31h -31ZM 744 155 v 31 h 31v -31h -31ZM 744 186 v 31 h 31v -31h -31ZM 744 217 v 31 h 31v -31h -31ZM 744 248 v 31 h 31v -31h -31ZM 775 62 v 31 h 31v -31h -31ZM 775 248 v 31 h 31v -31h -31ZM 806 62 v 31 h 31v -31h -31ZM 806 248 v 31 h 31v -31h -31ZM 837 62 v 31 h 31v -31h -31ZM 837 248 v 31 h 31v -31h -31ZM 868 62 v 31 h 31v -31h -31ZM 868 248 v 31 h 31v -31h -31ZM 899 62 v 31 h 31v -31h -31ZM 899 248 v 31 h 31v -31h -31ZM 930 62 v 31 h 31v -31h -31ZM 930 93 v 31 h 31v -31h -31ZM 930 124 v 31 h 31v -31h -31ZM 930 155 v 31 h 31v -31h -31ZM 930 186 v 31 h 31v -31h -31ZM 930 217 v 31 h 31v -31h -31ZM 930 248 v 31 h 31v -31h -31Z"/></clipPath><clipPath id="clip-path-corners-dot-color-1-0"><path d="M 806 124 v 31 h 31v -31h -31ZM 806 155 v 31 h 31v -31h -31ZM 806 186 v 31 h 31v -31h -31ZM 837 124 v 31 h 31v -31h -31ZM 837 155 v 31 h 31v -31h -31ZM 837 186 v 31 h 31v -31h -31ZM 868 124 v 31 h 31v -31h -31ZM 868 155 v 31 h 31v -31h -31ZM 868 186 v 31 h 31v -31h -31Z"/></clipPath><clipPath id="clip-path-corners-square-color-0-1"><path d="M 62 744 v 31 h 31v -31h -31ZM 62 775 v 31 h 31v -31h -31ZM 62 806 v 31 h 31v -31h -31ZM 62 837 v 31 h 31v -31h -31ZM 62 868 v 31 h 31v -31h -31ZM 62 899 v 31 h 31v -31h -31ZM 62 930 v 31 h 31v -31h -31ZM 93 744 v 31 h 31v -31h -31ZM 93 930 v 31 h 31v -31h -31ZM 124 744 v 31 h 31v -31h -31ZM 124 930 v 31 h 31v -31h -31ZM 155 744 v 31 h 31v -31h -31ZM 155 930 v 31 h 31v -31h -31ZM 186 744 v 31 h 31v -31h -31ZM 186 930 v 31 h 31v -31h -31ZM 217 744 v 31 h 31v -31h -31ZM 217 930 v 31 h 31v -31h -31ZM 248 744 v 31 h 31v -31h -31ZM 248 775 v 31 h 31v -31h -31ZM 248 806 v 31 h 31v -31h -31ZM 248 837 v 31 h 31v -31h -31ZM 248 868 v 31 h 31v -31h -31ZM 248 899 v 31 h 31v -31h -31ZM 248 930 v 31 h 31v -31h -31Z"/></clipPath><clipPath id="clip-path-corners-dot-color-0-1"><path d="M 124 806 v 31 h 31v -31h -31ZM 124 837 v 31 h 31v -31h -31ZM 124 868 v 31 h 31v -31h -31ZM 155 806 v 31 h 31v -31h -31ZM 155 837 v 31 h 31v -31h -31ZM 155 868 v 31 h 31v -31h -31ZM 186 806 v 31 h 31v -31h -31ZM 186 837 v 31 h 31v -31h -31ZM 186 868 v 31 h 31v -31h -31Z"/></clipPath></defs><path d="M 0 0 h 1024 v 1024 h -1024 Z" clip-path="url('#clip-path-background-color')" fill="rgba(255,255,255,0)"/><path d="M 62 62 h 899 v 899 h -899 Z" clip-path="url('#clip-path-dot-color')" fill="#000000"/><path d="M 62 62 h 217 v 217 h -217 Z" clip-path="url('#clip-path-corners-square-color-0-0')" fill="#000000"/><path d="M 124 124 h 93 v 93 h -93 Z" clip-path="url('#clip-path-corners-dot-color-0-0')" fill="#000"/><path d="M 744 62 h 217 v 217 h -217 Z" clip-path="url('#clip-path-corners-square-color-1-0')" fill="#000000"/><path d="M 806 124 h 93 v 93 h -93 Z" clip-path="url('#clip-path-corners-dot-color-1-0')" fill="#000"/><path d="M 62 744 h 217 v 217 h -217 Z" clip-path="url('#clip-path-corners-square-color-0-1')" fill="#000000"/><path d="M 124 806 h 93 v 93 h -93 Z" clip-path="url('#clip-path-corners-dot-color-0-1')" fill="#000"/></svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuemath/leap",
3
- "version": "3.1.7",
3
+ "version": "3.1.8-j",
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]}