@incodetech/core 2.4.1-agentic → 2.4.1-agentic.2
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.
- package/dist/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
- package/dist/{multipartRecordingService-DMBxHKS2.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -734
- package/dist/{FaceDetectionProvider-B83VmClw.esm.js → FaceDetectionProvider-D9PlON49.esm.js} +11 -12
- package/dist/MultipartRecordingProvider-D9mauUdS.esm.js +146 -0
- package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
- package/dist/{WasmUtilProvider-GTkoJyFY.esm.js → WasmUtilProvider-Dp2V-Uct.esm.js} +2 -2
- package/dist/WorkerEncoderRecordingProvider-B1ODYtgN.esm.js +80 -0
- package/dist/{addressSearch-41sMcnJk.esm.js → addressSearch-DzbE9Ogt.esm.js} +2 -352
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BObuHBjn.esm.js} +2 -2
- package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-Dfrd2-26.esm.js} +1 -1
- package/dist/{api-BO8JA7Pf.esm.js → api-CpP4PS4S.esm.js} +2 -0
- package/dist/{apiError-CfuIvnUy.esm.js → apiError-gNfsp99I.esm.js} +1 -1
- package/dist/{attemptCarry-BjTJ6bMQ.esm.js → attemptCarry-WOkfvFMw.esm.js} +2 -2
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DvmklBTE.esm.js → authenticationManager-BtN4CHOR.esm.js} +5 -5
- package/dist/{authenticationManager-C-cOki0Y.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
- package/dist/{authenticationStateMachine-BL2ptOA0.esm.js → authenticationStateMachine-DdcnWnBT.esm.js} +3 -3
- package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
- package/dist/{backCameraStream-C5_NNfUN.esm.js → backCameraStream-DS1oDiUq.esm.js} +10 -65
- package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-C0fRj-ID.esm.js} +1 -1
- package/dist/camera.d.ts +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-CM0fuqDC.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +1 -1
- package/dist/{connectivity-HSl0diCx.esm.js → connectivity-BCuEoQ-n.esm.js} +2 -21
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DMlSL6Ax.esm.js} +2 -2
- package/dist/{consentManager-_q9yJUku.d.ts → consentManager-bjfVXO7p.d.ts} +9 -9
- package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-DIYSMxKQ.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-BFTdiEDB.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CLgJQcx0.esm.js → curpValidationManager-DNpC3wyf.esm.js} +2 -2
- package/dist/{curpValidationManager-CXpFE-Mv.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-Bx9YhVkJ.esm.js → curpValidationStateMachine-B3iVsDyt.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-CvI-pDT3.esm.js} +2 -2
- package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-BuHtUb0y.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CiVD9wyF.esm.js} +1 -1
- package/dist/{deepsightService-twg3bXqY.esm.js → deepsightLoader-Crsj_u0c.esm.js} +34 -29
- package/dist/{desktopCameraElection-kHY2IDJi.esm.js → desktopCameraElection-BGMtYwk3.esm.js} +5 -5
- package/dist/document-capture.d.ts +3 -3
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-6tnnDkMX.d.ts → documentCaptureManager-DDfviFg0.d.ts} +25 -4
- package/dist/{documentCaptureManager-CMSC_Mhd.esm.js → documentCaptureManager-DLPqruXJ.esm.js} +3 -2
- package/dist/{documentCaptureStateMachine-BCwD5Rto.esm.js → documentCaptureStateMachine-DCvWQhFG.esm.js} +67 -26
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DU6W1e20.esm.js → dynamicFormsManager-CwqgwLa5.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-C8Z7k3vo.esm.js → dynamicFormsStateMachine-CBdnpD95.esm.js} +2 -2
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
- package/dist/{ekybManager-TGfqyjuu.esm.js → ekybManager-BVTqTHd3.esm.js} +2 -2
- package/dist/{ekybStateMachine-DBgFuEPK.esm.js → ekybStateMachine-BmZHuZE1.esm.js} +5 -3
- package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
- package/dist/ekyc.d.ts +3 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
- package/dist/{ekycManager-C2cgG2Pl.esm.js → ekycManager-DymCvmVB.esm.js} +2 -2
- package/dist/{ekycStateMachine-CuNF7z4O.esm.js → ekycStateMachine-CoFCUJ2z.esm.js} +141 -68
- package/dist/{ekycUtils-BFncpC4F.esm.js → ekycUtils-GRuMELYr.esm.js} +80 -9
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-C7pqXsRm.esm.js → electronicSignatureManager-Bt_tCIdI.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-FH_CP0cT.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
- package/dist/{emailStateMachine-Cx-uTaBV.esm.js → emailStateMachine-KgHfDNvM.esm.js} +2 -2
- package/dist/{events-CQteqXfy.esm.js → events-ggpBBaZ8.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +15 -14
- package/dist/extensibility.esm.js +36 -35
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-CBm05KnT.esm.js → faceCaptureManagerFactory-BWOB3ZeZ.esm.js} +4 -4
- package/dist/{faceCaptureManagerFactory-C-xKdj-d.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +3 -3
- package/dist/{faceCaptureSetup-BQjCbL51.esm.js → faceCaptureSetup-D0w1UBlO.esm.js} +12 -403
- package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-D2xKPjjQ.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-CUvwiQi9.esm.js} +2 -2
- package/dist/{feature-management-DjAG5lsJ.esm.js → feature-management-DBh1nqp8.esm.js} +35 -21
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DgDbEeFZ.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-Be-r4oZj.esm.js → fiscalQrManager-BZeklojR.esm.js} +3 -3
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +8 -8
- package/dist/flow.esm.js +10 -6
- package/dist/{flowCompletionService-ChMU2v79.esm.js → flowCompletionService-Dv7zoVWe.esm.js} +2 -2
- package/dist/{flowServices-g2tVWsJl.esm.js → flowServices-C5-oamoC.esm.js} +69 -143
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DLbvZwUB.esm.js → geolocationManager-BFTxgOZG.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CAJVongM.esm.js → geolocationStateMachine-v729Lz_0.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-CjChjZ3C.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-AEbn3Afi.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +10 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureDefaults-MSQoqScU.esm.js → idCaptureDefaults-Dszuq9ng.esm.js} +3 -3
- package/dist/{idCaptureManager-zZdTcpG1.esm.js → idCaptureManager-BVfqpIjM.esm.js} +9 -8
- package/dist/{idCaptureManager-DzTfQ1Am.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +5 -3
- package/dist/{idCaptureServices-8OHinO0N.esm.js → idCaptureServices-CwG9Xp_n.esm.js} +27 -196
- package/dist/{idCaptureStateMachine-B3G6XoDG.esm.js → idCaptureStateMachine-DUm3a_Mt.esm.js} +20 -20
- package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
- package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-xyEZNOBa.esm.js} +2 -2
- package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-DNKXh4Rn.esm.js} +1 -1
- package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-DdnvYfgN.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-DtIBCa32.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
- package/dist/{index-DEfwds5y.d.ts → index-BfSZvEHi.d.ts} +10 -2
- package/dist/{index-DMDAk85K.d.ts → index-DC0P2Vzw.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-BJ0GVHGr.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +3 -0
- package/dist/kyb-checks.esm.js +3 -0
- package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
- package/dist/kybChecksManager-D2BEaUzK.esm.js +89 -0
- package/dist/kybChecksStateMachine-Cy-MsmKZ.esm.js +718 -0
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-xx3mY-xw.d.ts → mandatoryConsentManager-B88Sm5nd.d.ts} +6 -6
- package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +1 -1
- package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
- package/dist/multipartRecordingService-BTqkHGG9.esm.js +407 -0
- package/dist/{permissionGuards-B3OPL8Si.esm.js → permissionGuards-DFV-Ws0a.esm.js} +1 -1
- package/dist/{permissionServices-DnBAN_hW.esm.js → permissionServices-D190ATGD.esm.js} +8 -6
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
- package/dist/{phoneManager-C6jut_pz.esm.js → phoneManager-Dy5tODCU.esm.js} +3 -3
- package/dist/phoneServices-DJgyOzU2.esm.js +77 -0
- package/dist/{phoneStateMachine-T1-drWfG.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +20 -60
- package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-Bst83HaS.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/recordingService-CTko6Cjn.esm.js +397 -0
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CgGaT2NP.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CbhN8uVN.esm.js} +39 -21
- package/dist/resolveForm-O7-r79VA.esm.js +351 -0
- package/dist/{runChildModule-DPHTqSdF.esm.js → runChildModule-BG46reQE.esm.js} +2 -2
- package/dist/{sdkVersion-C3_P-Qbq.esm.js → sdkVersion-DJCo6uSb.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-BL0BLMnp.esm.js → selfieErrorUtils-DNbVqz2B.esm.js} +1 -1
- package/dist/{selfieManager-Cbliomv7.esm.js → selfieManager-1_TQP4-x.esm.js} +5 -5
- package/dist/{selfieManager-BMmpUii2.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
- package/dist/{selfieStateMachine-B5m_Kn0O.esm.js → selfieStateMachine-BUnZmMRY.esm.js} +3 -3
- package/dist/{session-DAaAewMX.esm.js → session-DdnAM9fZ.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +6 -6
- package/dist/{sessionInitializer-CWFT4dfw.esm.js → sessionInitializer-CwJACl13.esm.js} +83 -24
- package/dist/{setup-D9qt8YVU.d.ts → setup-CmqnkqsR.d.ts} +1 -1
- package/dist/{setup-CDAKwTr7.esm.js → setup-D26WdmvA.esm.js} +28 -27
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-CwqjcxPg.esm.js} +2 -2
- package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-DBVDd1Eu.esm.js} +1 -1
- package/dist/{stats-BpMz-hTP.esm.js → stats-CatA2dea.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/textRules-D4NRinKY.d.ts +41 -0
- package/dist/{tri-BajQnjbf.esm.js → tri-C9SvtzuQ.esm.js} +24 -3
- package/dist/tri.d.ts +2 -2
- package/dist/{tri.esm-CzTNi5Q_.esm.js → tri.esm-DgTlfPhR.esm.js} +167 -155
- package/dist/tri.esm.js +2 -2
- package/dist/{trueSightService-BujtUIW6.esm.js → trueSightService-OZl8wQu7.esm.js} +4 -4
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types--3HDl2SF.d.ts → types-BEVHQbbC.d.ts} +1 -1
- package/dist/{types-xEEWCx1j.d.ts → types-BPm1JSu7.d.ts} +1 -1
- package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
- package/dist/{types-DuD8TRJU.d.ts → types-CRaFu6wS.d.ts} +4 -2
- package/dist/types-CTaL0XJz.d.ts +80 -0
- package/dist/{types-PTZHRhGX.d.ts → types-Cd0J0F9D.d.ts} +1 -1
- package/dist/{types-e8fCsvvk.d.ts → types-Csh8vzPo.d.ts} +1 -1
- package/dist/{types-B2FK_wYb.d.ts → types-CuMJ2M7D.d.ts} +2 -41
- package/dist/{types-ZTZelfbM.d.ts → types-CyNndVAT.d.ts} +14 -6
- package/dist/types-J6g6iKe_.d.ts +6 -0
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +9 -7
- package/dist/{videoSelfieCameraWarmer-DjkPpoj_.esm.js → videoSelfieCameraWarmer-Bhi70pSN.esm.js} +8 -8
- package/dist/{videoSelfieStepDetector-RfSmlFFW.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +2 -2
- package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
- package/dist/{warmup-BkfxQZsC.esm.js → warmup-DtB0DJpl.esm.js} +24 -17
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-BhU5H2oR.esm.js → wasmDsFlagSync-BtiR5pig.esm.js} +1 -1
- package/dist/{wasmWebClient-DTj9auyA.esm.js → wasmWebClient-BDrax6Eu.esm.js} +12 -9
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-DqUpAEj_.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-DdaPl2PS.esm.js} +1 -1
- package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-CdpXzT4B.esm.js} +2 -2
- package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-ofHW_lPk.esm.js} +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +42 -42
- package/package.json +13 -7
- package/dist/deepsightLoader-DMxtowCm.esm.js +0 -33
- package/dist/types-D9r3zRfY.d.ts +0 -6
|
@@ -199,17 +199,17 @@ function I(t, n) {
|
|
|
199
199
|
e.warn("utils", "safeSync swallowed error:", t);
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
async function
|
|
202
|
+
async function A(t) {
|
|
203
203
|
try {
|
|
204
204
|
return await t();
|
|
205
205
|
} catch (t) {
|
|
206
206
|
e.warn("utils", "safeAsync swallowed error:", t);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function E(t) {
|
|
210
210
|
return (e) => I(() => t(e));
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function _(t) {
|
|
213
213
|
return (...n) => {
|
|
214
214
|
try {
|
|
215
215
|
t(...n);
|
|
@@ -219,7 +219,7 @@ function A(t) {
|
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
221
|
function D(t, e) {
|
|
222
|
-
return S(
|
|
222
|
+
return S(_(t), e);
|
|
223
223
|
}
|
|
224
224
|
function C(t) {
|
|
225
225
|
if (null !== t) try {
|
|
@@ -277,10 +277,10 @@ function $(t, e) {
|
|
|
277
277
|
function H() {}
|
|
278
278
|
const F = 2e3;
|
|
279
279
|
const U = /* @__PURE__ */ new WeakMap();
|
|
280
|
-
let
|
|
281
|
-
function
|
|
280
|
+
let O = 0;
|
|
281
|
+
function B(t) {
|
|
282
282
|
let e = U.get(t);
|
|
283
|
-
return void 0 === e && (e = ++
|
|
283
|
+
return void 0 === e && (e = ++O, U.set(t, e)), e;
|
|
284
284
|
}
|
|
285
285
|
const j = {
|
|
286
286
|
focusin: "in",
|
|
@@ -289,7 +289,7 @@ const j = {
|
|
|
289
289
|
function N(t) {
|
|
290
290
|
const e = t instanceof HTMLInputElement && ("checkbox" === t.type || "radio" === t.type);
|
|
291
291
|
return {
|
|
292
|
-
elementId:
|
|
292
|
+
elementId: B(t),
|
|
293
293
|
tagName: t.tagName.toLowerCase(),
|
|
294
294
|
type: t.type,
|
|
295
295
|
valueLength: t.value.length,
|
|
@@ -512,9 +512,9 @@ const xt = [];
|
|
|
512
512
|
const St = /* @__PURE__ */ new Map();
|
|
513
513
|
let Mt = 0;
|
|
514
514
|
let It = 0;
|
|
515
|
-
const
|
|
516
|
-
let
|
|
517
|
-
function
|
|
515
|
+
const At = [];
|
|
516
|
+
let Et = !1;
|
|
517
|
+
function _t(t) {
|
|
518
518
|
const e = performance.now(), n = Mt > 0 ? e - Mt : 0;
|
|
519
519
|
(n > 500 || 0 === Mt) && It++, Mt = e, St.set(t.code, e);
|
|
520
520
|
const i = "Backspace" === t.key || "Delete" === t.key, o = (/* @__PURE__ */ new Set([
|
|
@@ -559,7 +559,7 @@ function Dt(t) {
|
|
|
559
559
|
break;
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
if (!
|
|
562
|
+
if (!Et && i > 0 && i < 300 && !(/* @__PURE__ */ new Set([
|
|
563
563
|
"Tab",
|
|
564
564
|
"Enter",
|
|
565
565
|
"Escape",
|
|
@@ -567,14 +567,14 @@ function Dt(t) {
|
|
|
567
567
|
"ArrowDown",
|
|
568
568
|
"ArrowLeft",
|
|
569
569
|
"ArrowRight"
|
|
570
|
-
])).has(t.key) && (
|
|
571
|
-
const t =
|
|
572
|
-
i < 2.5 && (
|
|
570
|
+
])).has(t.key) && (At.push(i), At.length >= 8)) {
|
|
571
|
+
const t = At.reduce((t, e) => t + e, 0) / At.length, n = At.reduce((e, n) => e + (n - t) ** 2, 0) / At.length, i = Math.sqrt(n);
|
|
572
|
+
i < 2.5 && (Et = !0, xt.push({
|
|
573
573
|
type: "keyboard",
|
|
574
574
|
t: e,
|
|
575
575
|
data: {
|
|
576
576
|
action: "hold-uniform",
|
|
577
|
-
sampleCount:
|
|
577
|
+
sampleCount: At.length,
|
|
578
578
|
stddevMs: Math.round(10 * i) / 10,
|
|
579
579
|
meanMs: Math.round(10 * t) / 10
|
|
580
580
|
}
|
|
@@ -628,29 +628,29 @@ function Ft(t) {
|
|
|
628
628
|
function Ut() {
|
|
629
629
|
return Rt.splice(0);
|
|
630
630
|
}
|
|
631
|
-
const
|
|
632
|
-
let
|
|
631
|
+
const Ot = [];
|
|
632
|
+
let Bt = 0;
|
|
633
633
|
let jt = !1;
|
|
634
634
|
let Nt = null;
|
|
635
635
|
let qt = [];
|
|
636
636
|
let Wt = 0;
|
|
637
637
|
let Xt = 0;
|
|
638
638
|
function Yt() {
|
|
639
|
-
|
|
639
|
+
Ot.push({
|
|
640
640
|
type: "page",
|
|
641
641
|
t: performance.now(),
|
|
642
642
|
data: { event: document.hidden ? "hidden" : "visible" }
|
|
643
643
|
});
|
|
644
644
|
}
|
|
645
645
|
function Jt() {
|
|
646
|
-
Zt(),
|
|
646
|
+
Zt(), Ot.push({
|
|
647
647
|
type: "page",
|
|
648
648
|
t: performance.now(),
|
|
649
649
|
data: { event: "focus" }
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
652
|
function Gt() {
|
|
653
|
-
|
|
653
|
+
Ot.push({
|
|
654
654
|
type: "page",
|
|
655
655
|
t: performance.now(),
|
|
656
656
|
data: { event: "blur" }
|
|
@@ -661,11 +661,11 @@ function Vt() {
|
|
|
661
661
|
}
|
|
662
662
|
function Zt() {
|
|
663
663
|
const t = performance.now();
|
|
664
|
-
jt && (jt = !1, Vt(),
|
|
664
|
+
jt && (jt = !1, Vt(), Ot.push({
|
|
665
665
|
type: "page",
|
|
666
666
|
t,
|
|
667
667
|
data: { event: "idle-end" }
|
|
668
|
-
})),
|
|
668
|
+
})), Bt = t;
|
|
669
669
|
}
|
|
670
670
|
function Kt() {
|
|
671
671
|
Zt();
|
|
@@ -673,7 +673,7 @@ function Kt() {
|
|
|
673
673
|
function Qt() {
|
|
674
674
|
try {
|
|
675
675
|
const t = (document.body?.innerText || "").length, e = document.querySelectorAll("input,button,a,select,textarea").length, n = document.documentElement.scrollHeight > 0 ? document.documentElement.scrollHeight / window.innerHeight : 1;
|
|
676
|
-
|
|
676
|
+
Ot.push({
|
|
677
677
|
type: "page",
|
|
678
678
|
t: performance.now(),
|
|
679
679
|
data: {
|
|
@@ -689,9 +689,9 @@ function Qt() {
|
|
|
689
689
|
function te() {
|
|
690
690
|
return function() {
|
|
691
691
|
const t = performance.now();
|
|
692
|
-
!jt &&
|
|
692
|
+
!jt && Bt > 0 && t - Bt >= 5e3 && (jt = !0, Ot.push({
|
|
693
693
|
type: "page",
|
|
694
|
-
t:
|
|
694
|
+
t: Bt + 5e3,
|
|
695
695
|
data: { event: "idle-start" }
|
|
696
696
|
}), function() {
|
|
697
697
|
if (Nt) return;
|
|
@@ -715,7 +715,7 @@ function te() {
|
|
|
715
715
|
t += r, e.push(r);
|
|
716
716
|
}
|
|
717
717
|
const n = e.filter((t) => t > 0).length;
|
|
718
|
-
|
|
718
|
+
Ot.push({
|
|
719
719
|
type: "page",
|
|
720
720
|
t: performance.now(),
|
|
721
721
|
data: {
|
|
@@ -726,7 +726,7 @@ function te() {
|
|
|
726
726
|
maxDelta: Math.round(100 * Math.max(...e)) / 100
|
|
727
727
|
}
|
|
728
728
|
});
|
|
729
|
-
} else
|
|
729
|
+
} else Ot.push({
|
|
730
730
|
type: "page",
|
|
731
731
|
t: performance.now(),
|
|
732
732
|
data: {
|
|
@@ -741,7 +741,7 @@ function te() {
|
|
|
741
741
|
}
|
|
742
742
|
}, 100);
|
|
743
743
|
}());
|
|
744
|
-
}(),
|
|
744
|
+
}(), Ot.splice(0);
|
|
745
745
|
}
|
|
746
746
|
const ee = [];
|
|
747
747
|
const ne = /* @__PURE__ */ new WeakSet();
|
|
@@ -838,19 +838,19 @@ function Ie() {
|
|
|
838
838
|
data: { action: "form-submit-no-keyboard" }
|
|
839
839
|
});
|
|
840
840
|
}
|
|
841
|
-
function
|
|
841
|
+
function Ae(t) {
|
|
842
842
|
const e = t.target;
|
|
843
843
|
if (e && Le(e) && !ye.has(e)) {
|
|
844
844
|
const t = 0 === ke, n = e.hasAttribute("autofocus"), i = performance.now() - ke;
|
|
845
845
|
ye.set(e, t || n || i <= 300 ? "tab" : "programmatic");
|
|
846
846
|
}
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function Ee(t) {
|
|
849
849
|
ke = performance.now();
|
|
850
850
|
const e = t.target;
|
|
851
851
|
e && Le(e) && ye.set(e, "mouse");
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function _e(t) {
|
|
854
854
|
"Tab" === t.key && (ke = performance.now());
|
|
855
855
|
}
|
|
856
856
|
function De() {
|
|
@@ -908,23 +908,25 @@ function Ue(t) {
|
|
|
908
908
|
}
|
|
909
909
|
})));
|
|
910
910
|
}
|
|
911
|
-
function Be(t) {
|
|
912
|
-
for (const e of t) Le(e) && (se.has(e) || se.set(e, Re(e)), Oe(e));
|
|
913
|
-
}
|
|
914
911
|
function Oe(t) {
|
|
912
|
+
for (const e of t) Le(e) && (se.has(e) || se.set(e, Re(e)), Be(e));
|
|
913
|
+
}
|
|
914
|
+
function Be(t) {
|
|
915
915
|
if (!Fe(t)) return;
|
|
916
916
|
if (t.l) return;
|
|
917
|
+
const e = t instanceof HTMLTextAreaElement ? HTMLTextAreaElement.prototype : HTMLInputElement.prototype, n = Object.getOwnPropertyDescriptor(t, "value");
|
|
918
|
+
if (n && !n.configurable) return;
|
|
919
|
+
const i = n?.get && n?.set ? n : Object.getOwnPropertyDescriptor(e, "value");
|
|
920
|
+
if (!i?.get || !i?.set) return;
|
|
917
921
|
t.l = !0;
|
|
918
|
-
const
|
|
919
|
-
if (!n?.get || !n?.set) return;
|
|
920
|
-
const i = n.get, o = n.set;
|
|
922
|
+
const o = i.get, r = i.set;
|
|
921
923
|
Object.defineProperty(t, "value", {
|
|
922
924
|
get() {
|
|
923
|
-
return
|
|
925
|
+
return o.call(this);
|
|
924
926
|
},
|
|
925
927
|
set(e) {
|
|
926
|
-
const n =
|
|
927
|
-
|
|
928
|
+
const n = o.call(this);
|
|
929
|
+
r.call(this, e), He(t) || ("" === n || "" !== e && e === n || Ue(t), "" === n && "" !== e && Ue(t));
|
|
928
930
|
},
|
|
929
931
|
configurable: !0
|
|
930
932
|
});
|
|
@@ -1206,7 +1208,7 @@ async function ln() {
|
|
|
1206
1208
|
const dn = {
|
|
1207
1209
|
pointer: {
|
|
1208
1210
|
create: function(t, e, n) {
|
|
1209
|
-
const i =
|
|
1211
|
+
const i = E((e) => {
|
|
1210
1212
|
const n = function(e) {
|
|
1211
1213
|
const n = e, i = function(t) {
|
|
1212
1214
|
if ("mouse" === t.pointerType) return {
|
|
@@ -1259,7 +1261,7 @@ const dn = {
|
|
|
1259
1261
|
pointermove: {
|
|
1260
1262
|
create: function(t) {
|
|
1261
1263
|
let e = null, n = null;
|
|
1262
|
-
const i =
|
|
1264
|
+
const i = E((n) => {
|
|
1263
1265
|
const i = n;
|
|
1264
1266
|
e && e.id !== i.pointerId && (t.push(e), e = null), e ? e.samples.ts.length >= 50 ? (t.push(e), e = o(i), r(t)) : (e.samples.x.push(i.clientX), e.samples.y.push(i.clientY), e.samples.ts.push(i.timeStamp), e.samples.movementX.push(i.movementX), e.samples.movementY.push(i.movementY), e.samples.buttons.push(i.buttons), e.samples.isTrusted.push(i.isTrusted), "pen" === i.pointerType && (e.samples.tiltX?.push(i.tiltX), e.samples.tiltY?.push(i.tiltY)), "mouse" !== i.pointerType && (e.samples.force?.push(i.pressure), e.samples.radius?.push(Math.max(i.width, i.height))), r(t)) : (e = o(i), r(t));
|
|
1265
1267
|
});
|
|
@@ -1305,7 +1307,7 @@ const dn = {
|
|
|
1305
1307
|
},
|
|
1306
1308
|
focus: {
|
|
1307
1309
|
create: function(t) {
|
|
1308
|
-
const e =
|
|
1310
|
+
const e = E((e) => {
|
|
1309
1311
|
const n = function(e) {
|
|
1310
1312
|
const n = e;
|
|
1311
1313
|
return {
|
|
@@ -1328,7 +1330,7 @@ const dn = {
|
|
|
1328
1330
|
},
|
|
1329
1331
|
input: {
|
|
1330
1332
|
create: function(t) {
|
|
1331
|
-
const e =
|
|
1333
|
+
const e = E((e) => {
|
|
1332
1334
|
const n = e;
|
|
1333
1335
|
t.push(function(e) {
|
|
1334
1336
|
return {
|
|
@@ -1395,7 +1397,7 @@ const dn = {
|
|
|
1395
1397
|
e.clear();
|
|
1396
1398
|
}
|
|
1397
1399
|
};
|
|
1398
|
-
}(), i =
|
|
1400
|
+
}(), i = E((n) => {
|
|
1399
1401
|
const i = function(n) {
|
|
1400
1402
|
const i = n, o = n.type, r = J.has(i.key);
|
|
1401
1403
|
return {
|
|
@@ -1412,7 +1414,7 @@ const dn = {
|
|
|
1412
1414
|
};
|
|
1413
1415
|
}(n);
|
|
1414
1416
|
t.push(i);
|
|
1415
|
-
}), o =
|
|
1417
|
+
}), o = E(() => {
|
|
1416
1418
|
n();
|
|
1417
1419
|
});
|
|
1418
1420
|
return T(document, "keydown", i), T(document, "keyup", i), T(window, "blur", o), () => {
|
|
@@ -1423,7 +1425,7 @@ const dn = {
|
|
|
1423
1425
|
},
|
|
1424
1426
|
clipboard: {
|
|
1425
1427
|
create: function(t, e = "on", n) {
|
|
1426
|
-
const i =
|
|
1428
|
+
const i = E((n) => {
|
|
1427
1429
|
const i = function(n) {
|
|
1428
1430
|
const i = n, o = n.type, r = ("paste" === n.type ? i.clipboardData?.getData("text/plain") : w()) ?? null, s = y(i.target, e);
|
|
1429
1431
|
return {
|
|
@@ -1452,7 +1454,7 @@ const dn = {
|
|
|
1452
1454
|
},
|
|
1453
1455
|
form: {
|
|
1454
1456
|
create: function(t, e, n) {
|
|
1455
|
-
const i = p(n, "submit"), o = p(n, "snapshot"), r =
|
|
1457
|
+
const i = p(n, "submit"), o = p(n, "snapshot"), r = E((e) => {
|
|
1456
1458
|
const n = {
|
|
1457
1459
|
name: "form",
|
|
1458
1460
|
type: (i = e).type,
|
|
@@ -1463,13 +1465,13 @@ const dn = {
|
|
|
1463
1465
|
};
|
|
1464
1466
|
var i;
|
|
1465
1467
|
t.push(n);
|
|
1466
|
-
}), s =
|
|
1468
|
+
}), s = E((e) => {
|
|
1467
1469
|
o && e.target instanceof Element && u(e, "submit", e.target), t.flush();
|
|
1468
|
-
}), a =
|
|
1470
|
+
}), a = E((e) => {
|
|
1469
1471
|
if (!(e.target instanceof Element)) return;
|
|
1470
1472
|
const n = e.target.closest(b);
|
|
1471
1473
|
n && (o && u(e, "flush", n), t.flush());
|
|
1472
|
-
}), c =
|
|
1474
|
+
}), c = E((t) => {
|
|
1473
1475
|
q(t.target) && u(t, "change", t.target);
|
|
1474
1476
|
});
|
|
1475
1477
|
function u(e, n, i) {
|
|
@@ -1494,8 +1496,8 @@ const dn = {
|
|
|
1494
1496
|
timestamp: Date.now(),
|
|
1495
1497
|
ts: t.timeStamp,
|
|
1496
1498
|
isTrusted: t.isTrusted,
|
|
1497
|
-
targetId:
|
|
1498
|
-
formId: i ?
|
|
1499
|
+
targetId: B(n),
|
|
1500
|
+
formId: i ? B(i) : null,
|
|
1499
1501
|
fields: r,
|
|
1500
1502
|
truncated: s
|
|
1501
1503
|
};
|
|
@@ -1514,7 +1516,7 @@ const dn = {
|
|
|
1514
1516
|
},
|
|
1515
1517
|
change: {
|
|
1516
1518
|
create: function(t) {
|
|
1517
|
-
const e =
|
|
1519
|
+
const e = E((e) => {
|
|
1518
1520
|
const n = (i = e, {
|
|
1519
1521
|
name: "change",
|
|
1520
1522
|
timestamp: Date.now(),
|
|
@@ -1558,7 +1560,7 @@ const dn = {
|
|
|
1558
1560
|
});
|
|
1559
1561
|
}(i, o));
|
|
1560
1562
|
}
|
|
1561
|
-
const l =
|
|
1563
|
+
const l = E((e) => {
|
|
1562
1564
|
const o = function() {
|
|
1563
1565
|
const t = document.getSelection();
|
|
1564
1566
|
return !t || t.isCollapsed || 0 === t.rangeCount;
|
|
@@ -1572,19 +1574,19 @@ const dn = {
|
|
|
1572
1574
|
}), void c();
|
|
1573
1575
|
var r;
|
|
1574
1576
|
n && o ? u("collapse", e.timeStamp) : n && c();
|
|
1575
|
-
}), d =
|
|
1577
|
+
}), d = E((t) => {
|
|
1576
1578
|
0 === t.button && (r = !0, a());
|
|
1577
|
-
}), f =
|
|
1579
|
+
}), f = E((t) => {
|
|
1578
1580
|
0 === t.button && (r = !1, n && u("pointer", t.timeStamp));
|
|
1579
|
-
}), h =
|
|
1581
|
+
}), h = E((t) => {
|
|
1580
1582
|
"Shift" === t.key && (s = !0, a());
|
|
1581
|
-
}), m =
|
|
1583
|
+
}), m = E((t) => {
|
|
1582
1584
|
"Shift" === t.key && (s = !1, n && u("keyboard", t.timeStamp));
|
|
1583
|
-
}), p =
|
|
1585
|
+
}), p = E(() => {
|
|
1584
1586
|
r = !1;
|
|
1585
|
-
}), g =
|
|
1587
|
+
}), g = E((t) => {
|
|
1586
1588
|
"hidden" === document.visibilityState && (r = !1, s = !1, n && u("timeout", t.timeStamp));
|
|
1587
|
-
}), b =
|
|
1589
|
+
}), b = E((t) => {
|
|
1588
1590
|
r = !1, n && u("pointer", t.timeStamp);
|
|
1589
1591
|
});
|
|
1590
1592
|
return T(document, "selectionchange", l), T(document, "pointerdown", d), T(document, "pointerup", f), T(document, "keydown", h), T(document, "keyup", m), T(document, "contextmenu", p), T(document, "visibilitychange", g), T(document, "dragend", b), () => {
|
|
@@ -1600,7 +1602,7 @@ const dn = {
|
|
|
1600
1602
|
},
|
|
1601
1603
|
visibility: {
|
|
1602
1604
|
create: function(t) {
|
|
1603
|
-
const e =
|
|
1605
|
+
const e = E((e) => {
|
|
1604
1606
|
const n = document.visibilityState;
|
|
1605
1607
|
if ("visible" !== n && "hidden" !== n) return;
|
|
1606
1608
|
const i = {
|
|
@@ -1624,7 +1626,7 @@ const dn = {
|
|
|
1624
1626
|
function n(n) {
|
|
1625
1627
|
t.push(n), e = n.to ?? "";
|
|
1626
1628
|
}
|
|
1627
|
-
const i =
|
|
1629
|
+
const i = E(() => {
|
|
1628
1630
|
const [e] = performance.getEntriesByType("navigation");
|
|
1629
1631
|
var i;
|
|
1630
1632
|
n(Z("load", e?.type ?? "navigate", {
|
|
@@ -1650,7 +1652,7 @@ const dn = {
|
|
|
1650
1652
|
encodedBodySize: i.encodedBodySize,
|
|
1651
1653
|
decodedBodySize: i.decodedBodySize
|
|
1652
1654
|
} : void 0));
|
|
1653
|
-
}), o =
|
|
1655
|
+
}), o = E((i) => {
|
|
1654
1656
|
const o = i;
|
|
1655
1657
|
if (null === o.navigationType) return;
|
|
1656
1658
|
const r = t.sanitizeUrl(location.href);
|
|
@@ -1658,7 +1660,7 @@ const dn = {
|
|
|
1658
1660
|
from: e,
|
|
1659
1661
|
to: r
|
|
1660
1662
|
}, performance.timeOrigin));
|
|
1661
|
-
}), r =
|
|
1663
|
+
}), r = E(() => a("traverse")), s = E(() => a("hashchange"));
|
|
1662
1664
|
function a(i) {
|
|
1663
1665
|
const o = t.sanitizeUrl(location.href);
|
|
1664
1666
|
"hashchange" === i && o === e || n(Z("change", i, {
|
|
@@ -1681,7 +1683,7 @@ const dn = {
|
|
|
1681
1683
|
},
|
|
1682
1684
|
networkconnection: {
|
|
1683
1685
|
create: function(t) {
|
|
1684
|
-
const e =
|
|
1686
|
+
const e = E((e) => {
|
|
1685
1687
|
const n = {
|
|
1686
1688
|
name: "network",
|
|
1687
1689
|
type: "connection",
|
|
@@ -1700,11 +1702,11 @@ const dn = {
|
|
|
1700
1702
|
scroll: {
|
|
1701
1703
|
create: function(t) {
|
|
1702
1704
|
let e = null, n = null;
|
|
1703
|
-
const i =
|
|
1705
|
+
const i = E((n) => {
|
|
1704
1706
|
const i = (s = n.target) instanceof Element ? s.closest("[data-tri-ignore]") ? null : s : "window";
|
|
1705
1707
|
var s;
|
|
1706
1708
|
if (null === i) return;
|
|
1707
|
-
const a = "window" === i ? "window" :
|
|
1709
|
+
const a = "window" === i ? "window" : B(i), c = "window" === i ? null : i;
|
|
1708
1710
|
e && e.target !== a && (t.push(e), e = null), e ? e.samples.ts.length >= 50 ? (t.push(e), e = o(n, a, c), r(t)) : (e.samples.x.push(window.scrollX), e.samples.y.push(window.scrollY), e.samples.ts.push(n.timeStamp), e.samples.isTrusted.push(n.isTrusted), c && (e.samples.elementX?.push(c.scrollLeft), e.samples.elementY?.push(c.scrollTop)), r(t)) : (e = o(n, a, c), r(t));
|
|
1709
1711
|
});
|
|
1710
1712
|
function o(t, e, n) {
|
|
@@ -1745,7 +1747,7 @@ const dn = {
|
|
|
1745
1747
|
viewportresize: {
|
|
1746
1748
|
create: function(t) {
|
|
1747
1749
|
let e = null, n = null;
|
|
1748
|
-
const i =
|
|
1750
|
+
const i = E((n) => e ? e.samples.ts.length >= 50 ? (t.push(e), e = o(n), void r(t)) : (e.samples.height.push(window.innerHeight), e.samples.width.push(window.innerWidth), e.samples.ts.push(n.timeStamp), e.samples.scrollX.push(window.scrollX), e.samples.scrollY.push(window.scrollY), e.samples.dpr.push(window.devicePixelRatio), e.samples.outerWidth.push(window.outerWidth), e.samples.outerHeight.push(window.outerHeight), void r(t)) : (e = o(n), void r(t)));
|
|
1749
1751
|
function o(t) {
|
|
1750
1752
|
return {
|
|
1751
1753
|
name: "viewport",
|
|
@@ -1776,10 +1778,10 @@ const dn = {
|
|
|
1776
1778
|
},
|
|
1777
1779
|
viewport: {
|
|
1778
1780
|
create: function(t, e, n) {
|
|
1779
|
-
const i =
|
|
1781
|
+
const i = E((e) => {
|
|
1780
1782
|
const n = r(e, "orientation");
|
|
1781
1783
|
t.push(n);
|
|
1782
|
-
}), o =
|
|
1784
|
+
}), o = E((e) => {
|
|
1783
1785
|
const n = r(e, "ratiochange");
|
|
1784
1786
|
t.push(n);
|
|
1785
1787
|
});
|
|
@@ -1808,14 +1810,14 @@ const dn = {
|
|
|
1808
1810
|
create: function(t, e, n) {
|
|
1809
1811
|
let i = null, o = null, r = null, s = null, a = !1;
|
|
1810
1812
|
function c() {
|
|
1811
|
-
s && C(s), s = setTimeout(
|
|
1813
|
+
s && C(s), s = setTimeout(_(() => {
|
|
1812
1814
|
u(), s = null;
|
|
1813
1815
|
}), F);
|
|
1814
1816
|
}
|
|
1815
1817
|
function u() {
|
|
1816
1818
|
i && (t.push(i), i = null), o && (t.push(o), o = null), r && (t.push(r), r = null);
|
|
1817
1819
|
}
|
|
1818
|
-
const l =
|
|
1820
|
+
const l = E((e) => {
|
|
1819
1821
|
const n = e, o = n.timeStamp, r = n.acceleration, s = n.accelerationIncludingGravity, a = n.rotationRate;
|
|
1820
1822
|
if (!r && !s && !a || null === r?.x && null === r?.y && null === r?.z && null === s?.x && null === s?.y && null === s?.z && null === a?.alpha && null === a?.beta && null === a?.gamma) return;
|
|
1821
1823
|
if (!i) return i = {
|
|
@@ -1856,7 +1858,7 @@ const dn = {
|
|
|
1856
1858
|
}, void c();
|
|
1857
1859
|
const u = i.samples;
|
|
1858
1860
|
u.ax.push(r?.x ?? 0), u.ay.push(r?.y ?? 0), u.az.push(r?.z ?? 0), u.agx.push(s?.x ?? 0), u.agy.push(s?.y ?? 0), u.agz.push(s?.z ?? 0), u.rrAlpha.push(a?.alpha ?? 0), u.rrBeta.push(a?.beta ?? 0), u.rrGamma.push(a?.gamma ?? 0), u.ts.push(o), c();
|
|
1859
|
-
}), d =
|
|
1861
|
+
}), d = E((e) => {
|
|
1860
1862
|
const n = e;
|
|
1861
1863
|
if (null == n.alpha && null == n.beta && null == n.gamma) return;
|
|
1862
1864
|
const i = n.timeStamp, r = n.webkitCompassHeading ?? 0;
|
|
@@ -1888,7 +1890,7 @@ const dn = {
|
|
|
1888
1890
|
}, void c();
|
|
1889
1891
|
const s = o.samples;
|
|
1890
1892
|
s.alpha.push(n.alpha ?? 0), s.beta.push(n.beta ?? 0), s.gamma.push(n.gamma ?? 0), s.compassHeading.push(r), s.ts.push(i), c();
|
|
1891
|
-
}), f =
|
|
1893
|
+
}), f = E((e) => {
|
|
1892
1894
|
const n = e.value;
|
|
1893
1895
|
if (null == n) return;
|
|
1894
1896
|
const i = e.timeStamp;
|
|
@@ -1997,7 +1999,7 @@ const dn = {
|
|
|
1997
1999
|
wheel: {
|
|
1998
2000
|
create: function(t) {
|
|
1999
2001
|
let e = null, n = null;
|
|
2000
|
-
const i =
|
|
2002
|
+
const i = E((n) => {
|
|
2001
2003
|
const i = n;
|
|
2002
2004
|
e ? e.samples.ts.length >= 50 ? (t.push(e), e = o(i), r(t)) : (e.samples.deltaX.push(i.deltaX), e.samples.deltaY.push(i.deltaY), e.samples.deltaZ.push(i.deltaZ), e.samples.deltaMode.push(i.deltaMode), e.samples.isTrusted.push(i.isTrusted), e.samples.ts.push(i.timeStamp), r(t)) : (e = o(i), r(t));
|
|
2003
2005
|
});
|
|
@@ -2028,10 +2030,10 @@ const dn = {
|
|
|
2028
2030
|
},
|
|
2029
2031
|
hover: {
|
|
2030
2032
|
create: function(t) {
|
|
2031
|
-
const e =
|
|
2033
|
+
const e = E((e) => {
|
|
2032
2034
|
const n = e, o = K(n.target);
|
|
2033
2035
|
o && o !== K(n.relatedTarget) && t.push(i(n, "enter", o));
|
|
2034
|
-
}), n =
|
|
2036
|
+
}), n = E((e) => {
|
|
2035
2037
|
const n = e, o = K(n.target);
|
|
2036
2038
|
o && o !== K(n.relatedTarget) && t.push(i(n, "leave", o));
|
|
2037
2039
|
});
|
|
@@ -2081,7 +2083,7 @@ const dn = {
|
|
|
2081
2083
|
}
|
|
2082
2084
|
return I(() => function(t, e) {
|
|
2083
2085
|
return !un && (un = !0, function() {
|
|
2084
|
-
|
|
2086
|
+
Bt = performance.now(), jt = !1, Ot.push({
|
|
2085
2087
|
type: "page",
|
|
2086
2088
|
t: performance.now(),
|
|
2087
2089
|
data: {
|
|
@@ -2101,7 +2103,7 @@ const dn = {
|
|
|
2101
2103
|
}), document.addEventListener("mouseleave", kt, {
|
|
2102
2104
|
passive: !0,
|
|
2103
2105
|
capture: !0
|
|
2104
|
-
}), document.addEventListener("keydown",
|
|
2106
|
+
}), document.addEventListener("keydown", _t, { passive: !0 }), document.addEventListener("keyup", Dt, { passive: !0 }), document.addEventListener("paste", Ct, { passive: !0 }), Pt = performance.now(), zt = window.scrollY, window.addEventListener("scroll", Ht, { passive: !0 }), window.addEventListener("wheel", Ft, { passive: !0 }), document.addEventListener("focus", ie, {
|
|
2105
2107
|
capture: !0,
|
|
2106
2108
|
passive: !0
|
|
2107
2109
|
}), document.addEventListener("input", ie, {
|
|
@@ -2113,16 +2115,16 @@ const dn = {
|
|
|
2113
2115
|
}), document.addEventListener("keydown", Me, {
|
|
2114
2116
|
capture: !0,
|
|
2115
2117
|
passive: !0
|
|
2116
|
-
}), document.addEventListener("keydown",
|
|
2118
|
+
}), document.addEventListener("keydown", _e, {
|
|
2117
2119
|
capture: !0,
|
|
2118
2120
|
passive: !0
|
|
2119
2121
|
}), document.addEventListener("input", Ce, {
|
|
2120
2122
|
capture: !0,
|
|
2121
2123
|
passive: !0
|
|
2122
|
-
}), document.addEventListener("focus",
|
|
2124
|
+
}), document.addEventListener("focus", Ae, {
|
|
2123
2125
|
capture: !0,
|
|
2124
2126
|
passive: !0
|
|
2125
|
-
}), document.addEventListener("mousedown",
|
|
2127
|
+
}), document.addEventListener("mousedown", Ee, {
|
|
2126
2128
|
capture: !0,
|
|
2127
2129
|
passive: !0
|
|
2128
2130
|
}), document.addEventListener("submit", Ie, {
|
|
@@ -2131,11 +2133,11 @@ const dn = {
|
|
|
2131
2133
|
}), document.addEventListener("submit", De, {
|
|
2132
2134
|
capture: !0,
|
|
2133
2135
|
passive: !0
|
|
2134
|
-
}),
|
|
2136
|
+
}), Oe(Pe()), we = new MutationObserver((t) => {
|
|
2135
2137
|
for (const e of t) for (const t of Array.from(e.addedNodes)) {
|
|
2136
2138
|
if (!(t instanceof HTMLElement)) continue;
|
|
2137
2139
|
const e = Le(t) ? [t] : [];
|
|
2138
|
-
t.querySelectorAll("input, textarea, select").forEach((t) => e.push(t)),
|
|
2140
|
+
t.querySelectorAll("input, textarea, select").forEach((t) => e.push(t)), Oe(e);
|
|
2139
2141
|
}
|
|
2140
2142
|
}), we.observe(document.body, {
|
|
2141
2143
|
subtree: !0,
|
|
@@ -2159,7 +2161,7 @@ const dn = {
|
|
|
2159
2161
|
}
|
|
2160
2162
|
}, t.getActivityId)), () => {
|
|
2161
2163
|
I(() => {
|
|
2162
|
-
un && (un = !1, document.removeEventListener("visibilitychange", Yt), window.removeEventListener("focus", Jt), window.removeEventListener("blur", Gt), document.removeEventListener("mousemove", Kt), document.removeEventListener("keydown", Kt), document.removeEventListener("scroll", Kt), document.removeEventListener("click", Kt), Vt(), jt = !1, document.removeEventListener("mousemove", yt), document.removeEventListener("click", vt), document.removeEventListener("contextmenu", gt), document.removeEventListener("mouseenter", bt, { capture: !0 }), document.removeEventListener("mouseleave", kt, { capture: !0 }), pt = null, document.removeEventListener("keydown",
|
|
2164
|
+
un && (un = !1, document.removeEventListener("visibilitychange", Yt), window.removeEventListener("focus", Jt), window.removeEventListener("blur", Gt), document.removeEventListener("mousemove", Kt), document.removeEventListener("keydown", Kt), document.removeEventListener("scroll", Kt), document.removeEventListener("click", Kt), Vt(), jt = !1, document.removeEventListener("mousemove", yt), document.removeEventListener("click", vt), document.removeEventListener("contextmenu", gt), document.removeEventListener("mouseenter", bt, { capture: !0 }), document.removeEventListener("mouseleave", kt, { capture: !0 }), pt = null, document.removeEventListener("keydown", _t), document.removeEventListener("keyup", Dt), document.removeEventListener("paste", Ct), St.clear(), window.removeEventListener("scroll", Ht), window.removeEventListener("wheel", Ft), document.removeEventListener("focus", ie, { capture: !0 }), document.removeEventListener("input", ie, { capture: !0 }), document.removeEventListener("click", ie, { capture: !0 }), document.removeEventListener("keydown", Me, !0), document.removeEventListener("keydown", _e, !0), document.removeEventListener("input", Ce, !0), document.removeEventListener("focus", Ae, !0), document.removeEventListener("mousedown", Ee, !0), document.removeEventListener("submit", Ie, !0), document.removeEventListener("submit", De, !0), we && (we.disconnect(), we = null), Ge && clearInterval(Ge), document.removeEventListener("visibilitychange", en), window.removeEventListener("beforeunload", nn), We = null, Je = null);
|
|
2163
2165
|
});
|
|
2164
2166
|
};
|
|
2165
2167
|
},
|
|
@@ -2189,14 +2191,14 @@ const dn = {
|
|
|
2189
2191
|
return e && I(() => m(e)) ? e : null;
|
|
2190
2192
|
}
|
|
2191
2193
|
L = h;
|
|
2192
|
-
const v =
|
|
2194
|
+
const v = E(() => {
|
|
2193
2195
|
"hidden" === document.visibilityState && w() && t.flush();
|
|
2194
|
-
}), g =
|
|
2196
|
+
}), g = E((e) => {
|
|
2195
2197
|
("click" !== e.type || e.target instanceof Element && e.target.closest(b)) && w() && t.flush();
|
|
2196
2198
|
});
|
|
2197
|
-
return
|
|
2199
|
+
return A(async () => {
|
|
2198
2200
|
if (await u.initialize("https://cdn.incodesmile.com/ml-wasm-kit-release/v2.14.54-pre1-fpsignals3/fpSignals/fpSignalsLib.wasm", "https://cdn.incodesmile.com/ml-wasm-kit-release/v2.14.54-pre1-fpsignals3/fpSignals/fpSignalsLibSimd.wasm"), d) return void u.freeResources();
|
|
2199
|
-
if (u.setHostInfo(t.host.platform, t.host.version), c && (u.setBehaviourCollectionEnabled(!0), f = setInterval(
|
|
2201
|
+
if (u.setHostInfo(t.host.platform, t.host.version), c && (u.setBehaviourCollectionEnabled(!0), f = setInterval(_(w), 1e4), T(document, "visibilitychange", v), T(document, "submit", g), T(document, "click", g)), !o && !s) return;
|
|
2200
2202
|
if (await u.collect(), d) return;
|
|
2201
2203
|
const e = o ? y(r.Device) : null, i = s ? y(r.PID) : null;
|
|
2202
2204
|
l({
|
|
@@ -2300,10 +2302,10 @@ const In = function(t, e = 30) {
|
|
|
2300
2302
|
const n = Mn(t);
|
|
2301
2303
|
return !n || "number" != typeof n.exp || 1e3 * n.exp <= Date.now() + 1e3 * e;
|
|
2302
2304
|
};
|
|
2303
|
-
async function
|
|
2304
|
-
return globalThis.navigator && "locks" in globalThis.navigator && "request" in globalThis.navigator.locks && "query" in globalThis.navigator.locks ? navigator.locks.request(t, { mode: "exclusive" }, async () =>
|
|
2305
|
+
async function An(t, e) {
|
|
2306
|
+
return globalThis.navigator && "locks" in globalThis.navigator && "request" in globalThis.navigator.locks && "query" in globalThis.navigator.locks ? navigator.locks.request(t, { mode: "exclusive" }, async () => A(e)) : A(e);
|
|
2305
2307
|
}
|
|
2306
|
-
function
|
|
2308
|
+
function En(t) {
|
|
2307
2309
|
function e() {
|
|
2308
2310
|
return globalThis.window && globalThis.window[t] && void 0 !== globalThis.window[t];
|
|
2309
2311
|
}
|
|
@@ -2331,8 +2333,8 @@ function _n(t) {
|
|
|
2331
2333
|
}
|
|
2332
2334
|
};
|
|
2333
2335
|
}
|
|
2334
|
-
const
|
|
2335
|
-
const Dn =
|
|
2336
|
+
const _n = En("localStorage");
|
|
2337
|
+
const Dn = En("sessionStorage");
|
|
2336
2338
|
const Cn = "__tri";
|
|
2337
2339
|
const Ln = `${Cn}_activity_token`;
|
|
2338
2340
|
const Rn = `${Cn}_activity_id`;
|
|
@@ -2364,21 +2366,21 @@ var $n = class {
|
|
|
2364
2366
|
}
|
|
2365
2367
|
}
|
|
2366
2368
|
async M() {
|
|
2367
|
-
this.T = !1, this.p = "INACTIVE", this.I(null), this.v = null, this.h && await this.context.stopActivity(), this.
|
|
2369
|
+
this.T = !1, this.p = "INACTIVE", this.I(null), this.v = null, this.h && await this.context.stopActivity(), this.A(null);
|
|
2368
2370
|
}
|
|
2369
2371
|
async refresh() {
|
|
2370
2372
|
if (!this.T) return;
|
|
2371
2373
|
const t = this.h;
|
|
2372
|
-
await
|
|
2374
|
+
await An(Pn, async () => {
|
|
2373
2375
|
if (this.h && this.h !== t && !In(this.h) && "ACTIVE" === this.p) return;
|
|
2374
|
-
const e = this.
|
|
2375
|
-
e && e.token !== t && !In(e.token) && "ACTIVE" === e.activityStatus ? this.
|
|
2376
|
+
const e = this._();
|
|
2377
|
+
e && e.token !== t && !In(e.token) && "ACTIVE" === e.activityStatus ? this.A(e) : (this.D(), await this.C());
|
|
2376
2378
|
});
|
|
2377
2379
|
}
|
|
2378
2380
|
async S() {
|
|
2379
2381
|
try {
|
|
2380
2382
|
if (this.k && await this.k, this.h && !In(this.h)) return;
|
|
2381
|
-
await
|
|
2383
|
+
await An(Pn, async () => {
|
|
2382
2384
|
await this.C();
|
|
2383
2385
|
});
|
|
2384
2386
|
} finally {
|
|
@@ -2386,20 +2388,20 @@ var $n = class {
|
|
|
2386
2388
|
}
|
|
2387
2389
|
}
|
|
2388
2390
|
async C() {
|
|
2389
|
-
const t = this.
|
|
2390
|
-
if (t && !In(t.token) && "ACTIVE" === t.activityStatus) return void this.
|
|
2391
|
+
const t = this._();
|
|
2392
|
+
if (t && !In(t.token) && "ACTIVE" === t.activityStatus) return void this.A(t);
|
|
2391
2393
|
t && this.D();
|
|
2392
2394
|
const e = await this.context.startActivity();
|
|
2393
2395
|
if (!e.ok) return;
|
|
2394
2396
|
if (!e.data.token) return;
|
|
2395
2397
|
const n = e.data;
|
|
2396
|
-
this.
|
|
2398
|
+
this.A(n), this.L(n);
|
|
2397
2399
|
}
|
|
2398
|
-
|
|
2400
|
+
_() {
|
|
2399
2401
|
const [t, e, n] = [
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2402
|
+
_n.get(Ln),
|
|
2403
|
+
_n.get(Rn),
|
|
2404
|
+
_n.get(zn)
|
|
2403
2405
|
];
|
|
2404
2406
|
return t && e && n ? {
|
|
2405
2407
|
token: t,
|
|
@@ -2408,16 +2410,16 @@ var $n = class {
|
|
|
2408
2410
|
} : ((t || e || n) && this.D(), null);
|
|
2409
2411
|
}
|
|
2410
2412
|
L(t) {
|
|
2411
|
-
|
|
2413
|
+
_n.set(Ln, t.token), _n.set(Rn, t.activityId), _n.set(zn, t.activityStatus);
|
|
2412
2414
|
}
|
|
2413
2415
|
D() {
|
|
2414
|
-
this.I(null), this.
|
|
2416
|
+
this.I(null), this.A(null);
|
|
2415
2417
|
}
|
|
2416
2418
|
I(t) {
|
|
2417
|
-
if (!t) return
|
|
2418
|
-
|
|
2419
|
+
if (!t) return _n.remove(Ln), _n.remove(Rn), void _n.remove(zn);
|
|
2420
|
+
_n.set(Ln, t.token), _n.set(Rn, t.activityId), _n.set(zn, t.activityStatus);
|
|
2419
2421
|
}
|
|
2420
|
-
|
|
2422
|
+
A(t) {
|
|
2421
2423
|
if (!t) return this.h = null, this.m = null, void (this.p = null);
|
|
2422
2424
|
this.h = t.token, this.m = t.activityId, this.p = t.activityStatus;
|
|
2423
2425
|
}
|
|
@@ -2454,14 +2456,14 @@ const Fn = Object.freeze({
|
|
|
2454
2456
|
function Un(t) {
|
|
2455
2457
|
return "pointer" === t.name && "move" === t.phase || "viewport" === t.name && "resize" === t.type ? 40 : Fn[t.name];
|
|
2456
2458
|
}
|
|
2457
|
-
const
|
|
2459
|
+
const On = Object.freeze({
|
|
2458
2460
|
tri: "/events/capture",
|
|
2459
2461
|
shinsei: "/events/capture/shinsei",
|
|
2460
2462
|
"fp-signals": "/events/capture/fp-signals"
|
|
2461
2463
|
});
|
|
2462
|
-
const
|
|
2464
|
+
const Bn = /* @__PURE__ */ new Map([["shinsei_batch", "shinsei"], ["fp_signals", "fp-signals"]]);
|
|
2463
2465
|
function jn(t) {
|
|
2464
|
-
return
|
|
2466
|
+
return Bn.get(t.name) ?? "tri";
|
|
2465
2467
|
}
|
|
2466
2468
|
const Nn = new Array(256);
|
|
2467
2469
|
for (let t = 0; t < 256; t++) Nn[t] = (t + 256).toString(16).slice(1);
|
|
@@ -2491,18 +2493,18 @@ function Vn() {
|
|
|
2491
2493
|
}
|
|
2492
2494
|
var Zn = class {
|
|
2493
2495
|
constructor(t, e) {
|
|
2494
|
-
this.R = t, this.P = e, this.$ = [], this.H = null, this.F = [], this.U = null, this.T = !1, this.
|
|
2496
|
+
this.R = t, this.P = e, this.$ = [], this.H = null, this.F = [], this.U = null, this.T = !1, this.O = !0, this.B = 0, this.j = 0, this.N = 0, this.q = t.flush.intervalMs;
|
|
2495
2497
|
}
|
|
2496
2498
|
push(t) {
|
|
2497
2499
|
if (this.T) {
|
|
2498
|
-
if (this.$.length < this.W() ? this.$.push(t) : this.X(t), this.
|
|
2500
|
+
if (this.$.length < this.W() ? this.$.push(t) : this.X(t), this.O) return this.$.length >= this.R.flush.size ? (C(this.H), this.H = null, void this.flush("capacity")) : void this.Y();
|
|
2499
2501
|
} else e.warn("Transport", "push() called before start() — event dropped");
|
|
2500
2502
|
}
|
|
2501
2503
|
flush(t) {
|
|
2502
2504
|
if (this.T && this.P.isActivityActive()) try {
|
|
2503
2505
|
if ("lifecycle" === t) return void this.J();
|
|
2504
2506
|
if (0 === this.$.length) return;
|
|
2505
|
-
if ("submit" === t && !this.
|
|
2507
|
+
if ("submit" === t && !this.O) return;
|
|
2506
2508
|
const n = "submit" === t;
|
|
2507
2509
|
for (const i of this.G(!1)) {
|
|
2508
2510
|
const o = this.V(i, t, n ? this.Z() : void 0);
|
|
@@ -2516,7 +2518,7 @@ var Zn = class {
|
|
|
2516
2518
|
}
|
|
2517
2519
|
}
|
|
2518
2520
|
start() {
|
|
2519
|
-
this.T || (this.T = !0, this.
|
|
2521
|
+
this.T || (this.T = !0, this.O = "undefined" == typeof navigator || navigator.onLine);
|
|
2520
2522
|
}
|
|
2521
2523
|
stop() {
|
|
2522
2524
|
if (!this.T) return Promise.resolve();
|
|
@@ -2526,23 +2528,23 @@ var Zn = class {
|
|
|
2526
2528
|
}
|
|
2527
2529
|
onConnectionChange() {
|
|
2528
2530
|
const t = "undefined" == typeof navigator || navigator.onLine;
|
|
2529
|
-
if (t !== this.
|
|
2530
|
-
if (this.
|
|
2531
|
+
if (t !== this.O) {
|
|
2532
|
+
if (this.O = t, !this.O) return C(this.H), this.H = null, C(this.U), void (this.U = null);
|
|
2531
2533
|
this.$.length > 0 && this.Y(), this.F.length > 0 && this.et();
|
|
2532
2534
|
}
|
|
2533
2535
|
}
|
|
2534
2536
|
Y() {
|
|
2535
|
-
this.T && this.
|
|
2537
|
+
this.T && this.O && null === this.H && (this.H = D(() => {
|
|
2536
2538
|
this.H = null, this.flush("interval");
|
|
2537
2539
|
}, this.q));
|
|
2538
2540
|
}
|
|
2539
2541
|
et() {
|
|
2540
|
-
this.T && this.
|
|
2542
|
+
this.T && this.O && null === this.U && (this.U = D(() => {
|
|
2541
2543
|
this.U = null, this.nt();
|
|
2542
2544
|
}, this.q));
|
|
2543
2545
|
}
|
|
2544
2546
|
nt() {
|
|
2545
|
-
if (!this.T || !this.
|
|
2547
|
+
if (!this.T || !this.O || 0 === this.F.length || !this.P.isActivityActive()) return;
|
|
2546
2548
|
const t = this.F.shift();
|
|
2547
2549
|
this.P.ingest(t.batch, !1).then((e) => this.it(e, t)).catch(() => {
|
|
2548
2550
|
e.warn("Transport", "retry drain ingest threw unexpectedly — batch dropped"), this.F.length > 0 && this.et();
|
|
@@ -2565,13 +2567,13 @@ var Zn = class {
|
|
|
2565
2567
|
} else this.F.length > 0 && this.et();
|
|
2566
2568
|
}
|
|
2567
2569
|
ct() {
|
|
2568
|
-
this.
|
|
2570
|
+
this.B++, this.B % this.R.flush.backoffFailureThreshold === 0 && (this.q = Math.min(2 * this.q, this.R.flush.maxIntervalMs));
|
|
2569
2571
|
}
|
|
2570
2572
|
rt() {
|
|
2571
|
-
this.
|
|
2573
|
+
this.B = 0, this.q = this.R.flush.intervalMs;
|
|
2572
2574
|
}
|
|
2573
2575
|
W() {
|
|
2574
|
-
return this.R.queue.size * (this.
|
|
2576
|
+
return this.R.queue.size * (this.O ? 1 : 2);
|
|
2575
2577
|
}
|
|
2576
2578
|
async J() {
|
|
2577
2579
|
if (!this.P.isActivityActive()) return Promise.resolve();
|
|
@@ -2687,7 +2689,7 @@ const ei = "function" == typeof BroadcastChannel ? BroadcastChannel : function()
|
|
|
2687
2689
|
if (!t.key || !t.key.startsWith(`${ti}${this.channelName}:`)) return;
|
|
2688
2690
|
if (null === t.newValue) return;
|
|
2689
2691
|
let e;
|
|
2690
|
-
I(() =>
|
|
2692
|
+
I(() => _n.remove(t.key));
|
|
2691
2693
|
try {
|
|
2692
2694
|
e = JSON.parse(t.newValue);
|
|
2693
2695
|
} catch {
|
|
@@ -2701,7 +2703,7 @@ const ei = "function" == typeof BroadcastChannel ? BroadcastChannel : function()
|
|
|
2701
2703
|
if (this.closed) return;
|
|
2702
2704
|
const e = `${ti}${this.channelName}:${this.senderId}:${this.seq++}`;
|
|
2703
2705
|
I(() => {
|
|
2704
|
-
|
|
2706
|
+
_n.set(e, t), _n.remove(e);
|
|
2705
2707
|
});
|
|
2706
2708
|
}
|
|
2707
2709
|
addEventListener(t, e) {
|
|
@@ -2739,7 +2741,7 @@ var ii = class {
|
|
|
2739
2741
|
type: "bye",
|
|
2740
2742
|
tabId: this.lt,
|
|
2741
2743
|
ts: Date.now()
|
|
2742
|
-
}), this.Mt(this.It()), this.
|
|
2744
|
+
}), this.Mt(this.It()), this.At(), this.Et(), this._t());
|
|
2743
2745
|
}
|
|
2744
2746
|
getTabId() {
|
|
2745
2747
|
return this.lt;
|
|
@@ -2754,7 +2756,7 @@ var ii = class {
|
|
|
2754
2756
|
e.warn("TabManager", "failed to open broadcast channel:", t);
|
|
2755
2757
|
}
|
|
2756
2758
|
}
|
|
2757
|
-
|
|
2759
|
+
_t() {
|
|
2758
2760
|
try {
|
|
2759
2761
|
if (!this.dt) return;
|
|
2760
2762
|
this.vt && this.dt.removeEventListener("message", this.vt), this.dt.close();
|
|
@@ -2772,7 +2774,7 @@ var ii = class {
|
|
|
2772
2774
|
});
|
|
2773
2775
|
}, 1e3);
|
|
2774
2776
|
}
|
|
2775
|
-
|
|
2777
|
+
At() {
|
|
2776
2778
|
null != this.ft && (clearInterval(this.ft), this.ft = null);
|
|
2777
2779
|
}
|
|
2778
2780
|
St() {
|
|
@@ -2782,7 +2784,7 @@ var ii = class {
|
|
|
2782
2784
|
t !== this.yt && (this.yt = t, this.Mt(t));
|
|
2783
2785
|
}, 1e3);
|
|
2784
2786
|
}
|
|
2785
|
-
|
|
2787
|
+
Et() {
|
|
2786
2788
|
null != this.ht && (clearTimeout(this.ht), this.ht = null);
|
|
2787
2789
|
}
|
|
2788
2790
|
kt(t) {
|
|
@@ -2865,7 +2867,7 @@ async function ui(t) {
|
|
|
2865
2867
|
return Promise.race([r, o]).finally(() => {
|
|
2866
2868
|
C(i);
|
|
2867
2869
|
});
|
|
2868
|
-
}(() => import("./browser-pQZA35G2-
|
|
2870
|
+
}(() => import("./browser-pQZA35G2-C0fRj-ID.esm.js"), 1e4);
|
|
2869
2871
|
ci = t, t.then((e) => {
|
|
2870
2872
|
null === e && D(() => {
|
|
2871
2873
|
ci === t && (ci = null);
|
|
@@ -3076,7 +3078,7 @@ function hi(t) {
|
|
|
3076
3078
|
};
|
|
3077
3079
|
}
|
|
3078
3080
|
const d = await n.post(function(t) {
|
|
3079
|
-
return t.length > 0 ?
|
|
3081
|
+
return t.length > 0 ? On[jn(t[0])] : On.tri;
|
|
3080
3082
|
}(s), {
|
|
3081
3083
|
body: u,
|
|
3082
3084
|
token: i,
|
|
@@ -3284,13 +3286,13 @@ function xi(t, e = !1) {
|
|
|
3284
3286
|
if (e) return null;
|
|
3285
3287
|
const n = Mi(t, "labelledby");
|
|
3286
3288
|
if (n) return {
|
|
3287
|
-
text:
|
|
3289
|
+
text: Ai(n),
|
|
3288
3290
|
resolutionMethod: "aria-labelledby",
|
|
3289
3291
|
confidence: "high"
|
|
3290
3292
|
};
|
|
3291
3293
|
const i = Ii(t);
|
|
3292
3294
|
if (i) return {
|
|
3293
|
-
text:
|
|
3295
|
+
text: Ai(i),
|
|
3294
3296
|
resolutionMethod: "aria-label",
|
|
3295
3297
|
confidence: "high"
|
|
3296
3298
|
};
|
|
@@ -3300,7 +3302,7 @@ function xi(t, e = !1) {
|
|
|
3300
3302
|
return e ? Si(e) : null;
|
|
3301
3303
|
}(t);
|
|
3302
3304
|
if (o) return {
|
|
3303
|
-
text:
|
|
3305
|
+
text: Ai(o),
|
|
3304
3306
|
resolutionMethod: "html-for",
|
|
3305
3307
|
confidence: "high"
|
|
3306
3308
|
};
|
|
@@ -3309,7 +3311,7 @@ function xi(t, e = !1) {
|
|
|
3309
3311
|
return e ? Si(e) : null;
|
|
3310
3312
|
}(t);
|
|
3311
3313
|
if (r) return {
|
|
3312
|
-
text:
|
|
3314
|
+
text: Ai(r),
|
|
3313
3315
|
resolutionMethod: "wrapping-label",
|
|
3314
3316
|
confidence: "high"
|
|
3315
3317
|
};
|
|
@@ -3317,7 +3319,7 @@ function xi(t, e = !1) {
|
|
|
3317
3319
|
return t.getAttribute("placeholder")?.trim() ?? null;
|
|
3318
3320
|
}(t);
|
|
3319
3321
|
if (s) return {
|
|
3320
|
-
text:
|
|
3322
|
+
text: Ai(s),
|
|
3321
3323
|
resolutionMethod: "placeholder",
|
|
3322
3324
|
confidence: "low"
|
|
3323
3325
|
};
|
|
@@ -3325,13 +3327,13 @@ function xi(t, e = !1) {
|
|
|
3325
3327
|
return t.getAttribute("title")?.trim() ?? null;
|
|
3326
3328
|
}(t);
|
|
3327
3329
|
if (a) return {
|
|
3328
|
-
text:
|
|
3330
|
+
text: Ai(a),
|
|
3329
3331
|
resolutionMethod: "title",
|
|
3330
3332
|
confidence: "low"
|
|
3331
3333
|
};
|
|
3332
3334
|
const c = Mi(t, "describedby");
|
|
3333
3335
|
if (c) return {
|
|
3334
|
-
text:
|
|
3336
|
+
text: Ai(c),
|
|
3335
3337
|
resolutionMethod: "aria-describedby",
|
|
3336
3338
|
confidence: "low"
|
|
3337
3339
|
};
|
|
@@ -3353,7 +3355,7 @@ function Si(t, e = 0) {
|
|
|
3353
3355
|
const t = Si(i, e + 1);
|
|
3354
3356
|
if (t && (n = n ? `${n} ${t}` : t, n.length >= yi)) break;
|
|
3355
3357
|
}
|
|
3356
|
-
return
|
|
3358
|
+
return Ai(n);
|
|
3357
3359
|
}
|
|
3358
3360
|
function Mi(t, e) {
|
|
3359
3361
|
const n = "labelledby" === e ? "aria-labelledby" : "aria-describedby", i = t?.getAttribute(n);
|
|
@@ -3370,10 +3372,10 @@ function Mi(t, e) {
|
|
|
3370
3372
|
function Ii(t) {
|
|
3371
3373
|
return t?.getAttribute("aria-label")?.trim() ?? null;
|
|
3372
3374
|
}
|
|
3373
|
-
function
|
|
3375
|
+
function Ai(t) {
|
|
3374
3376
|
return t.length > yi ? t.slice(0, yi) + "..." : t;
|
|
3375
3377
|
}
|
|
3376
|
-
function
|
|
3378
|
+
function Ei(t) {
|
|
3377
3379
|
const e = t.getBoundingClientRect();
|
|
3378
3380
|
return {
|
|
3379
3381
|
x: e.x,
|
|
@@ -3382,7 +3384,7 @@ function _i(t) {
|
|
|
3382
3384
|
height: e.height
|
|
3383
3385
|
};
|
|
3384
3386
|
}
|
|
3385
|
-
var
|
|
3387
|
+
var _i = class {
|
|
3386
3388
|
constructor(t) {
|
|
3387
3389
|
this.capacity = t, this.cache = /* @__PURE__ */ new Map();
|
|
3388
3390
|
}
|
|
@@ -3456,9 +3458,9 @@ async function Ci(t, n) {
|
|
|
3456
3458
|
function n(e) {
|
|
3457
3459
|
t.flush(), t.stopTab(), t.getShouldSkipStopActivity() || t.stopActivity();
|
|
3458
3460
|
}
|
|
3459
|
-
const i =
|
|
3461
|
+
const i = E((e) => {
|
|
3460
3462
|
e.persisted && t.resume();
|
|
3461
|
-
}), o =
|
|
3463
|
+
}), o = E(() => t.onConnectionChange());
|
|
3462
3464
|
return {
|
|
3463
3465
|
start: function() {
|
|
3464
3466
|
T(document, "visibilitychange", e), T(window, "pagehide", n), T(window, "pageshow", i), T(window, "online", o), T(window, "offline", o);
|
|
@@ -3481,7 +3483,7 @@ async function Ci(t, n) {
|
|
|
3481
3483
|
}
|
|
3482
3484
|
}
|
|
3483
3485
|
}), p = function(t = {}) {
|
|
3484
|
-
const { elementLevel: e, sanitizeUrl: n = mn } = t, i = e || "redact", o = new
|
|
3486
|
+
const { elementLevel: e, sanitizeUrl: n = mn } = t, i = e || "redact", o = new _i(6), r = new _i(6);
|
|
3485
3487
|
return { resolve: function(t, e) {
|
|
3486
3488
|
if (!t || d(t) || "off" === i) return null;
|
|
3487
3489
|
let s = o.get(t);
|
|
@@ -3523,10 +3525,10 @@ async function Ci(t, n) {
|
|
|
3523
3525
|
const a = "redact" === s.redaction.level || "redact" === i || f(t), c = r.get(t);
|
|
3524
3526
|
if (!c) {
|
|
3525
3527
|
const e = function(t, e, i, o) {
|
|
3526
|
-
const r = getComputedStyle(t), s =
|
|
3528
|
+
const r = getComputedStyle(t), s = Ei(t), a = function(t, e, n = !1, i = mn) {
|
|
3527
3529
|
const o = [], r = [];
|
|
3528
3530
|
for (let s = t.length - 1; s >= 0; s--) {
|
|
3529
|
-
const a = t[s], c = n || s <= e, u = s + 1, l = vi(a, c,
|
|
3531
|
+
const a = t[s], c = n || s <= e, u = s + 1, l = vi(a, c, Ei(a), i), { score: d, reasons: f } = gi(a, u);
|
|
3530
3532
|
if (o.push(l), !bi(d)) continue;
|
|
3531
3533
|
const h = xi(a, c);
|
|
3532
3534
|
r.push({
|
|
@@ -3556,7 +3558,7 @@ async function Ci(t, n) {
|
|
|
3556
3558
|
}(t, r, s);
|
|
3557
3559
|
let l = null;
|
|
3558
3560
|
return i || (l = u.interactive ? xi(t) : null), {
|
|
3559
|
-
elementId:
|
|
3561
|
+
elementId: B(t),
|
|
3560
3562
|
tagName: c.tagName,
|
|
3561
3563
|
frame: c.frame,
|
|
3562
3564
|
viewport: Di(),
|
|
@@ -3572,7 +3574,7 @@ async function Ci(t, n) {
|
|
|
3572
3574
|
}
|
|
3573
3575
|
return e?.freshGeometry ? {
|
|
3574
3576
|
...c,
|
|
3575
|
-
frame:
|
|
3577
|
+
frame: Ei(t),
|
|
3576
3578
|
viewport: Di()
|
|
3577
3579
|
} : c;
|
|
3578
3580
|
} };
|
|
@@ -3766,6 +3768,16 @@ let Li = class t {
|
|
|
3766
3768
|
return e.warn("addFpSignals()", "failed:", t), !1;
|
|
3767
3769
|
}
|
|
3768
3770
|
}
|
|
3771
|
+
getActivityId() {
|
|
3772
|
+
const t = this.Lt;
|
|
3773
|
+
if (this.Rt !== yn || !t) return e.warn("getActivityId()", "getActivityId() called before start() completed — returning null."), null;
|
|
3774
|
+
try {
|
|
3775
|
+
const { activityManager: e } = t;
|
|
3776
|
+
return e.isActive() && e.getActivityId() || null;
|
|
3777
|
+
} catch (t) {
|
|
3778
|
+
return e.warn("getActivityId()", "failed:", t), null;
|
|
3779
|
+
}
|
|
3780
|
+
}
|
|
3769
3781
|
};
|
|
3770
3782
|
async function Ri(t, e) {
|
|
3771
3783
|
const n = e?.apiURL ?? "https://falcon-ingest-k8s.stage.incodetest.com", i = e?.timeout ?? 1e4, o = new AbortController();
|