@cuemath/web-utils 1.2.36 → 2.0.0-beta.0

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 (308) hide show
  1. package/README.md +334 -1
  2. package/dist/browser.d.mts +15 -0
  3. package/dist/browser.d.ts +15 -0
  4. package/dist/browser.js +2 -0
  5. package/dist/browser.js.map +1 -0
  6. package/dist/browser.mjs +2 -0
  7. package/dist/browser.mjs.map +1 -0
  8. package/dist/chunk-5X4UT2UI.js +3 -0
  9. package/dist/chunk-5X4UT2UI.js.map +1 -0
  10. package/dist/chunk-CVZIO6BX.mjs +4 -0
  11. package/dist/chunk-CVZIO6BX.mjs.map +1 -0
  12. package/dist/chunk-LUUB665J.mjs +3 -0
  13. package/dist/chunk-LUUB665J.mjs.map +1 -0
  14. package/dist/chunk-OBXSX4MO.js +3 -0
  15. package/dist/chunk-OBXSX4MO.js.map +1 -0
  16. package/dist/chunk-SMWXEBQ2.js +4 -0
  17. package/dist/chunk-SMWXEBQ2.js.map +1 -0
  18. package/dist/chunk-TG7DRTM7.mjs +3 -0
  19. package/dist/chunk-TG7DRTM7.mjs.map +1 -0
  20. package/dist/cloudfront-DRTOCXPV.d.mts +758 -0
  21. package/dist/cloudfront-DRTOCXPV.d.ts +758 -0
  22. package/dist/cloudfront.d.mts +2 -0
  23. package/dist/cloudfront.d.ts +2 -0
  24. package/dist/cloudfront.js +2 -0
  25. package/dist/cloudfront.js.map +1 -0
  26. package/dist/cloudfront.mjs +2 -0
  27. package/dist/cloudfront.mjs.map +1 -0
  28. package/dist/data-props-RvZdA60G.d.mts +157 -0
  29. package/dist/data-props-RvZdA60G.d.ts +157 -0
  30. package/dist/date-time-helper/timezone.d.mts +61 -0
  31. package/dist/date-time-helper/timezone.d.ts +61 -0
  32. package/dist/date-time-helper/timezone.js +2 -0
  33. package/dist/date-time-helper/timezone.js.map +1 -0
  34. package/dist/date-time-helper/timezone.mjs +2 -0
  35. package/dist/date-time-helper/timezone.mjs.map +1 -0
  36. package/dist/{cjs/constants/teacher/index.d.ts → index.d.mts} +63 -1
  37. package/dist/{esm/constants/teacher/index.d.ts → index.d.ts} +63 -1
  38. package/dist/index.js +4 -0
  39. package/dist/index.js.map +1 -0
  40. package/dist/index.mjs +4 -0
  41. package/dist/index.mjs.map +1 -0
  42. package/dist/metafile-cjs.json +1 -0
  43. package/dist/metafile-esm.json +1 -0
  44. package/package.json +45 -14
  45. package/dist/cjs/ab-experiment/constants/index.d.ts +0 -64
  46. package/dist/cjs/ab-experiment/constants/index.js +0 -68
  47. package/dist/cjs/ab-experiment/constants/index.js.map +0 -1
  48. package/dist/cjs/ab-experiment/index.d.ts +0 -2
  49. package/dist/cjs/ab-experiment/index.js +0 -15
  50. package/dist/cjs/ab-experiment/index.js.map +0 -1
  51. package/dist/cjs/ab-experiment/utils/ab-variant.d.ts +0 -13
  52. package/dist/cjs/ab-experiment/utils/ab-variant.js +0 -125
  53. package/dist/cjs/ab-experiment/utils/ab-variant.js.map +0 -1
  54. package/dist/cjs/ab-experiment/utils/experiments.d.ts +0 -21
  55. package/dist/cjs/ab-experiment/utils/experiments.js +0 -101
  56. package/dist/cjs/ab-experiment/utils/experiments.js.map +0 -1
  57. package/dist/cjs/analytics/attributes.d.ts +0 -10
  58. package/dist/cjs/analytics/attributes.js +0 -33
  59. package/dist/cjs/analytics/attributes.js.map +0 -1
  60. package/dist/cjs/analytics/data-props.d.ts +0 -3
  61. package/dist/cjs/analytics/data-props.js +0 -20
  62. package/dist/cjs/analytics/data-props.js.map +0 -1
  63. package/dist/cjs/analytics/index.d.ts +0 -2
  64. package/dist/cjs/analytics/index.js +0 -19
  65. package/dist/cjs/analytics/index.js.map +0 -1
  66. package/dist/cjs/constants/analytics/index.d.ts +0 -8
  67. package/dist/cjs/constants/analytics/index.js +0 -12
  68. package/dist/cjs/constants/analytics/index.js.map +0 -1
  69. package/dist/cjs/constants/country/country-code-map.d.ts +0 -9
  70. package/dist/cjs/constants/country/country-code-map.js +0 -997
  71. package/dist/cjs/constants/country/country-code-map.js.map +0 -1
  72. package/dist/cjs/constants/country/country-region-map.d.ts +0 -12
  73. package/dist/cjs/constants/country/country-region-map.js +0 -202
  74. package/dist/cjs/constants/country/country-region-map.js.map +0 -1
  75. package/dist/cjs/constants/country/index.d.ts +0 -5
  76. package/dist/cjs/constants/country/index.js +0 -24
  77. package/dist/cjs/constants/country/index.js.map +0 -1
  78. package/dist/cjs/constants/country/iso-country-code.d.ts +0 -248
  79. package/dist/cjs/constants/country/iso-country-code.js +0 -252
  80. package/dist/cjs/constants/country/iso-country-code.js.map +0 -1
  81. package/dist/cjs/constants/country/region.d.ts +0 -10
  82. package/dist/cjs/constants/country/region.js +0 -14
  83. package/dist/cjs/constants/country/region.js.map +0 -1
  84. package/dist/cjs/constants/country/states.d.ts +0 -8
  85. package/dist/cjs/constants/country/states.js +0 -103
  86. package/dist/cjs/constants/country/states.js.map +0 -1
  87. package/dist/cjs/constants/currency-symbols/index.d.ts +0 -175
  88. package/dist/cjs/constants/currency-symbols/index.js +0 -179
  89. package/dist/cjs/constants/currency-symbols/index.js.map +0 -1
  90. package/dist/cjs/constants/date-time/index.d.ts +0 -18
  91. package/dist/cjs/constants/date-time/index.js +0 -44
  92. package/dist/cjs/constants/date-time/index.js.map +0 -1
  93. package/dist/cjs/constants/date-time/international-timezones.d.ts +0 -7
  94. package/dist/cjs/constants/date-time/international-timezones.js +0 -160
  95. package/dist/cjs/constants/date-time/international-timezones.js.map +0 -1
  96. package/dist/cjs/constants/index.d.ts +0 -5
  97. package/dist/cjs/constants/index.js +0 -22
  98. package/dist/cjs/constants/index.js.map +0 -1
  99. package/dist/cjs/constants/instrumentation/index.d.ts +0 -5
  100. package/dist/cjs/constants/instrumentation/index.js +0 -9
  101. package/dist/cjs/constants/instrumentation/index.js.map +0 -1
  102. package/dist/cjs/constants/teacher/index.js +0 -277
  103. package/dist/cjs/constants/teacher/index.js.map +0 -1
  104. package/dist/cjs/cookie/index.d.ts +0 -4
  105. package/dist/cjs/cookie/index.js +0 -46
  106. package/dist/cjs/cookie/index.js.map +0 -1
  107. package/dist/cjs/country-code/index.d.ts +0 -8
  108. package/dist/cjs/country-code/index.js +0 -23
  109. package/dist/cjs/country-code/index.js.map +0 -1
  110. package/dist/cjs/data/utm-source.json +0 -54
  111. package/dist/cjs/date-time-helper/index.d.ts +0 -30
  112. package/dist/cjs/date-time-helper/index.js +0 -107
  113. package/dist/cjs/date-time-helper/index.js.map +0 -1
  114. package/dist/cjs/e-cna/index.d.ts +0 -4
  115. package/dist/cjs/e-cna/index.js +0 -22
  116. package/dist/cjs/e-cna/index.js.map +0 -1
  117. package/dist/cjs/growth-source/index.d.ts +0 -21
  118. package/dist/cjs/growth-source/index.js +0 -235
  119. package/dist/cjs/growth-source/index.js.map +0 -1
  120. package/dist/cjs/growth-source/scripts/source-channel.d.ts +0 -1
  121. package/dist/cjs/growth-source/scripts/source-channel.js +0 -44
  122. package/dist/cjs/growth-source/scripts/source-channel.js.map +0 -1
  123. package/dist/cjs/growth-source/types.d.ts +0 -75
  124. package/dist/cjs/growth-source/types.js +0 -3
  125. package/dist/cjs/growth-source/types.js.map +0 -1
  126. package/dist/cjs/index.d.ts +0 -17
  127. package/dist/cjs/index.js +0 -35
  128. package/dist/cjs/index.js.map +0 -1
  129. package/dist/cjs/last-landing-page/index.d.ts +0 -5
  130. package/dist/cjs/last-landing-page/index.js +0 -34
  131. package/dist/cjs/last-landing-page/index.js.map +0 -1
  132. package/dist/cjs/local-storage/index.d.ts +0 -13
  133. package/dist/cjs/local-storage/index.js +0 -173
  134. package/dist/cjs/local-storage/index.js.map +0 -1
  135. package/dist/cjs/object/index.d.ts +0 -2
  136. package/dist/cjs/object/index.js +0 -24
  137. package/dist/cjs/object/index.js.map +0 -1
  138. package/dist/cjs/script/index.d.ts +0 -1
  139. package/dist/cjs/script/index.js +0 -14
  140. package/dist/cjs/script/index.js.map +0 -1
  141. package/dist/cjs/url/index.d.ts +0 -3
  142. package/dist/cjs/url/index.js +0 -10
  143. package/dist/cjs/url/index.js.map +0 -1
  144. package/dist/cjs/url-parser/index.d.ts +0 -3
  145. package/dist/cjs/url-parser/index.js +0 -13
  146. package/dist/cjs/url-parser/index.js.map +0 -1
  147. package/dist/cjs/utils/env-mode.d.ts +0 -5
  148. package/dist/cjs/utils/env-mode.js +0 -9
  149. package/dist/cjs/utils/env-mode.js.map +0 -1
  150. package/dist/cjs/utils/index.d.ts +0 -2
  151. package/dist/cjs/utils/index.js +0 -19
  152. package/dist/cjs/utils/index.js.map +0 -1
  153. package/dist/cjs/utils/server.d.ts +0 -1
  154. package/dist/cjs/utils/server.js +0 -5
  155. package/dist/cjs/utils/server.js.map +0 -1
  156. package/dist/cjs/validations/form-validations.d.ts +0 -12
  157. package/dist/cjs/validations/form-validations.js +0 -47
  158. package/dist/cjs/validations/form-validations.js.map +0 -1
  159. package/dist/cjs/validations/index.d.ts +0 -1
  160. package/dist/cjs/validations/index.js +0 -18
  161. package/dist/cjs/validations/index.js.map +0 -1
  162. package/dist/cjs/website-category/constants/index.d.ts +0 -117
  163. package/dist/cjs/website-category/constants/index.js +0 -232
  164. package/dist/cjs/website-category/constants/index.js.map +0 -1
  165. package/dist/cjs/website-category/constants/instrumentation.d.ts +0 -178
  166. package/dist/cjs/website-category/constants/instrumentation.js +0 -182
  167. package/dist/cjs/website-category/constants/instrumentation.js.map +0 -1
  168. package/dist/cjs/website-category/index.d.ts +0 -3
  169. package/dist/cjs/website-category/index.js +0 -14
  170. package/dist/cjs/website-category/index.js.map +0 -1
  171. package/dist/cjs/website-category/utils/index.d.ts +0 -1
  172. package/dist/cjs/website-category/utils/index.js +0 -10
  173. package/dist/cjs/website-category/utils/index.js.map +0 -1
  174. package/dist/cjs/website-category/utils/instrumentation.d.ts +0 -8
  175. package/dist/cjs/website-category/utils/instrumentation.js +0 -70
  176. package/dist/cjs/website-category/utils/instrumentation.js.map +0 -1
  177. package/dist/esm/ab-experiment/constants/index.d.ts +0 -64
  178. package/dist/esm/ab-experiment/constants/index.js +0 -65
  179. package/dist/esm/ab-experiment/constants/index.js.map +0 -1
  180. package/dist/esm/ab-experiment/index.d.ts +0 -2
  181. package/dist/esm/ab-experiment/index.js +0 -3
  182. package/dist/esm/ab-experiment/index.js.map +0 -1
  183. package/dist/esm/ab-experiment/utils/ab-variant.d.ts +0 -13
  184. package/dist/esm/ab-experiment/utils/ab-variant.js +0 -117
  185. package/dist/esm/ab-experiment/utils/ab-variant.js.map +0 -1
  186. package/dist/esm/ab-experiment/utils/experiments.d.ts +0 -21
  187. package/dist/esm/ab-experiment/utils/experiments.js +0 -98
  188. package/dist/esm/ab-experiment/utils/experiments.js.map +0 -1
  189. package/dist/esm/analytics/attributes.d.ts +0 -10
  190. package/dist/esm/analytics/attributes.js +0 -29
  191. package/dist/esm/analytics/attributes.js.map +0 -1
  192. package/dist/esm/analytics/data-props.d.ts +0 -3
  193. package/dist/esm/analytics/data-props.js +0 -17
  194. package/dist/esm/analytics/data-props.js.map +0 -1
  195. package/dist/esm/analytics/index.d.ts +0 -2
  196. package/dist/esm/analytics/index.js +0 -3
  197. package/dist/esm/analytics/index.js.map +0 -1
  198. package/dist/esm/constants/analytics/index.d.ts +0 -8
  199. package/dist/esm/constants/analytics/index.js +0 -9
  200. package/dist/esm/constants/analytics/index.js.map +0 -1
  201. package/dist/esm/constants/country/country-code-map.d.ts +0 -9
  202. package/dist/esm/constants/country/country-code-map.js +0 -994
  203. package/dist/esm/constants/country/country-code-map.js.map +0 -1
  204. package/dist/esm/constants/country/country-region-map.d.ts +0 -12
  205. package/dist/esm/constants/country/country-region-map.js +0 -199
  206. package/dist/esm/constants/country/country-region-map.js.map +0 -1
  207. package/dist/esm/constants/country/index.d.ts +0 -5
  208. package/dist/esm/constants/country/index.js +0 -6
  209. package/dist/esm/constants/country/index.js.map +0 -1
  210. package/dist/esm/constants/country/iso-country-code.d.ts +0 -248
  211. package/dist/esm/constants/country/iso-country-code.js +0 -249
  212. package/dist/esm/constants/country/iso-country-code.js.map +0 -1
  213. package/dist/esm/constants/country/region.d.ts +0 -10
  214. package/dist/esm/constants/country/region.js +0 -11
  215. package/dist/esm/constants/country/region.js.map +0 -1
  216. package/dist/esm/constants/country/states.d.ts +0 -8
  217. package/dist/esm/constants/country/states.js +0 -100
  218. package/dist/esm/constants/country/states.js.map +0 -1
  219. package/dist/esm/constants/currency-symbols/index.d.ts +0 -175
  220. package/dist/esm/constants/currency-symbols/index.js +0 -176
  221. package/dist/esm/constants/currency-symbols/index.js.map +0 -1
  222. package/dist/esm/constants/date-time/index.d.ts +0 -18
  223. package/dist/esm/constants/date-time/index.js +0 -40
  224. package/dist/esm/constants/date-time/index.js.map +0 -1
  225. package/dist/esm/constants/date-time/international-timezones.d.ts +0 -7
  226. package/dist/esm/constants/date-time/international-timezones.js +0 -153
  227. package/dist/esm/constants/date-time/international-timezones.js.map +0 -1
  228. package/dist/esm/constants/index.d.ts +0 -5
  229. package/dist/esm/constants/index.js +0 -6
  230. package/dist/esm/constants/index.js.map +0 -1
  231. package/dist/esm/constants/instrumentation/index.d.ts +0 -5
  232. package/dist/esm/constants/instrumentation/index.js +0 -6
  233. package/dist/esm/constants/instrumentation/index.js.map +0 -1
  234. package/dist/esm/constants/teacher/index.js +0 -273
  235. package/dist/esm/constants/teacher/index.js.map +0 -1
  236. package/dist/esm/cookie/index.d.ts +0 -4
  237. package/dist/esm/cookie/index.js +0 -39
  238. package/dist/esm/cookie/index.js.map +0 -1
  239. package/dist/esm/country-code/index.d.ts +0 -8
  240. package/dist/esm/country-code/index.js +0 -19
  241. package/dist/esm/country-code/index.js.map +0 -1
  242. package/dist/esm/data/utm-source.json +0 -54
  243. package/dist/esm/date-time-helper/index.d.ts +0 -30
  244. package/dist/esm/date-time-helper/index.js +0 -87
  245. package/dist/esm/date-time-helper/index.js.map +0 -1
  246. package/dist/esm/e-cna/index.d.ts +0 -4
  247. package/dist/esm/e-cna/index.js +0 -18
  248. package/dist/esm/e-cna/index.js.map +0 -1
  249. package/dist/esm/growth-source/index.d.ts +0 -21
  250. package/dist/esm/growth-source/index.js +0 -194
  251. package/dist/esm/growth-source/index.js.map +0 -1
  252. package/dist/esm/growth-source/scripts/source-channel.d.ts +0 -1
  253. package/dist/esm/growth-source/scripts/source-channel.js +0 -44
  254. package/dist/esm/growth-source/scripts/source-channel.js.map +0 -1
  255. package/dist/esm/growth-source/types.d.ts +0 -75
  256. package/dist/esm/growth-source/types.js +0 -2
  257. package/dist/esm/growth-source/types.js.map +0 -1
  258. package/dist/esm/index.d.ts +0 -17
  259. package/dist/esm/index.js +0 -19
  260. package/dist/esm/index.js.map +0 -1
  261. package/dist/esm/last-landing-page/index.d.ts +0 -5
  262. package/dist/esm/last-landing-page/index.js +0 -31
  263. package/dist/esm/last-landing-page/index.js.map +0 -1
  264. package/dist/esm/local-storage/index.d.ts +0 -13
  265. package/dist/esm/local-storage/index.js +0 -162
  266. package/dist/esm/local-storage/index.js.map +0 -1
  267. package/dist/esm/object/index.d.ts +0 -2
  268. package/dist/esm/object/index.js +0 -19
  269. package/dist/esm/object/index.js.map +0 -1
  270. package/dist/esm/script/index.d.ts +0 -1
  271. package/dist/esm/script/index.js +0 -10
  272. package/dist/esm/script/index.js.map +0 -1
  273. package/dist/esm/url/index.d.ts +0 -3
  274. package/dist/esm/url/index.js +0 -6
  275. package/dist/esm/url/index.js.map +0 -1
  276. package/dist/esm/url-parser/index.d.ts +0 -3
  277. package/dist/esm/url-parser/index.js +0 -7
  278. package/dist/esm/url-parser/index.js.map +0 -1
  279. package/dist/esm/utils/env-mode.d.ts +0 -5
  280. package/dist/esm/utils/env-mode.js +0 -6
  281. package/dist/esm/utils/env-mode.js.map +0 -1
  282. package/dist/esm/utils/index.d.ts +0 -2
  283. package/dist/esm/utils/index.js +0 -3
  284. package/dist/esm/utils/index.js.map +0 -1
  285. package/dist/esm/utils/server.d.ts +0 -1
  286. package/dist/esm/utils/server.js +0 -2
  287. package/dist/esm/utils/server.js.map +0 -1
  288. package/dist/esm/validations/form-validations.d.ts +0 -12
  289. package/dist/esm/validations/form-validations.js +0 -43
  290. package/dist/esm/validations/form-validations.js.map +0 -1
  291. package/dist/esm/validations/index.d.ts +0 -1
  292. package/dist/esm/validations/index.js +0 -2
  293. package/dist/esm/validations/index.js.map +0 -1
  294. package/dist/esm/website-category/constants/index.d.ts +0 -117
  295. package/dist/esm/website-category/constants/index.js +0 -229
  296. package/dist/esm/website-category/constants/index.js.map +0 -1
  297. package/dist/esm/website-category/constants/instrumentation.d.ts +0 -178
  298. package/dist/esm/website-category/constants/instrumentation.js +0 -179
  299. package/dist/esm/website-category/constants/instrumentation.js.map +0 -1
  300. package/dist/esm/website-category/index.d.ts +0 -3
  301. package/dist/esm/website-category/index.js +0 -4
  302. package/dist/esm/website-category/index.js.map +0 -1
  303. package/dist/esm/website-category/utils/index.d.ts +0 -1
  304. package/dist/esm/website-category/utils/index.js +0 -6
  305. package/dist/esm/website-category/utils/index.js.map +0 -1
  306. package/dist/esm/website-category/utils/instrumentation.d.ts +0 -8
  307. package/dist/esm/website-category/utils/instrumentation.js +0 -63
  308. package/dist/esm/website-category/utils/instrumentation.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ export { A as AB_IDENTIFIER_KEY, B as BRAND_PAGES, o as CURRENCY_SYMBOL_MAP, E as EXPERIMENT_KEYS, I as INTENT_PAGES, C as ISO_COUNTRY_CODE, R as REFERRAL_PAGES, n as REGION, S as SUPPLY_PAGES, V as VARIANTS, k as checkContentPage, J as checkValidation, H as convertSecondsToMiliseconds, w as convertTimeStampToSeconds, v as dateByTimestamp, t as formatDateTime, x as formatTimestamp, f as getABExperimentCacheKey, O as getABVariantFromCookies, u as getCurrentTimestamp, G as getDateAfterDays, F as getISOTimeString, q as getLastLandingPage, l as getSubRevenueChannel, z as getTimeDiff, K as isEmpty, m as isSEO, L as nestedMapsAreEqual, M as parseCloudFrontCookies, p as parseCookieString, h as removeHrefLangFromPath, i as removeQueryStringFromPath, j as removeTrailingSlashFromPath, y as timeToX } from './cloudfront-DRTOCXPV.mjs';
