@sheerid/jslib 1.135.0 → 1.136.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 (205) hide show
  1. package/es5/Tmetrix.bundle.js +4 -4
  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-f4b1c657.es.js → ar-51894b2d.es.js} +6 -1
  40. package/es6/{cs-5dd50daf.es.js.map → ar-51894b2d.es.js.map} +1 -1
  41. package/es6/{bg-11a96fdc.es.js → bg-882cc7da.es.js} +6 -1
  42. package/es6/{ar-f4b1c657.es.js.map → bg-882cc7da.es.js.map} +1 -1
  43. package/es6/{cs-5dd50daf.es.js → cs-089af4d4.es.js} +6 -1
  44. package/es6/{da-9b265831.es.js.map → cs-089af4d4.es.js.map} +1 -1
  45. package/es6/{da-9b265831.es.js → da-2d95722e.es.js} +6 -1
  46. package/es6/{bg-11a96fdc.es.js.map → da-2d95722e.es.js.map} +1 -1
  47. package/es6/{de-8a3d5aa2.es.js → de-93e2a822.es.js} +6 -1
  48. package/es6/de-93e2a822.es.js.map +1 -0
  49. package/es6/{el-3d378930.es.js → el-98f59284.es.js} +6 -1
  50. package/es6/el-98f59284.es.js.map +1 -0
  51. package/es6/{en-GB-d28a6e35.es.js → en-GB-3e0f8ef5.es.js} +6 -1
  52. package/es6/{en-GB-d28a6e35.es.js.map → en-GB-3e0f8ef5.es.js.map} +1 -1
  53. package/es6/{es-6b19a2c3.es.js → es-519d8eca.es.js} +6 -1
  54. package/es6/es-519d8eca.es.js.map +1 -0
  55. package/es6/{es-ES-5c4af7f0.es.js → es-ES-775dd501.es.js} +6 -1
  56. package/es6/{es-ES-5c4af7f0.es.js.map → es-ES-775dd501.es.js.map} +1 -1
  57. package/es6/{fi-c856851e.es.js → fi-897da29d.es.js} +6 -1
  58. package/es6/fi-897da29d.es.js.map +1 -0
  59. package/es6/{fr-c25ecdc7.es.js → fr-98d586dc.es.js} +6 -1
  60. package/es6/fr-98d586dc.es.js.map +1 -0
  61. package/es6/{fr-CA-9cef23e0.es.js → fr-CA-c1063ccc.es.js} +6 -1
  62. package/es6/{fr-CA-9cef23e0.es.js.map → fr-CA-c1063ccc.es.js.map} +1 -1
  63. package/es6/{ga-79f12f9f.es.js → ga-b943c1d7.es.js} +6 -1
  64. package/es6/ga-b943c1d7.es.js.map +1 -0
  65. package/es6/{hr-7723f1b9.es.js → hr-9d5efcb0.es.js} +6 -1
  66. package/es6/hr-9d5efcb0.es.js.map +1 -0
  67. package/es6/{hu-61d5568f.es.js → hu-954c2355.es.js} +6 -1
  68. package/es6/hu-954c2355.es.js.map +1 -0
  69. package/es6/{id-28b2a6f6.es.js → id-cd5385a5.es.js} +6 -1
  70. package/es6/id-cd5385a5.es.js.map +1 -0
  71. package/es6/{it-84349e94.es.js → it-ceb32d54.es.js} +6 -1
  72. package/es6/it-ceb32d54.es.js.map +1 -0
  73. package/es6/{iw-102f63ac.es.js → iw-3063fe3c.es.js} +6 -1
  74. package/es6/iw-3063fe3c.es.js.map +1 -0
  75. package/es6/{ja-355e3932.es.js → ja-0d97a6ad.es.js} +6 -1
  76. package/es6/ja-0d97a6ad.es.js.map +1 -0
  77. package/es6/{ko-dab58c8c.es.js → ko-94f3a3e5.es.js} +6 -1
  78. package/es6/ko-94f3a3e5.es.js.map +1 -0
  79. package/es6/{lo-a21a9c48.es.js → lo-76ce290d.es.js} +6 -1
  80. package/es6/lo-76ce290d.es.js.map +1 -0
  81. package/es6/{lt-9a19fff5.es.js → lt-55e250ad.es.js} +6 -1
  82. package/es6/lt-55e250ad.es.js.map +1 -0
  83. package/es6/{ms-6a6cb7ff.es.js → ms-5422f739.es.js} +6 -1
  84. package/es6/ms-5422f739.es.js.map +1 -0
  85. package/es6/{nl-7d622a35.es.js → nl-2f39cad8.es.js} +6 -1
  86. package/es6/nl-2f39cad8.es.js.map +1 -0
  87. package/es6/{no-26fb0d8d.es.js → no-97c5ef89.es.js} +6 -1
  88. package/es6/no-97c5ef89.es.js.map +1 -0
  89. package/es6/{pl-d9a378cf.es.js → pl-fd238f3a.es.js} +6 -1
  90. package/es6/pl-fd238f3a.es.js.map +1 -0
  91. package/es6/{pt-BR-38695537.es.js → pt-BR-45ea70a9.es.js} +6 -1
  92. package/es6/{pt-BR-38695537.es.js.map → pt-BR-45ea70a9.es.js.map} +1 -1
  93. package/es6/{pt-d526a714.es.js → pt-f9d151b2.es.js} +6 -1
  94. package/es6/pt-f9d151b2.es.js.map +1 -0
  95. package/es6/{ru-df8fe3db.es.js → ru-cb3119d4.es.js} +6 -1
  96. package/es6/ru-cb3119d4.es.js.map +1 -0
  97. package/es6/{sk-e8534b4c.es.js → sk-160f8210.es.js} +6 -1
  98. package/es6/sk-160f8210.es.js.map +1 -0
  99. package/es6/{sl-83742af9.es.js → sl-531afdc0.es.js} +6 -1
  100. package/es6/sl-531afdc0.es.js.map +1 -0
  101. package/es6/{sr-1d9e11fd.es.js → sr-1e4134ac.es.js} +6 -1
  102. package/es6/sr-1e4134ac.es.js.map +1 -0
  103. package/es6/{sv-4deb4db2.es.js → sv-9363a83e.es.js} +6 -1
  104. package/es6/sv-9363a83e.es.js.map +1 -0
  105. package/es6/{th-9aa13bce.es.js → th-4ed02573.es.js} +6 -1
  106. package/es6/th-4ed02573.es.js.map +1 -0
  107. package/es6/{tr-6e871a20.es.js → tr-ee32e948.es.js} +6 -1
  108. package/es6/tr-ee32e948.es.js.map +1 -0
  109. package/es6/{zh-0268cdd5.es.js → zh-981d5854.es.js} +6 -1
  110. package/es6/zh-981d5854.es.js.map +1 -0
  111. package/es6/{zh-HK-606d2cf5.es.js → zh-HK-230a17f2.es.js} +6 -1
  112. package/es6/zh-HK-230a17f2.es.js.map +1 -0
  113. package/localized-messages/ar.json +6 -1
  114. package/localized-messages/bg.json +6 -1
  115. package/localized-messages/cs.json +6 -1
  116. package/localized-messages/da.json +6 -1
  117. package/localized-messages/de.json +6 -1
  118. package/localized-messages/el.json +6 -1
  119. package/localized-messages/en-GB.json +6 -1
  120. package/localized-messages/en-US.json +6 -1
  121. package/localized-messages/es-ES.json +6 -1
  122. package/localized-messages/es.json +6 -1
  123. package/localized-messages/fi.json +6 -1
  124. package/localized-messages/fr-CA.json +6 -1
  125. package/localized-messages/fr.json +6 -1
  126. package/localized-messages/ga.json +6 -1
  127. package/localized-messages/hr.json +6 -1
  128. package/localized-messages/hu.json +6 -1
  129. package/localized-messages/id.json +6 -1
  130. package/localized-messages/it.json +6 -1
  131. package/localized-messages/iw.json +6 -1
  132. package/localized-messages/ja.json +6 -1
  133. package/localized-messages/ko.json +6 -1
  134. package/localized-messages/lo.json +6 -1
  135. package/localized-messages/lt.json +6 -1
  136. package/localized-messages/ms.json +6 -1
  137. package/localized-messages/nl.json +6 -1
  138. package/localized-messages/no.json +6 -1
  139. package/localized-messages/pl.json +6 -1
  140. package/localized-messages/pt-BR.json +6 -1
  141. package/localized-messages/pt.json +6 -1
  142. package/localized-messages/ro.json +16 -6
  143. package/localized-messages/ru.json +6 -1
  144. package/localized-messages/sk.json +6 -1
  145. package/localized-messages/sl.json +6 -1
  146. package/localized-messages/sr.json +6 -1
  147. package/localized-messages/sv.json +6 -1
  148. package/localized-messages/th.json +6 -1
  149. package/localized-messages/tr.json +6 -1
  150. package/localized-messages/ur.json +19 -6
  151. package/localized-messages/vi.json +16 -6
  152. package/localized-messages/zh-HK.json +6 -1
  153. package/localized-messages/zh.json +6 -1
  154. package/localized-messages/zu.json +16 -6
  155. package/manifest.json +48 -48
  156. package/package.json +1 -1
  157. package/sheerid-requestOrg.css +5 -5
  158. package/sheerid-requestOrg.css.map +1 -1
  159. package/sheerid-requestOrg.js +13 -13
  160. package/sheerid-requestOrg.js.map +1 -1
  161. package/sheerid-utils.js +8 -8
  162. package/sheerid-utils.js.map +1 -1
  163. package/sheerid.css +5 -5
  164. package/sheerid.css.map +1 -1
  165. package/sheerid.js +10 -10
  166. package/sheerid.js.map +1 -1
  167. package/sheerides6.js +109 -66
  168. package/sheerides6.js.map +1 -1
  169. package/src/components/DateComponent/DateComponent.d.ts +3 -2
  170. package/src/components/DateComponent/isDayFirst.d.ts +7 -0
  171. package/src/components/DateComponent/isDayFirst.test.d.ts +1 -0
  172. package/src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.d.ts +5 -1
  173. package/src/components/FormFields/BirthDate/BirthDateComponent.d.ts +5 -1
  174. package/src/lib/types/runtimeTypes.d.ts +2 -1
  175. package/src/lib/types/types.d.ts +1 -0
  176. package/types-reference.zip +0 -0
  177. package/es6/de-8a3d5aa2.es.js.map +0 -1
  178. package/es6/el-3d378930.es.js.map +0 -1
  179. package/es6/es-6b19a2c3.es.js.map +0 -1
  180. package/es6/fi-c856851e.es.js.map +0 -1
  181. package/es6/fr-c25ecdc7.es.js.map +0 -1
  182. package/es6/ga-79f12f9f.es.js.map +0 -1
  183. package/es6/hr-7723f1b9.es.js.map +0 -1
  184. package/es6/hu-61d5568f.es.js.map +0 -1
  185. package/es6/id-28b2a6f6.es.js.map +0 -1
  186. package/es6/it-84349e94.es.js.map +0 -1
  187. package/es6/iw-102f63ac.es.js.map +0 -1
  188. package/es6/ja-355e3932.es.js.map +0 -1
  189. package/es6/ko-dab58c8c.es.js.map +0 -1
  190. package/es6/lo-a21a9c48.es.js.map +0 -1
  191. package/es6/lt-9a19fff5.es.js.map +0 -1
  192. package/es6/ms-6a6cb7ff.es.js.map +0 -1
  193. package/es6/nl-7d622a35.es.js.map +0 -1
  194. package/es6/no-26fb0d8d.es.js.map +0 -1
  195. package/es6/pl-d9a378cf.es.js.map +0 -1
  196. package/es6/pt-d526a714.es.js.map +0 -1
  197. package/es6/ru-df8fe3db.es.js.map +0 -1
  198. package/es6/sk-e8534b4c.es.js.map +0 -1
  199. package/es6/sl-83742af9.es.js.map +0 -1
  200. package/es6/sr-1d9e11fd.es.js.map +0 -1
  201. package/es6/sv-4deb4db2.es.js.map +0 -1
  202. package/es6/th-9aa13bce.es.js.map +0 -1
  203. package/es6/tr-6e871a20.es.js.map +0 -1
  204. package/es6/zh-0268cdd5.es.js.map +0 -1
  205. package/es6/zh-HK-606d2cf5.es.js.map +0 -1
