impact-ui 4.0.0-alpha.11 → 4.0.0-alpha.13

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 (187) hide show
  1. package/dist/_virtual/ChevronLeftOutlined.js +4 -0
  2. package/dist/_virtual/CloseRounded.js +4 -0
  3. package/dist/_virtual/FilterAltOutlined.js +4 -0
  4. package/dist/_virtual/KeyboardRounded.js +4 -0
  5. package/dist/_virtual/index14.js +2 -2
  6. package/dist/_virtual/index15.js +2 -2
  7. package/dist/_virtual/index3.js +4 -2
  8. package/dist/_virtual/index4.js +3 -3
  9. package/dist/_virtual/index5.js +2 -4
  10. package/dist/components/Chatbot/Chatbot.types.d.ts +16 -1
  11. package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
  12. package/dist/components/Chatbot/index.d.ts +1 -1
  13. package/dist/components/Chatbot/index.d.ts.map +1 -1
  14. package/dist/components/Chatbot/index.js +53 -1
  15. package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts.map +1 -1
  16. package/dist/components/DateRangePicker/dateRangePickerDropdown.js +3 -4
  17. package/dist/components/DateRangePicker/dateRangePickerInput.d.ts +2 -1
  18. package/dist/components/DateRangePicker/dateRangePickerInput.d.ts.map +1 -1
  19. package/dist/components/DateRangePicker/dateRangePickerInput.js +8 -3
  20. package/dist/components/DateRangePicker/index.d.ts.map +1 -1
  21. package/dist/components/DateRangePicker/index.js +5 -9
  22. package/dist/components/FilterPanel/index.d.ts.map +1 -1
  23. package/dist/components/FilterPanel/index.js +32 -0
  24. package/dist/components/FiltersStrip/index.d.ts.map +1 -1
  25. package/dist/components/FiltersStrip/index.js +2 -2
  26. package/dist/components/KeyboardShortCuts/Keycombo.d.ts +12 -0
  27. package/dist/components/KeyboardShortCuts/Keycombo.d.ts.map +1 -0
  28. package/dist/components/KeyboardShortCuts/Keycombo.js +20 -0
  29. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts +7 -0
  30. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +1 -0
  31. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +69 -0
  32. package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts +7 -0
  33. package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +1 -0
  34. package/dist/components/KeyboardShortCuts/ShortcutModal.js +167 -0
  35. package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts +3 -0
  36. package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts.map +1 -0
  37. package/dist/components/KeyboardShortCuts/allSetBox.d.ts +6 -0
  38. package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +1 -0
  39. package/dist/components/KeyboardShortCuts/allSetBox.js +32 -0
  40. package/dist/components/KeyboardShortCuts/index.d.ts +14 -0
  41. package/dist/components/KeyboardShortCuts/index.d.ts.map +1 -0
  42. package/dist/components/KeyboardShortCuts/index.js +187 -0
  43. package/dist/components/KeyboardShortCuts/screen2.d.ts +4 -0
  44. package/dist/components/KeyboardShortCuts/screen2.d.ts.map +1 -0
  45. package/dist/components/KeyboardShortCuts/screen2.js +19 -0
  46. package/dist/components/KeyboardShortCuts/screen3.d.ts +4 -0
  47. package/dist/components/KeyboardShortCuts/screen3.d.ts.map +1 -0
  48. package/dist/components/KeyboardShortCuts/screen3.js +19 -0
  49. package/dist/components/KeyboardShortCuts/tutorial.d.ts +7 -0
  50. package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +1 -0
  51. package/dist/components/KeyboardShortCuts/tutorial.js +161 -0
  52. package/dist/components/MonthPicker/DefaultYearSelect.js +10 -0
  53. package/dist/components/MonthPicker/constants.js +4 -0
  54. package/dist/components/MonthPicker/index.js +324 -0
  55. package/dist/components/MonthRangePicker/MonthRangePicker.types.d.ts +30 -0
  56. package/dist/components/MonthRangePicker/MonthRangePicker.types.d.ts.map +1 -0
  57. package/dist/components/MonthRangePicker/constants.d.ts +2 -0
  58. package/dist/components/MonthRangePicker/constants.d.ts.map +1 -0
  59. package/dist/components/MonthRangePicker/constants.js +4 -0
  60. package/dist/components/MonthRangePicker/index.d.ts +22 -0
  61. package/dist/components/MonthRangePicker/index.d.ts.map +1 -0
  62. package/dist/components/MonthRangePicker/index.js +613 -0
  63. package/dist/components/Select/SearchFilter.d.ts.map +1 -1
  64. package/dist/components/Select/SearchFilter.js +140 -28
  65. package/dist/components/Select/Select.types.d.ts +43 -1
  66. package/dist/components/Select/Select.types.d.ts.map +1 -1
  67. package/dist/components/Select/dropdown.d.ts +1 -1
  68. package/dist/components/Select/dropdown.d.ts.map +1 -1
  69. package/dist/components/Select/dropdown.js +3 -2
  70. package/dist/components/Select/hooks/index.d.ts +3 -0
  71. package/dist/components/Select/hooks/index.d.ts.map +1 -1
  72. package/dist/components/Select/hooks/useKeyboardNavigation.d.ts +22 -0
  73. package/dist/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -0
  74. package/dist/components/Select/hooks/useKeyboardNavigation.js +160 -0
  75. package/dist/components/Select/hooks/useScrollIntoView.d.ts +11 -0
  76. package/dist/components/Select/hooks/useScrollIntoView.d.ts.map +1 -0
  77. package/dist/components/Select/hooks/useScrollIntoView.js +28 -0
  78. package/dist/components/Select/hooks/useTypeahead.d.ts +11 -0
  79. package/dist/components/Select/hooks/useTypeahead.d.ts.map +1 -0
  80. package/dist/components/Select/hooks/useTypeahead.js +41 -0
  81. package/dist/components/Select/index.d.ts.map +1 -1
  82. package/dist/components/Select/index.js +521 -148
  83. package/dist/components/Select/menuList.d.ts +2 -7
  84. package/dist/components/Select/menuList.d.ts.map +1 -1
  85. package/dist/components/Select/menuList.js +68 -16
  86. package/dist/components/Select/utils.d.ts +2 -2
  87. package/dist/components/Select/utils.d.ts.map +1 -1
  88. package/dist/components/Select/utils.js +3 -32
  89. package/dist/components/Shortcuts/ShortcutContext.d.ts +3 -0
  90. package/dist/components/Shortcuts/ShortcutContext.d.ts.map +1 -0
  91. package/dist/components/Shortcuts/ShortcutContext.js +5 -0
  92. package/dist/components/Shortcuts/ShortcutHint.d.ts +9 -0
  93. package/dist/components/Shortcuts/ShortcutHint.d.ts.map +1 -0
  94. package/dist/components/Shortcuts/ShortcutHint.js +33 -0
  95. package/dist/components/Shortcuts/ShortcutScope.d.ts +9 -0
  96. package/dist/components/Shortcuts/ShortcutScope.d.ts.map +1 -0
  97. package/dist/components/Shortcuts/ShortcutScope.js +10 -0
  98. package/dist/components/Shortcuts/ShortcutsConfigContext.d.ts +7 -0
  99. package/dist/components/Shortcuts/ShortcutsConfigContext.d.ts.map +1 -0
  100. package/dist/components/Shortcuts/ShortcutsConfigContext.js +8 -0
  101. package/dist/components/Shortcuts/ShortcutsProvider.d.ts +9 -0
  102. package/dist/components/Shortcuts/ShortcutsProvider.d.ts.map +1 -0
  103. package/dist/components/Shortcuts/ShortcutsProvider.js +18 -0
  104. package/dist/components/Shortcuts/index.d.ts +13 -0
  105. package/dist/components/Shortcuts/index.d.ts.map +1 -0
  106. package/dist/components/Shortcuts/useShortcut.d.ts +6 -0
  107. package/dist/components/Shortcuts/useShortcut.d.ts.map +1 -0
  108. package/dist/components/Shortcuts/useShortcut.js +92 -0
  109. package/dist/components/Shortcuts/useShortcutScope.d.ts +5 -0
  110. package/dist/components/Shortcuts/useShortcutScope.d.ts.map +1 -0
  111. package/dist/components/Shortcuts/useShortcutScope.js +25 -0
  112. package/dist/components/Sidebar/index.d.ts.map +1 -1
  113. package/dist/components/Sidebar/index.js +55 -1
  114. package/dist/components/Table/AdvanceSortModal.d.ts +8 -0
  115. package/dist/components/Table/AdvanceSortModal.d.ts.map +1 -0
  116. package/dist/components/Table/AdvanceSortModal.js +285 -0
  117. package/dist/components/Table/Table.types.d.ts +13 -0
  118. package/dist/components/Table/Table.types.d.ts.map +1 -1
  119. package/dist/components/Table/TableImpl.d.ts.map +1 -1
  120. package/dist/components/Table/TableImpl.js +186 -63
  121. package/dist/components/Table/actionBar.d.ts +12 -0
  122. package/dist/components/Table/actionBar.d.ts.map +1 -0
  123. package/dist/components/Table/actionBar.js +44 -0
  124. package/dist/components/Table/tableHeader.d.ts +6 -1
  125. package/dist/components/Table/tableHeader.d.ts.map +1 -1
  126. package/dist/components/Table/tableHeader.js +11 -2
  127. package/dist/components/Table/tableMoreOptions.d.ts +3 -1
  128. package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
  129. package/dist/components/Table/tableMoreOptions.js +26 -1
  130. package/dist/components/TableChat/components/TextEditor/Mention.d.ts.map +1 -1
  131. package/dist/components/TableChat/components/TextEditor/Mention.js +2 -1
  132. package/dist/components/TableOld/AgGridHeader.d.ts +12 -0
  133. package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -0
  134. package/dist/components/TableOld/actionBar.d.ts +7 -0
  135. package/dist/components/TableOld/actionBar.d.ts.map +1 -0
  136. package/dist/components/TableOld/index.d.ts +3 -0
  137. package/dist/components/TableOld/index.d.ts.map +1 -0
  138. package/dist/components/TableOld/mockData.d.ts +39 -0
  139. package/dist/components/TableOld/mockData.d.ts.map +1 -0
  140. package/dist/components/TableOld/tableFunctions.d.ts +56 -0
  141. package/dist/components/TableOld/tableFunctions.d.ts.map +1 -0
  142. package/dist/components/TableOld/tableHeader.d.ts +48 -0
  143. package/dist/components/TableOld/tableHeader.d.ts.map +1 -0
  144. package/dist/components/TableOld/tableIcons.d.ts +3 -0
  145. package/dist/components/TableOld/tableIcons.d.ts.map +1 -0
  146. package/dist/components/TableOld/tablePagination.d.ts +8 -0
  147. package/dist/components/TableOld/tablePagination.d.ts.map +1 -0
  148. package/dist/components/TableOld/tableSettings.d.ts +11 -0
  149. package/dist/components/TableOld/tableSettings.d.ts.map +1 -0
  150. package/dist/components/YearSelect/index.js +83 -0
  151. package/dist/components/index.d.ts +8 -0
  152. package/dist/components/index.d.ts.map +1 -1
  153. package/dist/components/index.js +35 -3
  154. package/dist/mcp-component-registry.json +7 -1
  155. package/dist/node_modules/@mui/icons-material/ChevronLeftOutlined.js +17 -0
  156. package/dist/node_modules/@mui/icons-material/CloseRounded.js +17 -0
  157. package/dist/node_modules/@mui/icons-material/FilterAltOutlined.js +17 -0
  158. package/dist/node_modules/@mui/icons-material/KeyboardRounded.js +17 -0
  159. package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
  160. package/dist/node_modules/call-bind/index.js +1 -1
  161. package/dist/node_modules/is-symbol/index.js +1 -1
  162. package/dist/node_modules/react-is/index.js +1 -1
  163. package/dist/utils/shortcuts/ShortcutManager.d.ts +34 -0
  164. package/dist/utils/shortcuts/ShortcutManager.d.ts.map +1 -0
  165. package/dist/utils/shortcuts/ShortcutManager.js +159 -0
  166. package/dist/utils/shortcuts/constants.d.ts +10 -0
  167. package/dist/utils/shortcuts/constants.d.ts.map +1 -0
  168. package/dist/utils/shortcuts/constants.js +46 -0
  169. package/dist/utils/shortcuts/format.d.ts +3 -0
  170. package/dist/utils/shortcuts/format.d.ts.map +1 -0
  171. package/dist/utils/shortcuts/format.js +27 -0
  172. package/dist/utils/shortcuts/index.d.ts +8 -0
  173. package/dist/utils/shortcuts/index.d.ts.map +1 -0
  174. package/dist/utils/shortcuts/match.d.ts +9 -0
  175. package/dist/utils/shortcuts/match.d.ts.map +1 -0
  176. package/dist/utils/shortcuts/match.js +52 -0
  177. package/dist/utils/shortcuts/parse.d.ts +10 -0
  178. package/dist/utils/shortcuts/parse.d.ts.map +1 -0
  179. package/dist/utils/shortcuts/parse.js +50 -0
  180. package/dist/utils/shortcuts/platform.d.ts +2 -0
  181. package/dist/utils/shortcuts/platform.d.ts.map +1 -0
  182. package/dist/utils/shortcuts/platform.js +5 -0
  183. package/dist/utils/shortcuts/shortcuts.test.d.ts +2 -0
  184. package/dist/utils/shortcuts/shortcuts.test.d.ts.map +1 -0
  185. package/dist/utils/shortcuts/types.d.ts +50 -0
  186. package/dist/utils/shortcuts/types.d.ts.map +1 -0
  187. package/package.json +1 -1