2
+ import 'dayjs';
@@ -0,0 +1,2 @@
1
+ export { A as AB_IDENTIFIER_KEY, B as BRAND_PAGES, o as CURRENCY_SYMBOL_MAP, E as EXPERIMENT_KEYS, I as INTENT_PAGES, C as ISO_COUNTRY_CODE, R as REFERRAL_PAGES, n as REGION, S as SUPPLY_PAGES, V as VARIANTS, k as checkContentPage, J as checkValidation, H as convertSecondsToMiliseconds, w as convertTimeStampToSeconds, v as dateByTimestamp, t as formatDateTime, x as formatTimestamp, f as getABExperimentCacheKey, O as getABVariantFromCookies, u as getCurrentTimestamp, G as getDateAfterDays, F as getISOTimeString, q as getLastLandingPage, l as getSubRevenueChannel, z as getTimeDiff, K as isEmpty, m as isSEO, L as nestedMapsAreEqual, M as parseCloudFrontCookies, p as parseCookieString, h as removeHrefLangFromPath, i as removeQueryStringFromPath, j as removeTrailingSlashFromPath, y as timeToX } from './cloudfront-DRTOCXPV.js';
2
+ import 'dayjs';
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkSMWXEBQ2_js=require('./chunk-SMWXEBQ2.js');Object.defineProperty(exports,"AB_IDENTIFIER_KEY",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.X}});Object.defineProperty(exports,"BRAND_PAGES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.O}});Object.defineProperty(exports,"CURRENCY_SYMBOL_MAP",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.x}});Object.defineProperty(exports,"EXPERIMENT_KEYS",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.V}});Object.defineProperty(exports,"INTENT_PAGES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.P}});Object.defineProperty(exports,"ISO_COUNTRY_CODE",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.g}});Object.defineProperty(exports,"REFERRAL_PAGES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.R}});Object.defineProperty(exports,"REGION",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.t}});Object.defineProperty(exports,"SUPPLY_PAGES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.Q}});Object.defineProperty(exports,"VARIANTS",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.W}});Object.defineProperty(exports,"checkContentPage",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.U}});Object.defineProperty(exports,"checkValidation",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.N}});Object.defineProperty(exports,"convertSecondsToMiliseconds",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.H}});Object.defineProperty(exports,"convertTimeStampToSeconds",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.B}});Object.defineProperty(exports,"dateByTimestamp",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.A}});Object.defineProperty(exports,"formatDateTime",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.y}});Object.defineProperty(exports,"formatTimestamp",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.C}});Object.defineProperty(exports,"getABExperimentCacheKey",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.ca}});Object.defineProperty(exports,"getABVariantFromCookies",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.Z}});Object.defineProperty(exports,"getCurrentTimestamp",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.z}});Object.defineProperty(exports,"getDateAfterDays",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.G}});Object.defineProperty(exports,"getISOTimeString",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.F}});Object.defineProperty(exports,"getLastLandingPage",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.da}});Object.defineProperty(exports,"getSubRevenueChannel",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.T}});Object.defineProperty(exports,"getTimeDiff",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.E}});Object.defineProperty(exports,"isEmpty",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.I}});Object.defineProperty(exports,"isSEO",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.S}});Object.defineProperty(exports,"nestedMapsAreEqual",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.J}});Object.defineProperty(exports,"parseCloudFrontCookies",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.b}});Object.defineProperty(exports,"parseCookieString",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.a}});Object.defineProperty(exports,"removeHrefLangFromPath",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.L}});Object.defineProperty(exports,"removeQueryStringFromPath",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.K}});Object.defineProperty(exports,"removeTrailingSlashFromPath",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.M}});Object.defineProperty(exports,"timeToX",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.D}});//# sourceMappingURL=cloudfront.js.map
2
+ //# sourceMappingURL=cloudfront.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"cloudfront.js"}
@@ -0,0 +1,2 @@
1
+ export{X as AB_IDENTIFIER_KEY,O as BRAND_PAGES,x as CURRENCY_SYMBOL_MAP,V as EXPERIMENT_KEYS,P as INTENT_PAGES,g as ISO_COUNTRY_CODE,R as REFERRAL_PAGES,t as REGION,Q as SUPPLY_PAGES,W as VARIANTS,U as checkContentPage,N as checkValidation,H as convertSecondsToMiliseconds,B as convertTimeStampToSeconds,A as dateByTimestamp,y as formatDateTime,C as formatTimestamp,ca as getABExperimentCacheKey,Z as getABVariantFromCookies,z as getCurrentTimestamp,G as getDateAfterDays,F as getISOTimeString,da as getLastLandingPage,T as getSubRevenueChannel,E as getTimeDiff,I as isEmpty,S as isSEO,J as nestedMapsAreEqual,b as parseCloudFrontCookies,a as parseCookieString,L as removeHrefLangFromPath,K as removeQueryStringFromPath,M as removeTrailingSlashFromPath,D as timeToX}from'./chunk-CVZIO6BX.mjs';//# sourceMappingURL=cloudfront.mjs.map
2
+ //# sourceMappingURL=cloudfront.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"cloudfront.mjs"}
@@ -0,0 +1,157 @@
1
+ declare const REFERRAL_PAGE_PATH: string[];
2
+ declare const REVENUE_CHANNEL: {
3
+ REFERRAL: string;
4
+ ORGANIC: string;
5
+ };
6
+
7
+ declare const LOCAL_STORAGE_PRIMARY_KEY = "CUEMATH_WEB";
8
+ declare const checkLocalStorageSupport: () => boolean;
9
+ declare const removeKeyFromObject: (obj: {
10
+ [x: string]: any;
11
+ }, keyToRemove: string) => {
12
+ [x: string]: any;
13
+ } | null;
14
+ declare const localStorageSet: (key: string | number, value: any, ttl?: number) => boolean;
15
+ declare const localStorageGet: (key: string) => null | string;
16
+ declare const localStorageGetAll: () => null | string;
17
+ declare const localStorageRemove: (key: string) => boolean;
18
+ declare const localStorageRemoveAll: () => boolean;
19
+ declare const removeExpiredKeysOnMount: () => boolean;
20
+
21
+ declare const getDates: (timezone: string) => Array<{
22
+ futureDate: number;
23
+ disabled: boolean;
24
+ }>;
25
+
26
+ declare const APP_ENV: {
27
+ PRODUCTION: string;
28
+ STAGING: string;
29
+ DEVELOPMENT: string;
30
+ };
31
+
32
+ declare const isServer: boolean;
33
+
34
+ declare const loadScript: (id: string, url: string, onLoad: (event: Event) => void, onError: (event: Event | string) => void) => void;
35
+
36
+ declare function parseURLParams(inpURL: any): {
37
+ [k: string]: string;
38
+ };
39
+
40
+ interface CountryCodeItem {
41
+ code: string;
42
+ label: string;
43
+ value: string;
44
+ geoIPCountryCode: string;
45
+ }
46
+ declare const filterCountryCode: (list: CountryCodeItem[], value: string, exactMatch: boolean) => CountryCodeItem[];
47
+
48
+ type Platform = 'website' | 'app' | 'astro' | 'leap-teacher' | 'leap-admin';
49
+ type RevenueChannel = 'organic' | 'performance' | 'affiliate' | 'offline' | 'referral' | 'unknown';
50
+ type SignupFlow = 'regular' | 'e-cna' | 'e-sales' | 'e-cna-exit';
51
+ type Experiments = Record<string, unknown>;
52
+ type UTMParams = {
53
+ utm_source?: string;
54
+ utm_medium?: string;
55
+ utm_campaign?: string;
56
+ utm_term?: string;
57
+ utm_content?: string;
58
+ utm_adcontent?: string;
59
+ };
60
+ type SignupForm = {
61
+ form_id?: string;
62
+ product?: string;
63
+ process?: string;
64
+ };
65
+ type PageProps = {
66
+ url_path?: string;
67
+ page_profile?: string;
68
+ timestamp?: Date;
69
+ };
70
+ type SourceDetailsCookie = {
71
+ platform_channel: Platform;
72
+ experiment_dict?: Experiments;
73
+ flow?: SignupFlow;
74
+ utm_params?: UTMParams;
75
+ affiliate_channel?: string;
76
+ offline_channel?: string;
77
+ performance_channel?: string;
78
+ revenue_channel: RevenueChannel;
79
+ flow_entry?: string;
80
+ first_page?: PageProps;
81
+ signup_page?: PageProps;
82
+ landing_page_24_hours?: PageProps;
83
+ landing_page_session?: PageProps;
84
+ last_page?: string;
85
+ sales_process?: string;
86
+ guest_id?: string;
87
+ current?: Partial<SourceDetailsCookie>;
88
+ landing_page?: string;
89
+ referrer?: string;
90
+ source_channel?: string;
91
+ page_profile?: string;
92
+ sub_platform?: string;
93
+ current_page?: string;
94
+ current_page_category?: string;
95
+ signup_form?: SignupForm;
96
+ product?: string;
97
+ };
98
+ type SourceDetails = {
99
+ platform: Platform;
100
+ experiments?: Experiments;
101
+ flow?: SignupFlow;
102
+ utmParams?: UTMParams;
103
+ affiliateChannel?: string;
104
+ offlineChannel?: string;
105
+ performanceChannel?: string;
106
+ revenueChannel: RevenueChannel;
107
+ flowEntry?: string;
108
+ firstPage?: string;
109
+ lastPage?: string;
110
+ guestId?: string;
111
+ salesProcess?: string;
112
+ landingPage?: string;
113
+ referrer?: string;
114
+ sourceChannel?: string;
115
+ pageProfile?: string;
116
+ subPlatform?: string;
117
+ lastLandingPage?: string;
118
+ product?: string;
119
+ };
120
+
121
+ declare const readSourceCookie: () => SourceDetailsCookie;
122
+ declare const isSourcePresent: () => boolean;
123
+ declare const initSourceDetails: ({ platform, experiments, flow, revenueChannel, salesProcess, guestId, landingPage, referrer, sourceChannel, utmParams, lastLandingPage, product, }: SourceDetails) => Promise<void>;
124
+ declare const setFlowEntryPoint: (flowEntry: string) => Promise<void>;
125
+ declare const setFlow: (flow: SignupFlow) => Promise<void>;
126
+ declare const setRevenueChannel: (revenueChannel: RevenueChannel) => Promise<void>;
127
+ declare const setSalesProcess: (salesProcess: string) => Promise<void>;
128
+ declare const clearSalesProcess: () => Promise<void>;
129
+ declare const updateGuestId: (guestId: string) => Promise<void>;
130
+ declare const setFirstPage: (pagePath: string) => Promise<void>;
131
+ declare const setPlatformChannel: (platformChannel: Platform) => Promise<void>;
132
+ declare const setLandingPage: (landingPage: string) => Promise<void>;
133
+ declare const setSignupPage: (signupPage: string) => Promise<void>;
134
+ declare const setLastLandingPage: (lastLandingPage: string, createdAt: Date) => Promise<void>;
135
+ declare const setReferrer: (referrer: string) => Promise<void>;
136
+ declare const setSourceChannel: (sourceChannel: string) => Promise<void>;
137
+ declare const setSignupForm: (signupForm: SignupForm) => Promise<void>;
138
+ declare const clearSignupForm: () => Promise<void>;
139
+ declare const setProduct: (product: string) => Promise<void>;
140
+ declare const getSourceChannel: (utmSource: string) => string;
141
+
142
+ declare const getAttributes: (target: HTMLElement) => {
143
+ CTA: string;
144
+ parentScreen: string | null | undefined;
145
+ entrySection: string | null | undefined;
146
+ entryPoint: string | null | undefined;
147
+ parentDomId: string | null | undefined;
148
+ ctaType: string | null;
149
+ formId: string | null | undefined;
150
+ customTracking: string | null | undefined;
151
+ };
152
+
153
+ declare const getDataProps: (entryPoint: string | undefined, entrySection: string | undefined, topic: string | undefined, isCustomTracking: boolean) => {
154
+ [key: string]: string | boolean;
155
+ };
156
+
157
+ export { setSignupForm as A, clearSignupForm as B, setProduct as C, getSourceChannel as D, parseURLParams as E, getDates as F, filterCountryCode as G, isServer as H, APP_ENV as I, REVENUE_CHANNEL as J, removeKeyFromObject as K, LOCAL_STORAGE_PRIMARY_KEY as L, REFERRAL_PAGE_PATH as R, localStorageGet as a, localStorageGetAll as b, localStorageRemove as c, localStorageRemoveAll as d, checkLocalStorageSupport as e, loadScript as f, getAttributes as g, getDataProps as h, initSourceDetails as i, readSourceCookie as j, isSourcePresent as k, localStorageSet as l, setFlow as m, setRevenueChannel as n, setSalesProcess as o, clearSalesProcess as p, setFirstPage as q, removeExpiredKeysOnMount as r, setFlowEntryPoint as s, setPlatformChannel as t, updateGuestId as u, setLandingPage as v, setSignupPage as w, setLastLandingPage as x, setReferrer as y, setSourceChannel as z };
@@ -0,0 +1,157 @@
1
+ declare const REFERRAL_PAGE_PATH: string[];
2
+ declare const REVENUE_CHANNEL: {
3
+ REFERRAL: string;
4
+ ORGANIC: string;
5
+ };
6
+
7
+ declare const LOCAL_STORAGE_PRIMARY_KEY = "CUEMATH_WEB";
8
+ declare const checkLocalStorageSupport: () => boolean;
9
+ declare const removeKeyFromObject: (obj: {
10
+ [x: string]: any;
11
+ }, keyToRemove: string) => {
12
+ [x: string]: any;
13
+ } | null;
14
+ declare const localStorageSet: (key: string | number, value: any, ttl?: number) => boolean;
15
+ declare const localStorageGet: (key: string) => null | string;
16
+ declare const localStorageGetAll: () => null | string;
17
+ declare const localStorageRemove: (key: string) => boolean;
18
+ declare const localStorageRemoveAll: () => boolean;
19
+ declare const removeExpiredKeysOnMount: () => boolean;
20
+
21
+ declare const getDates: (timezone: string) => Array<{
22
+ futureDate: number;
23
+ disabled: boolean;
24
+ }>;
25
+
26
+ declare const APP_ENV: {
27
+ PRODUCTION: string;
28
+ STAGING: string;
29
+ DEVELOPMENT: string;
30
+ };
31
+
32
+ declare const isServer: boolean;
33
+
34
+ declare const loadScript: (id: string, url: string, onLoad: (event: Event) => void, onError: (event: Event | string) => void) => void;
35
+
36
+ declare function parseURLParams(inpURL: any): {
37
+ [k: string]: string;
38
+ };
39
+
40
+ interface CountryCodeItem {
41
+ code: string;
42
+ label: string;
43
+ value: string;
44
+ geoIPCountryCode: string;
45
+ }
46
+ declare const filterCountryCode: (list: CountryCodeItem[], value: string, exactMatch: boolean) => CountryCodeItem[];
47
+
48
+ type Platform = 'website' | 'app' | 'astro' | 'leap-teacher' | 'leap-admin';
49
+ type RevenueChannel = 'organic' | 'performance' | 'affiliate' | 'offline' | 'referral' | 'unknown';
50
+ type SignupFlow = 'regular' | 'e-cna' | 'e-sales' | 'e-cna-exit';
51
+ type Experiments = Record<string, unknown>;
52
+ type UTMParams = {
53
+ utm_source?: string;
54
+ utm_medium?: string;
55
+ utm_campaign?: string;
56
+ utm_term?: string;
57
+ utm_content?: string;
58
+ utm_adcontent?: string;
59
+ };
60
+ type SignupForm = {
61
+ form_id?: string;
62
+ product?: string;
63
+ process?: string;
64
+ };
65
+ type PageProps = {
66
+ url_path?: string;
67
+ page_profile?: string;
68
+ timestamp?: Date;
69
+ };
70
+ type SourceDetailsCookie = {
71
+ platform_channel: Platform;
72
+ experiment_dict?: Experiments;
73
+ flow?: SignupFlow;
74
+ utm_params?: UTMParams;
75
+ affiliate_channel?: string;
76
+ offline_channel?: string;
77
+ performance_channel?: string;
78
+ revenue_channel: RevenueChannel;
79
+ flow_entry?: string;
80
+ first_page?: PageProps;
81
+ signup_page?: PageProps;
82
+ landing_page_24_hours?: PageProps;
83
+ landing_page_session?: PageProps;
84
+ last_page?: string;
85
+ sales_process?: string;
86
+ guest_id?: string;
87
+ current?: Partial<SourceDetailsCookie>;
88
+ landing_page?: string;
89
+ referrer?: string;
90
+ source_channel?: string;
91
+ page_profile?: string;
92
+ sub_platform?: string;
93
+ current_page?: string;
94
+ current_page_category?: string;
95
+ signup_form?: SignupForm;
96
+ product?: string;
97
+ };
98
+ type SourceDetails = {
99
+ platform: Platform;
100
+ experiments?: Experiments;
101
+ flow?: SignupFlow;
102
+ utmParams?: UTMParams;
103
+ affiliateChannel?: string;
104
+ offlineChannel?: string;
105
+ performanceChannel?: string;
106
+ revenueChannel: RevenueChannel;
107
+ flowEntry?: string;
108
+ firstPage?: string;
109
+ lastPage?: string;
110
+ guestId?: string;
111
+ salesProcess?: string;
112
+ landingPage?: string;
113
+ referrer?: string;
114
+ sourceChannel?: string;
115
+ pageProfile?: string;
116
+ subPlatform?: string;
117
+ lastLandingPage?: string;
118
+ product?: string;
119
+ };
120
+
121
+ declare const readSourceCookie: () => SourceDetailsCookie;
122
+ declare const isSourcePresent: () => boolean;
123
+ declare const initSourceDetails: ({ platform, experiments, flow, revenueChannel, salesProcess, guestId, landingPage, referrer, sourceChannel, utmParams, lastLandingPage, product, }: SourceDetails) => Promise<void>;
124
+ declare const setFlowEntryPoint: (flowEntry: string) => Promise<void>;
125
+ declare const setFlow: (flow: SignupFlow) => Promise<void>;
126
+ declare const setRevenueChannel: (revenueChannel: RevenueChannel) => Promise<void>;
127
+ declare const setSalesProcess: (salesProcess: string) => Promise<void>;
128
+ declare const clearSalesProcess: () => Promise<void>;
129
+ declare const updateGuestId: (guestId: string) => Promise<void>;
130
+ declare const setFirstPage: (pagePath: string) => Promise<void>;
131
+ declare const setPlatformChannel: (platformChannel: Platform) => Promise<void>;
132
+ declare const setLandingPage: (landingPage: string) => Promise<void>;
133
+ declare const setSignupPage: (signupPage: string) => Promise<void>;
134
+ declare const setLastLandingPage: (lastLandingPage: string, createdAt: Date) => Promise<void>;
135
+ declare const setReferrer: (referrer: string) => Promise<void>;
136
+ declare const setSourceChannel: (sourceChannel: string) => Promise<void>;
137
+ declare const setSignupForm: (signupForm: SignupForm) => Promise<void>;
138
+ declare const clearSignupForm: () => Promise<void>;
139
+ declare const setProduct: (product: string) => Promise<void>;
140
+ declare const getSourceChannel: (utmSource: string) => string;
141
+
142
+ declare const getAttributes: (target: HTMLElement) => {
143
+ CTA: string;
144
+ parentScreen: string | null | undefined;
145
+ entrySection: string | null | undefined;
146
+ entryPoint: string | null | undefined;
147
+ parentDomId: string | null | undefined;
148
+ ctaType: string | null;
149
+ formId: string | null | undefined;
150
+ customTracking: string | null | undefined;
151
+ };
152
+
153
+ declare const getDataProps: (entryPoint: string | undefined, entrySection: string | undefined, topic: string | undefined, isCustomTracking: boolean) => {
154
+ [key: string]: string | boolean;
155
+ };
156
+
157
+ export { setSignupForm as A, clearSignupForm as B, setProduct as C, getSourceChannel as D, parseURLParams as E, getDates as F, filterCountryCode as G, isServer as H, APP_ENV as I, REVENUE_CHANNEL as J, removeKeyFromObject as K, LOCAL_STORAGE_PRIMARY_KEY as L, REFERRAL_PAGE_PATH as R, localStorageGet as a, localStorageGetAll as b, localStorageRemove as c, localStorageRemoveAll as d, checkLocalStorageSupport as e, loadScript as f, getAttributes as g, getDataProps as h, initSourceDetails as i, readSourceCookie as j, isSourcePresent as k, localStorageSet as l, setFlow as m, setRevenueChannel as n, setSalesProcess as o, clearSalesProcess as p, setFirstPage as q, removeExpiredKeysOnMount as r, setFlowEntryPoint as s, setPlatformChannel as t, updateGuestId as u, setLandingPage as v, setSignupPage as w, setLastLandingPage as x, setReferrer as y, setSourceChannel as z };
@@ -0,0 +1,61 @@
1
+ type Timestamp = number;
2
+ /**
3
+ * Convert timestamp to localized date-time string with optional timezone.
4
+ *
5
+ * @param timestamp - Unix timestamp in seconds
6
+ * @param timezone - IANA timezone identifier (e.g., 'America/New_York')
7
+ * @returns Localized date-time string
8
+ *
9
+ * @example
10
+ * dateTimeByTimezone(1640000000, 'America/New_York')
11
+ * // "12/20/2021, 9:13:20 AM"
12
+ */
13
+ declare function dateTimeByTimezone(timestamp: Timestamp, timezone?: string): string;
14
+ /**
15
+ * Format timestamp with timezone support.
16
+ *
17
+ * @param timestamp - Unix timestamp in seconds
18
+ * @param timezone - IANA timezone identifier
19
+ * @param format - dayjs format string
20
+ * @returns Formatted date string
21
+ *
22
+ * @example
23
+ * dateByTimezone(1640000000, 'America/New_York', 'MM/DD/YYYY')
24
+ * // "12/20/2021"
25
+ */
26
+ declare function dateByTimezone(timestamp: number, timezone: string, format: string): string;
27
+ /**
28
+ * Get current browser timezone.
29
+ *
30
+ * @returns IANA timezone identifier
31
+ *
32
+ * @example
33
+ * getTimezone()
34
+ * // "America/Los_Angeles"
35
+ */
36
+ declare function getTimezone(): string;
37
+ /**
38
+ * Get current date-time in specified timezone.
39
+ *
40
+ * @param timezone - IANA timezone identifier
41
+ * @returns Localized current date-time string
42
+ *
43
+ * @example
44
+ * getCurrentDatebyTimezone('Asia/Kolkata')
45
+ * // "12/18/2025, 3:30:00 PM"
46
+ */
47
+ declare function getCurrentDatebyTimezone(timezone: string): string;
48
+ /**
49
+ * Convert internal timezone ID to display name.
50
+ * Uses international-timezones constant for lookup.
51
+ *
52
+ * @param selectedTimezone - Internal timezone ID
53
+ * @returns Human-readable timezone name
54
+ *
55
+ * @example
56
+ * convertedTimezone('America/New_York')
57
+ * // "Eastern Time"
58
+ */
59
+ declare const convertedTimezone: (selectedTimezone: string) => string;
60
+
61
+ export { convertedTimezone, dateByTimezone, dateTimeByTimezone, getCurrentDatebyTimezone, getTimezone };
@@ -0,0 +1,61 @@
1
+ type Timestamp = number;
2
+ /**
3
+ * Convert timestamp to localized date-time string with optional timezone.
4
+ *
5
+ * @param timestamp - Unix timestamp in seconds
6
+ * @param timezone - IANA timezone identifier (e.g., 'America/New_York')
7
+ * @returns Localized date-time string
8
+ *
9
+ * @example
10
+ * dateTimeByTimezone(1640000000, 'America/New_York')
11
+ * // "12/20/2021, 9:13:20 AM"
12
+ */
13
+ declare function dateTimeByTimezone(timestamp: Timestamp, timezone?: string): string;
14
+ /**
15
+ * Format timestamp with timezone support.
16
+ *
17
+ * @param timestamp - Unix timestamp in seconds
18
+ * @param timezone - IANA timezone identifier
19
+ * @param format - dayjs format string
20
+ * @returns Formatted date string
21
+ *
22
+ * @example
23
+ * dateByTimezone(1640000000, 'America/New_York', 'MM/DD/YYYY')
24
+ * // "12/20/2021"
25
+ */
26
+ declare function dateByTimezone(timestamp: number, timezone: string, format: string): string;
27
+ /**
28
+ * Get current browser timezone.
29
+ *
30
+ * @returns IANA timezone identifier
31
+ *
32
+ * @example
33
+ * getTimezone()
34
+ * // "America/Los_Angeles"
35
+ */
36
+ declare function getTimezone(): string;
37
+ /**
38
+ * Get current date-time in specified timezone.
39
+ *
40
+ * @param timezone - IANA timezone identifier
41
+ * @returns Localized current date-time string
42
+ *
43
+ * @example
44
+ * getCurrentDatebyTimezone('Asia/Kolkata')
45
+ * // "12/18/2025, 3:30:00 PM"
46
+ */
47
+ declare function getCurrentDatebyTimezone(timezone: string): string;
48
+ /**
49
+ * Convert internal timezone ID to display name.
50
+ * Uses international-timezones constant for lookup.
51
+ *
52
+ * @param selectedTimezone - Internal timezone ID
53
+ * @returns Human-readable timezone name
54
+ *
55
+ * @example
56
+ * convertedTimezone('America/New_York')
57
+ * // "Eastern Time"
58
+ */
59
+ declare const convertedTimezone: (selectedTimezone: string) => string;
60
+
61
+ export { convertedTimezone, dateByTimezone, dateTimeByTimezone, getCurrentDatebyTimezone, getTimezone };
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunk5X4UT2UI_js=require('../chunk-5X4UT2UI.js');Object.defineProperty(exports,"convertedTimezone",{enumerable:true,get:function(){return chunk5X4UT2UI_js.f}});Object.defineProperty(exports,"dateByTimezone",{enumerable:true,get:function(){return chunk5X4UT2UI_js.c}});Object.defineProperty(exports,"dateTimeByTimezone",{enumerable:true,get:function(){return chunk5X4UT2UI_js.b}});Object.defineProperty(exports,"getCurrentDatebyTimezone",{enumerable:true,get:function(){return chunk5X4UT2UI_js.e}});Object.defineProperty(exports,"getTimezone",{enumerable:true,get:function(){return chunk5X4UT2UI_js.d}});//# sourceMappingURL=timezone.js.map
2
+ //# sourceMappingURL=timezone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"timezone.js"}
@@ -0,0 +1,2 @@
1
+ export{f as convertedTimezone,c as dateByTimezone,b as dateTimeByTimezone,e as getCurrentDatebyTimezone,d as getTimezone}from'../chunk-TG7DRTM7.mjs';//# sourceMappingURL=timezone.mjs.map
2
+ //# sourceMappingURL=timezone.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"timezone.mjs"}
@@ -1,3 +1,64 @@
1
+ export { A as AB_IDENTIFIER_KEY, B as BRAND_PAGES, o as CURRENCY_SYMBOL_MAP, D as DateSlots, E as EXPERIMENT_KEYS, I as INTENT_PAGES, C as ISO_COUNTRY_CODE, N as LAST_LANDING_PAGE_COOKIE, R as REFERRAL_PAGES, n as REGION, S as SUPPLY_PAGES, V as VARIANTS, k as checkContentPage, J as checkValidation, H as convertSecondsToMiliseconds, w as convertTimeStampToSeconds, c as createCookie, a as createCookieWithMidnightExp, v as dateByTimestamp, t as formatDateTime, x as formatTimestamp, f as getABExperimentCacheKey, b as getABVariant, g as getCookie, u as getCurrentTimestamp, G as getDateAfterDays, F as getISOTimeString, q as getLastLandingPage, l as getSubRevenueChannel, z as getTimeDiff, K as isEmpty, m as isSEO, L as nestedMapsAreEqual, M as parseCloudFrontCookies, p as parseCookieString, r as removeCookie, h as removeHrefLangFromPath, i as removeQueryStringFromPath, j as removeTrailingSlashFromPath, d as resetABExperiment, e as resetAllABExperiments, s as setABExperiment, y as timeToX } from './cloudfront-DRTOCXPV.mjs';
2
+ export { I as APP_ENV, L as LOCAL_STORAGE_PRIMARY_KEY, R as REFERRAL_PAGE_PATH, J as REVENUE_CHANNEL, e as checkLocalStorageSupport, p as clearSalesProcess, B as clearSignupForm, G as filterCountryCode, g as getAttributes, h as getDataProps, F as getDates, D as getSourceChannel, i as initSourceDetails, H as isServer, k as isSourcePresent, f as loadScript, a as localStorageGet, b as localStorageGetAll, c as localStorageRemove, d as localStorageRemoveAll, l as localStorageSet, E as parseURLParams, j as readSourceCookie, r as removeExpiredKeysOnMount, K as removeKeyFromObject, q as setFirstPage, m as setFlow, s as setFlowEntryPoint, v as setLandingPage, x as setLastLandingPage, t as setPlatformChannel, C as setProduct, y as setReferrer, n as setRevenueChannel, o as setSalesProcess, A as setSignupForm, w as setSignupPage, z as setSourceChannel, u as updateGuestId } from './data-props-RvZdA60G.mjs';
3
+ import 'dayjs';
4
+
5
+ declare const EUROPEAN_COUNTRIES: string[];
6
+ declare const MIDDLE_EAST_COUNTRIES: string[];
7
+ declare const AUSTRALIAN_COUNTRIES: string[];
8
+ declare const SINGAPORE_COUNTRIES: string[];
9
+ declare const US_COUNTRIES: string[];
10
+ declare const INDIAN_COUNTRIES: string[];
11
+ declare const NEW_ZEALAND_COUNTRIES: string[];
12
+ declare const BEST_PERFORMING_COHORT_ROW_COUNTRIES: string[];
13
+ declare const FOCUSED_COUNTRIES: string[];
14
+ declare const NON_FOCUSED_ROW_COUNTRIES: string[];
15
+ declare const ALLOWED_COUNTRIES_FOR_TEACHERS: string[];
16
+ declare const ALLOWED_COUNTRIES_FOR_LAAM_TEACHERS: string[];
17
+
18
+ declare const COUNTRY_CODE_MAP: {
19
+ id: string;
20
+ value: string;
21
+ label: string;
22
+ countryName: string;
23
+ icon: string;
24
+ url: string;
25
+ geoIPCountryCode: string;
26
+ }[];
27
+
28
+ declare const indianStates: {
29
+ value: string;
30
+ id: string;
31
+ }[];
32
+ declare const usStates: {
33
+ id: string;
34
+ value: string;
35
+ }[];
36
+
37
+ interface Timezone {
38
+ id: string;
39
+ value: string;
40
+ meta: string;
41
+ }
42
+ declare const timezones: Timezone[];
43
+
44
+ declare const DAY: {
45
+ Sun: string;
46
+ Mon: string;
47
+ Tue: string;
48
+ Wed: string;
49
+ Thu: string;
50
+ Fri: string;
51
+ Sat: string;
52
+ };
53
+ declare const shorthandWeekDayArray: string[];
54
+ declare const MONTH_ARRAY: string[];
55
+ declare const weekDayArray: string[];
56
+ declare const TWENTY_FOUR_HOURS_IN_SECONDS: number;
57
+ declare const HOUR_FORMAT: {
58
+ TWELVE_HOUR_FORMAT: number;
59
+ TWENTY_FOUR_HOUR_FORMAT: number;
60
+ };
61
+
1
62
  declare const teacherSignupSteps: {
2
63
  signup: string;
3
64
  verifyOtp: string;
@@ -248,4 +309,5 @@ declare const teacherSignupStepsConfig: {
248
309
  hideHeader?: undefined;
249
310
  };
250
311
  };
