@sheerid/jslib 1.77.0 → 1.81.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 (199) hide show
  1. package/es5/Tmetrix.bundle.js +5 -5
  2. package/es5/messages_ar.bundle.js +5 -5
  3. package/es5/messages_bg.bundle.js +5 -5
  4. package/es5/messages_cs.bundle.js +5 -5
  5. package/es5/messages_da.bundle.js +5 -5
  6. package/es5/messages_de.bundle.js +5 -5
  7. package/es5/messages_el.bundle.js +5 -5
  8. package/es5/messages_en-GB.bundle.js +5 -5
  9. package/es5/messages_es-ES.bundle.js +5 -5
  10. package/es5/messages_es.bundle.js +5 -5
  11. package/es5/messages_fi.bundle.js +5 -5
  12. package/es5/messages_fr-CA.bundle.js +5 -5
  13. package/es5/messages_fr.bundle.js +5 -5
  14. package/es5/messages_ga.bundle.js +5 -5
  15. package/es5/messages_hr.bundle.js +5 -5
  16. package/es5/messages_hu.bundle.js +5 -5
  17. package/es5/messages_id.bundle.js +5 -5
  18. package/es5/messages_it.bundle.js +5 -5
  19. package/es5/messages_iw.bundle.js +5 -5
  20. package/es5/messages_ja.bundle.js +5 -5
  21. package/es5/messages_ko.bundle.js +5 -5
  22. package/es5/messages_lo.bundle.js +5 -5
  23. package/es5/messages_lt.bundle.js +5 -5
  24. package/es5/messages_ms.bundle.js +5 -5
  25. package/es5/messages_nl.bundle.js +5 -5
  26. package/es5/messages_no.bundle.js +5 -5
  27. package/es5/messages_pl.bundle.js +5 -5
  28. package/es5/messages_pt-BR.bundle.js +5 -5
  29. package/es5/messages_pt.bundle.js +5 -5
  30. package/es5/messages_ru.bundle.js +5 -5
  31. package/es5/messages_sk.bundle.js +5 -5
  32. package/es5/messages_sl.bundle.js +5 -5
  33. package/es5/messages_sr.bundle.js +5 -5
  34. package/es5/messages_sv.bundle.js +5 -5
  35. package/es5/messages_th.bundle.js +5 -5
  36. package/es5/messages_tr.bundle.js +5 -5
  37. package/es5/messages_zh-HK.bundle.js +5 -5
  38. package/es5/messages_zh.bundle.js +5 -5
  39. package/es6/{ar-8068dab6.es.js → ar-44a61ad2.es.js} +6 -2
  40. package/es6/{cs-d8b4c497.es.js.map → ar-44a61ad2.es.js.map} +1 -1
  41. package/es6/{bg-44287e7c.es.js → bg-a8e7079f.es.js} +6 -2
  42. package/es6/{ar-8068dab6.es.js.map → bg-a8e7079f.es.js.map} +1 -1
  43. package/es6/{cs-d8b4c497.es.js → cs-949aa4e9.es.js} +6 -2
  44. package/es6/{da-54c14896.es.js.map → cs-949aa4e9.es.js.map} +1 -1
  45. package/es6/{da-54c14896.es.js → da-2fc2c80d.es.js} +6 -2
  46. package/es6/{bg-44287e7c.es.js.map → da-2fc2c80d.es.js.map} +1 -1
  47. package/es6/{de-3e6806c8.es.js → de-401987e2.es.js} +8 -4
  48. package/es6/de-401987e2.es.js.map +1 -0
  49. package/es6/{el-3935c4d5.es.js → el-cec2efeb.es.js} +6 -2
  50. package/es6/el-cec2efeb.es.js.map +1 -0
  51. package/es6/{en-GB-0536c588.es.js → en-GB-8fc067fd.es.js} +100 -96
  52. package/es6/{en-GB-0536c588.es.js.map → en-GB-8fc067fd.es.js.map} +1 -1
  53. package/es6/{es-ES-eca6a76e.es.js → es-ES-e9527dfc.es.js} +6 -2
  54. package/es6/{es-ES-eca6a76e.es.js.map → es-ES-e9527dfc.es.js.map} +1 -1
  55. package/es6/{es-32e5991a.es.js → es-aa33cef4.es.js} +6 -2
  56. package/es6/es-aa33cef4.es.js.map +1 -0
  57. package/es6/{fi-aed748d2.es.js → fi-21d78621.es.js} +6 -2
  58. package/es6/fi-21d78621.es.js.map +1 -0
  59. package/es6/{fr-CA-472c60e5.es.js → fr-CA-8fbf70d7.es.js} +6 -2
  60. package/es6/{fr-CA-472c60e5.es.js.map → fr-CA-8fbf70d7.es.js.map} +1 -1
  61. package/es6/{fr-d27beb6f.es.js → fr-ac551692.es.js} +6 -2
  62. package/es6/fr-ac551692.es.js.map +1 -0
  63. package/es6/{ga-cd739108.es.js → ga-fa4aaf25.es.js} +6 -2
  64. package/es6/ga-fa4aaf25.es.js.map +1 -0
  65. package/es6/{hr-4b6390b1.es.js → hr-f6a75688.es.js} +6 -2
  66. package/es6/hr-f6a75688.es.js.map +1 -0
  67. package/es6/{hu-68666ba3.es.js → hu-dc5ce68a.es.js} +6 -2
  68. package/es6/hu-dc5ce68a.es.js.map +1 -0
  69. package/es6/{id-d4d36e25.es.js → id-8deafa7f.es.js} +6 -2
  70. package/es6/id-8deafa7f.es.js.map +1 -0
  71. package/es6/{it-f810af3d.es.js → it-fd8a0a5d.es.js} +6 -2
  72. package/es6/it-fd8a0a5d.es.js.map +1 -0
  73. package/es6/{iw-a58ab227.es.js → iw-60b4ec5f.es.js} +6 -2
  74. package/es6/iw-60b4ec5f.es.js.map +1 -0
  75. package/es6/{ja-76983559.es.js → ja-8b791dc1.es.js} +6 -2
  76. package/es6/ja-8b791dc1.es.js.map +1 -0
  77. package/es6/{ko-b358da91.es.js → ko-9291b8b2.es.js} +6 -2
  78. package/es6/ko-9291b8b2.es.js.map +1 -0
  79. package/es6/{lo-008d2746.es.js → lo-af088901.es.js} +6 -2
  80. package/es6/lo-af088901.es.js.map +1 -0
  81. package/es6/{lt-9b3b251d.es.js → lt-83e5c86c.es.js} +6 -2
  82. package/es6/lt-83e5c86c.es.js.map +1 -0
  83. package/es6/{ms-89220c51.es.js → ms-143f4b1c.es.js} +6 -2
  84. package/es6/ms-143f4b1c.es.js.map +1 -0
  85. package/es6/{nl-a4ac7600.es.js → nl-be3d61b4.es.js} +6 -2
  86. package/es6/nl-be3d61b4.es.js.map +1 -0
  87. package/es6/{no-c0b1b17b.es.js → no-b3e07beb.es.js} +6 -2
  88. package/es6/no-b3e07beb.es.js.map +1 -0
  89. package/es6/{pl-7c70bce1.es.js → pl-9820aeff.es.js} +6 -2
  90. package/es6/pl-9820aeff.es.js.map +1 -0
  91. package/es6/{pt-BR-2bb50756.es.js → pt-BR-36869313.es.js} +6 -2
  92. package/es6/{pt-BR-2bb50756.es.js.map → pt-BR-36869313.es.js.map} +1 -1
  93. package/es6/{pt-81a3a2fc.es.js → pt-da8d7b16.es.js} +6 -2
  94. package/es6/pt-da8d7b16.es.js.map +1 -0
  95. package/es6/{ru-0377bbb3.es.js → ru-f1984706.es.js} +6 -2
  96. package/es6/ru-f1984706.es.js.map +1 -0
  97. package/es6/{sk-4d0782cc.es.js → sk-e3a93a76.es.js} +6 -2
  98. package/es6/sk-e3a93a76.es.js.map +1 -0
  99. package/es6/{sl-429f4d1d.es.js → sl-7b86c8f9.es.js} +6 -2
  100. package/es6/sl-7b86c8f9.es.js.map +1 -0
  101. package/es6/{sr-13739cb8.es.js → sr-a9993a3b.es.js} +6 -2
  102. package/es6/sr-a9993a3b.es.js.map +1 -0
  103. package/es6/{sv-0a0fdfc4.es.js → sv-54bcca73.es.js} +6 -2
  104. package/es6/sv-54bcca73.es.js.map +1 -0
  105. package/es6/{th-b8359b99.es.js → th-a74755d2.es.js} +6 -2
  106. package/es6/th-a74755d2.es.js.map +1 -0
  107. package/es6/{tr-8be3ee98.es.js → tr-efef909b.es.js} +6 -2
  108. package/es6/tr-efef909b.es.js.map +1 -0
  109. package/es6/{zh-HK-0f5a762e.es.js → zh-HK-cca3f9e3.es.js} +6 -2
  110. package/es6/zh-HK-cca3f9e3.es.js.map +1 -0
  111. package/es6/{zh-24ea267c.es.js → zh-fd96e6cc.es.js} +6 -2
  112. package/es6/zh-fd96e6cc.es.js.map +1 -0
  113. package/localized-messages/ar.json +5 -1
  114. package/localized-messages/bg.json +5 -1
  115. package/localized-messages/cs.json +5 -1
  116. package/localized-messages/da.json +5 -1
  117. package/localized-messages/de.json +7 -3
  118. package/localized-messages/el.json +5 -1
  119. package/localized-messages/en-GB.json +99 -95
  120. package/localized-messages/en-US.json +5 -1
  121. package/localized-messages/es-ES.json +5 -1
  122. package/localized-messages/es.json +5 -1
  123. package/localized-messages/fi.json +5 -1
  124. package/localized-messages/fr-CA.json +5 -1
  125. package/localized-messages/fr.json +5 -1
  126. package/localized-messages/ga.json +5 -1
  127. package/localized-messages/hr.json +5 -1
  128. package/localized-messages/hu.json +5 -1
  129. package/localized-messages/id.json +5 -1
  130. package/localized-messages/it.json +5 -1
  131. package/localized-messages/iw.json +5 -1
  132. package/localized-messages/ja.json +5 -1
  133. package/localized-messages/ko.json +5 -1
  134. package/localized-messages/lo.json +5 -1
  135. package/localized-messages/lt.json +5 -1
  136. package/localized-messages/ms.json +5 -1
  137. package/localized-messages/nl.json +5 -1
  138. package/localized-messages/no.json +5 -1
  139. package/localized-messages/pl.json +5 -1
  140. package/localized-messages/pt-BR.json +5 -1
  141. package/localized-messages/pt.json +5 -1
  142. package/localized-messages/ru.json +5 -1
  143. package/localized-messages/sk.json +5 -1
  144. package/localized-messages/sl.json +5 -1
  145. package/localized-messages/sr.json +5 -1
  146. package/localized-messages/sv.json +5 -1
  147. package/localized-messages/th.json +5 -1
  148. package/localized-messages/tr.json +5 -1
  149. package/localized-messages/zh-HK.json +5 -1
  150. package/localized-messages/zh.json +5 -1
  151. package/manifest.json +46 -46
  152. package/package.json +1 -1
  153. package/sheerid-requestOrg.css +4 -4
  154. package/sheerid-requestOrg.js +15 -15
  155. package/sheerid-requestOrg.js.map +1 -1
  156. package/sheerid-utils.js +9 -9
  157. package/sheerid-utils.js.map +1 -1
  158. package/sheerid.css +4 -4
  159. package/sheerid.js +12 -12
  160. package/sheerid.js.map +1 -1
  161. package/sheerides6.js +185 -124
  162. package/sheerides6.js.map +1 -1
  163. package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +1 -0
  164. package/src/components/StepMilitaryPersonalInfo/militaryStepHelpers.d.ts +5 -5
  165. package/src/es6.d.ts +2 -1
  166. package/src/lib/ServerApi/VerificationApiClient.d.ts +2 -1
  167. package/src/lib/types/runtimeTypes.d.ts +6 -2
  168. package/src/lib/types/types.d.ts +11 -1
  169. package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +9 -7
  170. package/types-reference.zip +0 -0
  171. package/es6/de-3e6806c8.es.js.map +0 -1
  172. package/es6/el-3935c4d5.es.js.map +0 -1
  173. package/es6/es-32e5991a.es.js.map +0 -1
  174. package/es6/fi-aed748d2.es.js.map +0 -1
  175. package/es6/fr-d27beb6f.es.js.map +0 -1
  176. package/es6/ga-cd739108.es.js.map +0 -1
  177. package/es6/hr-4b6390b1.es.js.map +0 -1
  178. package/es6/hu-68666ba3.es.js.map +0 -1
  179. package/es6/id-d4d36e25.es.js.map +0 -1
  180. package/es6/it-f810af3d.es.js.map +0 -1
  181. package/es6/iw-a58ab227.es.js.map +0 -1
  182. package/es6/ja-76983559.es.js.map +0 -1
  183. package/es6/ko-b358da91.es.js.map +0 -1
  184. package/es6/lo-008d2746.es.js.map +0 -1
  185. package/es6/lt-9b3b251d.es.js.map +0 -1
  186. package/es6/ms-89220c51.es.js.map +0 -1
  187. package/es6/nl-a4ac7600.es.js.map +0 -1
  188. package/es6/no-c0b1b17b.es.js.map +0 -1
  189. package/es6/pl-7c70bce1.es.js.map +0 -1
  190. package/es6/pt-81a3a2fc.es.js.map +0 -1
  191. package/es6/ru-0377bbb3.es.js.map +0 -1
  192. package/es6/sk-4d0782cc.es.js.map +0 -1
  193. package/es6/sl-429f4d1d.es.js.map +0 -1
  194. package/es6/sr-13739cb8.es.js.map +0 -1
  195. package/es6/sv-0a0fdfc4.es.js.map +0 -1
  196. package/es6/th-b8359b99.es.js.map +0 -1
  197. package/es6/tr-8be3ee98.es.js.map +0 -1
  198. package/es6/zh-24ea267c.es.js.map +0 -1
  199. package/es6/zh-HK-0f5a762e.es.js.map +0 -1
