@sheerid/jslib-nightly 2.142.0-alpha.0 → 2.143.0-alpha.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 (246) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +1825 -1809
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/EmailLoopPending-CHILFZYc.js +4 -4
  5. package/chunk/EmailLoopPending-Nn_H3cfS.js +4 -4
  6. package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +4 -4
  7. package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +4 -4
  8. package/chunk/Onfido-BX3RMDPu.js +4 -4
  9. package/chunk/StepIDCheckLoopOnfido-CdtGsqUQ.js +4 -4
  10. package/chunk/StepIDCheckLoopOnfido-wDQ56PaN.js +4 -4
  11. package/chunk/StepIDCheckLoopRegula-BHrKTobC.js +4 -4
  12. package/chunk/StepIDCheckLoopRegula-Bxzg0ROh.js +4 -4
  13. package/chunk/StepInactiveMilitaryPersonalInfoComponent-B_SLFztq.js +4 -4
  14. package/chunk/StepInactiveMilitaryPersonalInfoComponent-D5bERGdY.js +4 -4
  15. package/chunk/ar-DgWnOHb0.js +4 -4
  16. package/chunk/bg-BOoVh0N7.js +4 -4
  17. package/chunk/bn-IN-DfQpdb68.js +4 -4
  18. package/chunk/cs-B9lN4RVR.js +4 -4
  19. package/chunk/da-BaOy33h_.js +4 -4
  20. package/chunk/de-uUHs3YXy.js +4 -4
  21. package/chunk/el-xIXJ9sqU.js +4 -4
  22. package/chunk/en-GB-8EI1uDkp.js +4 -4
  23. package/chunk/es-B7SMjWOB.js +4 -4
  24. package/chunk/es-ES-DZwHzn0T.js +4 -4
  25. package/chunk/fi-DdpuBVsY.js +4 -4
  26. package/chunk/fr-CA-CWSDRram.js +4 -4
  27. package/chunk/fr-Crh-QCJ-.js +4 -4
  28. package/chunk/ga-2XNN2X9n.js +4 -4
  29. package/chunk/hi-IN-CXpzvJ5p.js +4 -4
  30. package/chunk/hr-BWFHQt1b.js +4 -4
  31. package/chunk/hu-BQsQ1_1B.js +4 -4
  32. package/chunk/id-D1BredfW.js +4 -4
  33. package/chunk/index-1Cpf6KJI.js +4 -4
  34. package/chunk/index-2ob_KvkC.js +4 -4
  35. package/chunk/index-AHdKDpDe.js +4 -4
  36. package/chunk/index-B0fLWq5B.js +4 -4
  37. package/chunk/{index-dt1aUu5L.js → index-BARZY0Ha.js} +76 -69
  38. package/chunk/index-BARZY0Ha.js.map +1 -0
  39. package/chunk/index-BFhiexXx.js +4 -4
  40. package/chunk/index-BU0HFLKm.js +4 -4
  41. package/chunk/{index-DR8uqKnQ.js → index-BbZgRCJA.js} +76 -69
  42. package/chunk/index-BbZgRCJA.js.map +1 -0
  43. package/chunk/{index-Ab6NJ5Bn.js → index-ByHaYlzv.js} +443 -426
  44. package/chunk/{index-Ab6NJ5Bn.js.map → index-ByHaYlzv.js.map} +1 -1
  45. package/chunk/index-C3XrPBfJ.js +4 -4
  46. package/chunk/index-C4OCK6G0.js +4 -4
  47. package/chunk/index-C6KSFLsT.js +4 -4
  48. package/chunk/index-C8UuTatc.js +4 -4
  49. package/chunk/index-CBk9S5Sk.js +4 -4
  50. package/chunk/index-CRJId5Zv.js +4 -4
  51. package/chunk/index-CVEIzLov.js +4 -4
  52. package/chunk/index-CcE-GFi6.js +4 -4
  53. package/chunk/index-CjcYFvhf.js +4 -4
  54. package/chunk/index-CzOav1ZI.js +4 -4
  55. package/chunk/index-D3gKaa4t.js +4 -4
  56. package/chunk/index-D4FMD-a0.js +4 -4
  57. package/chunk/index-DAE3SOJH.js +4 -4
  58. package/chunk/index-DCTYdT7J.js +4 -4
  59. package/chunk/index-DFajPA-e.js +4 -4
  60. package/chunk/index-DHnJQWxO.js +4 -4
  61. package/chunk/index-DHtYIKVA.js +4 -4
  62. package/chunk/index-DIkWpujR.js +4 -4
  63. package/chunk/index-DJo820YY.js +4 -4
  64. package/chunk/index-DdQD36Ht.js +4 -4
  65. package/chunk/index-Dg1E2EXp.js +4 -4
  66. package/chunk/index-Nrs9NgvW.js +4 -4
  67. package/chunk/index-SwnUiXjr.js +4 -4
  68. package/chunk/index-eFXOIqbw.js +4 -4
  69. package/chunk/index-huf3obhv.js +4 -4
  70. package/chunk/index-n6fChAZJ.js +4 -4
  71. package/chunk/index-oHEY5B58.js +4 -4
  72. package/chunk/index-oagew295.js +4 -4
  73. package/chunk/{index-BKeGcdZT.js → index-xT_pYFTE.js} +443 -426
  74. package/chunk/{index-BKeGcdZT.js.map → index-xT_pYFTE.js.map} +1 -1
  75. package/chunk/index-zX2rojxg.js +4 -4
  76. package/chunk/is-BQ1w_dZd.js +4 -4
  77. package/chunk/it-DWcg5lrp.js +4 -4
  78. package/chunk/iw-CH8pA0K5.js +4 -4
  79. package/chunk/ja-DTB4oZtr.js +4 -4
  80. package/chunk/ko-YjkGeAf9.js +4 -4
  81. package/chunk/lo-BUmUlWoZ.js +4 -4
  82. package/chunk/lt-DyDf6oJm.js +4 -4
  83. package/chunk/ms-CIV35HiR.js +4 -4
  84. package/chunk/nl-BE-qnndQXN-.js +4 -4
  85. package/chunk/nl-BEcCaCBh.js +4 -4
  86. package/chunk/no-6tZgKN0w.js +4 -4
  87. package/chunk/pl-CfngpFII.js +4 -4
  88. package/chunk/pt-BR-BkmnC8r-.js +4 -4
  89. package/chunk/pt-D3Gz8aCi.js +4 -4
  90. package/chunk/ro-SIuDm7Nt.js +4 -4
  91. package/chunk/ru-DrinNLb3.js +4 -4
  92. package/chunk/sk-DK0CgugP.js +4 -4
  93. package/chunk/sl-BSnDNZ_p.js +4 -4
  94. package/chunk/sr-t_C4aOh0.js +4 -4
  95. package/chunk/sv-hjxeMgEO.js +4 -4
  96. package/chunk/sw-Bx_fcZ4c.js +4 -4
  97. package/chunk/th-kkF4cO_F.js +4 -4
  98. package/chunk/tr-Dra2pQ5h.js +4 -4
  99. package/chunk/uk-UEKtnnPj.js +4 -4
  100. package/chunk/ur-COGBRjXF.js +4 -4
  101. package/chunk/useCollectFieldsEndpoint-DFo1yXvN.js +4 -4
  102. package/chunk/useCollectFieldsEndpoint-DPX8CT4Y.js +4 -4
  103. package/chunk/useEmailFirstExperiment-0w7ddaGM.js +4 -4
  104. package/chunk/useEmailFirstExperiment-BT8sb1Ma.js +4 -4
  105. package/chunk/vi-CAhGkrs3.js +4 -4
  106. package/chunk/zh-CobVQtU0.js +4 -4
  107. package/chunk/zh-HK-BuYPE4ck.js +4 -4
  108. package/chunk/zu-LijCPCBd.js +4 -4
  109. package/es6.css +4 -4
  110. package/jslib.js +20 -20
  111. package/lib/{EmailLoopPending-DH_ik79n.js → EmailLoopPending-BnDYLSO9.js} +5 -5
  112. package/lib/{EmailLoopPending-DH_ik79n.js.map → EmailLoopPending-BnDYLSO9.js.map} +1 -1
  113. package/lib/{LicensedProfessionalOrganizationComponent-x_yZ4EmH.js → LicensedProfessionalOrganizationComponent-BKShSJbz.js} +5 -5
  114. package/lib/{LicensedProfessionalOrganizationComponent-x_yZ4EmH.js.map → LicensedProfessionalOrganizationComponent-BKShSJbz.js.map} +1 -1
  115. package/lib/Onfido-BX3RMDPu.js +4 -4
  116. package/lib/StepCollectMilitaryStatusComponent-DjGAzdM3.js +11 -0
  117. package/lib/{StepCollectMilitaryStatusComponent-B6nxZ9PQ.js.map → StepCollectMilitaryStatusComponent-DjGAzdM3.js.map} +1 -1
  118. package/lib/{StepIDCheckLoopOnfido-B1Ix3_Al.js → StepIDCheckLoopOnfido-BHHsIklN.js} +5 -5
  119. package/lib/{StepIDCheckLoopOnfido-B1Ix3_Al.js.map → StepIDCheckLoopOnfido-BHHsIklN.js.map} +1 -1
  120. package/lib/{StepIDCheckLoopRegula-CfRJkrW9.js → StepIDCheckLoopRegula-D5LYuadY.js} +5 -5
  121. package/lib/{StepIDCheckLoopRegula-CfRJkrW9.js.map → StepIDCheckLoopRegula-D5LYuadY.js.map} +1 -1
  122. package/lib/{StepInactiveMilitaryPersonalInfoComponent-BEEtbr02.js → StepInactiveMilitaryPersonalInfoComponent-DYpumpb8.js} +66 -66
  123. package/lib/{StepInactiveMilitaryPersonalInfoComponent-BEEtbr02.js.map → StepInactiveMilitaryPersonalInfoComponent-DYpumpb8.js.map} +1 -1
  124. package/lib/{VerificationApiUtils-1yV8hYw5.js → VerificationApiUtils-DlK8JX1J.js} +5 -5
  125. package/lib/{VerificationApiUtils-1yV8hYw5.js.map → VerificationApiUtils-DlK8JX1J.js.map} +1 -1
  126. package/lib/ar-DgWnOHb0.js +4 -4
  127. package/lib/bg-BOoVh0N7.js +4 -4
  128. package/lib/bn-IN-DfQpdb68.js +4 -4
  129. package/lib/cs-B9lN4RVR.js +4 -4
  130. package/lib/da-BaOy33h_.js +4 -4
  131. package/lib/de-uUHs3YXy.js +4 -4
  132. package/lib/el-xIXJ9sqU.js +4 -4
  133. package/lib/en-GB-8EI1uDkp.js +4 -4
  134. package/lib/es-B7SMjWOB.js +4 -4
  135. package/lib/es-ES-DZwHzn0T.js +4 -4
  136. package/lib/{es6-D1eY1iM7.js → es6-hLz0cQTn.js} +2312 -2296
  137. package/lib/es6-hLz0cQTn.js.map +1 -0
  138. package/lib/fi-DdpuBVsY.js +4 -4
  139. package/lib/fr-CA-CWSDRram.js +4 -4
  140. package/lib/fr-Crh-QCJ-.js +4 -4
  141. package/lib/ga-2XNN2X9n.js +4 -4
  142. package/lib/hi-IN-CXpzvJ5p.js +4 -4
  143. package/lib/hr-BWFHQt1b.js +4 -4
  144. package/lib/hu-BQsQ1_1B.js +4 -4
  145. package/lib/id-D1BredfW.js +4 -4
  146. package/lib/{index-VuNNKOmr.js → index-5ScADjEj.js} +5 -5
  147. package/lib/{index-VuNNKOmr.js.map → index-5ScADjEj.js.map} +1 -1
  148. package/lib/{index-CI_r31Uw.js → index-7VxR6WI5.js} +7 -7
  149. package/lib/{index-CI_r31Uw.js.map → index-7VxR6WI5.js.map} +1 -1
  150. package/lib/{index-BqckhJVS.js → index-7YIcTRAA.js} +42 -35
  151. package/lib/index-7YIcTRAA.js.map +1 -0
  152. package/lib/{index-gEwQn26a.js → index-7mbMbgFf.js} +21 -21
  153. package/lib/{index-gEwQn26a.js.map → index-7mbMbgFf.js.map} +1 -1
  154. package/lib/{index-BNen0NvV.js → index-BEPTMNaN.js} +6 -6
  155. package/lib/{index-BNen0NvV.js.map → index-BEPTMNaN.js.map} +1 -1
  156. package/lib/{index-BslaCqII.js → index-Bc7dn4TB.js} +6 -6
  157. package/lib/{index-BslaCqII.js.map → index-Bc7dn4TB.js.map} +1 -1
  158. package/lib/index-BhyyemZX.js +11 -0
  159. package/lib/index-BhyyemZX.js.map +1 -0
  160. package/lib/index-BiQnlagr.js +11 -0
  161. package/lib/index-BiQnlagr.js.map +1 -0
  162. package/lib/{index-Cl0qwvML.js → index-BsStY8bb.js} +6 -6
  163. package/lib/{index-Cl0qwvML.js.map → index-BsStY8bb.js.map} +1 -1
  164. package/lib/{index-27mhI-22.js → index-BtvKRZe_.js} +9 -9
  165. package/lib/{index-27mhI-22.js.map → index-BtvKRZe_.js.map} +1 -1
  166. package/lib/{index-CT8uMIjB.js → index-CB38EB7B.js} +5 -5
  167. package/lib/{index-CT8uMIjB.js.map → index-CB38EB7B.js.map} +1 -1
  168. package/lib/{index-DBGTWW4T.js → index-CVvT6Abk.js} +5 -5
  169. package/lib/{index-DBGTWW4T.js.map → index-CVvT6Abk.js.map} +1 -1
  170. package/lib/{index-CD__bBXN.js → index-Cgn5YwQZ.js} +6 -6
  171. package/lib/{index-CD__bBXN.js.map → index-Cgn5YwQZ.js.map} +1 -1
  172. package/lib/{index-BW95T9zs.js → index-CgwSBIkx.js} +6 -6
  173. package/lib/{index-BW95T9zs.js.map → index-CgwSBIkx.js.map} +1 -1
  174. package/lib/{index-qKOHC1Ss.js → index-CyKubSWn.js} +10 -10
  175. package/lib/{index-qKOHC1Ss.js.map → index-CyKubSWn.js.map} +1 -1
  176. package/lib/index-D69zvhj4.js +11 -0
  177. package/lib/index-D69zvhj4.js.map +1 -0
  178. package/lib/index-DAOA4i1S.js +11 -0
  179. package/lib/index-DAOA4i1S.js.map +1 -0
  180. package/lib/index-DIkWpujR.js +4 -4
  181. package/lib/{index-W_1d-3IB.js → index-D_RRY_-e.js} +5 -5
  182. package/lib/{index-W_1d-3IB.js.map → index-D_RRY_-e.js.map} +1 -1
  183. package/lib/{index-T0LJvc9d.js → index-Dj5ofyXV.js} +15 -15
  184. package/lib/{index-T0LJvc9d.js.map → index-Dj5ofyXV.js.map} +1 -1
  185. package/lib/{index-MW8fTMBB.js → index-DmmCZGjv.js} +5 -5
  186. package/lib/{index-MW8fTMBB.js.map → index-DmmCZGjv.js.map} +1 -1
  187. package/lib/{index-DbDm-k2z.js → index-IJ1qzoc2.js} +11 -11
  188. package/lib/{index-DbDm-k2z.js.map → index-IJ1qzoc2.js.map} +1 -1
  189. package/lib/{index-DTZnK96J.js → index-LLgqwu1f.js} +5 -5
  190. package/lib/{index-DTZnK96J.js.map → index-LLgqwu1f.js.map} +1 -1
  191. package/lib/{index-Cz8573Oz.js → index-gT7kxzOV.js} +572 -555
  192. package/lib/{index-Cz8573Oz.js.map → index-gT7kxzOV.js.map} +1 -1
  193. package/lib/is-BQ1w_dZd.js +4 -4
  194. package/lib/it-DWcg5lrp.js +4 -4
  195. package/lib/iw-CH8pA0K5.js +4 -4
  196. package/lib/ja-DTB4oZtr.js +4 -4
  197. package/lib/ko-YjkGeAf9.js +4 -4
  198. package/lib/lo-BUmUlWoZ.js +4 -4
  199. package/lib/lt-DyDf6oJm.js +4 -4
  200. package/lib/ms-CIV35HiR.js +4 -4
  201. package/lib/nl-BE-qnndQXN-.js +4 -4
  202. package/lib/nl-BEcCaCBh.js +4 -4
  203. package/lib/no-6tZgKN0w.js +4 -4
  204. package/lib/pl-CfngpFII.js +4 -4
  205. package/lib/pt-BR-BkmnC8r-.js +4 -4
  206. package/lib/pt-D3Gz8aCi.js +4 -4
  207. package/lib/ro-SIuDm7Nt.js +4 -4
  208. package/lib/ru-DrinNLb3.js +4 -4
  209. package/lib/sk-DK0CgugP.js +4 -4
  210. package/lib/sl-BSnDNZ_p.js +4 -4
  211. package/lib/sr-t_C4aOh0.js +4 -4
  212. package/lib/sv-hjxeMgEO.js +4 -4
  213. package/lib/sw-Bx_fcZ4c.js +4 -4
  214. package/lib/th-kkF4cO_F.js +4 -4
  215. package/lib/tr-Dra2pQ5h.js +4 -4
  216. package/lib/uk-UEKtnnPj.js +4 -4
  217. package/lib/ur-COGBRjXF.js +4 -4
  218. package/lib/{useCollectFieldsEndpoint-BHYxAqnF.js → useCollectFieldsEndpoint-DuVXD5XO.js} +6 -6
  219. package/lib/{useCollectFieldsEndpoint-BHYxAqnF.js.map → useCollectFieldsEndpoint-DuVXD5XO.js.map} +1 -1
  220. package/lib/{useEmailFirstExperiment-cQUzqFs1.js → useEmailFirstExperiment-D2glplyp.js} +14 -14
  221. package/lib/{useEmailFirstExperiment-cQUzqFs1.js.map → useEmailFirstExperiment-D2glplyp.js.map} +1 -1
  222. package/lib/vi-CAhGkrs3.js +4 -4
  223. package/lib/zh-CobVQtU0.js +4 -4
  224. package/lib/zh-HK-BuYPE4ck.js +4 -4
  225. package/lib/zu-LijCPCBd.js +4 -4
  226. package/package.json +1 -1
  227. package/sheerid-install.css +4 -4
  228. package/sheerid-install.js +5 -5
  229. package/sheerid.css +4 -4
  230. package/sheerid.js +1889 -1873
  231. package/sheerid.js.map +1 -1
  232. package/src/lib/GoogleAnalytics/ga.d.ts +13 -0
  233. package/types-reference.zip +0 -0
  234. package/chunk/index-DR8uqKnQ.js.map +0 -1
  235. package/chunk/index-dt1aUu5L.js.map +0 -1
  236. package/lib/StepCollectMilitaryStatusComponent-B6nxZ9PQ.js +0 -11
  237. package/lib/es6-D1eY1iM7.js.map +0 -1
  238. package/lib/index-BjfLH9Nq.js +0 -11
  239. package/lib/index-BjfLH9Nq.js.map +0 -1
  240. package/lib/index-BqckhJVS.js.map +0 -1
  241. package/lib/index-CAbWUucN.js +0 -11
  242. package/lib/index-CAbWUucN.js.map +0 -1
  243. package/lib/index-CcCA74P9.js +0 -11
  244. package/lib/index-CcCA74P9.js.map +0 -1
  245. package/lib/index-DRGi9Q4Z.js +0 -11
  246. package/lib/index-DRGi9Q4Z.js.map +0 -1