package/sheerides6.js CHANGED
@@ -632,6 +632,7 @@ var FirstResponderStatusDefaultMessagesEnum;
632
632
  FirstResponderStatusDefaultMessagesEnum["FIREFIGHTER"] = "Firefighter";
633
633
  FirstResponderStatusDefaultMessagesEnum["POLICE"] = "Police";
634
634
  FirstResponderStatusDefaultMessagesEnum["EMT"] = "EMT";
635
+ FirstResponderStatusDefaultMessagesEnum["SEARCH_AND_RESCUE"] = "Search and Rescue";
635
636
  })(FirstResponderStatusDefaultMessagesEnum || (FirstResponderStatusDefaultMessagesEnum = {}));
636
637
  var MedicalProfessionalStatusDefaultMessagesEnum;
637
638
  (function (MedicalProfessionalStatusDefaultMessagesEnum) {
@@ -1913,6 +1914,7 @@ var enUSMessages = {
1913
1914
  "defaultMessages.PHARMACIST": "Pharmacist",
1914
1915
  "defaultMessages.POLICE": "Police",
1915
1916
  "defaultMessages.RESERVIST": "Reservist or National Guard",
1917
+ "defaultMessages.SEARCH_AND_RESCUE": "Search and Rescue",
1916
1918
  "defaultMessages.SNAP_BENEFITS": "Snap Benefits Recipient",
1917
1919
  "defaultMessages.VETERAN": "Military Veteran or Retiree",
1918
1920
  "defaultMessages.VETERINARIAN": "Veterinarian",
@@ -2312,6 +2314,7 @@ var enUSMessages = {
2312
2314
  "defaultMessages.locales.pl": "Polish",
2313
2315
  "defaultMessages.locales.pt": "Portuguese",
2314
2316
  "defaultMessages.locales.pt-BR": "Portuguese (Brazil)",
2317
+ "defaultMessages.locales.ro": "Romanian",
2315
2318
  "defaultMessages.locales.ru": "Russia",
2316
2319
  "defaultMessages.locales.sk": "Slovak",
2317
2320
  "defaultMessages.locales.sl": "Slovenian",
@@ -2319,8 +2322,11 @@ var enUSMessages = {
2319
2322
  "defaultMessages.locales.sv": "Swedish",
2320
2323
  "defaultMessages.locales.th": "Thai",
2321
2324
  "defaultMessages.locales.tr": "Turkish",
2325
+ "defaultMessages.locales.ur": "Urdu",
2326
+ "defaultMessages.locales.vi": "Vietnamese",
2322
2327
  "defaultMessages.locales.zh": "Chinese (Traditional)",
2323
2328
  "defaultMessages.locales.zh-HK": "Chinese (Hong Kong)",
2329
+ "defaultMessages.locales.zu": "Zulu",
2324
2330
  "defaultMessages.lowIncomeOrganization": "Government Assistance Program",
2325
2331
  "defaultMessages.lowIncomeOrganizationPlaceholder": "Government Assistance Program",
2326
2332
  "defaultMessages.lowRewardPool": "<span class='sid-fire-emoji'>&#128293;</span> Only {offersRemaining} offers left!",
@@ -2888,154 +2894,154 @@ const getMessagesModuleByLocale = async (locale) => {
2888
2894
  switch (locale) {
2889
2895
  case "ar":
2890
2896
  localizedMessages = await import(
2891
- /* webpackChunkName: "messages_ar" */ './es6/ar-f4b1c657.es.js').then((m) => m.default);
2897
+ /* webpackChunkName: "messages_ar" */ './es6/ar-51894b2d.es.js').then((m) => m.default);
2892
2898
  break;
2893
2899
  case "bg":
2894
2900
  localizedMessages = await import(
2895
- /* webpackChunkName: "messages_bg" */ './es6/bg-11a96fdc.es.js').then((m) => m.default);
2901
+ /* webpackChunkName: "messages_bg" */ './es6/bg-882cc7da.es.js').then((m) => m.default);
2896
2902
  break;
2897
2903
  case "cs":
2898
2904
  localizedMessages = await import(
2899
- /* webpackChunkName: "messages_cs" */ './es6/cs-5dd50daf.es.js').then((m) => m.default);
2905
+ /* webpackChunkName: "messages_cs" */ './es6/cs-089af4d4.es.js').then((m) => m.default);
2900
2906
  break;
2901
2907
  case "da":
2902
2908
  localizedMessages = await import(
2903
- /* webpackChunkName: "messages_da" */ './es6/da-9b265831.es.js').then((m) => m.default);
2909
+ /* webpackChunkName: "messages_da" */ './es6/da-2d95722e.es.js').then((m) => m.default);
2904
2910
  break;
2905
2911
  case "de":
2906
2912
  localizedMessages = await import(
2907
- /* webpackChunkName: "messages_de" */ './es6/de-8a3d5aa2.es.js').then((m) => m.default);
2913
+ /* webpackChunkName: "messages_de" */ './es6/de-93e2a822.es.js').then((m) => m.default);
2908
2914
  break;
2909
2915
  case "el":
2910
2916
  localizedMessages = await import(
2911
- /* webpackChunkName: "messages_el" */ './es6/el-3d378930.es.js').then((m) => m.default);
2917
+ /* webpackChunkName: "messages_el" */ './es6/el-98f59284.es.js').then((m) => m.default);
2912
2918
  break;
2913
2919
  case "en-GB":
2914
2920
  localizedMessages = await import(
2915
- /* webpackChunkName: "messages_en-GB" */ './es6/en-GB-d28a6e35.es.js').then((m) => m.default);
2921
+ /* webpackChunkName: "messages_en-GB" */ './es6/en-GB-3e0f8ef5.es.js').then((m) => m.default);
2916
2922
  break;
