@sheerid/jslib-nightly 2.125.0-alpha.6 → 2.128.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 (264) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +763 -772
  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-AyvUk6wg.js +4 -4
  9. package/chunk/StepIDCheckLoopOnfido-Bl1QfUZZ.js +4 -4
  10. package/chunk/StepIDCheckLoopOnfido-D0kpzIyk.js +4 -4
  11. package/chunk/StepIDCheckLoopRegula-BkTDnK3G.js +4 -4
  12. package/chunk/StepIDCheckLoopRegula-D6freNro.js +4 -4
  13. package/chunk/StepInactiveMilitaryPersonalInfoComponent-CooMPgH1.js +4 -4
  14. package/chunk/StepInactiveMilitaryPersonalInfoComponent-DTtUadmx.js +4 -4
  15. package/chunk/ar--TDb5qE5.js +4 -4
  16. package/chunk/bg-D3cL-ciP.js +4 -4
  17. package/chunk/{bn-IN-CwiPRX5T.js → bn-IN-BqsOEBPN.js} +18 -18
  18. package/chunk/{fr-CA-DD4NnfK-.js.map → bn-IN-BqsOEBPN.js.map} +1 -1
  19. package/chunk/cs-7pQwm9YC.js +4 -4
  20. package/chunk/da-C2xASa_G.js +4 -4
  21. package/chunk/de-D4nlAbMa.js +4 -4
  22. package/chunk/el-C-PZe5CV.js +4 -4
  23. package/chunk/en-GB-DXa6bdA_.js +4 -4
  24. package/chunk/{es-BlLBNTpz.js → es-CNTVekqW.js} +5 -5
  25. package/chunk/{ur-CIgS3emx.js.map → es-CNTVekqW.js.map} +1 -1
  26. package/chunk/es-ES-inNoG-F1.js +4 -4
  27. package/chunk/fi-CcolQnAY.js +4 -4
  28. package/chunk/fr-BjHvlhn5.js +4 -4
  29. package/chunk/{fr-CA-DD4NnfK-.js → fr-CA-CmZKx-C9.js} +5 -5
  30. package/chunk/{bn-IN-CwiPRX5T.js.map → fr-CA-CmZKx-C9.js.map} +1 -1
  31. package/chunk/ga-D-rK3PZy.js +4 -4
  32. package/chunk/{hi-IN-B1NQdkcj.js → hi-IN-B5SHv4t9.js} +18 -18
  33. package/chunk/{hi-IN-B1NQdkcj.js.map → hi-IN-B5SHv4t9.js.map} +1 -1
  34. package/chunk/hr-CwvyeMFM.js +4 -4
  35. package/chunk/hu-BCZWPgvf.js +4 -4
  36. package/chunk/id-CRNXXELT.js +4 -4
  37. package/chunk/{index-B4PunPFk.js → index--Wcf_zsf.js} +59 -53
  38. package/chunk/index--Wcf_zsf.js.map +1 -0
  39. package/chunk/index-1Cpf6KJI.js +4 -4
  40. package/chunk/index-2ob_KvkC.js +4 -4
  41. package/chunk/index-B4HIyFVA.js +4 -4
  42. package/chunk/index-B5Db6m8t.js +4 -4
  43. package/chunk/index-BJg9BX3v.js +4 -4
  44. package/chunk/index-BLIxYZFr.js +4 -4
  45. package/chunk/index-BU0HFLKm.js +4 -4
  46. package/chunk/index-Bofro8C_.js +4 -4
  47. package/chunk/index-BqUi3r5Z.js +4 -4
  48. package/chunk/index-Br3LkCoX.js +4 -4
  49. package/chunk/index-C4OCK6G0.js +4 -4
  50. package/chunk/index-C8UuTatc.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-Cnc52tkD.js +4 -4
  55. package/chunk/index-CoPQ1aC2.js +4 -4
  56. package/chunk/index-Cu25bQnA.js +4 -4
  57. package/chunk/index-CxH2IKXK.js +4 -4
  58. package/chunk/index-CyTruyP6.js +4 -4
  59. package/chunk/index-DAE3SOJH.js +4 -4
  60. package/chunk/index-DCTYdT7J.js +4 -4
  61. package/chunk/index-DFajPA-e.js +4 -4
  62. package/chunk/index-DHtYIKVA.js +4 -4
  63. package/chunk/index-DIkWpujR.js +4 -4
  64. package/chunk/index-DIkWpujR.js.map +1 -1
  65. package/chunk/index-DJo820YY.js +4 -4
  66. package/chunk/{index-CUH2uSMd.js → index-DSi_yLKY.js} +59 -53
  67. package/chunk/index-DSi_yLKY.js.map +1 -0
  68. package/chunk/index-DdQD36Ht.js +4 -4
  69. package/chunk/index-Dg1E2EXp.js +4 -4
  70. package/chunk/index-DljRrdj9.js +4 -4
  71. package/chunk/index-N20c5WiN.js +4 -4
  72. package/chunk/index-SwnUiXjr.js +4 -4
  73. package/chunk/index-dDH8B6_D.js +4 -4
  74. package/chunk/index-huf3obhv.js +4 -4
  75. package/chunk/index-n6fChAZJ.js +4 -4
  76. package/chunk/index-oHEY5B58.js +4 -4
  77. package/chunk/index-xgVNIuKt.js +4 -4
  78. package/chunk/index-zX2rojxg.js +4 -4
  79. package/chunk/is-BFoDLV-f.js +4 -4
  80. package/chunk/it-B_iK-eSd.js +4 -4
  81. package/chunk/iw-DL48t5mZ.js +4 -4
  82. package/chunk/ja-C5bG2SRl.js +4 -4
  83. package/chunk/ko-CmmVl873.js +4 -4
  84. package/chunk/lo-DvBsVm-4.js +4 -4
  85. package/chunk/lt-DWoqI4gx.js +4 -4
  86. package/chunk/ms-BCHBEoqA.js +4 -4
  87. package/chunk/nl-BE-DLixID0q.js +4 -4
  88. package/chunk/nl-CeBqOv0i.js +4 -4
  89. package/chunk/no-BR2xqD23.js +4 -4
  90. package/chunk/pl-Dl77tRgW.js +4 -4
  91. package/chunk/pt-BR--SxHOWht.js +4 -4
  92. package/chunk/pt-D0bmI49-.js +4 -4
  93. package/chunk/ro-HCkS3amY.js +4 -4
  94. package/chunk/ru-BDMi1lvr.js +4 -4
  95. package/chunk/sk-C4zNHeM6.js +4 -4
  96. package/chunk/sl-BbQVw1S0.js +4 -4
  97. package/chunk/sr-8d4sC8Hd.js +4 -4
  98. package/chunk/sv-B0-e7r_0.js +4 -4
  99. package/chunk/sw-Bo9F25Vc.js +4 -4
  100. package/chunk/th-DDuVbwLh.js +4 -4
  101. package/chunk/tr-CUwkgj2T.js +4 -4
  102. package/chunk/uk-BPrGA4MJ.js +4 -4
  103. package/chunk/{ur-CIgS3emx.js → ur-Cdtm-A0s.js} +5 -5
  104. package/{lib/es-BlLBNTpz.js.map → chunk/ur-Cdtm-A0s.js.map} +1 -1
  105. package/chunk/useCollectFieldsEndpoint-DFo1yXvN.js +4 -4
  106. package/chunk/useCollectFieldsEndpoint-DPX8CT4Y.js +4 -4
  107. package/chunk/useEmailFirstExperiment-DH410dM-.js +4 -4
  108. package/chunk/useEmailFirstExperiment-q-thhCji.js +4 -4
  109. package/chunk/vi-JbWizd9m.js +4 -4
  110. package/chunk/zh-DjbXrser.js +4 -4
  111. package/chunk/zh-HK-DXcspp2Y.js +4 -4
  112. package/chunk/zu-BzwZfIDF.js +4 -4
  113. package/es6.css +4 -4
  114. package/jslib.js +5 -5
  115. package/lib/{EmailLoopPending-CZtdOxe8.js → EmailLoopPending-BzfbZp91.js} +5 -5
  116. package/lib/{EmailLoopPending-CZtdOxe8.js.map → EmailLoopPending-BzfbZp91.js.map} +1 -1
  117. package/lib/{LicensedProfessionalOrganizationComponent-CZhJ3L2k.js → LicensedProfessionalOrganizationComponent-ByG67b5l.js} +5 -5
  118. package/lib/{LicensedProfessionalOrganizationComponent-CZhJ3L2k.js.map → LicensedProfessionalOrganizationComponent-ByG67b5l.js.map} +1 -1
  119. package/lib/Onfido-AyvUk6wg.js +4 -4
  120. package/lib/StepCollectMilitaryStatusComponent-D-nnSo4z.js +11 -0
  121. package/lib/{StepCollectMilitaryStatusComponent-BUjehNSh.js.map → StepCollectMilitaryStatusComponent-D-nnSo4z.js.map} +1 -1
  122. package/lib/{StepIDCheckLoopOnfido-BnlTRo4I.js → StepIDCheckLoopOnfido-BivXkdsm.js} +5 -5
  123. package/lib/{StepIDCheckLoopOnfido-BnlTRo4I.js.map → StepIDCheckLoopOnfido-BivXkdsm.js.map} +1 -1
  124. package/lib/{StepIDCheckLoopRegula-Dd6FowUv.js → StepIDCheckLoopRegula-B4d0DQIo.js} +5 -5
  125. package/lib/{StepIDCheckLoopRegula-Dd6FowUv.js.map → StepIDCheckLoopRegula-B4d0DQIo.js.map} +1 -1
  126. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DnL7ORJ6.js → StepInactiveMilitaryPersonalInfoComponent-B-lIEGgY.js} +6 -6
  127. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DnL7ORJ6.js.map → StepInactiveMilitaryPersonalInfoComponent-B-lIEGgY.js.map} +1 -1
  128. package/lib/{VerificationApiUtils-KDqaTnQT.js → VerificationApiUtils-DZz1GACV.js} +5 -5
  129. package/lib/{VerificationApiUtils-KDqaTnQT.js.map → VerificationApiUtils-DZz1GACV.js.map} +1 -1
  130. package/lib/ar--TDb5qE5.js +4 -4
  131. package/lib/bg-D3cL-ciP.js +4 -4
  132. package/lib/{bn-IN-CwiPRX5T.js → bn-IN-BqsOEBPN.js} +18 -18
  133. package/lib/{bn-IN-CwiPRX5T.js.map → bn-IN-BqsOEBPN.js.map} +1 -1
  134. package/lib/cs-7pQwm9YC.js +4 -4
  135. package/lib/da-C2xASa_G.js +4 -4
  136. package/lib/de-D4nlAbMa.js +4 -4
  137. package/lib/el-C-PZe5CV.js +4 -4
  138. package/lib/en-GB-DXa6bdA_.js +4 -4
  139. package/lib/{es-BlLBNTpz.js → es-CNTVekqW.js} +5 -5
  140. package/lib/{ur-CIgS3emx.js.map → es-CNTVekqW.js.map} +1 -1
  141. package/lib/es-ES-inNoG-F1.js +4 -4
  142. package/lib/{es6-Dwwdhiki.js → es6-7oJH07Vy.js} +1342 -1345
  143. package/lib/es6-7oJH07Vy.js.map +1 -0
  144. package/lib/fi-CcolQnAY.js +4 -4
  145. package/lib/fr-BjHvlhn5.js +4 -4
  146. package/lib/{fr-CA-DD4NnfK-.js → fr-CA-CmZKx-C9.js} +5 -5
  147. package/lib/fr-CA-CmZKx-C9.js.map +1 -0
  148. package/lib/ga-D-rK3PZy.js +4 -4
  149. package/lib/{hi-IN-B1NQdkcj.js → hi-IN-B5SHv4t9.js} +18 -18
  150. package/lib/hi-IN-B5SHv4t9.js.map +1 -0
  151. package/lib/hr-CwvyeMFM.js +4 -4
  152. package/lib/hu-BCZWPgvf.js +4 -4
  153. package/lib/id-CRNXXELT.js +4 -4
  154. package/lib/{index-CyEWpdSv.js → index-B2wdeL7k.js} +6 -6
  155. package/lib/{index-CyEWpdSv.js.map → index-B2wdeL7k.js.map} +1 -1
  156. package/lib/{index-CnGNSaN-.js → index-BHZPAec2.js} +5 -5
  157. package/lib/{index-CnGNSaN-.js.map → index-BHZPAec2.js.map} +1 -1
  158. package/lib/{index-B32euqw0.js → index-BMnOIZs9.js} +5 -5
  159. package/lib/{index-B32euqw0.js.map → index-BMnOIZs9.js.map} +1 -1
  160. package/lib/{index-CkuGKFtX.js → index-BbR5eyfI.js} +5 -5
  161. package/lib/{index-CkuGKFtX.js.map → index-BbR5eyfI.js.map} +1 -1
  162. package/lib/{index-b1hyN07M.js → index-BgG2DkYt.js} +7 -7
  163. package/lib/{index-b1hyN07M.js.map → index-BgG2DkYt.js.map} +1 -1
  164. package/lib/{index-BZwUINkH.js → index-BlXSYWHP.js} +7 -7
  165. package/lib/{index-BZwUINkH.js.map → index-BlXSYWHP.js.map} +1 -1
  166. package/lib/index-BmncBrPL.js +11 -0
  167. package/lib/index-BmncBrPL.js.map +1 -0
  168. package/lib/{index-DQRANX-V.js → index-BsFIadui.js} +5 -5
  169. package/lib/{index-DQRANX-V.js.map → index-BsFIadui.js.map} +1 -1
  170. package/lib/{index-D406Flja.js → index-C37O-uN6.js} +6 -6
  171. package/lib/{index-D406Flja.js.map → index-C37O-uN6.js.map} +1 -1
  172. package/lib/{index-BChyindL.js → index-CFkUbzrM.js} +5 -5
  173. package/lib/{index-BChyindL.js.map → index-CFkUbzrM.js.map} +1 -1
  174. package/lib/{index-D4T_ewT9.js → index-CGW22h12.js} +5 -5
  175. package/lib/{index-D4T_ewT9.js.map → index-CGW22h12.js.map} +1 -1
  176. package/lib/index-Cog6QUg4.js +11 -0
  177. package/lib/index-Cog6QUg4.js.map +1 -0
  178. package/lib/{index-BlGdQpdT.js → index-Cox_YUe5.js} +6 -6
  179. package/lib/{index-BlGdQpdT.js.map → index-Cox_YUe5.js.map} +1 -1
  180. package/lib/{index-CW1w-TDf.js → index-D9rG_WAb.js} +5 -5
  181. package/lib/{index-CW1w-TDf.js.map → index-D9rG_WAb.js.map} +1 -1
  182. package/lib/index-DIkWpujR.js +4 -4
  183. package/lib/index-DIkWpujR.js.map +1 -1
  184. package/lib/{index-CTd6i5TD.js → index-DK7wX3a3.js} +5 -5
  185. package/lib/{index-CTd6i5TD.js.map → index-DK7wX3a3.js.map} +1 -1
  186. package/lib/index-DRDDwwmf.js +11 -0
  187. package/lib/index-DRDDwwmf.js.map +1 -0
  188. package/lib/{index-Dm-1MdZC.js → index-DkizudqO.js} +5 -5
  189. package/lib/{index-Dm-1MdZC.js.map → index-DkizudqO.js.map} +1 -1
  190. package/lib/{index-BXPSo6fn.js → index-DmNULGIr.js} +5 -5
  191. package/lib/{index-BXPSo6fn.js.map → index-DmNULGIr.js.map} +1 -1
  192. package/lib/{index-75Q5a82p.js → index-DnKya3xa.js} +6 -6
  193. package/lib/{index-75Q5a82p.js.map → index-DnKya3xa.js.map} +1 -1
  194. package/lib/{index-KbbHeW_C.js → index-Olap6UBu.js} +6 -6
  195. package/lib/{index-KbbHeW_C.js.map → index-Olap6UBu.js.map} +1 -1
  196. package/lib/index-a07Nbdfj.js +11 -0
  197. package/lib/index-a07Nbdfj.js.map +1 -0
  198. package/lib/{index-BF-pJT75.js → index-bEYCkfGN.js} +6 -6
  199. package/lib/{index-BF-pJT75.js.map → index-bEYCkfGN.js.map} +1 -1
  200. package/lib/{index-Bqwn_KDv.js → index-gNRRDtFh.js} +6 -6
  201. package/lib/{index-Bqwn_KDv.js.map → index-gNRRDtFh.js.map} +1 -1
  202. package/lib/is-BFoDLV-f.js +4 -4
  203. package/lib/it-B_iK-eSd.js +4 -4
  204. package/lib/iw-DL48t5mZ.js +4 -4
  205. package/lib/ja-C5bG2SRl.js +4 -4
  206. package/lib/ko-CmmVl873.js +4 -4
  207. package/lib/lo-DvBsVm-4.js +4 -4
  208. package/lib/lt-DWoqI4gx.js +4 -4
  209. package/lib/ms-BCHBEoqA.js +4 -4
  210. package/lib/nl-BE-DLixID0q.js +4 -4
  211. package/lib/nl-CeBqOv0i.js +4 -4
  212. package/lib/no-BR2xqD23.js +4 -4
  213. package/lib/pl-Dl77tRgW.js +4 -4
  214. package/lib/pt-BR--SxHOWht.js +4 -4
  215. package/lib/pt-D0bmI49-.js +4 -4
  216. package/lib/ro-HCkS3amY.js +4 -4
  217. package/lib/ru-BDMi1lvr.js +4 -4
  218. package/lib/sk-C4zNHeM6.js +4 -4
  219. package/lib/sl-BbQVw1S0.js +4 -4
  220. package/lib/sr-8d4sC8Hd.js +4 -4
  221. package/lib/sv-B0-e7r_0.js +4 -4
  222. package/lib/sw-Bo9F25Vc.js +4 -4
  223. package/lib/th-DDuVbwLh.js +4 -4
  224. package/lib/tr-CUwkgj2T.js +4 -4
  225. package/lib/uk-BPrGA4MJ.js +4 -4
  226. package/lib/{ur-CIgS3emx.js → ur-Cdtm-A0s.js} +5 -5
  227. package/{chunk/es-BlLBNTpz.js.map → lib/ur-Cdtm-A0s.js.map} +1 -1
  228. package/lib/{useCollectFieldsEndpoint-Bcdyalhf.js → useCollectFieldsEndpoint-D_75R_wl.js} +6 -6
  229. package/lib/{useCollectFieldsEndpoint-Bcdyalhf.js.map → useCollectFieldsEndpoint-D_75R_wl.js.map} +1 -1
  230. package/lib/{useEmailFirstExperiment-dIhLWsID.js → useEmailFirstExperiment-BM-qrFUc.js} +5 -5
  231. package/lib/{useEmailFirstExperiment-dIhLWsID.js.map → useEmailFirstExperiment-BM-qrFUc.js.map} +1 -1
  232. package/lib/vi-JbWizd9m.js +4 -4
  233. package/lib/zh-DjbXrser.js +4 -4
  234. package/lib/zh-HK-DXcspp2Y.js +4 -4
  235. package/lib/zu-BzwZfIDF.js +4 -4
  236. package/package.json +1 -1
  237. package/sheerid-install.css +4 -4
  238. package/sheerid-install.js +182 -176
  239. package/sheerid-install.js.map +1 -1
  240. package/sheerid.css +4 -4
  241. package/sheerid.js +1182 -1191
  242. package/sheerid.js.map +1 -1
  243. package/src/lib/installScript/iframe.d.ts +2 -0
  244. package/src/lib/intl/localized-messages/bn-IN.json.d.ts +14 -14
  245. package/src/lib/intl/localized-messages/es.json.d.ts +1 -1
  246. package/src/lib/intl/localized-messages/fr-CA.json.d.ts +1 -1
  247. package/src/lib/intl/localized-messages/hi-IN.json.d.ts +14 -14
  248. package/src/lib/intl/localized-messages/ur.json.d.ts +1 -1
  249. package/src/lib/types/types.d.ts +1 -1
  250. package/types-reference.zip +0 -0
  251. package/chunk/index-B4PunPFk.js.map +0 -1
  252. package/chunk/index-CUH2uSMd.js.map +0 -1
  253. package/lib/StepCollectMilitaryStatusComponent-BUjehNSh.js +0 -11
  254. package/lib/es6-Dwwdhiki.js.map +0 -1
  255. package/lib/fr-CA-DD4NnfK-.js.map +0 -1
  256. package/lib/hi-IN-B1NQdkcj.js.map +0 -1
  257. package/lib/index-BBD3s-Xw.js +0 -11
  258. package/lib/index-BBD3s-Xw.js.map +0 -1
  259. package/lib/index-BLkacoPk.js +0 -11
  260. package/lib/index-BLkacoPk.js.map +0 -1
  261. package/lib/index-D-F9z02t.js +0 -11
  262. package/lib/index-D-F9z02t.js.map +0 -1
  263. package/lib/index-Dodv5h3t.js +0 -11
  264. package/lib/index-Dodv5h3t.js.map +0 -1