@@ -0,0 +1,187 @@
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900";*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}@keyframes shortcut-section-enter{0%{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes slide-in-from-right{0%{opacity:0;transform:translate(48px)}to{opacity:1;transform:translate(0)}}@keyframes slide-in-from-left{0%{opacity:0;transform:translate(-48px)}to{opacity:1;transform:translate(0)}}@keyframes dot-fill{0%{width:0}to{width:100%}}@keyframes shortcut-card-enter-1{0%{opacity:0;transform:translateY(20px) rotate(-8deg) scale(.98)}to{opacity:1;transform:translateY(0) rotate(-8deg) scale(1)}}@keyframes shortcut-card-enter-2{0%{opacity:0;transform:translateY(20px) rotate(4deg) scale(.98)}to{opacity:1;transform:translateY(0) rotate(4deg) scale(1)}}@keyframes shortcut-card-enter-3{0%{opacity:0;transform:translateY(20px) rotate(-1deg) scale(.98)}to{opacity:1;transform:translateY(0) rotate(-1deg) scale(1)}}.keyboard-shortcuts-container-wrapper{background-color:#fff;background-image:radial-gradient(circle,#f7f7f799 2px,#0000 0),radial-gradient(circle,#f7f7f799 2px,#0000 0);background-size:18px 18px;border-radius:12px;box-shadow:0 0 30px 6px #0000001a;left:50%;padding:40px;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:999999}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container{align-items:center;display:flex;flex-direction:column;gap:32px;height:100%;justify-content:space-between}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header{align-items:center;display:flex;flex-direction:column;gap:8px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription{align-items:center;display:flex;flex-direction:column;gap:4px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription .page-header-title{color:#0d152c;font-size:32px;font-weight:800;line-height:48px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription .page-header-description{color:#7a8294;font-size:16px;font-weight:600;line-height:24px;text-align:center;text-transform:capitalize;width:302px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section{align-items:center;display:flex;flex-direction:column;gap:8px;overflow:hidden}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .screen-slide{height:452px;will-change:opacity,transform}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .screen-slide--forward{animation:slide-in-from-right .38s cubic-bezier(.22,1,.36,1) both}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .screen-slide--backward{animation:slide-in-from-left .38s cubic-bezier(.22,1,.36,1) both}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .button-carousel-wrapper{align-items:center;display:flex;gap:10px;justify-content:center}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .button-carousel-wrapper .button{background-color:#d9dde7;border-radius:5px;cursor:pointer;flex-shrink:0;height:10px;overflow:hidden;position:relative;transition:width .3s cubic-bezier(.22,1,.36,1),background-color .2s;width:10px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .button-carousel-wrapper .button.active{background-color:#d9dde7;width:32px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .button-carousel-wrapper .button.active:after{animation:dot-fill var(--dot-duration,2s) linear forwards;background-color:#4259ee;border-radius:5px;content:"";height:100%;inset-block:0;left:0;position:absolute}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-footer .page-footer-buttons{align-items:center;display:flex;gap:12px}.keyboard-shortcuts-container-wrapper .screen2-container,.keyboard-shortcuts-container-wrapper .screen3-container{display:flex;flex-direction:column;gap:24px}.keyboard-shortcuts-container-wrapper .screen2-container .screen-video,.keyboard-shortcuts-container-wrapper .screen3-container .screen-video{height:295px;width:520px}.keyboard-shortcuts-container-wrapper .screen2-container .keycombo-container-wrapper,.keyboard-shortcuts-container-wrapper .screen3-container .keycombo-container-wrapper{align-items:center;display:flex;flex-direction:column;gap:20px;justify-content:center}.keyboard-shortcuts-container-wrapper .screen2-container .keycombo-container-wrapper .keycombo-container,.keyboard-shortcuts-container-wrapper .screen3-container .keycombo-container-wrapper .keycombo-container{align-items:center;background-color:#b3bdf8;border-radius:10px;display:flex;gap:8px;height:72px;justify-content:center;padding:8px}.keyboard-shortcuts-container-wrapper .screen2-container .keycombo-container-wrapper .keycombo-description,.keyboard-shortcuts-container-wrapper .screen3-container .keycombo-container-wrapper .keycombo-description{color:#60697d;font-size:16px;font-weight:800;line-height:24px;text-align:center}.shortcut-landing-page{align-items:center;border-radius:12px;box-shadow:0 0 30px 6px #0000001a;display:flex;flex-direction:column;height:600px;justify-content:space-between;padding:40px;position:relative;width:500px}.shortcut-landing-page-content{height:452px;margin:0 auto;max-width:100%;position:relative;width:520px}.shortcut-landing-page-content .shortcut-landing-page-content-item{align-items:flex-start;border-radius:12px;box-sizing:border-box;display:flex;flex-direction:column;gap:20px;height:160px;overflow:hidden;padding:24px;position:absolute;width:270px}.shortcut-landing-page-content .shortcut-landing-page-content-item .background-image{background:none;height:100px;left:122px;mix-blend-mode:plus-lighter;opacity:.2;pointer-events:none;position:absolute;top:69px;width:146px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header{align-items:center;display:flex;flex-shrink:0;justify-content:space-between;position:relative;width:100%;z-index:1}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-icon{align-items:center;background:#fff;border-radius:8px;display:flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-icon svg{display:block}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-panel .content-header-icon svg{color:#26ab1a;height:24px;width:24px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-panel .content-header-icon svg path{fill:currentColor}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-filter .content-header-icon svg{color:#ee42cc}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-filter .content-header-icon svg path{fill:currentColor}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-keyboard .content-header-icon svg{color:#4259ee}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-keyboard .content-header-icon svg path{fill:currentColor}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-buttons{align-items:center;display:flex;gap:4px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-buttons-item{align-items:center;background:#fff;border-radius:4px;box-sizing:border-box;display:flex;justify-content:center;max-height:24px;min-height:24px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-buttons-item--modifier{border:1px solid #c3c8d4;padding:2px 10px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-buttons-item--letter{border:1px solid #d9dde7;padding:2px 12px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-buttons-item .content-header-buttons-item-text{color:#1f2b4d;font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:20px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-plus{align-items:center;display:flex;flex-shrink:0;height:16px;justify-content:center;width:16px}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-1{background:linear-gradient(180deg,#e8ffe7,#fff);border-left:1px solid #38d331;border-right:1px solid #38d331;border-top:1px solid #38d331;box-shadow:0 -10px 22px #38d33112;left:10px;top:18px;transform:rotate(-8deg);z-index:1}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-1 .background-image{transform:rotate(8deg)}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-2{background:linear-gradient(180deg,#ffeef4,#fff);border-left:1px solid #ee42cc;border-right:1px solid #ee42cc;border-top:1px solid #ee42cc;box-shadow:0 -10px 22px #ee42cc12;left:239.64px;top:141.78px;transform:rotate(4deg);z-index:2}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-2 .background-image{transform:rotate(9deg)}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-3{background:linear-gradient(180deg,#eef0ff,#fff);border-left:1px solid #4259ee;border-right:1px solid #4259ee;border-top:1px solid #4259ee;box-shadow:0 -24px 22px #4259ee12;left:1px;top:286.32px;transform:rotate(-1deg);z-index:3}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-3 .background-image{transform:rotate(8deg)}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-content{display:flex;flex-direction:column;gap:6px;position:relative;width:100%;z-index:1}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-content .content-content-header-title{color:#0d152c;font-size:16px;font-weight:800;line-height:24px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-content .content-content-header-description{color:#7a8294;font-size:12px;font-weight:500;line-height:16px}.shortcut-landing-page-content.shortcut-landing-entrance .shortcut-landing-page-content-item.item-1{animation:shortcut-card-enter-1 .4s cubic-bezier(.22,1,.36,1) .2s both;will-change:opacity,transform}.shortcut-landing-page-content.shortcut-landing-entrance .shortcut-landing-page-content-item.item-2{animation:shortcut-card-enter-2 .4s cubic-bezier(.22,1,.36,1) .3s both;will-change:opacity,transform}.shortcut-landing-page-content.shortcut-landing-entrance .shortcut-landing-page-content-item.item-3{animation:shortcut-card-enter-3 .4s cubic-bezier(.22,1,.36,1) .4s both;will-change:opacity,transform}.tab-items{border-radius:8px}.tab-items,.tab-items .ia-tabContainer{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.tab-items .impact-tab-panel{flex:1;min-height:0;overflow-y:auto}.modal-overlay{-webkit-align-items:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;transition:opacity 225ms cubic-bezier(.4,0,.2,1)}.keyboard-shortcuts-overlay,.modal-overlay,.tutorial-overlay{background-color:#0d152ccc;bottom:0;left:0;position:fixed;right:0;top:0;-webkit-tap-highlight-color:transparent;opacity:1;z-index:9999}.keyboard-shortcuts-overlay,.tutorial-overlay{pointer-events:auto;transition:opacity .5s ease-in-out}.keyboard-shortcuts-overlay.overlay--hidden,.tutorial-overlay.overlay--hidden{opacity:0;pointer-events:none}.close-icon-container{align-items:center;background-color:#fff;border-radius:50%;box-shadow:0 0 4px #0000001f;cursor:pointer;display:flex;justify-content:center;padding:6px;position:absolute;right:12px;top:12px}.close-icon-container:focus-visible{box-shadow:0 0 4px #0000001f;outline:none}.close-icon-container svg{height:18px;width:18px}.modal-wrapper{border-radius:12px;box-shadow:0 0 18px 8px #0000000f;display:flex;flex-direction:column;left:50%;max-height:620px;min-height:400px;position:fixed;top:50%;transform:translate(-50%,-50%);width:800px;z-index:9999}.modal-wrapper .close-icon-container{right:-10px;top:-10px}.modal-wrapper .modal-content{background:linear-gradient(300deg,#4259ee -225%,#fff 30%);border-radius:12px 12px 0 0;display:flex;flex:1;flex-direction:column;gap:16px;margin-bottom:48px;min-height:0;overflow:hidden;padding:16px 16px 0}.modal-wrapper .modal-content .search-bar{height:36px}.modal-wrapper .modal-content .search-bar .impact-input-wrapper,.modal-wrapper .modal-content .search-bar .impact_inputbox_container_with_icons{height:100%;width:100%}.modal-wrapper .modal-content .tab-items .impact-tab-panel{margin-top:8px}.modal-wrapper .modal-content .list-container{display:flex;flex-direction:column;gap:8px}.modal-wrapper .modal-content .list-container .list-item{align-items:center;border-bottom:1px solid #eff2fa;display:flex;justify-content:space-between;padding:0 12px 8px}.modal-wrapper .modal-content .list-container .list-item .list-item-content{display:flex;flex-direction:column;gap:2px}.modal-wrapper .modal-content .list-container .list-item .list-item-content .list-item-title{color:#0d152c;font-size:14px;font-weight:500;line-height:21px;text-transform:capitalize}.modal-wrapper .modal-content .list-container .list-item .list-item-content .list-item-description{color:#7a8294;font-size:12px;font-weight:500;line-height:16px;text-transform:capitalize}.modal-wrapper .modal-content .list-container .list-item .list-item-keys{display:flex;gap:8px}.modal-wrapper .modal-footer{align-items:center;background-color:#fff;border-radius:0 0 8px 8px;border-top:1px solid #d9dde7;bottom:0;display:flex;height:48px;justify-content:flex-end;left:0;padding:12px 16px;position:absolute;right:0}.modal-wrapper .modal-footer .modal-footer-content-left{align-items:center;display:flex;gap:12px}.modal-wrapper .modal-footer .modal-footer-content-left .modal-footer-content-left-buttons{align-items:center;display:flex;gap:8px}.modal-wrapper .modal-footer .modal-footer-content-left .modal-footer-content-left-seperator{border:1px solid #d9dde7;height:16px;margin:4px;width:0}.modal-wrapper .modal-footer .modal-footer-content-left .modal-footer-content-left-text{color:#60697d;font-size:14px;font-weight:500;line-height:20px;text-transform:capitalize}.modal-wrapper .modal-footer .modal-footer-content-right{align-items:center;display:flex;gap:12px}.modal-wrapper .modal-footer .modal-footer-content-right-text{color:#60697d;cursor:pointer;font-size:14px;font-weight:500;line-height:20px}.keycap{align-items:center;background-color:#f8f9fb;border:1px solid #c3c8d4;border-radius:4px;cursor:pointer;display:flex;height:24px;justify-content:center;min-width:34px;padding:2px 10px}.keycap .keycap-label{color:#1f2b4d;font-family:Inter;font-size:14px;font-weight:500;line-height:20px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header.shortcut-landing-entrance-header{animation:shortcut-section-enter .4s cubic-bezier(.22,1,.36,1) 0s both;will-change:opacity,transform}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-footer.shortcut-landing-entrance-footer{animation:shortcut-section-enter .4s cubic-bezier(.22,1,.36,1) .6s both;will-change:opacity,transform}@media (prefers-reduced-motion:reduce){.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-footer.shortcut-landing-entrance-footer,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header.shortcut-landing-entrance-header,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen-slide{animation:none!important;opacity:1;transform:none}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .button.active:after{animation:none!important;width:100%}.shortcut-landing-page-content.shortcut-landing-entrance .shortcut-landing-page-content-item{animation:none!important;opacity:1}}.keys{align-items:center;display:flex;gap:8px}.keys .button-outer{background:#000;border-radius:5px;display:flex;height:55px;justify-content:flex-end;position:relative;width:80px}.keys .button-outer:before{bottom:0;left:2px;transform:rotate(-51.34deg);transform-origin:left center;width:9px}.keys .button-outer:after,.keys .button-outer:before{background:#fff;content:"";filter:blur(.5px);height:1px;position:absolute}.keys .button-outer:after{bottom:1px;right:1px;transform:rotate(79deg);transform-origin:right center;width:6px}.keys .button-outer .button-inner{align-items:flex-end;background:linear-gradient(180deg,#404040 10.91%,#222);border:1px solid #404040;border-radius:5px;display:flex;flex-direction:column;height:49px;justify-content:space-between;padding:8px;width:74px}.keys .button-outer .button-inner:before{background:#fff;content:"";filter:blur(.5px);height:5px;left:2px;position:absolute;top:1px;transform:rotate(-55.34deg);transform-origin:left top;width:1px}.keys .button-outer .button-inner .key-symbol,.keys .button-outer .button-inner .key-text{color:#fff;font-family:SF Compact;font-size:12px;font-weight:400;text-align:right}.keys .button-outer.single-key{height:55px;width:55px}.keys .button-outer.single-key .button-inner{align-items:center;height:49px;justify-content:center;width:49px}.keys .button-outer.single-key .key-text{font-size:27px;text-align:center}.keys.keycombo-section-buttons{align-items:center;display:flex;gap:8px}.tutorial-modal-wrapper{align-items:center;border:1px solid #4259eeb3;border-radius:12px;box-shadow:0 0 18px 8px #0000000f;display:flex;flex-direction:column;gap:16px;padding:12px;position:fixed;transition:all .8s ease-in-out;width:max-content;z-index:999999}.tutorial-modal-wrapper:before{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#4259ee0f;border-radius:12px;content:"";top:0;right:0;bottom:0;left:0;position:absolute;z-index:0}.tutorial-modal-wrapper.tutorial-modal--step-0{left:84px;top:8px}.tutorial-modal-wrapper.tutorial-modal--step-1{left:80px;top:calc(100% - 5px);transform:translateY(-100%)}.tutorial-modal-wrapper.tutorial-modal--step-2{left:calc(100% - 205px);top:73px;transform:translate(-100%)}.tutorial-modal-wrapper .tutorial-arrow--left-top{top:17px}.tutorial-modal-wrapper .tutorial-arrow--left,.tutorial-modal-wrapper .tutorial-arrow--left-top{border-bottom:10px solid #0000;border-right:17px solid #4259ee;border-top:10px solid #0000;left:-17px;position:absolute;z-index:1}.tutorial-modal-wrapper .tutorial-arrow--left{top:50%;transform:translateY(-50%)}.tutorial-modal-wrapper .tutorial-arrow--top-right{border-bottom:17px solid #4259ee;border-left:10px solid #0000;border-right:10px solid #0000;position:absolute;right:51px;top:-17px;z-index:1}.tutorial-modal-wrapper .top-section{align-items:center;background-color:#fff;border-radius:12px;box-shadow:0 0 18px 8px #0000000f;display:flex;gap:16px;padding:8px;position:relative;z-index:1}.tutorial-modal-wrapper .top-section .top-section-content{align-items:center;display:flex;gap:8px}.tutorial-modal-wrapper .top-section .top-section-content .loader{display:flex}.tutorial-modal-wrapper .top-section .top-section-content .loader .ia-loader-container{display:flex;flex-direction:row}.tutorial-modal-wrapper .top-section .top-section-content .loader .ia-loader-container .ia-loader-small{height:16px;width:16px}.tutorial-modal-wrapper .top-section .top-section-content .loader .ia-loader-container .ia-loader-small .ia-loader-inner{height:12px;width:12px}.tutorial-modal-wrapper .top-section .top-section-content .loader .lottie-iframe{height:16px;width:16px}.tutorial-modal-wrapper .top-section .top-section-content .top-section-text{color:#1f2b4d;font-size:14px;font-weight:700;line-height:21px;text-align:center;text-transform:capitalize}.tutorial-modal-wrapper .top-section .top-section-buttons{margin-left:auto}.tutorial-modal-wrapper .bottom-section{align-items:center;align-self:stretch;display:flex;justify-content:space-between;position:relative;z-index:1}.tutorial-modal-wrapper .bottom-section .bottom-section-text{color:#1f2b4d;cursor:pointer;font-size:14px;font-weight:700;line-height:21px;text-align:center;text-transform:capitalize}.tutorial-modal-wrapper .bottom-section .bottom-section-text:hover{color:#4259ee}.progress-bar,.tutorial-modal-wrapper .bottom-section .bottom-section-progress{align-items:center;display:flex}.progress-bar .progress-line{border-top:4px solid #c3c8d4;height:0;transition:border-color .3s ease;width:76px}.progress-bar .progress-line--active{border-color:#4259ee}.progress-bar .progress-step{align-items:center;background-color:#fff;border:1px solid #7a8294;border-radius:50%;color:#7a8294;display:flex;flex-shrink:0;font-size:12px;font-weight:600;height:20px;justify-content:center;transition:all .3s ease;width:20px}.progress-bar .progress-step svg{height:6px;width:7px}.progress-bar .progress-step--active{border-color:#4259ee;color:#4259ee}.progress-bar .progress-step--completed{background-color:#4259ee;border-color:#4259ee;color:#fff}.progress-bar .progress-step .step-number{color:#7a8294;font-size:14px;font-weight:500;line-height:20px;text-align:center}.progress-bar .progress-step .step-number--active{color:#4259ee}.all-set-box-wrapper{bottom:24px;left:50%;position:fixed;transform:translate(-50%)}.all-set-box-wrapper .close-icon-container{right:-10px;top:-10px;z-index:9}.all-set-box-wrapper .all-set-box-content{-webkit-backdrop-filter:blur(21px);backdrop-filter:blur(21px);background:linear-gradient(132deg,#3bb273 -250.62%,#3bb27300 66.76%);border:2px solid #3bb273;border-radius:12px;box-shadow:inset -5px -5px 250px #ffffff05;display:flex;flex-direction:column;gap:2px;padding:24px}.all-set-box-wrapper .all-set-box-content .all-set-box-content-title-container{align-items:center;display:flex;gap:2px;height:24px}.all-set-box-wrapper .all-set-box-content .all-set-box-content-title-container .all-set-box-content-title{color:#0d152c;font-size:16px;font-weight:800;line-height:24px}.all-set-box-wrapper .all-set-box-content .all-set-box-content-title-container .all-set-box-content-animation{height:36px;overflow:visible;transform:translate(-2px,-6px) scale(2);width:36px}.all-set-box-wrapper .all-set-box-content .all-set-box-content-description{color:#0d152c;font-size:14px;font-weight:500;line-height:20px}@media screen and (max-width:1512px){.keyboard-shortcuts-container-wrapper{padding:30px}.keyboard-shortcuts-container-wrapper .close-icon-container svg{height:14px;width:14px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container{gap:24px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .screen-slide{height:339px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header{gap:4px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription{gap:2px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription .page-header-title{font-size:24px;line-height:36px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription .page-header-description{font-size:12px;line-height:18px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section{gap:6px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content{height:339px;width:390px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item{gap:16px;height:120px;padding:18px;width:202px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item.item-2{left:183px;top:106.33px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item.item-3{top:214.75px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-icon{height:24px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item .content-content{gap:4px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item .content-content .content-content-header-title{font-size:12px;line-height:18px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item .content-content .content-content-header-description{font-size:10px;line-height:14px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .screen-video,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .screen-video{height:222px;width:390px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper{gap:16px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-description,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-description{font-size:12px;line-height:18px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container{gap:6px;height:54px;padding:6px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys{gap:6px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer{height:40px;width:60px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer:before,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer:before{width:6px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer:after,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer:after{width:4px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner{height:36px;padding:6px;width:56px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner:before,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner:before{height:3px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner .key-symbol,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner .key-text,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner .key-symbol,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner .key-text{font-size:9px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key{height:40px;width:40px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner{align-items:center;height:36px;justify-content:center;width:36px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner .key-symbol,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner .key-text,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner .key-symbol,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner .key-text{font-size:20px}}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
+ import { jsx, Fragment, jsxs } from "react/jsx-runtime";
3
+ import { useState, useRef, useEffect, useCallback } from "react";
4
+ import default_1 from "../../node_modules/@mui/icons-material/CloseRounded.js";
5
+ import { Badge } from "../Badge/index.js";
6
+ import { Button } from "../Button/index.js";
7
+ import { AllSetBox } from "./allSetBox.js";
8
+ import { Screen2 } from "./screen2.js";
9
+ import { Screen3 } from "./screen3.js";
10
+ import { ShortcutLandingPage } from "./ShortcutLandingPage.js";
11
+ import { TutorialModal } from "./tutorial.js";
12
+
13
+ const SLIDE_DURATIONS = [4500, 8e3, 9e3];
14
+ const TOTAL_SLIDES = SLIDE_DURATIONS.length;
15
+ const KeyboardShortcuts = ({
16
+ showLandingPage = true,
17
+ showTutorial = false,
18
+ showAllSetBox = false,
19
+ onRemindMeLater = () => {
20
+ },
21
+ onClose = () => {
22
+ },
23
+ screen2VideoSrc,
24
+ screen3VideoSrc,
25
+ onSkipClick = () => {
26
+ },
27
+ onCloseAllSetBox = () => {
28
+ }
29
+ }) => {
30
+ const [activeIndex, setActiveIndex] = useState(0);
31
+ const [leftLandingOnce, setLeftLandingOnce] = useState(false);
32
+ const [showKeyboardShortcuts, setShowKeyboardShortcuts] = useState(true);
33
+ const [direction, setDirection] = useState("forward");
34
+ const [animKey, setAnimKey] = useState(0);
35
+ const timerRef = useRef(null);
36
+ const [showLandingPageScreen, setShowLandingPageScreen] = useState(showLandingPage);
37
+ const [isSmallScreen, setIsSmallScreen] = useState(
38
+ () => window.matchMedia("(max-width: 1512px)").matches
39
+ );
40
+ useEffect(() => {
41
+ const mql = window.matchMedia("(max-width: 1512px)");
42
+ const handler = (e) => {
43
+ setIsSmallScreen(e.matches);
44
+ };
45
+ mql.addEventListener("change", handler);
46
+ return () => {
47
+ mql.removeEventListener("change", handler);
48
+ };
49
+ }, []);
50
+ const goToSlide = useCallback((index, dir = "forward") => {
51
+ setDirection(dir);
52
+ setActiveIndex(index);
53
+ setAnimKey((k) => k + 1);
54
+ if (index !== 0) setLeftLandingOnce(true);
55
+ }, []);
56
+ useEffect(() => {
57
+ clearTimeout(timerRef.current);
58
+ timerRef.current = setTimeout(() => {
59
+ goToSlide((activeIndex + 1) % TOTAL_SLIDES, "forward");
60
+ }, SLIDE_DURATIONS[activeIndex]);
61
+ return () => {
62
+ clearTimeout(timerRef.current);
63
+ };
64
+ }, [activeIndex, goToSlide]);
65
+ const playLandingEntrance = activeIndex === 0 && !leftLandingOnce;
66
+ const [showTutorialModal, setShowTutorialModal] = useState(showTutorial);
67
+ const [showAllSetBoxState, setShowAllSetBoxState] = useState(showAllSetBox);
68
+ const screens = [
69
+ /* @__PURE__ */ jsx(ShortcutLandingPage, { playEntrance: playLandingEntrance }, "landing"),
70
+ /* @__PURE__ */ jsx(Screen2, { videoSrc: screen2VideoSrc }, "screen2"),
71
+ /* @__PURE__ */ jsx(Screen3, { videoSrc: screen3VideoSrc }, "screen3")
72
+ ];
73
+ useEffect(() => {
74
+ setShowTutorialModal(showTutorial);
75
+ }, [showTutorial]);
76
+ useEffect(() => {
77
+ setShowAllSetBoxState(showAllSetBox);
78
+ }, [showAllSetBox]);
79
+ useEffect(() => {
80
+ setShowLandingPageScreen(showLandingPage);
81
+ }, [showLandingPage]);
82
+ return /* @__PURE__ */ jsx(Fragment, { children: showKeyboardShortcuts ? /* @__PURE__ */ jsxs(Fragment, { children: [
83
+ showLandingPageScreen && /* @__PURE__ */ jsxs(Fragment, { children: [
84
+ /* @__PURE__ */ jsx("div", { "aria-hidden": "true", className: "keyboard-shortcuts-overlay" }),
85
+ /* @__PURE__ */ jsxs("div", { className: "keyboard-shortcuts-container-wrapper", children: [
86
+ /* @__PURE__ */ jsx(
87
+ "div",
88
+ {
89
+ className: "close-icon-container",
90
+ onClick: () => {
91
+ setShowKeyboardShortcuts(false);
92
+ onClose();
93
+ },
94
+ children: /* @__PURE__ */ jsx(default_1, { fontSize: "small", sx: { color: "#60697D" } })
95
+ }
96
+ ),
97
+ /* @__PURE__ */ jsxs("div", { className: "keyboard-shortcuts-container", children: [
98
+ /* @__PURE__ */ jsxs(
99
+ "div",
100
+ {
101
+ className: `page-header${playLandingEntrance ? " shortcut-landing-entrance-header" : ""}`,
102
+ children: [
103
+ /* @__PURE__ */ jsx(
104
+ Badge,
105
+ {
106
+ color: "info",
107
+ label: "New feature",
108
+ size: isSmallScreen ? "small" : "default",
109
+ variant: "subtle"
110
+ }
111
+ ),
112
+ /* @__PURE__ */ jsxs("div", { className: "page-header-title-discription", children: [
113
+ /* @__PURE__ */ jsx("span", { className: "page-header-title", children: "Keyboard shortcuts" }),
114
+ /* @__PURE__ */ jsx("span", { className: "page-header-description", children: "key combos that help you work faster without a mouse." })
115
+ ] })
116
+ ]
117
+ }
118
+ ),
119
+ /* @__PURE__ */ jsxs("div", { className: "middle-section", children: [
120
+ /* @__PURE__ */ jsx("div", { className: `screen-slide screen-slide--${direction}`, children: screens[activeIndex] }, animKey),
121
+ /* @__PURE__ */ jsx("div", { className: "button-carousel-wrapper", children: SLIDE_DURATIONS.map((duration, i) => /* @__PURE__ */ jsx(
122
+ "div",
123
+ {
124
+ className: `button ${activeIndex === i ? "active" : ""}`,
125
+ style: activeIndex === i ? { "--dot-duration": `${duration}ms` } : {},
126
+ onClick: () => {
127
+ const dir = i > activeIndex ? "forward" : "backward";
128
+ goToSlide(i, dir);
129
+ }
130
+ },
131
+ i
132
+ )) })
133
+ ] }),
134
+ /* @__PURE__ */ jsx(
135
+ "div",
136
+ {
137
+ className: `page-footer${playLandingEntrance ? " shortcut-landing-entrance-footer" : ""}`,
138
+ children: /* @__PURE__ */ jsxs("div", { className: "page-footer-buttons", children: [
139
+ /* @__PURE__ */ jsx(
140
+ Button,
141
+ {
142
+ size: isSmallScreen ? "small" : "large",
143
+ variant: "tertiary",
144
+ onClick: () => {
145
+ onRemindMeLater();
146
+ setShowKeyboardShortcuts(false);
147
+ },
148
+ children: "Remind me later"
149
+ }
150
+ ),
151
+ /* @__PURE__ */ jsx(
152
+ Button,
153
+ {
154
+ size: isSmallScreen ? "small" : "large",
155
+ onClick: () => {
156
+ setShowLandingPageScreen(false);
157
+ setShowTutorialModal(true);
158
+ },
159
+ children: "Try Now"
160
+ }
161
+ )
162
+ ] })
163
+ }
164
+ )
165
+ ] })
166
+ ] })
167
+ ] }),
168
+ showTutorialModal && /* @__PURE__ */ jsx(
169
+ TutorialModal,
170
+ {
171
+ setShowAllSetBoxState,
172
+ setShowTutorialModal,
173
+ onSkipClick
174
+ }
175
+ ),
176
+ showAllSetBoxState && /* @__PURE__ */ jsx(
177
+ AllSetBox,
178
+ {
179
+ setShowAllSetBoxState,
180
+ onCloseAllSetBox
181
+ }
182
+ )
183
+ ] }) : null });
184
+ };
185
+ export {
186
+ KeyboardShortcuts
187
+ };
@@ -0,0 +1,4 @@
1
+ export declare const Screen2: ({ videoSrc }: {
2
+ videoSrc: any;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=screen2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screen2.d.ts","sourceRoot":"","sources":["../../../src/components/KeyboardShortCuts/screen2.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,GAAI;;CAAY,4CAcnC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { KeyCombo } from "./Keycombo.js";
3
+ const Screen2 = ({ videoSrc }) => {
4
+ return /* @__PURE__ */ jsxs("div", { className: "screen2-container", children: [
5
+ videoSrc && /* @__PURE__ */ jsx("video", { autoPlay: true, loop: true, muted: true, playsInline: true, className: "screen-video", src: videoSrc }),
6
+ /* @__PURE__ */ jsx(
7
+ KeyCombo,
8
+ {
9
+ description: "Open & close filter",
10
+ firstSymbol: "⌥",
11
+ firstText: "option",
12
+ secondText: "F"
13
+ }
14
+ )
15
+ ] });
16
+ };
17
+ export {
18
+ Screen2
19
+ };
@@ -0,0 +1,4 @@
1
+ export declare const Screen3: ({ videoSrc }: {
2
+ videoSrc: any;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=screen3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screen3.d.ts","sourceRoot":"","sources":["../../../src/components/KeyboardShortCuts/screen3.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,GAAI;;CAAY,4CAcnC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { KeyCombo } from "./Keycombo.js";
3
+ const Screen3 = ({ videoSrc }) => {
4
+ return /* @__PURE__ */ jsxs("div", { className: "screen3-container", children: [
5
+ videoSrc && /* @__PURE__ */ jsx("video", { autoPlay: true, loop: true, muted: true, playsInline: true, className: "screen-video", src: videoSrc }),
6
+ /* @__PURE__ */ jsx(
7
+ KeyCombo,
8
+ {
9
+ description: "Open & close side navigation",
10
+ firstSymbol: "⌘",
11
+ firstText: "command",
12
+ secondText: "B"
13
+ }
14
+ )
15
+ ] });
16
+ };
17
+ export {
18
+ Screen3
19
+ };
@@ -0,0 +1,7 @@
1
+
2
+ export declare const TutorialModal: ({ setShowTutorialModal, setShowAllSetBoxState, onSkipClick }: {
3
+ setShowTutorialModal: any;
4
+ setShowAllSetBoxState: any;
5
+ onSkipClick: any;
6
+ }) => import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=tutorial.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tutorial.d.ts","sourceRoot":"","sources":["../../../src/components/KeyboardShortCuts/tutorial.tsx"],"names":[],"mappings":"AAaA,OAAO,iCAAiC,CAAC;AA+DzC,eAAO,MAAM,aAAa,GAAI;;;;CAA4D,4CA+GzF,CAAC"}
@@ -0,0 +1,161 @@
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900";*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}@keyframes shortcut-section-enter{0%{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes slide-in-from-right{0%{opacity:0;transform:translate(48px)}to{opacity:1;transform:translate(0)}}@keyframes slide-in-from-left{0%{opacity:0;transform:translate(-48px)}to{opacity:1;transform:translate(0)}}@keyframes dot-fill{0%{width:0}to{width:100%}}@keyframes shortcut-card-enter-1{0%{opacity:0;transform:translateY(20px) rotate(-8deg) scale(.98)}to{opacity:1;transform:translateY(0) rotate(-8deg) scale(1)}}@keyframes shortcut-card-enter-2{0%{opacity:0;transform:translateY(20px) rotate(4deg) scale(.98)}to{opacity:1;transform:translateY(0) rotate(4deg) scale(1)}}@keyframes shortcut-card-enter-3{0%{opacity:0;transform:translateY(20px) rotate(-1deg) scale(.98)}to{opacity:1;transform:translateY(0) rotate(-1deg) scale(1)}}.keyboard-shortcuts-container-wrapper{background-color:#fff;background-image:radial-gradient(circle,#f7f7f799 2px,#0000 0),radial-gradient(circle,#f7f7f799 2px,#0000 0);background-size:18px 18px;border-radius:12px;box-shadow:0 0 30px 6px #0000001a;left:50%;padding:40px;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:999999}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container{align-items:center;display:flex;flex-direction:column;gap:32px;height:100%;justify-content:space-between}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header{align-items:center;display:flex;flex-direction:column;gap:8px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription{align-items:center;display:flex;flex-direction:column;gap:4px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription .page-header-title{color:#0d152c;font-size:32px;font-weight:800;line-height:48px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription .page-header-description{color:#7a8294;font-size:16px;font-weight:600;line-height:24px;text-align:center;text-transform:capitalize;width:302px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section{align-items:center;display:flex;flex-direction:column;gap:8px;overflow:hidden}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .screen-slide{height:452px;will-change:opacity,transform}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .screen-slide--forward{animation:slide-in-from-right .38s cubic-bezier(.22,1,.36,1) both}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .screen-slide--backward{animation:slide-in-from-left .38s cubic-bezier(.22,1,.36,1) both}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .button-carousel-wrapper{align-items:center;display:flex;gap:10px;justify-content:center}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .button-carousel-wrapper .button{background-color:#d9dde7;border-radius:5px;cursor:pointer;flex-shrink:0;height:10px;overflow:hidden;position:relative;transition:width .3s cubic-bezier(.22,1,.36,1),background-color .2s;width:10px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .button-carousel-wrapper .button.active{background-color:#d9dde7;width:32px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .button-carousel-wrapper .button.active:after{animation:dot-fill var(--dot-duration,2s) linear forwards;background-color:#4259ee;border-radius:5px;content:"";height:100%;inset-block:0;left:0;position:absolute}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-footer .page-footer-buttons{align-items:center;display:flex;gap:12px}.keyboard-shortcuts-container-wrapper .screen2-container,.keyboard-shortcuts-container-wrapper .screen3-container{display:flex;flex-direction:column;gap:24px}.keyboard-shortcuts-container-wrapper .screen2-container .screen-video,.keyboard-shortcuts-container-wrapper .screen3-container .screen-video{height:295px;width:520px}.keyboard-shortcuts-container-wrapper .screen2-container .keycombo-container-wrapper,.keyboard-shortcuts-container-wrapper .screen3-container .keycombo-container-wrapper{align-items:center;display:flex;flex-direction:column;gap:20px;justify-content:center}.keyboard-shortcuts-container-wrapper .screen2-container .keycombo-container-wrapper .keycombo-container,.keyboard-shortcuts-container-wrapper .screen3-container .keycombo-container-wrapper .keycombo-container{align-items:center;background-color:#b3bdf8;border-radius:10px;display:flex;gap:8px;height:72px;justify-content:center;padding:8px}.keyboard-shortcuts-container-wrapper .screen2-container .keycombo-container-wrapper .keycombo-description,.keyboard-shortcuts-container-wrapper .screen3-container .keycombo-container-wrapper .keycombo-description{color:#60697d;font-size:16px;font-weight:800;line-height:24px;text-align:center}.shortcut-landing-page{align-items:center;border-radius:12px;box-shadow:0 0 30px 6px #0000001a;display:flex;flex-direction:column;height:600px;justify-content:space-between;padding:40px;position:relative;width:500px}.shortcut-landing-page-content{height:452px;margin:0 auto;max-width:100%;position:relative;width:520px}.shortcut-landing-page-content .shortcut-landing-page-content-item{align-items:flex-start;border-radius:12px;box-sizing:border-box;display:flex;flex-direction:column;gap:20px;height:160px;overflow:hidden;padding:24px;position:absolute;width:270px}.shortcut-landing-page-content .shortcut-landing-page-content-item .background-image{background:none;height:100px;left:122px;mix-blend-mode:plus-lighter;opacity:.2;pointer-events:none;position:absolute;top:69px;width:146px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header{align-items:center;display:flex;flex-shrink:0;justify-content:space-between;position:relative;width:100%;z-index:1}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-icon{align-items:center;background:#fff;border-radius:8px;display:flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-icon svg{display:block}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-panel .content-header-icon svg{color:#26ab1a;height:24px;width:24px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-panel .content-header-icon svg path{fill:currentColor}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-filter .content-header-icon svg{color:#ee42cc}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-filter .content-header-icon svg path{fill:currentColor}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-keyboard .content-header-icon svg{color:#4259ee}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header.header-keyboard .content-header-icon svg path{fill:currentColor}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-buttons{align-items:center;display:flex;gap:4px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-buttons-item{align-items:center;background:#fff;border-radius:4px;box-sizing:border-box;display:flex;justify-content:center;max-height:24px;min-height:24px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-buttons-item--modifier{border:1px solid #c3c8d4;padding:2px 10px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-buttons-item--letter{border:1px solid #d9dde7;padding:2px 12px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-buttons-item .content-header-buttons-item-text{color:#1f2b4d;font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:20px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-plus{align-items:center;display:flex;flex-shrink:0;height:16px;justify-content:center;width:16px}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-1{background:linear-gradient(180deg,#e8ffe7,#fff);border-left:1px solid #38d331;border-right:1px solid #38d331;border-top:1px solid #38d331;box-shadow:0 -10px 22px #38d33112;left:10px;top:18px;transform:rotate(-8deg);z-index:1}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-1 .background-image{transform:rotate(8deg)}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-2{background:linear-gradient(180deg,#ffeef4,#fff);border-left:1px solid #ee42cc;border-right:1px solid #ee42cc;border-top:1px solid #ee42cc;box-shadow:0 -10px 22px #ee42cc12;left:239.64px;top:141.78px;transform:rotate(4deg);z-index:2}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-2 .background-image{transform:rotate(9deg)}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-3{background:linear-gradient(180deg,#eef0ff,#fff);border-left:1px solid #4259ee;border-right:1px solid #4259ee;border-top:1px solid #4259ee;box-shadow:0 -24px 22px #4259ee12;left:1px;top:286.32px;transform:rotate(-1deg);z-index:3}.shortcut-landing-page-content .shortcut-landing-page-content-item.item-3 .background-image{transform:rotate(8deg)}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-content{display:flex;flex-direction:column;gap:6px;position:relative;width:100%;z-index:1}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-content .content-content-header-title{color:#0d152c;font-size:16px;font-weight:800;line-height:24px}.shortcut-landing-page-content .shortcut-landing-page-content-item .content-content .content-content-header-description{color:#7a8294;font-size:12px;font-weight:500;line-height:16px}.shortcut-landing-page-content.shortcut-landing-entrance .shortcut-landing-page-content-item.item-1{animation:shortcut-card-enter-1 .4s cubic-bezier(.22,1,.36,1) .2s both;will-change:opacity,transform}.shortcut-landing-page-content.shortcut-landing-entrance .shortcut-landing-page-content-item.item-2{animation:shortcut-card-enter-2 .4s cubic-bezier(.22,1,.36,1) .3s both;will-change:opacity,transform}.shortcut-landing-page-content.shortcut-landing-entrance .shortcut-landing-page-content-item.item-3{animation:shortcut-card-enter-3 .4s cubic-bezier(.22,1,.36,1) .4s both;will-change:opacity,transform}.tab-items{border-radius:8px}.tab-items,.tab-items .ia-tabContainer{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.tab-items .impact-tab-panel{flex:1;min-height:0;overflow-y:auto}.modal-overlay{-webkit-align-items:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;transition:opacity 225ms cubic-bezier(.4,0,.2,1)}.keyboard-shortcuts-overlay,.modal-overlay,.tutorial-overlay{background-color:#0d152ccc;bottom:0;left:0;position:fixed;right:0;top:0;-webkit-tap-highlight-color:transparent;opacity:1;z-index:9999}.keyboard-shortcuts-overlay,.tutorial-overlay{pointer-events:auto;transition:opacity .5s ease-in-out}.keyboard-shortcuts-overlay.overlay--hidden,.tutorial-overlay.overlay--hidden{opacity:0;pointer-events:none}.close-icon-container{align-items:center;background-color:#fff;border-radius:50%;box-shadow:0 0 4px #0000001f;cursor:pointer;display:flex;justify-content:center;padding:6px;position:absolute;right:12px;top:12px}.close-icon-container:focus-visible{box-shadow:0 0 4px #0000001f;outline:none}.close-icon-container svg{height:18px;width:18px}.modal-wrapper{border-radius:12px;box-shadow:0 0 18px 8px #0000000f;display:flex;flex-direction:column;left:50%;max-height:620px;min-height:400px;position:fixed;top:50%;transform:translate(-50%,-50%);width:800px;z-index:9999}.modal-wrapper .close-icon-container{right:-10px;top:-10px}.modal-wrapper .modal-content{background:linear-gradient(300deg,#4259ee -225%,#fff 30%);border-radius:12px 12px 0 0;display:flex;flex:1;flex-direction:column;gap:16px;margin-bottom:48px;min-height:0;overflow:hidden;padding:16px 16px 0}.modal-wrapper .modal-content .search-bar{height:36px}.modal-wrapper .modal-content .search-bar .impact-input-wrapper,.modal-wrapper .modal-content .search-bar .impact_inputbox_container_with_icons{height:100%;width:100%}.modal-wrapper .modal-content .tab-items .impact-tab-panel{margin-top:8px}.modal-wrapper .modal-content .list-container{display:flex;flex-direction:column;gap:8px}.modal-wrapper .modal-content .list-container .list-item{align-items:center;border-bottom:1px solid #eff2fa;display:flex;justify-content:space-between;padding:0 12px 8px}.modal-wrapper .modal-content .list-container .list-item .list-item-content{display:flex;flex-direction:column;gap:2px}.modal-wrapper .modal-content .list-container .list-item .list-item-content .list-item-title{color:#0d152c;font-size:14px;font-weight:500;line-height:21px;text-transform:capitalize}.modal-wrapper .modal-content .list-container .list-item .list-item-content .list-item-description{color:#7a8294;font-size:12px;font-weight:500;line-height:16px;text-transform:capitalize}.modal-wrapper .modal-content .list-container .list-item .list-item-keys{display:flex;gap:8px}.modal-wrapper .modal-footer{align-items:center;background-color:#fff;border-radius:0 0 8px 8px;border-top:1px solid #d9dde7;bottom:0;display:flex;height:48px;justify-content:flex-end;left:0;padding:12px 16px;position:absolute;right:0}.modal-wrapper .modal-footer .modal-footer-content-left{align-items:center;display:flex;gap:12px}.modal-wrapper .modal-footer .modal-footer-content-left .modal-footer-content-left-buttons{align-items:center;display:flex;gap:8px}.modal-wrapper .modal-footer .modal-footer-content-left .modal-footer-content-left-seperator{border:1px solid #d9dde7;height:16px;margin:4px;width:0}.modal-wrapper .modal-footer .modal-footer-content-left .modal-footer-content-left-text{color:#60697d;font-size:14px;font-weight:500;line-height:20px;text-transform:capitalize}.modal-wrapper .modal-footer .modal-footer-content-right{align-items:center;display:flex;gap:12px}.modal-wrapper .modal-footer .modal-footer-content-right-text{color:#60697d;cursor:pointer;font-size:14px;font-weight:500;line-height:20px}.keycap{align-items:center;background-color:#f8f9fb;border:1px solid #c3c8d4;border-radius:4px;cursor:pointer;display:flex;height:24px;justify-content:center;min-width:34px;padding:2px 10px}.keycap .keycap-label{color:#1f2b4d;font-family:Inter;font-size:14px;font-weight:500;line-height:20px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header.shortcut-landing-entrance-header{animation:shortcut-section-enter .4s cubic-bezier(.22,1,.36,1) 0s both;will-change:opacity,transform}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-footer.shortcut-landing-entrance-footer{animation:shortcut-section-enter .4s cubic-bezier(.22,1,.36,1) .6s both;will-change:opacity,transform}@media (prefers-reduced-motion:reduce){.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-footer.shortcut-landing-entrance-footer,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header.shortcut-landing-entrance-header,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen-slide{animation:none!important;opacity:1;transform:none}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .button.active:after{animation:none!important;width:100%}.shortcut-landing-page-content.shortcut-landing-entrance .shortcut-landing-page-content-item{animation:none!important;opacity:1}}.keys{align-items:center;display:flex;gap:8px}.keys .button-outer{background:#000;border-radius:5px;display:flex;height:55px;justify-content:flex-end;position:relative;width:80px}.keys .button-outer:before{bottom:0;left:2px;transform:rotate(-51.34deg);transform-origin:left center;width:9px}.keys .button-outer:after,.keys .button-outer:before{background:#fff;content:"";filter:blur(.5px);height:1px;position:absolute}.keys .button-outer:after{bottom:1px;right:1px;transform:rotate(79deg);transform-origin:right center;width:6px}.keys .button-outer .button-inner{align-items:flex-end;background:linear-gradient(180deg,#404040 10.91%,#222);border:1px solid #404040;border-radius:5px;display:flex;flex-direction:column;height:49px;justify-content:space-between;padding:8px;width:74px}.keys .button-outer .button-inner:before{background:#fff;content:"";filter:blur(.5px);height:5px;left:2px;position:absolute;top:1px;transform:rotate(-55.34deg);transform-origin:left top;width:1px}.keys .button-outer .button-inner .key-symbol,.keys .button-outer .button-inner .key-text{color:#fff;font-family:SF Compact;font-size:12px;font-weight:400;text-align:right}.keys .button-outer.single-key{height:55px;width:55px}.keys .button-outer.single-key .button-inner{align-items:center;height:49px;justify-content:center;width:49px}.keys .button-outer.single-key .key-text{font-size:27px;text-align:center}.keys.keycombo-section-buttons{align-items:center;display:flex;gap:8px}.tutorial-modal-wrapper{align-items:center;border:1px solid #4259eeb3;border-radius:12px;box-shadow:0 0 18px 8px #0000000f;display:flex;flex-direction:column;gap:16px;padding:12px;position:fixed;transition:all .8s ease-in-out;width:max-content;z-index:999999}.tutorial-modal-wrapper:before{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#4259ee0f;border-radius:12px;content:"";top:0;right:0;bottom:0;left:0;position:absolute;z-index:0}.tutorial-modal-wrapper.tutorial-modal--step-0{left:84px;top:8px}.tutorial-modal-wrapper.tutorial-modal--step-1{left:80px;top:calc(100% - 5px);transform:translateY(-100%)}.tutorial-modal-wrapper.tutorial-modal--step-2{left:calc(100% - 205px);top:73px;transform:translate(-100%)}.tutorial-modal-wrapper .tutorial-arrow--left-top{top:17px}.tutorial-modal-wrapper .tutorial-arrow--left,.tutorial-modal-wrapper .tutorial-arrow--left-top{border-bottom:10px solid #0000;border-right:17px solid #4259ee;border-top:10px solid #0000;left:-17px;position:absolute;z-index:1}.tutorial-modal-wrapper .tutorial-arrow--left{top:50%;transform:translateY(-50%)}.tutorial-modal-wrapper .tutorial-arrow--top-right{border-bottom:17px solid #4259ee;border-left:10px solid #0000;border-right:10px solid #0000;position:absolute;right:51px;top:-17px;z-index:1}.tutorial-modal-wrapper .top-section{align-items:center;background-color:#fff;border-radius:12px;box-shadow:0 0 18px 8px #0000000f;display:flex;gap:16px;padding:8px;position:relative;z-index:1}.tutorial-modal-wrapper .top-section .top-section-content{align-items:center;display:flex;gap:8px}.tutorial-modal-wrapper .top-section .top-section-content .loader{display:flex}.tutorial-modal-wrapper .top-section .top-section-content .loader .ia-loader-container{display:flex;flex-direction:row}.tutorial-modal-wrapper .top-section .top-section-content .loader .ia-loader-container .ia-loader-small{height:16px;width:16px}.tutorial-modal-wrapper .top-section .top-section-content .loader .ia-loader-container .ia-loader-small .ia-loader-inner{height:12px;width:12px}.tutorial-modal-wrapper .top-section .top-section-content .loader .lottie-iframe{height:16px;width:16px}.tutorial-modal-wrapper .top-section .top-section-content .top-section-text{color:#1f2b4d;font-size:14px;font-weight:700;line-height:21px;text-align:center;text-transform:capitalize}.tutorial-modal-wrapper .top-section .top-section-buttons{margin-left:auto}.tutorial-modal-wrapper .bottom-section{align-items:center;align-self:stretch;display:flex;justify-content:space-between;position:relative;z-index:1}.tutorial-modal-wrapper .bottom-section .bottom-section-text{color:#1f2b4d;cursor:pointer;font-size:14px;font-weight:700;line-height:21px;text-align:center;text-transform:capitalize}.tutorial-modal-wrapper .bottom-section .bottom-section-text:hover{color:#4259ee}.progress-bar,.tutorial-modal-wrapper .bottom-section .bottom-section-progress{align-items:center;display:flex}.progress-bar .progress-line{border-top:4px solid #c3c8d4;height:0;transition:border-color .3s ease;width:76px}.progress-bar .progress-line--active{border-color:#4259ee}.progress-bar .progress-step{align-items:center;background-color:#fff;border:1px solid #7a8294;border-radius:50%;color:#7a8294;display:flex;flex-shrink:0;font-size:12px;font-weight:600;height:20px;justify-content:center;transition:all .3s ease;width:20px}.progress-bar .progress-step svg{height:6px;width:7px}.progress-bar .progress-step--active{border-color:#4259ee;color:#4259ee}.progress-bar .progress-step--completed{background-color:#4259ee;border-color:#4259ee;color:#fff}.progress-bar .progress-step .step-number{color:#7a8294;font-size:14px;font-weight:500;line-height:20px;text-align:center}.progress-bar .progress-step .step-number--active{color:#4259ee}.all-set-box-wrapper{bottom:24px;left:50%;position:fixed;transform:translate(-50%)}.all-set-box-wrapper .close-icon-container{right:-10px;top:-10px;z-index:9}.all-set-box-wrapper .all-set-box-content{-webkit-backdrop-filter:blur(21px);backdrop-filter:blur(21px);background:linear-gradient(132deg,#3bb273 -250.62%,#3bb27300 66.76%);border:2px solid #3bb273;border-radius:12px;box-shadow:inset -5px -5px 250px #ffffff05;display:flex;flex-direction:column;gap:2px;padding:24px}.all-set-box-wrapper .all-set-box-content .all-set-box-content-title-container{align-items:center;display:flex;gap:2px;height:24px}.all-set-box-wrapper .all-set-box-content .all-set-box-content-title-container .all-set-box-content-title{color:#0d152c;font-size:16px;font-weight:800;line-height:24px}.all-set-box-wrapper .all-set-box-content .all-set-box-content-title-container .all-set-box-content-animation{height:36px;overflow:visible;transform:translate(-2px,-6px) scale(2);width:36px}.all-set-box-wrapper .all-set-box-content .all-set-box-content-description{color:#0d152c;font-size:14px;font-weight:500;line-height:20px}@media screen and (max-width:1512px){.keyboard-shortcuts-container-wrapper{padding:30px}.keyboard-shortcuts-container-wrapper .close-icon-container svg{height:14px;width:14px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container{gap:24px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section .screen-slide{height:339px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header{gap:4px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription{gap:2px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription .page-header-title{font-size:24px;line-height:36px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .page-header .page-header-title-discription .page-header-description{font-size:12px;line-height:18px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .middle-section{gap:6px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content{height:339px;width:390px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item{gap:16px;height:120px;padding:18px;width:202px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item.item-2{left:183px;top:106.33px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item.item-3{top:214.75px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item .content-header .content-header-icon{height:24px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item .content-content{gap:4px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item .content-content .content-content-header-title{font-size:12px;line-height:18px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .shortcut-landing-page-content .shortcut-landing-page-content-item .content-content .content-content-header-description{font-size:10px;line-height:14px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .screen-video,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .screen-video{height:222px;width:390px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper{gap:16px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-description,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-description{font-size:12px;line-height:18px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container{gap:6px;height:54px;padding:6px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys{gap:6px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer{height:40px;width:60px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer:before,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer:before{width:6px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer:after,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer:after{width:4px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner{height:36px;padding:6px;width:56px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner:before,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner:before{height:3px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner .key-symbol,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner .key-text,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner .key-symbol,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer .button-inner .key-text{font-size:9px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key{height:40px;width:40px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner{align-items:center;height:36px;justify-content:center;width:36px}.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner .key-symbol,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen2-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner .key-text,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner .key-symbol,.keyboard-shortcuts-container-wrapper .keyboard-shortcuts-container .screen3-container .keycombo-container-wrapper .keycombo-container .keys .button-outer.single-key .button-inner .key-text{font-size:20px}}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
3
+ import React__default, { useState, useRef, useEffect } from "react";
4
+ import { getAssetUrl } from "../../utils/assetBase.js";
5
+ import { ShortcutManager } from "../../utils/shortcuts/ShortcutManager.js";
6
+ import { Loader } from "../Loader/index.js";
7
+ import { Keys } from "./Keycombo.js";
8
+
9
+ import { useShortcut } from "../Shortcuts/useShortcut.js";
10
+ const CheckIcon = getAssetUrl("icons/checkbox-tick.svg");
11
+ const tutorialSteps = [
12
+ {
13
+ text: "Open & Close Side Navigation by Pressing",
14
+ firstSymbol: "⌘",
15
+ firstText: "command",
16
+ secondText: "B",
17
+ arrowPosition: "left-top"
18
+ },
19
+ {
20
+ text: "Open Keyboard Settings By Pressing",
21
+ firstSymbol: "⌥",
22
+ firstText: "option",
23
+ secondText: "K",
24
+ arrowPosition: "left"
25
+ },
26
+ {
27
+ text: "Open Keyboard Shortcut Panel By Pressing",
28
+ firstSymbol: "⌘",
29
+ firstText: "command",
30
+ secondText: "K",
31
+ arrowPosition: "top-right"
32
+ }
33
+ ];
34
+ const ProgressBar = ({ currentStep, totalSteps }) => {
35
+ return /* @__PURE__ */ jsx("div", { className: "progress-bar", children: Array.from({ length: totalSteps }, (_, index) => {
36
+ const stepNum = index + 1;
37
+ const isCompleted = index < currentStep;
38
+ const isActive = index === currentStep;
39
+ return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
40
+ index > 0 && /* @__PURE__ */ jsx(
41
+ "div",
42
+ {
43
+ className: `progress-line ${index <= currentStep ? "progress-line--active" : ""}`
44
+ }
45
+ ),
46
+ /* @__PURE__ */ jsx(
47
+ "div",
48
+ {
49
+ className: `progress-step ${isCompleted ? "progress-step--completed" : ""} ${isActive ? "progress-step--active" : ""}`,
50
+ children: isCompleted ? /* @__PURE__ */ jsx("img", { alt: "", src: CheckIcon }) : /* @__PURE__ */ jsx("span", { className: "step-number " + (isActive ? "step-number--active" : ""), children: stepNum })
51
+ }
52
+ )
53
+ ] }, index);
54
+ }) });
55
+ };
56
+ const TutorialModal = ({ setShowTutorialModal, setShowAllSetBoxState, onSkipClick }) => {
57
+ const totalSteps = tutorialSteps.length;
58
+ const [tutorialStep, setTutorialStep] = useState(0);
59
+ const step = tutorialSteps[tutorialStep];
60
+ const [showLottie, setShowLottie] = useState(false);
61
+ const [showOverlay, setShowOverlay] = useState(true);
62
+ const overlayTimerRef = useRef(null);
63
+ const handleSkip = () => {
64
+ setShowTutorialModal(false);
65
+ onSkipClick == null ? void 0 : onSkipClick();
66
+ };
67
+ useEffect(() => {
68
+ overlayTimerRef.current = setTimeout(() => {
69
+ setShowOverlay(false);
70
+ }, 1500);
71
+ return () => {
72
+ clearTimeout(overlayTimerRef.current);
73
+ };
74
+ }, []);
75
+ useShortcut(
76
+ "mod+b",
77
+ (e) => {
78
+ ShortcutManager.getInstance().trigger("sidebar-toggle-mod-b", e);
79
+ if (tutorialStep === 0) {
80
+ setShowLottie(true);
81
+ }
82
+ setTimeout(() => {
83
+ setTutorialStep(1);
84
+ setShowLottie(false);
85
+ clearTimeout(overlayTimerRef.current);
86
+ setShowOverlay(true);
87
+ overlayTimerRef.current = setTimeout(() => {
88
+ setShowOverlay(false);
89
+ }, 1500);
90
+ }, 1500);
91
+ },
92
+ {
93
+ id: "tutorial-step-0-mod-b",
94
+ priority: 2
95
+ }
96
+ );
97
+ useShortcut("alt+k", () => {
98
+ if (tutorialStep === 1) {
99
+ setShowLottie(true);
100
+ }
101
+ setTimeout(() => {
102
+ setTutorialStep(2);
103
+ setShowLottie(false);
104
+ }, 1500);
105
+ });
106
+ useShortcut("mod+k", () => {
107
+ if (tutorialStep === 2) {
108
+ setShowLottie(true);
109
+ }
110
+ setTimeout(() => {
111
+ setShowLottie(false);
112
+ setShowTutorialModal(false);
113
+ setShowAllSetBoxState(true);
114
+ }, 1500);
115
+ });
116
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
117
+ /* @__PURE__ */ jsx(
118
+ "div",
119
+ {
120
+ "aria-hidden": "true",
121
+ className: `tutorial-overlay${showOverlay ? "" : " overlay--hidden"}`
122
+ }
123
+ ),
124
+ /* @__PURE__ */ jsxs(
125
+ "div",
126
+ {
127
+ className: `tutorial-modal-wrapper tutorial-modal--step-${tutorialStep} tutorial-modal--arrow-${step.arrowPosition}`,
128
+ children: [
129
+ /* @__PURE__ */ jsx("div", { className: `tutorial-arrow tutorial-arrow--${step.arrowPosition}` }),
130
+ /* @__PURE__ */ jsxs("div", { className: "top-section", role: "button", tabIndex: 0, children: [
131
+ /* @__PURE__ */ jsxs("div", { className: "top-section-content", children: [
132
+ /* @__PURE__ */ jsx("span", { className: "loader", children: showLottie ? /* @__PURE__ */ jsx(
133
+ "iframe",
134
+ {
135
+ className: "lottie-iframe",
136
+ src: "https://lottie.host/embed/bd7243cb-3821-46da-bbaa-56edfb4b2056/Z74goW01Yw.lottie"
137
+ }
138
+ ) : /* @__PURE__ */ jsx(Loader, { size: "small", text: "" }) }),
139
+ /* @__PURE__ */ jsx("span", { className: "top-section-text", children: step.text })
140
+ ] }),
141
+ /* @__PURE__ */ jsx("div", { className: "top-section-buttons", children: /* @__PURE__ */ jsx(
142
+ Keys,
143
+ {
144
+ firstSymbol: step.firstSymbol,
145
+ firstText: step.firstText,
146
+ secondText: step.secondText
147
+ }
148
+ ) })
149
+ ] }),
150
+ /* @__PURE__ */ jsxs("div", { className: "bottom-section", children: [
151
+ /* @__PURE__ */ jsx("span", { className: "bottom-section-text", role: "button", tabIndex: 0, onClick: handleSkip, children: "Skip" }),
152
+ /* @__PURE__ */ jsx("div", { className: "bottom-section-progress", children: /* @__PURE__ */ jsx(ProgressBar, { currentStep: tutorialStep, totalSteps }) })
153
+ ] })
154
+ ]
155
+ }
156
+ )
157
+ ] });
158
+ };
159
+ export {
160
+ TutorialModal
161
+ };
@@ -0,0 +1,10 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import { YearSelect } from "../YearSelect/index.js";
4
+ const DefaultYearSelect = forwardRef(
5
+ (props, ref) => /* @__PURE__ */ jsx(YearSelect, { ...props, ref })
6
+ );
7
+ DefaultYearSelect.displayName = "DefaultYearSelect";
8
+ export {
9
+ DefaultYearSelect
10
+ };
@@ -0,0 +1,4 @@
1
+ const MONTHS_NUMBER = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
2
+ export {
3
+ MONTHS_NUMBER
4
+ };