2917
2923
  case "en-US":
2918
2924
  localizedMessages = enUSMessages;
2919
2925
  break;
2920
2926
  case "es-ES":
2921
2927
  localizedMessages = await import(
2922
- /* webpackChunkName: "messages_es-ES" */ './es6/es-ES-5c4af7f0.es.js').then((m) => m.default);
2928
+ /* webpackChunkName: "messages_es-ES" */ './es6/es-ES-775dd501.es.js').then((m) => m.default);
2923
2929
  break;
2924
2930
  case "es":
2925
2931
  localizedMessages = await import(
2926
- /* webpackChunkName: "messages_es" */ './es6/es-6b19a2c3.es.js').then((m) => m.default);
2932
+ /* webpackChunkName: "messages_es" */ './es6/es-519d8eca.es.js').then((m) => m.default);
2927
2933
  break;
2928
2934
  case "fi":
2929
2935
  localizedMessages = await import(
2930
- /* webpackChunkName: "messages_fi" */ './es6/fi-c856851e.es.js').then((m) => m.default);
2936
+ /* webpackChunkName: "messages_fi" */ './es6/fi-897da29d.es.js').then((m) => m.default);
2931
2937
  break;
2932
2938
  case "fr-CA":
2933
2939
  localizedMessages = await import(
2934
- /* webpackChunkName: "messages_fr-CA" */ './es6/fr-CA-9cef23e0.es.js').then((m) => m.default);
2940
+ /* webpackChunkName: "messages_fr-CA" */ './es6/fr-CA-c1063ccc.es.js').then((m) => m.default);
2935
2941
  break;
2936
2942
  case "fr":
2937
2943
  localizedMessages = await import(
2938
- /* webpackChunkName: "messages_fr" */ './es6/fr-c25ecdc7.es.js').then((m) => m.default);
2944
+ /* webpackChunkName: "messages_fr" */ './es6/fr-98d586dc.es.js').then((m) => m.default);
2939
2945
  break;
2940
2946
  case "ga":
2941
2947
  localizedMessages = await import(
2942
- /* webpackChunkName: "messages_ga" */ './es6/ga-79f12f9f.es.js').then((m) => m.default);
2948
+ /* webpackChunkName: "messages_ga" */ './es6/ga-b943c1d7.es.js').then((m) => m.default);
2943
2949
  break;
2944
2950
  case "hr":
2945
2951
  localizedMessages = await import(
2946
- /* webpackChunkName: "messages_hr" */ './es6/hr-7723f1b9.es.js').then((m) => m.default);
2952
+ /* webpackChunkName: "messages_hr" */ './es6/hr-9d5efcb0.es.js').then((m) => m.default);
2947
2953
  break;
2948
2954
  case "hu":
