@feathery/react 2.41.1 → 2.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/{fthry_AssistantChat.AuMTE5ni.js → fthry_AssistantChat.Dc6irzAk.js} +4 -4
- package/cjs/{fthry_FormControl.D82S9LtT.js → fthry_FormControl.D_eydQlT.js} +1 -1
- package/cjs/{fthry_InlineTooltip.kdzoP2rc.js → fthry_InlineTooltip.Km0nxBV3.js} +2 -2
- package/cjs/{fthry_Overlay.CbC1FjTZ.js → fthry_Overlay.ChABiy0m.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.BxzrLkB0.js → fthry_PaymentMethodField.BMABompY.js} +4 -4
- package/cjs/{fthry_Placeholder.Di6onpMl.js → fthry_Placeholder.CnNGDD_K.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.B5w5N8jm.js → fthry_ShowEyeIcon.Cozhh36m.js} +1 -1
- package/cjs/fthry_auto-track.CzyR3umO.js +114 -0
- package/cjs/{fthry_highlighted-body-TPN3WLV5.CB6IWsjv.js → fthry_highlighted-body-TPN3WLV5.D8LjPUtI.js} +3 -3
- package/cjs/{fthry_index.DH8lgbPx.js → fthry_index.5oiWIOUK.js} +1 -1
- package/cjs/fthry_index.8ZkixEuX.js +477 -0
- package/cjs/{fthry_index.Bz-JA0yl.js → fthry_index.B-QAg85r.js} +6 -6
- package/cjs/{fthry_index.BvqRq5KX.js → fthry_index.B4qsX_2B.js} +4 -4
- package/cjs/fthry_index.B5TkPpn3.js +73 -0
- package/cjs/fthry_index.B76xVeoK.js +6893 -0
- package/cjs/fthry_index.B79ksg_6.js +68 -0
- package/cjs/{fthry_index.BM9fkWLL.js → fthry_index.B7Slrn_2.js} +1 -1
- package/cjs/{fthry_index.BgbTmgMy.js → fthry_index.BNFRKqrl.js} +5 -5
- package/cjs/{fthry_index.COz6kiMq.js → fthry_index.BPu5GDF3.js} +5 -5
- package/cjs/{fthry_index.D1jW5KD5.js → fthry_index.BVLMhJHP.js} +1 -1
- package/cjs/{fthry_index.BvLzo0YW.js → fthry_index.BYJ0Cjz1.js} +1 -1
- package/cjs/{fthry_index.DIK6ws4x.js → fthry_index.CMRH7foG.js} +6 -6
- package/cjs/{fthry_index.J2MkUMO_.js → fthry_index.Cj3i1JIs.js} +1 -1
- package/cjs/{fthry_index.YiQCJ_8p.js → fthry_index.Cj8NIIWS.js} +6 -6
- package/cjs/{fthry_index.BoWkmyhH.js → fthry_index.Crv5Oqdb.js} +6 -6
- package/cjs/{fthry_index.BZUdAFdY.js → fthry_index.CsV6zv_0.js} +5 -5
- package/cjs/{fthry_index.uAmtxDHN.js → fthry_index.D6PlFvY8.js} +5 -5
- package/cjs/{fthry_index.9lXPMg87.js → fthry_index.D7jBFEkz.js} +1 -1
- package/cjs/fthry_index.DMmTH04s.js +34 -0
- package/cjs/{fthry_index.COVcTBk0.js → fthry_index.DcnmaMvN.js} +2 -2
- package/cjs/fthry_index.DfOk3_Vc.js +72 -0
- package/cjs/{fthry_index.Dx6_vLXH.js → fthry_index.Dn7k0XbZ.js} +101 -112
- package/cjs/{fthry_index.CfCS_H4E.js → fthry_index.DoliEMOD.js} +3 -3
- package/cjs/{fthry_index.DyfArFz1.js → fthry_index.H4GgWRQ-.js} +1 -1
- package/cjs/fthry_index.KDrRVPx5.js +575 -0
- package/cjs/{fthry_index.C7-q3RPG.js → fthry_index.KMyCBmte.js} +1 -1
- package/cjs/{fthry_index.BvupjK8i.js → fthry_index.WbKUUcdS.js} +1 -1
- package/cjs/{fthry_index.DLYQKv1h.js → fthry_index._pqB5lCu.js} +8 -8
- package/cjs/{fthry_index.wT0xFcFi.js → fthry_index.ecHJPvgK.js} +3 -3
- package/cjs/fthry_index.umd.lxnwBuEl.js +41 -0
- package/cjs/{fthry_index.DKEljSgi.js → fthry_index.wTd_xpVX.js} +4 -4
- package/cjs/{fthry_index.D2MsWDhX.js → fthry_index.x_Q9efXs.js} +2 -2
- package/cjs/{fthry_input.Dqe4AZPw.js → fthry_input.DJaKnXqS.js} +1 -1
- package/cjs/fthry_is-plan-event-enabled.nMt_kVye.js +19 -0
- package/cjs/{fthry_mermaid-O7DHMXV3.Hr0ROL9a.js → fthry_mermaid-O7DHMXV3.CyaPsnki.js} +3 -3
- package/cjs/{fthry_script.5FcM2fg9.js → fthry_script.DrFnB8ud.js} +1 -1
- package/cjs/{fthry_styles.CxfiChN9.js → fthry_styles.qeOM9hPF.js} +1 -1
- package/cjs/{fthry_useElementSize.DjNvJMZW.js → fthry_useElementSize.K1QGuhUj.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.D_GLzNtJ.js → fthry_useSalesforceSync.DQd2UZn6.js} +1 -1
- package/cjs/{fthry_webfontloader.rkfqw_Az.js → fthry_webfontloader.D6aR0hiT.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/integrations/segment.d.ts +1 -1
- package/cjs/integrations/segment.d.ts.map +1 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts +1 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/cjs/utils/fieldHelperFunctions.d.ts +1 -1
- package/cjs/utils/fieldHelperFunctions.d.ts.map +1 -1
- package/cjs/utils/internalState.d.ts +16 -1
- package/cjs/utils/internalState.d.ts.map +1 -1
- package/dist/{fthry_AssistantChat.9iZnqQQt.js → fthry_AssistantChat.D2SjzX88.js} +4 -4
- package/dist/{fthry_FormControl.aWX059qS.js → fthry_FormControl.AWZ2hRhb.js} +1 -1
- package/dist/{fthry_InlineTooltip.159qVlX7.js → fthry_InlineTooltip.DAaWNMEQ.js} +2 -2
- package/dist/{fthry_Overlay.Di0mol1Z.js → fthry_Overlay.C500WG6U.js} +1 -1
- package/dist/{fthry_PaymentMethodField.C_6Pu8x2.js → fthry_PaymentMethodField.Bl2Ce36L.js} +4 -4
- package/dist/{fthry_Placeholder.Dsx8_ezr.js → fthry_Placeholder.DXrZi2ze.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.nRVpMPPa.js → fthry_ShowEyeIcon.D3iEMZA7.js} +1 -1
- package/dist/fthry_auto-track.C9HCW4qJ.js +111 -0
- package/dist/{fthry_highlighted-body-TPN3WLV5.x-GmTT4p.js → fthry_highlighted-body-TPN3WLV5.j0rrY2PD.js} +3 -3
- package/dist/fthry_index.-lEiRiJ3.js +66 -0
- package/dist/{fthry_index.BfOeedPy.js → fthry_index.0DlQOa4l.js} +1 -1
- package/dist/{fthry_index.BZ22DoJF.js → fthry_index.4rXsgo8n.js} +6 -6
- package/dist/{fthry_index.DieTiO1R.js → fthry_index.BALrl_Ek.js} +4 -4
- package/dist/{fthry_index.DfusnmMH.js → fthry_index.BDtWG5y-.js} +5 -5
- package/dist/fthry_index.BHbPxMcy.js +71 -0
- package/dist/fthry_index.BjZmdaIR.js +474 -0
- package/dist/{fthry_index.BKKIUHxP.js → fthry_index.BlrVY1vE.js} +6 -6
- package/dist/{fthry_index.BD4Gxt6n.js → fthry_index.BoXwpo3p.js} +101 -113
- package/dist/{fthry_index.CPLtkSYO.js → fthry_index.C-Af9t8c.js} +5 -5
- package/dist/{fthry_index.Se5JLYs9.js → fthry_index.C8xVXq31.js} +3 -3
- package/dist/{fthry_index.D5rdhFrZ.js → fthry_index.C9P7Vo6r.js} +1 -1
- package/dist/{fthry_index.Drx2ZVkE.js → fthry_index.CB6eTYmX.js} +5 -5
- package/dist/{fthry_index.CUWsRf0D.js → fthry_index.CS604ePK.js} +2 -2
- package/dist/{fthry_index.Pp6zhlf_.js → fthry_index.Cd0JKkOc.js} +8 -8
- package/dist/fthry_index.Cn4kA2tn.js +6871 -0
- package/dist/fthry_index.Co2zkJCZ.js +70 -0
- package/dist/{fthry_index.CBIXVWL-.js → fthry_index.D2-zTdBQ.js} +1 -1
- package/dist/{fthry_index.BOH7m5kT.js → fthry_index.D3O1Qvm3.js} +3 -3
- package/dist/{fthry_index.CyDzbx5S.js → fthry_index.D5dmTp6g.js} +1 -1
- package/dist/{fthry_index.CBiQrmKH.js → fthry_index.D8_hWgYx.js} +1 -1
- package/dist/{fthry_index.D0eO_jrF.js → fthry_index.DA5HHbVe.js} +1 -1
- package/dist/fthry_index.DAdR6bYe.js +32 -0
- package/dist/{fthry_index.BAs20rGv.js → fthry_index.DFZRIGNF.js} +2 -2
- package/dist/{fthry_index.CPAAIiq3.js → fthry_index.DOGU2-kQ.js} +5 -5
- package/dist/{fthry_index.Fq2JKey_.js → fthry_index.DZviU_0h.js} +1 -1
- package/dist/{fthry_index.CYYRO1p6.js → fthry_index.DtHlcCDX.js} +1 -1
- package/dist/{fthry_index.Dm5kGSKR.js → fthry_index.DzDuGB1B.js} +6 -6
- package/dist/{fthry_index.D8wf4Och.js → fthry_index.IaraEDTR.js} +1 -1
- package/dist/fthry_index.JD44HVFL.js +573 -0
- package/dist/{fthry_index.BROaFD02.js → fthry_index.OgRdIE07.js} +5 -5
- package/dist/fthry_index.umd.BhHG1ThX.js +39 -0
- package/dist/{fthry_index.C9wizXBA.js → fthry_index.x_DcI6GR.js} +4 -4
- package/dist/{fthry_input.p12lRSx4.js → fthry_input.Y2HVhQeo.js} +1 -1
- package/dist/fthry_is-plan-event-enabled.mXX0dwl-.js +17 -0
- package/dist/{fthry_mermaid-O7DHMXV3.CWWC47_a.js → fthry_mermaid-O7DHMXV3._Ng2DeVi.js} +3 -3
- package/dist/{fthry_script.GZmaXrTw.js → fthry_script.4cQVioC4.js} +1 -1
- package/dist/{fthry_styles.p1MsrWgL.js → fthry_styles.DX0NUnVP.js} +1 -1
- package/dist/{fthry_useElementSize.cLenWN5F.js → fthry_useElementSize.BCbe9jZd.js} +1 -1
- package/dist/{fthry_useSalesforceSync.0EbTmWOM.js → fthry_useSalesforceSync.DJFGoBIG.js} +1 -1
- package/dist/{fthry_webfontloader.DvZgpMoe.js → fthry_webfontloader.4kqCCEG_.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/segment.d.ts +1 -1
- package/dist/integrations/segment.d.ts.map +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/dist/utils/fieldHelperFunctions.d.ts +1 -1
- package/dist/utils/fieldHelperFunctions.d.ts.map +1 -1
- package/dist/utils/internalState.d.ts +16 -1
- package/dist/utils/internalState.d.ts.map +1 -1
- package/package.json +2 -1
- package/umd/277.1a33ea06f86326613fcb.js +1 -0
- package/umd/301.b40f38397dcde848ba46.js +1 -0
- package/umd/435.a94343a900f83a1ba8eb.js +1 -0
- package/umd/466.c82e14e5b06ae17649ff.js +1 -0
- package/umd/509.d49410af0cc948b08d73.js +2 -0
- package/umd/529.e7a0a831bf80398fda0f.js +1 -0
- package/umd/542.5168cf86fc7255c8b7fd.js +1 -0
- package/umd/598.9bc05f78267c055211d9.js +2 -0
- package/umd/602.ddda17ac6b2cabb3d639.js +1 -0
- package/umd/664.4a3ec465094a3d59c184.js +1 -0
- package/umd/834.b4ef33227c4c872368d6.js +1 -0
- package/umd/94.391827577c1c62f73f29.js +2 -0
- package/umd/AddressField.648b3da916171008dc9f.js +1 -0
- package/umd/AssistantChat.879f86967feffba1cc6f.js +1 -0
- package/umd/ButtonGroupField.d39ac976a6dee9ef593a.js +1 -0
- package/umd/CheckboxField.3323fdfd4a7377580d46.js +1 -0
- package/umd/CheckboxGroupField.e495eb152c4faa000d4b.js +1 -0
- package/umd/ColorPickerField.7e0f3c3a7dc1bcaf5e30.js +1 -0
- package/umd/CustomField.895d9a1d34e8e7b8b8d0.js +1 -0
- package/umd/DateSelectorField.e702b3e6b0a5b498c824.js +1 -0
- package/umd/DropdownField.d1a234d236d9989bbf20.js +1 -0
- package/umd/DropdownMultiField.5b4e24025035f1678c83.js +1 -0
- package/umd/FileUploadField.f0d66cf87244c0e565a1.js +1 -0
- package/umd/MatrixField.bcd6f58ea1896f386988.js +1 -0
- package/umd/PasswordField.593d7b7d3d954634fa30.js +1 -0
- package/umd/PaymentMethodField.8e4fd6353793eaaa2b5b.js +1 -0
- package/umd/PhoneField.861b99c7e81b4b9c8648.js +1 -0
- package/umd/PinInputField.ddc30797191dfbed7fe3.js +1 -0
- package/umd/QRScanner.94381603047f5db6b5c0.js +1 -0
- package/umd/RadioButtonGroupField.7a333a6f7e578a181a98.js +1 -0
- package/umd/RatingField.204cb92c30aeb4b8952a.js +1 -0
- package/umd/SignatureField.9cc9b3783cf8149ba767.js +1 -0
- package/umd/SliderField.d746a57527031d551f58.js +1 -0
- package/umd/TableElement.fef6a362cfa150f0f38e.js +1 -0
- package/umd/TextArea.04335be4f0f0d6c0cc1a.js +1 -0
- package/umd/TextField.749931ebb258bf38e007.js +1 -0
- package/umd/ajs-destination.19322d501875cd260554.js +1 -0
- package/umd/auto-track.e6503d851d1d8c634ff0.js +1 -0
- package/umd/index.js +1 -1
- package/umd/legacyVideos.5ab9e462d737eca6f817.js +1 -0
- package/umd/libphonenumber.721378defae8d84deae2.js +1 -0
- package/umd/queryString.74978b49d70f9556e22a.js +1 -0
- package/umd/remoteMiddleware.fb68e7490b3379937c68.js +1 -0
- package/umd/schemaFilter.45d31876c08e74664f1d.js +1 -0
- package/umd/segment.76c3946188b5c80e77d6.js +2 -0
- package/umd/segment.76c3946188b5c80e77d6.js.LICENSE.txt +1 -0
- package/umd/tsub-middleware.4d4d00320fa7aa6a97cc.js +2 -0
- package/umd/tsub-middleware.4d4d00320fa7aa6a97cc.js.LICENSE.txt +1 -0
- package/umd/webfontloader.419636e0eb0cfb39b078.js +1 -0
- package/umd/277.87e6ca5c1cf2a7477992.js +0 -1
- package/umd/301.a96bba9d529bf7fd379e.js +0 -1
- package/umd/435.faa037e36038c2c766da.js +0 -1
- package/umd/466.e3456c8b3407ad04ba56.js +0 -1
- package/umd/509.bca2ff43c66b1dba064f.js +0 -2
- package/umd/529.63afee65c745ca950f81.js +0 -1
- package/umd/542.f1dbbbb062e82a2995e9.js +0 -1
- package/umd/598.ca92da6595afad37b511.js +0 -2
- package/umd/602.1fde434923c6596acd40.js +0 -1
- package/umd/664.42541009d1fcb121cc49.js +0 -1
- package/umd/94.e8ad20ab98c664d13197.js +0 -2
- package/umd/AddressField.c4188872f2a931394aa1.js +0 -1
- package/umd/AssistantChat.7af8f8f25348f5379aeb.js +0 -1
- package/umd/ButtonGroupField.33cf9c939c8e82cc6c83.js +0 -1
- package/umd/CheckboxField.782999cad642da04434d.js +0 -1
- package/umd/CheckboxGroupField.18ab392a2890a239fd0b.js +0 -1
- package/umd/ColorPickerField.f6740bb7c4c20a520db5.js +0 -1
- package/umd/CustomField.a5b2965922f2d170b9b5.js +0 -1
- package/umd/DateSelectorField.568bb30a220837a36660.js +0 -1
- package/umd/DropdownField.9f0f8a425ddf09771ad8.js +0 -1
- package/umd/DropdownMultiField.72a44c0280217eeb5652.js +0 -1
- package/umd/FileUploadField.7a5028fb6035d09b3e81.js +0 -1
- package/umd/MatrixField.2b65107453ddf2322137.js +0 -1
- package/umd/PasswordField.7585ef588333cb4181f7.js +0 -1
- package/umd/PaymentMethodField.d08bcfa1efb56084572d.js +0 -1
- package/umd/PhoneField.b9293ead8e5a2a3b7c37.js +0 -1
- package/umd/PinInputField.b1aee0ef9d3c9f9a1933.js +0 -1
- package/umd/QRScanner.3c22391de30dba001f13.js +0 -1
- package/umd/RadioButtonGroupField.20268d1b4649053bf1db.js +0 -1
- package/umd/RatingField.eeeb0ac499c308c120ba.js +0 -1
- package/umd/SignatureField.0e7d60fa2fafcb6be554.js +0 -1
- package/umd/SliderField.a5ab58e4b89fa67d6ac6.js +0 -1
- package/umd/TableElement.1076e69a66923cfe6434.js +0 -1
- package/umd/TextArea.7cca0d69e618846660c5.js +0 -1
- package/umd/TextField.28c59425e129e78a4551.js +0 -1
- package/umd/libphonenumber.4ab4d30edb4e455b2fc4.js +0 -1
- package/umd/webfontloader.b44bdf00049b175713ae.js +0 -1
- /package/umd/{509.bca2ff43c66b1dba064f.js.LICENSE.txt → 509.d49410af0cc948b08d73.js.LICENSE.txt} +0 -0
- /package/umd/{598.ca92da6595afad37b511.js.LICENSE.txt → 598.9bc05f78267c055211d9.js.LICENSE.txt} +0 -0
- /package/umd/{94.e8ad20ab98c664d13197.js.LICENSE.txt → 94.391827577c1c62f73f29.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
import { l as __awaiter, m as __generator, L as __spreadArray, _ as __assign } from './fthry_index.BoXwpo3p.js';
|
|
2
|
+
import { l as loadScript, g as getNextIntegrationsURL, u as unloadScript, i as isServer, m as mergedOptions, b as isPlainObject, r as recordIntegrationMetric, c as isOffline, C as ContextCancelation, d as applyDestinationMiddleware, e as distExports, f as createDeferred, P as PriorityQueue, h as PersistedPriorityQueue, j as pWhile, k as attempt, n as Context, o as isOnline } from './fthry_index.Cn4kA2tn.js';
|
|
3
|
+
import { i as isPlanEventEnabled } from './fthry_is-plan-event-enabled.mXX0dwl-.js';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'react';
|
|
6
|
+
import 'react-dom/client';
|
|
7
|
+
import 'jszip';
|
|
8
|
+
import 'react-dom';
|
|
9
|
+
|
|
10
|
+
function normalizeName(name) {
|
|
11
|
+
return name.toLowerCase().replace('.', '').replace(/\s+/g, '-');
|
|
12
|
+
}
|
|
13
|
+
function obfuscatePathName(pathName, obfuscate) {
|
|
14
|
+
if (obfuscate === void 0) { obfuscate = false; }
|
|
15
|
+
return obfuscate ? btoa(pathName).replace(/=/g, '') : undefined;
|
|
16
|
+
}
|
|
17
|
+
function resolveIntegrationNameFromSource(integrationSource) {
|
|
18
|
+
return ('Integration' in integrationSource
|
|
19
|
+
? integrationSource.Integration
|
|
20
|
+
: integrationSource).prototype.name;
|
|
21
|
+
}
|
|
22
|
+
function recordLoadMetrics(fullPath, ctx, name) {
|
|
23
|
+
var _a, _b;
|
|
24
|
+
try {
|
|
25
|
+
var metric = ((_b = (_a = window === null || window === void 0 ? void 0 : window.performance) === null || _a === void 0 ? void 0 : _a.getEntriesByName(fullPath, 'resource')) !== null && _b !== void 0 ? _b : [])[0];
|
|
26
|
+
// we assume everything that took under 100ms is cached
|
|
27
|
+
metric &&
|
|
28
|
+
ctx.stats.gauge('legacy_destination_time', Math.round(metric.duration), __spreadArray([
|
|
29
|
+
name
|
|
30
|
+
], (metric.duration < 100 ? ['cached'] : []), true));
|
|
31
|
+
}
|
|
32
|
+
catch (_) {
|
|
33
|
+
// not available
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function buildIntegration(integrationSource, integrationSettings, analyticsInstance) {
|
|
37
|
+
var integrationCtr;
|
|
38
|
+
// GA and Appcues use a different interface to instantiating integrations
|
|
39
|
+
if ('Integration' in integrationSource) {
|
|
40
|
+
var analyticsStub = {
|
|
41
|
+
user: function () { return analyticsInstance.user(); },
|
|
42
|
+
addIntegration: function () { },
|
|
43
|
+
};
|
|
44
|
+
integrationSource(analyticsStub);
|
|
45
|
+
integrationCtr = integrationSource.Integration;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
integrationCtr = integrationSource;
|
|
49
|
+
}
|
|
50
|
+
var integration = new integrationCtr(integrationSettings);
|
|
51
|
+
integration.analytics = analyticsInstance;
|
|
52
|
+
return integration;
|
|
53
|
+
}
|
|
54
|
+
function loadIntegration(ctx, name, version, obfuscate) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
56
|
+
var pathName, obfuscatedPathName, path, fullPath, err_1, deps;
|
|
57
|
+
return __generator(this, function (_a) {
|
|
58
|
+
switch (_a.label) {
|
|
59
|
+
case 0:
|
|
60
|
+
pathName = normalizeName(name);
|
|
61
|
+
obfuscatedPathName = obfuscatePathName(pathName, obfuscate);
|
|
62
|
+
path = getNextIntegrationsURL();
|
|
63
|
+
fullPath = "".concat(path, "/integrations/").concat(obfuscatedPathName !== null && obfuscatedPathName !== void 0 ? obfuscatedPathName : pathName, "/").concat(version, "/").concat(obfuscatedPathName !== null && obfuscatedPathName !== void 0 ? obfuscatedPathName : pathName, ".dynamic.js.gz");
|
|
64
|
+
_a.label = 1;
|
|
65
|
+
case 1:
|
|
66
|
+
_a.trys.push([1, 3, , 4]);
|
|
67
|
+
return [4 /*yield*/, loadScript(fullPath)];
|
|
68
|
+
case 2:
|
|
69
|
+
_a.sent();
|
|
70
|
+
recordLoadMetrics(fullPath, ctx, name);
|
|
71
|
+
return [3 /*break*/, 4];
|
|
72
|
+
case 3:
|
|
73
|
+
err_1 = _a.sent();
|
|
74
|
+
ctx.stats.gauge('legacy_destination_time', -1, ["plugin:".concat(name), "failed"]);
|
|
75
|
+
throw err_1;
|
|
76
|
+
case 4:
|
|
77
|
+
deps = window["".concat(pathName, "Deps")];
|
|
78
|
+
return [4 /*yield*/, Promise.all(deps.map(function (dep) { return loadScript(path + dep + '.gz'); }))
|
|
79
|
+
// @ts-ignore
|
|
80
|
+
];
|
|
81
|
+
case 5:
|
|
82
|
+
_a.sent();
|
|
83
|
+
// @ts-ignore
|
|
84
|
+
window["".concat(pathName, "Loader")]();
|
|
85
|
+
return [2 /*return*/, window[
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
"".concat(pathName, "Integration")]];
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
function unloadIntegration(name, version, obfuscate) {
|
|
93
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
94
|
+
var path, pathName, obfuscatedPathName, fullPath;
|
|
95
|
+
return __generator(this, function (_a) {
|
|
96
|
+
path = getNextIntegrationsURL();
|
|
97
|
+
pathName = normalizeName(name);
|
|
98
|
+
obfuscatedPathName = obfuscatePathName(name, obfuscate);
|
|
99
|
+
fullPath = "".concat(path, "/integrations/").concat(obfuscatedPathName !== null && obfuscatedPathName !== void 0 ? obfuscatedPathName : pathName, "/").concat(version, "/").concat(obfuscatedPathName !== null && obfuscatedPathName !== void 0 ? obfuscatedPathName : pathName, ".dynamic.js.gz");
|
|
100
|
+
return [2 /*return*/, unloadScript(fullPath)];
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
function resolveVersion(integrationConfig) {
|
|
105
|
+
var _a, _b, _c, _d;
|
|
106
|
+
return ((_d = (_b = (_a = integrationConfig === null || integrationConfig === void 0 ? void 0 : integrationConfig.versionSettings) === null || _a === void 0 ? void 0 : _a.override) !== null && _b !== void 0 ? _b : (_c = integrationConfig === null || integrationConfig === void 0 ? void 0 : integrationConfig.versionSettings) === null || _c === void 0 ? void 0 : _c.version) !== null && _d !== void 0 ? _d : 'latest');
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
var isInstallableIntegration = function (name, integrationSettings) {
|
|
110
|
+
var _a;
|
|
111
|
+
var type = integrationSettings.type, bundlingStatus = integrationSettings.bundlingStatus, versionSettings = integrationSettings.versionSettings;
|
|
112
|
+
// We use `!== 'unbundled'` (versus `=== 'bundled'`) to be inclusive of
|
|
113
|
+
// destinations without a defined value for `bundlingStatus`
|
|
114
|
+
var deviceMode = bundlingStatus !== 'unbundled' &&
|
|
115
|
+
(type === 'browser' || ((_a = versionSettings === null || versionSettings === void 0 ? void 0 : versionSettings.componentTypes) === null || _a === void 0 ? void 0 : _a.includes('browser')));
|
|
116
|
+
// checking for iterable is a quick fix we need in place to prevent
|
|
117
|
+
// errors showing Iterable as a failed destiantion. Ideally, we should
|
|
118
|
+
// fix the Iterable metadata instead, but that's a longer process.
|
|
119
|
+
return !name.startsWith('Segment') && name !== 'Iterable' && deviceMode;
|
|
120
|
+
};
|
|
121
|
+
var isDisabledIntegration = function (integrationName, integrations) {
|
|
122
|
+
var allDisableAndNotDefined = integrations.All === false && integrations[integrationName] === undefined;
|
|
123
|
+
return integrations[integrationName] === false || allDisableAndNotDefined;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
function flushQueue(xt, queue) {
|
|
127
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
128
|
+
var failedQueue;
|
|
129
|
+
var _this = this;
|
|
130
|
+
return __generator(this, function (_a) {
|
|
131
|
+
switch (_a.label) {
|
|
132
|
+
case 0:
|
|
133
|
+
failedQueue = [];
|
|
134
|
+
if (isOffline()) {
|
|
135
|
+
return [2 /*return*/, queue];
|
|
136
|
+
}
|
|
137
|
+
return [4 /*yield*/, pWhile(function () { return queue.length > 0 && isOnline(); }, function () { return __awaiter(_this, void 0, void 0, function () {
|
|
138
|
+
var ctx, result, success;
|
|
139
|
+
return __generator(this, function (_a) {
|
|
140
|
+
switch (_a.label) {
|
|
141
|
+
case 0:
|
|
142
|
+
ctx = queue.pop();
|
|
143
|
+
if (!ctx) {
|
|
144
|
+
return [2 /*return*/];
|
|
145
|
+
}
|
|
146
|
+
return [4 /*yield*/, attempt(ctx, xt)];
|
|
147
|
+
case 1:
|
|
148
|
+
result = _a.sent();
|
|
149
|
+
success = result instanceof Context;
|
|
150
|
+
if (!success) {
|
|
151
|
+
failedQueue.push(ctx);
|
|
152
|
+
}
|
|
153
|
+
return [2 /*return*/];
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
}); })
|
|
157
|
+
// re-add failed tasks
|
|
158
|
+
];
|
|
159
|
+
case 1:
|
|
160
|
+
_a.sent();
|
|
161
|
+
// re-add failed tasks
|
|
162
|
+
failedQueue.map(function (failed) { return queue.pushWithBackoff(failed); });
|
|
163
|
+
return [2 /*return*/, queue];
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
var LegacyDestination = /** @class */ (function () {
|
|
169
|
+
function LegacyDestination(name, version, writeKey, settings, options, integrationSource) {
|
|
170
|
+
if (settings === void 0) { settings = {}; }
|
|
171
|
+
var _this = this;
|
|
172
|
+
this.options = {};
|
|
173
|
+
this.type = 'destination';
|
|
174
|
+
this.middleware = [];
|
|
175
|
+
this.initializePromise = createDeferred();
|
|
176
|
+
this.flushing = false;
|
|
177
|
+
this.name = name;
|
|
178
|
+
this.version = version;
|
|
179
|
+
this.settings = __assign({}, settings);
|
|
180
|
+
this.disableAutoISOConversion = options.disableAutoISOConversion || false;
|
|
181
|
+
this.integrationSource = integrationSource;
|
|
182
|
+
// AJS-Renderer sets an extraneous `type` setting that clobbers
|
|
183
|
+
// existing type defaults. We need to remove it if it's present
|
|
184
|
+
if (this.settings['type'] && this.settings['type'] === 'browser') {
|
|
185
|
+
delete this.settings['type'];
|
|
186
|
+
}
|
|
187
|
+
this.initializePromise.promise.then(function (isInitialized) { return (_this._initialized = isInitialized); }, function () { });
|
|
188
|
+
this.options = options;
|
|
189
|
+
this.buffer = options.disableClientPersistence
|
|
190
|
+
? new PriorityQueue(4, [])
|
|
191
|
+
: new PersistedPriorityQueue(4, "".concat(writeKey, ":dest-").concat(name));
|
|
192
|
+
this.scheduleFlush();
|
|
193
|
+
}
|
|
194
|
+
LegacyDestination.prototype.isLoaded = function () {
|
|
195
|
+
return !!this._ready;
|
|
196
|
+
};
|
|
197
|
+
LegacyDestination.prototype.ready = function () {
|
|
198
|
+
var _this = this;
|
|
199
|
+
return this.initializePromise.promise.then(function () { var _a; return (_a = _this.onReady) !== null && _a !== void 0 ? _a : Promise.resolve(); });
|
|
200
|
+
};
|
|
201
|
+
LegacyDestination.prototype.load = function (ctx, analyticsInstance) {
|
|
202
|
+
var _a;
|
|
203
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
204
|
+
var integrationSource, _b, error_1;
|
|
205
|
+
var _this = this;
|
|
206
|
+
return __generator(this, function (_c) {
|
|
207
|
+
switch (_c.label) {
|
|
208
|
+
case 0:
|
|
209
|
+
if (this._ready || this.onReady !== undefined) {
|
|
210
|
+
return [2 /*return*/];
|
|
211
|
+
}
|
|
212
|
+
_c.label = 1;
|
|
213
|
+
case 1:
|
|
214
|
+
_c.trys.push([1, 5, , 6]);
|
|
215
|
+
if (!((_a = this.integrationSource) !== null && _a !== void 0)) return [3 /*break*/, 2];
|
|
216
|
+
_b = _a;
|
|
217
|
+
return [3 /*break*/, 4];
|
|
218
|
+
case 2: return [4 /*yield*/, loadIntegration(ctx, this.name, this.version, this.options.obfuscate)];
|
|
219
|
+
case 3:
|
|
220
|
+
_b = (_c.sent());
|
|
221
|
+
_c.label = 4;
|
|
222
|
+
case 4:
|
|
223
|
+
integrationSource = _b;
|
|
224
|
+
this.integration = buildIntegration(integrationSource, this.settings, analyticsInstance);
|
|
225
|
+
return [3 /*break*/, 6];
|
|
226
|
+
case 5:
|
|
227
|
+
error_1 = _c.sent();
|
|
228
|
+
recordIntegrationMetric(ctx, {
|
|
229
|
+
integrationName: this.name,
|
|
230
|
+
methodName: 'load',
|
|
231
|
+
type: 'classic',
|
|
232
|
+
didError: true,
|
|
233
|
+
});
|
|
234
|
+
throw error_1;
|
|
235
|
+
case 6:
|
|
236
|
+
this.onReady = new Promise(function (resolve) {
|
|
237
|
+
var onReadyFn = function () {
|
|
238
|
+
_this._ready = true;
|
|
239
|
+
resolve(true);
|
|
240
|
+
};
|
|
241
|
+
_this.integration.once('ready', onReadyFn);
|
|
242
|
+
});
|
|
243
|
+
this.integration.on('initialize', function () {
|
|
244
|
+
_this.initializePromise.resolve(true);
|
|
245
|
+
});
|
|
246
|
+
try {
|
|
247
|
+
recordIntegrationMetric(ctx, {
|
|
248
|
+
integrationName: this.name,
|
|
249
|
+
methodName: 'initialize',
|
|
250
|
+
type: 'classic',
|
|
251
|
+
});
|
|
252
|
+
this.integration.initialize();
|
|
253
|
+
}
|
|
254
|
+
catch (error) {
|
|
255
|
+
recordIntegrationMetric(ctx, {
|
|
256
|
+
integrationName: this.name,
|
|
257
|
+
methodName: 'initialize',
|
|
258
|
+
type: 'classic',
|
|
259
|
+
didError: true,
|
|
260
|
+
});
|
|
261
|
+
this.initializePromise.resolve(false);
|
|
262
|
+
throw error;
|
|
263
|
+
}
|
|
264
|
+
return [2 /*return*/];
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
});
|
|
268
|
+
};
|
|
269
|
+
LegacyDestination.prototype.unload = function (_ctx, _analyticsInstance) {
|
|
270
|
+
return unloadIntegration(this.name, this.version, this.options.obfuscate);
|
|
271
|
+
};
|
|
272
|
+
LegacyDestination.prototype.addMiddleware = function () {
|
|
273
|
+
var _a;
|
|
274
|
+
var fn = [];
|
|
275
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
276
|
+
fn[_i] = arguments[_i];
|
|
277
|
+
}
|
|
278
|
+
this.middleware = (_a = this.middleware).concat.apply(_a, fn);
|
|
279
|
+
};
|
|
280
|
+
LegacyDestination.prototype.shouldBuffer = function (ctx) {
|
|
281
|
+
return (
|
|
282
|
+
// page events can't be buffered because of destinations that automatically add page views
|
|
283
|
+
ctx.event.type !== 'page' &&
|
|
284
|
+
(isOffline() || this._ready !== true || this._initialized !== true));
|
|
285
|
+
};
|
|
286
|
+
LegacyDestination.prototype.send = function (ctx, clz, eventType) {
|
|
287
|
+
var _a, _b;
|
|
288
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
289
|
+
var plan, ev, planEvent, afterMiddleware, event, err_1;
|
|
290
|
+
return __generator(this, function (_c) {
|
|
291
|
+
switch (_c.label) {
|
|
292
|
+
case 0:
|
|
293
|
+
if (this.shouldBuffer(ctx)) {
|
|
294
|
+
this.buffer.push(ctx);
|
|
295
|
+
this.scheduleFlush();
|
|
296
|
+
return [2 /*return*/, ctx];
|
|
297
|
+
}
|
|
298
|
+
plan = (_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.plan) === null || _b === void 0 ? void 0 : _b.track;
|
|
299
|
+
ev = ctx.event.event;
|
|
300
|
+
if (plan && ev && this.name !== 'Segment.io') {
|
|
301
|
+
planEvent = plan[ev];
|
|
302
|
+
if (!isPlanEventEnabled(plan, planEvent)) {
|
|
303
|
+
ctx.updateEvent('integrations', __assign(__assign({}, ctx.event.integrations), { All: false, 'Segment.io': true }));
|
|
304
|
+
ctx.cancel(new ContextCancelation({
|
|
305
|
+
retry: false,
|
|
306
|
+
reason: "Event ".concat(ev, " disabled for integration ").concat(this.name, " in tracking plan"),
|
|
307
|
+
type: 'Dropped by plan',
|
|
308
|
+
}));
|
|
309
|
+
}
|
|
310
|
+
else {
|
|
311
|
+
ctx.updateEvent('integrations', __assign(__assign({}, ctx.event.integrations), planEvent === null || planEvent === void 0 ? void 0 : planEvent.integrations));
|
|
312
|
+
}
|
|
313
|
+
if ((planEvent === null || planEvent === void 0 ? void 0 : planEvent.enabled) && (planEvent === null || planEvent === void 0 ? void 0 : planEvent.integrations[this.name]) === false) {
|
|
314
|
+
ctx.cancel(new ContextCancelation({
|
|
315
|
+
retry: false,
|
|
316
|
+
reason: "Event ".concat(ev, " disabled for integration ").concat(this.name, " in tracking plan"),
|
|
317
|
+
type: 'Dropped by plan',
|
|
318
|
+
}));
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
return [4 /*yield*/, applyDestinationMiddleware(this.name, ctx.event, this.middleware)];
|
|
322
|
+
case 1:
|
|
323
|
+
afterMiddleware = _c.sent();
|
|
324
|
+
if (afterMiddleware === null) {
|
|
325
|
+
return [2 /*return*/, ctx];
|
|
326
|
+
}
|
|
327
|
+
event = new clz(afterMiddleware, {
|
|
328
|
+
traverse: !this.disableAutoISOConversion,
|
|
329
|
+
});
|
|
330
|
+
recordIntegrationMetric(ctx, {
|
|
331
|
+
integrationName: this.name,
|
|
332
|
+
methodName: eventType,
|
|
333
|
+
type: 'classic',
|
|
334
|
+
});
|
|
335
|
+
_c.label = 2;
|
|
336
|
+
case 2:
|
|
337
|
+
_c.trys.push([2, 5, , 6]);
|
|
338
|
+
if (!this.integration) return [3 /*break*/, 4];
|
|
339
|
+
return [4 /*yield*/, this.integration.invoke.call(this.integration, eventType, event)];
|
|
340
|
+
case 3:
|
|
341
|
+
_c.sent();
|
|
342
|
+
_c.label = 4;
|
|
343
|
+
case 4: return [3 /*break*/, 6];
|
|
344
|
+
case 5:
|
|
345
|
+
err_1 = _c.sent();
|
|
346
|
+
recordIntegrationMetric(ctx, {
|
|
347
|
+
integrationName: this.name,
|
|
348
|
+
methodName: eventType,
|
|
349
|
+
type: 'classic',
|
|
350
|
+
didError: true,
|
|
351
|
+
});
|
|
352
|
+
throw err_1;
|
|
353
|
+
case 6: return [2 /*return*/, ctx];
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
});
|
|
357
|
+
};
|
|
358
|
+
LegacyDestination.prototype.track = function (ctx) {
|
|
359
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
360
|
+
return __generator(this, function (_a) {
|
|
361
|
+
return [2 /*return*/, this.send(ctx, distExports.Track, 'track')];
|
|
362
|
+
});
|
|
363
|
+
});
|
|
364
|
+
};
|
|
365
|
+
LegacyDestination.prototype.page = function (ctx) {
|
|
366
|
+
var _a;
|
|
367
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
368
|
+
return __generator(this, function (_b) {
|
|
369
|
+
switch (_b.label) {
|
|
370
|
+
case 0:
|
|
371
|
+
if (((_a = this.integration) === null || _a === void 0 ? void 0 : _a._assumesPageview) && !this._initialized) {
|
|
372
|
+
this.integration.initialize();
|
|
373
|
+
}
|
|
374
|
+
return [4 /*yield*/, this.initializePromise.promise];
|
|
375
|
+
case 1:
|
|
376
|
+
_b.sent();
|
|
377
|
+
return [2 /*return*/, this.send(ctx, distExports.Page, 'page')];
|
|
378
|
+
}
|
|
379
|
+
});
|
|
380
|
+
});
|
|
381
|
+
};
|
|
382
|
+
LegacyDestination.prototype.identify = function (ctx) {
|
|
383
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
384
|
+
return __generator(this, function (_a) {
|
|
385
|
+
return [2 /*return*/, this.send(ctx, distExports.Identify, 'identify')];
|
|
386
|
+
});
|
|
387
|
+
});
|
|
388
|
+
};
|
|
389
|
+
LegacyDestination.prototype.alias = function (ctx) {
|
|
390
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
391
|
+
return __generator(this, function (_a) {
|
|
392
|
+
return [2 /*return*/, this.send(ctx, distExports.Alias, 'alias')];
|
|
393
|
+
});
|
|
394
|
+
});
|
|
395
|
+
};
|
|
396
|
+
LegacyDestination.prototype.group = function (ctx) {
|
|
397
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
398
|
+
return __generator(this, function (_a) {
|
|
399
|
+
return [2 /*return*/, this.send(ctx, distExports.Group, 'group')];
|
|
400
|
+
});
|
|
401
|
+
});
|
|
402
|
+
};
|
|
403
|
+
LegacyDestination.prototype.scheduleFlush = function () {
|
|
404
|
+
var _this = this;
|
|
405
|
+
if (this.flushing) {
|
|
406
|
+
return;
|
|
407
|
+
}
|
|
408
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
|
409
|
+
setTimeout(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
410
|
+
var _a;
|
|
411
|
+
return __generator(this, function (_b) {
|
|
412
|
+
switch (_b.label) {
|
|
413
|
+
case 0:
|
|
414
|
+
if (isOffline() || this._ready !== true || this._initialized !== true) {
|
|
415
|
+
this.scheduleFlush();
|
|
416
|
+
return [2 /*return*/];
|
|
417
|
+
}
|
|
418
|
+
this.flushing = true;
|
|
419
|
+
_a = this;
|
|
420
|
+
return [4 /*yield*/, flushQueue(this, this.buffer)];
|
|
421
|
+
case 1:
|
|
422
|
+
_a.buffer = _b.sent();
|
|
423
|
+
this.flushing = false;
|
|
424
|
+
if (this.buffer.todo > 0) {
|
|
425
|
+
this.scheduleFlush();
|
|
426
|
+
}
|
|
427
|
+
return [2 /*return*/];
|
|
428
|
+
}
|
|
429
|
+
});
|
|
430
|
+
}); }, Math.random() * 5000);
|
|
431
|
+
};
|
|
432
|
+
return LegacyDestination;
|
|
433
|
+
}());
|
|
434
|
+
function ajsDestinations(writeKey, settings, integrations, options, routingMiddleware, legacyIntegrationSources) {
|
|
435
|
+
var _a, _b;
|
|
436
|
+
if (integrations === void 0) { integrations = {}; }
|
|
437
|
+
if (options === void 0) { options = {}; }
|
|
438
|
+
if (isServer()) {
|
|
439
|
+
return [];
|
|
440
|
+
}
|
|
441
|
+
if (settings.plan) {
|
|
442
|
+
options = options !== null && options !== void 0 ? options : {};
|
|
443
|
+
options.plan = settings.plan;
|
|
444
|
+
}
|
|
445
|
+
var routingRules = (_b = (_a = settings.middlewareSettings) === null || _a === void 0 ? void 0 : _a.routingRules) !== null && _b !== void 0 ? _b : [];
|
|
446
|
+
var remoteIntegrationsConfig = settings.integrations;
|
|
447
|
+
var localIntegrationsConfig = options.integrations;
|
|
448
|
+
// merged remote CDN settings with user provided options
|
|
449
|
+
var integrationOptions = mergedOptions(settings, options !== null && options !== void 0 ? options : {});
|
|
450
|
+
var adhocIntegrationSources = legacyIntegrationSources === null || legacyIntegrationSources === void 0 ? void 0 : legacyIntegrationSources.reduce(function (acc, integrationSource) {
|
|
451
|
+
var _a;
|
|
452
|
+
return (__assign(__assign({}, acc), (_a = {}, _a[resolveIntegrationNameFromSource(integrationSource)] = integrationSource, _a)));
|
|
453
|
+
}, {});
|
|
454
|
+
var installableIntegrations = new Set(__spreadArray(__spreadArray([], Object.keys(remoteIntegrationsConfig).filter(function (name) {
|
|
455
|
+
return isInstallableIntegration(name, remoteIntegrationsConfig[name]);
|
|
456
|
+
}), true), Object.keys(adhocIntegrationSources || {}).filter(function (name) {
|
|
457
|
+
return isPlainObject(remoteIntegrationsConfig[name]) ||
|
|
458
|
+
isPlainObject(localIntegrationsConfig === null || localIntegrationsConfig === void 0 ? void 0 : localIntegrationsConfig[name]);
|
|
459
|
+
}), true));
|
|
460
|
+
return Array.from(installableIntegrations)
|
|
461
|
+
.filter(function (name) { return !isDisabledIntegration(name, integrations); })
|
|
462
|
+
.map(function (name) {
|
|
463
|
+
var integrationSettings = remoteIntegrationsConfig[name];
|
|
464
|
+
var version = resolveVersion(integrationSettings);
|
|
465
|
+
var destination = new LegacyDestination(name, version, writeKey, integrationOptions[name], options, adhocIntegrationSources === null || adhocIntegrationSources === void 0 ? void 0 : adhocIntegrationSources[name]);
|
|
466
|
+
var routing = routingRules.filter(function (rule) { return rule.destinationName === name; });
|
|
467
|
+
if (routing.length > 0 && routingMiddleware) {
|
|
468
|
+
destination.addMiddleware(routingMiddleware);
|
|
469
|
+
}
|
|
470
|
+
return destination;
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export { LegacyDestination, ajsDestinations };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as jsx, G as Global, e as css, g as __makeTemplateObject, _ as __assign, c as __read, s as isMobile, p as featheryWindow, t as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, k as __rest,
|
|
1
|
+
import { a as jsx, G as Global, e as css, g as __makeTemplateObject, _ as __assign, c as __read, s as isMobile, p as featheryWindow, t as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, k as __rest, av as formatDateString } from './fthry_index.BoXwpo3p.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useMemo, useLayoutEffect, cloneElement, createRef, Component, useRef, useCallback, useEffect, createElement, memo, useState } from 'react';
|
|
4
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
5
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
+
import { P as Placeholder } from './fthry_Placeholder.DXrZi2ze.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DAaWNMEQ.js';
|
|
6
6
|
import { c as clsx } from './fthry_clsx.ChV9xqsO.js';
|
|
7
7
|
import { jsxs, jsx as jsx$1 } from 'react/jsx-runtime';
|
|
8
8
|
import * as ReactDOM from 'react-dom';
|
|
9
9
|
import ReactDOM__default from 'react-dom';
|
|
10
|
-
import { a as IMask, I as IMaskInput } from './fthry_input.
|
|
10
|
+
import { a as IMask, I as IMaskInput } from './fthry_input.Y2HVhQeo.js';
|
|
11
11
|
import 'react-dom/client';
|
|
12
12
|
import 'jszip';
|
|
13
|
-
import './fthry_Overlay.
|
|
14
|
-
import './fthry_index.
|
|
13
|
+
import './fthry_Overlay.C500WG6U.js';
|
|
14
|
+
import './fthry_index.DA5HHbVe.js';
|
|
15
15
|
|
|
16
16
|
var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
|
|
17
17
|
var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
|