@incodetech/core 2.1.1 → 2.2.0-rc.1

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 (328) hide show
  1. package/dist/{3dAvatarProvider-BwOmTMOy.esm.js → 3dAvatarProvider-g02DTFqT.esm.js} +811 -880
  2. package/dist/Actor-iTq7YY48.d.ts +1 -0
  3. package/dist/BrowserDiagnosticsCryptoProvider-BwGL3Lmi.esm.js +95 -0
  4. package/dist/BrowserLazyImportProvider-BhoA957O.esm.js +114 -0
  5. package/dist/{BrowserStorageProvider-CBHBhKQN.esm.js → BrowserStorageProvider-k-FDkC4W.esm.js} +2 -4
  6. package/dist/{BrowserTimerProvider-CHloo0eQ.esm.js → BrowserTimerProvider-BXhgNxLt.esm.js} +1 -2
  7. package/dist/{BrowserVisibilityObserverProvider-GBS6XSii.esm.js → BrowserVisibilityObserverProvider-BX1BiLDK.esm.js} +1 -2
  8. package/dist/Face2DProvider-UUQt_vRC.esm.js +437 -0
  9. package/dist/{createFaceAvatar-CpdYp9Iy.d.ts → FaceDetectionProvider-Mh6q3EbA.d.ts} +107 -159
  10. package/dist/IBrowserEnvironmentCapability-DEaRRk-R.esm.js +9 -0
  11. package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +23 -0
  12. package/dist/IFeatureManagementCapability-DdEUp6tB.d.ts +1125 -0
  13. package/dist/IIdCaptureCapability-DHTT3FC2.d.ts +237 -0
  14. package/dist/IStorageCapability-ORkQfK3F.d.ts +242 -0
  15. package/dist/{ITimerCapability-DJ73P4RK.esm.js → ITimerCapability-DgdDzp8G.esm.js} +1 -2
  16. package/dist/{Manager-goNPc_h_.d.ts → Manager-CQQ99QOI.d.ts} +1 -0
  17. package/dist/{MotionSensorProvider-BHuHoYvJ.esm.js → MotionSensorProvider-DGiV77J_.esm.js} +2 -37
  18. package/dist/{OpenViduRecordingProvider-CK6A5kiU.esm.js → OpenViduRecordingProvider-Du98qevC.esm.js} +2 -4
  19. package/dist/PrivacyLensProvider-D8PS7AJa.esm.js +405 -0
  20. package/dist/StateMachine-EDpYWy0i.d.ts +6 -0
  21. package/dist/{StreamCanvasCapture-CAqUdVkM.esm.js → StreamCanvasCapture-D2XcXCZ4.esm.js} +2 -4
  22. package/dist/{addressSearch-D7msRieq.esm.js → addressSearch-DQyrvDQj.esm.js} +10 -21
  23. package/dist/ae-signature.d.ts +4 -6
  24. package/dist/ae-signature.esm.js +10 -11
  25. package/dist/antifraud.d.ts +1 -6
  26. package/dist/antifraud.esm.js +3 -8
  27. package/dist/{antifraudManager-5KA84wtF.esm.js → antifraudManager-B8Plzf7a.esm.js} +11 -8
  28. package/dist/{antifraudManager-DCiNI6np.d.ts → antifraudManager-BY36bS12.d.ts} +3 -3
  29. package/dist/{antifraudStateMachine-BQVw46N5.esm.js → antifraudStateMachine-r4VxSBS4.esm.js} +5 -7
  30. package/dist/api-Bx3gKW_y.esm.js +129 -0
  31. package/dist/{apiError-DkOXfFBu.esm.js → apiError-oiEnJIlk.esm.js} +25 -3
  32. package/dist/authentication.d.ts +3 -19
  33. package/dist/authentication.esm.js +3 -35
  34. package/dist/{authenticationManager-BeT6tNZm.d.ts → authenticationManager-BBMGTcwW.d.ts} +3 -4
  35. package/dist/{authenticationManager-BryLnSaF.esm.js → authenticationManager-Dq_tudSW.esm.js} +7 -10
  36. package/dist/{authenticationStateMachine-DbdxfGHx.esm.js → authenticationStateMachine-D4koAtP3.esm.js} +11 -15
  37. package/dist/avatar.d.ts +2 -2
  38. package/dist/avatar.esm.js +2 -3
  39. package/dist/avatar2dWarm-DqucNFX4.esm.js +1330 -0
  40. package/dist/avatarStats-CdUOb3VD.esm.js +136 -0
  41. package/dist/{backCameraStream-ChrMTJv-.esm.js → backCameraStream-CUeYm5eu.esm.js} +20 -8
  42. package/dist/browser-DlFgHpoC-DnyrCR8r.esm.js +1513 -0
  43. package/dist/callback-645_omgz.d.ts +133 -0
  44. package/dist/camera-_2sXMXiF.esm.js +140 -0
  45. package/dist/camera.d.ts +19 -2
  46. package/dist/camera.esm.js +2 -6
  47. package/dist/{canvas-Pi10hG_l.esm.js → canvas-E1zGkel4.esm.js} +1 -2
  48. package/dist/certificate-issuance.d.ts +34 -39
  49. package/dist/certificate-issuance.esm.js +4 -11
  50. package/dist/{certificateIssuanceStateMachine-DlZQT1_u.esm.js → certificateIssuanceStateMachine-COd7_l2T.esm.js} +7 -11
  51. package/dist/consent.d.ts +1 -4
  52. package/dist/consent.esm.js +3 -8
  53. package/dist/{consentManager-BwNu-uC-.esm.js → consentManager-BApTlfA0.esm.js} +5 -7
  54. package/dist/{consentManager-B4PMGXW-.d.ts → consentManager-uhDPdU6i.d.ts} +55 -61
  55. package/dist/{consentStateMachine-BOkVFiU7.esm.js → consentStateMachine-WD-S-Yhs.esm.js} +5 -7
  56. package/dist/{cpf-16m_cGAM.esm.js → cpf-BIADjddF.esm.js} +1 -2
  57. package/dist/createFaceAvatar-BEj18KXi.d.ts +50 -0
  58. package/dist/createFaceAvatar-DQKaRise.esm.js +103 -0
  59. package/dist/cross-document-data-match.d.ts +2 -26
  60. package/dist/cross-document-data-match.esm.js +2 -71
  61. package/dist/crossDocumentDataMatchManager-Dq8Z3SOg.d.ts +41 -0
  62. package/dist/crossDocumentDataMatchManager-OmYvyung.esm.js +84 -0
  63. package/dist/curp-validation.d.ts +1 -11
  64. package/dist/curp-validation.esm.js +3 -8
  65. package/dist/{curpValidationManager-CoqODZx5.d.ts → curpValidationManager-DVGr7Fq7.d.ts} +4 -6
  66. package/dist/{curpValidationManager-Cbji2inV.esm.js → curpValidationManager-UZxcrsrz.esm.js} +11 -7
  67. package/dist/{curpValidationStateMachine-Dlw4qfFb.esm.js → curpValidationStateMachine-9KwnqeoB.esm.js} +22 -14
  68. package/dist/custom-fields.d.ts +2 -5
  69. package/dist/custom-fields.esm.js +24 -11
  70. package/dist/custom-watchlist.d.ts +1 -3
  71. package/dist/custom-watchlist.esm.js +11 -10
  72. package/dist/{customWatchlistStateMachine-D8w0mNxm.esm.js → customWatchlistStateMachine-B_ey3TFj.esm.js} +5 -7
  73. package/dist/{dateUtils-BW6mBV6p.esm.js → dateUtils-CvG0FvK8.esm.js} +1 -2
  74. package/dist/{deepsightService-CViys6T4.esm.js → deepsightLoader-CWE0SvF1.esm.js} +68 -14
  75. package/dist/{deepsightService-BuTOFTr8.d.ts → deepsightService-DLVQS_RH.d.ts} +41 -2
  76. package/dist/device.d.ts +10 -2
  77. package/dist/device.esm.js +21 -21
  78. package/dist/document-capture.d.ts +3 -1816
  79. package/dist/document-capture.esm.js +3 -245
  80. package/dist/document-upload.d.ts +48 -55
  81. package/dist/document-upload.esm.js +8 -14
  82. package/dist/documentCaptureManager-B3t0ydtg.d.ts +2062 -0
  83. package/dist/documentCaptureManager-DszmcU-l.esm.js +296 -0
  84. package/dist/{documentCaptureStateMachine-BkTvU3yq.esm.js → documentCaptureStateMachine-D2jBwwVb.esm.js} +66 -40
  85. package/dist/dynamic-forms.d.ts +2 -4
  86. package/dist/dynamic-forms.esm.js +3 -9
  87. package/dist/{dynamicFormsManager-CHXUBNs4.esm.js → dynamicFormsManager-B-OmpJkU.esm.js} +48 -9
  88. package/dist/{dynamicFormsManager-CKZkE7Wo.d.ts → dynamicFormsManager-fhK0yINk.d.ts} +22 -46
  89. package/dist/{dynamicFormsStateMachine-DJ1HGZff.esm.js → dynamicFormsStateMachine-D_3oLtOE.esm.js} +161 -34
  90. package/dist/ekyb.d.ts +5 -137
  91. package/dist/ekyb.esm.js +4 -179
  92. package/dist/ekybManager-BJVp2ahf.esm.js +178 -0
  93. package/dist/ekybManager-Dzswb_b8.d.ts +114 -0
  94. package/dist/{ekybStateMachine-D9GzA4MW.esm.js → ekybStateMachine-BYcc9VaR.esm.js} +16 -193
  95. package/dist/ekyc.d.ts +2 -79
  96. package/dist/ekyc.esm.js +4 -154
  97. package/dist/ekycManager-BFpHbBoT.d.ts +97 -0
  98. package/dist/ekycManager-oTstTJuL.esm.js +156 -0
  99. package/dist/{ekycStateMachine-DnVRiu3s.esm.js → ekycStateMachine-DHvksnrr.esm.js} +141 -423
  100. package/dist/ekycUtils-Dew1rBG0.esm.js +223 -0
  101. package/dist/electronic-signature.d.ts +3 -5
  102. package/dist/electronic-signature.esm.js +2 -10
  103. package/dist/{electronicSignatureManager-DESRgObX.esm.js → electronicSignatureManager-CApcBEQd.esm.js} +47 -33
  104. package/dist/{index-36QX_21w.d.ts → electronicSignatureManager-CcUXQZS7.d.ts} +220 -251
  105. package/dist/email.d.ts +1 -5
  106. package/dist/email.esm.js +3 -10
  107. package/dist/{emailManager-CMS4q_r6.d.ts → emailManager-CADXW_9X.d.ts} +4 -7
  108. package/dist/{emailManager-B9Vrv3Ma.esm.js → emailManager-tE-YvNtS.esm.js} +76 -12
  109. package/dist/{emailStateMachine-CbmKFVSi.esm.js → emailStateMachine-Bm894MHB.esm.js} +7 -9
  110. package/dist/{endpoints-CwrFQfW7.esm.js → endpoints-CCzL3XD_.esm.js} +55 -6
  111. package/dist/{events-1wxZ97yf.esm.js → events-CxfNJVZW.esm.js} +43 -176
  112. package/dist/events.d.ts +28 -10
  113. package/dist/events.esm.js +2 -4
  114. package/dist/extensibility.d.ts +37 -37
  115. package/dist/extensibility.esm.js +31 -80
  116. package/dist/{externalFetch-hvmz_npP.esm.js → externalFetch-BKBThAUC.esm.js} +2 -4
  117. package/dist/face-match.d.ts +2 -225
  118. package/dist/face-match.esm.js +3 -173
  119. package/dist/{faceCaptureManagerFactory-C9TiGbkA.esm.js → faceCaptureManagerFactory-4VejGOQX.esm.js} +52 -31
  120. package/dist/{faceCaptureManagerFactory-DiJ64oem.d.ts → faceCaptureManagerFactory-BxWPpxyd.d.ts} +63 -24
  121. package/dist/{faceCaptureSetup-BqhqfFHL.esm.js → faceCaptureSetup-BB5KEtbV.esm.js} +57 -36
  122. package/dist/faceMatchManager-BXp2WUT-.esm.js +201 -0
  123. package/dist/faceMatchManager-BnvrZM2F.d.ts +268 -0
  124. package/dist/{faceMatchStateMachine-MDb30gCm.esm.js → faceMatchStateMachine-CJiO2yLO.esm.js} +14 -10
  125. package/dist/feature-management-DS_Nj5Gg.esm.js +615 -0
  126. package/dist/feature-management.d.ts +173 -0
  127. package/dist/feature-management.esm.js +2 -0
  128. package/dist/field-comparison.d.ts +1 -4
  129. package/dist/field-comparison.esm.js +2 -7
  130. package/dist/{fieldComparisonManager-OLKVsG2Z.d.ts → fieldComparisonManager-CBvEGxFx.d.ts} +3 -5
  131. package/dist/{fieldComparisonManager-Cw4uzD7S.esm.js → fieldComparisonManager-DhnYdYZ2.esm.js} +6 -11
  132. package/dist/fiscal-qr.d.ts +1 -6
  133. package/dist/fiscal-qr.esm.js +14 -29
  134. package/dist/flow-events.d.ts +2 -9
  135. package/dist/flow.d.ts +59 -21
  136. package/dist/flow.esm.js +132 -49
  137. package/dist/{flowCompletionService-B6P6_EF3.esm.js → flowCompletionService-Bt3wD28k.esm.js} +4 -6
  138. package/dist/flowServices-b0Pd4F1K.esm.js +620 -0
  139. package/dist/geolocation.d.ts +1 -4
  140. package/dist/geolocation.esm.js +3 -9
  141. package/dist/geolocationManager-Cz744E5S.d.ts +506 -0
  142. package/dist/{geolocationManager-CF6-NizA.esm.js → geolocationManager-DGwnL5lg.esm.js} +44 -16
  143. package/dist/{geolocationStateMachine-CD2XJs1b.esm.js → geolocationStateMachine-il6jz5DZ.esm.js} +53 -28
  144. package/dist/{getBrowser-1yNcfFZR.esm.js → getBrowser-Cb8Zgrgp.esm.js} +1 -2
  145. package/dist/getBrowser-DNrQeL4T.esm.js +16 -0
  146. package/dist/getDeviceClass-9y-kbVDw.esm.js +19 -0
  147. package/dist/{getDeviceClass-C-Dg6IsJ.esm.js → getDeviceClass-CeBiEayS.esm.js} +1 -2
  148. package/dist/getParsedUserAgent-pJjATANs.esm.js +1622 -0
  149. package/dist/government-validation.d.ts +3 -6
  150. package/dist/government-validation.esm.js +7 -13
  151. package/dist/{governmentValidationStateMachine-BE5wiQ7Y.esm.js → governmentValidationStateMachine-BYKYUdza.esm.js} +8 -11
  152. package/dist/home.d.ts +14 -22
  153. package/dist/home.esm.js +3 -8
  154. package/dist/http.d.ts +0 -1
  155. package/dist/http.esm.js +2 -4
  156. package/dist/id-ocr.d.ts +8 -7
  157. package/dist/id-ocr.esm.js +20 -9
  158. package/dist/id-selfie-flow.d.ts +179 -0
  159. package/dist/id-selfie-flow.esm.js +917 -0
  160. package/dist/id-verification.d.ts +2 -191
  161. package/dist/id-verification.esm.js +3 -43
  162. package/dist/id.d.ts +7 -18
  163. package/dist/id.esm.js +47 -53
  164. package/dist/{idCaptureDefaults-CZajItdO.esm.js → idCaptureDefaults-WeHbQM7W.esm.js} +54 -17
  165. package/dist/idCaptureManager-BjU-Wyow.d.ts +429 -0
  166. package/dist/{idCaptureManager-DASPUMtC.esm.js → idCaptureManager-DgohUfUQ.esm.js} +173 -34
  167. package/dist/idCaptureServices-RDiDS9tg.esm.js +396 -0
  168. package/dist/{idCaptureStateMachine-DZ2ZTSxu.esm.js → idCaptureStateMachine-DWocZD_m.esm.js} +438 -585
  169. package/dist/{idOcrManager-Tm4LzKR0.esm.js → idOcrManager-CvJZhmBR.esm.js} +4 -7
  170. package/dist/{idOcrManager-DLfAjDZn.d.ts → idOcrManager-DXc_xRN7.d.ts} +62 -229
  171. package/dist/{idOcrStateMachine-BJxZCxwS.esm.js → idOcrStateMachine-Bq_e3l4E.esm.js} +15 -20
  172. package/dist/idVerificationManager-BB4Pj_N6.d.ts +197 -0
  173. package/dist/idVerificationManager-CduNXhWd.esm.js +51 -0
  174. package/dist/{idVerificationStateMachine-DXN9WcdM.esm.js → idVerificationStateMachine-GEQWUPU2.esm.js} +5 -7
  175. package/dist/identity-reuse.d.ts +1 -4
  176. package/dist/identity-reuse.esm.js +3 -8
  177. package/dist/{identityReuseManager-LjkPvSQN.esm.js → identityReuseManager-D5vXknnJ.esm.js} +24 -7
  178. package/dist/{identityReuseManager-CLVOYxcp.d.ts → identityReuseManager-v2TH5g7e.d.ts} +38 -43
  179. package/dist/{identityReuseStateMachine-Bp-zONoV.esm.js → identityReuseStateMachine-AubRPhIi.esm.js} +6 -8
  180. package/dist/index-B8weJxmL.d.ts +1 -0
  181. package/dist/index-BKOWUhxG.d.ts +258 -0
  182. package/dist/{index-DrpWp15Z.d.ts → index-CLMF0QLQ.d.ts} +3 -3
  183. package/dist/index.d.ts +1 -3
  184. package/dist/index.esm.js +2 -15
  185. package/dist/{invokeOnCaptureCallback-CCS2Ruzi.esm.js → invokeOnCaptureCallback-1m1VJ3Q4.esm.js} +2 -4
  186. package/dist/{lib-Bjd6nOLG.esm.js → lib-DAyUtOTj.esm.js} +1510 -1589
  187. package/dist/mandatory-consent.d.ts +2 -10
  188. package/dist/mandatory-consent.esm.js +3 -8
  189. package/dist/{mandatoryConsentManager-DeBmOHcQ.d.ts → mandatoryConsentManager-B29kR0XA.d.ts} +60 -85
  190. package/dist/{mandatoryConsentManager-DZ26sg4B.esm.js → mandatoryConsentManager-BeELm1zS.esm.js} +4 -7
  191. package/dist/{mandatoryConsentStateMachine-_44ZoDSh.esm.js → mandatoryConsentStateMachine-zroQGzwb.esm.js} +5 -7
  192. package/dist/manualReviewService-D4IkipnN.esm.js +15 -0
  193. package/dist/{mediaRecorderOptions-CClCKAiF.esm.js → mediaRecorderOptions-dALSV8af.esm.js} +2 -4
  194. package/dist/{mediapipeShared-Bcmkzs3x.esm.js → mediapipeShared-B6oNoXEQ.esm.js} +21 -9
  195. package/dist/{onDeviceFaceResults-DILtthks.esm.js → onDeviceFaceResults-C6IRJHQB.esm.js} +30 -87
  196. package/dist/openviduLazy-CCDpFWg1.esm.js +10 -0
  197. package/dist/{otp-B1YeyRXu.d.ts → otp-CEWfTj9v.d.ts} +0 -1
  198. package/dist/{otp-uaXiKt_R.esm.js → otp-D2k3PeSL.esm.js} +3 -14
  199. package/dist/{permissionGuards-BNOe4Tnu.esm.js → permissionGuards-KINpmKtI.esm.js} +2 -4
  200. package/dist/{permissionServices-C_kxhNeo.esm.js → permissionServices-UvUcOSRb.esm.js} +35 -28
  201. package/dist/personhood.d.ts +13 -20
  202. package/dist/personhood.esm.js +153 -85
  203. package/dist/phone.d.ts +1 -5
  204. package/dist/phone.esm.js +3 -10
  205. package/dist/{phoneManager-_KtitbUA.d.ts → phoneManager-BBU8Lq0O.d.ts} +4 -7
  206. package/dist/{phoneManager-CRblfdcI.esm.js → phoneManager-Cpiai2IM.esm.js} +82 -12
  207. package/dist/{phoneStateMachine-DjFGWMjQ.esm.js → phoneStateMachine-E1fUUcNM.esm.js} +7 -9
  208. package/dist/{platform-0Ot-bF_a.esm.js → platform-BJrm5nzZ.esm.js} +31 -11
  209. package/dist/privacyLensWorker-DI-Rg83h.esm.js +355 -0
  210. package/dist/qe-signature.d.ts +4 -6
  211. package/dist/qe-signature.esm.js +10 -11
  212. package/dist/{recordingService-CxaYkITO.esm.js → recordingService-N4RhdyiT.esm.js} +13 -31
  213. package/dist/redirect-to-mobile.d.ts +2 -6
  214. package/dist/redirect-to-mobile.esm.js +3 -10
  215. package/dist/{redirectToMobileManager-dv29o_LS.d.ts → redirectToMobileManager-BD2PvT5B.d.ts} +8 -44
  216. package/dist/{redirectToMobileManager-DbuNUlru.esm.js → redirectToMobileManager-C0dfc7f6.esm.js} +28 -8
  217. package/dist/{redirectToMobileStateMachine-BRaIJWOM.esm.js → redirectToMobileStateMachine-C9SYCJcH.esm.js} +74 -18
  218. package/dist/rolldown-runtime-FZ4Itg2g.esm.js +42 -0
  219. package/dist/{runChildModule-kojSv3MH.esm.js → runChildModule-DpRmKWV0.esm.js} +10 -9
  220. package/dist/{WasmUtilProvider-BgzcXBdl.esm.js → safeStorage-Ep56I-f_.esm.js} +98 -473
  221. package/dist/selfie.d.ts +8 -21
  222. package/dist/selfie.esm.js +40 -47
  223. package/dist/selfieErrorUtils-C2PYBVsp.esm.js +90 -0
  224. package/dist/{selfieManager-B1Px3GGa.esm.js → selfieManager-CmoNiluM.esm.js} +7 -10
  225. package/dist/{selfieManager-4juKfrHG.d.ts → selfieManager-DwlCppg0.d.ts} +3 -4
  226. package/dist/{selfieStateMachine-D0TS93Tu.esm.js → selfieStateMachine-L9pghTly.esm.js} +14 -29
  227. package/dist/{session-CLsU2Jnb.esm.js → session-DeR_I24J.esm.js} +16 -7
  228. package/dist/session.d.ts +12 -10
  229. package/dist/session.esm.js +5 -15
  230. package/dist/sessionInitializer-DNgRpf5Y.esm.js +1865 -0
  231. package/dist/{setup-CfNsYAeB.esm.js → setup-DuYKUt0r.esm.js} +319 -137
  232. package/dist/{setup-CmA2apmN.d.ts → setup-DywQeePQ.d.ts} +186 -4
  233. package/dist/signature.d.ts +2 -96
  234. package/dist/signature.esm.js +3 -108
  235. package/dist/signatureManager-DGBSWz2_.d.ts +106 -0
  236. package/dist/signatureManager-DdPgcmou.esm.js +113 -0
  237. package/dist/{signatureStateMachine-CdhlMih-.esm.js → signatureStateMachine-Cf73DGWO.esm.js} +5 -7
  238. package/dist/spawn-D9jgw9pW.d.ts +1441 -0
  239. package/dist/src-0Jurt29N.esm.js +4482 -0
  240. package/dist/{stats-BVy52wLy.esm.js → stats-B0nFKawG.esm.js} +3 -5
  241. package/dist/stats.esm.js +2 -5
  242. package/dist/topLevelStateName-B5i2avbh.esm.js +41 -0
  243. package/dist/{tri-CFAPtAUM.esm.js → tri-4RsGrIt6.esm.js} +3 -119
  244. package/dist/tri.d.ts +2 -2
  245. package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
  246. package/dist/tri.esm.js +2 -4
  247. package/dist/trueSight-BTl_vvd3.esm.js +1 -0
  248. package/dist/trueSightService-s3T95geD.esm.js +1894 -0
  249. package/dist/trust-graph.d.ts +4 -5
  250. package/dist/trust-graph.esm.js +13 -9
  251. package/dist/types-BEwVKkLJ.d.ts +15 -0
  252. package/dist/{types-BKLb3C42.esm.js → types-BN5RPPIZ.esm.js} +1 -2
  253. package/dist/types-BSBzhHRH.d.ts +57 -0
  254. package/dist/types-BX_XkMsQ2.d.ts +21 -0
  255. package/dist/types-BfHiko5D.d.ts +48 -0
  256. package/dist/{types-D8Cl1N2Z.d.ts → types-BfgmV7s72.d.ts} +2 -2
  257. package/dist/types-CJ7Yl9K-2.d.ts +164 -0
  258. package/dist/types-DPIDuhut.d.ts +40 -0
  259. package/dist/types-DVmXIdzW.d.ts +82 -0
  260. package/dist/types-DelMqZLe.d.ts +105 -0
  261. package/dist/types-EELWyWpd.d.ts +6 -0
  262. package/dist/{types-fO6KIdol.d.ts → types-Hmd7U0JA.d.ts} +80 -6
  263. package/dist/{types-BUgeB2X6.d.ts → types-KPvmag_B.d.ts} +7 -7
  264. package/dist/types-M6eb82ra2.d.ts +589 -0
  265. package/dist/{types-DV3wkhQ4.d.ts → types-Vb4P9ovf.d.ts} +1 -3
  266. package/dist/{urlUtils-CpiYwn7w.esm.js → urlUtils-D6phjq1-.esm.js} +1 -2
  267. package/dist/{video-ZY92rkel.esm.js → video-BtSWtHy1.esm.js} +1 -2
  268. package/dist/video-selfie.d.ts +71 -117
  269. package/dist/video-selfie.esm.js +575 -643
  270. package/dist/videoSelfieCameraWarmer-DPx5Lm3d.esm.js +651 -0
  271. package/dist/videoSelfieStepDetector-D3oo2ofo.d.ts +123 -0
  272. package/dist/wasm.d.ts +2 -4
  273. package/dist/wasm.esm.js +4 -15
  274. package/dist/wasmDefaults-DTUrftxR.esm.js +125 -0
  275. package/dist/{wasmDsFlagSync-Ch0mFJNT.esm.js → wasmDsFlagSync-BqUCwLY8.esm.js} +2 -4
  276. package/dist/wasmWebClient-DM8lkb0z.esm.js +407 -0
  277. package/dist/watchlist-for-business.d.ts +1 -3
  278. package/dist/watchlist-for-business.esm.js +9 -9
  279. package/dist/watchlist.d.ts +1 -52
  280. package/dist/watchlist.esm.js +3 -70
  281. package/dist/{watchlistForBusinessStateMachine-R1Yp1g5A.esm.js → watchlistForBusinessStateMachine-BcBMkMvV.esm.js} +5 -7
  282. package/dist/watchlistManager-CjSMmbyq.esm.js +83 -0
  283. package/dist/watchlistManager-DLXef90v.d.ts +68 -0
  284. package/dist/{watchlistStateMachine-D07UVq1m.esm.js → watchlistStateMachine-Bl7Wy9Cm.esm.js} +5 -7
  285. package/dist/workflow.d.ts +239 -203
  286. package/dist/workflow.esm.js +156 -101
  287. package/dist/xstate-actors.esm-CtI5S0f4.esm.js +310 -0
  288. package/dist/{xstate.esm-nY3M5UYm.esm.js → xstate.esm-Cf4e0Cfd.esm.js} +136 -610
  289. package/package.json +14 -9
  290. package/dist/Actor-BwgmOPkb.d.ts +0 -2
  291. package/dist/Face2DProvider-CZU11g6r.esm.js +0 -824
  292. package/dist/FaceDetectionProvider-CPWg-PAH.d.ts +0 -119
  293. package/dist/IWasmUtilCapability-DaSNxgA8.d.ts +0 -150
  294. package/dist/PrivacyLensProvider-B_zrV25p.esm.js +0 -339
  295. package/dist/StateMachine-D5WO6lHS.d.ts +0 -2
  296. package/dist/StreamCanvasCapture-DHaWferF.d.ts +0 -42
  297. package/dist/ae-signature-Pp4oCAHD.esm.js +0 -12
  298. package/dist/api-DsbUi7TO.esm.js +0 -72
  299. package/dist/browser-DlFgHpoC-Br3G10gw.esm.js +0 -1425
  300. package/dist/browserSimulation-DZwEy9bu.esm.js +0 -2804
  301. package/dist/camera-CxxXV0VN.esm.js +0 -79
  302. package/dist/canvas-90BqS0NF.d.ts +0 -112
  303. package/dist/chunk-CIKcdghV.esm.js +0 -49
  304. package/dist/clientLifecycle-VyzRfALg.esm.js +0 -534
  305. package/dist/cpf-ocr.d.ts +0 -10
  306. package/dist/cpf-ocr.esm.js +0 -8
  307. package/dist/cpfOcrManager-9eM4z4o7.esm.js +0 -190
  308. package/dist/cpfOcrManager-C5U9E0hf.d.ts +0 -216
  309. package/dist/createFaceAvatar-BZSg2MNo.esm.js +0 -46
  310. package/dist/deepsightLoader-CU_tiLMx.esm.js +0 -62
  311. package/dist/flowServices-DkQmOkLV.esm.js +0 -208
  312. package/dist/geolocationManager-DaHYFkVO.d.ts +0 -156
  313. package/dist/getDeviceClass-DIjnTPjR.esm.js +0 -14
  314. package/dist/http-CnsKEaJY.esm.js +0 -0
  315. package/dist/idCaptureManager-CwuXtVu6.d.ts +0 -1013
  316. package/dist/index-BAyZ8_iI.d.ts +0 -93
  317. package/dist/openviduLazy-jPgABwrt.esm.js +0 -3
  318. package/dist/openviduLazy-wEojM41w.esm.js +0 -12
  319. package/dist/qe-signature-BnWIpR-O.esm.js +0 -12
  320. package/dist/sessionInitializer-Dj7-aJaP.esm.js +0 -547
  321. package/dist/tri.esm-DDJ1zOqG.esm.js +0 -2593
  322. package/dist/types-BcF-fii5.d.ts +0 -5
  323. package/dist/videoSelfieSteps-Djpv7cjb.esm.js +0 -58
  324. /package/dist/{IVisibilityObserverCapability-BZ1rE7ly.d.ts → IVisibilityObserverCapability-D4tvIB5v.d.ts} +0 -0
  325. /package/dist/{camera-CKU96nwJ.d.ts → camera-9wWD-pwg.d.ts} +0 -0
  326. /package/dist/{flowCompletionService-BOSTlAWo.d.ts → flowCompletionService-BlAHsKyv.d.ts} +0 -0
  327. /package/dist/{types-BgjMAEXl.d.ts → types-Bk_6dmDa.d.ts} +0 -0
  328. /package/dist/{warmup-Dd0iq6KF.d.ts → warmup-Dv2alr2-.d.ts} +0 -0
