@cuemath/leap 3.3.3-j1 → 3.3.3

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 (108) hide show
  1. package/dist/assets/illustrations/illustrations.js +1 -2
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/lottie/lottie.js +0 -1
  4. package/dist/assets/lottie/lottie.js.map +1 -1
  5. package/dist/features/auth/comps/pill-button/pill-button-styled.js +17 -17
  6. package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -1
  7. package/dist/features/auth/comps/pill-button/pill-button.js +33 -35
  8. package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -1
  9. package/dist/features/auth/comps/user-list/user-item/user-item.js +30 -32
  10. package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
  11. package/dist/features/auth/comps/user-list/user-list.js +19 -20
  12. package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
  13. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js +9 -9
  14. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js.map +1 -1
  15. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js +29 -58
  16. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js.map +1 -1
  17. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js +41 -78
  18. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js.map +1 -1
  19. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +35 -37
  20. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +1 -1
  21. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +71 -76
  22. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
  23. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +50 -55
  24. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -1
  25. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +25 -47
  26. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +1 -1
  27. package/dist/features/milestone/create/comps/goal-completion-date-selector/goal-completion-date-selector.js +6 -6
  28. package/dist/features/student-details/class-details/class-details-utils.js +6 -6
  29. package/dist/features/trial-session/comps/learning-plan/index.js +62 -88
  30. package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
  31. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +42 -121
  32. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +1 -1
  33. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +56 -174
  34. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -1
  35. package/dist/features/trial-session/trial-session-types.js.map +1 -1
  36. package/dist/index.d.ts +1 -81
  37. package/dist/index.js +365 -381
  38. package/dist/index.js.map +1 -1
  39. package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
  40. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
  41. package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
  42. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  43. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
  44. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  45. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -12
  46. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  47. package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
  48. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
  49. package/dist/static/{book-checked-green.0436b91e.svg → book-checked-green.c275dbd9.svg} +1 -1
  50. package/package.json +2 -3
  51. package/dist/constants/config.js +0 -5
  52. package/dist/constants/config.js.map +0 -1
  53. package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features-constants.js +0 -25
  54. package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features-constants.js.map +0 -1
  55. package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features-styled.js +0 -15
  56. package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features-styled.js.map +0 -1
  57. package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features.js +0 -90
  58. package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features.js.map +0 -1
  59. package/dist/features/trial-session/comps/pla/math-practice/math-practice-constants.js +0 -19
  60. package/dist/features/trial-session/comps/pla/math-practice/math-practice-constants.js.map +0 -1
  61. package/dist/features/trial-session/comps/pla/math-practice/math-practice-styled.js +0 -32
  62. package/dist/features/trial-session/comps/pla/math-practice/math-practice-styled.js.map +0 -1
  63. package/dist/features/trial-session/comps/pla/math-practice/math-practice.js +0 -67
  64. package/dist/features/trial-session/comps/pla/math-practice/math-practice.js.map +0 -1
  65. package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js +0 -25
  66. package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js.map +0 -1
  67. package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js +0 -43
  68. package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js.map +0 -1
  69. package/dist/features/trial-session/comps/pla/next-steps/next-steps.js +0 -49
  70. package/dist/features/trial-session/comps/pla/next-steps/next-steps.js.map +0 -1
  71. package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js +0 -11
  72. package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js.map +0 -1
  73. package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js +0 -19
  74. package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js.map +0 -1
  75. package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js +0 -17
  76. package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js.map +0 -1
  77. package/dist/features/trial-session/comps/pla/session-status/session-status.js +0 -243
  78. package/dist/features/trial-session/comps/pla/session-status/session-status.js.map +0 -1
  79. package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js +0 -52
  80. package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js.map +0 -1
  81. package/dist/features/trial-session/comps/pla/session-summary/session-summary.js +0 -52
  82. package/dist/features/trial-session/comps/pla/session-summary/session-summary.js.map +0 -1
  83. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js +0 -17
  84. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js.map +0 -1
  85. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js +0 -56
  86. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js.map +0 -1
  87. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js +0 -5
  88. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js.map +0 -1
  89. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js +0 -17
  90. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js.map +0 -1
  91. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js +0 -5
  92. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js.map +0 -1
  93. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js +0 -96
  94. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js.map +0 -1
  95. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js +0 -12
  96. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js.map +0 -1
  97. package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +0 -10
  98. package/dist/node_modules/date-fns/_lib/getRoundingMethod.js.map +0 -1
  99. package/dist/node_modules/date-fns/differenceInMilliseconds.js +0 -9
  100. package/dist/node_modules/date-fns/differenceInMilliseconds.js.map +0 -1
  101. package/dist/node_modules/date-fns/differenceInSeconds.js +0 -11
  102. package/dist/node_modules/date-fns/differenceInSeconds.js.map +0 -1
  103. package/dist/node_modules/date-fns/fromUnixTime.js +0 -9
  104. package/dist/node_modules/date-fns/fromUnixTime.js.map +0 -1
  105. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
  106. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
  107. package/dist/static/learning-puzzle-bot.6fe93cf6.svg +0 -1
  108. package/dist/static/username-responsive.787b5515.json +0 -1