@@ -1,23 +1,23 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.142.0-alpha.0
4
- * BUILD_TIMESTAMP: 1761090370720
5
- * BUILD_DATE: Tue Oct 21 2025 23:46:10 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 0b88937d0476ddf334877cc2bc4be0bc80e18cb3
3
+ * VERSION: 2.143.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1761172020384
5
+ * BUILD_DATE: Wed Oct 22 2025 22:27:00 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: fda5a0c829e048ad725ead16b45f8c05b094edf5
7
7
  */
8
- import { n as Ee, aS as Be, aT as K, aU as q, aV as gt, t as f, R as xt, aW as g, j as t, aX as n, aJ as u, b as h, i as bt, ag as be, aq as yt, aF as It, aY as Et, d as vt, aZ as ze, L as Ut, A as jt, a_ as Dt, a$ as _t, K as At, b0 as wt, b1 as Rt, b2 as Ft, m as Nt, l as Oe, V as ye, b3 as Ct, b4 as Tt, b5 as Ot, b6 as St } from "../sheerid.js";
9
- const Lt = (e, a, o) => Ee(e, (r) => {
8
+ import { n as Ue, aS as Be, aT as ee, aU as te, aV as bt, t as f, R as yt, aW as g, j as t, aX as n, aJ as u, b as h, i as It, ag as Ie, aq as Et, aF as vt, aY as Ut, d as jt, aZ as Ve, L as Dt, A as _t, a_ as At, a$ as Rt, K as wt, b0 as Ft, b1 as Nt, b2 as Ct, m as Ot, l as Te, V as Ee, am as We, al as Ge, b3 as Tt, b4 as St, b5 as Lt, b6 as Mt } from "../sheerid.js";
9
+ const kt = (e, a, o) => Ue(e, (r) => {
10
10
  Object.keys(e).filter((s) => !!e[s] && s.includes("file")).map((s) => e[s]).concat(a, Array(Be).fill(void 0)).splice(0, 3).forEach((s, d) => r[`file${d + 1}`] = s), o ? r.erroredFileNames = o : r.erroredFileNames = void 0;
11
- }), Mt = (e, a) => {
11
+ }), Pt = (e, a) => {
12
12
  if (![1, 2, 3].includes(a))
13
13
  throw new Error(
14
14
  `Expected either 1, 2 or 3 for argument "fileNumber", but received ${a}`
15
15
  );
16
- return Ee(e, (o) => {
16
+ return Ue(e, (o) => {
17
17
  Object.keys(e).filter((r) => r.includes("file") && !r.includes(a.toString())).map((r) => e[r]).concat(Array(Be).fill(void 0)).splice(0, 3).forEach((r, s) => o[`file${s + 1}`] = r);
18
18
  });
19
19
  };
20
- var kt = /* @__PURE__ */ new Map([
20
+ var Bt = /* @__PURE__ */ new Map([
21
21
  // https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
22
22
  ["aac", "audio/aac"],
23
23
  ["abw", "application/x-abiword"],
@@ -99,8 +99,8 @@ var kt = /* @__PURE__ */ new Map([
99
99
  ["mov", "video/quicktime"],
100
100
  ["msg", "application/vnd.ms-outlook"]
101
101
  ]);
102
- function ne(e, a) {
103
- var o = Pt(e);
102
+ function ce(e, a) {
103
+ var o = Yt(e);
104
104
  if (typeof o.path != "string") {
105
105
  var r = e.webkitRelativePath;
106
106
  Object.defineProperty(o, "path", {
@@ -112,10 +112,10 @@ function ne(e, a) {
112
112
  }
113
113
  return o;
114
114
  }
115
- function Pt(e) {
115
+ function Yt(e) {
116
116
  var a = e.name, o = a && a.lastIndexOf(".") !== -1;
117
117
  if (o && !e.type) {
118
- var r = a.split(".").pop().toLowerCase(), s = kt.get(r);
118
+ var r = a.split(".").pop().toLowerCase(), s = Bt.get(r);
119
119
  s && Object.defineProperty(e, "type", {
120
120
  value: s,
121
121
  writable: !1,
@@ -125,39 +125,39 @@ function Pt(e) {
125
125
  }
126
126
  return e;
127
127
  }
128
- var Bt = [
128
+ var Ht = [
129
129
  // Thumbnail cache files for macOS and Windows
130
130
  ".DS_Store",
131
131
  "Thumbs.db"
132
132
  // Windows
133
133
  ];
134
- function Yt(e) {
135
- return K(this, void 0, void 0, function() {
136
- return q(this, function(a) {
137
- return ve(e) && Ht(e) ? [2, Gt(e.dataTransfer, e.type)] : zt(e) ? [2, Vt(e)] : Array.isArray(e) && e.every(function(o) {
134
+ function zt(e) {
135
+ return ee(this, void 0, void 0, function() {
136
+ return te(this, function(a) {
137
+ return je(e) && Vt(e) ? [2, Kt(e.dataTransfer, e.type)] : Wt(e) ? [2, Gt(e)] : Array.isArray(e) && e.every(function(o) {
138
138
  return "getFile" in o && typeof o.getFile == "function";
139
- }) ? [2, Wt(e)] : [2, []];
139
+ }) ? [2, $t(e)] : [2, []];
140
140
  });
141
141
  });
142
142
  }
143
- function Ht(e) {
144
- return ve(e.dataTransfer);
143
+ function Vt(e) {
144
+ return je(e.dataTransfer);
145
145
  }
146
- function zt(e) {
147
- return ve(e) && ve(e.target);
146
+ function Wt(e) {
147
+ return je(e) && je(e.target);
148
148
  }
149
- function ve(e) {
149
+ function je(e) {
150
150
  return typeof e == "object" && e !== null;
151
151
  }
152
- function Vt(e) {
152
+ function Gt(e) {
153
153
  return Le(e.target.files).map(function(a) {
154
- return ne(a);
154
+ return ce(a);
155
155
  });
156
156
  }
157
- function Wt(e) {
158
- return K(this, void 0, void 0, function() {
157
+ function $t(e) {
158
+ return ee(this, void 0, void 0, function() {
159
159
  var a;
160
- return q(this, function(o) {
160
+ return te(this, function(o) {
161
161
  switch (o.label) {
162
162
  case 0:
163
163
  return [4, Promise.all(e.map(function(r) {
@@ -165,34 +165,34 @@ function Wt(e) {
165
165
  }))];
166
166
  case 1:
167
167
  return a = o.sent(), [2, a.map(function(r) {
168
- return ne(r);
168
+ return ce(r);
169
169
  })];
170
170
  }
171
171
  });
172
172
  });
173
173
  }
174
- function Gt(e, a) {
175
- return K(this, void 0, void 0, function() {
174
+ function Kt(e, a) {
175
+ return ee(this, void 0, void 0, function() {
176
176
  var o, r;
177
- return q(this, function(s) {
177
+ return te(this, function(s) {
178
178
  switch (s.label) {
179
179
  case 0:
180
180
  return e === null ? [2, []] : e.items ? (o = Le(e.items).filter(function(d) {
181
181
  return d.kind === "file";
182
- }), a !== "drop" ? [2, o] : [4, Promise.all(o.map($t))]) : [3, 2];
182
+ }), a !== "drop" ? [2, o] : [4, Promise.all(o.map(qt))]) : [3, 2];
183
183
  case 1:
184
- return r = s.sent(), [2, Ve(rt(r))];
184
+ return r = s.sent(), [2, $e(it(r))];
185
185
  case 2:
186
- return [2, Ve(Le(e.files).map(function(d) {
187
- return ne(d);
186
+ return [2, $e(Le(e.files).map(function(d) {
187
+ return ce(d);
188
188
  }))];
189
189
  }
190
190
  });
191
191
  });
192
192
  }
193
- function Ve(e) {
193
+ function $e(e) {
194
194
  return e.filter(function(a) {
195
- return Bt.indexOf(a.name) === -1;
195
+ return Ht.indexOf(a.name) === -1;
196
196
  });
197
197
  }
198
198
  function Le(e) {
@@ -204,55 +204,55 @@ function Le(e) {
204
204
  }
205
205
  return a;
206
206
  }
207
- function $t(e) {
207
+ function qt(e) {
208
208
  if (typeof e.webkitGetAsEntry != "function")
209
- return We(e);
209
+ return Ke(e);
210
210
  var a = e.webkitGetAsEntry();
211
- return a && a.isDirectory ? nt(a) : We(e);
211
+ return a && a.isDirectory ? lt(a) : Ke(e);
212
212
  }
213
- function rt(e) {
213
+ function it(e) {
214
214
  return e.reduce(function(a, o) {
215
- return gt(a, Array.isArray(o) ? rt(o) : [o]);
215
+ return bt(a, Array.isArray(o) ? it(o) : [o]);
216
216
  }, []);
217
217
  }
218
- function We(e) {
218
+ function Ke(e) {
219
219
  var a = e.getAsFile();
220
220
  if (!a)
221
221
  return Promise.reject(e + " is not a File");
222
- var o = ne(a);
222
+ var o = ce(a);
223
223
  return Promise.resolve(o);
224
224
  }
225
- function Kt(e) {
226
- return K(this, void 0, void 0, function() {
227
- return q(this, function(a) {
228
- return [2, e.isDirectory ? nt(e) : qt(e)];
225
+ function Zt(e) {
226
+ return ee(this, void 0, void 0, function() {
227
+ return te(this, function(a) {
228
+ return [2, e.isDirectory ? lt(e) : Qt(e)];
229
229
  });
230
230
  });
231
231
  }
232
- function nt(e) {
232
+ function lt(e) {
233
233
  var a = e.createReader();
234
234
  return new Promise(function(o, r) {
235
235
  var s = [];
236
236
  function d() {
237
237
  var m = this;
238
238
  a.readEntries(function(c) {
239
- return K(m, void 0, void 0, function() {
240
- var v, x, w;
241
- return q(this, function(D) {
242
- switch (D.label) {
239
+ return ee(m, void 0, void 0, function() {
240
+ var U, w, C;
241
+ return te(this, function(j) {
242
+ switch (j.label) {
243
243
  case 0:
244
244
  if (c.length) return [3, 5];
245
- D.label = 1;
245
+ j.label = 1;
246
246
  case 1:
247
- return D.trys.push([1, 3, , 4]), [4, Promise.all(s)];
247
+ return j.trys.push([1, 3, , 4]), [4, Promise.all(s)];
248
248
  case 2:
249
- return v = D.sent(), o(v), [3, 4];
249
+ return U = j.sent(), o(U), [3, 4];
250
250
  case 3:
251
- return x = D.sent(), r(x), [3, 4];
251
+ return w = j.sent(), r(w), [3, 4];
252
252
  case 4:
253
253
  return [3, 6];
254
254
  case 5:
255
- w = Promise.all(c.map(Kt)), s.push(w), d(), D.label = 6;
255
+ C = Promise.all(c.map(Zt)), s.push(C), d(), j.label = 6;
256
256
  case 6:
257
257
  return [
258
258
  2
@@ -268,12 +268,12 @@ function nt(e) {
268
268
  d();
269
269
  });
270
270
  }
271
- function qt(e) {
272
- return K(this, void 0, void 0, function() {
273
- return q(this, function(a) {
271
+ function Qt(e) {
272
+ return ee(this, void 0, void 0, function() {
273
+ return te(this, function(a) {
274
274
  return [2, new Promise(function(o, r) {
275
275
  e.file(function(s) {
276
- var d = ne(s, e.fullPath);
276
+ var d = ce(s, e.fullPath);
277
277
  o(d);
278
278
  }, function(s) {
279
279
  r(s);
@@ -282,7 +282,7 @@ function qt(e) {
282
282
  });
283
283
  });
284
284
  }
285
- var Zt = function(e, a) {
285
+ var Xt = function(e, a) {
286
286
  if (e && a) {
287
287
  var o = Array.isArray(a) ? a : a.split(",");
288
288
  if (o.length === 0)
@@ -295,7 +295,7 @@ var Zt = function(e, a) {
295
295
  }
296
296
  return !0;
297
297
  };
298
- function Ge(e, a) {
298
+ function qe(e, a) {
299
299
  var o = Object.keys(e);
300
300
  if (Object.getOwnPropertySymbols) {
301
301
  var r = Object.getOwnPropertySymbols(e);
@@ -305,50 +305,50 @@ function Ge(e, a) {
305
305
  }
306
306
  return o;
307
307
  }
308
- function $e(e) {
308
+ function Ze(e) {
309
309
  for (var a = 1; a < arguments.length; a++) {
310
310
  var o = arguments[a] != null ? arguments[a] : {};
311
- a % 2 ? Ge(Object(o), !0).forEach(function(r) {
312
- st(e, r, o[r]);
313
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : Ge(Object(o)).forEach(function(r) {
311
+ a % 2 ? qe(Object(o), !0).forEach(function(r) {
312
+ dt(e, r, o[r]);
313
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : qe(Object(o)).forEach(function(r) {
314
314
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(o, r));
315
315
  });
316
316
  }
317
317
  return e;
318
318
  }
319
- function st(e, a, o) {
319
+ function dt(e, a, o) {
320
320
  return a in e ? Object.defineProperty(e, a, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = o, e;
321
321
  }
322
- function Ke(e, a) {
323
- return ea(e) || Jt(e, a) || Xt(e, a) || Qt();
322
+ function Qe(e, a) {
323
+ return aa(e) || ta(e, a) || ea(e, a) || Jt();
324
324
  }
325
- function Qt() {
325
+ function Jt() {
326
326
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
327
327
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
328
328
  }
329
- function Xt(e, a) {
329
+ function ea(e, a) {
330
330
  if (e) {
331
- if (typeof e == "string") return qe(e, a);
331
+ if (typeof e == "string") return Xe(e, a);
332
332
  var o = Object.prototype.toString.call(e).slice(8, -1);
333
333
  if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
334
- if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return qe(e, a);
334
+ if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Xe(e, a);
335
335
  }
336
336
  }
337
- function qe(e, a) {
337
+ function Xe(e, a) {
338
338
  (a == null || a > e.length) && (a = e.length);
339
339
  for (var o = 0, r = new Array(a); o < a; o++)
340
340
  r[o] = e[o];
341
341
  return r;
342
342
  }
343
- function Jt(e, a) {
343
+ function ta(e, a) {
344
344
  var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
345
345
  if (o != null) {
346
346
  var r = [], s = !0, d = !1, m, c;
347
347
  try {
348
348
  for (o = o.call(e); !(s = (m = o.next()).done) && (r.push(m.value), !(a && r.length === a)); s = !0)
349
349
  ;
350
- } catch (v) {
351
- d = !0, c = v;
350
+ } catch (U) {
351
+ d = !0, c = U;
352
352
  } finally {
353
353
  try {
354
354
  !s && o.return != null && o.return();
@@ -359,123 +359,123 @@ function Jt(e, a) {
359
359
  return r;
360
360
  }
361
361
  }
362
- function ea(e) {
362
+ function aa(e) {
363
363
  if (Array.isArray(e)) return e;
364
364
  }
365
- var ta = "file-invalid-type", aa = "file-too-large", oa = "file-too-small", ra = "too-many-files", na = function(a) {
365
+ var oa = "file-invalid-type", ra = "file-too-large", na = "file-too-small", sa = "too-many-files", ia = function(a) {
366
366
  a = Array.isArray(a) && a.length === 1 ? a[0] : a;
367
367
  var o = Array.isArray(a) ? "one of ".concat(a.join(", ")) : a;
368
368
  return {
369
- code: ta,
369
+ code: oa,
370
370
  message: "File type must be ".concat(o)
371
371
  };
372
- }, Ze = function(a) {
372
+ }, Je = function(a) {
373
373
  return {
374
- code: aa,
374
+ code: ra,
375
375
  message: "File is larger than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
376
376
  };
377
- }, Qe = function(a) {
377
+ }, et = function(a) {
378
378
  return {
379
- code: oa,
379
+ code: na,
380
380
  message: "File is smaller than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
381
381
  };
382
- }, sa = {
383
- code: ra,
382
+ }, la = {
383
+ code: sa,
384
384
  message: "Too many files"
385
385
  };
386
- function it(e, a) {
387
- var o = e.type === "application/x-moz-file" || Zt(e, a);
388
- return [o, o ? null : na(a)];
386
+ function ct(e, a) {
387
+ var o = e.type === "application/x-moz-file" || Xt(e, a);
388
+ return [o, o ? null : ia(a)];
389
389
  }
390
- function lt(e, a, o) {
391
- if (oe(e.size))
392
- if (oe(a) && oe(o)) {
393
- if (e.size > o) return [!1, Ze(o)];
394
- if (e.size < a) return [!1, Qe(a)];
390
+ function pt(e, a, o) {
391
+ if (le(e.size))
392
+ if (le(a) && le(o)) {
393
+ if (e.size > o) return [!1, Je(o)];
394
+ if (e.size < a) return [!1, et(a)];
395
395
  } else {
396
- if (oe(a) && e.size < a) return [!1, Qe(a)];
397
- if (oe(o) && e.size > o) return [!1, Ze(o)];
396
+ if (le(a) && e.size < a) return [!1, et(a)];
397
+ if (le(o) && e.size > o) return [!1, Je(o)];
398
398
  }
399
399
  return [!0, null];
400
400
  }
401
- function oe(e) {
401
+ function le(e) {
402
402
  return e != null;
403
403
  }
404
- function ia(e) {
404
+ function da(e) {
405
405
  var a = e.files, o = e.accept, r = e.minSize, s = e.maxSize, d = e.multiple, m = e.maxFiles;
406
406
  return !d && a.length > 1 || d && m >= 1 && a.length > m ? !1 : a.every(function(c) {
407
- var v = it(c, o), x = Ke(v, 1), w = x[0], D = lt(c, r, s), C = Ke(D, 1), L = C[0];
408
- return w && L;
407
+ var U = ct(c, o), w = Qe(U, 1), C = w[0], j = pt(c, r, s), b = Qe(j, 1), O = b[0];
408
+ return C && O;
409
409
  });
410
410
  }
411
- function Ue(e) {
411
+ function De(e) {
412
412
  return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
413
413
  }
414
- function Ie(e) {
414
+ function ve(e) {
415
415
  return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(a) {
416
416
  return a === "Files" || a === "application/x-moz-file";
417
417
  }) : !!e.target && !!e.target.files;
418
418
  }
419
- function Xe(e) {
419
+ function tt(e) {
420
420
  e.preventDefault();
421
421
  }
422
- function la(e) {
422
+ function ca(e) {
423
423
  return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
424
424
  }
425
- function da(e) {
425
+ function pa(e) {
426
426
  return e.indexOf("Edge/") !== -1;
427
427
  }
428
- function ca() {
428
+ function ua() {
429
429
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
430
- return la(e) || da(e);
430
+ return ca(e) || pa(e);
431
431
  }
432
- function O() {
432
+ function L() {
433
433
  for (var e = arguments.length, a = new Array(e), o = 0; o < e; o++)
434
434
  a[o] = arguments[o];
435
435
  return function(r) {
436
436
  for (var s = arguments.length, d = new Array(s > 1 ? s - 1 : 0), m = 1; m < s; m++)
437
437
  d[m - 1] = arguments[m];
438
438
  return a.some(function(c) {
439
- return !Ue(r) && c && c.apply(void 0, [r].concat(d)), Ue(r);
439
+ return !De(r) && c && c.apply(void 0, [r].concat(d)), De(r);
440
440
  });
441
441
  };
442
442
  }
443
- function Je() {
443
+ function at() {
444
444
  return "showOpenFilePicker" in window;
445
445
  }
446
- function pa(e) {
446
+ function fa(e) {
447
447
  return e = typeof e == "string" ? e.split(",") : e, [{
448
448
  description: "everything",
449
449
  // TODO: Need to handle filtering more elegantly than this!
450
450
  accept: Array.isArray(e) ? e.filter(function(a) {
451
451
  return a === "audio/*" || a === "video/*" || a === "image/*" || a === "text/*" || /\w+\/[-+.\w]+/g.test(a);
452
452
  }).reduce(function(a, o) {
453
- return $e($e({}, a), {}, st({}, o, []));
453
+ return Ze(Ze({}, a), {}, dt({}, o, []));
454
454
  }, {}) : {}
455
455
  }];
456
456
  }
457
- var ua = ["children"], fa = ["open"], ma = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ha = ["refKey", "onChange", "onClick"];
458
- function ga(e) {
459
- return ya(e) || ba(e) || dt(e) || xa();
457
+ var ma = ["children"], ha = ["open"], ga = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], xa = ["refKey", "onChange", "onClick"];
458
+ function ba(e) {
459
+ return Ea(e) || Ia(e) || ut(e) || ya();
460
460
  }
461
- function xa() {
461
+ function ya() {
462
462
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
463
463
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
464
464
  }
465
- function ba(e) {
465
+ function Ia(e) {
466
466
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
467
467
  }
468
- function ya(e) {
468
+ function Ea(e) {
469
469
  if (Array.isArray(e)) return Me(e);
470
470
  }
471
471
  function Se(e, a) {
472
- return va(e) || Ea(e, a) || dt(e, a) || Ia();
472
+ return ja(e) || Ua(e, a) || ut(e, a) || va();
473
473
  }
474
- function Ia() {
474
+ function va() {
475
475
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
476
476
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
477
477
  }
478
- function dt(e, a) {
478
+ function ut(e, a) {
479
479
  if (e) {
480
480
  if (typeof e == "string") return Me(e, a);
481
481
  var o = Object.prototype.toString.call(e).slice(8, -1);
@@ -489,15 +489,15 @@ function Me(e, a) {
489
489
  r[o] = e[o];
490
490
  return r;
491
491
  }
492
- function Ea(e, a) {
492
+ function Ua(e, a) {
493
493
  var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
494
494
  if (o != null) {
495
495
  var r = [], s = !0, d = !1, m, c;
496
496
  try {
497
497
  for (o = o.call(e); !(s = (m = o.next()).done) && (r.push(m.value), !(a && r.length === a)); s = !0)
498
498
  ;
499
- } catch (v) {
500
- d = !0, c = v;
499
+ } catch (U) {
500
+ d = !0, c = U;
501
501
  } finally {
502
502
  try {
503
503
  !s && o.return != null && o.return();
@@ -508,10 +508,10 @@ function Ea(e, a) {
508
508
  return r;
509
509
  }
510
510
  }
511
- function va(e) {
511
+ function ja(e) {
512
512
  if (Array.isArray(e)) return e;
513
513
  }
514
- function et(e, a) {
514
+ function ot(e, a) {
515
515
  var o = Object.keys(e);
516
516
  if (Object.getOwnPropertySymbols) {
517
517
  var r = Object.getOwnPropertySymbols(e);
@@ -521,12 +521,12 @@ function et(e, a) {
521
521
  }
522
522
  return o;
523
523
  }
524
- function b(e) {
524
+ function x(e) {
525
525
  for (var a = 1; a < arguments.length; a++) {
526
526
  var o = arguments[a] != null ? arguments[a] : {};
527
- a % 2 ? et(Object(o), !0).forEach(function(r) {
527
+ a % 2 ? ot(Object(o), !0).forEach(function(r) {
528
528
  ke(e, r, o[r]);
529
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : et(Object(o)).forEach(function(r) {
529
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : ot(Object(o)).forEach(function(r) {
530
530
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(o, r));
531
531
  });
532
532
  }
@@ -535,9 +535,9 @@ function b(e) {
535
535
  function ke(e, a, o) {
536
536
  return a in e ? Object.defineProperty(e, a, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = o, e;
537
537
  }
538
- function je(e, a) {
538
+ function _e(e, a) {
539
539
  if (e == null) return {};
540
- var o = Ua(e, a), r, s;
540
+ var o = Da(e, a), r, s;
541
541
  if (Object.getOwnPropertySymbols) {
542
542
  var d = Object.getOwnPropertySymbols(e);
543
543
  for (s = 0; s < d.length; s++)
@@ -545,27 +545,27 @@ function je(e, a) {
545
545
  }
546
546
  return o;
547
547
  }
548
- function Ua(e, a) {
548
+ function Da(e, a) {
549
549
  if (e == null) return {};
550
550
  var o = {}, r = Object.keys(e), s, d;
551
551
  for (d = 0; d < r.length; d++)
552
552
  s = r[d], !(a.indexOf(s) >= 0) && (o[s] = e[s]);
553
553
  return o;
554
554
  }
555
- var se = /* @__PURE__ */ f.forwardRef(function(e, a) {
556
- var o = e.children, r = je(e, ua), s = ja(r), d = s.open, m = je(s, fa);
555
+ var pe = /* @__PURE__ */ f.forwardRef(function(e, a) {
556
+ var o = e.children, r = _e(e, ma), s = _a(r), d = s.open, m = _e(s, ha);
557
557
  return f.useImperativeHandle(a, function() {
558
558
  return {
559
559
  open: d
560
560
  };
561
- }, [d]), /* @__PURE__ */ xt.createElement(f.Fragment, null, o(b(b({}, m), {}, {
561
+ }, [d]), /* @__PURE__ */ yt.createElement(f.Fragment, null, o(x(x({}, m), {}, {
562
562
  open: d
563
563
  })));
564
564
  });
565
- se.displayName = "Dropzone";
566
- var ct = {
565
+ pe.displayName = "Dropzone";
566
+ var ft = {
567
567
  disabled: !1,
568
- getFilesFromEvent: Yt,
568
+ getFilesFromEvent: zt,
569
569
  maxSize: 1 / 0,
570
570
  minSize: 0,
571
571
  multiple: !0,
@@ -578,8 +578,8 @@ var ct = {
578
578
  validator: null,
579
579
  useFsAccessApi: !1
580
580
  };
581
- se.defaultProps = ct;
582
- se.propTypes = {
581
+ pe.defaultProps = ft;
582
+ pe.propTypes = {
583
583
  /**
584
584
  * Render function that exposes the dropzone state and prop getter fns
585
585
  *
@@ -749,230 +749,230 @@ var Pe = {
749
749
  acceptedFiles: [],
750
750
  fileRejections: []
751
751
  };
752
- function ja() {
753
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = b(b({}, ct), e), o = a.accept, r = a.disabled, s = a.getFilesFromEvent, d = a.maxSize, m = a.minSize, c = a.multiple, v = a.maxFiles, x = a.onDragEnter, w = a.onDragLeave, D = a.onDragOver, C = a.onDrop, L = a.onDropAccepted, S = a.onDropRejected, H = a.onFileDialogCancel, B = a.onFileDialogOpen, Y = a.useFsAccessApi, Z = a.preventDropOnDocument, ie = a.noClick, I = a.noKeyboard, le = a.noDrag, U = a.noDragEventsBubbling, de = a.validator, T = f.useMemo(function() {
754
- return typeof B == "function" ? B : tt;
755
- }, [B]), M = f.useMemo(function() {
756
- return typeof H == "function" ? H : tt;
757
- }, [H]), j = f.useRef(null), R = f.useRef(null), ce = f.useReducer(Da, Pe), De = Se(ce, 2), z = De[0], _ = De[1], _e = z.isFocused, Q = z.isFileDialogActive, X = z.draggedFiles, pe = function() {
758
- Q && setTimeout(function() {
759
- if (R.current) {
760
- var p = R.current.files;
761
- p.length || (_({
752
+ function _a() {
753
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = x(x({}, ft), e), o = a.accept, r = a.disabled, s = a.getFilesFromEvent, d = a.maxSize, m = a.minSize, c = a.multiple, U = a.maxFiles, w = a.onDragEnter, C = a.onDragLeave, j = a.onDragOver, b = a.onDrop, O = a.onDropAccepted, ae = a.onDropRejected, B = a.onFileDialogCancel, z = a.onFileDialogOpen, T = a.useFsAccessApi, V = a.preventDropOnDocument, W = a.noClick, G = a.noKeyboard, ue = a.noDrag, M = a.noDragEventsBubbling, y = a.validator, oe = f.useMemo(function() {
754
+ return typeof z == "function" ? z : rt;
755
+ }, [z]), R = f.useMemo(function() {
756
+ return typeof B == "function" ? B : rt;
757
+ }, [B]), A = f.useRef(null), I = f.useRef(null), re = f.useReducer(Aa, Pe), ne = Se(re, 2), $ = ne[0], D = ne[1], Ye = $.isFocused, fe = $.isFileDialogActive, me = $.draggedFiles, he = function() {
758
+ fe && setTimeout(function() {
759
+ if (I.current) {
760
+ var p = I.current.files;
761
+ p.length || (D({
762
762
  type: "closeDialog"
763
- }), M());
763
+ }), R());
764
764
  }
765
765
  }, 300);
766
766
  };
767
767
  f.useEffect(function() {
768
- return Y && Je() ? function() {
769
- } : (window.addEventListener("focus", pe, !1), function() {
770
- window.removeEventListener("focus", pe, !1);
768
+ return T && at() ? function() {
769
+ } : (window.addEventListener("focus", he, !1), function() {
770
+ window.removeEventListener("focus", he, !1);
771
771
  });
772
- }, [R, Q, M, Y]);
773
- var k = f.useRef([]), V = function(p) {
774
- j.current && j.current.contains(p.target) || (p.preventDefault(), k.current = []);
772
+ }, [I, fe, R, T]);
773
+ var k = f.useRef([]), se = function(p) {
774
+ A.current && A.current.contains(p.target) || (p.preventDefault(), k.current = []);
775
775
  };
776
776
  f.useEffect(function() {
777
- return Z && (document.addEventListener("dragover", Xe, !1), document.addEventListener("drop", V, !1)), function() {
778
- Z && (document.removeEventListener("dragover", Xe), document.removeEventListener("drop", V));
777
+ return V && (document.addEventListener("dragover", tt, !1), document.addEventListener("drop", se, !1)), function() {
778
+ V && (document.removeEventListener("dragover", tt), document.removeEventListener("drop", se));
779
779
  };
780
- }, [j, Z]);
781
- var ue = f.useCallback(function(l) {
782
- l.preventDefault(), l.persist(), ge(l), k.current = [].concat(ga(k.current), [l.target]), Ie(l) && Promise.resolve(s(l)).then(function(p) {
783
- Ue(l) && !U || (_({
780
+ }, [A, V]);
781
+ var ge = f.useCallback(function(i) {
782
+ i.preventDefault(), i.persist(), F(i), k.current = [].concat(ba(k.current), [i.target]), ve(i) && Promise.resolve(s(i)).then(function(p) {
783
+ De(i) && !M || (D({
784
784
  draggedFiles: p,
785
785
  isDragActive: !0,
786
786
  type: "setDraggedFiles"
787
- }), x && x(l));
787
+ }), w && w(i));
788
788
  });
789
- }, [s, x, U]), fe = f.useCallback(function(l) {
790
- l.preventDefault(), l.persist(), ge(l);
791
- var p = Ie(l);
792
- if (p && l.dataTransfer)
789
+ }, [s, w, M]), xe = f.useCallback(function(i) {
790
+ i.preventDefault(), i.persist(), F(i);
791
+ var p = ve(i);
792
+ if (p && i.dataTransfer)
793
793
  try {
794
- l.dataTransfer.dropEffect = "copy";
794
+ i.dataTransfer.dropEffect = "copy";
795
795
  } catch {
796
796
  }
797
- return p && D && D(l), !1;
798
- }, [D, U]), me = f.useCallback(function(l) {
799
- l.preventDefault(), l.persist(), ge(l);
800
- var p = k.current.filter(function(A) {
801
- return j.current && j.current.contains(A);
802
- }), E = p.indexOf(l.target);
803
- E !== -1 && p.splice(E, 1), k.current = p, !(p.length > 0) && (_({
797
+ return p && j && j(i), !1;
798
+ }, [j, M]), K = f.useCallback(function(i) {
799
+ i.preventDefault(), i.persist(), F(i);
800
+ var p = k.current.filter(function(_) {
801
+ return A.current && A.current.contains(_);
802
+ }), v = p.indexOf(i.target);
803
+ v !== -1 && p.splice(v, 1), k.current = p, !(p.length > 0) && (D({
804
804
  isDragActive: !1,
805
805
  type: "setDraggedFiles",
806
806
  draggedFiles: []
807
- }), Ie(l) && w && w(l));
808
- }, [j, w, U]), P = f.useCallback(function(l, p) {
809
- var E = [], A = [];
810
- l.forEach(function(N) {
811
- var ae = it(N, o), $ = Se(ae, 2), Ae = $[0], we = $[1], Re = lt(N, m, d), xe = Se(Re, 2), Fe = xe[0], Ne = xe[1], Ce = de ? de(N) : null;
807
+ }), ve(i) && C && C(i));
808
+ }, [A, C, M]), q = f.useCallback(function(i, p) {
809
+ var v = [], _ = [];
810
+ i.forEach(function(N) {
811
+ var ie = ct(N, o), J = Se(ie, 2), Ae = J[0], Re = J[1], we = pt(N, m, d), ye = Se(we, 2), Fe = ye[0], Ne = ye[1], Ce = y ? y(N) : null;
812
812
  if (Ae && Fe && !Ce)
813
- E.push(N);
813
+ v.push(N);
814
814
  else {
815
- var Te = [we, Ne];
816
- Ce && (Te = Te.concat(Ce)), A.push({
815
+ var Oe = [Re, Ne];
816
+ Ce && (Oe = Oe.concat(Ce)), _.push({
817
817
  file: N,
818
- errors: Te.filter(function(ht) {
819
- return ht;
818
+ errors: Oe.filter(function(xt) {
819
+ return xt;
820
820
  })
821
821
  });
822
822
  }
823
- }), (!c && E.length > 1 || c && v >= 1 && E.length > v) && (E.forEach(function(N) {
824
- A.push({
823
+ }), (!c && v.length > 1 || c && U >= 1 && v.length > U) && (v.forEach(function(N) {
824
+ _.push({
825
825
  file: N,
826
- errors: [sa]
826
+ errors: [la]
827
827
  });
828
- }), E.splice(0)), _({
829
- acceptedFiles: E,
830
- fileRejections: A,
828
+ }), v.splice(0)), D({
829
+ acceptedFiles: v,
830
+ fileRejections: _,
831
831
  type: "setFiles"
832
- }), C && C(E, A, p), A.length > 0 && S && S(A, p), E.length > 0 && L && L(E, p);
833
- }, [_, c, o, m, d, v, C, L, S, de]), i = f.useCallback(function(l) {
834
- l.preventDefault(), l.persist(), ge(l), k.current = [], Ie(l) && Promise.resolve(s(l)).then(function(p) {
835
- Ue(l) && !U || P(p, l);
836
- }), _({
832
+ }), b && b(v, _, p), _.length > 0 && ae && ae(_, p), v.length > 0 && O && O(v, p);
833
+ }, [D, c, o, m, d, U, b, O, ae, y]), Z = f.useCallback(function(i) {
834
+ i.preventDefault(), i.persist(), F(i), k.current = [], ve(i) && Promise.resolve(s(i)).then(function(p) {
835
+ De(i) && !M || q(p, i);
836
+ }), D({
837
837
  type: "reset"
838
838
  });
839
- }, [s, P, U]), y = f.useCallback(function() {
840
- if (Y && Je()) {
841
- _({
839
+ }, [s, q, M]), Y = f.useCallback(function() {
840
+ if (T && at()) {
841
+ D({
842
842
  type: "openDialog"
843
- }), T();
844
- var l = {
843
+ }), oe();
844
+ var i = {
845
845
  multiple: c,
846
- types: pa(o)
846
+ types: fa(o)
847
847
  };
848
- window.showOpenFilePicker(l).then(function(p) {
848
+ window.showOpenFilePicker(i).then(function(p) {
849
849
  return s(p);
850
850
  }).then(function(p) {
851
- return P(p, null);
851
+ return q(p, null);
852
852
  }).catch(function(p) {
853
- return M(p);
853
+ return R(p);
854
854
  }).finally(function() {
855
- return _({
855
+ return D({
856
856
  type: "closeDialog"
857
857
  });
858
858
  });
859
859
  return;
860
860
  }
861
- R.current && (_({
861
+ I.current && (D({
862
862
  type: "openDialog"
863
- }), T(), R.current.value = null, R.current.click());
864
- }, [_, T, M, Y, P, o, c]), J = f.useCallback(function(l) {
865
- !j.current || !j.current.isEqualNode(l.target) || (l.keyCode === 32 || l.keyCode === 13) && (l.preventDefault(), y());
866
- }, [j, R, y]), W = f.useCallback(function() {
867
- _({
863
+ }), oe(), I.current.value = null, I.current.click());
864
+ }, [D, oe, R, T, q, o, c]), Q = f.useCallback(function(i) {
865
+ !A.current || !A.current.isEqualNode(i.target) || (i.keyCode === 32 || i.keyCode === 13) && (i.preventDefault(), Y());
866
+ }, [A, I, Y]), l = f.useCallback(function() {
867
+ D({
868
868
  type: "focus"
869
869
  });
870
- }, []), ee = f.useCallback(function() {
871
- _({
870
+ }, []), E = f.useCallback(function() {
871
+ D({
872
872
  type: "blur"
873
873
  });
874
- }, []), te = f.useCallback(function() {
875
- ie || (ca() ? setTimeout(y, 0) : y());
876
- }, [R, ie, y]), F = function(p) {
874
+ }, []), P = f.useCallback(function() {
875
+ W || (ua() ? setTimeout(Y, 0) : Y());
876
+ }, [I, W, Y]), S = function(p) {
877
877
  return r ? null : p;
878
- }, G = function(p) {
879
- return I ? null : F(p);
880
- }, he = function(p) {
881
- return le ? null : F(p);
882
- }, ge = function(p) {
883
- U && p.stopPropagation();
884
- }, pt = f.useMemo(function() {
878
+ }, X = function(p) {
879
+ return G ? null : S(p);
880
+ }, H = function(p) {
881
+ return ue ? null : S(p);
882
+ }, F = function(p) {
883
+ M && p.stopPropagation();
884
+ }, be = f.useMemo(function() {
885
885
  return function() {
886
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = l.refKey, E = p === void 0 ? "ref" : p, A = l.role, N = l.onKeyDown, ae = l.onFocus, $ = l.onBlur, Ae = l.onClick, we = l.onDragEnter, Re = l.onDragOver, xe = l.onDragLeave, Fe = l.onDrop, Ne = je(l, ma);
887
- return b(b(ke({
888
- onKeyDown: G(O(N, J)),
889
- onFocus: G(O(ae, W)),
890
- onBlur: G(O($, ee)),
891
- onClick: F(O(Ae, te)),
892
- onDragEnter: he(O(we, ue)),
893
- onDragOver: he(O(Re, fe)),
894
- onDragLeave: he(O(xe, me)),
895
- onDrop: he(O(Fe, i)),
896
- role: typeof A == "string" && A !== "" ? A : "button"
897
- }, E, j), !r && !I ? {
886
+ var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = i.refKey, v = p === void 0 ? "ref" : p, _ = i.role, N = i.onKeyDown, ie = i.onFocus, J = i.onBlur, Ae = i.onClick, Re = i.onDragEnter, we = i.onDragOver, ye = i.onDragLeave, Fe = i.onDrop, Ne = _e(i, ga);
887
+ return x(x(ke({
888
+ onKeyDown: X(L(N, Q)),
889
+ onFocus: X(L(ie, l)),
890
+ onBlur: X(L(J, E)),
891
+ onClick: S(L(Ae, P)),
892
+ onDragEnter: H(L(Re, ge)),
893
+ onDragOver: H(L(we, xe)),
894
+ onDragLeave: H(L(ye, K)),
895
+ onDrop: H(L(Fe, Z)),
896
+ role: typeof _ == "string" && _ !== "" ? _ : "button"
897
+ }, v, A), !r && !G ? {
898
898
  tabIndex: 0
899
899
  } : {}), Ne);
900
900
  };
901
- }, [j, J, W, ee, te, ue, fe, me, i, I, le, r]), ut = f.useCallback(function(l) {
902
- l.stopPropagation();
903
- }, []), ft = f.useMemo(function() {
901
+ }, [A, Q, l, E, P, ge, xe, K, Z, G, ue, r]), mt = f.useCallback(function(i) {
902
+ i.stopPropagation();
903
+ }, []), ht = f.useMemo(function() {
904
904
  return function() {
905
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = l.refKey, E = p === void 0 ? "ref" : p, A = l.onChange, N = l.onClick, ae = je(l, ha), $ = ke({
905
+ var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = i.refKey, v = p === void 0 ? "ref" : p, _ = i.onChange, N = i.onClick, ie = _e(i, xa), J = ke({
906
906
  accept: o,
907
907
  multiple: c,
908
908
  type: "file",
909
909
  style: {
910
910
  display: "none"
911
911
  },
912
- onChange: F(O(A, i)),
913
- onClick: F(O(N, ut)),
912
+ onChange: S(L(_, Z)),
913
+ onClick: S(L(N, mt)),
914
914
  autoComplete: "off",
915
915
  tabIndex: -1
916
- }, E, R);
917
- return b(b({}, $), ae);
916
+ }, v, I);
917
+ return x(x({}, J), ie);
918
918
  };
919
- }, [R, o, c, i, r]), Ye = X.length, He = Ye > 0 && ia({
920
- files: X,
919
+ }, [I, o, c, Z, r]), He = me.length, ze = He > 0 && da({
920
+ files: me,
921
921
  accept: o,
922
922
  minSize: m,
923
923
  maxSize: d,
924
924
  multiple: c,
925
- maxFiles: v
926
- }), mt = Ye > 0 && !He;
927
- return b(b({}, z), {}, {
928
- isDragAccept: He,
929
- isDragReject: mt,
930
- isFocused: _e && !r,
931
- getRootProps: pt,
932
- getInputProps: ft,
933
- rootRef: j,
934
- inputRef: R,
935
- open: F(y)
925
+ maxFiles: U
926
+ }), gt = He > 0 && !ze;
927
+ return x(x({}, $), {}, {
928
+ isDragAccept: ze,
929
+ isDragReject: gt,
930
+ isFocused: Ye && !r,
931
+ getRootProps: be,
932
+ getInputProps: ht,
933
+ rootRef: A,
934
+ inputRef: I,
935
+ open: S(Y)
936
936
  });
937
937
  }
938
- function Da(e, a) {
938
+ function Aa(e, a) {
939
939
  switch (a.type) {
940
940
  case "focus":
941
- return b(b({}, e), {}, {
941
+ return x(x({}, e), {}, {
942
942
  isFocused: !0
943
943
  });
944
944
  case "blur":
945
- return b(b({}, e), {}, {
945
+ return x(x({}, e), {}, {
946
946
  isFocused: !1
947
947
  });
948
948
  case "openDialog":
949
- return b(b({}, Pe), {}, {
949
+ return x(x({}, Pe), {}, {
950
950
  isFileDialogActive: !0
951
951
  });
952
952
  case "closeDialog":
953
- return b(b({}, e), {}, {
953
+ return x(x({}, e), {}, {
954
954
  isFileDialogActive: !1
955
955
  });
956
956
  case "setDraggedFiles":
957
957
  var o = a.isDragActive, r = a.draggedFiles;
958
- return b(b({}, e), {}, {
958
+ return x(x({}, e), {}, {
959
959
  draggedFiles: r,
960
960
  isDragActive: o
961
961
  });
962
962
  case "setFiles":
963
- return b(b({}, e), {}, {
963
+ return x(x({}, e), {}, {
964
964
  acceptedFiles: a.acceptedFiles,
965
965
  fileRejections: a.fileRejections
966
966
  });
967
967
  case "reset":
968
- return b({}, Pe);
968
+ return x({}, Pe);
969
969
  default:
970
970
  return e;
971
971
  }
972
972
  }
973
- function tt() {
973
+ function rt() {
974
974
  }
975
- function re({
975
+ function de({
976
976
  title: e,
977
977
  children: a,
978
978
  id: o,
@@ -1009,7 +1009,7 @@ function re({
1009
1009
  }
1010
1010
  );
1011
1011
  }
1012
- const _a = {
1012
+ const Ra = {
1013
1013
  [u.STUDENT]: [
1014
1014
  "step.docUpload.acceptableUploads.student.idCard",
1015
1015
  "step.docUpload.acceptableUploads.student.classSchedule",
@@ -1065,7 +1065,7 @@ const _a = {
1065
1065
  "step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot",
1066
1066
  "step.docUpload.acceptableUploads.lowIncome.programBankStatement"
1067
1067
  ]
1068
- }, Aa = {
1068
+ }, wa = {
1069
1069
  [n.ACTIVE_DUTY]: [
1070
1070
  "step.docUpload.acceptableUploads.military.active.leaveEarningStatement",
1071
1071
  "step.docUpload.acceptableUploads.military.active.uniformedServicesId"
@@ -1134,7 +1134,7 @@ const _a = {
1134
1134
  [n.NUTRITION_PROFESSIONAL]: [
1135
1135
  "step.docUpload.acceptableUploads.licensedProfessional.license"
1136
1136
  ]
1137
- }, wa = {
1137
+ }, Fa = {
1138
1138
  [u.STUDENT]: [
1139
1139
  "step.docUpload.uploadInfo.fullName",
1140
1140
  "step.docUpload.uploadInfo.institutionName",
@@ -1192,7 +1192,7 @@ const _a = {
1192
1192
  "step.docUpload.uploadInfo.fullName",
1193
1193
  "step.docUpload.uploadInfo.lowIncome.validDate"
1194
1194
  ]
1195
- }, Ra = {
1195
+ }, Na = {
1196
1196
  [n.ACTIVE_DUTY]: ["step.docUpload.uploadInfo.military.activeDuty.status"],
1197
1197
  [n.VETERAN]: ["step.docUpload.uploadInfo.military.veteran.status"],
1198
1198
  [n.RESERVIST]: ["step.docUpload.uploadInfo.military.reservist.status"],
@@ -1221,30 +1221,30 @@ const _a = {
1221
1221
  [n.ARCHITECT]: [],
1222
1222
  [n.GENERAL_CONTRACTOR]: [],
1223
1223
  [n.NUTRITION_PROFESSIONAL]: []
1224
- }, Fa = {
1224
+ }, Ca = {
1225
1225
  // MILITARY_FAMILY is overridden to not show branch of service.
1226
1226
  [n.MILITARY_FAMILY]: [
1227
1227
  "step.docUpload.uploadInfo.fullName",
1228
1228
  "step.docUpload.uploadInfo.military.militaryFamily.status"
1229
1229
  ]
1230
1230
  };
1231
- function Na(e, a) {
1231
+ function Oa(e, a) {
1232
1232
  return [
1233
1233
  .../* @__PURE__ */ new Set([
1234
- ...Aa[a] || [],
1235
- ..._a[e] || []
1234
+ ...wa[a] || [],
1235
+ ...Ra[e] || []
1236
1236
  ])
1237
1237
  ];
1238
1238
  }
1239
- function Ca(e, a) {
1240
- return Fa[a] || [
1239
+ function Ta(e, a) {
1240
+ return Ca[a] || [
1241
1241
  .../* @__PURE__ */ new Set([
1242
- ...Ra[a] || [],
1243
- ...wa[e] || []
1242
+ ...Na[a] || [],
1243
+ ...Fa[e] || []
1244
1244
  ])
1245
1245
  ];
1246
1246
  }
1247
- const Ta = ({
1247
+ const Sa = ({
1248
1248
  options: e,
1249
1249
  selected: a,
1250
1250
  onChange: o,
@@ -1289,11 +1289,11 @@ const Ta = ({
1289
1289
  ] })
1290
1290
  )) })
1291
1291
  ] });
1292
- }, Oa = ({ children: e }) => /* @__PURE__ */ t.jsxs("div", { className: "sid-named-divider", children: [
1292
+ }, La = ({ children: e }) => /* @__PURE__ */ t.jsxs("div", { className: "sid-named-divider", children: [
1293
1293
  /* @__PURE__ */ t.jsx("hr", { className: "sid-named-divider__rule" }),
1294
1294
  /* @__PURE__ */ t.jsx("p", { className: "sid-named-divider__text", children: e })
1295
1295
  ] });
1296
- function Sa({
1296
+ function Ma({
1297
1297
  title: e,
1298
1298
  titleId: a,
1299
1299
  ...o
@@ -1316,7 +1316,7 @@ function Sa({
1316
1316
  d: "M12 9v6m3-3H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
1317
1317
  }));
1318
1318
  }
1319
- const La = /* @__PURE__ */ f.forwardRef(Sa), Ma = (e) => /* @__PURE__ */ t.jsxs(
1319
+ const ka = /* @__PURE__ */ f.forwardRef(Ma), Pa = (e) => /* @__PURE__ */ t.jsxs(
1320
1320
  "svg",
1321
1321
  {
1322
1322
  xmlns: "http://www.w3.org/2000/svg",
@@ -1404,7 +1404,7 @@ const La = /* @__PURE__ */ f.forwardRef(Sa), Ma = (e) => /* @__PURE__ */ t.jsxs(
1404
1404
  )
1405
1405
  ]
1406
1406
  }
1407
- ), at = (e) => /* @__PURE__ */ t.jsxs(
1407
+ ), nt = (e) => /* @__PURE__ */ t.jsxs(
1408
1408
  "svg",
1409
1409
  {
1410
1410
  xmlns: "http://www.w3.org/2000/svg",
@@ -1484,7 +1484,7 @@ const La = /* @__PURE__ */ f.forwardRef(Sa), Ma = (e) => /* @__PURE__ */ t.jsxs(
1484
1484
  )
1485
1485
  ]
1486
1486
  }
1487
- ), ka = (e) => /* @__PURE__ */ t.jsxs(
1487
+ ), Ba = (e) => /* @__PURE__ */ t.jsxs(
1488
1488
  "svg",
1489
1489
  {
1490
1490
  xmlns: "http://www.w3.org/2000/svg",
@@ -1549,7 +1549,7 @@ const La = /* @__PURE__ */ f.forwardRef(Sa), Ma = (e) => /* @__PURE__ */ t.jsxs(
1549
1549
  )
1550
1550
  ]
1551
1551
  }
1552
- ), Pa = (e) => /* @__PURE__ */ t.jsxs(
1552
+ ), Ya = (e) => /* @__PURE__ */ t.jsxs(
1553
1553
  "svg",
1554
1554
  {
1555
1555
  xmlns: "http://www.w3.org/2000/svg",
@@ -1613,13 +1613,13 @@ const La = /* @__PURE__ */ f.forwardRef(Sa), Ma = (e) => /* @__PURE__ */ t.jsxs(
1613
1613
  )
1614
1614
  ]
1615
1615
  }
1616
- ), Ba = ["ID_CARD", "SCHEDULE"];
1617
- function Ya(e, a) {
1618
- return e === "ID_CARD" && a === "large" ? Ma : e === "ID_CARD" && a === "small" ? at : e === "SCHEDULE" && a === "large" ? ka : e === "SCHEDULE" && a === "small" ? Pa : at;
1616
+ ), Ha = ["ID_CARD", "SCHEDULE"];
1617
+ function za(e, a) {
1618
+ return e === "ID_CARD" && a === "large" ? Pa : e === "ID_CARD" && a === "small" ? nt : e === "SCHEDULE" && a === "large" ? Ba : e === "SCHEDULE" && a === "small" ? Ya : nt;
1619
1619
  }
1620
- const Ha = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1621
- const r = Ya(a, o);
1622
- return /* @__PURE__ */ t.jsx(se, { onDrop: (s) => e(s, a), children: ({ getRootProps: s, getInputProps: d }) => /* @__PURE__ */ t.jsxs("section", { ...s(), className: "sid-document-type-attachment-wrap", children: [
1620
+ const Va = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1621
+ const r = za(a, o);
1622
+ return /* @__PURE__ */ t.jsx(pe, { onDrop: (s) => e(s, a), children: ({ getRootProps: s, getInputProps: d }) => /* @__PURE__ */ t.jsxs("section", { ...s(), className: "sid-document-type-attachment-wrap", children: [
1623
1623
  /* @__PURE__ */ t.jsx("input", { ...d() }),
1624
1624
  o === "small" ? /* @__PURE__ */ t.jsxs("button", { className: "sid-document-type-attachment", type: "button", children: [
1625
1625
  /* @__PURE__ */ t.jsx(r, { className: "sid-document-type-attachment__icon-small" }),
@@ -1627,7 +1627,7 @@ const Ha = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1627
1627
  a === "ID_CARD" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Dated School ID card" }),
1628
1628
  a === "SCHEDULE" && /* @__PURE__ */ t.jsx(t.Fragment, { children: "Class Schedule" })
1629
1629
  ] }),
1630
- /* @__PURE__ */ t.jsx(La, { className: "sid-document-type-attachment__plus" })
1630
+ /* @__PURE__ */ t.jsx(ka, { className: "sid-document-type-attachment__plus" })
1631
1631
  ] }) : /* @__PURE__ */ t.jsxs(
1632
1632
  "button",
1633
1633
  {
@@ -1643,7 +1643,7 @@ const Ha = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1643
1643
  }
1644
1644
  )
1645
1645
  ] }) });
1646
- }, za = {
1646
+ }, Wa = {
1647
1647
  [u.STUDENT]: [
1648
1648
  "step.docUpload.uploadInfo.fullName",
1649
1649
  "step.docUpload.uploadInfo.student.school",
@@ -1706,7 +1706,7 @@ const Ha = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1706
1706
  "step.docUpload.uploadInfo.recentMover.address",
1707
1707
  "step.docUpload.uploadInfo.recentMover.validDate"
1708
1708
  ]
1709
- }, Va = {
1709
+ }, Ga = {
1710
1710
  [n.ACTIVE_DUTY]: [],
1711
1711
  [n.VETERAN]: [],
1712
1712
  [n.RESERVIST]: [],
@@ -1735,19 +1735,19 @@ const Ha = ({ onFileDrop: e, type: a, style: o = "small" }) => {
1735
1735
  [n.ARCHITECT]: [],
1736
1736
  [n.GENERAL_CONTRACTOR]: [],
1737
1737
  [n.NUTRITION_PROFESSIONAL]: []
1738
- }, Wa = {
1738
+ }, $a = {
1739
1739
  // MILITARY_FAMILY is overridden to not show branch of service.
1740
1740
  [n.MILITARY_FAMILY]: [
1741
1741
  "step.docUpload.uploadInfo.military.uploadInstructionsDependent"
1742
1742
  ]
1743
1743
  };
1744
- function Ga(e, a) {
1745
- return Wa[a] || [
1746
- ...Va[a] || [],
1747
- ...za[e] || []
1744
+ function Ka(e, a) {
1745
+ return $a[a] || [
1746
+ ...Ga[a] || [],
1747
+ ...Wa[e] || []
1748
1748
  ];
1749
1749
  }
1750
- const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "sid-field-error sid-field-error-redesign__doc-upload", children: [
1750
+ const st = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "sid-field-error sid-field-error-redesign__doc-upload", children: [
1751
1751
  /* @__PURE__ */ t.jsx(
1752
1752
  h,
1753
1753
  {
@@ -1756,99 +1756,116 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1756
1756
  }
1757
1757
  ),
1758
1758
  a ? a.map((r) => /* @__PURE__ */ t.jsx("div", { className: "sid-field-error-redesign__doc-upload__span", children: r }, `error-${r}`)) : null
1759
- ] }) : null, $a = ({ verificationService: e, intl: a }) => {
1760
- const [o, r] = f.useState(!1), s = e.verificationResponse, { rejectionReasons: d, segment: m, subSegment: c } = s, { programTheme: v } = e, x = e.viewModel, { fieldValidationErrors: w } = e, { overrideEnabled: D } = e.programTheme, C = be("doc-upload-redesign-use-legacy-message-keys"), L = be("doc-upload-considerations"), S = (C ? Ga : Ca)(
1759
+ ] }) : null, qa = ({ verificationService: e, intl: a }) => {
1760
+ const [o, r] = f.useState(!1), s = e.verificationResponse, { rejectionReasons: d, segment: m, subSegment: c, verificationId: U, locale: w } = s, { programTheme: C, programId: j } = e, b = e.viewModel, { fieldValidationErrors: O } = e, { overrideEnabled: ae } = e.programTheme, B = Ie("doc-upload-redesign-use-legacy-message-keys"), z = Ie("doc-upload-considerations"), T = (B ? Ka : Ta)(
1761
1761
  m,
1762
1762
  c
1763
- ), H = e.verificationResponse.country === "US", B = (i) => ({
1764
- name: i.name,
1765
- url: i.type.includes("image") ? URL.createObjectURL(i) : ""
1766
- }), [Y, Z] = f.useState({}), { userDidConvert: ie } = yt({ segment: m }), I = [], le = be("doc-upload-may24"), U = s.segment === "student" && s.locale === "en-US" ? le : "default", T = be("docUpload-assertion-checklist") === "checklist", [M, j] = f.useState([]), [R, ce] = f.useState(!1);
1767
- It(Et) && I.push({
1763
+ ), V = e.verificationResponse.country === "US", W = (l) => ({
1764
+ name: l.name,
1765
+ url: l.type.includes("image") ? URL.createObjectURL(l) : ""
1766
+ }), [G, ue] = f.useState({}), { userDidConvert: M } = Et({ segment: m }), y = [], oe = Ie("doc-upload-may24"), R = s.segment === "student" && s.locale === "en-US" ? oe : "default", I = Ie("docUpload-assertion-checklist") === "checklist", [re, ne] = f.useState([]), [$, D] = f.useState(!1);
1767
+ vt(Ut) && y.push({
1768
1768
  name: "myFile.png",
1769
1769
  url: ""
1770
1770
  });
1771
- const z = a.formatMessage({
1771
+ const fe = a.formatMessage({
1772
1772
  id: "step.docUpload.addFile",
1773
1773
  defaultMessage: "Add documents"
1774
1774
  });
1775
- x.file1 && x.file1.name && I.push(B(x.file1)), x.file2 && x.file2.name && I.push(B(x.file2)), x.file3 && x.file3.name && I.push(B(x.file3));
1776
- const _ = I.map((i) => Y[i.name]), _e = (i, y) => {
1777
- r(!1), e.updateViewModel(Lt(x, i, y));
1778
- }, Q = (i) => {
1779
- const y = i + 1;
1780
- r(!1), j([]), ce(!1), e.updateViewModel(Mt(x, y));
1781
- }, X = w.docUpload || vt(() => e.verificationResponse.errorIds[0], void 0), pe = (i, y) => {
1782
- const J = [], W = [], ee = [];
1783
- for (const F of i) {
1784
- const G = St(
1785
- ye.docUpload,
1775
+ b.file1 && b.file1.name && y.push(W(b.file1)), b.file2 && b.file2.name && y.push(W(b.file2)), b.file3 && b.file3.name && y.push(W(b.file3));
1776
+ const me = y.map((l) => G[l.name]), he = (l, E) => {
1777
+ const P = {
1778
+ eventName: We.DOC_UPLOAD_ADD_FILES,
1779
+ params: {
1780
+ programId: j,
1781
+ locale: w,
1782
+ verificationId: U
1783
+ }
1784
+ };
1785
+ Ge(P), r(!1), e.updateViewModel(kt(b, l, E));
1786
+ }, k = (l) => {
1787
+ const E = {
1788
+ eventName: We.DOC_UPLOAD_REMOVE_FILES,
1789
+ params: {
1790
+ programId: j,
1791
+ locale: w,
1792
+ verificationId: U
1793
+ }
1794
+ };
1795
+ Ge(E);
1796
+ const P = l + 1;
1797
+ r(!1), ne([]), D(!1), e.updateViewModel(Pt(b, P));
1798
+ }, se = O.docUpload || jt(() => e.verificationResponse.errorIds[0], void 0), ge = (l, E) => {
1799
+ const P = [], S = [], X = [];
1800
+ for (const F of l) {
1801
+ const be = Mt(
1802
+ Ee.docUpload,
1786
1803
  F,
1787
1804
  e.formValidationOptions
1788
1805
  );
1789
- G === void 0 ? (y && Z({ ...Y, [F.name]: y }), J.push(F)) : (ee.push(F.name), W.push(G));
1806
+ be === void 0 ? (E && ue({ ...G, [F.name]: E }), P.push(F)) : (X.push(F.name), S.push(be));
1790
1807
  }
1791
- let te;
1792
- W && (te = Ee(w, (F) => {
1793
- F.docUpload = W[0];
1794
- })), e.updateFieldValidationErrors(te), _e(J, ee);
1795
- }, k = () => {
1796
- Oe.info("StepDocUploadComponent submitting form"), ce(!0), (T && S.every((i) => M.includes(i)) || !T) && (e.submitStep(
1797
- ye.docUpload,
1798
- x,
1808
+ let H;
1809
+ S && (H = Ue(O, (F) => {
1810
+ F.docUpload = S[0];
1811
+ })), e.updateFieldValidationErrors(H), he(P, X);
1812
+ }, xe = () => {
1813
+ Te.info("StepDocUploadComponent submitting form"), D(!0), (I && T.every((l) => re.includes(l)) || !I) && (e.submitStep(
1814
+ Ee.docUpload,
1815
+ b,
1799
1816
  e.verificationResponse
1800
- ), ie(Tt, Ot));
1801
- }, V = (i, y) => {
1802
- i.length > 0 ? pe(i, y) : i.length <= 0 && Oe.error(
1817
+ ), M(St, Lt));
1818
+ }, K = (l, E) => {
1819
+ l.length > 0 ? ge(l, E) : l.length <= 0 && Te.error(
1803
1820
  "No files were accepted or rejected. Unknown error.",
1804
- ye.docUpload
1821
+ Ee.docUpload
1805
1822
  );
1806
- }, ue = (i) => {
1807
- V(Array.from(i.target.files));
1808
- }, fe = (i) => {
1809
- const y = Ct("addFile");
1810
- (i.key === "Enter" || i.key === " ") && (i.preventDefault(), i.stopPropagation(), y.click());
1811
- }, me = async () => {
1812
- Oe.info("StepDocUploadComponent submitting form after skipping document upload");
1813
- const i = Ee(x, () => {
1823
+ }, q = (l) => {
1824
+ K(Array.from(l.target.files));
1825
+ }, Z = (l) => {
1826
+ const E = Tt("addFile");
1827
+ (l.key === "Enter" || l.key === " ") && (l.preventDefault(), l.stopPropagation(), E.click());
1828
+ }, Y = async () => {
1829
+ Te.info("StepDocUploadComponent submitting form after skipping document upload");
1830
+ const l = Ue(b, () => {
1814
1831
  });
1815
1832
  e.submitStep(
1816
- ye.cancelDocUpload,
1817
- i,
1833
+ Ee.cancelDocUpload,
1834
+ l,
1818
1835
  e.verificationResponse
1819
1836
  );
1820
- }, P = /* @__PURE__ */ t.jsx("div", { className: "sid-upload-wrap sid-l-space-top-md sid-l-space-btm-md", children: U === "doc-type-icons" ? /* @__PURE__ */ t.jsx(t.Fragment, { children: Ba.map(
1821
- (i) => !_.includes(i) && /* @__PURE__ */ t.jsx(
1822
- Ha,
1837
+ }, Q = /* @__PURE__ */ t.jsx("div", { className: "sid-upload-wrap sid-l-space-top-md sid-l-space-btm-md", children: R === "doc-type-icons" ? /* @__PURE__ */ t.jsx(t.Fragment, { children: Ha.map(
1838
+ (l) => !me.includes(l) && /* @__PURE__ */ t.jsx(
1839
+ Va,
1823
1840
  {
1824
- onFileDrop: V,
1825
- type: i,
1826
- style: i === "ID_CARD" && I.length === 0 ? "large" : "small"
1841
+ onFileDrop: K,
1842
+ type: l,
1843
+ style: l === "ID_CARD" && y.length === 0 ? "large" : "small"
1827
1844
  }
1828
1845
  )
1829
1846
  ) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1830
1847
  /* @__PURE__ */ t.jsx(
1831
- ot,
1848
+ st,
1832
1849
  {
1833
- fieldValidationErrors: w,
1834
- errorId: X,
1835
- erroredFileNames: x.erroredFileNames
1850
+ fieldValidationErrors: O,
1851
+ errorId: se,
1852
+ erroredFileNames: b.erroredFileNames
1836
1853
  }
1837
1854
  ),
1838
- /* @__PURE__ */ t.jsx("div", { className: "sid-docdrop-wrap", children: /* @__PURE__ */ t.jsx(se, { onDrop: (i) => V(i), accept: ze.join(","), children: ({ getRootProps: i, getInputProps: y }) => /* @__PURE__ */ t.jsxs(
1855
+ /* @__PURE__ */ t.jsx("div", { className: "sid-docdrop-wrap", children: /* @__PURE__ */ t.jsx(pe, { onDrop: (l) => K(l), accept: Ve.join(","), children: ({ getRootProps: l, getInputProps: E }) => /* @__PURE__ */ t.jsxs(
1839
1856
  "div",
1840
1857
  {
1841
- ...i(),
1858
+ ...l(),
1842
1859
  className: "sid-docdrop-wrap__dropzone sid-docdrop-wrap__dropzone_height",
1843
1860
  children: [
1844
- /* @__PURE__ */ t.jsx("input", { ...y({ accept: ze.join(",") }) }),
1861
+ /* @__PURE__ */ t.jsx("input", { ...E({ accept: Ve.join(",") }) }),
1845
1862
  /* @__PURE__ */ t.jsx(
1846
1863
  "button",
1847
1864
  {
1848
1865
  tabIndex: -1,
1849
1866
  className: "sid-btn sid-btn--dark sid-doc-upload-submit-btn sid-submit__continue border-radius",
1850
1867
  type: "button",
1851
- "aria-label": z,
1868
+ "aria-label": fe,
1852
1869
  children: /* @__PURE__ */ t.jsx(
1853
1870
  h,
1854
1871
  {
@@ -1866,13 +1883,13 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1866
1883
  "div",
1867
1884
  {
1868
1885
  id: "sid-step-doc-upload",
1869
- className: `sid-doc-upload-redesign-container sid-l-container sid-may24-variation__${U}`,
1886
+ className: `sid-doc-upload-redesign-container sid-l-container sid-may24-variation__${R}`,
1870
1887
  children: [
1871
1888
  /* @__PURE__ */ t.jsxs("div", { role: "main", children: [
1872
1889
  /* @__PURE__ */ t.jsxs("div", { className: "sid-header sid-l-space-top-md", children: [
1873
- /* @__PURE__ */ t.jsx("div", { className: "sid-doc-upload-logo-container sid-l-horz-center", children: /* @__PURE__ */ t.jsx(Ut, { verificationService: e }) }),
1874
- /* @__PURE__ */ t.jsx(jt, { align: "start", children: /* @__PURE__ */ t.jsx(h, { id: "step.docUpload.title", tagName: "h1" }) }),
1875
- /* @__PURE__ */ t.jsx(Dt, { verificationService: e }),
1890
+ /* @__PURE__ */ t.jsx("div", { className: "sid-doc-upload-logo-container sid-l-horz-center", children: /* @__PURE__ */ t.jsx(Dt, { verificationService: e }) }),
1891
+ /* @__PURE__ */ t.jsx(_t, { align: "start", children: /* @__PURE__ */ t.jsx(h, { id: "step.docUpload.title", tagName: "h1" }) }),
1892
+ /* @__PURE__ */ t.jsx(At, { verificationService: e }),
1876
1893
  d && d.length > 0 && /* @__PURE__ */ t.jsxs("div", { className: "sid-upload-rejection__wrapper", children: [
1877
1894
  /* @__PURE__ */ t.jsx("div", { className: "sid-header__subtitle-doc-upload-rejected", children: /* @__PURE__ */ t.jsx(
1878
1895
  h,
@@ -1881,13 +1898,13 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1881
1898
  defaultMessage: "We were unable to confirm your eligibility due to:"
1882
1899
  }
1883
1900
  ) }),
1884
- /* @__PURE__ */ t.jsx("ul", { className: "sid-upload-rejection-list", children: d.map((i) => /* @__PURE__ */ t.jsx("li", { className: "sid-upload-rejection-list__li", children: /* @__PURE__ */ t.jsx(
1901
+ /* @__PURE__ */ t.jsx("ul", { className: "sid-upload-rejection-list", children: d.map((l) => /* @__PURE__ */ t.jsx("li", { className: "sid-upload-rejection-list__li", children: /* @__PURE__ */ t.jsx(
1885
1902
  h,
1886
1903
  {
1887
- id: `step.docUpload.rejectionReasons.${i}`,
1888
- defaultMessage: `${i}`
1904
+ id: `step.docUpload.rejectionReasons.${l}`,
1905
+ defaultMessage: `${l}`
1889
1906
  }
1890
- ) }, i)) }),
1907
+ ) }, l)) }),
1891
1908
  /* @__PURE__ */ t.jsx("div", { className: "sid-upload-rejection__next-step", children: /* @__PURE__ */ t.jsx(
1892
1909
  h,
1893
1910
  {
@@ -1897,26 +1914,26 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1897
1914
  ) })
1898
1915
  ] })
1899
1916
  ] }),
1900
- U === "doc-type-icons" && /* @__PURE__ */ t.jsx("p", { children: "Documents must be dated within the current academic year OR no more than 90 days from today" }),
1901
- (T && I.length === 0 || !T) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1917
+ R === "doc-type-icons" && /* @__PURE__ */ t.jsx("p", { children: "Documents must be dated within the current academic year OR no more than 90 days from today" }),
1918
+ (I && y.length === 0 || !I) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1902
1919
  /* @__PURE__ */ t.jsx("h2", { className: "sid-header__subtitle sid-l-space-btm-md sid-l-space-top-md", children: /* @__PURE__ */ t.jsx(
1903
1920
  h,
1904
1921
  {
1905
- id: C ? "step.docUpload.uploadInstructions" : "step.docUpload.documentsMustInclude",
1922
+ id: B ? "step.docUpload.uploadInstructions" : "step.docUpload.documentsMustInclude",
1906
1923
  defaultMessage: "Your documents must include:"
1907
1924
  }
1908
1925
  ) }),
1909
- /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: S.map((i) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(h, { id: i }) }, i)) })
1926
+ /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: T.map((l) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(h, { id: l }) }, l)) })
1910
1927
  ] }),
1911
- I.length === 0 && P,
1912
- I.length > 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1928
+ y.length === 0 && Q,
1929
+ y.length > 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1913
1930
  /* @__PURE__ */ t.jsxs("div", { className: "sid-file-list sid-l-space-top-md", children: [
1914
- I.map((i, y) => /* @__PURE__ */ t.jsxs("div", { className: "sid-file-list__file", children: [
1915
- /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__thumbnail-wrapper", children: i.url ? /* @__PURE__ */ t.jsx(
1931
+ y.map((l, E) => /* @__PURE__ */ t.jsxs("div", { className: "sid-file-list__file", children: [
1932
+ /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__thumbnail-wrapper", children: l.url ? /* @__PURE__ */ t.jsx(
1916
1933
  "img",
1917
1934
  {
1918
1935
  className: "sid-file-list__thumbnail border-radius",
1919
- src: i.url,
1936
+ src: l.url,
1920
1937
  alt: "File thumbnail"
1921
1938
  }
1922
1939
  ) : /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__no-thumbnail", children: /* @__PURE__ */ t.jsx(
@@ -1927,30 +1944,30 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1927
1944
  }
1928
1945
  ) }) }),
1929
1946
  /* @__PURE__ */ t.jsxs("div", { className: "sid-file-list__name-wrapper", children: [
1930
- /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__name", title: i.name, children: i.name }),
1947
+ /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__name", title: l.name, children: l.name }),
1931
1948
  /* @__PURE__ */ t.jsx(
1932
1949
  "div",
1933
1950
  {
1934
1951
  role: "button",
1935
1952
  tabIndex: 0,
1936
- "aria-label": `Remove file ${i.name}`,
1953
+ "aria-label": `Remove file ${l.name}`,
1937
1954
  className: "sid-file-list__remove-btn",
1938
- onClick: () => Q(y),
1939
- onKeyPress: () => Q(y)
1955
+ onClick: () => k(E),
1956
+ onKeyPress: () => k(E)
1940
1957
  }
1941
1958
  )
1942
1959
  ] })
1943
- ] }, i.name)),
1944
- I.length < Be && U !== "doc-type-icons" && /* @__PURE__ */ t.jsx(t.Fragment, { children: o ? /* @__PURE__ */ t.jsx("div", { className: "sid-add-more-files", children: P }) : /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__file", children: /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__thumbnail-wrapper thumbnail_wrapper_width", children: /* @__PURE__ */ t.jsxs(
1960
+ ] }, l.name)),
1961
+ y.length < Be && R !== "doc-type-icons" && /* @__PURE__ */ t.jsx(t.Fragment, { children: o ? /* @__PURE__ */ t.jsx("div", { className: "sid-add-more-files", children: Q }) : /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__file", children: /* @__PURE__ */ t.jsx("div", { className: "sid-file-list__thumbnail-wrapper thumbnail_wrapper_width", children: /* @__PURE__ */ t.jsxs(
1945
1962
  "label",
1946
1963
  {
1947
1964
  className: "sid-docdrop-wrap__dropzone thumbnail_wrapper",
1948
1965
  htmlFor: "sid-take-photo-input",
1949
1966
  role: "button",
1950
- onKeyUp: (i) => fe(i),
1967
+ onKeyUp: (l) => Z(l),
1951
1968
  tabIndex: 0,
1952
1969
  children: [
1953
- /* @__PURE__ */ t.jsx(_t, { className: "sid-uploadzone__icon", width: "16px" }),
1970
+ /* @__PURE__ */ t.jsx(Rt, { className: "sid-uploadzone__icon", width: "16px" }),
1954
1971
  /* @__PURE__ */ t.jsx("p", { className: "sid-docdrop-wrap__instructions thumbnail_wrapper-text", children: /* @__PURE__ */ t.jsx(
1955
1972
  h,
1956
1973
  {
@@ -1961,13 +1978,13 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1961
1978
  /* @__PURE__ */ t.jsx(
1962
1979
  "input",
1963
1980
  {
1964
- onChange: ue,
1981
+ onChange: q,
1965
1982
  type: "file",
1966
1983
  id: "sid-take-photo-input",
1967
1984
  hidden: !0,
1968
1985
  accept: "image/jpeg,image/png,application/pdf",
1969
1986
  multiple: !0,
1970
- ref: (i) => At("addFile", i)
1987
+ ref: (l) => wt("addFile", l)
1971
1988
  }
1972
1989
  )
1973
1990
  ]
@@ -1975,31 +1992,31 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
1975
1992
  ) }) }) })
1976
1993
  ] }),
1977
1994
  /* @__PURE__ */ t.jsx(
1978
- ot,
1995
+ st,
1979
1996
  {
1980
- fieldValidationErrors: w,
1981
- errorId: X,
1982
- erroredFileNames: x.erroredFileNames
1997
+ fieldValidationErrors: O,
1998
+ errorId: se,
1999
+ erroredFileNames: b.erroredFileNames
1983
2000
  }
1984
2001
  ),
1985
- T && I.length >= 1 && /* @__PURE__ */ t.jsx(
1986
- Ta,
2002
+ I && y.length >= 1 && /* @__PURE__ */ t.jsx(
2003
+ Sa,
1987
2004
  {
1988
- options: S,
1989
- selected: M,
1990
- onChange: j,
1991
- showError: R
2005
+ options: T,
2006
+ selected: re,
2007
+ onChange: ne,
2008
+ showError: $
1992
2009
  }
1993
2010
  ),
1994
2011
  /* @__PURE__ */ t.jsx("div", { className: "sid-submit sid-doc-upload-submit sid-l-space-top-md sid-submit-doc-upload_pb", children: /* @__PURE__ */ t.jsx(
1995
2012
  "button",
1996
2013
  {
1997
2014
  id: "sid-submit-doc-upload",
1998
- onClick: k,
2015
+ onClick: xe,
1999
2016
  type: "submit",
2000
2017
  className: "sid-btn sid-btn--dark sid-doc-upload-submit-btn sid-submit__continue border-radius",
2001
- "aria-disabled": I.length <= 0 || T && !S.every((i) => M.includes(i)),
2002
- children: U === "doc-type-icons" ? /* @__PURE__ */ t.jsx(
2018
+ "aria-disabled": y.length <= 0 || I && !T.every((l) => re.includes(l)),
2019
+ children: R === "doc-type-icons" ? /* @__PURE__ */ t.jsx(
2003
2020
  h,
2004
2021
  {
2005
2022
  id: "_EXPERIMENTAL-VARIATION.step.docUpload.submitButtonLabel",
@@ -2008,29 +2025,29 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2008
2025
  two {documents}
2009
2026
  other {documents}
2010
2027
  }`,
2011
- values: { count: I.length }
2028
+ values: { count: y.length }
2012
2029
  }
2013
2030
  ) : /* @__PURE__ */ t.jsx(
2014
2031
  h,
2015
2032
  {
2016
2033
  id: "step.docUpload.submitButtonLabel",
2017
2034
  defaultMessage: "Submit",
2018
- values: { count: I.length }
2035
+ values: { count: y.length }
2019
2036
  }
2020
2037
  )
2021
2038
  }
2022
2039
  ) })
2023
2040
  ] }) : null,
2024
- U === "doc-type-icons" ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2025
- I.length > 0 && I.length < 2 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2026
- /* @__PURE__ */ t.jsx(Oa, { children: "Add another document" }),
2027
- P
2041
+ R === "doc-type-icons" ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2042
+ y.length > 0 && y.length < 2 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2043
+ /* @__PURE__ */ t.jsx(La, { children: "Add another document" }),
2044
+ Q
2028
2045
  ] }),
2029
2046
  /* @__PURE__ */ t.jsx("h3", { children: "FAQ" }),
2030
- /* @__PURE__ */ t.jsx(re, { id: "suggestedDocs", title: "What information is needed?", children: /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: S.map((i) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(h, { id: i }) }, i)) }) })
2047
+ /* @__PURE__ */ t.jsx(de, { id: "suggestedDocs", title: "What information is needed?", children: /* @__PURE__ */ t.jsx("ul", { className: "sid-doc-upload-requirements", children: T.map((l) => /* @__PURE__ */ t.jsx("li", { className: "sid-doc-upload-requirements__definition", children: /* @__PURE__ */ t.jsx(h, { id: l }) }, l)) }) })
2031
2048
  ] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2032
- L === "add-doc-considerations" && H && (c === "activeDuty" || c === "reservist") && /* @__PURE__ */ t.jsx(
2033
- re,
2049
+ z === "add-doc-considerations" && V && (c === "activeDuty" || c === "reservist") && /* @__PURE__ */ t.jsx(
2050
+ de,
2034
2051
  {
2035
2052
  id: "docConsiderations",
2036
2053
  title: /* @__PURE__ */ t.jsx(
@@ -2061,7 +2078,7 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2061
2078
  }
2062
2079
  ),
2063
2080
  /* @__PURE__ */ t.jsxs(
2064
- re,
2081
+ de,
2065
2082
  {
2066
2083
  id: "suggestedDocs",
2067
2084
  title: /* @__PURE__ */ t.jsx(
@@ -2071,17 +2088,17 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2071
2088
  defaultMessage: "Suggested document types"
2072
2089
  }
2073
2090
  ),
2074
- defaultState: U === "checkbox-requirements" ? "closed" : "open",
2091
+ defaultState: R === "checkbox-requirements" ? "closed" : "open",
2075
2092
  children: [
2076
- C && /* @__PURE__ */ t.jsx(h, { id: "step.docUpload.acceptableUploadExamples" }),
2093
+ B && /* @__PURE__ */ t.jsx(h, { id: "step.docUpload.acceptableUploadExamples" }),
2077
2094
  /* @__PURE__ */ t.jsxs("ul", { className: "sid-acceptable-document-types", children: [
2078
- (C ? wt : Na)(
2095
+ (B ? Ft : Oa)(
2079
2096
  m,
2080
2097
  c
2081
- ).map((i) => /* @__PURE__ */ t.jsx("li", { className: "sid-acceptable-document-types__item", children: /* @__PURE__ */ t.jsx(h, { id: i }) }, i)),
2098
+ ).map((l) => /* @__PURE__ */ t.jsx("li", { className: "sid-acceptable-document-types__item", children: /* @__PURE__ */ t.jsx(h, { id: l }) }, l)),
2082
2099
  /* @__PURE__ */ t.jsx("li", { className: "sid-acceptable-document-types__item", children: /* @__PURE__ */ t.jsx(h, { id: "step.docUpload.acceptedTypes" }) })
2083
2100
  ] }),
2084
- L !== "add-doc-considerations" && H && (c === "activeDuty" || c === "reservist") && /* @__PURE__ */ t.jsx("div", { className: "sid-acceptable-document-types", children: /* @__PURE__ */ t.jsxs("p", { children: [
2101
+ z !== "add-doc-considerations" && V && (c === "activeDuty" || c === "reservist") && /* @__PURE__ */ t.jsx("div", { className: "sid-acceptable-document-types", children: /* @__PURE__ */ t.jsxs("p", { children: [
2085
2102
  /* @__PURE__ */ t.jsx("span", { className: "display-block", children: /* @__PURE__ */ t.jsx("strong", { children: /* @__PURE__ */ t.jsx(
2086
2103
  h,
2087
2104
  {
@@ -2102,7 +2119,7 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2102
2119
  )
2103
2120
  ] }),
2104
2121
  /* @__PURE__ */ t.jsxs(
2105
- re,
2122
+ de,
2106
2123
  {
2107
2124
  id: "whatHappensNext",
2108
2125
  title: /* @__PURE__ */ t.jsx(
@@ -2134,16 +2151,16 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2134
2151
  id: "step.docUpload.reviewTime",
2135
2152
  defaultMessage: "Expected review time is {estimatedWaitTime}.",
2136
2153
  values: {
2137
- estimatedWaitTime: Rt(s, v, a).estReviewTime
2154
+ estimatedWaitTime: Nt(s, C, a).estReviewTime
2138
2155
  }
2139
2156
  }
2140
2157
  ) }),
2141
- /* @__PURE__ */ t.jsx("p", { children: /* @__PURE__ */ t.jsx(Ft, { verificationService: e }) })
2158
+ /* @__PURE__ */ t.jsx("p", { children: /* @__PURE__ */ t.jsx(Ct, { verificationService: e }) })
2142
2159
  ]
2143
2160
  }
2144
2161
  ),
2145
2162
  /* @__PURE__ */ t.jsx(
2146
- re,
2163
+ de,
2147
2164
  {
2148
2165
  id: "canIFinishLater",
2149
2166
  title: /* @__PURE__ */ t.jsx(
@@ -2162,12 +2179,12 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2162
2179
  ) })
2163
2180
  }
2164
2181
  ),
2165
- D && /* @__PURE__ */ t.jsx("div", { className: "sid-submit sid-override-submit sid-l-space-top-sm", children: /* @__PURE__ */ t.jsx(
2182
+ ae && /* @__PURE__ */ t.jsx("div", { className: "sid-submit sid-override-submit sid-l-space-top-sm", children: /* @__PURE__ */ t.jsx(
2166
2183
  "a",
2167
2184
  {
2168
2185
  href: "#",
2169
2186
  className: "sid-link sid-override-link",
2170
- onClick: () => me(),
2187
+ onClick: () => Y(),
2171
2188
  role: "button",
2172
2189
  children: /* @__PURE__ */ t.jsx(
2173
2190
  h,
@@ -2179,11 +2196,11 @@ const ot = ({ errorId: e, erroredFileNames: a, fieldValidationErrors: o }) => e
2179
2196
  }
2180
2197
  ) })
2181
2198
  ] }),
2182
- /* @__PURE__ */ t.jsx(Nt, { verificationService: e, showShield: !1 })
2199
+ /* @__PURE__ */ t.jsx(Ot, { verificationService: e, showShield: !1 })
2183
2200
  ]
2184
2201
  }
2185
2202
  );
2186
- }, qa = bt($a);
2203
+ }, Qa = It(qa);
2187
2204
  export {
2188
- qa as default
2205
+ Qa as default
2189
2206
  };