251
- export { teacherSignupSteps, teacherSignupStepsConfig };
312
+
313
+ export { ALLOWED_COUNTRIES_FOR_LAAM_TEACHERS, ALLOWED_COUNTRIES_FOR_TEACHERS, AUSTRALIAN_COUNTRIES, BEST_PERFORMING_COHORT_ROW_COUNTRIES, COUNTRY_CODE_MAP, DAY, EUROPEAN_COUNTRIES, FOCUSED_COUNTRIES, HOUR_FORMAT, INDIAN_COUNTRIES, MIDDLE_EAST_COUNTRIES, MONTH_ARRAY, NEW_ZEALAND_COUNTRIES, NON_FOCUSED_ROW_COUNTRIES, SINGAPORE_COUNTRIES, TWENTY_FOUR_HOURS_IN_SECONDS, US_COUNTRIES, indianStates, shorthandWeekDayArray, teacherSignupSteps, teacherSignupStepsConfig, timezones, usStates, weekDayArray };
@@ -1,3 +1,64 @@
1
+ export { A as AB_IDENTIFIER_KEY, B as BRAND_PAGES, o as CURRENCY_SYMBOL_MAP, D as DateSlots, E as EXPERIMENT_KEYS, I as INTENT_PAGES, C as ISO_COUNTRY_CODE, N as LAST_LANDING_PAGE_COOKIE, R as REFERRAL_PAGES, n as REGION, S as SUPPLY_PAGES, V as VARIANTS, k as checkContentPage, J as checkValidation, H as convertSecondsToMiliseconds, w as convertTimeStampToSeconds, c as createCookie, a as createCookieWithMidnightExp, v as dateByTimestamp, t as formatDateTime, x as formatTimestamp, f as getABExperimentCacheKey, b as getABVariant, g as getCookie, u as getCurrentTimestamp, G as getDateAfterDays, F as getISOTimeString, q as getLastLandingPage, l as getSubRevenueChannel, z as getTimeDiff, K as isEmpty, m as isSEO, L as nestedMapsAreEqual, M as parseCloudFrontCookies, p as parseCookieString, r as removeCookie, h as removeHrefLangFromPath, i as removeQueryStringFromPath, j as removeTrailingSlashFromPath, d as resetABExperiment, e as resetAllABExperiments, s as setABExperiment, y as timeToX } from './cloudfront-DRTOCXPV.js';
2
+ export { I as APP_ENV, L as LOCAL_STORAGE_PRIMARY_KEY, R as REFERRAL_PAGE_PATH, J as REVENUE_CHANNEL, e as checkLocalStorageSupport, p as clearSalesProcess, B as clearSignupForm, G as filterCountryCode, g as getAttributes, h as getDataProps, F as getDates, D as getSourceChannel, i as initSourceDetails, H as isServer, k as isSourcePresent, f as loadScript, a as localStorageGet, b as localStorageGetAll, c as localStorageRemove, d as localStorageRemoveAll, l as localStorageSet, E as parseURLParams, j as readSourceCookie, r as removeExpiredKeysOnMount, K as removeKeyFromObject, q as setFirstPage, m as setFlow, s as setFlowEntryPoint, v as setLandingPage, x as setLastLandingPage, t as setPlatformChannel, C as setProduct, y as setReferrer, n as setRevenueChannel, o as setSalesProcess, A as setSignupForm, w as setSignupPage, z as setSourceChannel, u as updateGuestId } from './data-props-RvZdA60G.js';
3
+ import 'dayjs';
4
+
5
+ declare const EUROPEAN_COUNTRIES: string[];
6
+ declare const MIDDLE_EAST_COUNTRIES: string[];
7
+ declare const AUSTRALIAN_COUNTRIES: string[];
8
+ declare const SINGAPORE_COUNTRIES: string[];
9
+ declare const US_COUNTRIES: string[];
10
+ declare const INDIAN_COUNTRIES: string[];
11
+ declare const NEW_ZEALAND_COUNTRIES: string[];
12
+ declare const BEST_PERFORMING_COHORT_ROW_COUNTRIES: string[];
13
+ declare const FOCUSED_COUNTRIES: string[];
14
+ declare const NON_FOCUSED_ROW_COUNTRIES: string[];
15
+ declare const ALLOWED_COUNTRIES_FOR_TEACHERS: string[];
16
+ declare const ALLOWED_COUNTRIES_FOR_LAAM_TEACHERS: string[];
17
+
18
+ declare const COUNTRY_CODE_MAP: {
19
+ id: string;
20
+ value: string;
21
+ label: string;
22
+ countryName: string;
23
+ icon: string;
24
+ url: string;
25
+ geoIPCountryCode: string;
26
+ }[];
27
+
28
+ declare const indianStates: {
29
+ value: string;
30
+ id: string;
31
+ }[];
32
+ declare const usStates: {
33
+ id: string;
34
+ value: string;
35
+ }[];
36
+
37
+ interface Timezone {
38
+ id: string;
39
+ value: string;
40
+ meta: string;
41
+ }
42
+ declare const timezones: Timezone[];
43
+
44
+ declare const DAY: {
45
+ Sun: string;
46
+ Mon: string;
47
+ Tue: string;
48
+ Wed: string;
49
+ Thu: string;
50
+ Fri: string;
51
+ Sat: string;
52
+ };
53
+ declare const shorthandWeekDayArray: string[];
54
+ declare const MONTH_ARRAY: string[];
55
+ declare const weekDayArray: string[];
56
+ declare const TWENTY_FOUR_HOURS_IN_SECONDS: number;
57
+ declare const HOUR_FORMAT: {
58
+ TWELVE_HOUR_FORMAT: number;
59
+ TWENTY_FOUR_HOUR_FORMAT: number;
60
+ };
61
+
1
62
  declare const teacherSignupSteps: {
2
63
  signup: string;
3
64
  verifyOtp: string;
@@ -248,4 +309,5 @@ declare const teacherSignupStepsConfig: {
248
309
  hideHeader?: undefined;
249
310
  };
250
311
  };
251
- export { teacherSignupSteps, teacherSignupStepsConfig };
312
+
313
+ export { ALLOWED_COUNTRIES_FOR_LAAM_TEACHERS, ALLOWED_COUNTRIES_FOR_TEACHERS, AUSTRALIAN_COUNTRIES, BEST_PERFORMING_COHORT_ROW_COUNTRIES, COUNTRY_CODE_MAP, DAY, EUROPEAN_COUNTRIES, FOCUSED_COUNTRIES, HOUR_FORMAT, INDIAN_COUNTRIES, MIDDLE_EAST_COUNTRIES, MONTH_ARRAY, NEW_ZEALAND_COUNTRIES, NON_FOCUSED_ROW_COUNTRIES, SINGAPORE_COUNTRIES, TWENTY_FOUR_HOURS_IN_SECONDS, US_COUNTRIES, indianStates, shorthandWeekDayArray, teacherSignupSteps, teacherSignupStepsConfig, timezones, usStates, weekDayArray };