@@ -1,19 +1,19 @@
1
- import { ILLUSTRATIONS as o } from "../../../../assets/illustrations/illustrations.js";
2
- const e = [
1
+ import { ILLUSTRATIONS as t } from "../../../../assets/illustrations/illustrations.js";
2
+ const o = [
3
3
  {
4
- icon: o.HANDSHAKE,
5
- title: "Find the perfect tutor match for your child's goals"
4
+ icon: t.HANDSHAKE,
5
+ title: "Help us find the right tutor for your child"
6
6
  },
7
7
  {
8
- icon: o.CALENDAR_PURPLE,
9
- title: "Schedule your FREE session at a convenient time"
8
+ icon: t.CALENDAR_PURPLE,
9
+ title: "Schedule your FREE class with the tutor"
10
10
  },
11
11
  {
12
- icon: o.MONEY,
13
- title: "Choose a plan and start your learning journey"
12
+ icon: t.MONEY,
13
+ title: "Pay & continue with our flexible classes"
14
14
  }
15
15
  ];
16
16
  export {
17
- e as onboardingGuideSteps
17
+ o as onboardingGuideSteps
18
18
  };
19
19
  //# sourceMappingURL=onboarding-guide-constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"onboarding-guide-constants.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.ts"],"sourcesContent":["import { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\n\nexport const onboardingGuideSteps = [\n {\n icon: ILLUSTRATIONS.HANDSHAKE,\n title: `Find the perfect tutor match for your child's goals`,\n },\n {\n icon: ILLUSTRATIONS.CALENDAR_PURPLE,\n title: `Schedule your FREE session at a convenient time`,\n },\n {\n icon: ILLUSTRATIONS.MONEY,\n title: `Choose a plan and start your learning journey`,\n },\n];\n"],"names":["onboardingGuideSteps","ILLUSTRATIONS"],"mappings":";AAEO,MAAMA,IAAuB;AAAA,EAClC;AAAA,IACE,MAAMC,EAAc;AAAA,IACpB,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAMA,EAAc;AAAA,IACpB,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAMA,EAAc;AAAA,IACpB,OAAO;AAAA,EACT;AACF;"}
1
+ {"version":3,"file":"onboarding-guide-constants.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.ts"],"sourcesContent":["import { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\n\nexport const onboardingGuideSteps = [\n {\n icon: ILLUSTRATIONS.HANDSHAKE,\n title: `Help us find the right tutor for your child`,\n },\n {\n icon: ILLUSTRATIONS.CALENDAR_PURPLE,\n title: `Schedule your FREE class with the tutor`,\n },\n {\n icon: ILLUSTRATIONS.MONEY,\n title: `Pay & continue with our flexible classes`,\n },\n];\n"],"names":["onboardingGuideSteps","ILLUSTRATIONS"],"mappings":";AAEO,MAAMA,IAAuB;AAAA,EAClC;AAAA,IACE,MAAMC,EAAc;AAAA,IACpB,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAMA,EAAc;AAAA,IACpB,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAMA,EAAc;AAAA,IACpB,OAAO;AAAA,EACT;AACF;"}
@@ -1,68 +1,39 @@
1
- import p from "styled-components";
1
+ import e from "styled-components";
2
2
  import o from "../../../ui/layout/flex-view.js";