2949
2955
  localizedMessages = await import(
2950
- /* webpackChunkName: "messages_hu" */ './es6/hu-61d5568f.es.js').then((m) => m.default);
2956
+ /* webpackChunkName: "messages_hu" */ './es6/hu-954c2355.es.js').then((m) => m.default);
2951
2957
  break;
2952
2958
  case "id":
2953
2959
  localizedMessages = await import(
2954
- /* webpackChunkName: "messages_id" */ './es6/id-28b2a6f6.es.js').then((m) => m.default);
2960
+ /* webpackChunkName: "messages_id" */ './es6/id-cd5385a5.es.js').then((m) => m.default);
2955
2961
  break;
2956
2962
  case "it":
2957
2963
  localizedMessages = await import(
2958
- /* webpackChunkName: "messages_it" */ './es6/it-84349e94.es.js').then((m) => m.default);
2964
+ /* webpackChunkName: "messages_it" */ './es6/it-ceb32d54.es.js').then((m) => m.default);
2959
2965
  break;
2960
2966
  case "iw":
2961
2967
  localizedMessages = await import(
2962
- /* webpackChunkName: "messages_iw" */ './es6/iw-102f63ac.es.js').then((m) => m.default);
2968
+ /* webpackChunkName: "messages_iw" */ './es6/iw-3063fe3c.es.js').then((m) => m.default);
2963
2969
  break;
2964
2970
  case "ja":
2965
2971
  localizedMessages = await import(
2966
- /* webpackChunkName: "messages_ja" */ './es6/ja-355e3932.es.js').then((m) => m.default);
2972
+ /* webpackChunkName: "messages_ja" */ './es6/ja-0d97a6ad.es.js').then((m) => m.default);
2967
2973
  break;
2968
2974
  case "ko":
2969
2975
  localizedMessages = await import(
2970
- /* webpackChunkName: "messages_ko" */ './es6/ko-dab58c8c.es.js').then((m) => m.default);
2976
+ /* webpackChunkName: "messages_ko" */ './es6/ko-94f3a3e5.es.js').then((m) => m.default);
2971
2977
  break;
2972
2978
  case "lo":
2973
2979
  localizedMessages = await import(
2974
- /* webpackChunkName: "messages_lo" */ './es6/lo-a21a9c48.es.js').then((m) => m.default);
2980
+ /* webpackChunkName: "messages_lo" */ './es6/lo-76ce290d.es.js').then((m) => m.default);
2975
2981
  break;
2976
2982
  case "lt":
2977
2983
  localizedMessages = await import(
2978
- /* webpackChunkName: "messages_lt" */ './es6/lt-9a19fff5.es.js').then((m) => m.default);
2984
+ /* webpackChunkName: "messages_lt" */ './es6/lt-55e250ad.es.js').then((m) => m.default);
2979
2985
  break;
2980
2986
  case "ms":
2981
2987
  localizedMessages = await import(
2982
- /* webpackChunkName: "messages_ms" */ './es6/ms-6a6cb7ff.es.js').then((m) => m.default);
2988
+ /* webpackChunkName: "messages_ms" */ './es6/ms-5422f739.es.js').then((m) => m.default);
2983
2989
  break;
2984
2990
  case "nl":
2985
2991
  localizedMessages = await import(
2986
- /* webpackChunkName: "messages_nl" */ './es6/nl-7d622a35.es.js').then((m) => m.default);
2992
+ /* webpackChunkName: "messages_nl" */ './es6/nl-2f39cad8.es.js').then((m) => m.default);
2987
2993
  break;
2988
2994
  case "no":
2989
2995
  localizedMessages = await import(
2990
- /* webpackChunkName: "messages_no" */ './es6/no-26fb0d8d.es.js').then((m) => m.default);
2996
+ /* webpackChunkName: "messages_no" */ './es6/no-97c5ef89.es.js').then((m) => m.default);
2991
2997
  break;
2992
2998
  case "pl":
2993
2999
  localizedMessages = await import(
2994
- /* webpackChunkName: "messages_pl" */ './es6/pl-d9a378cf.es.js').then((m) => m.default);
3000
+ /* webpackChunkName: "messages_pl" */ './es6/pl-fd238f3a.es.js').then((m) => m.default);
2995
3001
  break;
2996
3002
  case "pt-BR":
2997
3003
  localizedMessages = await import(
2998
- /* webpackChunkName: "messages_pt-BR" */ './es6/pt-BR-38695537.es.js').then((m) => m.default);
3004
+ /* webpackChunkName: "messages_pt-BR" */ './es6/pt-BR-45ea70a9.es.js').then((m) => m.default);
2999
3005
  break;
3000
3006
  case "pt":
3001
3007
  localizedMessages = await import(
3002
- /* webpackChunkName: "messages_pt" */ './es6/pt-d526a714.es.js').then((m) => m.default);
3008
+ /* webpackChunkName: "messages_pt" */ './es6/pt-f9d151b2.es.js').then((m) => m.default);
3003
3009
  break;
3004
3010
  case "ru":
3005
3011
  localizedMessages = await import(
3006
- /* webpackChunkName: "messages_ru" */ './es6/ru-df8fe3db.es.js').then((m) => m.default);
3012
+ /* webpackChunkName: "messages_ru" */ './es6/ru-cb3119d4.es.js').then((m) => m.default);
3007
3013
  break;
3008
3014
  case "sk":
3009
3015
  localizedMessages = await import(
3010
- /* webpackChunkName: "messages_sk" */ './es6/sk-e8534b4c.es.js').then((m) => m.default);
3016
+ /* webpackChunkName: "messages_sk" */ './es6/sk-160f8210.es.js').then((m) => m.default);
3011
3017
  break;
3012
3018
  case "sl":
3013
3019
  localizedMessages = await import(
3014
- /* webpackChunkName: "messages_sl" */ './es6/sl-83742af9.es.js').then((m) => m.default);
3020
+ /* webpackChunkName: "messages_sl" */ './es6/sl-531afdc0.es.js').then((m) => m.default);
3015
3021
  break;
3016
3022
  case "sr":
3017
3023
  localizedMessages = await import(
3018
- /* webpackChunkName: "messages_sr" */ './es6/sr-1d9e11fd.es.js').then((m) => m.default);
3024
+ /* webpackChunkName: "messages_sr" */ './es6/sr-1e4134ac.es.js').then((m) => m.default);
3019
3025
  break;
3020
3026
  case "sv":
3021
3027
  localizedMessages = await import(
3022
- /* webpackChunkName: "messages_sv" */ './es6/sv-4deb4db2.es.js').then((m) => m.default);
3028
+ /* webpackChunkName: "messages_sv" */ './es6/sv-9363a83e.es.js').then((m) => m.default);
3023
3029
  break;
3024
3030
  case "th":
3025
3031
  localizedMessages = await import(
3026
- /* webpackChunkName: "messages_th" */ './es6/th-9aa13bce.es.js').then((m) => m.default);
3032
+ /* webpackChunkName: "messages_th" */ './es6/th-4ed02573.es.js').then((m) => m.default);
3027
3033
  break;
3028
3034
  case "tr":