package/sheerides6.js CHANGED
@@ -510,6 +510,7 @@ var SegmentToStepMap;
510
510
  SegmentToStepMap["age"] = "collectAgePersonalInfo";
511
511
  SegmentToStepMap["medical"] = "collectMedicalProfessionalPersonalInfo";
512
512
  SegmentToStepMap["recentMover"] = "collectMoverPersonalInfo";
513
+ SegmentToStepMap["licensedProfessional"] = "collectLicensedProfessionalPersonalInfo";
513
514
  })(SegmentToStepMap || (SegmentToStepMap = {}));
514
515
  var SegmentEnum;
515
516
  (function (SegmentEnum) {
@@ -543,6 +544,9 @@ var SubSegmentEnum;
543
544
  SubSegmentEnum["HYBRID_IDENTITY"] = "hybridIdentity";
544
545
  SubSegmentEnum["HOME_BUYER"] = "homeBuyer";
545
546
  SubSegmentEnum["OTHER_MOVER"] = "otherMover";
547
+ SubSegmentEnum["LICENSED_COSMETOLOGIST"] = "licensedCosmetologist";
548
+ SubSegmentEnum["LICENSED_REAL_ESTATE_AGENT"] = "licensedRealEstateAgent";
549
+ SubSegmentEnum["VETERINARIAN"] = "Veterinarian";
546
550
  })(SubSegmentEnum || (SubSegmentEnum = {}));
547
551
  Object.values(SubSegmentEnum); // For runtime checks
548
552
  var MilitaryStatusDefaultMessagesEnum;