3
- const h = p(o)(({
4
- theme: { colors: t, mediaQueries: e },
5
- isHorizontalLayout: i
6
- }) => `
7
- position: relative;
8
-
9
- ${i ? `
10
- border-right: 2px solid ${t.WHITE_T_15};
11
- &:first-child {
12
- padding-left: 0;
13
- }
14
- &:last-child {
15
- padding-right: 0;
16
- }
17
- ` : `
18
- &::after {
19
- content: '';
20
- position: absolute;
21
- width: 32px;
22
- height: 2px;
23
- right: -20px;
24
- top: 28px;
25
- background-color: ${t.WHITE_T_15};
26
- }
27
- `}
28
-
29
- &:last-child {
30
- border-right: none;
31
- &::after {
32
- display: none;
33
- }
34
- }
35
-
36
- ${e.minWidthSmallDesktop} {
37
- ${!i && `margin-bottom: 48px;
38
- &::after {
39
- content: '';
40
- position: absolute;
41
- width: 2px;
42
- top: unset;
43
- height: 24px;
44
- bottom: -36px;
45
- left: 28px;
46
- background-color: ${t.WHITE_T_15};
47
- }
48
- `}
49
-
50
- }
51
- `), n = p(o)(({
52
- theme: { mediaQueries: t },
53
- isHorizontalLayout: e
54
- }) => `
3
+ const h = e(o)(({ theme: { colors: t, mediaQueries: i } }) => `
4
+ position: relative;
5
+ &:not(:last-child)::after {
6
+ content: '';
7
+ width: 37px;
8
+ height: 2px;
9
+ right: -32px;
10
+ top: 25px;
11
+ position: absolute;
12
+ background-color: ${t.WHITE_T_15};
13
+ }
14
+ &:last-child {
15
+ margin-bottom: 0;
16
+ }
17
+ ${i.minWidthSmallDesktop} {
18
+ margin-bottom: 48px;
19
+ &:not(:last-child)::after {
20
+ left: 28px;
21
+ bottom: -36px;
22
+ right: unset;
23
+ top: unset;
24
+ width: 2px;
25
+ height: 24px;
26
+ }
27
+ }
28
+ `), m = e(o)(({ theme: { mediaQueries: t } }) => `
55
29
  width: 100%;
56
30
  max-width: 350px;
57
- ${t.minWidthTablet} {
58
- max-width: ${e ? "100%" : "350px"};
59
- }
60
31
  ${t.minWidthSmallDesktop} {
61
- max-width: ${e ? "100%" : "310px"};
32
+ max-width: unset;
62
33
  }
63
34
  `);
64
35
  export {
65
36
  h as StepItem,
66
- n as StepWrapper
37
+ m as StepWrapper
67
38
  };
68
39
  //# sourceMappingURL=onboarding-guide-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"onboarding-guide-styled.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const StepItem = styled(FlexView)<{ isHorizontalLayout: boolean }>(({\n theme: { colors, mediaQueries },\n isHorizontalLayout,\n}) => {\n return `\n position: relative;\n\n ${\n isHorizontalLayout\n ? `\n border-right: 2px solid ${colors.WHITE_T_15};\n &:first-child {\n padding-left: 0;\n }\n &:last-child {\n padding-right: 0;\n }\n `\n : `\n &::after {\n content: '';\n position: absolute;\n width: 32px;\n height: 2px;\n right: -20px;\n top: 28px;\n background-color: ${colors.WHITE_T_15};\n }\n `\n }\n\n &:last-child {\n border-right: none;\n &::after {\n display: none;\n }\n }\n\n ${mediaQueries.minWidthSmallDesktop} {\n ${\n !isHorizontalLayout &&\n `margin-bottom: 48px;\n &::after {\n content: '';\n position: absolute;\n width: 2px;\n top: unset;\n height: 24px;\n bottom: -36px;\n left: 28px;\n background-color: ${colors.WHITE_T_15};\n }\n `\n }\n \n }\n `;\n});\n\nexport const StepWrapper = styled(FlexView)<{ isHorizontalLayout: boolean }>(({\n theme: { mediaQueries },\n isHorizontalLayout,\n}) => {\n return `\n width: 100%;\n max-width: 350px;\n ${mediaQueries.minWidthTablet} {\n max-width: ${isHorizontalLayout ? '100%' : '350px'};\n }\n ${mediaQueries.minWidthSmallDesktop} {\n max-width: ${isHorizontalLayout ? '100%' : '310px'};\n }\n`;\n});\n"],"names":["StepItem","styled","FlexView","colors","mediaQueries","isHorizontalLayout","StepWrapper"],"mappings":";;AAIO,MAAMA,IAAWC,EAAOC,CAAQ,EAAmC,CAAC;AAAA,EACzE,OAAO,EAAE,QAAAC,GAAQ,cAAAC,EAAa;AAAA,EAC9B,oBAAAC;AACF,MACS;AAAA;AAAA;AAAA,QAIDA,IACI;AAAA,oCACwBF,EAAO,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAQzC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gCAQoBA,EAAO,UAAU;AAAA;AAAA,SAG3C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QASEC,EAAa,oBAAoB;AAAA,UAE/B,CAACC,KACD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCASwBF,EAAO,UAAU;AAAA;AAAA,WAG3C;AAAA;AAAA;AAAA,KAIP,GAEYG,IAAcL,EAAOC,CAAQ,EAAmC,CAAC;AAAA,EAC5E,OAAO,EAAE,cAAAE,EAAa;AAAA,EACtB,oBAAAC;AACF,MACS;AAAA;AAAA;AAAA,IAGLD,EAAa,cAAc;AAAA,iBACdC,IAAqB,SAAS,OAAO;AAAA;AAAA,IAElDD,EAAa,oBAAoB;AAAA,iBACpBC,IAAqB,SAAS,OAAO;AAAA;AAAA,CAGrD;"}
1
+ {"version":3,"file":"onboarding-guide-styled.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const StepItem = styled(FlexView)(({ theme: { colors, mediaQueries } }) => {\n return `\n position: relative;\n &:not(:last-child)::after {\n content: '';\n width: 37px;\n height: 2px;\n right: -32px;\n top: 25px;\n position: absolute;\n background-color: ${colors.WHITE_T_15};\n }\n &:last-child {\n margin-bottom: 0;\n }\n ${mediaQueries.minWidthSmallDesktop} {\n margin-bottom: 48px;\n &:not(:last-child)::after {\n left: 28px;\n bottom: -36px;\n right: unset;\n top: unset;\n width: 2px;\n height: 24px;\n }\n }\n`;\n});\n\nexport const StepWrapper = styled(FlexView)(({ theme: { mediaQueries } }) => {\n return `\n width: 100%;\n max-width: 350px;\n ${mediaQueries.minWidthSmallDesktop} {\n max-width: unset;\n }\n`;\n});\n"],"names":["StepItem","styled","FlexView","colors","mediaQueries","StepWrapper"],"mappings":";;AAIa,MAAAA,IAAWC,EAAOC,CAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,QAAAC,GAAQ,cAAAC,EAAa,QACjE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBASeD,EAAO,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKrCC,EAAa,oBAAoB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAYpC,GAEYC,IAAcJ,EAAOC,CAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,cAAAE,EAAa,QAC5D;AAAA;AAAA;AAAA,IAGLA,EAAa,oBAAoB;AAAA;AAAA;AAAA,CAIpC;"}
@@ -1,81 +1,44 @@
1
- import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
- import { memo as $ } from "react";
3
- import { useTheme as d } from "styled-components";
4
- import c from "../../../ui/layout/flex-view.js";
5
- import h from "../../../ui/separator/separator.js";
6
- import m from "../../../ui/text/text.js";
7
- import { EDeviceType as s } from "../../../ui/theme/constants.js";
8
- import { onboardingGuideSteps as x } from "./onboarding-guide-constants.js";
9
- import { StepWrapper as u, StepItem as b } from "./onboarding-guide-styled.js";
10
- const g = ({ orientation: p = "vertical" }) => {
11
- const { device: o } = d(), t = o <= s.TABLET, f = o <= s.MOBILE, e = p === "horizontal" && !f, i = t || e ? "row" : "column";
12
- return /* @__PURE__ */ a(
13
- c,
14
- {
15
- $flex: 1,
16
- $alignItems: e ? "flex-start" : "center",
17
- $justifyContent: "center",
18
- children: [
19
- /* @__PURE__ */ r(
20
- m,
21
- {
22
- $whiteSpace: "pre-line",
23
- $renderAs: "ah4-bold",
24
- $renderOnTabletAs: "ab1-bold",
25
- $color: "WHITE",
26
- $align: e ? "left" : "center",
27
- children: "Get started in 3 easy steps!"
28
- }
29
- ),
30
- /* @__PURE__ */ r(h, { heightX: e ? 1.25 : t ? 1 : 2.75 }),
31
- /* @__PURE__ */ r(
32
- u,
33
- {
34
- $flexDirection: i,
35
- $flexColumnGapX: e ? 0 : 0.5,
36
- isHorizontalLayout: e,
37
- children: x.map((n, l) => /* @__PURE__ */ a(
38
- b,
39
- {
40
- $flex: 1,
41
- $flexDirection: i === "row" ? "column" : "row",
42
- $flexColumnGapX: 1.5,
43
- $flexRowGapX: 0.5,
44
- $alignItems: e ? "flex-start" : "center",
45
- isHorizontalLayout: e,
46
- $gutterX: e ? 1 : 0,
47
- children: [
48
- /* @__PURE__ */ r(
49
- "img",
50
- {
51
- src: n.icon,
52
- alt: `Step ${l + 1}`,
53
- width: e ? 80 : 56,
54
- height: e ? 80 : 56
55
- }
56
- ),
57
- /* @__PURE__ */ r(c, { children: /* @__PURE__ */ r(
58
- m,
59
- {
60
- $whiteSpace: "pre-line",
61
- $renderAs: "ab2",
62
- $renderOnTabletAs: "ab3",
63
- $color: "WHITE",
64
- $align: t ? "center" : "left",
65
- children: n.title
66
- }
67
- ) })
68
- ]
69
- },
70
- l
71
- ))
72
- }
73
- )
74
- ]
75
- }
76
- );
77
- }, C = $(g);
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import { useTheme as c } from "styled-components";
3
+ import n from "../../../ui/layout/flex-view.js";
4
+ import m from "../../../ui/separator/separator.js";
5
+ import l from "../../../ui/text/text.js";
6
+ import { EDeviceType as p } from "../../../ui/theme/constants.js";
7
+ import { onboardingGuideSteps as s } from "./onboarding-guide-constants.js";
8
+ import { StepWrapper as $, StepItem as d } from "./onboarding-guide-styled.js";
9
+ const f = () => {
10
+ const { device: a } = c(), r = a <= p.TABLET;
11
+ return /* @__PURE__ */ o(n, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: [
12
+ /* @__PURE__ */ e(l, { $whiteSpace: "pre-line", $renderAs: "ah4", $color: "WHITE", $renderOnTabletAs: "ab1", children: "Get started in 3 easy steps!" }),
13
+ /* @__PURE__ */ e(m, { heightX: r ? 1 : 2.75 }),
14
+ /* @__PURE__ */ e($, { $flexDirection: r ? "row" : "column", $flexColumnGapX: 1, children: s.map((t, i) => /* @__PURE__ */ o(
15
+ d,
16
+ {
17
+ $flex: 1,
18
+ $flexDirection: r ? "column" : "row",
19
+ $flexColumnGapX: 1.5,
20
+ $flexRowGapX: 0.5,
21
+ $alignItems: "center",
22
+ children: [
23
+ /* @__PURE__ */ e("img", { src: t.icon, alt: `Step ${i + 1}`, width: 56, height: 56 }),
24
+ /* @__PURE__ */ e(n, { $width: r ? 101 : 210, children: /* @__PURE__ */ e(
25
+ l,
26
+ {
27
+ $whiteSpace: "pre-line",
28
+ $renderAs: "ab2",
29
+ $renderOnTabletAs: "ab3",
30
+ $color: "WHITE",
31
+ $align: r ? "center" : "left",
32
+ children: t.title
33
+ }
34
+ ) })
35
+ ]
36
+ },
37
+ i
38
+ )) })
39
+ ] });
40
+ }, S = f;
78
41
  export {
79
- C as default
42
+ S as default
80
43
  };
81
44
  //# sourceMappingURL=onboarding-guide.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"onboarding-guide.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide.tsx"],"sourcesContent":["import type { IOnboardingGuideProps } from './onboarding-guide-types';\n\nimport { memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { EDeviceType } from '../../../ui/theme/constants';\nimport { onboardingGuideSteps } from './onboarding-guide-constants';\nimport * as Styled from './onboarding-guide-styled';\n\nconst OnboardingGuide = ({ orientation = 'vertical' }: IOnboardingGuideProps) => {\n const { device } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n const isMobile = device <= EDeviceType.MOBILE;\n const isHorizontalLayout = orientation === 'horizontal' && !isMobile;\n const flexDirection = isCompact || isHorizontalLayout ? 'row' : 'column';\n\n return (\n <FlexView\n $flex={1}\n $alignItems={isHorizontalLayout ? 'flex-start' : 'center'}\n $justifyContent=\"center\"\n >\n <Text\n $whiteSpace=\"pre-line\"\n $renderAs=\"ah4-bold\"\n $renderOnTabletAs=\"ab1-bold\"\n $color=\"WHITE\"\n $align={isHorizontalLayout ? 'left' : 'center'}\n >\n Get started in 3 easy steps!\n </Text>\n\n <Separator heightX={isHorizontalLayout ? 1.25 : isCompact ? 1 : 2.75} />\n\n <Styled.StepWrapper\n $flexDirection={flexDirection}\n $flexColumnGapX={!isHorizontalLayout ? 0.5 : 0}\n isHorizontalLayout={isHorizontalLayout}\n >\n {onboardingGuideSteps.map((step, index) => (\n <Styled.StepItem\n key={index}\n $flex={1}\n $flexDirection={flexDirection === 'row' ? 'column' : 'row'}\n $flexColumnGapX={1.5}\n $flexRowGapX={0.5}\n $alignItems={isHorizontalLayout ? 'flex-start' : 'center'}\n isHorizontalLayout={isHorizontalLayout}\n $gutterX={isHorizontalLayout ? 1 : 0}\n >\n <img\n src={step.icon}\n alt={`Step ${index + 1}`}\n width={isHorizontalLayout ? 80 : 56}\n height={isHorizontalLayout ? 80 : 56}\n />\n <FlexView>\n <Text\n $whiteSpace=\"pre-line\"\n $renderAs=\"ab2\"\n $renderOnTabletAs=\"ab3\"\n $color=\"WHITE\"\n $align={isCompact ? 'center' : 'left'}\n >\n {step.title}\n </Text>\n </FlexView>\n </Styled.StepItem>\n ))}\n </Styled.StepWrapper>\n </FlexView>\n );\n};\n\nexport default memo(OnboardingGuide);\n"],"names":["OnboardingGuide","orientation","device","useTheme","isCompact","EDeviceType","isMobile","isHorizontalLayout","flexDirection","jsxs","FlexView","jsx","Text","Separator","Styled.StepWrapper","onboardingGuideSteps","step","index","Styled.StepItem","onboardingGuide","memo"],"mappings":";;;;;;;;;AAYA,MAAMA,IAAkB,CAAC,EAAE,aAAAC,IAAc,iBAAwC;AACzE,QAAA,EAAE,QAAAC,MAAWC,KACbC,IAAYF,KAAUG,EAAY,QAClCC,IAAWJ,KAAUG,EAAY,QACjCE,IAAqBN,MAAgB,gBAAgB,CAACK,GACtDE,IAAgBJ,KAAaG,IAAqB,QAAQ;AAG9D,SAAA,gBAAAE;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,MACP,aAAaH,IAAqB,eAAe;AAAA,MACjD,iBAAgB;AAAA,MAEhB,UAAA;AAAA,QAAA,gBAAAI;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,aAAY;AAAA,YACZ,WAAU;AAAA,YACV,mBAAkB;AAAA,YAClB,QAAO;AAAA,YACP,QAAQL,IAAqB,SAAS;AAAA,YACvC,UAAA;AAAA,UAAA;AAAA,QAED;AAAA,0BAECM,GAAU,EAAA,SAASN,IAAqB,OAAOH,IAAY,IAAI,MAAM;AAAA,QAEtE,gBAAAO;AAAA,UAACG;AAAAA,UAAA;AAAA,YACC,gBAAgBN;AAAA,YAChB,iBAAkBD,IAA2B,IAAN;AAAA,YACvC,oBAAAA;AAAA,YAEC,UAAqBQ,EAAA,IAAI,CAACC,GAAMC,MAC/B,gBAAAR;AAAA,cAACS;AAAAA,cAAA;AAAA,gBAEC,OAAO;AAAA,gBACP,gBAAgBV,MAAkB,QAAQ,WAAW;AAAA,gBACrD,iBAAiB;AAAA,gBACjB,cAAc;AAAA,gBACd,aAAaD,IAAqB,eAAe;AAAA,gBACjD,oBAAAA;AAAA,gBACA,UAAUA,IAAqB,IAAI;AAAA,gBAEnC,UAAA;AAAA,kBAAA,gBAAAI;AAAA,oBAAC;AAAA,oBAAA;AAAA,sBACC,KAAKK,EAAK;AAAA,sBACV,KAAK,QAAQC,IAAQ,CAAC;AAAA,sBACtB,OAAOV,IAAqB,KAAK;AAAA,sBACjC,QAAQA,IAAqB,KAAK;AAAA,oBAAA;AAAA,kBACpC;AAAA,oCACCG,GACC,EAAA,UAAA,gBAAAC;AAAA,oBAACC;AAAA,oBAAA;AAAA,sBACC,aAAY;AAAA,sBACZ,WAAU;AAAA,sBACV,mBAAkB;AAAA,sBAClB,QAAO;AAAA,sBACP,QAAQR,IAAY,WAAW;AAAA,sBAE9B,UAAKY,EAAA;AAAA,oBAAA;AAAA,kBAAA,GAEV;AAAA,gBAAA;AAAA,cAAA;AAAA,cAzBKC;AAAA,YAAA,CA2BR;AAAA,UAAA;AAAA,QACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEeE,IAAAC,EAAKpB,CAAe;"}
1
+ {"version":3,"file":"onboarding-guide.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide.tsx"],"sourcesContent":["import { useTheme } from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { EDeviceType } from '../../../ui/theme/constants';\nimport { onboardingGuideSteps } from './onboarding-guide-constants';\nimport * as Styled from './onboarding-guide-styled';\n\nconst OnboardingGuide = () => {\n const { device } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\">\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ah4\" $color=\"WHITE\" $renderOnTabletAs=\"ab1\">\n Get started in 3 easy steps!\n </Text>\n <Separator heightX={isCompact ? 1 : 2.75} />\n <Styled.StepWrapper $flexDirection={isCompact ? 'row' : 'column'} $flexColumnGapX={1}>\n {onboardingGuideSteps.map((step, index) => (\n <Styled.StepItem\n key={index}\n $flex={1}\n $flexDirection={isCompact ? 'column' : 'row'}\n $flexColumnGapX={1.5}\n $flexRowGapX={0.5}\n $alignItems={'center'}\n >\n <img src={step.icon} alt={`Step ${index + 1}`} width={56} height={56} />\n <FlexView $width={isCompact ? 101 : 210}>\n <Text\n $whiteSpace=\"pre-line\"\n $renderAs=\"ab2\"\n $renderOnTabletAs=\"ab3\"\n $color=\"WHITE\"\n $align={isCompact ? 'center' : 'left'}\n >\n {step.title}\n </Text>\n </FlexView>\n </Styled.StepItem>\n ))}\n </Styled.StepWrapper>\n </FlexView>\n );\n};\n\nexport default OnboardingGuide;\n"],"names":["OnboardingGuide","device","useTheme","isCompact","EDeviceType","FlexView","jsx","Text","Separator","Styled.StepWrapper","onboardingGuideSteps","step","index","jsxs","Styled.StepItem","OnboardingGuide$1"],"mappings":";;;;;;;;AASA,MAAMA,IAAkB,MAAM;AACtB,QAAA,EAAE,QAAAC,MAAWC,KACbC,IAAYF,KAAUG,EAAY;AAExC,2BACGC,GAAS,EAAA,OAAO,GAAG,aAAY,UAAS,iBAAgB,UACvD,UAAA;AAAA,IAAC,gBAAAC,EAAAC,GAAA,EAAK,aAAY,YAAW,WAAU,OAAM,QAAO,SAAQ,mBAAkB,OAAM,UAEpF,+BAAA,CAAA;AAAA,IACC,gBAAAD,EAAAE,GAAA,EAAU,SAASL,IAAY,IAAI,MAAM;AAAA,IACzC,gBAAAG,EAAAG,GAAA,EAAmB,gBAAgBN,IAAY,QAAQ,UAAU,iBAAiB,GAChF,UAAAO,EAAqB,IAAI,CAACC,GAAMC,MAC/B,gBAAAC;AAAA,MAACC;AAAAA,MAAA;AAAA,QAEC,OAAO;AAAA,QACP,gBAAgBX,IAAY,WAAW;AAAA,QACvC,iBAAiB;AAAA,QACjB,cAAc;AAAA,QACd,aAAa;AAAA,QAEb,UAAA;AAAA,UAAA,gBAAAG,EAAC,OAAI,EAAA,KAAKK,EAAK,MAAM,KAAK,QAAQC,IAAQ,CAAC,IAAI,OAAO,IAAI,QAAQ,IAAI;AAAA,UACrE,gBAAAN,EAAAD,GAAA,EAAS,QAAQF,IAAY,MAAM,KAClC,UAAA,gBAAAG;AAAA,YAACC;AAAA,YAAA;AAAA,cACC,aAAY;AAAA,cACZ,WAAU;AAAA,cACV,mBAAkB;AAAA,cAClB,QAAO;AAAA,cACP,QAAQJ,IAAY,WAAW;AAAA,cAE9B,UAAKQ,EAAA;AAAA,YAAA;AAAA,UAAA,GAEV;AAAA,QAAA;AAAA,MAAA;AAAA,MAlBKC;AAAA,IAoBR,CAAA,GACH;AAAA,EACF,EAAA,CAAA;AAEJ,GAEAG,IAAef;"}
@@ -1,24 +1,28 @@
1
1
  import t from "styled-components";
2
- import i from "../../../ui/layout/flex-view.js";
3
- const n = t(i)`
2
+ import r from "../../../ui/layout/flex-view.js";
3
+ const n = t(r)`
4
4
  position: relative;
5
- `, s = t(i)`
5
+ `, s = t(r)`
6
6
  position: absolute;
7
7
  border-radius: 100%;
8
8
  top: 216px;
9
9
  border: ${({ theme: o }) => `2px solid ${o.colors.BLACK_5}`};
10
- `, a = t(i)(
11
- ({ theme: o, $isVisible: e }) => `
12
- opacity: ${e ? 1 : 0};
10
+ `, p = t(r)`
11
+ opacity: ${({ $isVisible: o }) => o ? 1 : 0};
13
12
  transition: opacity 0.5s ease-in-out;
13
+ `, a = t.div`
14
14
  position: relative;
15
- top: -12px;
16
- ${o.mediaQueries.minWidthTablet} {
17
- top: 0;
18
- }
19
- `
20
- ), l = t.div`
15
+ `;
16
+ t(r)`
21
17
  position: relative;
18
+ overflow: hidden;
19
+ background: ${({ theme: o }) => o.colors.BLACK_2};
20
+ border-radius: 100%;
21
+ flex-shrink: 0;
22
+ display: flex;
23
+ align-items: center;
24
+ justify-content: center;
25
+ color: ${({ theme: o }) => o.colors.WHITE};
22
26
  `;
23
27
  t.div`
24
28
  position: absolute;
@@ -26,37 +30,31 @@ t.div`
26
30
  height: 100%;
27
31
  z-index: 2;
28
32
  `;
29
- const d = t(i)(
30
- ({ theme: o }) => `
31
- position: absolute;
32
- bottom: 40px;
33
- right: 16px;
34
- ${o.mediaQueries.minWidthTablet} {
35
- top: 55%;
36
- right: 24px;
37
- }
38
- `
39
- ), u = t(i)`
33
+ const l = t(r)`
34
+ position: absolute;
35
+ top: 55%;
36
+ right: 24px;
37
+ `, c = t(r)`
40
38
  position: absolute;
41
39
  top: 642px;
42
- `, x = t(i)(
43
- ({ theme: o }) => `
40
+ `, d = t(r)`
44
41
  position: absolute;
45
- left: 16px;
46
- top: 40px;
47
- ${o.mediaQueries.minWidthTablet} {
48
- top: 55%;
49
- left: 24px;
42
+ top: 55%;
43
+ left: 24px;
44
+ button {
45
+ background-color: ${({ theme: o }) => o.colors.BLACK_1};
46
+ svg {
47
+ color: ${({ theme: o }) => o.colors.WHITE};
48
+ }
50
49
  }
51
- `
52
- );
50
+ `;
53
51
  export {
54
52
  s as CircularStepContainer,
55
53
  n as Container,
56
- a as ContentWrapper,
57
- u as FooterWrapper,
58
- l as InputContainer,
59
- d as NextButtonWrapper,
60
- x as PrevButtonWrapper
54
+ p as ContentWrapper,
55
+ c as FooterWrapper,
56
+ a as InputContainer,
57
+ l as NextButtonWrapper,
58
+ d as PrevButtonWrapper
61
59
  };
62
60
  //# sourceMappingURL=circular-step-wrapper-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"circular-step-wrapper-styled.js","sources":["../../../../../src/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nconst Container = styled(FlexView)`\n position: relative;\n`;\n\nconst CircularStepContainer = styled(FlexView)`\n position: absolute;\n border-radius: 100%;\n top: 216px;\n border: ${({ theme }) => `2px solid ${theme.colors.BLACK_5}`};\n`;\n\nconst ContentWrapper = styled(FlexView)<{ $isVisible: boolean }>(\n ({ theme, $isVisible }) => `\n opacity: ${$isVisible ? 1 : 0};\n transition: opacity 0.5s ease-in-out;\n position: relative;\n top: -12px;\n ${theme.mediaQueries.minWidthTablet} {\n top: 0;\n }\n`,\n);\n\nconst InputContainer = styled.div`\n position: relative;\n`;\n\nexport const CircularProgress = styled.div`\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 2;\n`;\n\nconst NextButtonWrapper = styled(FlexView)(\n ({ theme }) => `\n position: absolute;\n bottom: 40px;\n right: 16px;\n ${theme.mediaQueries.minWidthTablet} {\n top: 55%;\n right: 24px;\n }\n`,\n);\n\nconst FooterWrapper = styled(FlexView)`\n position: absolute;\n top: 642px;\n`;\n\nconst PrevButtonWrapper = styled(FlexView)(\n ({ theme }) => `\n position: absolute;\n left: 16px;\n top: 40px;\n ${theme.mediaQueries.minWidthTablet} {\n top: 55%;\n left: 24px;\n }\n`,\n);\n\nexport {\n NextButtonWrapper,\n PrevButtonWrapper,\n InputContainer,\n Container,\n CircularStepContainer,\n ContentWrapper,\n FooterWrapper,\n};\n"],"names":["Container","styled","FlexView","CircularStepContainer","theme","ContentWrapper","$isVisible","InputContainer","NextButtonWrapper","FooterWrapper","PrevButtonWrapper"],"mappings":";;AAIM,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA,GAI3BC,IAAwBF,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,YAIjC,CAAC,EAAE,OAAAE,EAAM,MAAM,aAAaA,EAAM,OAAO,OAAO,EAAE;AAAA,GAGxDC,IAAiBJ,EAAOC,CAAQ;AAAA,EACpC,CAAC,EAAE,OAAAE,GAAO,YAAAE,EAAA,MAAiB;AAAA,aAChBA,IAAa,IAAI,CAAC;AAAA;AAAA;AAAA;AAAA,IAI3BF,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;AAIrC,GAEMG,IAAiBN,EAAO;AAAA;AAAA;AAIEA,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAOjC,MAAAO,IAAoBP,EAAOC,CAAQ;AAAA,EACvC,CAAC,EAAE,OAAAE,EAAA,MAAY;AAAA;AAAA;AAAA;AAAA,KAIZA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;AAAA;AAKtC,GAEMK,IAAgBR,EAAOC,CAAQ;AAAA;AAAA;AAAA,GAK/BQ,IAAoBT,EAAOC,CAAQ;AAAA,EACvC,CAAC,EAAE,OAAAE,EAAA,MAAY;AAAA;AAAA;AAAA;AAAA,IAIbA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;AAAA;AAKrC;"}
1
+ {"version":3,"file":"circular-step-wrapper-styled.js","sources":["../../../../../src/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nconst Container = styled(FlexView)`\n position: relative;\n`;\n\nconst CircularStepContainer = styled(FlexView)`\n position: absolute;\n border-radius: 100%;\n top: 216px;\n border: ${({ theme }) => `2px solid ${theme.colors.BLACK_5}`};\n`;\n\nconst ContentWrapper = styled(FlexView)<{ $isVisible: boolean }>`\n opacity: ${({ $isVisible }) => ($isVisible ? 1 : 0)};\n transition: opacity 0.5s ease-in-out;\n`;\n\nconst InputContainer = styled.div`\n position: relative;\n`;\n\nconst CircularProgressContainer = styled(FlexView)<{\n isVerticallyCentered?: boolean;\n}>`\n position: relative;\n overflow: hidden;\n background: ${({ theme }) => theme.colors.BLACK_2};\n border-radius: 100%;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ${({ theme }) => theme.colors.WHITE};\n`;\n\nexport const CircularProgress = styled.div`\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 2;\n`;\n\nconst NextButtonWrapper = styled(FlexView)`\n position: absolute;\n top: 55%;\n right: 24px;\n`;\n\nconst FooterWrapper = styled(FlexView)`\n position: absolute;\n top: 642px;\n`;\n\nconst PrevButtonWrapper = styled(FlexView)`\n position: absolute;\n top: 55%;\n left: 24px;\n button {\n background-color: ${({ theme }) => theme.colors.BLACK_1};\n svg {\n color: ${({ theme }) => theme.colors.WHITE};\n }\n }\n`;\n\nexport {\n NextButtonWrapper,\n PrevButtonWrapper,\n InputContainer,\n Container,\n CircularStepContainer,\n CircularProgressContainer,\n ContentWrapper,\n FooterWrapper,\n};\n"],"names":["Container","styled","FlexView","CircularStepContainer","theme","ContentWrapper","$isVisible","InputContainer","NextButtonWrapper","FooterWrapper","PrevButtonWrapper"],"mappings":";;AAIM,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA,GAI3BC,IAAwBF,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,YAIjC,CAAC,EAAE,OAAAE,EAAM,MAAM,aAAaA,EAAM,OAAO,OAAO,EAAE;AAAA,GAGxDC,IAAiBJ,EAAOC,CAAQ;AAAA,aACzB,CAAC,EAAE,YAAAI,EAAA,MAAkBA,IAAa,IAAI,CAAE;AAAA;AAAA,GAI/CC,IAAiBN,EAAO;AAAA;AAAA;AAIIA,EAAOC,CAAQ;AAAA;AAAA;AAAA,gBAKjC,CAAC,EAAE,OAAAE,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAMxC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAGZH,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAOjC,MAAAO,IAAoBP,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,GAMnCO,IAAgBR,EAAOC,CAAQ;AAAA;AAAA;AAAA,GAK/BQ,IAAoBT,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,wBAKjB,CAAC,EAAE,OAAAE,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA,eAE5C,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA;"}
@@ -1,58 +1,54 @@
1
- import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import { memo as j, forwardRef as M, useRef as l, useState as g, useCallback as F, useEffect as O, useImperativeHandle as P, useLayoutEffect as z } from "react";
3
- import { useTheme as D } from "styled-components";
4
- import V from "../../../../assets/line-icons/icons/back2.js";
5
- import X from "../../../../assets/line-icons/icons/next2.js";
6
- import K from "../../../ui/animated-arc/animated-arc.js";
7
- import y from "../../../ui/buttons/icon-button/icon-button.js";
1
+ import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
+ import { memo as E, forwardRef as H, useRef as c, useState as g, useCallback as j, useEffect as B, useImperativeHandle as T, useLayoutEffect as F } from "react";
3
+ import P from "../../../../assets/line-icons/icons/back2.js";
4
+ import z from "../../../../assets/line-icons/icons/next2.js";
5
+ import M from "../../../ui/animated-arc/animated-arc.js";
6
+ import C from "../../../ui/buttons/icon-button/icon-button.js";
8
7
  import N from "../../../ui/layout/flex-view.js";
9
- import Y from "../../../ui/lottie-animation/lottie-animation.js";
10
- import _ from "../../../ui/separator/separator.js";
11
- import q from "../../../ui/text/text.js";
12
- import { EDeviceType as G } from "../../../ui/theme/constants.js";
13
- import { Container as J, CircularStepContainer as Q, ContentWrapper as U, InputContainer as Z, FooterWrapper as ee, PrevButtonWrapper as te, NextButtonWrapper as re } from "./circular-step-wrapper-styled.js";
14
- const ne = {
8
+ import O from "../../../ui/lottie-animation/lottie-animation.js";
9
+ import V from "../../../ui/separator/separator.js";
10
+ import X from "../../../ui/text/text.js";
11
+ import { Container as D, CircularStepContainer as K, ContentWrapper as Y, InputContainer as _, FooterWrapper as q, PrevButtonWrapper as G, NextButtonWrapper as J } from "./circular-step-wrapper-styled.js";
12
+ const Q = {
15
13
  autoplay: !1,
16
14
  loop: !1,
17
15
  renderer: "canvas",
18
16
  rendererSettings: {
19
17
  preserveAspectRatio: "xMidYMin slice"
20
18
  }
21
- }, oe = M(
19
+ }, U = H(
22
20
  ({
23
- children: I,
24
- onGoBack: b,
25
- onNext: v,
26
- label: u,
27
- showNext: S,
28
- showPrevious: k,
21
+ children: y,
22
+ onGoBack: I,
23
+ onNext: x,
24
+ label: a,
25
+ showNext: A,
26
+ showPrevious: S,
29
27
  animation: r,
30
28
  introFrames: w,
31
- outroFrames: x,
32
- isNextLoading: i,
33
- progressAngle: c,
34
- footerElement: m,
35
- isNextDisabled: A,
36
- animationSrcMobile: R
29
+ outroFrames: R,
30
+ isNextLoading: s,
31
+ progressAngle: l,
32
+ footerElement: u
37
33
  }, W) => {
38
- const t = l(null), s = l(null), [d, E] = g(), [L, p] = g(!1), a = l(null), { device: T } = D(), n = T <= G.MOBILE, B = F(() => {
39
- r && t.current && (t.current.playSegments(w, !0), p(!0));
34
+ const t = c(null), o = c(null), [m, k] = g(), [v, d] = g(!1), i = c(null), L = j(() => {
35
+ r && t.current && (t.current.playSegments(w, !0), d(!0));
40
36
  }, [r]);
41
- return O(() => () => {
42
- a.current && clearTimeout(a.current);
43
- }, [r]), P(W, () => ({
44
- playOutroAndFadeOut: async () => new Promise((H) => {
45
- var h, $;
46
- const f = () => {
47
- var C;
48
- H(), (C = t.current) == null || C.removeEventListener("complete", f);
37
+ return B(() => () => {
38
+ i.current && clearTimeout(i.current);
39
+ }, [r]), T(W, () => ({
40
+ playOutroAndFadeOut: async () => new Promise((b) => {
41
+ var f, h;
42
+ const p = () => {
43
+ var $;
44
+ b(), ($ = t.current) == null || $.removeEventListener("complete", p);
49
45
  };
50
- (h = t.current) == null || h.playSegments(x, !0), a.current = setTimeout(() => p(!1), 400), ($ = t.current) == null || $.addEventListener("complete", f);
46
+ (f = t.current) == null || f.playSegments(R, !0), i.current = setTimeout(() => d(!1), 400), (h = t.current) == null || h.addEventListener("complete", p);
51
47
  })
52
- })), z(() => {
53
- s.current && E(s.current.offsetHeight);
54
- }, []), /* @__PURE__ */ o(
55
- J,
48
+ })), F(() => {
49
+ o.current && k(o.current.offsetHeight);
50
+ }, []), /* @__PURE__ */ n(
51
+ D,
56
52
  {
57
53
  $flex: 1,
58
54
  $flexDirection: "column",
@@ -60,79 +56,78 @@ const ne = {
60
56
  $justifyContent: "center",
61
57
  $width: "100%",
62
58
  $height: "100%",
63
- ref: s,
59
+ ref: o,
64
60
  children: [
65
- d && /* @__PURE__ */ e(
66
- Y,
61
+ m && /* @__PURE__ */ e(
62
+ O,
67
63
  {
68
64
  width: 1280,
69
- height: d,
70
- src: n ? R ?? r : r,
65
+ height: m,
66
+ src: r,
71
67
  ref: t,
72
- onRender: B,
73
- settings: ne
68
+ onRender: L,
69
+ settings: Q
74
70
  }
75
71
  ),
76
- /* @__PURE__ */ o(
77
- Q,
72
+ /* @__PURE__ */ n(
73
+ K,
78
74
  {
79
- $width: n ? 290 : 400,
80
- $height: n ? 290 : 400,
75
+ $width: 400,
76
+ $height: 400,
81
77
  $background: "REAL_BLACK",
82
78
  $alignItems: "center",
83
79
  $justifyContent: "center",
84
80
  children: [
85
- c && /* @__PURE__ */ e(
86
- K,
81
+ l && /* @__PURE__ */ e(
82
+ M,
87
83
  {
88
- radius: c ? 145 : 200,
84
+ radius: 200,
89
85
  strokeWidth: 2,
90
86
  color: "WHITE",
91
- targetAngle: c,
87
+ targetAngle: l,
92
88
  mode: "fade",
93
89
  duration: 1
94
90
  }
95
91
  ),
96
- /* @__PURE__ */ o(U, { $isVisible: L, $width: "100%", children: [
97
- u && /* @__PURE__ */ o(N, { $gutterX: n ? 1.5 : 3.5, children: [
98
- /* @__PURE__ */ e(q, { $renderAs: "ab2", $color: "WHITE", $align: "center", children: u }),
99
- /* @__PURE__ */ e(_, { heightX: 1 })
92
+ /* @__PURE__ */ n(Y, { $isVisible: v, $width: "100%", children: [
93
+ a && /* @__PURE__ */ n(N, { $gutterX: 3.5, children: [
94
+ /* @__PURE__ */ e(X, { $renderAs: "ab2", $color: "WHITE", $align: "center", children: a }),
95
+ /* @__PURE__ */ e(V, { heightX: 1 })
100
96
  ] }),
101
- /* @__PURE__ */ e(Z, { children: I })
97
+ /* @__PURE__ */ e(_, { children: y })
102
98
  ] })
103
99
  ]
104
100
  }
105
101
  ),
106
- m && /* @__PURE__ */ e(ee, { $alignItems: "center", $justifyContent: "center", children: m }),
107
- k && /* @__PURE__ */ e(te, { children: /* @__PURE__ */ e(
108
- y,
102
+ u && /* @__PURE__ */ e(q, { $alignItems: "center", $justifyContent: "center", children: u }),
103
+ S && /* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(
104
+ C,
109
105
  {
110
- Icon: V,
111
- renderAs: "black-dark",
106
+ Icon: P,
107
+ renderAs: "secondary-dark",
112
108
  analyticsLabel: "Prev",
113
- onClick: b,
114
- disabled: i,
109
+ onClick: I,
110
+ disabled: s,
115
111
  size: "small"
116
112
  }
117
113
  ) }),
118
- S && /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(
119
- y,
114
+ A && /* @__PURE__ */ e(J, { children: /* @__PURE__ */ e(
115
+ C,
120
116
  {
121
117
  size: "small",
122
- Icon: X,
118
+ Icon: z,
123
119
  renderAs: "secondary-dark",
124
120
  analyticsLabel: "Next",
125
- onClick: v,
126
- busy: i,
127
- disabled: i || A
121
+ onClick: x,
122
+ busy: s
128
123
  }
129
124
  ) })
130
125
  ]
131
126
  }
132
127
  );
133
128
  }
134
- ), ge = j(oe);
129
+ ), ue = E(U);
135
130
  export {
136
- ge as default
131
+ ue as default
137
132
  };
138
133
  //# sourceMappingURL=circular-step-wrapper.js.map