3029
3035
  localizedMessages = await import(
3030
- /* webpackChunkName: "messages_tr" */ './es6/tr-6e871a20.es.js').then((m) => m.default);
3036
+ /* webpackChunkName: "messages_tr" */ './es6/tr-ee32e948.es.js').then((m) => m.default);
3031
3037
  break;
3032
3038
  case "zh-HK":
3033
3039
  localizedMessages = await import(
3034
- /* webpackChunkName: "messages_zh-HK" */ './es6/zh-HK-606d2cf5.es.js').then((m) => m.default);
3040
+ /* webpackChunkName: "messages_zh-HK" */ './es6/zh-HK-230a17f2.es.js').then((m) => m.default);
3035
3041
  break;
3036
3042
  case "zh":
3037
3043
  localizedMessages = await import(
3038
- /* webpackChunkName: "messages_zh" */ './es6/zh-0268cdd5.es.js').then((m) => m.default);
3044
+ /* webpackChunkName: "messages_zh" */ './es6/zh-981d5854.es.js').then((m) => m.default);
3039
3045
  break;
3040
3046
  default:
3041
3047
  logger.warn(`getMessagesModuleByLocale: Unable to load messages for ${locale}, falling back to en-US`);
@@ -3228,7 +3234,7 @@ const getRequestOrganizationLocale = (programTheme = null) => {
3228
3234
  }
3229
3235
  return locale;
3230
3236
  };
3231
- const standardizeLocale = (locale) => locale === "id" ? "in" : locale.replace("-", "_");
3237
+ const standardizeLocale = (locale) => locale.replace("-", "_");
3232
3238
 
3233
3239
  const getCompanyName = (programTheme) => {
3234
3240
  let companyName = "{Company}"; // Show literal string "{Company}" so implementor is prompted to fix by adding in my.sheerid.com
@@ -17014,7 +17020,26 @@ const formatTwoDigitValues = (value) => {
17014
17020
  }
17015
17021
  };
17016
17022
 
