coral-plus 0.0.6 → 0.0.7
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/coralPlus.js +1 -1
- package/package.json +1 -1
package/dist/coralPlus.js
CHANGED
|
@@ -32805,7 +32805,7 @@ function TH() {
|
|
|
32805
32805
|
return AH[Insider?.browser?.getPlatform()];
|
|
32806
32806
|
}
|
|
32807
32807
|
function RH(e) {
|
|
32808
|
-
const t = TH(), n = (s) => s === "services" ? e?.services : s === "name" ? insider_object?.user?.name : s === "email" ? insider_object?.user?.email : s === "marketingConsent" ? `${e?.formData?.marketingConsent}` : s === "tripStartDate" ? new Date(e?.formData?.tripPeriod[0]).toISOString().replace(".000Z", "Z") : s === "tripEndDate" ? new Date(e?.formData?.tripPeriod[1]).toISOString().replace(".000Z", "Z") : `${e?.formData?.[s] ?? ""}`, a = (s) => s === "email" ? "email" : s === "marketingConsent" ? "lead-collection-opt-in" : s === "name" ? "na" : "none", i = (s) => s === "marketingConsent" ? "checkbox" : "text";
|
|
32808
|
+
const t = TH(), n = (s) => s === "services" ? e?.services?.join(", ") : s === "name" ? insider_object?.user?.name : s === "email" ? insider_object?.user?.email : s === "marketingConsent" ? `${e?.formData?.marketingConsent}` : s === "tripStartDate" ? new Date(e?.formData?.tripPeriod[0]).toISOString().replace(".000Z", "Z") : s === "tripEndDate" ? new Date(e?.formData?.tripPeriod[1]).toISOString().replace(".000Z", "Z") : `${e?.formData?.[s] ?? ""}`, a = (s) => s === "email" ? "email" : s === "marketingConsent" ? "lead-collection-opt-in" : s === "name" ? "na" : "none", i = (s) => s === "marketingConsent" ? "checkbox" : "text";
|
|
32809
32809
|
return Object.entries(t).map(([s, u]) => ({
|
|
32810
32810
|
type: "text",
|
|
32811
32811
|
id: u,
|