@@ -1695,6 +1699,8 @@ var enUSMessages = {
1695
1699
  "defaultMessages.EMT": "EMT",
1696
1700
  "defaultMessages.FIREFIGHTER": "Firefighter",
1697
1701
  "defaultMessages.HOME_BUYER": "Home Buyer",
1702
+ "defaultMessages.LICENSED_COSMETOLOGIST": "Licensed Cosmetologist",
1703
+ "defaultMessages.LICENSED_REAL_ESTATE_AGENT": "Licensed Real Estate Agent",
1698
1704
  "defaultMessages.MILITARY_FAMILY": "Military Family",
1699
1705
  "defaultMessages.MILITARY_RETIREE": "Military Retiree",
1700
1706
  "defaultMessages.NURSE": "Nurse",
@@ -1704,6 +1710,7 @@ var enUSMessages = {
1704
1710
  "defaultMessages.POLICE": "Police",
1705
1711
  "defaultMessages.RESERVIST": "Reservist or National Guard",
1706
1712
  "defaultMessages.VETERAN": "Military Veteran or Retiree",
1713
+ "defaultMessages.VETERINARIAN": "Veterinarian",
1707
1714
  "defaultMessages.address": "Address",
1708
1715
  "defaultMessages.addressPlaceholder": "Address*",
1709
1716
  "defaultMessages.birthDate": "Date of birth",
@@ -2105,6 +2112,7 @@ var enUSMessages = {
2105
2112
  "defaultMessages.militaryInfoShared": "Information entered here will be used for verification purposes. ",
2106
2113
  "defaultMessages.militaryStatus": "Military status",
2107
2114
  "defaultMessages.noOptions": "No options",
2115
+ "defaultMessages.optIn": "Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more",
2108
2116
  "defaultMessages.optional": "Optional",
2109
2117
  "defaultMessages.organization": "Organization",
2110
2118
  "defaultMessages.organizationPlaceholder": "Organization*",
@@ -2479,7 +2487,7 @@ var enUSMessages = {
2479
2487
  "segmentMessages.licensedProfessional.step.success.redirectButtonText": "Use code now",
2480
2488
  "segmentMessages.licensedProfessional.step.success.subtitle": "Here is your personal coupon code. It is unique to you and can only be used once.",
2481
2489
  "segmentMessages.licensedProfessional.step.success.title": "You've been verified",
2482
- "segmentMessages.medical.emailExplanation": "Needed to send you your unique code",
2490
+ "segmentMessages.medical.emailExplanation": "Use your work email if you have one",
2483
2491
  "segmentMessages.medical.step.docUpload.howDoesVerifyingWorkDetails": "Document review is handled by SheerID, a trusted partner who specializes in verifying\n medical professionals.<br><br>Documents are used only for verifying your medical professional status is\n current and will be permanently deleted after review is finalized. They will not be shared with {companyName}.",
2484
2492
  "segmentMessages.medical.step.docUpload.subtitle": "Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",
2485
2493
  "segmentMessages.medical.step.docUpload.title": "We need more information",
@@ -2597,118 +2605,118 @@ const getMessagesModuleByLocale = async (locale) => {
2597
2605
  /* tslint:disable:space-in-parens */
2598
2606
  switch (locale) {
2599
2607
  case 'ar':
2600
- localizedMessages = await import(/* webpackChunkName: "messages_ar" */ './es6/ar-8068dab6.es.js').then(m => m.default);
2608
+ localizedMessages = await import(/* webpackChunkName: "messages_ar" */ './es6/ar-44a61ad2.es.js').then(m => m.default);
2601
2609
  break;
2602
2610
  case 'bg':
2603
- localizedMessages = await import(/* webpackChunkName: "messages_bg" */ './es6/bg-44287e7c.es.js').then(m => m.default);
2611
+ localizedMessages = await import(/* webpackChunkName: "messages_bg" */ './es6/bg-a8e7079f.es.js').then(m => m.default);
2604
2612
  break;
2605
2613
  case 'cs':
2606
- localizedMessages = await import(/* webpackChunkName: "messages_cs" */ './es6/cs-d8b4c497.es.js').then(m => m.default);
2614
+ localizedMessages = await import(/* webpackChunkName: "messages_cs" */ './es6/cs-949aa4e9.es.js').then(m => m.default);
2607
2615
  break;
2608
2616
  case 'da':
2609
- localizedMessages = await import(/* webpackChunkName: "messages_da" */ './es6/da-54c14896.es.js').then(m => m.default);
2617
+ localizedMessages = await import(/* webpackChunkName: "messages_da" */ './es6/da-2fc2c80d.es.js').then(m => m.default);
2610
2618
  break;
2611
2619
  case 'de':
2612
- localizedMessages = await import(/* webpackChunkName: "messages_de" */ './es6/de-3e6806c8.es.js').then(m => m.default);
2620
+ localizedMessages = await import(/* webpackChunkName: "messages_de" */ './es6/de-401987e2.es.js').then(m => m.default);
2613
2621
  break;
2614
2622
  case 'el':
2615
- localizedMessages = await import(/* webpackChunkName: "messages_el" */ './es6/el-3935c4d5.es.js').then(m => m.default);
2623
+ localizedMessages = await import(/* webpackChunkName: "messages_el" */ './es6/el-cec2efeb.es.js').then(m => m.default);
2616
2624
  break;
2617
2625
  case 'en-GB':
2618
- localizedMessages = await import(/* webpackChunkName: "messages_en-GB" */ './es6/en-GB-0536c588.es.js').then(m => m.default);
2626
+ localizedMessages = await import(/* webpackChunkName: "messages_en-GB" */ './es6/en-GB-8fc067fd.es.js').then(m => m.default);
2619
2627
  break;
2620
2628
  case 'en-US':
2621
2629
  localizedMessages = enUSMessages;
2622
2630
  break;
2623
2631
  case 'es-ES':
2624
- localizedMessages = await import(/* webpackChunkName: "messages_es-ES" */ './es6/es-ES-eca6a76e.es.js').then(m => m.default);
2632
+ localizedMessages = await import(/* webpackChunkName: "messages_es-ES" */ './es6/es-ES-e9527dfc.es.js').then(m => m.default);
2625
2633
  break;
2626
2634
  case 'es':
2627
- localizedMessages = await import(/* webpackChunkName: "messages_es" */ './es6/es-32e5991a.es.js').then(m => m.default);
2635
+ localizedMessages = await import(/* webpackChunkName: "messages_es" */ './es6/es-aa33cef4.es.js').then(m => m.default);
2628
2636
  break;
2629
2637
  case 'fi':
2630
- localizedMessages = await import(/* webpackChunkName: "messages_fi" */ './es6/fi-aed748d2.es.js').then(m => m.default);
2638
+ localizedMessages = await import(/* webpackChunkName: "messages_fi" */ './es6/fi-21d78621.es.js').then(m => m.default);
2631
2639
  break;
2632
2640
  case 'fr-CA':
2633
- localizedMessages = await import(/* webpackChunkName: "messages_fr-CA" */ './es6/fr-CA-472c60e5.es.js').then(m => m.default);
2641
+ localizedMessages = await import(/* webpackChunkName: "messages_fr-CA" */ './es6/fr-CA-8fbf70d7.es.js').then(m => m.default);
2634
2642
  break;
2635
2643
  case 'fr':
2636
- localizedMessages = await import(/* webpackChunkName: "messages_fr" */ './es6/fr-d27beb6f.es.js').then(m => m.default);
2644
+ localizedMessages = await import(/* webpackChunkName: "messages_fr" */ './es6/fr-ac551692.es.js').then(m => m.default);
2637
2645
  break;
2638
2646
  case 'ga':
2639
- localizedMessages = await import(/* webpackChunkName: "messages_ga" */ './es6/ga-cd739108.es.js').then(m => m.default);
2647
+ localizedMessages = await import(/* webpackChunkName: "messages_ga" */ './es6/ga-fa4aaf25.es.js').then(m => m.default);
2640
2648
  break;
2641
2649
  case 'hr':
2642
- localizedMessages = await import(/* webpackChunkName: "messages_hr" */ './es6/hr-4b6390b1.es.js').then(m => m.default);
2650
+ localizedMessages = await import(/* webpackChunkName: "messages_hr" */ './es6/hr-f6a75688.es.js').then(m => m.default);
2643
2651
  break;
2644
2652
  case 'hu':
2645
- localizedMessages = await import(/* webpackChunkName: "messages_hu" */ './es6/hu-68666ba3.es.js').then(m => m.default);
2653
+ localizedMessages = await import(/* webpackChunkName: "messages_hu" */ './es6/hu-dc5ce68a.es.js').then(m => m.default);
2646
2654
  break;
2647
2655
  case 'id':
2648
- localizedMessages = await import(/* webpackChunkName: "messages_id" */ './es6/id-d4d36e25.es.js').then(m => m.default);
2656
+ localizedMessages = await import(/* webpackChunkName: "messages_id" */ './es6/id-8deafa7f.es.js').then(m => m.default);
2649
2657
  break;
2650
2658
  case 'it':
2651
- localizedMessages = await import(/* webpackChunkName: "messages_it" */ './es6/it-f810af3d.es.js').then(m => m.default);
2659
+ localizedMessages = await import(/* webpackChunkName: "messages_it" */ './es6/it-fd8a0a5d.es.js').then(m => m.default);
2652
2660
  break;
2653
2661
  case 'iw':
2654
- localizedMessages = await import(/* webpackChunkName: "messages_iw" */ './es6/iw-a58ab227.es.js').then(m => m.default);
2662
+ localizedMessages = await import(/* webpackChunkName: "messages_iw" */ './es6/iw-60b4ec5f.es.js').then(m => m.default);
2655
2663
  break;
2656
2664
  case 'ja':
2657
- localizedMessages = await import(/* webpackChunkName: "messages_ja" */ './es6/ja-76983559.es.js').then(m => m.default);
2665
+ localizedMessages = await import(/* webpackChunkName: "messages_ja" */ './es6/ja-8b791dc1.es.js').then(m => m.default);
2658
2666
  break;
2659
2667
  case 'ko':
2660
- localizedMessages = await import(/* webpackChunkName: "messages_ko" */ './es6/ko-b358da91.es.js').then(m => m.default);
2668
+ localizedMessages = await import(/* webpackChunkName: "messages_ko" */ './es6/ko-9291b8b2.es.js').then(m => m.default);
2661
2669
  break;
2662
2670
  case 'lo':
2663
- localizedMessages = await import(/* webpackChunkName: "messages_lo" */ './es6/lo-008d2746.es.js').then(m => m.default);
2671
+ localizedMessages = await import(/* webpackChunkName: "messages_lo" */ './es6/lo-af088901.es.js').then(m => m.default);
2664
2672
  break;
2665
2673
  case 'lt':
2666
- localizedMessages = await import(/* webpackChunkName: "messages_lt" */ './es6/lt-9b3b251d.es.js').then(m => m.default);
2674
+ localizedMessages = await import(/* webpackChunkName: "messages_lt" */ './es6/lt-83e5c86c.es.js').then(m => m.default);
2667
2675
  break;
2668
2676
  case 'ms':
2669
- localizedMessages = await import(/* webpackChunkName: "messages_ms" */ './es6/ms-89220c51.es.js').then(m => m.default);
2677
+ localizedMessages = await import(/* webpackChunkName: "messages_ms" */ './es6/ms-143f4b1c.es.js').then(m => m.default);
2670
2678
  break;
2671
2679
  case 'nl':
2672
- localizedMessages = await import(/* webpackChunkName: "messages_nl" */ './es6/nl-a4ac7600.es.js').then(m => m.default);
2680
+ localizedMessages = await import(/* webpackChunkName: "messages_nl" */ './es6/nl-be3d61b4.es.js').then(m => m.default);
2673
2681
  break;
2674
2682
  case 'no':
2675
- localizedMessages = await import(/* webpackChunkName: "messages_no" */ './es6/no-c0b1b17b.es.js').then(m => m.default);
2683
+ localizedMessages = await import(/* webpackChunkName: "messages_no" */ './es6/no-b3e07beb.es.js').then(m => m.default);
2676
2684
  break;
2677
2685
  case 'pl':
2678
- localizedMessages = await import(/* webpackChunkName: "messages_pl" */ './es6/pl-7c70bce1.es.js').then(m => m.default);
2686
+ localizedMessages = await import(/* webpackChunkName: "messages_pl" */ './es6/pl-9820aeff.es.js').then(m => m.default);
2679
2687
  break;
2680
2688
  case 'pt-BR':
2681
- localizedMessages = await import(/* webpackChunkName: "messages_pt-BR" */ './es6/pt-BR-2bb50756.es.js').then(m => m.default);
2689
+ localizedMessages = await import(/* webpackChunkName: "messages_pt-BR" */ './es6/pt-BR-36869313.es.js').then(m => m.default);
2682
2690
  break;
2683
2691
  case 'pt':
2684
- localizedMessages = await import(/* webpackChunkName: "messages_pt" */ './es6/pt-81a3a2fc.es.js').then(m => m.default);
2692
+ localizedMessages = await import(/* webpackChunkName: "messages_pt" */ './es6/pt-da8d7b16.es.js').then(m => m.default);
2685
2693
  break;
2686
2694
  case 'ru':
2687
- localizedMessages = await import(/* webpackChunkName: "messages_ru" */ './es6/ru-0377bbb3.es.js').then(m => m.default);
2695
+ localizedMessages = await import(/* webpackChunkName: "messages_ru" */ './es6/ru-f1984706.es.js').then(m => m.default);
2688
2696
  break;
2689
2697
  case 'sk':
2690
- localizedMessages = await import(/* webpackChunkName: "messages_sk" */ './es6/sk-4d0782cc.es.js').then(m => m.default);
2698
+ localizedMessages = await import(/* webpackChunkName: "messages_sk" */ './es6/sk-e3a93a76.es.js').then(m => m.default);
2691
2699
  break;
2692
2700
  case 'sl':
2693
- localizedMessages = await import(/* webpackChunkName: "messages_sl" */ './es6/sl-429f4d1d.es.js').then(m => m.default);
2701
+ localizedMessages = await import(/* webpackChunkName: "messages_sl" */ './es6/sl-7b86c8f9.es.js').then(m => m.default);
2694
2702
  break;
2695
2703
  case 'sr':
2696
- localizedMessages = await import(/* webpackChunkName: "messages_sr" */ './es6/sr-13739cb8.es.js').then(m => m.default);
2704
+ localizedMessages = await import(/* webpackChunkName: "messages_sr" */ './es6/sr-a9993a3b.es.js').then(m => m.default);
2697
2705
  break;
2698
2706
  case 'sv':
2699
- localizedMessages = await import(/* webpackChunkName: "messages_sv" */ './es6/sv-0a0fdfc4.es.js').then(m => m.default);
2707
+ localizedMessages = await import(/* webpackChunkName: "messages_sv" */ './es6/sv-54bcca73.es.js').then(m => m.default);
2700
2708
  break;
2701
2709
  case 'th':
2702
- localizedMessages = await import(/* webpackChunkName: "messages_th" */ './es6/th-b8359b99.es.js').then(m => m.default);
2710
+ localizedMessages = await import(/* webpackChunkName: "messages_th" */ './es6/th-a74755d2.es.js').then(m => m.default);
2703
2711
  break;
2704
2712
  case 'tr':
2705
- localizedMessages = await import(/* webpackChunkName: "messages_tr" */ './es6/tr-8be3ee98.es.js').then(m => m.default);
2713
+ localizedMessages = await import(/* webpackChunkName: "messages_tr" */ './es6/tr-efef909b.es.js').then(m => m.default);
2706
2714
  break;
2707
2715
  case 'zh-HK':
2708
- localizedMessages = await import(/* webpackChunkName: "messages_zh-HK" */ './es6/zh-HK-0f5a762e.es.js').then(m => m.default);
2716
+ localizedMessages = await import(/* webpackChunkName: "messages_zh-HK" */ './es6/zh-HK-cca3f9e3.es.js').then(m => m.default);
2709
2717
  break;
2710
2718
  case 'zh':
2711
- localizedMessages = await import(/* webpackChunkName: "messages_zh" */ './es6/zh-24ea267c.es.js').then(m => m.default);
2719
+ localizedMessages = await import(/* webpackChunkName: "messages_zh" */ './es6/zh-fd96e6cc.es.js').then(m => m.default);
2712
2720
  break;
2713
2721
  default:
2714
2722
  logger.warn(`getMessagesModuleByLocale: Unable to load messages for ${locale}, falling back to en-US`);
@@ -4481,6 +4489,9 @@ const populateViewModelFromQueryParams = (verificationService) => {
4481
4489
  });
4482
4490
  verificationService.updateViewModel(nextState);
4483
4491
  };
4492
+ const updateFieldValidationErrors = (fieldValidationErrors, verificationService) => {
4493
+ verificationService.updateFieldValidationErrors(fieldValidationErrors);
4494
+ };
4484
4495
  const updateFieldValidationErrorsByFieldId = (fieldId, value, verificationService) => {
4485
4496
  const { fieldValidationErrors } = verificationService;
4486
4497
  const nextState = fn(fieldValidationErrors, (draft) => {
@@ -4490,13 +4501,16 @@ const updateFieldValidationErrorsByFieldId = (fieldId, value, verificationServic
4490
4501
  });
4491
4502
  updateFieldValidationErrors(nextState, verificationService);
4492
4503
  };
4493
- const updateFieldValidationErrors = (fieldValidationErrors, verificationService) => {
4494
- verificationService.updateFieldValidationErrors(fieldValidationErrors);
4495
- };
4496
4504
  const shouldCollectAddressFields = (countryChoice, countries) => (getSafe(() => countries.length === 1)
4497
4505
  && getSafe(() => countries[0]) === 'US')
4498
4506
  || getSafe(() => countryChoice.value === 'US')
4499
4507
  || getSafe(() => countryChoice.value === undefined);
4508
+ const getStatusLabel = (intl, status, defaultMessages) => {
4509
+ if (!status) {
4510
+ return '';
4511
+ }
4512
+ return intl.formatMessage({ id: status, defaultMessage: defaultMessages[status] });
4513
+ };
4500
4514
  const getAvailableMilitaryStatuses = (verificationService, intl) => {
4501
4515
  const availableStatusesResponse = verificationService.verificationResponse.availableStatuses
4502
4516
  || (verificationService.previousVerificationResponse
@@ -4505,12 +4519,12 @@ const getAvailableMilitaryStatuses = (verificationService, intl) => {
4505
4519
  if (!availableStatusesResponse) {
4506
4520
  return null;
4507
4521
  }
4508
- for (const status of availableStatusesResponse) {
4522
+ availableStatusesResponse.forEach((status) => {
4509
4523
  availableStatuses.push({
4510
4524
  value: status,
4511
- label: intl.formatMessage({ id: status, defaultMessage: MilitaryStatusDefaultMessagesEnum[status] }),
4525
+ label: getStatusLabel(intl, status, MilitaryStatusDefaultMessagesEnum),
4512
4526
  });
4513
- }
4527
+ });
4514
4528
  return availableStatuses;
4515
4529
  };
4516
4530
  /**
@@ -4522,18 +4536,6 @@ const getFieldDisplayOrderFromRefs = () => {
4522
4536
  refs.map((refObject) => fieldDisplayOrder.push(refObject.fieldId));
4523
4537
  return fieldDisplayOrder;
4524
4538
  };
4525
- /**
4526
- * @private
4527
- */
4528
- const getFirstErroredFieldId = (fieldDisplayOrder, fieldValidationErrors) => {
4529
- let firstErrordFieldId;
4530
- for (const field of fieldDisplayOrder) {
4531
- if (fieldValidationErrors[field]) {
4532
- firstErrordFieldId = field;
4533
- return adjustFirstErroredFieldId(firstErrordFieldId);
4534
- }
4535
- }
4536
- };
4537
4539
  /**
4538
4540
  * HD-638 - focus on year, rather than month (which is an open <select> that covers error msg)
4539
4541
  */
@@ -4543,6 +4545,19 @@ const adjustFirstErroredFieldId = (firstErroredFieldId) => {
4543
4545
  }
4544
4546
  return firstErroredFieldId;
4545
4547
  };
4548
+ /**
4549
+ * @private
4550
+ */
4551
+ const getFirstErroredFieldId = (fieldDisplayOrder, fieldValidationErrors) => {
4552
+ let firstErroredFieldId;
4553
+ fieldDisplayOrder.forEach((field) => {
4554
+ if (fieldValidationErrors[field]) {
4555
+ firstErroredFieldId = field;
4556
+ return adjustFirstErroredFieldId(firstErroredFieldId);
4557
+ }
4558
+ });
4559
+ return adjustFirstErroredFieldId(firstErroredFieldId);
4560
+ };
4546
4561
  /**
4547
4562
  * @private
4548
4563
  */
@@ -4622,6 +4637,16 @@ const getAvailableStateChoices = (programTheme, intl) => {
4622
4637
  }),
4623
4638
  }));
4624
4639
  };
4640
+ const produceDraftViewModelWithRequiredFields = (previousModel, newRequiredFields, conditionalRequiredFieldKeys) => (fn(previousModel, (draft) => {
4641
+ conditionalRequiredFieldKeys.forEach((requiredFieldKey) => {
4642
+ if (newRequiredFields.some((field) => field.key === requiredFieldKey)) {
4643
+ draft[requiredFieldKey] = previousModel[requiredFieldKey] !== undefined ? previousModel[requiredFieldKey] : '';
4644
+ }
4645
+ else {
4646
+ delete draft[requiredFieldKey];
4647
+ }
4648
+ });
4649
+ }));
4625
4650
  /**
4626
4651
  * @private
4627
4652
  */
@@ -9994,7 +10019,7 @@ const memberMessages = {
9994
10019
  };
9995
10020
 
9996
10021
  const medicalMessages = {
9997
- emailExplanation: 'Needed to send you your unique code',
10022
+ emailExplanation: 'Use your work email if you have one',
9998
10023
  step: {
9999
10024
  personalInfo: {
10000
10025
  title: 'Unlock this Medical Professional-Only Offer',
@@ -11046,6 +11071,10 @@ const memberViewModelToRequest = (viewModel) => ({
11046
11071
  deviceFingerprintHash: viewModel.deviceFingerprintHash,
11047
11072
  locale: viewModel.localeChoice.value,
11048
11073
  metadata: viewModel.metadata,
11074
+ address1: viewModel.address1,
11075
+ city: viewModel.city,
11076
+ state: viewModel.state,
11077
+ postalCode: viewModel.postalCode,
11049
11078
  });
11050
11079
  const seniorViewModelToRequest = (viewModel) => ({
11051
11080
  firstName: viewModel.firstName,
@@ -11068,6 +11097,8 @@ const ageViewModelToRequest = (viewModel) => ({
11068
11097
  deviceFingerprintHash: viewModel.deviceFingerprintHash,
11069
11098
  locale: viewModel.localeChoice.value,
11070
11099
  country: viewModel.countryChoice ? viewModel.countryChoice.value : undefined,
11100
+ city: viewModel.city !== '' ? viewModel.city : undefined,
11101
+ address1: viewModel.address1 !== '' ? viewModel.address1 : undefined,
11071
11102
  metadata: viewModel.metadata,
11072
11103
  });
11073
11104
  // ActiveMilitaryPersonalInfoViewModel contains multiple keys we don't want so we can't return the full viewModel as the request body
@@ -15670,7 +15701,7 @@ const OptInComponent = ({ isErrored, isRequired, onChange, value, verificationSe
15670
15701
  const marketConsentConfig = (verificationService
15671
15702
  && verificationService.programTheme && getMarketConsent(verificationService.programTheme)) || {};
15672
15703
  const defaultMessage = marketConsentConfig.message
15673
- || 'I would like to receive marketing communications, including email, from {company} and its family of brands.';
15704
+ || 'Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more';
15674
15705
  React.useEffect(() => {
15675
15706
  setCustomValidator(optInFieldId, getOptInValidationError);
15676
15707
  }, [optInFieldId, getOptInValidationError]);
@@ -15681,7 +15712,7 @@ const OptInComponent = ({ isErrored, isRequired, onChange, value, verificationSe
15681
15712
  React.createElement(OptInInputComponent, { isErrored: isErrored, onChange: onChange, value: value }),
15682
15713
  React.createElement("div", { className: "sid-field__label sid-checkbox__label" }, verificationService
15683
15714
  ? (React.createElement(FormattedMessage, { id: "companyName", defaultMessage: "{Company}" }, companyName => (React.createElement(FormattedHTMLMessage, { id: "optIn", values: { company: companyName }, defaultMessage: defaultMessage }))))
15684
- : (React.createElement(FormattedHTMLMessage, { id: "optIn", defaultMessage: "I would like to receive marketing communications, including email, from {company} and its family of brands." }))),
15715
+ : (React.createElement(FormattedHTMLMessage, { id: "optIn", defaultMessage: defaultMessage }))),
15685
15716
  isErrored
15686
15717
  ? (React.createElement("div", { className: "sid-field-error" },
15687
15718
  React.createElement(FormattedHTMLMessage, { id: "errorId.invalidOptIn", defaultMessage: "Must be selected to continue" })))
@@ -16537,6 +16568,28 @@ const carrierConsentValueValidator = (countryChoiceValue) => (value, programThem
16537
16568
  }
16538
16569
  };
16539
16570
 
16571
+ const City = ({ value, isErrored, onChange, intl, onKeyDown = undefined, placeholder = '', }) => (React.createElement("div", { className: "sid-field sid-city" },
16572
+ React.createElement("div", { className: "sid-l-space-top-md" }),
16573
+ React.createElement("label", { htmlFor: "sid-city" },
16574
+ React.createElement("div", { className: `sid-field__label sid-l-space-btm-sm ${placeholder ? 'sid-h-screen-reader-only' : ''}` },
16575
+ React.createElement("div", { className: "sid-field__label sid-field__label--required" },
16576
+ React.createElement(FormattedHTMLMessage, { id: "city", defaultMessage: "City" })))),
16577
+ React.createElement(InputTextComponent, { id: "city", isErrored: isErrored, onChange: e => onChange(e.target.value), onKeyDown: typeof onKeyDown === 'function' ? e => onKeyDown(e) : undefined, placeholder: placeholder || intl.formatMessage({ id: 'cityPlaceholder', defaultMessage: 'City*' }), value: value }),
16578
+ isErrored ? (React.createElement("div", { className: "sid-field-error" },
16579
+ React.createElement(FormattedHTMLMessage, { id: "errorId.invalidCity", defaultMessage: "Invalid city" }))) : null));
16580
+ const CityComponent = injectIntl(City);
16581
+
16582
+ const Address = ({ value, isErrored, onChange, intl, onKeyDown = undefined, placeholder = '', }) => (React.createElement("div", { className: "sid-field sid-address" },
16583
+ React.createElement("div", { className: "sid-l-space-top-md" }),
16584
+ React.createElement("label", { htmlFor: "sid-address" },
16585
+ React.createElement("div", { className: `sid-field__label sid-l-space-btm-sm ${placeholder ? 'sid-h-screen-reader-only' : ''}` },
16586
+ React.createElement("div", { className: "sid-field__label sid-field__label--required" },
16587
+ React.createElement(FormattedHTMLMessage, { id: "address", defaultMessage: "Address" })))),
16588
+ React.createElement(InputTextComponent, { id: "address", isErrored: isErrored, onChange: e => onChange(e.target.value), onKeyDown: typeof onKeyDown === 'function' ? e => onKeyDown(e) : undefined, placeholder: placeholder || intl.formatMessage({ id: 'addressPlaceholder', defaultMessage: 'Address*' }), value: value }),
16589
+ isErrored ? (React.createElement("div", { className: "sid-field-error" },
16590
+ React.createElement(FormattedHTMLMessage, { id: "errorId.invalidAddress", defaultMessage: "Invalid address" }))) : null));
16591
+ const AddressComponent = injectIntl(Address);
16592
+
16540
16593
  /**
16541
16594
  * TODO - preamble
16542
16595
  */
@@ -16549,6 +16602,8 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
16549
16602
  const defaultCountryChoice = getDefaultCountryChoice(countryChoices);
16550
16603
  const { isSmsNotifierConfigured, smsLoopEnabled } = verificationService.programTheme;
16551
16604
  const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);
16605
+ const defaultRequiredFields = safeCountryValue === 'US' ? [{ key: 'postalCode' }] : [];
16606
+ const [requiredFields, setRequiredFields] = React.useState(defaultRequiredFields);
16552
16607
  if (!fieldValidationErrors.phoneNumber && verificationResponse.errorIds && verificationResponse.errorIds.includes('invalidPhoneNumber')) {
16553
16608
  verificationService.updateFieldValidationErrors({
16554
16609
  ...fieldValidationErrors,
@@ -16557,13 +16612,15 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
16557
16612
  }
16558
16613
  const displayPhoneNumber = (country, displayForSmsLoop) => (country !== 'US' || displayForSmsLoop);
16559
16614
  const updateAgeViewModel = (key, value) => {
16560
- const nextState = fn(viewModel, (draft) => {
16561
- draft[key] = value;
16562
- });
16615
+ const nextState = produceDraftViewModel(viewModel, key, value);
16563
16616
  verificationService.updateViewModel(nextState);
16564
16617
  };
16618
+ const updateViewModelWithRequiredFields = (newRequiredFields, conditionalRequiredFieldKeys) => {
16619
+ const nextState = produceDraftViewModelWithRequiredFields(viewModel, newRequiredFields, conditionalRequiredFieldKeys);
16620
+ verificationService.updateViewModel(nextState);
16621
+ };
16622
+ const isFieldRequired = (key) => requiredFields.some((field) => field.key === key);
16565
16623
  overrideValidator('phoneNumber', phoneNumberValidator(safeCountryValue));
16566
- overrideValidator('postalCode', postalCodeValidator(safeCountryValue));
16567
16624
  if (displayPhoneNumber(safeCountryValue, smsLoopEnabled)) {
16568
16625
  if (!customValidatorExists$1('carrierConsentValue')) {
16569
16626
  setCustomValidator('carrierConsentValue', carrierConsentValueValidator(safeCountryValue));
@@ -16576,6 +16633,19 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
16576
16633
  updateAgeViewModel('metadata', { ...verificationService.viewModel.metadata, carrierConsentValue: newValue });
16577
16634
  updateFieldValidationErrorsByFieldId('carrierConsentValue', newValue, verificationService);
16578
16635
  };
16636
+ React.useEffect(() => {
16637
+ (async () => {
16638
+ try {
16639
+ const collectFieldsResponse = await getFieldsToCollect(verificationResponse.verificationId, verificationResponse.currentStep, viewModel);
16640
+ const newRequiredFields = getSafe(() => collectFieldsResponse.fieldsToCollect.required, []);
16641
+ updateViewModelWithRequiredFields(newRequiredFields, ['postalCode', 'city', 'address1']);
16642
+ setRequiredFields(newRequiredFields);
16643
+ }
16644
+ catch (error) {
16645
+ logger.error(`Failed to determine fields to collect: ${error}`);
16646
+ }
16647
+ })();
16648
+ }, [viewModel.country]);
16579
16649
  return (React.createElement("div", { id: "sid-step-student-personal-info", className: "sid-l-container" },
16580
16650
  failedInstantMatch
16581
16651
  ? (React.createElement("div", { className: "sid-header" },
@@ -16601,9 +16671,6 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
16601
16671
  if (!displayPhoneNumber(country, smsLoopEnabled)) {
16602
16672
  viewModelDraft.phoneNumber = '';
16603
16673
  }
16604
- if (country !== 'US') {
16605
- viewModelDraft.postalCode = '';
16606
- }
16607
16674
  } }),
16608
16675
  React.createElement("div", { className: "sid-names" },
16609
16676
  React.createElement(FirstNameComponent, { value: viewModel.firstName, isErrored: !!fieldValidationErrors.firstName, onChange: (newValue) => {
@@ -16618,7 +16685,15 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
16618
16685
  updateAgeViewModel('birthDate', newValue);
16619
16686
  updateFieldValidationErrorsByFieldId('birthDate', newValue, verificationService);
16620
16687
  }, value: viewModel.birthDate }),
16621
- safeCountryValue === 'US' && (React.createElement(PostalCodeComponent, { isErrored: !!fieldValidationErrors.postalCode, onChange: (newValue) => {
16688
+ isFieldRequired('city') && (React.createElement(CityComponent, { value: viewModel.city, isRequired: true, isErrored: !!fieldValidationErrors.city, errorId: fieldValidationErrors.city, onChange: (value) => {
16689
+ updateAgeViewModel('city', value);
16690
+ updateFieldValidationErrorsByFieldId('city', value, verificationService);
16691
+ } })),
16692
+ isFieldRequired('address1') && (React.createElement(AddressComponent, { value: viewModel.address1, isRequired: true, isErrored: !!fieldValidationErrors.address1, errorId: fieldValidationErrors.address1, onChange: (value) => {
16693
+ updateAgeViewModel('address1', value);
16694
+ updateFieldValidationErrorsByFieldId('address1', value, verificationService);
16695
+ } })),
16696
+ isFieldRequired('postalCode') && (React.createElement(PostalCodeComponent, { isErrored: !!fieldValidationErrors.postalCode, onChange: (newValue) => {
16622
16697
  updateAgeViewModel('postalCode', newValue);
16623
16698
  updateFieldValidationErrorsByFieldId('postalCode', newValue, verificationService);
16624
16699
  }, value: viewModel.postalCode })),
@@ -16914,8 +16989,16 @@ const MilitaryStatus = ({ value, isErrored, options, onChange, intl, placeholder
16914
16989
  React.createElement(FormattedHTMLMessage, { id: "errorId.invalidStatus", defaultMessage: "Invalid military status" }))) : null));
16915
16990
  const MilitaryStatusComponent = injectIntl(MilitaryStatus);
16916
16991
 
16917
- const orgsInStatus = status => org => (status === 'RESERVIST' ? militaryReservistOrgNames.includes(org.name) : !militaryReservistOrgNames.includes(org.name));
16918
- const orgToOption = org => ({ value: org.id, label: org.name });
16992
+ const orgsInStatus = (status) => (org) => {
16993
+ if (status === 'VETERAN') {
16994
+ return !!org.name;
16995
+ }
16996
+ if (status === 'RESERVIST') {
16997
+ return militaryReservistOrgNames.includes(org.name);
16998
+ }
16999
+ return !militaryReservistOrgNames.includes(org.name);
17000
+ };
17001
+ const orgToOption = (org) => ({ value: org.id, label: org.name });
16919
17002
  const updateMilitaryViewModel = (key, value, verificationService, availableStatuses) => {
16920
17003
  const viewModel = verificationService.viewModel;
16921
17004
  const nextState = fn(viewModel, (draft) => {
@@ -17011,8 +17094,8 @@ const StepActiveMilitaryPersonalInfo = ({ intl, verificationService }) => {
17011
17094
  React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel, nextFocusField: "status" }),
17012
17095
  availableStatuses
17013
17096
  ? (React.createElement(MilitaryStatusComponent, { value: {
17014
- value: verificationService.viewModel.status,
17015
- label: MilitaryStatusDefaultMessagesEnum[verificationService.viewModel.status],
17097
+ value: viewModel.status,
17098
+ label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),
17016
17099
  }, isErrored: !!fieldValidationErrors.status, options: availableStatuses, onChange: (status) => {
17017
17100
  updateActiveMilitaryViewModel('status', status ? status.value : '');
17018
17101
  updateFieldValidationErrorsByFieldId('status', status ? status.value : '', verificationService);
@@ -17194,8 +17277,8 @@ const StepInactiveMilitaryPersonalInfo = ({ intl, verificationService }) => {
17194
17277
  React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel, nextFocusField: "status" }),
17195
17278
  availableStatuses
17196
17279
  ? (React.createElement(MilitaryStatusComponent, { value: {
17197
- value: verificationService.viewModel.status,
17198
- label: MilitaryStatusDefaultMessagesEnum[verificationService.viewModel.status],
17280
+ value: viewModel.status,
17281
+ label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),
17199
17282
  }, isErrored: !!fieldValidationErrors.status, options: availableStatuses, onChange: (status) => {
17200
17283
  updateInactiveMilitaryViewModel('status', status ? status.value : '');
17201
17284
  updateFieldValidationErrorsByFieldId('status', status ? status.value : '', verificationService);
@@ -17289,12 +17372,12 @@ const StepFirstResponderPersonalInfo = ({ intl, verificationService }) => {
17289
17372
  const getAvailableFirstResponderStatuses = () => {
17290
17373
  const availableStatusesResponse = verificationService.verificationResponse.availableStatuses;
17291
17374
  const availableStatuses = [];
17292
- for (const status of availableStatusesResponse) {
17375
+ availableStatusesResponse.forEach((status) => {
17293
17376
  availableStatuses.push({
17294
17377
  value: status,
17295
- label: intl.formatMessage({ id: status, defaultMessage: FirstResponderStatusDefaultMessagesEnum[status] }),
17378
+ label: getStatusLabel(intl, status, FirstResponderStatusDefaultMessagesEnum),
17296
17379
  });
17297
- }
17380
+ });
17298
17381
  return availableStatuses;
17299
17382
  };
17300
17383
  const handleFirstResponderStatusOnKeyDown = (event) => {
@@ -17334,8 +17417,8 @@ const StepFirstResponderPersonalInfo = ({ intl, verificationService }) => {
17334
17417
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
17335
17418
  React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel, nextFocusField: "status" }),
17336
17419
  React.createElement(FirstResponderStatusComponent, { value: {
17337
- value: verificationService.viewModel.status,
17338
- label: FirstResponderStatusDefaultMessagesEnum[verificationService.viewModel.status],
17420
+ value: viewModel.status,
17421
+ label: getStatusLabel(intl, viewModel.status, FirstResponderStatusDefaultMessagesEnum),
17339
17422
  }, isErrored: !!fieldValidationErrors.status, options: getAvailableFirstResponderStatuses(), onChange: (status) => {
17340
17423
  updateFirstResponderViewModel('status', status ? status.value : '');
17341
17424
  updateFieldValidationErrorsByFieldId('status', status ? status.value : '', verificationService);
@@ -17435,12 +17518,6 @@ const StepMedicalProfessionalPersonalInfo = ({ intl, verificationService }) => {
17435
17518
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
17436
17519
  const [memberIdMessageKeys, setMemberIdMessageKeys] = React.useState(undefined);
17437
17520
  const [showMemberId, setShowMemberId] = React.useState(false);
17438
- const getStatusLabel = (status) => {
17439
- if (!status) {
17440
- return '';
17441
- }
17442
- return intl.formatMessage({ id: status, defaultMessage: MedicalProfessionalStatusDefaultMessagesEnum[status] });
17443
- };
17444
17521
  const updateMedicalProfessionalViewModel = (key, value) => {
17445
17522
  const nextState = produceDraftViewModel(viewModel, key, value);
17446
17523
  verificationService.updateViewModel(nextState);
@@ -17448,12 +17525,12 @@ const StepMedicalProfessionalPersonalInfo = ({ intl, verificationService }) => {
17448
17525
  const getAvailableMedicalStatuses = () => {
17449
17526
  const availableStatusesResponse = verificationResponse.availableStatuses;
17450
17527
  const availableStatuses = [];
17451
- for (const status of availableStatusesResponse) {
17528
+ availableStatusesResponse.forEach((status) => {
17452
17529
  availableStatuses.push({
17453
17530
  value: status,
17454
- label: getStatusLabel(status),
17531
+ label: getStatusLabel(intl, status, MedicalProfessionalStatusDefaultMessagesEnum),
17455
17532
  });
17456
- }
17533
+ });
17457
17534
  return availableStatuses;
17458
17535
  };
17459
17536
  const handleMedicalStatusOnKeyDown = (event) => {
@@ -17505,7 +17582,7 @@ const StepMedicalProfessionalPersonalInfo = ({ intl, verificationService }) => {
17505
17582
  React.createElement(CountryComponentWrapper, { verificationService: verificationService, viewModel: viewModel }),
17506
17583
  React.createElement(MedicalStatusComponent, { value: {
17507
17584
  value: viewModel.status,
17508
- label: getStatusLabel(viewModel.status),
17585
+ label: getStatusLabel(intl, viewModel.status, MedicalProfessionalStatusDefaultMessagesEnum),
17509
17586
  }, isErrored: !!fieldValidationErrors.status, options: getAvailableMedicalStatuses(), onChange: (status) => {
17510
17587
  updateMedicalProfessionalViewModel('status', status ? status.value : '');
17511
17588
  updateFieldValidationErrorsByFieldId('status', status ? status.value : '', verificationService);
@@ -17562,28 +17639,6 @@ const StepMedicalProfessionalPersonalInfo = ({ intl, verificationService }) => {
17562
17639
  };
17563
17640
  const StepMedicalProfessionalPersonalInfoComponent = injectIntl(StepMedicalProfessionalPersonalInfo);
17564
17641
 
17565
- const Address = ({ value, isErrored, onChange, intl, onKeyDown = undefined, placeholder = '', }) => (React.createElement("div", { className: "sid-field sid-address" },
17566
- React.createElement("div", { className: "sid-l-space-top-md" }),
17567
- React.createElement("label", { htmlFor: "sid-address" },
17568
- React.createElement("div", { className: `sid-field__label sid-l-space-btm-sm ${placeholder ? 'sid-h-screen-reader-only' : ''}` },
17569
- React.createElement("div", { className: "sid-field__label sid-field__label--required" },
17570
- React.createElement(FormattedHTMLMessage, { id: "address", defaultMessage: "Address" })))),
17571
- React.createElement(InputTextComponent, { id: "address", isErrored: isErrored, onChange: e => onChange(e.target.value), onKeyDown: typeof onKeyDown === 'function' ? e => onKeyDown(e) : undefined, placeholder: placeholder || intl.formatMessage({ id: 'addressPlaceholder', defaultMessage: 'Address*' }), value: value }),
17572
- isErrored ? (React.createElement("div", { className: "sid-field-error" },
17573
- React.createElement(FormattedHTMLMessage, { id: "errorId.invalidAddress", defaultMessage: "Invalid address" }))) : null));
17574
- const AddressComponent = injectIntl(Address);
17575
-
17576
- const City = ({ value, isErrored, onChange, intl, onKeyDown = undefined, placeholder = '', }) => (React.createElement("div", { className: "sid-field sid-city" },
17577
- React.createElement("div", { className: "sid-l-space-top-md" }),
17578
- React.createElement("label", { htmlFor: "sid-city" },
17579
- React.createElement("div", { className: `sid-field__label sid-l-space-btm-sm ${placeholder ? 'sid-h-screen-reader-only' : ''}` },
17580
- React.createElement("div", { className: "sid-field__label sid-field__label--required" },
17581
- React.createElement(FormattedHTMLMessage, { id: "city", defaultMessage: "City" })))),
17582
- React.createElement(InputTextComponent, { id: "city", isErrored: isErrored, onChange: e => onChange(e.target.value), onKeyDown: typeof onKeyDown === 'function' ? e => onKeyDown(e) : undefined, placeholder: placeholder || intl.formatMessage({ id: 'cityPlaceholder', defaultMessage: 'City*' }), value: value }),
17583
- isErrored ? (React.createElement("div", { className: "sid-field-error" },
17584
- React.createElement(FormattedHTMLMessage, { id: "errorId.invalidCity", defaultMessage: "Invalid city" }))) : null));
17585
- const CityComponent = injectIntl(City);
17586
-
17587
17642
  const State = ({ value, isErrored, onChange, intl, onKeyDown = undefined, placeholder = '', }) => (React.createElement("div", { className: "sid-field sid-state" },
17588
17643
  React.createElement("div", { className: "sid-l-space-top-md" }),
17589
17644
  React.createElement("label", { htmlFor: "sid-state" },
@@ -18024,13 +18079,12 @@ const LicensedProfessionalOrganization = ({ value, isErrored, onChange, verifica
18024
18079
  const LicensedProfessionalOrganizationComponent = injectIntl(LicensedProfessionalOrganization);
18025
18080
 
18026
18081
  const SEGMENT_ID = 'licensed-professional';
18027
- const formatStatusName = (name) => {
18028
- if (name) {
18029
- const words = name.toLowerCase().split('_');
18030
- return words.map(word => word[0].toUpperCase() + word.substring(1)).join(' ');
18031
- }
18082
+ const defaultStatusMessages = {
18083
+ LICENSED_COSMETOLOGIST: 'Licensed Cosmetologist',
18084
+ LICENSED_REAL_ESTATE_AGENT: 'Licensed Real Estate Agent',
18085
+ VETERINARIAN: 'Veterinarian',
18032
18086
  };
18033
- const StepLicensedProfessionalPersonalInfo = ({ verificationService }) => {
18087
+ const StepLicensedProfessionalPersonalInfo = ({ intl, verificationService }) => {
18034
18088
  const viewModel = verificationService.viewModel;
18035
18089
  const { fieldValidationErrors } = verificationService;
18036
18090
  const verificationResponse = verificationService.verificationResponse;
@@ -18041,14 +18095,22 @@ const StepLicensedProfessionalPersonalInfo = ({ verificationService }) => {
18041
18095
  });
18042
18096
  verificationService.updateViewModel(nextState);
18043
18097
  };
18098
+ const getStatusLabel = (status) => {
18099
+ if (!status) {
18100
+ return '';
18101
+ }
18102
+ return intl.formatMessage({ id: status, defaultMessage: defaultStatusMessages[status] });
18103
+ };
18044
18104
  const getAvailableLicensedProfessionalStatuses = () => {
18045
18105
  const availableStatusesResponse = verificationResponse.availableStatuses;
18046
18106
  const availableStatuses = [];
18047
- for (const status of availableStatusesResponse) {
18048
- availableStatuses.push({
18049
- value: status,
18050
- label: formatStatusName(status),
18051
- });
18107
+ if (availableStatusesResponse) {
18108
+ for (const status of availableStatusesResponse) {
18109
+ availableStatuses.push({
18110
+ value: status,
18111
+ label: getStatusLabel(status),
18112
+ });
18113
+ }
18052
18114
  }
18053
18115
  return availableStatuses;
18054
18116
  };
@@ -18072,7 +18134,7 @@ const StepLicensedProfessionalPersonalInfo = ({ verificationService }) => {
18072
18134
  React.createElement(RewardsRemainingComponent, { verificationService: verificationService })))),
18073
18135
  React.createElement(StatusComponent, { segmentId: SEGMENT_ID, value: {
18074
18136
  value: viewModel.statuses ? viewModel.statuses[0] : '',
18075
- label: viewModel.statuses ? formatStatusName(viewModel.statuses[0]) : '',
18137
+ label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : '',
18076
18138
  }, isErrored: !!fieldValidationErrors.statuses, options: getAvailableLicensedProfessionalStatuses(), onChange: (status) => {
18077
18139
  const updatedStatuses = status ? [status.value] : [];
18078
18140
  updateLicensedProfessionalViewModel('statuses', updatedStatuses);
@@ -18118,7 +18180,6 @@ const StepLicensedProfessionalPersonalInfo = ({ verificationService }) => {
18118
18180
  : (React.createElement(FormattedHTMLMessage, { id: "verifyMyLicensedProfessionalStatus", defaultMessage: "Verify My Licensed Professional Status" })))))),
18119
18181
  React.createElement(FormFooterComponent, { verificationService: verificationService })));
18120
18182
  };
18121
- // TODO remove injectIntl b/c not used
18122
18183
  const StepLicensedProfessionalPersonalInfoComponent = injectIntl(StepLicensedProfessionalPersonalInfo);
18123
18184
 
18124
18185
  const StepMoverPersonalInfo = ({ verificationService }) => {
@@ -21072,5 +21133,5 @@ const collectDeviceProfile = async (verificationId, programId) => {
21072
21133
  includeIPQSDeviceFingerprintScript(programTheme, verificationId);
21073
21134
  };
21074
21135
 
21075
- export { ACCEPTED_DOC_MIME_TYPES, AcceptableUploadsComponent, AddressComponent, BirthDateComponent, BranchOfServiceComponent, ChangeLocaleComponent, CityComponent, CollegeNameComponent, CompanyComponent, CopyToClipboard, CountDownComponent, CountryComponent, CountryComponentWrapper, DEFAULT_LOCALE, DEFAULT_MINIMUM_ORG_SEARCH_VALUE_LENGTH, DEFAULT_PRIVACY_POLICY_URL, DeleteJson, DischargeDateComponent, DriverLicenseNumberComponent, EmailComponent, FaqLinkComponent, FetchOrganizationsComponent, FieldIdEnum, FieldIds, FirstNameComponent, FirstResponderOrganizationComponent, FirstResponderStatusComponent, FirstResponderStatusDefaultMessagesEnum, FormFooterComponent, GetEmptyTheme, GetJson, GetResponse, HTTP_REQUEST_TIMEOUT, HookNameEnum, HookNames, HowDoesVerifyingWorkComponent, InputSelectButtonComponent, InputSelectComponent, InputSelectListComponent, InputTextComponent, LastNameComponent, LicensedProfessionalOrganizationComponent, LinkExternal, LoadingSpinnerComponent, Locales, LogoComponent, MAX_DOC_UPLOAD_DOCS_ALLOWED, MarketConsentWrapperComponent as MarketConsentWrapper, MedicalProfessionalOrganizationComponent, MedicalProfessionalStatusDefaultMessagesEnum, MedicalStatusComponent, MemberIdComponent, MembershipOrganizationComponent, MilitaryStatusComponent, MilitaryStatusDefaultMessagesEnum, MockSteps, MockStepsEnum, OptInComponent, OptInInputComponent, OrganizationListComponent, OrganizationResultComponent, PhoneNumberComponent, PostFiles, PostJson, PostalCodeComponent, PostalCodeInputComponent, PoweredByComponent, PrivacyPolicyLinkComponent, QUERY_STRING_ERRORID_OVERRIDE, QUERY_STRING_INSTALL_PAGE_URL, QUERY_STRING_SEGMENT_OVERRIDE, QUERY_STRING_STEP_OVERRIDE, QUERY_STRING_SUBSEGMENT_OVERRIDE, RequestOrganizationContext, RequestOrganizationErrorComponent, RequestOrganizationForm, RequestOrganizationFormFooterComponent, RequestOrganizationSearchComponent, RequestOrganizationSearchResultComponent, RequestOrganizationSuccessComponent, ReviewPendingComponent, RewardsRemainingComponent, SHEERID, SMSCodeComponent, SSN_STRING_LENGTH, SSOPendingComponent, SearchFieldComponent, SegmentEnum, Segments, SelectButtonComponent, SelectComponent, SelectListComponent, SocialSecurityNumber, SortByLabel, SsnChoice, StateComponent, StateEnum, StateSelectComponent, StatusComponent, StepActiveMilitaryPersonalInfoComponent, StepDriverLicensePersonalInfoComponent, StepGeneralIdentityPersonalInfoComponent, StepHybridIdentityPersonalInfoComponent, SubSegmentEnum, TeacherSchoolComponent, TryAgainButtonComponent, TryAgainSteps, TypeaheadComponent, UPLOAD_FILE_PREFIX, UploadInfoComponent, VerificationApiClient, VerificationForm, VerificationSteps, VerificationStepsEnum, addFiles, addHook, allMockedResponses, arrayUnique, assertValidConversionRequest, assertValidDatabaseId, assertValidFieldId, assertValidFunction, assertValidHook, assertValidHookName, assertValidHtmlElement, assertValidLocale, assertValidMockStepName, assertValidProgramId, assertValidSegmentName, assertValidTrackingId, assertValidTryAgainStep, assertValidVerificationStepName, carrierConsentValueValidator, closeTabRef, collectDeviceProfile, conversion, convertByTrackingId, convertByVerificationId, customValidatorExists$1 as customValidatorExists, deepClone, deepMerge, displaySSN, employmentPInfoReqEmpty, ensureMaxMetadataKeyValueLengths, ensureTrailingSlash, fetchExistingVerificationRequest, fetchProgramOrganizations, fetchRequestOrganizations, formatTwoDigitValues, getAddSchoolRequestUrl, getAllEmptyViewModels, getAvailableCountryChoices, getAvailableLocaleChoices, getAvailableLocales, getAvailableMilitaryStatuses, getAvailableStateChoices, getCompanyName, getConfiguredCountries, getConfiguredStates, getCustomValidator, getCustomValidatorFields, getDefaultCountryChoice, getDomainFromUrl, getEmptyViewModel, getEstAndMaxReviewTimes, getEstimatedReviewTime, getExtendedFieldValidationErrorsEmpty, getFaqLink, getFieldDisplayOrderFromRefs, getFieldValidationErrors, getFieldValidationErrorsEmpty, getFingerprint, getFirstErroredFieldId, getHook, getLocaleSafely, getLogoUrl, getMarketConsent, getMaxReviewTime, getMessages, getMetadata, getNewEmailCodeResendUrl, getNewSmsCodeResendUrl, getNewVerificationRequestUrl, getOptions, getOrgSearchCountryTags, getOverriddenMock, getOverridenValidator, getPhoneNumberValidationError, getPrivacyPolicyCompanyName, getPrivacyPolicyUrl, getProgramThemeUrl, getQueryParamsFromUrl, getRefByFieldId, getRefs, getRouteOverride, getSafe, getSheerIdScriptBasePath, getTabRef, getTrackingIdFromQueryString, getVerificationIdFromQueryString, getVerificationStatusUrl, handleCountryOnKeyDown, handleEmailOnKeyDown, handleStateChange, hasFailedInstantMatch, howDoesVerifyingWorkMessages, isFormErrored, isFormFilled, isValidLocale, isValidUsPostalCode, listenToSheerIdFrame, loadInModal, loadInlineIframe, logger, orgToOption, orgsInStatus, overrideComponent, overrideValidator, phoneNumberValidator, populateViewModelFromQueryParams, postVerificationSizeUpdates, postalCodeMatchers, postalCodeValidator, produceDraftViewModel, refreshStore, registerAdditionalLocales, removeAllFiles, removeCustomValidator, removeFile, requestOrganizationConstants, resetCustomValidators, resetHooks, resetMetadata, resetOptions, resetOverriddenComponents, resetOverriddenValidators, resetRefs, resetStore, resetTabRef, resetViewModel, resolveTrackingId, setCustomValidator, setFocus, setMetadata, setOptions, setRef, setTabRef, setViewModel, shouldCollectAddressFields, shouldCollectPostalCode, socialSecurityEmpty, speakToOuterFrame, submitAddSchoolRequest, submitForm, unDisplaySSN, updateFieldValidationErrors, updateFieldValidationErrorsByFieldId, updateMilitaryViewModel, updateViewModelOrganization, usePollingInterval, validateFieldById, validateMetadata };
21136
+ export { ACCEPTED_DOC_MIME_TYPES, AcceptableUploadsComponent, AddressComponent, BirthDateComponent, BranchOfServiceComponent, ChangeLocaleComponent, CityComponent, CollegeNameComponent, CompanyComponent, CopyToClipboard, CountDownComponent, CountryComponent, CountryComponentWrapper, DEFAULT_LOCALE, DEFAULT_MINIMUM_ORG_SEARCH_VALUE_LENGTH, DEFAULT_PRIVACY_POLICY_URL, DeleteJson, DischargeDateComponent, DriverLicenseNumberComponent, EmailComponent, FaqLinkComponent, FetchOrganizationsComponent, FieldIdEnum, FieldIds, FirstNameComponent, FirstResponderOrganizationComponent, FirstResponderStatusComponent, FirstResponderStatusDefaultMessagesEnum, FormFooterComponent, GetEmptyTheme, GetJson, GetResponse, HTTP_REQUEST_TIMEOUT, HookNameEnum, HookNames, HowDoesVerifyingWorkComponent, InputSelectButtonComponent, InputSelectComponent, InputSelectListComponent, InputTextComponent, LastNameComponent, LicensedProfessionalOrganizationComponent, LinkExternal, LoadingSpinnerComponent, Locales, LogoComponent, MAX_DOC_UPLOAD_DOCS_ALLOWED, MarketConsentWrapperComponent as MarketConsentWrapper, MedicalProfessionalOrganizationComponent, MedicalProfessionalStatusDefaultMessagesEnum, MedicalStatusComponent, MemberIdComponent, MembershipOrganizationComponent, MilitaryStatusComponent, MilitaryStatusDefaultMessagesEnum, MockSteps, MockStepsEnum, OptInComponent, OptInInputComponent, OrganizationListComponent, OrganizationResultComponent, PhoneNumberComponent, PostFiles, PostJson, PostalCodeComponent, PostalCodeInputComponent, PoweredByComponent, PrivacyPolicyLinkComponent, QUERY_STRING_ERRORID_OVERRIDE, QUERY_STRING_INSTALL_PAGE_URL, QUERY_STRING_SEGMENT_OVERRIDE, QUERY_STRING_STEP_OVERRIDE, QUERY_STRING_SUBSEGMENT_OVERRIDE, RequestOrganizationContext, RequestOrganizationErrorComponent, RequestOrganizationForm, RequestOrganizationFormFooterComponent, RequestOrganizationSearchComponent, RequestOrganizationSearchResultComponent, RequestOrganizationSuccessComponent, ReviewPendingComponent, RewardsRemainingComponent, SHEERID, SMSCodeComponent, SSN_STRING_LENGTH, SSOPendingComponent, SearchFieldComponent, SegmentEnum, Segments, SelectButtonComponent, SelectComponent, SelectListComponent, SocialSecurityNumber, SortByLabel, SsnChoice, StateComponent, StateEnum, StateSelectComponent, StatusComponent, StepActiveMilitaryPersonalInfoComponent, StepDriverLicensePersonalInfoComponent, StepGeneralIdentityPersonalInfoComponent, StepHybridIdentityPersonalInfoComponent, SubSegmentEnum, TeacherSchoolComponent, TryAgainButtonComponent, TryAgainSteps, TypeaheadComponent, UPLOAD_FILE_PREFIX, UploadInfoComponent, VerificationApiClient, VerificationForm, VerificationSteps, VerificationStepsEnum, addFiles, addHook, allMockedResponses, arrayUnique, assertValidConversionRequest, assertValidDatabaseId, assertValidFieldId, assertValidFunction, assertValidHook, assertValidHookName, assertValidHtmlElement, assertValidLocale, assertValidMockStepName, assertValidProgramId, assertValidSegmentName, assertValidTrackingId, assertValidTryAgainStep, assertValidVerificationStepName, carrierConsentValueValidator, closeTabRef, collectDeviceProfile, conversion, convertByTrackingId, convertByVerificationId, customValidatorExists$1 as customValidatorExists, deepClone, deepMerge, displaySSN, employmentPInfoReqEmpty, ensureMaxMetadataKeyValueLengths, ensureTrailingSlash, fetchExistingVerificationRequest, fetchProgramOrganizations, fetchRequestOrganizations, formatTwoDigitValues, getAddSchoolRequestUrl, getAllEmptyViewModels, getAvailableCountryChoices, getAvailableLocaleChoices, getAvailableLocales, getAvailableMilitaryStatuses, getAvailableStateChoices, getCompanyName, getConfiguredCountries, getConfiguredStates, getCustomValidator, getCustomValidatorFields, getDefaultCountryChoice, getDomainFromUrl, getEmptyViewModel, getEstAndMaxReviewTimes, getEstimatedReviewTime, getExtendedFieldValidationErrorsEmpty, getFaqLink, getFieldDisplayOrderFromRefs, getFieldValidationErrors, getFieldValidationErrorsEmpty, getFingerprint, getFirstErroredFieldId, getHook, getLocaleSafely, getLogoUrl, getMarketConsent, getMaxReviewTime, getMessages, getMetadata, getNewEmailCodeResendUrl, getNewSmsCodeResendUrl, getNewVerificationRequestUrl, getOptions, getOrgSearchCountryTags, getOverriddenMock, getOverridenValidator, getPhoneNumberValidationError, getPrivacyPolicyCompanyName, getPrivacyPolicyUrl, getProgramThemeUrl, getQueryParamsFromUrl, getRefByFieldId, getRefs, getRouteOverride, getSafe, getSheerIdScriptBasePath, getStatusLabel, getTabRef, getTrackingIdFromQueryString, getVerificationIdFromQueryString, getVerificationStatusUrl, handleCountryOnKeyDown, handleEmailOnKeyDown, handleStateChange, hasFailedInstantMatch, howDoesVerifyingWorkMessages, isFormErrored, isFormFilled, isTestEmailDomains, isValidLocale, isValidUsPostalCode, listenToSheerIdFrame, loadInModal, loadInlineIframe, logger, orgToOption, orgsInStatus, overrideComponent, overrideValidator, phoneNumberValidator, populateViewModelFromQueryParams, postVerificationSizeUpdates, postalCodeMatchers, postalCodeValidator, produceDraftViewModel, produceDraftViewModelWithRequiredFields, recordEvent, recordVerificationResponse, recordViewModelChange, refreshStore, registerAdditionalLocales, removeAllFiles, removeCustomValidator, removeFile, requestOrganizationConstants, resetCustomValidators, resetHooks, resetMetadata, resetOptions, resetOverriddenComponents, resetOverriddenValidators, resetRefs, resetStore, resetTabRef, resetViewModel, resolveTrackingId, setCustomValidator, setDimension, setFocus, setGaDimensionIsTest, setMetadata, setOptions, setRef, setTabRef, setViewModel, shouldCollectAddressFields, shouldCollectPostalCode, socialSecurityEmpty, speakToOuterFrame, submitAddSchoolRequest, submitForm, unDisplaySSN, updateFieldValidationErrors, updateFieldValidationErrorsByFieldId, updateMilitaryViewModel, updateViewModelOrganization, usePollingInterval, validateFieldById, validateMetadata };
21076
21137
  //# sourceMappingURL=sheerides6.js.map