@@ -1,13 +1,13 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.125.0-alpha.6
4
- * BUILD_TIMESTAMP: 1757608380082
5
- * BUILD_DATE: Thu Sep 11 2025 16:33:00 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 0914cf38689ebf245ba4e5acca31df2fbd4257f4
3
+ * VERSION: 2.128.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1758702755761
5
+ * BUILD_DATE: Wed Sep 24 2025 08:32:35 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 654d7fc1aaba56601eb06bfc20080f48c256040c
7
7
  */
8
- var S = Object.defineProperty;
9
- var T = (i, e, t) => e in i ? S(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
10
- var s = (i, e, t) => T(i, typeof e != "symbol" ? e + "" : e, t);
8
+ var A = Object.defineProperty;
9
+ var T = (i, t, e) => t in i ? A(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
10
+ var r = (i, t, e) => T(i, typeof t != "symbol" ? t + "" : t, e);
11
11
  const _ = "installPageUrl", M = "installType", y = {
12
12
  INLINE_IFRAME_CONTENT: "sid-inline-iframe",
13
13
  MODAL_WRAPPER: "sid-modal__wrapper",
@@ -21,11 +21,11 @@ const _ = "installPageUrl", M = "installType", y = {
21
21
  DEFAULT_MOBILE_THRESHOLD_WIDTH: 620,
22
22
  MODAL_OPACITY_TRANSITION_PERIOD: 300
23
23
  }, O = {}, N = async () => O, R = () => window.navigator.globalPrivacyControl, h = () => window.NREUM && !R();
24
- function a(i, e) {
24
+ function o(i, t) {
25
25
  try {
26
26
  return i();
27
27
  } catch {
28
- return e;
28
+ return t;
29
29
  }
30
30
  }
31
31
  let f = 4, l = "";
@@ -45,67 +45,67 @@ const P = (i) => i && i.stack && i.message, E = (...i) => {
45
45
  f <= 3 && console.warn(`%c${l} warn`, `background: ${m.warn};${p}`, ...i);
46
46
  }, C = (...i) => {
47
47
  f <= 2 && console.log(`%c${l} log`, `background: ${m.log};${p}`, ...i);
48
- }, $ = (...i) => {
48
+ }, D = (...i) => {
49
49
  f <= 1 && console.log(`%c${l} info`, `background: ${m.info};${p}`, ...i);
50
- }, D = async (i, e = "unknown group", t = {}) => {
50
+ }, x = async (i, t = "unknown group", e = {}) => {
51
51
  if (f <= 4) {
52
52
  if (!i) {
53
53
  console.error(new Error("An error must be supplied"));
54
54
  return;
55
55
  }
56
- let n;
57
- typeof i == "string" && (n = new Error(i)), P(i) && (n = i), n || (n = new Error("Unknown error"));
58
- let o = { errorMessageGroup: e };
56
+ let s;
57
+ typeof i == "string" && (s = new Error(i)), P(i) && (s = i), s || (s = new Error("Unknown error"));
58
+ let n = { errorMessageGroup: t };
59
59
  try {
60
- o = {
60
+ n = {
61
61
  ...await N(),
62
- ...o
63
- }, delete o.jslibVersionActual;
64
- } catch (r) {
65
- h() ? window.NREUM.noticeError(n, o) : E("Unable to assemble GA error attributes", r);
62
+ ...n
63
+ }, delete n.jslibVersionActual;
64
+ } catch (a) {
65
+ h() ? window.NREUM.noticeError(s, n) : E("Unable to assemble GA error attributes", a);
66
66
  }
67
67
  try {
68
68
  if (u && u.getState) {
69
- const r = u.getState(), I = a(() => r.verificationResponse.errorIds);
70
- o = {
71
- ...o,
72
- programId: a(() => r.programId),
73
- isLoading: a(() => r.isLoading),
74
- isErrored: a(() => r.isErrored),
69
+ const a = u.getState(), I = o(() => a.verificationResponse.errorIds);
70
+ n = {
71
+ ...n,
72
+ programId: o(() => a.programId),
73
+ isLoading: o(() => a.isLoading),
74
+ isErrored: o(() => a.isErrored),
75
75
  errorIdsFromVerRsp: Array.isArray(I) ? I.join(", ") : void 0,
76
- verificationId: a(() => r.verificationResponse.verificationId),
77
- currentStep: a(() => r.verificationResponse.currentStep),
78
- locale: a(() => r.programTheme.intl.locale),
79
- isTestMode: a(() => r.programTheme.isTestMode),
80
- openOrgSearchEnabled: a(() => r.programTheme.openOrgSearchEnabled),
81
- jslibVerActual: a(() => "2.125.0-alpha.6", "?"),
82
- ...t
76
+ verificationId: o(() => a.verificationResponse.verificationId),
77
+ currentStep: o(() => a.verificationResponse.currentStep),
78
+ locale: o(() => a.programTheme.intl.locale),
79
+ isTestMode: o(() => a.programTheme.isTestMode),
80
+ openOrgSearchEnabled: o(() => a.programTheme.openOrgSearchEnabled),
81
+ jslibVerActual: o(() => "2.128.0-alpha.0", "?"),
82
+ ...e
83
83
  };
84
84
  }
85
- } catch (r) {
86
- h() ? window.NREUM.noticeError(n, o) : E("Unable to assemble useful error attributes", r);
85
+ } catch (a) {
86
+ h() ? window.NREUM.noticeError(s, n) : E("Unable to assemble useful error attributes", a);
87
87
  }
88
- h() && window.NREUM.noticeError(n, o), console.error(
88
+ h() && window.NREUM.noticeError(s, n), console.error(
89
89
  `%c${l} error`,
90
90
  `background: ${m.error};${p}`,
91
- n,
92
- o
91
+ s,
92
+ n
93
93
  );
94
94
  }
95
- }, x = (i, e = {}) => {
96
- h() && window.NREUM.addPageAction(i, e);
97
- }, B = (i, e) => {
98
- x("API-calls-timing", {
95
+ }, B = (i, t = {}) => {
96
+ h() && window.NREUM.addPageAction(i, t);
97
+ }, $ = (i, t) => {
98
+ B("API-calls-timing", {
99
99
  api_call: i,
100
- api_response_time: e
100
+ api_response_time: t
101
101
  });
102
- }, v = {
103
- error: D,
102
+ }, g = {
103
+ error: x,
104
104
  warn: E,
105
105
  log: C,
106
- info: $,
106
+ info: D,
107
107
  /** @deprecated use newRelicPageAction() instead */
108
- logAPIResponseTime: B,
108
+ logAPIResponseTime: $,
109
109
  setLogLevel: (i) => {
110
110
  if (!L.hasOwnProperty(i))
111
111
  throw new Error(`Unknown logLevel '${i}'`);
@@ -121,244 +121,250 @@ const P = (i) => i && i.stack && i.message, E = (...i) => {
121
121
  u = i;
122
122
  }
123
123
  }, W = (i) => {
124
- i.forEach((e) => {
125
- e.classList.add("fade-in");
124
+ i.forEach((t) => {
125
+ t.classList.add("fade-in");
126
126
  });
127
- }, g = (i, e) => {
127
+ }, v = (i, t) => {
128
128
  i.classList.remove("fade-in"), window.setTimeout(() => {
129
129
  document.body.style.overflow = "auto", i.parentNode.removeChild(i);
130
- }, e);
130
+ }, t);
131
131
  }, U = (i) => {
132
- const e = new URL(i);
133
- return new URL(window.location.href).searchParams.forEach((n, o) => {
134
- e.searchParams.has(o) || e.searchParams.set(o, n);
135
- }), e.href;
132
+ const t = new URL(i);
133
+ return new URL(window.location.href).searchParams.forEach((s, n) => {
134
+ t.searchParams.has(n) || t.searchParams.set(n, s);
135
+ }), t.href;
136
136
  };
137
- class k {
137
+ class F {
138
138
  constructor() {
139
- s(this, "subscribers", /* @__PURE__ */ new Set());
139
+ r(this, "subscribers", /* @__PURE__ */ new Set());
140
140
  }
141
- sub(e) {
142
- return this.subscribers.add(e), () => this.subscribers.delete(e);
141
+ sub(t) {
142
+ return this.subscribers.add(t), () => this.subscribers.delete(t);
143
143
  }
144
- pub(e) {
145
- this.subscribers.forEach((t) => t(e));
144
+ pub(t) {
145
+ this.subscribers.forEach((e) => e(t));
146
146
  }
147
147
  }
148
- class F {
148
+ class k {
149
149
  constructor() {
150
- s(this, "events", /* @__PURE__ */ new Map());
150
+ r(this, "events", /* @__PURE__ */ new Map());
151
151
  }
152
152
  /**
153
153
  * Registers a listener that will be called when the named event is emitted
154
154
  * @returns An unsubscribe function that will turn off this listener.
155
155
  */
156
- on(e, t) {
157
- return this.events.has(e) || this.events.set(e, new k()), this.events.get(e).sub(t);
156
+ on(t, e) {
157
+ return this.events.has(t) || this.events.set(t, new F()), this.events.get(t).sub(e);
158
158
  }
159
159
  /**
160
160
  * Registers a listener that will be called a single time when the named event
161
161
  * is emitted
162
162
  * @returns An unsubscribe function that will turn off this listener.
163
163
  */
164
- once(e, t) {
165
- const n = this.on(e, (o) => (n(), t(o)));
166
- return n;
164
+ once(t, e) {
165
+ const s = this.on(t, (n) => (s(), e(n)));
166
+ return s;
167
167
  }
168
168
  /**
169
169
  * Removes all event listeners for the given key
170
170
  * @returns void
171
171
  */
172
- off(e) {
173
- this.events.delete(e);
172
+ off(t) {
173
+ this.events.delete(t);
174
174
  }
175
175
  /**
176
176
  * Used to emit events to all registered hook listeners
177
177
  *
178
178
  * @private
179
179
  */
180
- emit(e, t) {
181
- this.events.has(e) && this.events.get(e).pub(t);
180
+ emit(t, e) {
181
+ this.events.has(t) && this.events.get(t).pub(e);
182
182
  }
183
183
  }
184
- const A = {
184
+ const S = {
185
185
  className: c.CLASS_NAMES.INLINE_IFRAME_CONTENT,
186
186
  title: b
187
187
  }, H = (i) => {
188
188
  if (typeof i != "function")
189
189
  throw new Error(`Expected type "function", but received ${typeof i}`);
190
190
  };
191
- class d extends F {
192
- constructor(t, n) {
191
+ class d extends k {
192
+ constructor(e, s) {
193
193
  super();
194
- s(this, "containerElement");
195
- s(this, "verificationUrl");
196
- s(this, "isMobileDevice");
197
- s(this, "iframe");
198
- s(this, "verificationIframeUid");
199
- s(this, "hasLoaded", !1);
200
- s(this, "onLoadEvents", []);
201
- s(this, "onCleanupEvents", []);
202
- s(this, "installType", "cdn_inline_iframe");
203
- d.isValidHttpUrl(n) ? (this.containerElement = t, this.verificationUrl = new URL(U(n)), this.verificationIframeUid = d.createUniqueId()) : v.error("Invalid URL. Provide a proper URL: https://example.com/", "iframe url");
194
+ r(this, "containerElement");
195
+ r(this, "verificationUrl");
196
+ r(this, "isMobileDevice");
197
+ r(this, "iframe");
198
+ r(this, "verificationIframeUid");
199
+ r(this, "locale");
200
+ r(this, "hasLoaded", !1);
201
+ r(this, "onLoadEvents", []);
202
+ r(this, "onCleanupEvents", []);
203
+ r(this, "installType", "cdn_inline_iframe");
204
+ d.isValidHttpUrl(s) ? (this.containerElement = e, this.verificationUrl = new URL(U(s)), this.verificationIframeUid = d.createUniqueId()) : g.error("Invalid URL. Provide a proper URL: https://example.com/", "iframe url");
204
205
  }
205
206
  cleanup() {
206
- this.onCleanupEvents.forEach((t) => t());
207
+ this.onCleanupEvents.forEach((e) => e());
207
208
  }
208
209
  static createUniqueId() {
209
210
  return Math.random().toString(36).substr(2, 9);
210
211
  }
211
- static isValidHttpUrl(t) {
212
+ static isValidHttpUrl(e) {
212
213
  try {
213
- const n = new URL(t);
214
- return n.protocol === "http:" || n.protocol === "https:";
214
+ const s = new URL(e);
215
+ return s.protocol === "http:" || s.protocol === "https:";
215
216
  } catch {
216
217
  return !1;
217
218
  }
218
219
  }
219
- createIframe(t) {
220
- this.iframe = document.createElement("iframe"), this.iframe.classList.add(t.className), this.iframe.title = t.title;
221
- let n = "?";
222
- return this.verificationUrl.search && (n = "&"), this.iframe.src = `${this.verificationUrl.href}${n}verificationIframeUid=${this.verificationIframeUid}&${_}=${encodeURIComponent(
223
- window.location.href
224
- )}&${M}=${this.installType}`, this.iframe.allow = "camera *;microphone *;geolocation *;clipboard-read *;clipboard-write *", this.iframe.onload = () => this.onLoad(), this.iframe;
220
+ createIframe(e) {
221
+ return this.iframe = document.createElement("iframe"), this.iframe.classList.add(e.className), this.iframe.title = e.title, this.iframe.src = this.getIframeUrl(), this.iframe.allow = "camera *;microphone *;geolocation *;clipboard-read *;clipboard-write *", this.iframe.onload = () => this.onLoad(), this.iframe;
222
+ }
223
+ getIframeUrl() {
224
+ const e = new URL(this.verificationUrl);
225
+ return e.searchParams.set("verificationIframeUid", this.verificationIframeUid), e.searchParams.set(_, window.location.href), e.searchParams.set(M, this.installType), this.locale && e.searchParams.set("locale", this.locale), e.toString();
225
226
  }
226
227
  // If iFrame hasn't loaded yet, queue up the callback
227
228
  // otherwise call it immediately
228
- addOnLoadEvent(t) {
229
+ addOnLoadEvent(e) {
229
230
  try {
230
- H(t);
231
+ H(e);
231
232
  } catch {
232
- v.error("Invalid callback provided to iFrame.onLoad()", "iframe addOnLoadEvent");
233
+ g.error("Invalid callback provided to iFrame.onLoad()", "iframe addOnLoadEvent");
233
234
  return;
234
235
  }
235
- this.hasLoaded ? t() : this.onLoadEvents.push(t);
236
+ this.hasLoaded ? e() : this.onLoadEvents.push(e);
236
237
  }
237
238
  onLoad() {
238
- this.hasLoaded = !0, this.onLoadEvents.forEach((t) => t());
239
+ this.hasLoaded = !0, this.onLoadEvents.forEach((e) => e());
239
240
  }
240
241
  /**
241
242
  * Using this to add parent window message listeners gives us
242
243
  * - Event Cleanup for modals
243
244
  * - verification of origin, verificationIframeUid, and message data structure
244
245
  */
245
- addWindowMessageListener(t) {
246
- const n = (o) => {
247
- this.verificationUrl.origin === o.origin && o.data.verificationIframeUid === this.verificationIframeUid && (o.data.action && o.data.action.type ? t(o.data.action) : o.data.action && o.data.height && t(o.data));
246
+ addWindowMessageListener(e) {
247
+ const s = (n) => {
248
+ this.verificationUrl.origin === n.origin && n.data.verificationIframeUid === this.verificationIframeUid && (n.data.action && n.data.action.type ? e(n.data.action) : n.data.action && n.data.height && e(n.data));
248
249
  };
249
- window.addEventListener("message", n), this.onCleanupEvents.push(() => window.removeEventListener("message", n));
250
+ window.addEventListener("message", s), this.onCleanupEvents.push(() => window.removeEventListener("message", s));
250
251
  }
251
252
  addActionListener() {
252
- this.addWindowMessageListener((t) => {
253
- t.type === "hook" && this.emit(t.hook.name, t.hook.data), (t.action && t.action === "updateHeight" || t.type === "updateHeight") && (this.iframe.scrolling = "no", this.iframe.style.height = `${t.height}px`);
253
+ this.addWindowMessageListener((e) => {
254
+ e.type === "hook" && this.emit(e.hook.name, e.hook.data), (e.action && e.action === "updateHeight" || e.type === "updateHeight") && (this.iframe.scrolling = "no", this.iframe.style.height = `${e.height}px`);
254
255
  });
255
256
  }
256
- setViewModel(t) {
257
- const n = {
257
+ setViewModel(e) {
258
+ const s = {
258
259
  action: "setViewModel",
259
- viewModel: t
260
+ viewModel: e
260
261
  };
261
262
  this.addOnLoadEvent(() => {
262
- this.iframe.contentWindow.postMessage(n, this.verificationUrl.origin);
263
+ this.iframe.contentWindow.postMessage(s, this.verificationUrl.origin);
263
264
  });
264
265
  }
265
- setOptions(t) {
266
- const n = {
266
+ setOptions(e) {
267
+ const s = {
267
268
  action: "setOptions",
268
- options: t
269
+ options: e
269
270
  };
271
+ if (!this.hasLoaded && e.locale) {
272
+ this.locale = e.locale;
273
+ const n = this.getIframeUrl();
274
+ n !== this.iframe.src && (this.iframe.src = n);
275
+ }
270
276
  this.addOnLoadEvent(() => {
271
- this.iframe.contentWindow.postMessage(n, this.verificationUrl.origin);
277
+ this.iframe.contentWindow.postMessage(s, this.verificationUrl.origin);
272
278
  });
273
279
  }
274
- setInstallType(t) {
275
- this.installType = t;
280
+ setInstallType(e) {
281
+ this.installType = e;
276
282
  }
277
- init(t = !0) {
278
- t && this.createIframe(A), this.addActionListener(), this.containerElement.appendChild(this.iframe);
283
+ init(e = !0) {
284
+ e && this.createIframe(S), this.addActionListener(), this.containerElement.appendChild(this.iframe);
279
285
  }
280
286
  }
281
287
  class V extends d {
282
- constructor(e, t) {
283
- super(e, t), this.verificationUrl = new URL(this.getAffinityUrlWithUID(t));
288
+ constructor(t, e) {
289
+ super(t, e), this.verificationUrl = new URL(this.getAffinityUrlWithUID(e));
284
290
  }
285
291
  static createUniqueId() {
286
292
  return Math.random().toString(36).substr(2, 9);
287
293
  }
288
- getAffinityUrlWithUID(e) {
289
- const t = new URL(e);
290
- return t.searchParams.set("affinityIframeUid", this.verificationIframeUid), t.toString();
294
+ getAffinityUrlWithUID(t) {
295
+ const e = new URL(t);
296
+ return e.searchParams.set("affinityIframeUid", this.verificationIframeUid), e.toString();
291
297
  }
292
- addWindowMessageListener(e) {
293
- const t = (n) => {
294
- this.verificationUrl.origin === n.origin && n.data.affinityIframeUid === this.verificationIframeUid && n.data.action && n.data.action.type && e(n.data.action);
298
+ addWindowMessageListener(t) {
299
+ const e = (s) => {
300
+ this.verificationUrl.origin === s.origin && s.data.affinityIframeUid === this.verificationIframeUid && s.data.action && s.data.action.type && t(s.data.action);
295
301
  };
296
- window.addEventListener("message", t), this.onCleanupEvents.push(() => window.removeEventListener("message", t));
302
+ window.addEventListener("message", e), this.onCleanupEvents.push(() => window.removeEventListener("message", e));
297
303
  }
298
- createIframe(e) {
299
- return this.iframe = document.createElement("iframe"), this.iframe.classList.add(e.className), this.iframe.title = e.title, this.iframe.src = this.verificationUrl.href, this.iframe.allow = "camera;microphone", this.iframe.onload = () => this.onLoad(), this.iframe;
304
+ createIframe(t) {
305
+ return this.iframe = document.createElement("iframe"), this.iframe.classList.add(t.className), this.iframe.title = t.title, this.iframe.src = this.verificationUrl.href, this.iframe.allow = "camera;microphone", this.iframe.onload = () => this.onLoad(), this.iframe;
300
306
  }
301
307
  init() {
302
- this.createIframe({ ...A, title: "SheerID Affinity Offers" }), this.addActionListener(), this.containerElement.appendChild(this.iframe);
308
+ this.createIframe({ ...S, title: "SheerID Affinity Offers" }), this.addActionListener(), this.containerElement.appendChild(this.iframe);
303
309
  }
304
310
  }
305
311
  class w {
306
- constructor(e, t) {
307
- s(this, "verificationUrl");
308
- s(this, "redirectOnMobile");
309
- s(this, "overlay");
310
- s(this, "wrapper");
311
- s(this, "iframeInstance");
312
- s(this, "on");
313
- s(this, "once");
314
- s(this, "isMobileDevice");
315
- s(this, "closeButtonText");
316
- s(this, "closeButton");
317
- s(this, "stopPropagation");
318
- s(this, "popStateEventHandler", () => this.closeModal());
319
- const n = t.mobileThreshold ? t.mobileThreshold : c.DEFAULT_MOBILE_THRESHOLD_WIDTH;
320
- this.verificationUrl = U(e), this.redirectOnMobile = t.mobileRedirect || !1, this.isMobileDevice = window.document.body.clientWidth <= Number(n), this.closeButtonText = t.closeButtonText ? t.closeButtonText : "", this.closeButton = null, this.stopPropagation = t.stopPropagation || !1, this.overlay = w.createOverlay(), this.wrapper = this.createWrapper(), this.addFocusListener();
312
+ constructor(t, e) {
313
+ r(this, "verificationUrl");
314
+ r(this, "redirectOnMobile");
315
+ r(this, "overlay");
316
+ r(this, "wrapper");
317
+ r(this, "iframeInstance");
318
+ r(this, "on");
319
+ r(this, "once");
320
+ r(this, "isMobileDevice");
321
+ r(this, "closeButtonText");
322
+ r(this, "closeButton");
323
+ r(this, "stopPropagation");
324
+ r(this, "popStateEventHandler", () => this.closeModal());
325
+ const s = e.mobileThreshold ? e.mobileThreshold : c.DEFAULT_MOBILE_THRESHOLD_WIDTH;
326
+ this.verificationUrl = U(t), this.redirectOnMobile = e.mobileRedirect || !1, this.isMobileDevice = window.document.body.clientWidth <= Number(s), this.closeButtonText = e.closeButtonText ? e.closeButtonText : "", this.closeButton = null, this.stopPropagation = e.stopPropagation || !1, this.overlay = w.createOverlay(), this.wrapper = this.createWrapper(), this.addFocusListener();
321
327
  }
322
328
  createCloseBtn() {
323
329
  if (this.closeButton = document.createElement("button"), this.closeButton.classList.add(c.CLASS_NAMES.CLOSE_BUTTON), this.closeButton.setAttribute("aria-label", "close"), this.closeButtonText) {
324
- const t = document.createElement("div");
325
- t.classList.add(c.CLASS_NAMES.CLOSE_TEXT), t.innerHTML = this.closeButtonText, this.closeButton.appendChild(t);
330
+ const e = document.createElement("div");
331
+ e.classList.add(c.CLASS_NAMES.CLOSE_TEXT), e.innerHTML = this.closeButtonText, this.closeButton.appendChild(e);
326
332
  }
327
- const e = document.createElement("span");
328
- return e.classList.add(c.CLASS_NAMES.CLOSE_ICON), e.setAttribute("role", "img"), this.closeButton.appendChild(e), this.closeButton.addEventListener("click", (t) => {
329
- t.preventDefault(), this.stopPropagation && t.stopPropagation(), this.closeModal();
333
+ const t = document.createElement("span");
334
+ return t.classList.add(c.CLASS_NAMES.CLOSE_ICON), t.setAttribute("role", "img"), this.closeButton.appendChild(t), this.closeButton.addEventListener("click", (e) => {
335
+ e.preventDefault(), this.stopPropagation && e.stopPropagation(), this.closeModal();
330
336
  }), this.closeButton;
331
337
  }
332
338
  closeModal() {
333
339
  window.removeEventListener("popstate", this.popStateEventHandler);
334
- const e = c.MODAL_OPACITY_TRANSITION_PERIOD;
335
- g(this.overlay, e), g(this.wrapper, e), this.iframeInstance.cleanup();
340
+ const t = c.MODAL_OPACITY_TRANSITION_PERIOD;
341
+ v(this.overlay, t), v(this.wrapper, t), this.iframeInstance.cleanup();
336
342
  }
337
343
  static createOverlay() {
338
- const e = document.createElement("div");
339
- return e.classList.add(c.CLASS_NAMES.OVERLAY), e;
344
+ const t = document.createElement("div");
345
+ return t.classList.add(c.CLASS_NAMES.OVERLAY), t;
340
346
  }
341
347
  createWrapper() {
342
- const e = document.createElement("div");
343
- e.classList.add(c.CLASS_NAMES.MODAL_WRAPPER), e.tabIndex = -1, e.setAttribute("role", "dialog"), e.appendChild(this.createCloseBtn()), this.iframeInstance = new d(e, this.verificationUrl), this.iframeInstance.setInstallType("cdn_modal_iframe"), this.on = this.iframeInstance.on.bind(this.iframeInstance), this.once = this.iframeInstance.once.bind(this.iframeInstance);
344
- const t = {
348
+ const t = document.createElement("div");
349
+ t.classList.add(c.CLASS_NAMES.MODAL_WRAPPER), t.tabIndex = -1, t.setAttribute("role", "dialog"), t.appendChild(this.createCloseBtn()), this.iframeInstance = new d(t, this.verificationUrl), this.iframeInstance.setInstallType("cdn_modal_iframe"), this.on = this.iframeInstance.on.bind(this.iframeInstance), this.once = this.iframeInstance.once.bind(this.iframeInstance);
350
+ const e = {
345
351
  className: c.CLASS_NAMES.MODAL_IFRAME,
346
352
  title: b
347
353
  };
348
- return this.iframeInstance.createIframe(t), e.appendChild(this.iframeInstance.iframe), e;
354
+ return this.iframeInstance.createIframe(e), t.appendChild(this.iframeInstance.iframe), t;
349
355
  }
350
356
  addPopStateListener() {
351
357
  window.addEventListener("popstate", this.popStateEventHandler);
352
358
  }
353
359
  addFocusListener() {
354
- this.iframeInstance.addWindowMessageListener((e) => {
355
- e.type === "focus" && e.focusOn === "firstElement" && this.closeButton.focus();
356
- }), document.addEventListener("keydown", (e) => {
357
- e.key === "Tab" && e.shiftKey && document.activeElement === this.closeButton && (this.iframeInstance.iframe.contentWindow.postMessage({ focusOn: "lastElement" }, "*"), e.preventDefault());
360
+ this.iframeInstance.addWindowMessageListener((t) => {
361
+ t.type === "focus" && t.focusOn === "firstElement" && this.closeButton.focus();
362
+ }), document.addEventListener("keydown", (t) => {
363
+ t.key === "Tab" && t.shiftKey && document.activeElement === this.closeButton && (this.iframeInstance.iframe.contentWindow.postMessage({ focusOn: "lastElement" }, "*"), t.preventDefault());
358
364
  });
359
365
  }
360
- isInLightboxPostMessage(e) {
361
- this.iframeInstance.iframe.contentWindow.postMessage({ isInLightBox: e }, "*");
366
+ isInLightboxPostMessage(t) {
367
+ this.iframeInstance.iframe.contentWindow.postMessage({ isInLightBox: t }, "*");
362
368
  }
363
369
  displayModal() {
364
370
  this.iframeInstance.iframe.addEventListener("load", () => {
@@ -368,24 +374,24 @@ class w {
368
374
  init() {
369
375
  this.redirectOnMobile && this.isMobileDevice ? window.top.location.href = this.verificationUrl : (this.displayModal(), this.iframeInstance.init(!1));
370
376
  }
371
- setViewModel(e) {
372
- this.iframeInstance.setViewModel(e);
377
+ setViewModel(t) {
378
+ this.iframeInstance.setViewModel(t);
373
379
  }
374
- setOptions(e) {
375
- this.iframeInstance.setOptions(e);
380
+ setOptions(t) {
381
+ this.iframeInstance.setOptions(t);
376
382
  }
377
383
  }
378
- function Y(i, e) {
379
- const t = new d(i, e);
380
- return t.init(), t;
384
+ function Y(i, t) {
385
+ const e = new d(i, t);
386
+ return e.init(), e;
381
387
  }
382
- function j(i, e = {}) {
383
- const t = new w(i, e);
384
- return t.init(), t;
388
+ function j(i, t = {}) {
389
+ const e = new w(i, t);
390
+ return e.init(), e;
385
391
  }
386
- function q(i, e) {
387
- const t = new V(i, e);
388
- return t.init(), t;
392
+ function q(i, t) {
393
+ const e = new V(i, t);
394
+ return e.init(), e;
389
395
  }
390
396
  const Q = { loadInModal: j, loadInlineIframe: Y };
391
397
  export {