@@ -90,7 +90,7 @@ function createManager(options) {
90
90
  currentErrorPayload = nextErrorPayload;
91
91
  }) : void 0;
92
92
  let isStopped = false;
93
- const base = {
93
+ return Object.defineProperties({
94
94
  getState,
95
95
  subscribe,
96
96
  stop() {
@@ -105,10 +105,8 @@ function createManager(options) {
105
105
  instrumentation?.onModuleClosed(instrumentation.moduleName);
106
106
  actor.stop();
107
107
  }
108
- };
109
- return Object.defineProperties(base, Object.getOwnPropertyDescriptors(api));
108
+ }, Object.getOwnPropertyDescriptors(api));
110
109
  }
111
-
112
110
  //#endregion
113
111
  //#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dev/dist/xstate-dev.esm.js
114
112
  function getGlobal() {
@@ -126,7 +124,6 @@ const devToolsAdapter = (service) => {
126
124
  const devTools = getDevTools();
127
125
  if (devTools) devTools.register(service);
128
126
  };
129
-
130
127
  //#endregion
131
128
  //#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dist/raise-9ad1c5c6.esm.js
132
129
  var Mailbox = class {
@@ -169,13 +166,10 @@ var Mailbox = class {
169
166
  this._last = null;
170
167
  }
171
168
  };
172
- const STATE_DELIMITER = ".";
173
169
  const TARGETLESS_KEY = "";
174
- const NULL_EVENT = "";
175
170
  const STATE_IDENTIFIER = "#";
176
171
  const WILDCARD = "*";
177
172
  const XSTATE_INIT = "xstate.init";
178
- const XSTATE_ERROR = "xstate.error";
179
173
  const XSTATE_STOP = "xstate.stop";
180
174
  /**
181
175
  * Returns an event that represents an implicit event that is sent after the
@@ -310,11 +304,11 @@ function toArray(value) {
310
304
  if (value === void 0) return [];
311
305
  return toArrayStrict(value);
312
306
  }
313
- function resolveOutput(mapper, context, event, self$1) {
307
+ function resolveOutput(mapper, context, event, self) {
314
308
  if (typeof mapper === "function") return mapper({
315
309
  context,
316
310
  event,
317
- self: self$1
311
+ self
318
312
  });
319
313
  return mapper;
320
314
  }
@@ -336,11 +330,11 @@ function normalizeTarget(target) {
336
330
  }
337
331
  function toObserver(nextHandler, errorHandler, completionHandler) {
338
332
  const isObserver = typeof nextHandler === "object";
339
- const self$1 = isObserver ? nextHandler : void 0;
333
+ const self = isObserver ? nextHandler : void 0;
340
334
  return {
341
- next: (isObserver ? nextHandler.next : nextHandler)?.bind(self$1),
342
- error: (isObserver ? nextHandler.error : errorHandler)?.bind(self$1),
343
- complete: (isObserver ? nextHandler.complete : completionHandler)?.bind(self$1)
335
+ next: (isObserver ? nextHandler.next : nextHandler)?.bind(self),
336
+ error: (isObserver ? nextHandler.error : errorHandler)?.bind(self),
337
+ complete: (isObserver ? nextHandler.complete : completionHandler)?.bind(self)
344
338
  };
345
339
  }
346
340
  function createInvokeId(stateNodeId, index) {
@@ -376,11 +370,12 @@ function createSystem(rootActor, options) {
376
370
  };
377
371
  const scheduledEventId = createScheduledEventId(source, id);
378
372
  system._snapshot._scheduledEvents[scheduledEventId] = scheduledEvent;
379
- timerMap[scheduledEventId] = clock.setTimeout(() => {
373
+ const timeout = clock.setTimeout(() => {
380
374
  delete timerMap[scheduledEventId];
381
375
  delete system._snapshot._scheduledEvents[scheduledEventId];
382
376
  system._relay(source, target, event);
383
377
  }, delay);
378
+ timerMap[scheduledEventId] = timeout;
384
379
  },
385
380
  cancel: (source, id) => {
386
381
  const scheduledEventId = createScheduledEventId(source, id);
@@ -466,12 +461,11 @@ function createSystem(rootActor, options) {
466
461
  return system;
467
462
  }
468
463
  let executingCustomAction = false;
469
- const $$ACTOR_TYPE = 1;
470
- let ProcessingStatus = /* @__PURE__ */ function(ProcessingStatus$1) {
471
- ProcessingStatus$1[ProcessingStatus$1["NotStarted"] = 0] = "NotStarted";
472
- ProcessingStatus$1[ProcessingStatus$1["Running"] = 1] = "Running";
473
- ProcessingStatus$1[ProcessingStatus$1["Stopped"] = 2] = "Stopped";
474
- return ProcessingStatus$1;
464
+ let ProcessingStatus = /*#__PURE__*/ function(ProcessingStatus) {
465
+ ProcessingStatus[ProcessingStatus["NotStarted"] = 0] = "NotStarted";
466
+ ProcessingStatus[ProcessingStatus["Running"] = 1] = "Running";
467
+ ProcessingStatus[ProcessingStatus["Stopped"] = 2] = "Stopped";
468
+ return ProcessingStatus;
475
469
  }({});
476
470
  const defaultOptions = {
477
471
  clock: {
@@ -736,8 +730,8 @@ var Actor = class {
736
730
  if (!observer.error) reportUnhandledError(err);
737
731
  else try {
738
732
  observer.error(err);
739
- } catch (err$1) {
740
- reportUnhandledError(err$1);
733
+ } catch (err) {
734
+ reportUnhandledError(err);
741
735
  }
742
736
  break;
743
737
  }
@@ -824,7 +818,7 @@ var Actor = class {
824
818
  return;
825
819
  }
826
820
  this.update(nextState, event);
827
- if (event.type === XSTATE_STOP) {
821
+ if (event.type === "xstate.stop") {
828
822
  this._stopProcedure();
829
823
  this._complete();
830
824
  }
@@ -903,7 +897,7 @@ var Actor = class {
903
897
  }
904
898
  toJSON() {
905
899
  return {
906
- xstate$$type: $$ACTOR_TYPE,
900
+ xstate$$type: 1,
907
901
  id: this.id
908
902
  };
909
903
  }
@@ -1034,12 +1028,12 @@ function executeCancel(actorScope, params) {
1034
1028
  * @param sendId The `id` of the `sendTo(...)` action to cancel.
1035
1029
  */
1036
1030
  function cancel(sendId) {
1037
- function cancel$1(_args, _params) {}
1038
- cancel$1.type = "xstate.cancel";
1039
- cancel$1.sendId = sendId;
1040
- cancel$1.resolve = resolveCancel;
1041
- cancel$1.execute = executeCancel;
1042
- return cancel$1;
1031
+ function cancel(_args, _params) {}
1032
+ cancel.type = "xstate.cancel";
1033
+ cancel.sendId = sendId;
1034
+ cancel.resolve = resolveCancel;
1035
+ cancel.execute = executeCancel;
1036
+ return cancel;
1043
1037
  }
1044
1038
  function resolveSpawn(actorScope, snapshot, actionArgs, _actionParams, { id, systemId, src, input, syncSnapshot }) {
1045
1039
  const logic = typeof src === "string" ? resolveReferencedActor(snapshot.machine, src) : src;
@@ -1084,16 +1078,16 @@ function executeSpawn(actorScope, { actorRef }) {
1084
1078
  });
1085
1079
  }
1086
1080
  function spawnChild(...[src, { id, systemId, input, syncSnapshot = false } = {}]) {
1087
- function spawnChild$1(_args, _params) {}
1088
- spawnChild$1.type = "xstate.spawnChild";
1089
- spawnChild$1.id = id;
1090
- spawnChild$1.systemId = systemId;
1091
- spawnChild$1.src = src;
1092
- spawnChild$1.input = input;
1093
- spawnChild$1.syncSnapshot = syncSnapshot;
1094
- spawnChild$1.resolve = resolveSpawn;
1095
- spawnChild$1.execute = executeSpawn;
1096
- return spawnChild$1;
1081
+ function spawnChild(_args, _params) {}
1082
+ spawnChild.type = "xstate.spawnChild";
1083
+ spawnChild.id = id;
1084
+ spawnChild.systemId = systemId;
1085
+ spawnChild.src = src;
1086
+ spawnChild.input = input;
1087
+ spawnChild.syncSnapshot = syncSnapshot;
1088
+ spawnChild.resolve = resolveSpawn;
1089
+ spawnChild.execute = executeSpawn;
1090
+ return spawnChild;
1097
1091
  }
1098
1092
  function resolveStop(_, snapshot, args, actionParams, { actorRef }) {
1099
1093
  const actorRefOrString = typeof actorRef === "function" ? actorRef(args, actionParams) : actorRef;
@@ -1126,12 +1120,12 @@ function executeStop(actorScope, actorRef) {
1126
1120
  * @param actorRef The actor to stop.
1127
1121
  */
1128
1122
  function stopChild(actorRef) {
1129
- function stop$1(_args, _params) {}
1130
- stop$1.type = "xstate.stopChild";
1131
- stop$1.actorRef = actorRef;
1132
- stop$1.resolve = resolveStop;
1133
- stop$1.execute = executeStop;
1134
- return stop$1;
1123
+ function stop(_args, _params) {}
1124
+ stop.type = "xstate.stopChild";
1125
+ stop.actorRef = actorRef;
1126
+ stop.resolve = resolveStop;
1127
+ stop.execute = executeStop;
1128
+ return stop;
1135
1129
  }
1136
1130
  function checkNot(snapshot, { context, event }, { guards }) {
1137
1131
  return !evaluateGuard(guards[0], context, event, snapshot);
@@ -1166,12 +1160,12 @@ function checkNot(snapshot, { context, event }, { guards }) {
1166
1160
  * @returns A guard
1167
1161
  */
1168
1162
  function not(guard) {
1169
- function not$1(_args, _params) {
1163
+ function not(_args, _params) {
1170
1164
  return false;
1171
1165
  }
1172
- not$1.check = checkNot;
1173
- not$1.guards = [guard];
1174
- return not$1;
1166
+ not.check = checkNot;
1167
+ not.guards = [guard];
1168
+ return not;
1175
1169
  }
1176
1170
  function checkAnd(snapshot, { context, event }, { guards }) {
1177
1171
  return guards.every((guard) => evaluateGuard(guard, context, event, snapshot));
@@ -1206,12 +1200,12 @@ function checkAnd(snapshot, { context, event }, { guards }) {
1206
1200
  * @returns A guard action object
1207
1201
  */
1208
1202
  function and(guards) {
1209
- function and$1(_args, _params) {
1203
+ function and(_args, _params) {
1210
1204
  return false;
1211
1205
  }
1212
- and$1.check = checkAnd;
1213
- and$1.guards = guards;
1214
- return and$1;
1206
+ and.check = checkAnd;
1207
+ and.guards = guards;
1208
+ return and;
1215
1209
  }
1216
1210
  function evaluateGuard(guard, context, event, snapshot) {
1217
1211
  const { machine } = snapshot;
@@ -1367,7 +1361,7 @@ function formatTransition(stateNode, descriptor, transitionConfig) {
1367
1361
  function formatTransitions(stateNode) {
1368
1362
  const transitions = /* @__PURE__ */ new Map();
1369
1363
  if (stateNode.config.on) for (const descriptor of Object.keys(stateNode.config.on)) {
1370
- if (descriptor === NULL_EVENT) throw new Error("Null events (\"\") cannot be specified as a transition key. Use `always: { ... }` instead.");
1364
+ if (descriptor === "") throw new Error("Null events (\"\") cannot be specified as a transition key. Use `always: { ... }` instead.");
1371
1365
  const transitionsConfig = stateNode.config.on[descriptor];
1372
1366
  transitions.set(descriptor, toTransitionConfigArray(transitionsConfig).map((t) => formatTransition(stateNode, descriptor, t)));
1373
1367
  }
@@ -1421,7 +1415,7 @@ function resolveTarget(stateNode, targets) {
1421
1415
  return targets.map((target) => {
1422
1416
  if (typeof target !== "string") return target;
1423
1417
  if (isStateId(target)) return stateNode.machine.getStateNodeById(target);
1424
- const isInternalTarget = target[0] === STATE_DELIMITER;
1418
+ const isInternalTarget = target[0] === ".";
1425
1419
  if (isInternalTarget && !stateNode.parent) return getStateNodeByPath(stateNode, target.slice(1));
1426
1420
  const resolvedTarget = isInternalTarget ? stateNode.key + target : target;
1427
1421
  if (stateNode.parent) try {
@@ -1779,7 +1773,7 @@ function resolveAndExecuteActionsWithContext(currentSnapshot, event, actorScope,
1779
1773
  continue;
1780
1774
  }
1781
1775
  const builtinAction = resolvedAction;
1782
- const [nextState, params, actions$1] = builtinAction.resolve(actorScope, intermediateSnapshot, actionArgs, actionParams, resolvedAction, extra);
1776
+ const [nextState, params, actions] = builtinAction.resolve(actorScope, intermediateSnapshot, actionArgs, actionParams, resolvedAction, extra);
1783
1777
  intermediateSnapshot = nextState;
1784
1778
  if ("retryResolve" in builtinAction) retries?.push([builtinAction, params]);
1785
1779
  if ("execute" in builtinAction) actorScope.actionExecutor({
@@ -1788,7 +1782,7 @@ function resolveAndExecuteActionsWithContext(currentSnapshot, event, actorScope,
1788
1782
  params,
1789
1783
  exec: builtinAction.execute.bind(null, actorScope, params)
1790
1784
  });
1791
- if (actions$1) intermediateSnapshot = resolveAndExecuteActionsWithContext(intermediateSnapshot, event, actorScope, actions$1, extra, retries);
1785
+ if (actions) intermediateSnapshot = resolveAndExecuteActionsWithContext(intermediateSnapshot, event, actorScope, actions, extra, retries);
1792
1786
  }
1793
1787
  return intermediateSnapshot;
1794
1788
  }
@@ -1806,17 +1800,17 @@ function resolveActionsAndContext(currentSnapshot, event, actorScope, actions, i
1806
1800
  function macrostep(snapshot, event, actorScope, internalQueue) {
1807
1801
  let nextSnapshot = snapshot;
1808
1802
  const microstates = [];
1809
- function addMicrostate(microstate, event$1, transitions) {
1803
+ function addMicrostate(microstate, event, transitions) {
1810
1804
  actorScope.system._sendInspectionEvent({
1811
1805
  type: "@xstate.microstep",
1812
1806
  actorRef: actorScope.self,
1813
- event: event$1,
1807
+ event,
1814
1808
  snapshot: microstate,
1815
1809
  _transitions: transitions
1816
1810
  });
1817
1811
  microstates.push(microstate);
1818
1812
  }
1819
- if (event.type === XSTATE_STOP) {
1813
+ if (event.type === "xstate.stop") {
1820
1814
  nextSnapshot = cloneMachineSnapshot(stopChildren(nextSnapshot, event, actorScope), { status: "stopped" });
1821
1815
  addMicrostate(nextSnapshot, event, []);
1822
1816
  return {
@@ -1903,7 +1897,7 @@ const machineSnapshotCan = function can(event) {
1903
1897
  return !!transitionData?.length && transitionData.some((t) => t.target !== void 0 || t.actions.length);
1904
1898
  };
1905
1899
  const machineSnapshotToJSON = function toJSON() {
1906
- const { _nodes: nodes, tags, machine, getMeta, toJSON: toJSON$1, can, hasTag, matches, ...jsonValues } = this;
1900
+ const { _nodes: nodes, tags, machine, getMeta, toJSON, can, hasTag, matches, ...jsonValues } = this;
1907
1901
  return {
1908
1902
  ...jsonValues,
1909
1903
  tags: Array.from(tags)
@@ -1975,7 +1969,7 @@ function persistContext(contextPart) {
1975
1969
  if (value && typeof value === "object") if ("sessionId" in value && "send" in value && "ref" in value) {
1976
1970
  copy ??= Array.isArray(contextPart) ? contextPart.slice() : { ...contextPart };
1977
1971
  copy[key] = {
1978
- xstate$$type: $$ACTOR_TYPE,
1972
+ xstate$$type: 1,
1979
1973
  id: value.id
1980
1974
  };
1981
1975
  } else {
@@ -2012,8 +2006,8 @@ function executeRaise(actorScope, params) {
2012
2006
  const { event, delay, id } = params;
2013
2007
  if (typeof delay === "number") {
2014
2008
  actorScope.defer(() => {
2015
- const self$1 = actorScope.self;
2016
- actorScope.system.scheduler.schedule(self$1, self$1, event, delay, id);
2009
+ const self = actorScope.self;
2010
+ actorScope.system.scheduler.schedule(self, self, event, delay, id);
2017
2011
  });
2018
2012
  return;
2019
2013
  }
@@ -2025,480 +2019,15 @@ function executeRaise(actorScope, params) {
2025
2019
  * @param eventType The event to raise.
2026
2020
  */
2027
2021
  function raise(eventOrExpr, options) {
2028
- function raise$1(_args, _params) {}
2029
- raise$1.type = "xstate.raise";
2030
- raise$1.event = eventOrExpr;
2031
- raise$1.id = options?.id;
2032
- raise$1.delay = options?.delay;
2033
- raise$1.resolve = resolveRaise;
2034
- raise$1.execute = executeRaise;
2035
- return raise$1;
2036
- }
2037
-
2038
- //#endregion
2039
- //#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/actors/dist/xstate-actors.esm.js
2040
- /**
2041
- * Represents an actor created by `fromTransition`.
2042
- *
2043
- * The type of `self` within the actor's logic.
2044
- *
2045
- * @example
2046
- *
2047
- * ```ts
2048
- * import {
2049
- * fromTransition,
2050
- * createActor,
2051
- * type AnyActorSystem
2052
- * } from 'xstate';
2053
- *
2054
- * //* The actor's stored context.
2055
- * type Context = {
2056
- * // The current count.
2057
- * count: number;
2058
- * // The amount to increase `count` by.
2059
- * step: number;
2060
- * };
2061
- * // The events the actor receives.
2062
- * type Event = { type: 'increment' };
2063
- * // The actor's input.
2064
- * type Input = { step?: number };
2065
- *
2066
- * // Actor logic that increments `count` by `step` when it receives an event of
2067
- * // type `increment`.
2068
- * const logic = fromTransition<Context, Event, AnyActorSystem, Input>(
2069
- * (state, event, actorScope) => {
2070
- * actorScope.self;
2071
- * // ^? TransitionActorRef<Context, Event>
2072
- *
2073
- * if (event.type === 'increment') {
2074
- * return {
2075
- * ...state,
2076
- * count: state.count + state.step
2077
- * };
2078
- * }
2079
- * return state;
2080
- * },
2081
- * ({ input, self }) => {
2082
- * self;
2083
- * // ^? TransitionActorRef<Context, Event>
2084
- *
2085
- * return {
2086
- * count: 0,
2087
- * step: input.step ?? 1
2088
- * };
2089
- * }
2090
- * );
2091
- *
2092
- * const actor = createActor(logic, { input: { step: 10 } });
2093
- * // ^? TransitionActorRef<Context, Event>
2094
- * ```
2095
- *
2096
- * @see {@link fromTransition}
2097
- */
2098
- /**
2099
- * Returns actor logic given a transition function and its initial state.
2100
- *
2101
- * A “transition function” is a function that takes the current `state` and
2102
- * received `event` object as arguments, and returns the next state, similar to
2103
- * a reducer.
2104
- *
2105
- * Actors created from transition logic (“transition actors”) can:
2106
- *
2107
- * - Receive events
2108
- * - Emit snapshots of its state
2109
- *
2110
- * The transition function’s `state` is used as its transition actor’s
2111
- * `context`.
2112
- *
2113
- * Note that the "state" for a transition function is provided by the initial
2114
- * state argument, and is not the same as the State object of an actor or a
2115
- * state within a machine configuration.
2116
- *
2117
- * @example
2118
- *
2119
- * ```ts
2120
- * const transitionLogic = fromTransition(
2121
- * (state, event) => {
2122
- * if (event.type === 'increment') {
2123
- * return {
2124
- * ...state,
2125
- * count: state.count + 1
2126
- * };
2127
- * }
2128
- * return state;
2129
- * },
2130
- * { count: 0 }
2131
- * );
2132
- *
2133
- * const transitionActor = createActor(transitionLogic);
2134
- * transitionActor.subscribe((snapshot) => {
2135
- * console.log(snapshot);
2136
- * });
2137
- * transitionActor.start();
2138
- * // => {
2139
- * // status: 'active',
2140
- * // context: { count: 0 },
2141
- * // ...
2142
- * // }
2143
- *
2144
- * transitionActor.send({ type: 'increment' });
2145
- * // => {
2146
- * // status: 'active',
2147
- * // context: { count: 1 },
2148
- * // ...
2149
- * // }
2150
- * ```
2151
- *
2152
- * @param transition The transition function used to describe the transition
2153
- * logic. It should return the next state given the current state and event.
2154
- * It receives the following arguments:
2155
- *
2156
- * - `state` - the current state.
2157
- * - `event` - the received event.
2158
- * - `actorScope` - the actor scope object, with properties like `self` and
2159
- * `system`.
2160
- *
2161
- * @param initialContext The initial state of the transition function, either an
2162
- * object representing the state, or a function which returns a state object.
2163
- * If a function, it will receive as its only argument an object with the
2164
- * following properties:
2165
- *
2166
- * - `input` - the `input` provided to its parent transition actor.
2167
- * - `self` - a reference to its parent transition actor.
2168
- *
2169
- * @returns Actor logic
2170
- * @see {@link https://stately.ai/docs/input | Input docs} for more information about how input is passed
2171
- */
2172
- function fromTransition(transition, initialContext) {
2173
- return {
2174
- config: transition,
2175
- transition: (snapshot, event, actorScope) => {
2176
- return {
2177
- ...snapshot,
2178
- context: transition(snapshot.context, event, actorScope)
2179
- };
2180
- },
2181
- getInitialSnapshot: (_, input) => {
2182
- return {
2183
- status: "active",
2184
- output: void 0,
2185
- error: void 0,
2186
- context: typeof initialContext === "function" ? initialContext({ input }) : initialContext
2187
- };
2188
- },
2189
- getPersistedSnapshot: (snapshot) => snapshot,
2190
- restoreSnapshot: (snapshot) => snapshot
2191
- };
2192
- }
2193
- const instanceStates = /* @__PURE__ */ new WeakMap();
2194
- /**
2195
- * Represents an actor created by `fromCallback`.
2196
- *
2197
- * The type of `self` within the actor's logic.
2198
- *
2199
- * @example
2200
- *
2201
- * ```ts
2202
- * import { fromCallback, createActor } from 'xstate';
2203
- *
2204
- * // The events the actor receives.
2205
- * type Event = { type: 'someEvent' };
2206
- * // The actor's input.
2207
- * type Input = { name: string };
2208
- *
2209
- * // Actor logic that logs whenever it receives an event of type `someEvent`.
2210
- * const logic = fromCallback<Event, Input>(({ self, input, receive }) => {
2211
- * self;
2212
- * // ^? CallbackActorRef<Event, Input>
2213
- *
2214
- * receive((event) => {
2215
- * if (event.type === 'someEvent') {
2216
- * console.log(`${input.name}: received "someEvent" event`);
2217
- * // logs 'myActor: received "someEvent" event'
2218
- * }
2219
- * });
2220
- * });
2221
- *
2222
- * const actor = createActor(logic, { input: { name: 'myActor' } });
2223
- * // ^? CallbackActorRef<Event, Input>
2224
- * ```
2225
- *
2226
- * @see {@link fromCallback}
2227
- */
2228
- /**
2229
- * An actor logic creator which returns callback logic as defined by a callback
2230
- * function.
2231
- *
2232
- * @remarks
2233
- * Useful for subscription-based or other free-form logic that can send events
2234
- * back to the parent actor.
2235
- *
2236
- * Actors created from callback logic (“callback actors”) can:
2237
- *
2238
- * - Receive events via the `receive` function
2239
- * - Send events to the parent actor via the `sendBack` function
2240
- *
2241
- * Callback actors are a bit different from other actors in that they:
2242
- *
2243
- * - Do not work with `onDone`
2244
- * - Do not produce a snapshot using `.getSnapshot()`
2245
- * - Do not emit values when used with `.subscribe()`
2246
- * - Can not be stopped with `.stop()`
2247
- *
2248
- * @example
2249
- *
2250
- * ```typescript
2251
- * const callbackLogic = fromCallback(({ sendBack, receive }) => {
2252
- * let lockStatus = 'unlocked';
2253
- *
2254
- * const handler = (event) => {
2255
- * if (lockStatus === 'locked') {
2256
- * return;
2257
- * }
2258
- * sendBack(event);
2259
- * };
2260
- *
2261
- * receive((event) => {
2262
- * if (event.type === 'lock') {
2263
- * lockStatus = 'locked';
2264
- * } else if (event.type === 'unlock') {
2265
- * lockStatus = 'unlocked';
2266
- * }
2267
- * });
2268
- *
2269
- * document.body.addEventListener('click', handler);
2270
- *
2271
- * return () => {
2272
- * document.body.removeEventListener('click', handler);
2273
- * };
2274
- * });
2275
- * ```
2276
- *
2277
- * @param callback - The callback function used to describe the callback logic
2278
- * The callback function is passed an object with the following properties:
2279
- *
2280
- * - `receive` - A function that can send events back to the parent actor; the
2281
- * listener is then called whenever events are received by the callback
2282
- * actor
2283
- * - `sendBack` - A function that can send events back to the parent actor
2284
- * - `input` - Data that was provided to the callback actor
2285
- * - `self` - The parent actor of the callback actor
2286
- * - `system` - The actor system to which the callback actor belongs The callback
2287
- * function can (optionally) return a cleanup function, which is called
2288
- * when the actor is stopped.
2289
- *
2290
- * @returns Callback logic
2291
- * @see {@link CallbackLogicFunction} for more information about the callback function and its object argument
2292
- * @see {@link https://stately.ai/docs/input | Input docs} for more information about how input is passed
2293
- */
2294
- function fromCallback(callback) {
2295
- return {
2296
- config: callback,
2297
- start: (state, actorScope) => {
2298
- const { self: self$1, system, emit: emit$1 } = actorScope;
2299
- const callbackState = {
2300
- receivers: void 0,
2301
- dispose: void 0
2302
- };
2303
- instanceStates.set(self$1, callbackState);
2304
- callbackState.dispose = callback({
2305
- input: state.input,
2306
- system,
2307
- self: self$1,
2308
- sendBack: (event) => {
2309
- if (self$1.getSnapshot().status === "stopped") return;
2310
- if (self$1._parent) system._relay(self$1, self$1._parent, event);
2311
- },
2312
- receive: (listener) => {
2313
- callbackState.receivers ??= /* @__PURE__ */ new Set();
2314
- callbackState.receivers.add(listener);
2315
- },
2316
- emit: emit$1
2317
- });
2318
- },
2319
- transition: (state, event, actorScope) => {
2320
- const callbackState = instanceStates.get(actorScope.self);
2321
- if (event.type === XSTATE_STOP) {
2322
- state = {
2323
- ...state,
2324
- status: "stopped",
2325
- error: void 0
2326
- };
2327
- callbackState.dispose?.();
2328
- return state;
2329
- }
2330
- callbackState.receivers?.forEach((receiver) => receiver(event));
2331
- return state;
2332
- },
2333
- getInitialSnapshot: (_, input) => {
2334
- return {
2335
- status: "active",
2336
- output: void 0,
2337
- error: void 0,
2338
- input
2339
- };
2340
- },
2341
- getPersistedSnapshot: (snapshot) => snapshot,
2342
- restoreSnapshot: (snapshot) => snapshot
2343
- };
2022
+ function raise(_args, _params) {}
2023
+ raise.type = "xstate.raise";
2024
+ raise.event = eventOrExpr;
2025
+ raise.id = options?.id;
2026
+ raise.delay = options?.delay;
2027
+ raise.resolve = resolveRaise;
2028
+ raise.execute = executeRaise;
2029
+ return raise;
2344
2030
  }
2345
- const XSTATE_PROMISE_RESOLVE = "xstate.promise.resolve";
2346
- const XSTATE_PROMISE_REJECT = "xstate.promise.reject";
2347
- /**
2348
- * Represents an actor created by `fromPromise`.
2349
- *
2350
- * The type of `self` within the actor's logic.
2351
- *
2352
- * @example
2353
- *
2354
- * ```ts
2355
- * import { fromPromise, createActor } from 'xstate';
2356
- *
2357
- * // The actor's resolved output
2358
- * type Output = string;
2359
- * // The actor's input.
2360
- * type Input = { message: string };
2361
- *
2362
- * // Actor logic that fetches the url of an image of a cat saying `input.message`.
2363
- * const logic = fromPromise<Output, Input>(async ({ input, self }) => {
2364
- * self;
2365
- * // ^? PromiseActorRef<Output, Input>
2366
- *
2367
- * const data = await fetch(
2368
- * `https://cataas.com/cat/says/${input.message}`
2369
- * );
2370
- * const url = await data.json();
2371
- * return url;
2372
- * });
2373
- *
2374
- * const actor = createActor(logic, { input: { message: 'hello world' } });
2375
- * // ^? PromiseActorRef<Output, Input>
2376
- * ```
2377
- *
2378
- * @see {@link fromPromise}
2379
- */
2380
- const controllerMap = /* @__PURE__ */ new WeakMap();
2381
- /**
2382
- * An actor logic creator which returns promise logic as defined by an async
2383
- * process that resolves or rejects after some time.
2384
- *
2385
- * Actors created from promise actor logic (“promise actors”) can:
2386
- *
2387
- * - Emit the resolved value of the promise
2388
- * - Output the resolved value of the promise
2389
- *
2390
- * Sending events to promise actors will have no effect.
2391
- *
2392
- * @example
2393
- *
2394
- * ```ts
2395
- * const promiseLogic = fromPromise(async () => {
2396
- * const result = await fetch('https://example.com/...').then((data) =>
2397
- * data.json()
2398
- * );
2399
- *
2400
- * return result;
2401
- * });
2402
- *
2403
- * const promiseActor = createActor(promiseLogic);
2404
- * promiseActor.subscribe((snapshot) => {
2405
- * console.log(snapshot);
2406
- * });
2407
- * promiseActor.start();
2408
- * // => {
2409
- * // output: undefined,
2410
- * // status: 'active'
2411
- * // ...
2412
- * // }
2413
- *
2414
- * // After promise resolves
2415
- * // => {
2416
- * // output: { ... },
2417
- * // status: 'done',
2418
- * // ...
2419
- * // }
2420
- * ```
2421
- *
2422
- * @param promiseCreator A function which returns a Promise, and accepts an
2423
- * object with the following properties:
2424
- *
2425
- * - `input` - Data that was provided to the promise actor
2426
- * - `self` - The parent actor of the promise actor
2427
- * - `system` - The actor system to which the promise actor belongs
2428
- *
2429
- * @see {@link https://stately.ai/docs/input | Input docs} for more information about how input is passed
2430
- */
2431
- function fromPromise(promiseCreator) {
2432
- return {
2433
- config: promiseCreator,
2434
- transition: (state, event, scope) => {
2435
- if (state.status !== "active") return state;
2436
- switch (event.type) {
2437
- case XSTATE_PROMISE_RESOLVE: {
2438
- const resolvedValue = event.data;
2439
- return {
2440
- ...state,
2441
- status: "done",
2442
- output: resolvedValue,
2443
- input: void 0
2444
- };
2445
- }
2446
- case XSTATE_PROMISE_REJECT: return {
2447
- ...state,
2448
- status: "error",
2449
- error: event.data,
2450
- input: void 0
2451
- };
2452
- case XSTATE_STOP:
2453
- controllerMap.get(scope.self)?.abort();
2454
- return {
2455
- ...state,
2456
- status: "stopped",
2457
- input: void 0
2458
- };
2459
- default: return state;
2460
- }
2461
- },
2462
- start: (state, { self: self$1, system, emit: emit$1 }) => {
2463
- if (state.status !== "active") return;
2464
- const controller = new AbortController();
2465
- controllerMap.set(self$1, controller);
2466
- Promise.resolve(promiseCreator({
2467
- input: state.input,
2468
- system,
2469
- self: self$1,
2470
- signal: controller.signal,
2471
- emit: emit$1
2472
- })).then((response) => {
2473
- if (self$1.getSnapshot().status !== "active") return;
2474
- controllerMap.delete(self$1);
2475
- system._relay(self$1, self$1, {
2476
- type: XSTATE_PROMISE_RESOLVE,
2477
- data: response
2478
- });
2479
- }, (errorData) => {
2480
- if (self$1.getSnapshot().status !== "active") return;
2481
- controllerMap.delete(self$1);
2482
- system._relay(self$1, self$1, {
2483
- type: XSTATE_PROMISE_REJECT,
2484
- data: errorData
2485
- });
2486
- });
2487
- },
2488
- getInitialSnapshot: (_, input) => {
2489
- return {
2490
- status: "active",
2491
- output: void 0,
2492
- error: void 0,
2493
- input
2494
- };
2495
- },
2496
- getPersistedSnapshot: (snapshot) => snapshot,
2497
- restoreSnapshot: (snapshot) => snapshot
2498
- };
2499
- }
2500
- const emptyLogic = fromTransition((_) => void 0, void 0);
2501
-
2502
2031
  //#endregion
2503
2032
  //#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dist/assign-ab9cc19e.esm.js
2504
2033
  function createSpawner(actorScope, { machine, context }, event, spawnedChildren) {
@@ -2602,13 +2131,12 @@ function resolveAssign(actorScope, snapshot, actionArgs, actionParams, { assignm
2602
2131
  * update.
2603
2132
  */
2604
2133
  function assign(assignment) {
2605
- function assign$1(_args, _params) {}
2606
- assign$1.type = "xstate.assign";
2607
- assign$1.assignment = assignment;
2608
- assign$1.resolve = resolveAssign;
2609
- return assign$1;
2134
+ function assign(_args, _params) {}
2135
+ assign.type = "xstate.assign";
2136
+ assign.assignment = assignment;
2137
+ assign.resolve = resolveAssign;
2138
+ return assign;
2610
2139
  }
2611
-
2612
2140
  //#endregion
2613
2141
  //#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dist/StateMachine-37bc3882.esm.js
2614
2142
  const cache = /* @__PURE__ */ new WeakMap();
@@ -2691,7 +2219,7 @@ var StateNode = class StateNode {
2691
2219
  this.key = options._key;
2692
2220
  this.machine = options._machine;
2693
2221
  this.path = this.parent ? this.parent.path.concat(this.key) : [];
2694
- this.id = this.config.id || [this.machine.id, ...this.path].join(STATE_DELIMITER);
2222
+ this.id = this.config.id || [this.machine.id, ...this.path].join(".");
2695
2223
  this.type = this.config.type || (this.config.states && Object.keys(this.config.states).length ? "compound" : this.config.history ? "history" : "atomic");
2696
2224
  this.description = this.config.description;
2697
2225
  this.order = this.machine.idMap.size;
@@ -2714,7 +2242,7 @@ var StateNode = class StateNode {
2714
2242
  /** @internal */
2715
2243
  _initialize() {
2716
2244
  this.transitions = formatTransitions(this);
2717
- if (this.config.always) this.always = toTransitionConfigArray(this.config.always).map((t) => formatTransition(this, NULL_EVENT, t));
2245
+ if (this.config.always) this.always = toTransitionConfigArray(this.config.always).map((t) => formatTransition(this, "", t));
2718
2246
  Object.keys(this.states).forEach((key) => {
2719
2247
  this.states[key]._initialize();
2720
2248
  });
@@ -2788,7 +2316,7 @@ var StateNode = class StateNode {
2788
2316
  /** The mapping of events to transitions. */
2789
2317
  get on() {
2790
2318
  return memo(this, "on", () => {
2791
- return [...this.transitions].flatMap(([descriptor, t]) => t.map((t$1) => [descriptor, t$1])).reduce((map, [descriptor, transition]) => {
2319
+ return [...this.transitions].flatMap(([descriptor, t]) => t.map((t) => [descriptor, t])).reduce((map, [descriptor, transition]) => {
2792
2320
  map[descriptor] = map[descriptor] || [];
2793
2321
  map[descriptor].push(transition);
2794
2322
  return map;
@@ -2963,10 +2491,10 @@ var StateMachine = class StateMachine {
2963
2491
  status: "active"
2964
2492
  }, this);
2965
2493
  if (typeof context === "function") {
2966
- const assignment = ({ spawn, event, self: self$1 }) => context({
2494
+ const assignment = ({ spawn, event, self }) => context({
2967
2495
  spawn,
2968
2496
  input: event.input,
2969
- self: self$1
2497
+ self
2970
2498
  });
2971
2499
  return resolveActionsAndContext(preInitial, initEvent, actorScope, [assign(assignment)], internalQueue, void 0);
2972
2500
  }
@@ -3021,7 +2549,7 @@ var StateMachine = class StateMachine {
3021
2549
  const src = actorData.src;
3022
2550
  const logic = typeof src === "string" ? resolveReferencedActor(this, src) : src;
3023
2551
  if (!logic) return;
3024
- children[actorId] = createActor(logic, {
2552
+ const actorRef = createActor(logic, {
3025
2553
  id: actorId,
3026
2554
  parent: _actorScope.self,
3027
2555
  syncSnapshot: actorData.syncSnapshot,
@@ -3029,6 +2557,7 @@ var StateMachine = class StateMachine {
3029
2557
  src,
3030
2558
  systemId: actorData.systemId
3031
2559
  });
2560
+ children[actorId] = actorRef;
3032
2561
  });
3033
2562
  function resolveHistoryReferencedState(root, referenced) {
3034
2563
  if (referenced instanceof StateNode) return referenced;
@@ -3058,17 +2587,17 @@ var StateMachine = class StateMachine {
3058
2587
  historyValue: revivedHistoryValue
3059
2588
  }, this);
3060
2589
  const seen = /* @__PURE__ */ new Set();
3061
- function reviveContext(contextPart, children$1) {
2590
+ function reviveContext(contextPart, children) {
3062
2591
  if (seen.has(contextPart)) return;
3063
2592
  seen.add(contextPart);
3064
2593
  for (const key in contextPart) {
3065
2594
  const value = contextPart[key];
3066
2595
  if (value && typeof value === "object") {
3067
- if ("xstate$$type" in value && value.xstate$$type === $$ACTOR_TYPE) {
3068
- contextPart[key] = children$1[value.id];
2596
+ if ("xstate$$type" in value && value.xstate$$type === 1) {
2597
+ contextPart[key] = children[value.id];
3069
2598
  continue;
3070
2599
  }
3071
- reviveContext(value, children$1);
2600
+ reviveContext(value, children);
3072
2601
  }
3073
2602
  }
3074
2603
  }
@@ -3076,7 +2605,6 @@ var StateMachine = class StateMachine {
3076
2605
  return restoredSnapshot;
3077
2606
  }
3078
2607
  };
3079
-
3080
2608
  //#endregion
3081
2609
  //#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dist/log-7cbae384.esm.js
3082
2610
  function resolveEmit(_, snapshot, args, actionParams, { event: eventOrExpr }) {
@@ -3126,12 +2654,12 @@ function executeEmit(actorScope, { event }) {
3126
2654
  * ```
3127
2655
  */
3128
2656
  function emit(eventOrExpr) {
3129
- function emit$1(_args, _params) {}
3130
- emit$1.type = "xstate.emit";
3131
- emit$1.event = eventOrExpr;
3132
- emit$1.resolve = resolveEmit;
3133
- emit$1.execute = executeEmit;
3134
- return emit$1;
2657
+ function emit(_args, _params) {}
2658
+ emit.type = "xstate.emit";
2659
+ emit.event = eventOrExpr;
2660
+ emit.resolve = resolveEmit;
2661
+ emit.execute = executeEmit;
2662
+ return emit;
3135
2663
  }
3136
2664
  /**
3137
2665
  * @remarks
@@ -3162,10 +2690,10 @@ function emit(eventOrExpr) {
3162
2690
  */
3163
2691
  /** @deprecated Use `AnyMachineSnapshot` instead */
3164
2692
  /** @ignore */
3165
- let SpecialTargets = /* @__PURE__ */ function(SpecialTargets$1) {
3166
- SpecialTargets$1["Parent"] = "#_parent";
3167
- SpecialTargets$1["Internal"] = "#_internal";
3168
- return SpecialTargets$1;
2693
+ let SpecialTargets = /*#__PURE__*/ function(SpecialTargets) {
2694
+ SpecialTargets["Parent"] = "#_parent";
2695
+ SpecialTargets["Internal"] = "#_internal";
2696
+ return SpecialTargets;
3169
2697
  }({});
3170
2698
  /** @deprecated Use `AnyActor` instead. */
3171
2699
  /** @deprecated Use `Actor<T>` instead. */
@@ -3218,7 +2746,7 @@ function executeSendTo(actorScope, params) {
3218
2746
  actorScope.system.scheduler.schedule(actorScope.self, to, event, delay, id);
3219
2747
  return;
3220
2748
  }
3221
- actorScope.system._relay(actorScope.self, to, event.type === XSTATE_ERROR ? createErrorActorEvent(actorScope.self.id, event.data) : event);
2749
+ actorScope.system._relay(actorScope.self, to, event.type === "xstate.error" ? createErrorActorEvent(actorScope.self.id, event.data) : event);
3222
2750
  });
3223
2751
  }
3224
2752
  /**
@@ -3233,16 +2761,16 @@ function executeSendTo(actorScope, params) {
3233
2761
  * - `delay` - The number of milliseconds to delay the sending of the event.
3234
2762
  */
3235
2763
  function sendTo(to, eventOrExpr, options) {
3236
- function sendTo$1(_args, _params) {}
3237
- sendTo$1.type = "xstate.sendTo";
3238
- sendTo$1.to = to;
3239
- sendTo$1.event = eventOrExpr;
3240
- sendTo$1.id = options?.id;
3241
- sendTo$1.delay = options?.delay;
3242
- sendTo$1.resolve = resolveSendTo;
3243
- sendTo$1.retryResolve = retryResolveSendTo;
3244
- sendTo$1.execute = executeSendTo;
3245
- return sendTo$1;
2764
+ function sendTo(_args, _params) {}
2765
+ sendTo.type = "xstate.sendTo";
2766
+ sendTo.to = to;
2767
+ sendTo.event = eventOrExpr;
2768
+ sendTo.id = options?.id;
2769
+ sendTo.delay = options?.delay;
2770
+ sendTo.resolve = resolveSendTo;
2771
+ sendTo.retryResolve = retryResolveSendTo;
2772
+ sendTo.execute = executeSendTo;
2773
+ return sendTo;
3246
2774
  }
3247
2775
  /**
3248
2776
  * Sends an event to this machine's parent.
@@ -3255,32 +2783,32 @@ function sendParent(event, options) {
3255
2783
  }
3256
2784
  function resolveEnqueueActions(actorScope, snapshot, args, actionParams, { collect }) {
3257
2785
  const actions = [];
3258
- const enqueue = function enqueue$1(action) {
2786
+ const enqueue = function enqueue(action) {
3259
2787
  actions.push(action);
3260
2788
  };
3261
- enqueue.assign = (...args$1) => {
3262
- actions.push(assign(...args$1));
2789
+ enqueue.assign = (...args) => {
2790
+ actions.push(assign(...args));
3263
2791
  };
3264
- enqueue.cancel = (...args$1) => {
3265
- actions.push(cancel(...args$1));
2792
+ enqueue.cancel = (...args) => {
2793
+ actions.push(cancel(...args));
3266
2794
  };
3267
- enqueue.raise = (...args$1) => {
3268
- actions.push(raise(...args$1));
2795
+ enqueue.raise = (...args) => {
2796
+ actions.push(raise(...args));
3269
2797
  };
3270
- enqueue.sendTo = (...args$1) => {
3271
- actions.push(sendTo(...args$1));
2798
+ enqueue.sendTo = (...args) => {
2799
+ actions.push(sendTo(...args));
3272
2800
  };
3273
- enqueue.sendParent = (...args$1) => {
3274
- actions.push(sendParent(...args$1));
2801
+ enqueue.sendParent = (...args) => {
2802
+ actions.push(sendParent(...args));
3275
2803
  };
3276
- enqueue.spawnChild = (...args$1) => {
3277
- actions.push(spawnChild(...args$1));
2804
+ enqueue.spawnChild = (...args) => {
2805
+ actions.push(spawnChild(...args));
3278
2806
  };
3279
- enqueue.stopChild = (...args$1) => {
3280
- actions.push(stopChild(...args$1));
2807
+ enqueue.stopChild = (...args) => {
2808
+ actions.push(stopChild(...args));
3281
2809
  };
3282
- enqueue.emit = (...args$1) => {
3283
- actions.push(emit(...args$1));
2810
+ enqueue.emit = (...args) => {
2811
+ actions.push(emit(...args));
3284
2812
  };
3285
2813
  collect({
3286
2814
  context: args.context,
@@ -3319,11 +2847,11 @@ function resolveEnqueueActions(actorScope, snapshot, args, actionParams, { colle
3319
2847
  * ```
3320
2848
  */
3321
2849
  function enqueueActions(collect) {
3322
- function enqueueActions$1(_args, _params) {}
3323
- enqueueActions$1.type = "xstate.enqueueActions";
3324
- enqueueActions$1.collect = collect;
3325
- enqueueActions$1.resolve = resolveEnqueueActions;
3326
- return enqueueActions$1;
2850
+ function enqueueActions(_args, _params) {}
2851
+ enqueueActions.type = "xstate.enqueueActions";
2852
+ enqueueActions.collect = collect;
2853
+ enqueueActions.resolve = resolveEnqueueActions;
2854
+ return enqueueActions;
3327
2855
  }
3328
2856
  function resolveLog(_, snapshot, actionArgs, actionParams, { value, label }) {
3329
2857
  return [
@@ -3352,15 +2880,14 @@ function log(value = ({ context, event }) => ({
3352
2880
  context,
3353
2881
  event
3354
2882
  }), label) {
3355
- function log$1(_args, _params) {}
3356
- log$1.type = "xstate.log";
3357
- log$1.value = value;
3358
- log$1.label = label;
3359
- log$1.resolve = resolveLog;
3360
- log$1.execute = executeLog;
3361
- return log$1;
3362
- }
3363
-
2883
+ function log(_args, _params) {}
2884
+ log.type = "xstate.log";
2885
+ log.value = value;
2886
+ log.label = label;
2887
+ log.resolve = resolveLog;
2888
+ log.execute = executeLog;
2889
+ return log;
2890
+ }
3364
2891
  //#endregion
3365
2892
  //#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dist/xstate.esm.js
3366
2893
  /**
@@ -3448,6 +2975,5 @@ function setup({ schemas, actors, actions, guards, delays }) {
3448
2975
  })
3449
2976
  };
3450
2977
  }
3451
-
3452
2978
  //#endregion
3453
- export { fromPromise as a, not as c, fromCallback as i, createManager as l, sendTo as n, and as o, assign as r, createActor as s, setup as t };
2979
+ export { and as a, createManager as c, XSTATE_STOP as i, sendTo as n, createActor as o, assign as r, not as s, setup as t };