17017
- const DateInput = ({ onChange, intl, isErrored, isRequired = true, value = "2000-01-01", errorMsg, label, fieldName, fieldId, mode = "date", }) => {
17023
+ /**
17024
+ * Returns true if the given locale formats dates with day-month-year.
17025
+ *
17026
+ * this function works by abusing Intl date formatting and using jan 3, 2222
17027
+ * which will use unique digits for each date part.
17028
+ */
17029
+ function isDayFirst(locale) {
17030
+ const day = 3;
17031
+ const date = new Date(2222, 0, day);
17032
+ try {
17033
+ const formatted = new Intl.DateTimeFormat(locale).format(date);
17034
+ // strip zeros in case a date part is zero padded
17035
+ return formatted.replace("0", "").startsWith(day.toString());
17036
+ }
17037
+ catch (error) {
17038
+ return false;
17039
+ }
17040
+ }
17041
+
17042
+ const DateInput = ({ onChange, intl, isErrored, isRequired = true, value = "2000-01-01", errorMsg, label, fieldName, fieldId, mode = "date", locale = DEFAULT_LOCALE, }) => {
17018
17043
  const cssId = `sid-${fieldId}`;
17019
17044
  const dateParts = value.split("-");
17020
17045
  const dateYear = Number.parseInt(dateParts[0], 10) || undefined;
@@ -17098,27 +17123,32 @@ const DateInput = ({ onChange, intl, isErrored, isRequired = true, value = "2000
17098
17123
  const monthFieldId = `${cssId}__month`;
17099
17124
  const fieldLabelId = `${cssId}-label`;
17100
17125
  const wrappedErrMsg = React.createElement("div", { className: "sid-field-error" }, errorMsg);
17126
+ const month = (React.createElement(InputSelectComponent, { className: `${cssId}__month sid-date__month`, fieldId: fieldName, inputId: monthFieldId, fieldLabelId: fieldLabelId, isErrored: isErrored, options: months, onChange: (choice) => {
17127
+ if (choice) {
17128
+ updateMonth(choice.value);
17129
+ }
17130
+ else {
17131
+ // clear the birth month
17132
+ updateMonth(null);
17133
+ }
17134
+ }, placeholder: intl.formatHTMLMessage({ id: "dateTime.month", defaultMessage: "Month" }), suppressPlaceholder: false, value: dateMonth ? months[dateMonth - 1] : undefined, isRequired: isRequired, buttonRef: "inputSelectButtonBirthDate" }));
17135
+ const day = mode === "date" && (React.createElement(InputTextComponent, { className: `${cssId}__day sid-date__day sid-text-input sid-text-input--required ${isErrored ? "sid-text-input--error" : ""}`, id: `${fieldId}-day`, isErrored: isErrored, min: 1, max: 31, name: `${cssId}-day`, onChange: (e) => updateDay(e.target.value), onBlur: getDate, pattern: "\\d*", placeholder: intl.formatHTMLMessage({ id: "dateTime.day", defaultMessage: "Day" }), hidePlaceholder: false, "aria-label": intl.formatHTMLMessage({ id: "dateTime.day", defaultMessage: "Day" }), "aria-labelledby": cssId, "aria-required": isRequired, refId: `${fieldName}Day`, type: "text", value: dateDay || "" }));
17101
17136
  return (React.createElement("div", { className: `sid-field ${cssId}` },
17102
17137
  React.createElement("div", { className: "sid-l-space-top-md" }),
17103
17138
  React.createElement(FieldLabel, { text: label, htmlForLabel: monthFieldId, id: fieldLabelId, displayClasses: "sid-field__label-with-explanation", isRequired: isRequired },
17104
17139
  React.createElement(FormattedHTMLMessage, { id: "verificationPurposesOnly", defaultMessage: "Used for verification purposes only" })),
17105
17140
  React.createElement("div", { className: `${cssId}__inputs sid-date__inputs` },
17106
- React.createElement(InputSelectComponent, { className: `${cssId}__month sid-date__month`, fieldId: fieldName, inputId: monthFieldId, fieldLabelId: fieldLabelId, isErrored: isErrored, options: months, onChange: (choice) => {
17107
- if (choice) {
17108
- updateMonth(choice.value);
17109
- }
17110
- else {
17111
- // clear the birth month
17112
- updateMonth(null);
17113
- }
17114
- }, placeholder: intl.formatHTMLMessage({ id: "dateTime.month", defaultMessage: "Month" }), suppressPlaceholder: false, value: dateMonth ? months[dateMonth - 1] : undefined, isRequired: isRequired, buttonRef: "inputSelectButtonBirthDate" }),
17115
- mode === "date" && (React.createElement(InputTextComponent, { className: `${cssId}__day sid-date__day sid-text-input sid-text-input--required ${isErrored ? "sid-text-input--error" : ""}`, id: `${fieldId}-day`, isErrored: isErrored, min: 1, max: 31, name: `${cssId}-day`, onChange: (e) => updateDay(e.target.value), onBlur: getDate, pattern: "\\d*", placeholder: intl.formatHTMLMessage({ id: "dateTime.day", defaultMessage: "Day" }), hidePlaceholder: false, "aria-label": intl.formatHTMLMessage({ id: "dateTime.day", defaultMessage: "Day" }), "aria-labelledby": cssId, "aria-required": isRequired, refId: `${fieldName}Day`, type: "text", value: dateDay || "" })),
17141
+ isDayFirst(locale) ? (React.createElement(React.Fragment, null,
17142
+ day,
17143
+ month)) : (React.createElement(React.Fragment, null,
17144
+ month,
17145
+ day)),
17116
17146
  React.createElement(InputTextComponent, { className: `${cssId}__year sid-date__year sid-text-input sid-text-input--required ${isErrored ? "sid-text-input--error" : ""}`, id: `${fieldId}-year`, name: `${cssId}-year`, type: "text", isErrored: isErrored, min: minYear, max: thisYear, value: dateYear || "", pattern: "\\d*", placeholder: intl.formatHTMLMessage({ id: "dateTime.year", defaultMessage: "Year" }), hidePlaceholder: false, "aria-label": intl.formatHTMLMessage({ id: "dateTime.year", defaultMessage: "Year" }), "aria-labelledby": cssId, "aria-required": isRequired, refId: `${fieldName}Year`, onChange: (e) => updateBirthYear(e.target.value), onBlur: getDate })),
17117
17147
  isErrored ? wrappedErrMsg : null));
17118
17148
  };
17119
17149
  const DateComponent = injectIntl(DateInput);
17120
17150
 
17121
- const BirthDateComponent = ({ onChange, isErrored, isRequired = true, errorId, value = "2000-01-01", }) => (React.createElement(DateComponent, { value: value, label: React.createElement(FormattedHTMLMessage, { id: "birthDate", defaultMessage: "Date of birth" }), onChange: onChange, fieldId: "birthdate", fieldName: "birthDate", isErrored: isErrored, isRequired: isRequired, errorMsg: errorId ? (React.createElement(FormattedHTMLMessage, { id: `errorId.${errorId}`, defaultMessage: "Invalid birth date" })) : (React.createElement(FormattedHTMLMessage, { id: "errorId.invalidBirthDate", defaultMessage: "Invalid birth date" })) }));
17151
+ const BirthDateComponent = ({ onChange, isErrored, isRequired = true, errorId, value = "2000-01-01", locale = DEFAULT_LOCALE, }) => (React.createElement(DateComponent, { value: value, label: React.createElement(FormattedHTMLMessage, { id: "birthDate", defaultMessage: "Date of birth" }), onChange: onChange, fieldId: "birthdate", fieldName: "birthDate", isErrored: isErrored, isRequired: isRequired, locale: locale, errorMsg: errorId ? (React.createElement(FormattedHTMLMessage, { id: `errorId.${errorId}`, defaultMessage: "Invalid birth date" })) : (React.createElement(FormattedHTMLMessage, { id: "errorId.invalidBirthDate", defaultMessage: "Invalid birth date" })) }));
17122
17152
 
17123
17153
  function replaceCustomTags(text, tagmap) {
17124
17154
  if (typeof text !== "string")
@@ -17453,6 +17483,7 @@ const StepStudentPersonalInfo = ({ verificationService, }) => {
17453
17483
  });
17454
17484
  verificationService.updateViewModel(nextState);
17455
17485
  };
17486
+ const locale = viewModel.localeChoice.value;
17456
17487
  return (React.createElement("div", { id: "sid-step-student-personal-info", className: "sid-l-container" },
17457
17488
  failedInstantMatch ? (React.createElement("div", { className: "sid-header" },
17458
17489
  React.createElement("div", { className: "sid-l-horz-center" },
@@ -17485,7 +17516,7 @@ const StepStudentPersonalInfo = ({ verificationService, }) => {
17485
17516
  updateStudentViewModel("lastName", newValue);
17486
17517
  updateFieldValidationErrorsByFieldId("lastName", newValue, verificationService);
17487
17518
  } })),
17488
- React.createElement(BirthDateComponent, { value: viewModel.birthDate, isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, isRequired: true, onChange: (newValue) => {
17519
+ React.createElement(BirthDateComponent, { value: viewModel.birthDate, isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, isRequired: true, onChange: (newValue) => {
17489
17520
  updateStudentViewModel("birthDate", newValue);
17490
17521
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
17491
17522
  } }),
@@ -17539,6 +17570,7 @@ const StepSeniorPersonalInfo = ({ verificationService }) => {
17539
17570
  const { fieldValidationErrors } = verificationService;
17540
17571
  const verificationResponse = verificationService.verificationResponse;
17541
17572
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
17573
+ const locale = viewModel.localeChoice.value;
17542
17574
  const updateSeniorViewModel = (key, value) => {
17543
17575
  const nextState = fn(viewModel, (draft) => {
17544
17576
  draft[key] = value;
@@ -17572,7 +17604,7 @@ const StepSeniorPersonalInfo = ({ verificationService }) => {
17572
17604
  updateSeniorViewModel("lastName", newValue);
17573
17605
  updateFieldValidationErrorsByFieldId("lastName", newValue, verificationService);
17574
17606
  } })),
17575
- React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
17607
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, onChange: (newValue) => {
17576
17608
  updateSeniorViewModel("birthDate", newValue);
17577
17609
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
17578
17610
  }, value: viewModel.birthDate }),
@@ -17647,6 +17679,7 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
17647
17679
  const { isSmsNotifierConfigured, smsLoopEnabled } = verificationService.programTheme;
17648
17680
  const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);
17649
17681
  const defaultRequiredFields = safeCountryValue === "US" ? [{ key: "postalCode" }] : [];
17682
+ const locale = viewModel.localeChoice.value;
17650
17683
  const [requiredFields, setRequiredFields] = React.useState(defaultRequiredFields);
17651
17684
  if (!fieldValidationErrors.phoneNumber &&
17652
17685
  verificationResponse.errorIds &&
@@ -17729,7 +17762,7 @@ const StepAgePersonalInfo = ({ verificationService, intl }) => {
17729
17762
  updateAgeViewModel("lastName", newValue);
17730
17763
  updateFieldValidationErrorsByFieldId("lastName", newValue, verificationService);
17731
17764
  } })),
17732
- React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
17765
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, onChange: (newValue) => {
17733
17766
  updateAgeViewModel("birthDate", newValue);
17734
17767
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
17735
17768
  }, value: viewModel.birthDate }),
@@ -17801,6 +17834,7 @@ const StepTeacherPersonalInfo = ({ verificationService, }) => {
17801
17834
  const { fieldValidationErrors } = verificationService;
17802
17835
  const verificationResponse = verificationService.verificationResponse;
17803
17836
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
17837
+ const locale = viewModel.localeChoice.value;
17804
17838
  const updateTeacherViewModel = (key, value) => {
17805
17839
  const nextState = fn(viewModel, (draft) => {
17806
17840
  draft[key] = value;
@@ -17849,7 +17883,7 @@ const StepTeacherPersonalInfo = ({ verificationService, }) => {
17849
17883
  updateTeacherViewModel("lastName", newValue);
17850
17884
  updateFieldValidationErrorsByFieldId("lastName", newValue, verificationService);
17851
17885
  } })),
17852
- verificationService.programTheme.idCheckAddOnEnabled ? (React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
17886
+ verificationService.programTheme.idCheckAddOnEnabled ? (React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, onChange: (newValue) => {
17853
17887
  updateTeacherViewModel("birthDate", newValue);
17854
17888
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
17855
17889
  }, value: viewModel.birthDate })) : null,
@@ -17917,6 +17951,7 @@ const StepMemberPersonalInfo = ({ verificationService }) => {
17917
17951
  const { fieldValidationErrors } = verificationService;
17918
17952
  const verificationResponse = verificationService.verificationResponse;
17919
17953
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
17954
+ const locale = viewModel.localeChoice.value;
17920
17955
  const updateMemberViewModel = (key, value) => {
17921
17956
  const nextState = fn(viewModel, (draft) => {
17922
17957
  draft[key] = value;
@@ -17959,7 +17994,7 @@ const StepMemberPersonalInfo = ({ verificationService }) => {
17959
17994
  updateMemberViewModel("email", newValue);
17960
17995
  updateFieldValidationErrorsByFieldId("email", newValue, verificationService);
17961
17996
  }, onKeyDown: (event) => handleEmailOnKeyDown(event) }),
17962
- React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, isRequired: false, onChange: (newValue) => {
17997
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, isRequired: false, onChange: (newValue) => {
17963
17998
  updateMemberViewModel("birthDate", newValue);
17964
17999
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
17965
18000
  }, value: viewModel.birthDate }),
@@ -18097,7 +18132,7 @@ const BranchOfService = ({ autoFocus, onChange, value, isErrored, organizations,
18097
18132
  };
18098
18133
  const BranchOfServiceComponent = injectIntl(BranchOfService);
18099
18134
 
18100
- const ActiveDutyStartDateComponent = ({ onChange, isErrored, errorId = "invalidActiveDutyStartDate", value = "2000-01-01", }) => (React.createElement(DateComponent, { value: value, label: React.createElement(FormattedHTMLMessage, { id: "activeDutyStartDate", defaultMessage: "Active Duty Start Date" }), onChange: onChange, fieldName: "activeDutyStartDate", fieldId: "sid-active-duty-start-date", isErrored: isErrored, isRequired: true, errorMsg: React.createElement(FormattedHTMLMessage, { id: `errorId.${errorId}`, defaultMessage: "Invalid start date" }) }));
18135
+ const ActiveDutyStartDateComponent = ({ onChange, isErrored, errorId = "invalidActiveDutyStartDate", value = "2000-01-01", locale = DEFAULT_LOCALE, }) => (React.createElement(DateComponent, { value: value, label: React.createElement(FormattedHTMLMessage, { id: "activeDutyStartDate", defaultMessage: "Active Duty Start Date" }), onChange: onChange, fieldName: "activeDutyStartDate", fieldId: "sid-active-duty-start-date", locale: locale, isErrored: isErrored, errorMsg: React.createElement(FormattedHTMLMessage, { id: `errorId.${errorId}`, defaultMessage: "Invalid start date" }) }));
18101
18136
 
18102
18137
  /**
18103
18138
  * TODO - preamble
@@ -18110,6 +18145,7 @@ const StepActiveMilitaryPersonalInfo = ({ intl, verificationService, }) => {
18110
18145
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
18111
18146
  const { status } = verificationService.viewModel;
18112
18147
  const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);
18148
+ const locale = viewModel.localeChoice.value;
18113
18149
  const updateActiveMilitaryViewModel = (key, value) => {
18114
18150
  verificationService.updateViewModel(updateMilitaryViewModel(key, value, verificationService, availableStatuses));
18115
18151
  };
@@ -18172,11 +18208,11 @@ const StepActiveMilitaryPersonalInfo = ({ intl, verificationService, }) => {
18172
18208
  updateActiveMilitaryViewModel("lastName", newValue);
18173
18209
  updateFieldValidationErrorsByFieldId("lastName", newValue, verificationService);
18174
18210
  } })),
18175
- React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
18211
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, onChange: (newValue) => {
18176
18212
  updateActiveMilitaryViewModel("birthDate", newValue);
18177
18213
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
18178
18214
  }, value: viewModel.birthDate }),
18179
- verificationService.programTheme.strictMilitaryValidationEnabled && (React.createElement(ActiveDutyStartDateComponent, { isErrored: !!fieldValidationErrors.activeDutyStartDate, errorId: fieldValidationErrors.activeDutyStartDate, onChange: (newValue) => {
18215
+ verificationService.programTheme.strictMilitaryValidationEnabled && (React.createElement(ActiveDutyStartDateComponent, { isErrored: !!fieldValidationErrors.activeDutyStartDate, errorId: fieldValidationErrors.activeDutyStartDate, locale: locale, onChange: (newValue) => {
18180
18216
  updateActiveMilitaryViewModel("activeDutyStartDate", newValue);
18181
18217
  updateFieldValidationErrorsByFieldId("activeDutyStartDate", newValue, verificationService);
18182
18218
  }, value: viewModel.activeDutyStartDate })),
@@ -18220,6 +18256,7 @@ const StepInactiveMilitaryPersonalInfo = ({ intl, verificationService, }) => {
18220
18256
  const verificationResponse = verificationService.verificationResponse;
18221
18257
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
18222
18258
  const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);
18259
+ const locale = viewModel.localeChoice.value;
18223
18260
  const updateInactiveMilitaryViewModel = (key, value) => {
18224
18261
  verificationService.updateViewModel(updateMilitaryViewModel(key, value, verificationService, availableStatuses));
18225
18262
  };
@@ -18280,11 +18317,11 @@ const StepInactiveMilitaryPersonalInfo = ({ intl, verificationService, }) => {
18280
18317
  updateInactiveMilitaryViewModel("lastName", newValue);
18281
18318
  updateFieldValidationErrorsByFieldId("lastName", newValue, verificationService);
18282
18319
  } })),
18283
- React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
18320
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, onChange: (newValue) => {
18284
18321
  updateInactiveMilitaryViewModel("birthDate", newValue);
18285
18322
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
18286
18323
  }, value: viewModel.birthDate }),
18287
- verificationService.programTheme.strictMilitaryValidationEnabled && (React.createElement(ActiveDutyStartDateComponent, { isErrored: !!fieldValidationErrors.activeDutyStartDate, onChange: (newValue) => {
18324
+ verificationService.programTheme.strictMilitaryValidationEnabled && (React.createElement(ActiveDutyStartDateComponent, { isErrored: !!fieldValidationErrors.activeDutyStartDate, locale: locale, onChange: (newValue) => {
18288
18325
  updateInactiveMilitaryViewModel("activeDutyStartDate", newValue);
18289
18326
  updateFieldValidationErrorsByFieldId("activeDutyStartDate", newValue, verificationService);
18290
18327
  }, value: viewModel.activeDutyStartDate })),
@@ -18341,6 +18378,7 @@ const StepFirstResponderPersonalInfo = ({ intl, verificationService, }) => {
18341
18378
  const { fieldValidationErrors } = verificationService;
18342
18379
  const verificationResponse = verificationService.verificationResponse;
18343
18380
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
18381
+ const locale = viewModel.localeChoice.value;
18344
18382
  const updateFirstResponderViewModel = (key, value) => {
18345
18383
  const nextState = fn(viewModel, (draft) => {
18346
18384
  draft[key] = value;
@@ -18407,7 +18445,7 @@ const StepFirstResponderPersonalInfo = ({ intl, verificationService, }) => {
18407
18445
  updateFirstResponderViewModel("lastName", newValue);
18408
18446
  updateFieldValidationErrorsByFieldId("lastName", newValue, verificationService);
18409
18447
  } })),
18410
- React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
18448
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, onChange: (newValue) => {
18411
18449
  updateFirstResponderViewModel("birthDate", newValue);
18412
18450
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
18413
18451
  }, value: viewModel.birthDate }),
@@ -18474,6 +18512,7 @@ const StepMedicalProfessionalPersonalInfo = ({ intl, verificationService, }) =>
18474
18512
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
18475
18513
  const [memberIdMessageKeys, setMemberIdMessageKeys] = React.useState(undefined);
18476
18514
  const [showMemberId, setShowMemberId] = React.useState(false);
18515
+ const locale = viewModel.localeChoice.value;
18477
18516
  const updateMedicalProfessionalViewModel = (key, value) => {
18478
18517
  const nextState = produceDraftViewModel(viewModel, key, value);
18479
18518
  verificationService.updateViewModel(nextState);
@@ -18551,7 +18590,7 @@ const StepMedicalProfessionalPersonalInfo = ({ intl, verificationService, }) =>
18551
18590
  updateMedicalProfessionalViewModel("lastName", newValue);
18552
18591
  updateFieldValidationErrorsByFieldId("lastName", newValue, verificationService);
18553
18592
  } })),
18554
- React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
18593
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, onChange: (newValue) => {
18555
18594
  updateMedicalProfessionalViewModel("birthDate", newValue);
18556
18595
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
18557
18596
  }, value: viewModel.birthDate }),
@@ -18819,6 +18858,7 @@ const StepGeneralIdentityPersonalInfo = ({ intl, verificationService, }) => {
18819
18858
  const { fieldValidationErrors } = verificationService;
18820
18859
  const verificationResponse = verificationService.verificationResponse;
18821
18860
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
18861
+ const locale = viewModel.localeChoice.value;
18822
18862
  const updateIdentityViewModel = (key, value) => {
18823
18863
  const nextState = fn(viewModel, (draft) => {
18824
18864
  draft[key] = value;
@@ -18863,7 +18903,7 @@ const StepGeneralIdentityPersonalInfo = ({ intl, verificationService, }) => {
18863
18903
  updateIdentityViewModel("phoneNumber", newValue);
18864
18904
  updateFieldValidationErrorsByFieldId("phoneNumber", newValue, verificationService);
18865
18905
  }, selectedCountryCode: viewModel.countryChoice && viewModel.countryChoice.value })) : null,
18866
- React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
18906
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, onChange: (newValue) => {
18867
18907
  updateIdentityViewModel("birthDate", newValue);
18868
18908
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
18869
18909
  }, value: viewModel.birthDate }),
@@ -18912,6 +18952,7 @@ const StepHybridIdentityPersonalInfo = ({ intl, verificationService, }) => {
18912
18952
  const { fieldValidationErrors } = verificationService;
18913
18953
  const verificationResponse = verificationService.verificationResponse;
18914
18954
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
18955
+ const locale = viewModel.localeChoice.value;
18915
18956
  const updateIdentityViewModel = (key, value) => {
18916
18957
  const nextState = fn(viewModel, (draft) => {
18917
18958
  draft[key] = value;
@@ -18956,7 +18997,7 @@ const StepHybridIdentityPersonalInfo = ({ intl, verificationService, }) => {
18956
18997
  updateIdentityViewModel("phoneNumber", newValue);
18957
18998
  updateFieldValidationErrorsByFieldId("phoneNumber", newValue, verificationService);
18958
18999
  }, selectedCountryCode: viewModel.countryChoice && viewModel.countryChoice.value })) : null,
18959
- React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
19000
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, onChange: (newValue) => {
18960
19001
  updateIdentityViewModel("birthDate", newValue);
18961
19002
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
18962
19003
  }, value: viewModel.birthDate }),
@@ -19028,6 +19069,7 @@ const StepLicensedProfessionalPersonalInfo = ({ intl, verificationService, }) =>
19028
19069
  const { fieldValidationErrors } = verificationService;
19029
19070
  const verificationResponse = verificationService.verificationResponse;
19030
19071
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
19072
+ const locale = viewModel.localeChoice.value;
19031
19073
  const updateLicensedProfessionalViewModel = (key, value) => {
19032
19074
  const nextState = fn(viewModel, (draft) => {
19033
19075
  draft[key] = value;
@@ -19089,7 +19131,7 @@ const StepLicensedProfessionalPersonalInfo = ({ intl, verificationService, }) =>
19089
19131
  updateLicensedProfessionalViewModel("lastName", newValue);
19090
19132
  updateFieldValidationErrorsByFieldId("lastName", newValue, verificationService);
19091
19133
  } })),
19092
- React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
19134
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, onChange: (newValue) => {
19093
19135
  updateLicensedProfessionalViewModel("birthDate", newValue);
19094
19136
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
19095
19137
  }, value: viewModel.birthDate }),
@@ -19231,6 +19273,7 @@ const StepLowIncomePersonalInfo = ({ intl, verificationService, }) => {
19231
19273
  const { fieldValidationErrors } = verificationService;
19232
19274
  const verificationResponse = verificationService.verificationResponse;
19233
19275
  const failedInstantMatch = hasFailedInstantMatch(verificationResponse);
19276
+ const locale = viewModel.localeChoice.value;
19234
19277
  const selectedStatus = viewModel.statuses[0] ? viewModel.statuses[0] : undefined;
19235
19278
  const isSelectedStatusSnapBenefits = selectedStatus === "SNAP_BENEFITS";
19236
19279
  const updateLowIncomeViewModel = (key, value) => {
@@ -19308,7 +19351,7 @@ const StepLowIncomePersonalInfo = ({ intl, verificationService, }) => {
19308
19351
  updateLowIncomeViewModel("lastName", newValue);
19309
19352
  updateFieldValidationErrorsByFieldId("lastName", newValue, verificationService);
19310
19353
  } })),
19311
- React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, onChange: (newValue) => {
19354
+ React.createElement(BirthDateComponent, { isErrored: !!fieldValidationErrors.birthDate, errorId: fieldValidationErrors.birthDate, locale: locale, onChange: (newValue) => {
19312
19355
  updateLowIncomeViewModel("birthDate", newValue);
19313
19356
  updateFieldValidationErrorsByFieldId("birthDate", newValue, verificationService);
19314
19357
  }, value: viewModel.birthDate }),