@inploi/plugin-chatbot 14.14.0 → 14.15.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/README.md +8 -2
- package/cdn/index.js +6 -6
- package/dist/{chatbot-body-ae10ed7d.cjs → chatbot-body-4f5e817b.cjs} +2 -2
- package/dist/{chatbot-body-1dc31e4a.js → chatbot-body-e11d7ba9.js} +361 -348
- package/dist/chatbot.context.test.d.ts +1 -0
- package/dist/chatbot.d.ts +3 -1
- package/dist/chatbot.state.d.ts +4 -2
- package/dist/{index-10c0dfc6.js → index-8afa7a59.js} +735 -729
- package/dist/index-f26ac3c8.cjs +5 -0
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +1 -1
- package/package.json +3 -3
- package/dist/index-1b25fb45.cjs +0 -5
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { endpoint as
|
|
1
|
+
import { endpoint as Di, typed as Ha, createPlugin as Ua, createTalentBankClient as Wa, ApiError as Va } from "@inploi/sdk";
|
|
2
2
|
var J;
|
|
3
|
-
function
|
|
3
|
+
function Ni(t) {
|
|
4
4
|
return { lang: (t == null ? void 0 : t.lang) ?? (J == null ? void 0 : J.lang), message: t == null ? void 0 : t.message, abortEarly: (t == null ? void 0 : t.abortEarly) ?? (J == null ? void 0 : J.abortEarly), abortPipeEarly: (t == null ? void 0 : t.abortPipeEarly) ?? (J == null ? void 0 : J.abortPipeEarly) };
|
|
5
5
|
}
|
|
6
6
|
var Qt;
|
|
7
|
-
function
|
|
7
|
+
function Ya(t) {
|
|
8
8
|
return Qt == null ? void 0 : Qt.get(t);
|
|
9
9
|
}
|
|
10
10
|
var te;
|
|
11
|
-
function
|
|
11
|
+
function Ka(t) {
|
|
12
12
|
return te == null ? void 0 : te.get(t);
|
|
13
13
|
}
|
|
14
14
|
var ee;
|
|
15
|
-
function
|
|
15
|
+
function qa(t, e) {
|
|
16
16
|
var i;
|
|
17
17
|
return (i = ee == null ? void 0 : ee.get(t)) == null ? void 0 : i.get(e);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function Fi(t) {
|
|
20
20
|
var i, a;
|
|
21
21
|
let e = typeof t;
|
|
22
22
|
return e === "string" ? `"${t}"` : e === "number" || e === "bigint" || e === "boolean" ? `${t}` : e === "object" || e === "function" ? (t && ((a = (i = Object.getPrototypeOf(t)) == null ? void 0 : i.constructor) == null ? void 0 : a.name)) ?? "null" : e;
|
|
23
23
|
}
|
|
24
24
|
function Y(t, e, i, a, o) {
|
|
25
|
-
let n = o && "input" in o ? o.input : i.value, r = (o == null ? void 0 : o.expected) ?? t.expects ?? null, s = (o == null ? void 0 : o.received) ??
|
|
25
|
+
let n = o && "input" in o ? o.input : i.value, r = (o == null ? void 0 : o.expected) ?? t.expects ?? null, s = (o == null ? void 0 : o.received) ?? Fi(n), l = { kind: t.kind, type: t.type, input: n, expected: r, received: s, message: `Invalid ${e}: ${r ? `Expected ${r} but r` : "R"}eceived ${s}`, requirement: t.requirement, path: o == null ? void 0 : o.path, issues: o == null ? void 0 : o.issues, lang: a.lang, abortEarly: a.abortEarly, abortPipeEarly: a.abortPipeEarly }, d = t.kind === "schema", u = (o == null ? void 0 : o.message) ?? t.message ?? qa(t.reference, l.lang) ?? (d ? Ka(l.lang) : null) ?? a.message ?? Ya(l.lang);
|
|
26
26
|
u !== void 0 && (l.message = typeof u == "function" ? u(l) : u), d && (i.typed = !1), i.issues ? i.issues.push(l) : i.issues = [l];
|
|
27
27
|
}
|
|
28
28
|
function M(t) {
|
|
29
29
|
return { version: 1, vendor: "valibot", validate(e) {
|
|
30
|
-
return t["~run"]({ value: e },
|
|
30
|
+
return t["~run"]({ value: e }, Ni());
|
|
31
31
|
} };
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Ga(t, e) {
|
|
34
34
|
return Object.hasOwn(t, e) && e !== "__proto__" && e !== "prototype" && e !== "constructor";
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function Za(t, e) {
|
|
37
37
|
let i = [...new Set(t)];
|
|
38
38
|
return i.length > 1 ? `(${i.join(` ${e} `)})` : i[0] ?? "never";
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
return { kind: "transformation", type: "transform", reference:
|
|
40
|
+
function Mi(t) {
|
|
41
|
+
return { kind: "transformation", type: "transform", reference: Mi, async: !1, operation: t, "~run"(e) {
|
|
42
42
|
return e.value = this.operation(e.value), e;
|
|
43
43
|
} };
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Xa(t, e, i) {
|
|
46
46
|
return typeof t.fallback == "function" ? t.fallback(e, i) : t.fallback;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function Oe(t, e, i) {
|
|
49
49
|
return typeof t.default == "function" ? t.default(e, i) : t.default;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return { kind: "schema", type: "any", reference:
|
|
51
|
+
function Ri() {
|
|
52
|
+
return { kind: "schema", type: "any", reference: Ri, expects: "any", async: !1, get "~standard"() {
|
|
53
53
|
return M(this);
|
|
54
54
|
}, "~run"(t) {
|
|
55
55
|
return t.typed = !0, t;
|
|
56
56
|
} };
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
return { kind: "schema", type: "array", reference:
|
|
58
|
+
function Li(t, e) {
|
|
59
|
+
return { kind: "schema", type: "array", reference: Li, expects: "Array", async: !1, item: t, message: e, get "~standard"() {
|
|
60
60
|
return M(this);
|
|
61
61
|
}, "~run"(i, a) {
|
|
62
62
|
var n;
|
|
@@ -81,22 +81,22 @@ function Fi(t, e) {
|
|
|
81
81
|
return i;
|
|
82
82
|
} };
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
return { kind: "schema", type: "boolean", reference:
|
|
84
|
+
function ze(t) {
|
|
85
|
+
return { kind: "schema", type: "boolean", reference: ze, expects: "boolean", async: !1, message: t, get "~standard"() {
|
|
86
86
|
return M(this);
|
|
87
87
|
}, "~run"(e, i) {
|
|
88
88
|
return typeof e.value == "boolean" ? e.typed = !0 : Y(this, "type", e, i), e;
|
|
89
89
|
} };
|
|
90
90
|
}
|
|
91
91
|
function dt(t, e) {
|
|
92
|
-
return { kind: "schema", type: "literal", reference: dt, expects:
|
|
92
|
+
return { kind: "schema", type: "literal", reference: dt, expects: Fi(t), async: !1, literal: t, message: e, get "~standard"() {
|
|
93
93
|
return M(this);
|
|
94
94
|
}, "~run"(i, a) {
|
|
95
95
|
return i.value === this.literal ? i.typed = !0 : Y(this, "type", i, a), i;
|
|
96
96
|
} };
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
return { kind: "schema", type: "null", reference:
|
|
98
|
+
function Bi(t) {
|
|
99
|
+
return { kind: "schema", type: "null", reference: Bi, expects: "null", async: !1, message: t, get "~standard"() {
|
|
100
100
|
return M(this);
|
|
101
101
|
}, "~run"(e, i) {
|
|
102
102
|
return e.value === null ? e.typed = !0 : Y(this, "type", e, i), e;
|
|
@@ -106,7 +106,7 @@ function Lt(t, e) {
|
|
|
106
106
|
return { kind: "schema", type: "nullable", reference: Lt, expects: `(${t.expects} | null)`, async: !1, wrapped: t, default: e, get "~standard"() {
|
|
107
107
|
return M(this);
|
|
108
108
|
}, "~run"(i, a) {
|
|
109
|
-
return i.value === null && (this.default !== void 0 && (i.value =
|
|
109
|
+
return i.value === null && (this.default !== void 0 && (i.value = Oe(this, i, a)), i.value === null) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
|
|
110
110
|
} };
|
|
111
111
|
}
|
|
112
112
|
function Bt(t) {
|
|
@@ -127,7 +127,7 @@ function I(t, e) {
|
|
|
127
127
|
for (let r in this.entries) {
|
|
128
128
|
let s = this.entries[r];
|
|
129
129
|
if (r in o || (s.type === "exact_optional" || s.type === "optional" || s.type === "nullish") && s.default !== void 0) {
|
|
130
|
-
let l = r in o ? o[r] :
|
|
130
|
+
let l = r in o ? o[r] : Oe(s), d = s["~run"]({ value: l }, a);
|
|
131
131
|
if (d.issues) {
|
|
132
132
|
let u = { type: "object", origin: "value", input: o, key: r, value: l };
|
|
133
133
|
for (let c of d.issues)
|
|
@@ -139,7 +139,7 @@ function I(t, e) {
|
|
|
139
139
|
}
|
|
140
140
|
d.typed || (i.typed = !1), i.value[r] = d.value;
|
|
141
141
|
} else if (s.fallback !== void 0)
|
|
142
|
-
i.value[r] =
|
|
142
|
+
i.value[r] = Xa(s);
|
|
143
143
|
else if (s.type !== "exact_optional" && s.type !== "optional" && s.type !== "nullish" && (Y(this, "key", i, a, { input: void 0, expected: `"${r}"`, path: [{ type: "object", origin: "key", input: o, key: r, value: o[r] }] }), a.abortEarly))
|
|
144
144
|
break;
|
|
145
145
|
}
|
|
@@ -148,15 +148,15 @@ function I(t, e) {
|
|
|
148
148
|
return i;
|
|
149
149
|
} };
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
return { kind: "schema", type: "optional", reference:
|
|
151
|
+
function N(t, e) {
|
|
152
|
+
return { kind: "schema", type: "optional", reference: N, expects: `(${t.expects} | undefined)`, async: !1, wrapped: t, default: e, get "~standard"() {
|
|
153
153
|
return M(this);
|
|
154
154
|
}, "~run"(i, a) {
|
|
155
|
-
return i.value === void 0 && (this.default !== void 0 && (i.value =
|
|
155
|
+
return i.value === void 0 && (this.default !== void 0 && (i.value = Oe(this, i, a)), i.value === void 0) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
|
|
156
156
|
} };
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
return { kind: "schema", type: "record", reference:
|
|
158
|
+
function De(t, e, i) {
|
|
159
|
+
return { kind: "schema", type: "record", reference: De, expects: "Object", async: !1, key: t, value: e, message: i, get "~standard"() {
|
|
160
160
|
return M(this);
|
|
161
161
|
}, "~run"(a, o) {
|
|
162
162
|
var r, s;
|
|
@@ -164,7 +164,7 @@ function Ri(t, e, i) {
|
|
|
164
164
|
if (n && typeof n == "object") {
|
|
165
165
|
a.typed = !0, a.value = {};
|
|
166
166
|
for (let l in n)
|
|
167
|
-
if (
|
|
167
|
+
if (Ga(n, l)) {
|
|
168
168
|
let d = n[l], u = this.key["~run"]({ value: l }, o);
|
|
169
169
|
if (u.issues) {
|
|
170
170
|
let f = { type: "object", origin: "key", input: n, key: l, value: d };
|
|
@@ -192,22 +192,22 @@ function Ri(t, e, i) {
|
|
|
192
192
|
return a;
|
|
193
193
|
} };
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
return { kind: "schema", type: "string", reference:
|
|
195
|
+
function L(t) {
|
|
196
|
+
return { kind: "schema", type: "string", reference: L, expects: "string", async: !1, message: t, get "~standard"() {
|
|
197
197
|
return M(this);
|
|
198
198
|
}, "~run"(e, i) {
|
|
199
199
|
return typeof e.value == "string" ? e.typed = !0 : Y(this, "type", e, i), e;
|
|
200
200
|
} };
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function Ze(t) {
|
|
203
203
|
let e;
|
|
204
204
|
if (t)
|
|
205
205
|
for (let i of t)
|
|
206
206
|
e ? e.push(...i.issues) : e = i.issues;
|
|
207
207
|
return e;
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
return { kind: "schema", type: "union", reference:
|
|
209
|
+
function Ne(t, e) {
|
|
210
|
+
return { kind: "schema", type: "union", reference: Ne, expects: Za(t.map((i) => i.expects), "|"), async: !1, options: t, message: e, get "~standard"() {
|
|
211
211
|
return M(this);
|
|
212
212
|
}, "~run"(i, a) {
|
|
213
213
|
let o, n, r;
|
|
@@ -228,23 +228,23 @@ function Oe(t, e) {
|
|
|
228
228
|
if (n) {
|
|
229
229
|
if (n.length === 1)
|
|
230
230
|
return n[0];
|
|
231
|
-
Y(this, "type", i, a, { issues:
|
|
231
|
+
Y(this, "type", i, a, { issues: Ze(n) }), i.typed = !0;
|
|
232
232
|
} else {
|
|
233
233
|
if ((r == null ? void 0 : r.length) === 1)
|
|
234
234
|
return r[0];
|
|
235
|
-
Y(this, "type", i, a, { issues:
|
|
235
|
+
Y(this, "type", i, a, { issues: Ze(r) });
|
|
236
236
|
}
|
|
237
237
|
return i;
|
|
238
238
|
} };
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
return { kind: "schema", type: "unknown", reference:
|
|
240
|
+
function bt() {
|
|
241
|
+
return { kind: "schema", type: "unknown", reference: bt, expects: "unknown", async: !1, get "~standard"() {
|
|
242
242
|
return M(this);
|
|
243
243
|
}, "~run"(t) {
|
|
244
244
|
return t.typed = !0, t;
|
|
245
245
|
} };
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function Ja(...t) {
|
|
248
248
|
return { ...t[0], pipe: t, get "~standard"() {
|
|
249
249
|
return M(this);
|
|
250
250
|
}, "~run"(e, i) {
|
|
@@ -260,32 +260,32 @@ function Za(...t) {
|
|
|
260
260
|
} };
|
|
261
261
|
}
|
|
262
262
|
function Gt(t, e, i) {
|
|
263
|
-
let a = t["~run"]({ value: e },
|
|
263
|
+
let a = t["~run"]({ value: e }, Ni(i));
|
|
264
264
|
return { typed: a.typed, success: !a.issues, output: a.value, issues: a.issues };
|
|
265
265
|
}
|
|
266
|
-
var
|
|
267
|
-
function
|
|
266
|
+
var Qa = (t) => ({ ok: !0, err: !1, val: t }), to = (t) => ({ err: !0, ok: !1, val: t }), Fe = (t) => t.filter((e) => (e.type === "question-boolean" || e.type === "question-enum") && !!e.data.preApply);
|
|
267
|
+
function eo(t, e, i) {
|
|
268
268
|
var r, s;
|
|
269
269
|
let a = t.find((l) => l.type === "pre-apply-result");
|
|
270
270
|
if (!a)
|
|
271
271
|
return;
|
|
272
272
|
let o = (r = e[a.data.participationKey]) == null ? void 0 : r.value, n = {};
|
|
273
273
|
if (o === !0)
|
|
274
|
-
for (let l of
|
|
274
|
+
for (let l of Fe(t)) {
|
|
275
275
|
let d = (s = e[l.data.key]) == null ? void 0 : s.value;
|
|
276
276
|
Array.isArray(d) && d.length === 1 && (d = d[0]), (typeof d == "boolean" || typeof d == "string") && (n[l.data.key] = d);
|
|
277
277
|
}
|
|
278
278
|
return { node_id: a.id, flow_session_id: i, participation: o, answers: n };
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
let i =
|
|
280
|
+
function Er(t, e) {
|
|
281
|
+
let i = eo(t, e, ""), a = Fe(t).map((n) => {
|
|
282
282
|
let r = n.data.preApply, s = i == null ? void 0 : i.answers[n.data.key], l = n.type === "question-boolean" ? typeof s == "boolean" : n.data.options.some((d) => d.value === s);
|
|
283
283
|
return { key: n.data.key, severity: r.severity, message: r.mismatchMessage, matched: l && s === r.expectedValue, valid: l };
|
|
284
284
|
}), o = (i == null ? void 0 : i.participation) === !1 ? "skipped" : (i == null ? void 0 : i.participation) === !0 && a.length > 0 && a.every((n) => n.valid) ? "completed" : "unavailable";
|
|
285
285
|
return { status: o, hasHardConcerns: o === "completed" ? a.some((n) => !n.matched && n.severity === "hard") : null, hasAdvisoryConcerns: o === "completed" ? a.some((n) => !n.matched && n.severity === "advisory") : null, answers: o === "completed" ? a : [] };
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
let i = new Set(
|
|
287
|
+
function Pr(t, e) {
|
|
288
|
+
let i = new Set(Fe(t).map((a) => a.data.key));
|
|
289
289
|
for (let a of t)
|
|
290
290
|
a.type === "pre-apply-result" && (i.add(a.data.key), i.add(a.data.participationKey));
|
|
291
291
|
return Object.fromEntries(Object.entries(e).filter(([a]) => !i.has(a)));
|
|
@@ -294,7 +294,7 @@ var ht = class extends Error {
|
|
|
294
294
|
constructor() {
|
|
295
295
|
super("Aborted");
|
|
296
296
|
}
|
|
297
|
-
},
|
|
297
|
+
}, Hi = (t, e) => {
|
|
298
298
|
if (e.length === 0)
|
|
299
299
|
return;
|
|
300
300
|
let i = t;
|
|
@@ -304,27 +304,27 @@ var ht = class extends Error {
|
|
|
304
304
|
i = i[a];
|
|
305
305
|
}
|
|
306
306
|
return i;
|
|
307
|
-
},
|
|
307
|
+
}, Ir = (t, e = "all") => {
|
|
308
308
|
let i = {}, a = e === "all" ? null : new Set(e);
|
|
309
309
|
for (let o in t) {
|
|
310
310
|
let n = t[o];
|
|
311
311
|
n && (a && !a.has(o) || (i[o] = n.value));
|
|
312
312
|
}
|
|
313
313
|
return i;
|
|
314
|
-
},
|
|
314
|
+
}, Ui = (t, e) => {
|
|
315
315
|
let i = new Set(t.flatMap((a) => a.type === "add-submission" ? [a.data.key] : []));
|
|
316
316
|
return Object.entries(e).some(([a, o]) => o !== void 0 && o.type !== "integration" && !i.has(a));
|
|
317
|
-
},
|
|
317
|
+
}, jr = ({ key: t, submissions: e }) => {
|
|
318
318
|
var a;
|
|
319
319
|
let i = (a = e[t]) == null ? void 0 : a.value;
|
|
320
320
|
if (typeof i != "string" && typeof i != "number")
|
|
321
321
|
throw new Error(`Submission at “${t}” is not a string or number`);
|
|
322
322
|
return i;
|
|
323
|
-
},
|
|
323
|
+
}, Ar = ({ key: t, path: e, submissions: i, context: a }) => {
|
|
324
324
|
if (t === "$context") {
|
|
325
325
|
if (!e)
|
|
326
326
|
return;
|
|
327
|
-
let o =
|
|
327
|
+
let o = Hi(a, e);
|
|
328
328
|
switch (typeof o) {
|
|
329
329
|
case "string":
|
|
330
330
|
return { type: "string", value: o };
|
|
@@ -338,58 +338,58 @@ var ht = class extends Error {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
return i[t];
|
|
341
|
-
},
|
|
341
|
+
}, io = (t) => {
|
|
342
342
|
let e = t.split(".").pop();
|
|
343
|
-
return e ?
|
|
344
|
-
},
|
|
343
|
+
return e ? Qa(e ? "." + e : "") : to("No file extension found");
|
|
344
|
+
}, Or = (t, e) => {
|
|
345
345
|
if (e.length === 0)
|
|
346
346
|
return !0;
|
|
347
347
|
let i = e.map((a) => a.toLowerCase());
|
|
348
348
|
return t.every((a) => {
|
|
349
|
-
let o =
|
|
349
|
+
let o = io(a.name);
|
|
350
350
|
return o.ok && i.includes(o.val.toLowerCase());
|
|
351
351
|
});
|
|
352
|
-
},
|
|
353
|
-
let e = Gt(
|
|
354
|
-
if (!e.success ||
|
|
352
|
+
}, zr = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, Dr = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, ao = I({ integration_response: I({ data: I({ redirect_url: L(), message: N(Lt(L())), button_text: N(Lt(L())) }) }) }), oo = (t) => Gt(ao, t).success, no = I({ integration_response: I({ status: N(bt()), error: I({ message: L(), data: N(bt()) }) }) }), Wi = (t) => Gt(no, t).success, ro = I({ success: dt(!0), integration_response: I({ data: I({ outcome: dt("pending"), message: N(bt()) }), error: N(Bi()) }) }), so = (t) => {
|
|
353
|
+
let e = Gt(ro, t);
|
|
354
|
+
if (!e.success || oo(t))
|
|
355
355
|
return;
|
|
356
356
|
let { message: i } = e.output.integration_response.data;
|
|
357
357
|
return typeof i == "string" && i.trim() ? { message: i } : {};
|
|
358
358
|
};
|
|
359
|
-
I({ success: dt(!1), message:
|
|
360
|
-
var
|
|
361
|
-
if (!
|
|
359
|
+
I({ success: dt(!1), message: N(bt()) });
|
|
360
|
+
var lo = I({ error: dt("Validation failed"), messages: I({}) }), Nr = (t, e) => e === 422 && Gt(lo, t).success, Fr = (t, e) => {
|
|
361
|
+
if (!Wi(t))
|
|
362
362
|
return;
|
|
363
363
|
let i = t.integration_response, a = i.error.data, o = typeof a == "object" && a !== null ? a : {}, n = (h) => typeof o[h] == "string" ? o[h] : void 0, r = (h) => typeof o[h] == "boolean" ? o[h] : void 0, s = (h) => {
|
|
364
364
|
let g = o[h];
|
|
365
365
|
return Number.isSafeInteger(g) && g >= 0 ? g : void 0;
|
|
366
366
|
}, l = (h) => {
|
|
367
|
-
let g = n(h),
|
|
368
|
-
return Number.isFinite(
|
|
367
|
+
let g = n(h), O = g === void 0 ? NaN : Date.parse(g);
|
|
368
|
+
return Number.isFinite(O) ? O : void 0;
|
|
369
369
|
}, d = typeof i.status == "number" ? i.status : e, u = n("phase"), c = n("verdict"), f = n("code"), b = d === 409 && u === "submit" && c === "confirmed" ? "duplicate" : d === 410 && f === "job_closed" ? "closed" : u === "submit" && c === "unknown" ? "unknown" : void 0;
|
|
370
370
|
return { message: i.error.message, status: d, phase: u, providerStatus: s("provider_status"), retryAfterSeconds: s("retry_after_seconds"), retryable: r("retryable"), verdict: c, code: f, reason: n("reason"), maintenanceUntil: l("maintenance_until"), field: n("field"), outcome: b };
|
|
371
|
-
},
|
|
371
|
+
}, co = 3e4, uo = 2e4, po = 6e4, ho = 12e4, fo = 6 * 60 * 6e4, Mr = 60 * 6e4, Vi = (t) => {
|
|
372
372
|
let e = (t == null ? void 0 : t.reason) === "provider_maintenance" ? t.maintenanceUntil : void 0, i = e === void 0 ? 0 : e - Date.now();
|
|
373
|
-
return i > 0 && i <=
|
|
374
|
-
},
|
|
373
|
+
return i > 0 && i <= fo ? e : void 0;
|
|
374
|
+
}, Rr = (t) => {
|
|
375
375
|
if ((t == null ? void 0 : t.reason) !== "provider_maintenance" || t.outcome === "unknown")
|
|
376
376
|
return;
|
|
377
|
-
let e =
|
|
377
|
+
let e = Vi(t);
|
|
378
378
|
return e === void 0 ? {} : { until: e };
|
|
379
|
-
},
|
|
380
|
-
let i =
|
|
379
|
+
}, Lr = (t, e) => new Intl.DateTimeFormat(e, { hour: "numeric", minute: "2-digit" }).format(t), Br = (t, e) => {
|
|
380
|
+
let i = Vi(e);
|
|
381
381
|
if (i !== void 0)
|
|
382
382
|
return { waitMs: i - Date.now(), throttles: (t ?? 0) + 1, maintenance: !0 };
|
|
383
383
|
if (!((e == null ? void 0 : e.reason) === "provider_maintenance" || (e == null ? void 0 : e.retryable) === !0 && (e.providerStatus === 429 || e.providerStatus !== void 0 && e.providerStatus >= 500 || e.phase === "workflow" && e.verdict === "not_submitted")))
|
|
384
|
-
return { waitMs:
|
|
385
|
-
let a = (t ?? 0) + 1, o = Math.min(a *
|
|
386
|
-
return { waitMs: Math.min(Math.max(o, n),
|
|
387
|
-
},
|
|
388
|
-
if (!
|
|
384
|
+
return { waitMs: co };
|
|
385
|
+
let a = (t ?? 0) + 1, o = Math.min(a * uo, po), n = (e.retryAfterSeconds ?? 0) * 1e3;
|
|
386
|
+
return { waitMs: Math.min(Math.max(o, n), ho), throttles: a };
|
|
387
|
+
}, Hr = (t) => (t == null ? void 0 : t.code) === "captcha_failed" && t.verdict === "not_submitted", Ur = (t) => {
|
|
388
|
+
if (!Wi(t))
|
|
389
389
|
return !1;
|
|
390
390
|
let e = t.integration_response.error.data;
|
|
391
391
|
return typeof e == "object" && e !== null && "fallback" in e && e.fallback === "contact";
|
|
392
|
-
},
|
|
392
|
+
}, Wr = (t) => ((t == null ? void 0 : t.phase) === "workflow" || (t == null ? void 0 : t.phase) === "authentication" || (t == null ? void 0 : t.code) === "captcha_failed") && t.retryable === !0 && t.verdict === "not_submitted", Vr = (t) => (t == null ? void 0 : t.outcome) === "unknown" && t.code === "repeatable_provider_crash", Yr = (t) => (t == null ? void 0 : t.phase) === "submit" && t.verdict === "confirmed" && t.code === "unreadable_document" && typeof t.field == "string" && t.status !== void 0 && t.status >= 400 && t.status < 500 ? t.field : void 0, Kr = (t, e) => {
|
|
393
393
|
if (typeof t != "object" || t === null)
|
|
394
394
|
return null;
|
|
395
395
|
let i = t.integration_response;
|
|
@@ -406,30 +406,33 @@ var ro = I({ error: dt("Validation failed"), messages: I({}) }), Dr = (t, e) =>
|
|
|
406
406
|
if (!o && !r)
|
|
407
407
|
return null;
|
|
408
408
|
let s = o ? a.data : n.data ?? null;
|
|
409
|
-
return { service: a.service ?? "INVALID_SERVICE", response: { status: a.status, payload: s }, ...
|
|
410
|
-
},
|
|
409
|
+
return { service: a.service ?? "INVALID_SERVICE", response: { status: a.status, payload: s }, ...so(t) && { outcome: "pending" } };
|
|
410
|
+
}, wo = (t) => {
|
|
411
411
|
if (!/^\d{4}-\d{2}-\d{2}$/.test(t))
|
|
412
412
|
return !1;
|
|
413
413
|
let e = /* @__PURE__ */ new Date(`${t}T00:00:00Z`);
|
|
414
414
|
return Number.isFinite(e.getTime()) && e.toISOString().slice(0, 10) === t;
|
|
415
|
-
},
|
|
416
|
-
if (!
|
|
415
|
+
}, qr = (t, e) => {
|
|
416
|
+
if (!wo(t))
|
|
417
417
|
throw new RangeError("Invalid ISO calendar date");
|
|
418
418
|
return new Intl.DateTimeFormat(e, { dateStyle: "long", timeZone: "UTC" }).format(/* @__PURE__ */ new Date(`${t}T00:00:00Z`));
|
|
419
|
-
},
|
|
419
|
+
}, Gr = (t) => new Promise((e, i) => {
|
|
420
420
|
let a = new FileReader();
|
|
421
421
|
a.onload = () => {
|
|
422
422
|
if (typeof a.result != "string" || !a.result)
|
|
423
423
|
return i(new Error("Invalid file"));
|
|
424
424
|
e(a.result);
|
|
425
425
|
}, a.onerror = i, a.readAsDataURL(t);
|
|
426
|
-
}),
|
|
426
|
+
}), Xe = (t) => typeof t == "object" && t !== null && (Object.getPrototypeOf(t) === Object.prototype || Object.getPrototypeOf(t) === null), Me = (t, e) => t ? { ...t, ...Object.fromEntries(Object.entries(e).filter(([, i]) => i !== void 0).map(([i, a]) => {
|
|
427
|
+
let o = t[i];
|
|
428
|
+
return [i, Xe(o) && Xe(a) ? Me(o, a) : a];
|
|
429
|
+
})) } : e, go = ({ context: t, schema: e, logger: i }) => {
|
|
427
430
|
if (e)
|
|
428
431
|
for (let a in e) {
|
|
429
432
|
let o = e[a];
|
|
430
433
|
if (!o)
|
|
431
434
|
continue;
|
|
432
|
-
let n =
|
|
435
|
+
let n = Hi(t, a.split("."));
|
|
433
436
|
if (o.required && n == null) {
|
|
434
437
|
let r = `Configuration error in context: ${a} is required`;
|
|
435
438
|
throw i.error(r), new Error(r);
|
|
@@ -448,30 +451,30 @@ var ro = I({ error: dt("Validation failed"), messages: I({}) }), Dr = (t, e) =>
|
|
|
448
451
|
o.type;
|
|
449
452
|
}
|
|
450
453
|
}
|
|
451
|
-
},
|
|
454
|
+
}, Yi = Ja(Ne([L(), Bt()]), Mi(String)), Ki = I({ id: Yi, version: Bt(), build: Bt(), nodes: Li(Ri()), context_schema: N(Lt(De(L(), I({ required: ze(), type: Ne([dt("string"), dt("number")]) })))) }), bo = I({ flow: Ki }), vo = I({ company: I({ name: L() }), context: N(De(L(), bt())), flow: Ki, job: I({ id: Yi, title: L() }), user: N(I({ city: N(L()), country: N(L()), isEU: N(ze()), continent: N(L()) })) }), _o = (t, e) => ({ id: t.job.id, id_type: (e == null ? void 0 : e.idType) === "internal" && e.id === t.job.id ? "internal" : "external" }), mo = Di({ pathname: "/flow/job/:id", method: "GET", schema: { searchParams: Ha(), response: vo } }), yo = Di({ pathname: "/flow/id/:id", method: "GET", schema: { response: bo } }), At, w, qi, Gi, lt, Je, Zi, he, Xi, wt = {}, Ji = [], xo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Zt = Array.isArray;
|
|
452
455
|
function Q(t, e) {
|
|
453
456
|
for (var i in e)
|
|
454
457
|
t[i] = e[i];
|
|
455
458
|
return t;
|
|
456
459
|
}
|
|
457
|
-
function
|
|
460
|
+
function Qi(t) {
|
|
458
461
|
var e = t.parentNode;
|
|
459
462
|
e && e.removeChild(t);
|
|
460
463
|
}
|
|
461
|
-
function
|
|
464
|
+
function B(t, e, i) {
|
|
462
465
|
var a, o, n, r = {};
|
|
463
466
|
for (n in e)
|
|
464
467
|
n == "key" ? a = e[n] : n == "ref" ? o = e[n] : r[n] = e[n];
|
|
465
|
-
if (arguments.length > 2 && (r.children = arguments.length > 3 ?
|
|
468
|
+
if (arguments.length > 2 && (r.children = arguments.length > 3 ? At.call(arguments, 2) : i), typeof t == "function" && t.defaultProps != null)
|
|
466
469
|
for (n in t.defaultProps)
|
|
467
470
|
r[n] === void 0 && (r[n] = t.defaultProps[n]);
|
|
468
|
-
return
|
|
471
|
+
return St(t, r, a, o, null);
|
|
469
472
|
}
|
|
470
|
-
function
|
|
471
|
-
var n = { type: t, props: e, key: i, ref: a, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: o ?? ++
|
|
473
|
+
function St(t, e, i, a, o) {
|
|
474
|
+
var n = { type: t, props: e, key: i, ref: a, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: o ?? ++qi };
|
|
472
475
|
return o == null && w.vnode != null && w.vnode(n), n;
|
|
473
476
|
}
|
|
474
|
-
function
|
|
477
|
+
function ko() {
|
|
475
478
|
return { current: null };
|
|
476
479
|
}
|
|
477
480
|
function K(t) {
|
|
@@ -488,7 +491,7 @@ function Ht(t, e) {
|
|
|
488
491
|
return i.__e;
|
|
489
492
|
return typeof t.type == "function" ? Ht(t) : null;
|
|
490
493
|
}
|
|
491
|
-
function
|
|
494
|
+
function ta(t) {
|
|
492
495
|
var e, i;
|
|
493
496
|
if ((t = t.__) != null && t.__c != null) {
|
|
494
497
|
for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++)
|
|
@@ -496,28 +499,28 @@ function Ji(t) {
|
|
|
496
499
|
t.__e = t.__c.base = i.__e;
|
|
497
500
|
break;
|
|
498
501
|
}
|
|
499
|
-
return
|
|
502
|
+
return ta(t);
|
|
500
503
|
}
|
|
501
504
|
}
|
|
502
505
|
function fe(t) {
|
|
503
|
-
(!t.__d && (t.__d = !0) && lt.push(t) && !Ut.__r++ ||
|
|
506
|
+
(!t.__d && (t.__d = !0) && lt.push(t) && !Ut.__r++ || Je !== w.debounceRendering) && ((Je = w.debounceRendering) || Zi)(Ut);
|
|
504
507
|
}
|
|
505
508
|
function Ut() {
|
|
506
509
|
var t, e, i, a, o, n, r, s, l;
|
|
507
510
|
for (lt.sort(he); t = lt.shift(); )
|
|
508
|
-
t.__d && (e = lt.length, a = void 0, o = void 0, n = void 0, s = (r = (i = t).__v).__e, (l = i.__P) && (a = [], o = [], (n = Q({}, r)).__v = r.__v + 1,
|
|
511
|
+
t.__d && (e = lt.length, a = void 0, o = void 0, n = void 0, s = (r = (i = t).__v).__e, (l = i.__P) && (a = [], o = [], (n = Q({}, r)).__v = r.__v + 1, Re(l, r, n, i.__n, l.ownerSVGElement !== void 0, r.__h != null ? [s] : null, a, s ?? Ht(r), r.__h, o), oa(a, r, o), r.__e != s && ta(r)), lt.length > e && lt.sort(he));
|
|
509
512
|
Ut.__r = 0;
|
|
510
513
|
}
|
|
511
|
-
function
|
|
512
|
-
var c, f, b, h, g,
|
|
513
|
-
for (i.__k = [], c = 0; c <
|
|
514
|
-
(h = i.__k[c] = (h = e[c]) == null || typeof h == "boolean" || typeof h == "function" ? null : typeof h == "string" || typeof h == "number" || typeof h == "bigint" ?
|
|
515
|
-
for (i.__e =
|
|
516
|
-
y[c] != null && (typeof i.type == "function" && y[c].__e != null && y[c].__e == i.__d && (i.__d = y[c].__e.nextSibling),
|
|
514
|
+
function ea(t, e, i, a, o, n, r, s, l, d, u) {
|
|
515
|
+
var c, f, b, h, g, O, k, P, v, _, x = 0, y = a && a.__k || Ji, R = y.length, q = R, A = e.length;
|
|
516
|
+
for (i.__k = [], c = 0; c < A; c++)
|
|
517
|
+
(h = i.__k[c] = (h = e[c]) == null || typeof h == "boolean" || typeof h == "function" ? null : typeof h == "string" || typeof h == "number" || typeof h == "bigint" ? St(null, h, null, null, h) : Zt(h) ? St(K, { children: h }, null, null, null) : h.__b > 0 ? St(h.type, h.props, h.key, h.ref ? h.ref : null, h.__v) : h) != null && (h.__ = i, h.__b = i.__b + 1, (P = $o(h, y, k = c + x, q)) === -1 ? b = wt : (b = y[P] || wt, y[P] = void 0, q--), Re(t, h, b, o, n, r, s, l, d, u), g = h.__e, (f = h.ref) && b.ref != f && (b.ref && Le(b.ref, null, h), u.push(f, h.__c || g, h)), g != null && (O == null && (O = g), _ = !(v = b === wt || b.__v === null) && P === k, v ? P == -1 && x-- : P !== k && (P === k + 1 ? (x++, _ = !0) : P > k ? q > A - k ? (x += P - k, _ = !0) : x-- : x = P < k && P == k - 1 ? P - k : 0), k = c + x, _ = _ || P == c && !v, typeof h.type != "function" || P === k && b.__k !== h.__k ? typeof h.type == "function" || _ ? h.__d !== void 0 ? (l = h.__d, h.__d = void 0) : l = g.nextSibling : l = aa(t, g, l) : l = ia(h, l, t), typeof i.type == "function" && (i.__d = l)));
|
|
518
|
+
for (i.__e = O, c = R; c--; )
|
|
519
|
+
y[c] != null && (typeof i.type == "function" && y[c].__e != null && y[c].__e == i.__d && (i.__d = y[c].__e.nextSibling), na(y[c], y[c]));
|
|
517
520
|
}
|
|
518
|
-
function
|
|
521
|
+
function ia(t, e, i) {
|
|
519
522
|
for (var a, o = t.__k, n = 0; o && n < o.length; n++)
|
|
520
|
-
(a = o[n]) && (a.__ = t, e = typeof a.type == "function" ?
|
|
523
|
+
(a = o[n]) && (a.__ = t, e = typeof a.type == "function" ? ia(a, e, i) : aa(i, a.__e, e));
|
|
521
524
|
return e;
|
|
522
525
|
}
|
|
523
526
|
function tt(t, e) {
|
|
@@ -525,10 +528,10 @@ function tt(t, e) {
|
|
|
525
528
|
tt(i, e);
|
|
526
529
|
}) : e.push(t)), e;
|
|
527
530
|
}
|
|
528
|
-
function
|
|
531
|
+
function aa(t, e, i) {
|
|
529
532
|
return i == null || i.parentNode !== t ? t.insertBefore(e, null) : e == i && e.parentNode != null || t.insertBefore(e, i), e.nextSibling;
|
|
530
533
|
}
|
|
531
|
-
function
|
|
534
|
+
function $o(t, e, i, a) {
|
|
532
535
|
var o = t.key, n = t.type, r = i - 1, s = i + 1, l = e[i];
|
|
533
536
|
if (l === null || l && o == l.key && n === l.type)
|
|
534
537
|
return i;
|
|
@@ -547,15 +550,15 @@ function xo(t, e, i, a) {
|
|
|
547
550
|
}
|
|
548
551
|
return -1;
|
|
549
552
|
}
|
|
550
|
-
function
|
|
553
|
+
function So(t, e, i, a, o) {
|
|
551
554
|
var n;
|
|
552
555
|
for (n in i)
|
|
553
556
|
n === "children" || n === "key" || n in e || Wt(t, n, null, i[n], a);
|
|
554
557
|
for (n in e)
|
|
555
558
|
o && typeof e[n] != "function" || n === "children" || n === "key" || n === "value" || n === "checked" || i[n] === e[n] || Wt(t, n, e[n], i[n], a);
|
|
556
559
|
}
|
|
557
|
-
function
|
|
558
|
-
e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" ||
|
|
560
|
+
function Qe(t, e, i) {
|
|
561
|
+
e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" || xo.test(e) ? i : i + "px";
|
|
559
562
|
}
|
|
560
563
|
function Wt(t, e, i, a, o) {
|
|
561
564
|
var n;
|
|
@@ -566,13 +569,13 @@ function Wt(t, e, i, a, o) {
|
|
|
566
569
|
else {
|
|
567
570
|
if (typeof a == "string" && (t.style.cssText = a = ""), a)
|
|
568
571
|
for (e in a)
|
|
569
|
-
i && e in i ||
|
|
572
|
+
i && e in i || Qe(t.style, e, "");
|
|
570
573
|
if (i)
|
|
571
574
|
for (e in i)
|
|
572
|
-
a && i[e] === a[e] ||
|
|
575
|
+
a && i[e] === a[e] || Qe(t.style, e, i[e]);
|
|
573
576
|
}
|
|
574
577
|
else if (e[0] === "o" && e[1] === "n")
|
|
575
|
-
n = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + n] = i, i ? a || t.addEventListener(e, n ?
|
|
578
|
+
n = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + n] = i, i ? a || t.addEventListener(e, n ? ei : ti, n) : t.removeEventListener(e, n ? ei : ti, n);
|
|
576
579
|
else if (e !== "dangerouslySetInnerHTML") {
|
|
577
580
|
if (o)
|
|
578
581
|
e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
@@ -585,36 +588,36 @@ function Wt(t, e, i, a, o) {
|
|
|
585
588
|
typeof i == "function" || (i == null || i === !1 && e[4] !== "-" ? t.removeAttribute(e) : t.setAttribute(e, i));
|
|
586
589
|
}
|
|
587
590
|
}
|
|
588
|
-
function
|
|
591
|
+
function ti(t) {
|
|
589
592
|
return this.l[t.type + !1](w.event ? w.event(t) : t);
|
|
590
593
|
}
|
|
591
|
-
function
|
|
594
|
+
function ei(t) {
|
|
592
595
|
return this.l[t.type + !0](w.event ? w.event(t) : t);
|
|
593
596
|
}
|
|
594
|
-
function
|
|
595
|
-
var u, c, f, b, h, g,
|
|
597
|
+
function Re(t, e, i, a, o, n, r, s, l, d) {
|
|
598
|
+
var u, c, f, b, h, g, O, k, P, v, _, x, y, R, q, A = e.type;
|
|
596
599
|
if (e.constructor !== void 0)
|
|
597
600
|
return null;
|
|
598
601
|
i.__h != null && (l = i.__h, s = e.__e = i.__e, e.__h = null, n = [s]), (u = w.__b) && u(e);
|
|
599
602
|
try {
|
|
600
603
|
t:
|
|
601
|
-
if (typeof
|
|
602
|
-
if (k = e.props, P = (u =
|
|
603
|
-
|
|
604
|
+
if (typeof A == "function") {
|
|
605
|
+
if (k = e.props, P = (u = A.contextType) && a[u.__c], v = u ? P ? P.props.value : u.__ : a, i.__c ? O = (c = e.__c = i.__c).__ = c.__E : ("prototype" in A && A.prototype.render ? e.__c = c = new A(k, v) : (e.__c = c = new V(k, v), c.constructor = A, c.render = Eo), P && P.sub(c), c.props = k, c.state || (c.state = {}), c.context = v, c.__n = a, f = c.__d = !0, c.__h = [], c._sb = []), c.__s == null && (c.__s = c.state), A.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Q({}, c.__s)), Q(c.__s, A.getDerivedStateFromProps(k, c.__s))), b = c.props, h = c.state, c.__v = e, f)
|
|
606
|
+
A.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), c.componentDidMount != null && c.__h.push(c.componentDidMount);
|
|
604
607
|
else {
|
|
605
|
-
if (
|
|
608
|
+
if (A.getDerivedStateFromProps == null && k !== b && c.componentWillReceiveProps != null && c.componentWillReceiveProps(k, v), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(k, c.__s, v) === !1 || e.__v === i.__v)) {
|
|
606
609
|
for (e.__v !== i.__v && (c.props = k, c.state = c.__s, c.__d = !1), e.__e = i.__e, e.__k = i.__k, e.__k.forEach(function(rt) {
|
|
607
610
|
rt && (rt.__ = e);
|
|
608
|
-
}),
|
|
609
|
-
c.__h.push(c._sb[
|
|
611
|
+
}), _ = 0; _ < c._sb.length; _++)
|
|
612
|
+
c.__h.push(c._sb[_]);
|
|
610
613
|
c._sb = [], c.__h.length && r.push(c);
|
|
611
614
|
break t;
|
|
612
615
|
}
|
|
613
|
-
c.componentWillUpdate != null && c.componentWillUpdate(k, c.__s,
|
|
616
|
+
c.componentWillUpdate != null && c.componentWillUpdate(k, c.__s, v), c.componentDidUpdate != null && c.__h.push(function() {
|
|
614
617
|
c.componentDidUpdate(b, h, g);
|
|
615
618
|
});
|
|
616
619
|
}
|
|
617
|
-
if (c.context =
|
|
620
|
+
if (c.context = v, c.props = k, c.__P = t, c.__e = !1, x = w.__r, y = 0, "prototype" in A && A.prototype.render) {
|
|
618
621
|
for (c.state = c.__s, c.__d = !1, x && x(e), u = c.render(c.props, c.state, c.context), R = 0; R < c._sb.length; R++)
|
|
619
622
|
c.__h.push(c._sb[R]);
|
|
620
623
|
c._sb = [];
|
|
@@ -622,17 +625,17 @@ function Fe(t, e, i, a, o, n, r, s, l, d) {
|
|
|
622
625
|
do
|
|
623
626
|
c.__d = !1, x && x(e), u = c.render(c.props, c.state, c.context), c.state = c.__s;
|
|
624
627
|
while (c.__d && ++y < 25);
|
|
625
|
-
c.state = c.__s, c.getChildContext != null && (a = Q(Q({}, a), c.getChildContext())), f || c.getSnapshotBeforeUpdate == null || (g = c.getSnapshotBeforeUpdate(b, h)),
|
|
628
|
+
c.state = c.__s, c.getChildContext != null && (a = Q(Q({}, a), c.getChildContext())), f || c.getSnapshotBeforeUpdate == null || (g = c.getSnapshotBeforeUpdate(b, h)), ea(t, Zt(q = u != null && u.type === K && u.key == null ? u.props.children : u) ? q : [q], e, i, a, o, n, r, s, l, d), c.base = e.__e, e.__h = null, c.__h.length && r.push(c), O && (c.__E = c.__ = null);
|
|
626
629
|
} else
|
|
627
|
-
n == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e =
|
|
630
|
+
n == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e = Co(i.__e, e, i, a, o, n, r, l, d);
|
|
628
631
|
(u = w.diffed) && u(e);
|
|
629
632
|
} catch (rt) {
|
|
630
633
|
e.__v = null, (l || n != null) && (e.__e = s, e.__h = !!l, n[n.indexOf(s)] = null), w.__e(rt, e, i);
|
|
631
634
|
}
|
|
632
635
|
}
|
|
633
|
-
function
|
|
636
|
+
function oa(t, e, i) {
|
|
634
637
|
for (var a = 0; a < i.length; a++)
|
|
635
|
-
|
|
638
|
+
Le(i[a], i[++a], i[++a]);
|
|
636
639
|
w.__c && w.__c(e, t), t.some(function(o) {
|
|
637
640
|
try {
|
|
638
641
|
t = o.__h, o.__h = [], t.some(function(n) {
|
|
@@ -643,7 +646,7 @@ function ia(t, e, i) {
|
|
|
643
646
|
}
|
|
644
647
|
});
|
|
645
648
|
}
|
|
646
|
-
function
|
|
649
|
+
function Co(t, e, i, a, o, n, r, s, l) {
|
|
647
650
|
var d, u, c, f = i.props, b = e.props, h = e.type, g = 0;
|
|
648
651
|
if (h === "svg" && (o = !0), n != null) {
|
|
649
652
|
for (; g < n.length; g++)
|
|
@@ -660,31 +663,31 @@ function $o(t, e, i, a, o, n, r, s, l) {
|
|
|
660
663
|
if (h === null)
|
|
661
664
|
f === b || s && t.data === b || (t.data = b);
|
|
662
665
|
else {
|
|
663
|
-
if (n = n &&
|
|
666
|
+
if (n = n && At.call(t.childNodes), u = (f = i.props || wt).dangerouslySetInnerHTML, c = b.dangerouslySetInnerHTML, !s) {
|
|
664
667
|
if (n != null)
|
|
665
668
|
for (f = {}, g = 0; g < t.attributes.length; g++)
|
|
666
669
|
f[t.attributes[g].name] = t.attributes[g].value;
|
|
667
670
|
(c || u) && (c && (u && c.__html == u.__html || c.__html === t.innerHTML) || (t.innerHTML = c && c.__html || ""));
|
|
668
671
|
}
|
|
669
|
-
if (
|
|
672
|
+
if (So(t, b, f, o, s), c)
|
|
670
673
|
e.__k = [];
|
|
671
|
-
else if (
|
|
674
|
+
else if (ea(t, Zt(g = e.props.children) ? g : [g], e, i, a, o && h !== "foreignObject", n, r, n ? n[0] : i.__k && Ht(i, 0), s, l), n != null)
|
|
672
675
|
for (g = n.length; g--; )
|
|
673
|
-
n[g] != null &&
|
|
676
|
+
n[g] != null && Qi(n[g]);
|
|
674
677
|
s || ("value" in b && (g = b.value) !== void 0 && (g !== t.value || h === "progress" && !g || h === "option" && g !== f.value) && Wt(t, "value", g, f.value, !1), "checked" in b && (g = b.checked) !== void 0 && g !== t.checked && Wt(t, "checked", g, f.checked, !1));
|
|
675
678
|
}
|
|
676
679
|
return t;
|
|
677
680
|
}
|
|
678
|
-
function
|
|
681
|
+
function Le(t, e, i) {
|
|
679
682
|
try {
|
|
680
683
|
typeof t == "function" ? t(e) : t.current = e;
|
|
681
684
|
} catch (a) {
|
|
682
685
|
w.__e(a, i);
|
|
683
686
|
}
|
|
684
687
|
}
|
|
685
|
-
function
|
|
688
|
+
function na(t, e, i) {
|
|
686
689
|
var a, o;
|
|
687
|
-
if (w.unmount && w.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e ||
|
|
690
|
+
if (w.unmount && w.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e || Le(a, null, e)), (a = t.__c) != null) {
|
|
688
691
|
if (a.componentWillUnmount)
|
|
689
692
|
try {
|
|
690
693
|
a.componentWillUnmount();
|
|
@@ -695,27 +698,27 @@ function aa(t, e, i) {
|
|
|
695
698
|
}
|
|
696
699
|
if (a = t.__k)
|
|
697
700
|
for (o = 0; o < a.length; o++)
|
|
698
|
-
a[o] &&
|
|
699
|
-
i || t.__e == null ||
|
|
701
|
+
a[o] && na(a[o], e, i || typeof t.type != "function");
|
|
702
|
+
i || t.__e == null || Qi(t.__e), t.__ = t.__e = t.__d = void 0;
|
|
700
703
|
}
|
|
701
|
-
function
|
|
704
|
+
function Eo(t, e, i) {
|
|
702
705
|
return this.constructor(t, i);
|
|
703
706
|
}
|
|
704
707
|
function ut(t, e, i) {
|
|
705
708
|
var a, o, n, r;
|
|
706
|
-
w.__ && w.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, n = [], r = [],
|
|
709
|
+
w.__ && w.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, n = [], r = [], Re(e, t = (!a && i || e).__k = B(K, null, [t]), o || wt, wt, e.ownerSVGElement !== void 0, !a && i ? [i] : o ? null : e.firstChild ? At.call(e.childNodes) : null, n, !a && i ? i : o ? o.__e : e.firstChild, a, r), oa(n, t, r);
|
|
707
710
|
}
|
|
708
|
-
function
|
|
709
|
-
ut(t, e,
|
|
711
|
+
function ra(t, e) {
|
|
712
|
+
ut(t, e, ra);
|
|
710
713
|
}
|
|
711
|
-
function
|
|
714
|
+
function Po(t, e, i) {
|
|
712
715
|
var a, o, n, r, s = Q({}, t.props);
|
|
713
716
|
for (n in t.type && t.type.defaultProps && (r = t.type.defaultProps), e)
|
|
714
717
|
n == "key" ? a = e[n] : n == "ref" ? o = e[n] : s[n] = e[n] === void 0 && r !== void 0 ? r[n] : e[n];
|
|
715
|
-
return arguments.length > 2 && (s.children = arguments.length > 3 ?
|
|
718
|
+
return arguments.length > 2 && (s.children = arguments.length > 3 ? At.call(arguments, 2) : i), St(t.type, s, a || t.key, o || t.ref, null);
|
|
716
719
|
}
|
|
717
|
-
function
|
|
718
|
-
var i = { __c: e = "__cC" +
|
|
720
|
+
function sa(t, e) {
|
|
721
|
+
var i = { __c: e = "__cC" + Xi++, __: t, Consumer: function(a, o) {
|
|
719
722
|
return a.children(o);
|
|
720
723
|
}, Provider: function(a) {
|
|
721
724
|
var o, n;
|
|
@@ -735,7 +738,7 @@ function na(t, e) {
|
|
|
735
738
|
} };
|
|
736
739
|
return i.Provider.__ = i.Consumer.contextType = i;
|
|
737
740
|
}
|
|
738
|
-
|
|
741
|
+
At = Ji.slice, w = { __e: function(t, e, i, a) {
|
|
739
742
|
for (var o, n, r; e = e.__; )
|
|
740
743
|
if ((o = e.__c) && !o.__)
|
|
741
744
|
try {
|
|
@@ -745,19 +748,19 @@ jt = Zi.slice, w = { __e: function(t, e, i, a) {
|
|
|
745
748
|
t = s;
|
|
746
749
|
}
|
|
747
750
|
throw t;
|
|
748
|
-
} },
|
|
751
|
+
} }, qi = 0, Gi = function(t) {
|
|
749
752
|
return t != null && t.constructor === void 0;
|
|
750
753
|
}, V.prototype.setState = function(t, e) {
|
|
751
754
|
var i;
|
|
752
755
|
i = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Q({}, this.state), typeof t == "function" && (t = t(Q({}, i), this.props)), t && Q(i, t), t != null && this.__v && (e && this._sb.push(e), fe(this));
|
|
753
756
|
}, V.prototype.forceUpdate = function(t) {
|
|
754
757
|
this.__v && (this.__e = !0, t && this.__h.push(t), fe(this));
|
|
755
|
-
}, V.prototype.render = K, lt = [],
|
|
758
|
+
}, V.prototype.render = K, lt = [], Zi = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, he = function(t, e) {
|
|
756
759
|
return t.__v.__b - e.__v.__b;
|
|
757
|
-
}, Ut.__r = 0,
|
|
758
|
-
const
|
|
759
|
-
if (
|
|
760
|
-
const a = t[
|
|
760
|
+
}, Ut.__r = 0, Xi = 0;
|
|
761
|
+
const F = Symbol.for("@ts-pattern/matcher"), la = Symbol.for("@ts-pattern/isVariadic"), Vt = "@ts-pattern/anonymous-select-key", we = (t) => !!(t && typeof t == "object"), Dt = (t) => t && !!t[F], T = (t, e, i) => {
|
|
762
|
+
if (Dt(t)) {
|
|
763
|
+
const a = t[F](), { matched: o, selections: n } = a.match(e);
|
|
761
764
|
return o && n && Object.keys(n).forEach((r) => i(r, n[r])), o;
|
|
762
765
|
}
|
|
763
766
|
if (we(t)) {
|
|
@@ -769,7 +772,7 @@ const N = Symbol.for("@ts-pattern/matcher"), ra = Symbol.for("@ts-pattern/isVari
|
|
|
769
772
|
let a = [], o = [], n = [];
|
|
770
773
|
for (const r of t.keys()) {
|
|
771
774
|
const s = t[r];
|
|
772
|
-
|
|
775
|
+
Dt(s) && s[la] ? n.push(s) : n.length ? o.push(s) : a.push(s);
|
|
773
776
|
}
|
|
774
777
|
if (n.length) {
|
|
775
778
|
if (n.length > 1)
|
|
@@ -783,16 +786,16 @@ const N = Symbol.for("@ts-pattern/matcher"), ra = Symbol.for("@ts-pattern/isVari
|
|
|
783
786
|
}
|
|
784
787
|
return Reflect.ownKeys(t).every((a) => {
|
|
785
788
|
const o = t[a];
|
|
786
|
-
return (a in e ||
|
|
789
|
+
return (a in e || Dt(n = o) && n[F]().matcherType === "optional") && T(o, e[a], i);
|
|
787
790
|
var n;
|
|
788
791
|
});
|
|
789
792
|
}
|
|
790
793
|
return Object.is(e, t);
|
|
791
|
-
},
|
|
794
|
+
}, D = (t) => {
|
|
792
795
|
var e, i, a;
|
|
793
|
-
return we(t) ?
|
|
796
|
+
return we(t) ? Dt(t) ? (e = (i = (a = t[F]()).getSelectionKeys) == null ? void 0 : i.call(a)) != null ? e : [] : Array.isArray(t) ? Tt(t, D) : Tt(Object.values(t), D) : [];
|
|
794
797
|
}, Tt = (t, e) => t.reduce((i, a) => i.concat(e(a)), []);
|
|
795
|
-
function
|
|
798
|
+
function ca(...t) {
|
|
796
799
|
if (t.length === 1) {
|
|
797
800
|
const [e] = t;
|
|
798
801
|
return (i) => T(e, i, () => {
|
|
@@ -805,39 +808,39 @@ function sa(...t) {
|
|
|
805
808
|
}
|
|
806
809
|
throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`);
|
|
807
810
|
}
|
|
808
|
-
function
|
|
809
|
-
return Object.assign(t, { optional: () =>
|
|
811
|
+
function j(t) {
|
|
812
|
+
return Object.assign(t, { optional: () => Be(t), and: (e) => C(t, e), or: (e) => da(t, e), select: (e) => e === void 0 ? It(t) : It(e, t) });
|
|
810
813
|
}
|
|
811
814
|
function ge(t) {
|
|
812
815
|
return Object.assign(((e) => Object.assign(e, { [Symbol.iterator]() {
|
|
813
816
|
let i = 0;
|
|
814
|
-
const a = [{ value: Object.assign(e, { [
|
|
817
|
+
const a = [{ value: Object.assign(e, { [la]: !0 }), done: !1 }, { done: !0, value: void 0 }];
|
|
815
818
|
return { next: () => {
|
|
816
819
|
var o;
|
|
817
820
|
return (o = a[i++]) != null ? o : a.at(-1);
|
|
818
821
|
} };
|
|
819
|
-
} }))(t), { optional: () => ge(
|
|
822
|
+
} }))(t), { optional: () => ge(Be(t)), select: (e) => ge(e === void 0 ? It(t) : It(e, t)) });
|
|
820
823
|
}
|
|
821
|
-
function
|
|
822
|
-
return
|
|
824
|
+
function Be(t) {
|
|
825
|
+
return j({ [F]: () => ({ match: (e) => {
|
|
823
826
|
let i = {};
|
|
824
827
|
const a = (o, n) => {
|
|
825
828
|
i[o] = n;
|
|
826
829
|
};
|
|
827
|
-
return e === void 0 ? (
|
|
828
|
-
}, getSelectionKeys: () =>
|
|
830
|
+
return e === void 0 ? (D(t).forEach((o) => a(o, void 0)), { matched: !0, selections: i }) : { matched: T(t, e, a), selections: i };
|
|
831
|
+
}, getSelectionKeys: () => D(t), matcherType: "optional" }) });
|
|
829
832
|
}
|
|
830
|
-
const
|
|
833
|
+
const To = (t, e) => {
|
|
831
834
|
for (const i of t)
|
|
832
835
|
if (!e(i))
|
|
833
836
|
return !1;
|
|
834
837
|
return !0;
|
|
835
|
-
},
|
|
838
|
+
}, Io = (t, e) => {
|
|
836
839
|
for (const [i, a] of t.entries())
|
|
837
840
|
if (!e(a, i))
|
|
838
841
|
return !1;
|
|
839
842
|
return !0;
|
|
840
|
-
},
|
|
843
|
+
}, jo = (t, e) => {
|
|
841
844
|
const i = Reflect.ownKeys(t);
|
|
842
845
|
for (const a of i)
|
|
843
846
|
if (!e(a, t[a]))
|
|
@@ -845,36 +848,36 @@ const Eo = (t, e) => {
|
|
|
845
848
|
return !0;
|
|
846
849
|
};
|
|
847
850
|
function C(...t) {
|
|
848
|
-
return
|
|
851
|
+
return j({ [F]: () => ({ match: (e) => {
|
|
849
852
|
let i = {};
|
|
850
853
|
const a = (o, n) => {
|
|
851
854
|
i[o] = n;
|
|
852
855
|
};
|
|
853
856
|
return { matched: t.every((o) => T(o, e, a)), selections: i };
|
|
854
|
-
}, getSelectionKeys: () => Tt(t,
|
|
857
|
+
}, getSelectionKeys: () => Tt(t, D), matcherType: "and" }) });
|
|
855
858
|
}
|
|
856
|
-
function
|
|
857
|
-
return
|
|
859
|
+
function da(...t) {
|
|
860
|
+
return j({ [F]: () => ({ match: (e) => {
|
|
858
861
|
let i = {};
|
|
859
862
|
const a = (o, n) => {
|
|
860
863
|
i[o] = n;
|
|
861
864
|
};
|
|
862
|
-
return Tt(t,
|
|
863
|
-
}, getSelectionKeys: () => Tt(t,
|
|
865
|
+
return Tt(t, D).forEach((o) => a(o, void 0)), { matched: t.some((o) => T(o, e, a)), selections: i };
|
|
866
|
+
}, getSelectionKeys: () => Tt(t, D), matcherType: "or" }) });
|
|
864
867
|
}
|
|
865
868
|
function m(t) {
|
|
866
|
-
return { [
|
|
869
|
+
return { [F]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
|
|
867
870
|
}
|
|
868
871
|
function It(...t) {
|
|
869
872
|
const e = typeof t[0] == "string" ? t[0] : void 0, i = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
|
|
870
|
-
return
|
|
873
|
+
return j({ [F]: () => ({ match: (a) => {
|
|
871
874
|
let o = { [e ?? Vt]: a };
|
|
872
875
|
return { matched: i === void 0 || T(i, a, (n, r) => {
|
|
873
876
|
o[n] = r;
|
|
874
877
|
}), selections: o };
|
|
875
|
-
}, getSelectionKeys: () => [e ?? Vt].concat(i === void 0 ? [] :
|
|
878
|
+
}, getSelectionKeys: () => [e ?? Vt].concat(i === void 0 ? [] : D(i)) }) });
|
|
876
879
|
}
|
|
877
|
-
function
|
|
880
|
+
function ua(t) {
|
|
878
881
|
return !0;
|
|
879
882
|
}
|
|
880
883
|
function G(t) {
|
|
@@ -886,7 +889,7 @@ function et(t) {
|
|
|
886
889
|
function it(t) {
|
|
887
890
|
return typeof t == "bigint";
|
|
888
891
|
}
|
|
889
|
-
const
|
|
892
|
+
const pa = j(m(ua)), Ao = j(m(ua)), Oo = pa, at = (t) => Object.assign(j(t), { startsWith: (e) => {
|
|
890
893
|
return at(C(t, (i = e, m((a) => et(a) && a.startsWith(i)))));
|
|
891
894
|
var i;
|
|
892
895
|
}, endsWith: (e) => {
|
|
@@ -898,17 +901,17 @@ const da = A(m(ca)), Io = A(m(ca)), Ao = da, at = (t) => Object.assign(A(t), { s
|
|
|
898
901
|
}, regex: (e) => {
|
|
899
902
|
return at(C(t, (i = e, m((a) => et(a) && !!a.match(i)))));
|
|
900
903
|
var i;
|
|
901
|
-
} }),
|
|
904
|
+
} }), ii = at(m(et)), Z = (t) => Object.assign(j(t), { between: (e, i) => Z(C(t, ((a, o) => m((n) => G(n) && a <= n && o >= n))(e, i))), lt: (e) => Z(C(t, ((i) => m((a) => G(a) && a < i))(e))), gt: (e) => Z(C(t, ((i) => m((a) => G(a) && a > i))(e))), lte: (e) => Z(C(t, ((i) => m((a) => G(a) && a <= i))(e))), gte: (e) => Z(C(t, ((i) => m((a) => G(a) && a >= i))(e))), int: () => Z(C(t, m((e) => G(e) && Number.isInteger(e)))), finite: () => Z(C(t, m((e) => G(e) && Number.isFinite(e)))), positive: () => Z(C(t, m((e) => G(e) && e > 0))), negative: () => Z(C(t, m((e) => G(e) && e < 0))) }), zo = Z(m(G)), ot = (t) => Object.assign(j(t), { between: (e, i) => ot(C(t, ((a, o) => m((n) => it(n) && a <= n && o >= n))(e, i))), lt: (e) => ot(C(t, ((i) => m((a) => it(a) && a < i))(e))), gt: (e) => ot(C(t, ((i) => m((a) => it(a) && a > i))(e))), lte: (e) => ot(C(t, ((i) => m((a) => it(a) && a <= i))(e))), gte: (e) => ot(C(t, ((i) => m((a) => it(a) && a >= i))(e))), positive: () => ot(C(t, m((e) => it(e) && e > 0))), negative: () => ot(C(t, m((e) => it(e) && e < 0))) }), Do = ot(m(it)), No = j(m(function(t) {
|
|
902
905
|
return typeof t == "boolean";
|
|
903
|
-
})),
|
|
906
|
+
})), Fo = j(m(function(t) {
|
|
904
907
|
return typeof t == "symbol";
|
|
905
|
-
})),
|
|
908
|
+
})), Mo = j(m(function(t) {
|
|
906
909
|
return t == null;
|
|
907
|
-
})),
|
|
910
|
+
})), Ro = j(m(function(t) {
|
|
908
911
|
return t != null;
|
|
909
912
|
}));
|
|
910
|
-
var ft = { __proto__: null, matcher:
|
|
911
|
-
return ge({ [
|
|
913
|
+
var ft = { __proto__: null, matcher: F, optional: Be, array: function(...t) {
|
|
914
|
+
return ge({ [F]: () => ({ match: (e) => {
|
|
912
915
|
if (!Array.isArray(e))
|
|
913
916
|
return { matched: !1 };
|
|
914
917
|
if (t.length === 0)
|
|
@@ -916,16 +919,16 @@ var ft = { __proto__: null, matcher: N, optional: Re, array: function(...t) {
|
|
|
916
919
|
const i = t[0];
|
|
917
920
|
let a = {};
|
|
918
921
|
if (e.length === 0)
|
|
919
|
-
return
|
|
922
|
+
return D(i).forEach((n) => {
|
|
920
923
|
a[n] = [];
|
|
921
924
|
}), { matched: !0, selections: a };
|
|
922
925
|
const o = (n, r) => {
|
|
923
926
|
a[n] = (a[n] || []).concat([r]);
|
|
924
927
|
};
|
|
925
928
|
return { matched: e.every((n) => T(i, n, o)), selections: a };
|
|
926
|
-
}, getSelectionKeys: () => t.length === 0 ? [] :
|
|
929
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : D(t[0]) }) });
|
|
927
930
|
}, set: function(...t) {
|
|
928
|
-
return
|
|
931
|
+
return j({ [F]: () => ({ match: (e) => {
|
|
929
932
|
if (!(e instanceof Set))
|
|
930
933
|
return { matched: !1 };
|
|
931
934
|
let i = {};
|
|
@@ -936,10 +939,10 @@ var ft = { __proto__: null, matcher: N, optional: Re, array: function(...t) {
|
|
|
936
939
|
const a = (n, r) => {
|
|
937
940
|
i[n] = (i[n] || []).concat([r]);
|
|
938
941
|
}, o = t[0];
|
|
939
|
-
return { matched:
|
|
940
|
-
}, getSelectionKeys: () => t.length === 0 ? [] :
|
|
942
|
+
return { matched: To(e, (n) => T(o, n, a)), selections: i };
|
|
943
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : D(t[0]) }) });
|
|
941
944
|
}, map: function(...t) {
|
|
942
|
-
return
|
|
945
|
+
return j({ [F]: () => ({ match: (e) => {
|
|
943
946
|
if (!(e instanceof Map))
|
|
944
947
|
return { matched: !1 };
|
|
945
948
|
let i = {};
|
|
@@ -954,13 +957,13 @@ var ft = { __proto__: null, matcher: N, optional: Re, array: function(...t) {
|
|
|
954
957
|
if (t.length === 1)
|
|
955
958
|
throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(o = t[0]) == null ? void 0 : o.toString()}`);
|
|
956
959
|
const [n, r] = t;
|
|
957
|
-
return { matched:
|
|
960
|
+
return { matched: Io(e, (s, l) => {
|
|
958
961
|
const d = T(n, l, a), u = T(r, s, a);
|
|
959
962
|
return d && u;
|
|
960
963
|
}), selections: i };
|
|
961
|
-
}, getSelectionKeys: () => t.length === 0 ? [] : [...
|
|
964
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : [...D(t[0]), ...D(t[1])] }) });
|
|
962
965
|
}, record: function(...t) {
|
|
963
|
-
return
|
|
966
|
+
return j({ [F]: () => ({ match: (e) => {
|
|
964
967
|
if (e === null || typeof e != "object" || Array.isArray(e))
|
|
965
968
|
return { matched: !1 };
|
|
966
969
|
var i;
|
|
@@ -969,23 +972,23 @@ var ft = { __proto__: null, matcher: N, optional: Re, array: function(...t) {
|
|
|
969
972
|
let a = {};
|
|
970
973
|
const o = (s, l) => {
|
|
971
974
|
a[s] = (a[s] || []).concat([l]);
|
|
972
|
-
}, [n, r] = t.length === 1 ? [
|
|
973
|
-
return { matched:
|
|
975
|
+
}, [n, r] = t.length === 1 ? [ii, t[0]] : t;
|
|
976
|
+
return { matched: jo(e, (s, l) => {
|
|
974
977
|
const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null && T(n, d, o), c = T(n, s, o), f = T(r, l, o);
|
|
975
978
|
return (c || u) && f;
|
|
976
979
|
}), selections: a };
|
|
977
|
-
}, getSelectionKeys: () => t.length === 0 ? [] : [...
|
|
978
|
-
}, intersection: C, union:
|
|
979
|
-
return
|
|
980
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : [...D(t[0]), ...D(t[1])] }) });
|
|
981
|
+
}, intersection: C, union: da, not: function(t) {
|
|
982
|
+
return j({ [F]: () => ({ match: (e) => ({ matched: !T(t, e, () => {
|
|
980
983
|
}) }), getSelectionKeys: () => [], matcherType: "not" }) });
|
|
981
|
-
}, when: m, select: It, any:
|
|
982
|
-
return
|
|
984
|
+
}, when: m, select: It, any: pa, unknown: Ao, _: Oo, string: ii, number: zo, bigint: Do, boolean: No, symbol: Fo, nullish: Mo, nonNullable: Ro, instanceOf: function(t) {
|
|
985
|
+
return j(m(function(e) {
|
|
983
986
|
return (i) => i instanceof e;
|
|
984
987
|
}(t)));
|
|
985
988
|
}, shape: function(t) {
|
|
986
|
-
return
|
|
989
|
+
return j(m(ca(t)));
|
|
987
990
|
} };
|
|
988
|
-
let
|
|
991
|
+
let Lo = class extends Error {
|
|
989
992
|
constructor(e) {
|
|
990
993
|
let i;
|
|
991
994
|
try {
|
|
@@ -997,10 +1000,10 @@ let Mo = class extends Error {
|
|
|
997
1000
|
}
|
|
998
1001
|
};
|
|
999
1002
|
const be = { matched: !1, value: void 0 };
|
|
1000
|
-
function
|
|
1001
|
-
return new
|
|
1003
|
+
function He(t) {
|
|
1004
|
+
return new Bo(t, be);
|
|
1002
1005
|
}
|
|
1003
|
-
let
|
|
1006
|
+
let Bo = class ve {
|
|
1004
1007
|
constructor(e, i) {
|
|
1005
1008
|
this.input = void 0, this.state = void 0, this.input = e, this.state = i;
|
|
1006
1009
|
}
|
|
@@ -1025,7 +1028,7 @@ let Ro = class ve {
|
|
|
1025
1028
|
otherwise(e) {
|
|
1026
1029
|
return this.state.matched ? this.state.value : e(this.input);
|
|
1027
1030
|
}
|
|
1028
|
-
exhaustive(e =
|
|
1031
|
+
exhaustive(e = Ho) {
|
|
1029
1032
|
return this.state.matched ? this.state.value : e(this.input);
|
|
1030
1033
|
}
|
|
1031
1034
|
run() {
|
|
@@ -1038,10 +1041,10 @@ let Ro = class ve {
|
|
|
1038
1041
|
return this;
|
|
1039
1042
|
}
|
|
1040
1043
|
};
|
|
1041
|
-
function
|
|
1042
|
-
throw new
|
|
1044
|
+
function Ho(t) {
|
|
1045
|
+
throw new Lo(t);
|
|
1043
1046
|
}
|
|
1044
|
-
function
|
|
1047
|
+
function ha(t) {
|
|
1045
1048
|
var e, i, a = "";
|
|
1046
1049
|
if (typeof t == "string" || typeof t == "number")
|
|
1047
1050
|
a += t;
|
|
@@ -1049,26 +1052,26 @@ function ua(t) {
|
|
|
1049
1052
|
if (Array.isArray(t)) {
|
|
1050
1053
|
var o = t.length;
|
|
1051
1054
|
for (e = 0; e < o; e++)
|
|
1052
|
-
t[e] && (i =
|
|
1055
|
+
t[e] && (i = ha(t[e])) && (a && (a += " "), a += i);
|
|
1053
1056
|
} else
|
|
1054
1057
|
for (i in t)
|
|
1055
1058
|
t[i] && (a && (a += " "), a += i);
|
|
1056
1059
|
return a;
|
|
1057
1060
|
}
|
|
1058
|
-
function
|
|
1061
|
+
function Ue() {
|
|
1059
1062
|
for (var t, e, i = 0, a = "", o = arguments.length; i < o; i++)
|
|
1060
|
-
(t = arguments[i]) && (e =
|
|
1063
|
+
(t = arguments[i]) && (e = ha(t)) && (a && (a += " "), a += e);
|
|
1061
1064
|
return a;
|
|
1062
1065
|
}
|
|
1063
|
-
const
|
|
1066
|
+
const ai = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, oi = Ue, We = (t, e) => (i) => {
|
|
1064
1067
|
var a;
|
|
1065
1068
|
if ((e == null ? void 0 : e.variants) == null)
|
|
1066
|
-
return
|
|
1069
|
+
return oi(t, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
1067
1070
|
const { variants: o, defaultVariants: n } = e, r = Object.keys(o).map((d) => {
|
|
1068
1071
|
const u = i == null ? void 0 : i[d], c = n == null ? void 0 : n[d];
|
|
1069
1072
|
if (u === null)
|
|
1070
1073
|
return null;
|
|
1071
|
-
const f =
|
|
1074
|
+
const f = ai(u) || ai(c);
|
|
1072
1075
|
return o[d][f];
|
|
1073
1076
|
}), s = i && Object.entries(i).reduce((d, u) => {
|
|
1074
1077
|
let [c, f] = u;
|
|
@@ -1076,34 +1079,34 @@ const ti = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, ei = Be, H
|
|
|
1076
1079
|
}, {}), l = e == null || (a = e.compoundVariants) === null || a === void 0 ? void 0 : a.reduce((d, u) => {
|
|
1077
1080
|
let { class: c, className: f, ...b } = u;
|
|
1078
1081
|
return Object.entries(b).every((h) => {
|
|
1079
|
-
let [g,
|
|
1080
|
-
return Array.isArray(
|
|
1082
|
+
let [g, O] = h;
|
|
1083
|
+
return Array.isArray(O) ? O.includes({
|
|
1081
1084
|
...n,
|
|
1082
1085
|
...s
|
|
1083
1086
|
}[g]) : {
|
|
1084
1087
|
...n,
|
|
1085
1088
|
...s
|
|
1086
|
-
}[g] ===
|
|
1089
|
+
}[g] === O;
|
|
1087
1090
|
}) ? [
|
|
1088
1091
|
...d,
|
|
1089
1092
|
c,
|
|
1090
1093
|
f
|
|
1091
1094
|
] : d;
|
|
1092
1095
|
}, []);
|
|
1093
|
-
return
|
|
1096
|
+
return oi(t, r, l, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
1094
1097
|
};
|
|
1095
|
-
var nt, E, ie,
|
|
1096
|
-
function
|
|
1097
|
-
w.__h && w.__h(E, t,
|
|
1098
|
+
var nt, E, ie, ni, vt = 0, fa = [], Nt = [], ri = w.__b, si = w.__r, li = w.diffed, ci = w.__c, di = w.unmount;
|
|
1099
|
+
function _t(t, e) {
|
|
1100
|
+
w.__h && w.__h(E, t, vt || e), vt = 0;
|
|
1098
1101
|
var i = E.__H || (E.__H = { __: [], __h: [] });
|
|
1099
1102
|
return t >= i.__.length && i.__.push({ __V: Nt }), i.__[t];
|
|
1100
1103
|
}
|
|
1101
|
-
function
|
|
1102
|
-
return
|
|
1104
|
+
function wa(t) {
|
|
1105
|
+
return vt = 1, ga(_a, t);
|
|
1103
1106
|
}
|
|
1104
|
-
function
|
|
1105
|
-
var a =
|
|
1106
|
-
if (a.t = t, !a.__c && (a.__ = [i ? i(e) :
|
|
1107
|
+
function ga(t, e, i) {
|
|
1108
|
+
var a = _t(nt++, 2);
|
|
1109
|
+
if (a.t = t, !a.__c && (a.__ = [i ? i(e) : _a(void 0, e), function(s) {
|
|
1107
1110
|
var l = a.__N ? a.__N[0] : a.__[0], d = a.t(l, s);
|
|
1108
1111
|
l !== d && (a.__N = [d, a.__[1]], a.__c.setState({}));
|
|
1109
1112
|
}], a.__c = E, !E.u)) {
|
|
@@ -1137,21 +1140,21 @@ function fa(t, e, i) {
|
|
|
1137
1140
|
}
|
|
1138
1141
|
return a.__N || a.__;
|
|
1139
1142
|
}
|
|
1140
|
-
function
|
|
1141
|
-
var i =
|
|
1142
|
-
!w.__s &&
|
|
1143
|
+
function ba(t, e) {
|
|
1144
|
+
var i = _t(nt++, 3);
|
|
1145
|
+
!w.__s && Ve(i.__H, e) && (i.__ = t, i.i = e, E.__H.__h.push(i));
|
|
1143
1146
|
}
|
|
1144
|
-
function
|
|
1145
|
-
var i =
|
|
1146
|
-
!w.__s &&
|
|
1147
|
+
function mt(t, e) {
|
|
1148
|
+
var i = _t(nt++, 4);
|
|
1149
|
+
!w.__s && Ve(i.__H, e) && (i.__ = t, i.i = e, E.__h.push(i));
|
|
1147
1150
|
}
|
|
1148
|
-
function
|
|
1149
|
-
return
|
|
1151
|
+
function jt(t) {
|
|
1152
|
+
return vt = 5, pt(function() {
|
|
1150
1153
|
return { current: t };
|
|
1151
1154
|
}, []);
|
|
1152
1155
|
}
|
|
1153
|
-
function
|
|
1154
|
-
|
|
1156
|
+
function Uo(t, e, i) {
|
|
1157
|
+
vt = 6, mt(function() {
|
|
1155
1158
|
return typeof t == "function" ? (t(e()), function() {
|
|
1156
1159
|
return t(null);
|
|
1157
1160
|
}) : t ? (t.current = e(), function() {
|
|
@@ -1160,23 +1163,23 @@ function Bo(t, e, i) {
|
|
|
1160
1163
|
}, i == null ? i : i.concat(t));
|
|
1161
1164
|
}
|
|
1162
1165
|
function pt(t, e) {
|
|
1163
|
-
var i =
|
|
1164
|
-
return
|
|
1166
|
+
var i = _t(nt++, 7);
|
|
1167
|
+
return Ve(i.__H, e) ? (i.__V = t(), i.i = e, i.__h = t, i.__V) : i.__;
|
|
1165
1168
|
}
|
|
1166
|
-
function
|
|
1167
|
-
return
|
|
1169
|
+
function Wo(t, e) {
|
|
1170
|
+
return vt = 8, pt(function() {
|
|
1168
1171
|
return t;
|
|
1169
1172
|
}, e);
|
|
1170
1173
|
}
|
|
1171
|
-
function
|
|
1172
|
-
var e = E.context[t.__c], i =
|
|
1174
|
+
function va(t) {
|
|
1175
|
+
var e = E.context[t.__c], i = _t(nt++, 9);
|
|
1173
1176
|
return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(E)), e.props.value) : t.__;
|
|
1174
1177
|
}
|
|
1175
|
-
function
|
|
1178
|
+
function Vo(t, e) {
|
|
1176
1179
|
w.useDebugValue && w.useDebugValue(e ? e(t) : t);
|
|
1177
1180
|
}
|
|
1178
|
-
function
|
|
1179
|
-
var t =
|
|
1181
|
+
function Yo() {
|
|
1182
|
+
var t = _t(nt++, 11);
|
|
1180
1183
|
if (!t.__) {
|
|
1181
1184
|
for (var e = E.__v; e !== null && !e.__m && e.__ !== null; )
|
|
1182
1185
|
e = e.__;
|
|
@@ -1185,8 +1188,8 @@ function Wo() {
|
|
|
1185
1188
|
}
|
|
1186
1189
|
return t.__;
|
|
1187
1190
|
}
|
|
1188
|
-
function
|
|
1189
|
-
for (var t; t =
|
|
1191
|
+
function Ko() {
|
|
1192
|
+
for (var t; t = fa.shift(); )
|
|
1190
1193
|
if (t.__P && t.__H)
|
|
1191
1194
|
try {
|
|
1192
1195
|
t.__H.__h.forEach(Ft), t.__H.__h.forEach(_e), t.__H.__h = [];
|
|
@@ -1195,17 +1198,17 @@ function Vo() {
|
|
|
1195
1198
|
}
|
|
1196
1199
|
}
|
|
1197
1200
|
w.__b = function(t) {
|
|
1198
|
-
E = null,
|
|
1201
|
+
E = null, ri && ri(t);
|
|
1199
1202
|
}, w.__r = function(t) {
|
|
1200
|
-
|
|
1203
|
+
si && si(t), nt = 0;
|
|
1201
1204
|
var e = (E = t.__c).__H;
|
|
1202
1205
|
e && (ie === E ? (e.__h = [], E.__h = [], e.__.forEach(function(i) {
|
|
1203
1206
|
i.__N && (i.__ = i.__N), i.__V = Nt, i.__N = i.i = void 0;
|
|
1204
1207
|
})) : (e.__h.forEach(Ft), e.__h.forEach(_e), e.__h = [], nt = 0)), ie = E;
|
|
1205
1208
|
}, w.diffed = function(t) {
|
|
1206
|
-
|
|
1209
|
+
li && li(t);
|
|
1207
1210
|
var e = t.__c;
|
|
1208
|
-
e && e.__H && (e.__H.__h.length && (
|
|
1211
|
+
e && e.__H && (e.__H.__h.length && (fa.push(e) !== 1 && ni === w.requestAnimationFrame || ((ni = w.requestAnimationFrame) || qo)(Ko)), e.__H.__.forEach(function(i) {
|
|
1209
1212
|
i.i && (i.__H = i.i), i.__V !== Nt && (i.__ = i.__V), i.i = void 0, i.__V = Nt;
|
|
1210
1213
|
})), ie = E = null;
|
|
1211
1214
|
}, w.__c = function(t, e) {
|
|
@@ -1219,9 +1222,9 @@ w.__b = function(t) {
|
|
|
1219
1222
|
o.__h && (o.__h = []);
|
|
1220
1223
|
}), e = [], w.__e(a, i.__v);
|
|
1221
1224
|
}
|
|
1222
|
-
}),
|
|
1225
|
+
}), ci && ci(t, e);
|
|
1223
1226
|
}, w.unmount = function(t) {
|
|
1224
|
-
|
|
1227
|
+
di && di(t);
|
|
1225
1228
|
var e, i = t.__c;
|
|
1226
1229
|
i && i.__H && (i.__H.__.forEach(function(a) {
|
|
1227
1230
|
try {
|
|
@@ -1231,12 +1234,12 @@ w.__b = function(t) {
|
|
|
1231
1234
|
}
|
|
1232
1235
|
}), i.__H = void 0, e && w.__e(e, i.__v));
|
|
1233
1236
|
};
|
|
1234
|
-
var
|
|
1235
|
-
function
|
|
1237
|
+
var ui = typeof requestAnimationFrame == "function";
|
|
1238
|
+
function qo(t) {
|
|
1236
1239
|
var e, i = function() {
|
|
1237
|
-
clearTimeout(a),
|
|
1240
|
+
clearTimeout(a), ui && cancelAnimationFrame(e), setTimeout(t);
|
|
1238
1241
|
}, a = setTimeout(i, 100);
|
|
1239
|
-
|
|
1242
|
+
ui && (e = requestAnimationFrame(i));
|
|
1240
1243
|
}
|
|
1241
1244
|
function Ft(t) {
|
|
1242
1245
|
var e = E, i = t.__c;
|
|
@@ -1246,15 +1249,15 @@ function _e(t) {
|
|
|
1246
1249
|
var e = E;
|
|
1247
1250
|
t.__c = t.__(), E = e;
|
|
1248
1251
|
}
|
|
1249
|
-
function
|
|
1252
|
+
function Ve(t, e) {
|
|
1250
1253
|
return !t || t.length !== e.length || e.some(function(i, a) {
|
|
1251
1254
|
return i !== t[a];
|
|
1252
1255
|
});
|
|
1253
1256
|
}
|
|
1254
|
-
function
|
|
1257
|
+
function _a(t, e) {
|
|
1255
1258
|
return typeof e == "function" ? e(t) : e;
|
|
1256
1259
|
}
|
|
1257
|
-
function
|
|
1260
|
+
function ma(t, e) {
|
|
1258
1261
|
for (var i in e)
|
|
1259
1262
|
t[i] = e[i];
|
|
1260
1263
|
return t;
|
|
@@ -1274,70 +1277,70 @@ function ae(t, e) {
|
|
|
1274
1277
|
function ye(t) {
|
|
1275
1278
|
this.props = t;
|
|
1276
1279
|
}
|
|
1277
|
-
function
|
|
1280
|
+
function Go(t, e) {
|
|
1278
1281
|
function i(o) {
|
|
1279
1282
|
var n = this.props.ref, r = n == o.ref;
|
|
1280
1283
|
return !r && n && (n.call ? n(null) : n.current = null), e ? !e(this.props, o) || !r : me(this.props, o);
|
|
1281
1284
|
}
|
|
1282
1285
|
function a(o) {
|
|
1283
|
-
return this.shouldComponentUpdate = i,
|
|
1286
|
+
return this.shouldComponentUpdate = i, B(t, o);
|
|
1284
1287
|
}
|
|
1285
1288
|
return a.displayName = "Memo(" + (t.displayName || t.name) + ")", a.prototype.isReactComponent = !0, a.__f = !0, a;
|
|
1286
1289
|
}
|
|
1287
1290
|
(ye.prototype = new V()).isPureReactComponent = !0, ye.prototype.shouldComponentUpdate = function(t, e) {
|
|
1288
1291
|
return me(this.props, t) || me(this.state, e);
|
|
1289
1292
|
};
|
|
1290
|
-
var
|
|
1293
|
+
var pi = w.__b;
|
|
1291
1294
|
w.__b = function(t) {
|
|
1292
|
-
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null),
|
|
1295
|
+
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), pi && pi(t);
|
|
1293
1296
|
};
|
|
1294
|
-
var
|
|
1295
|
-
function
|
|
1297
|
+
var Zo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
1298
|
+
function Xo(t) {
|
|
1296
1299
|
function e(i) {
|
|
1297
|
-
var a =
|
|
1300
|
+
var a = ma({}, i);
|
|
1298
1301
|
return delete a.ref, t(a, i.ref || null);
|
|
1299
1302
|
}
|
|
1300
|
-
return e.$$typeof =
|
|
1303
|
+
return e.$$typeof = Zo, e.render = e, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
|
|
1301
1304
|
}
|
|
1302
|
-
var
|
|
1305
|
+
var hi = function(t, e) {
|
|
1303
1306
|
return t == null ? null : tt(tt(t).map(e));
|
|
1304
|
-
},
|
|
1307
|
+
}, Jo = { map: hi, forEach: hi, count: function(t) {
|
|
1305
1308
|
return t ? tt(t).length : 0;
|
|
1306
1309
|
}, only: function(t) {
|
|
1307
1310
|
var e = tt(t);
|
|
1308
1311
|
if (e.length !== 1)
|
|
1309
1312
|
throw "Children.only";
|
|
1310
1313
|
return e[0];
|
|
1311
|
-
}, toArray: tt },
|
|
1314
|
+
}, toArray: tt }, Qo = w.__e;
|
|
1312
1315
|
w.__e = function(t, e, i, a) {
|
|
1313
1316
|
if (t.then) {
|
|
1314
1317
|
for (var o, n = e; n = n.__; )
|
|
1315
1318
|
if ((o = n.__c) && o.__c)
|
|
1316
1319
|
return e.__e == null && (e.__e = i.__e, e.__k = i.__k), o.__c(t, e);
|
|
1317
1320
|
}
|
|
1318
|
-
|
|
1321
|
+
Qo(t, e, i, a);
|
|
1319
1322
|
};
|
|
1320
|
-
var
|
|
1321
|
-
function
|
|
1323
|
+
var fi = w.unmount;
|
|
1324
|
+
function ya(t, e, i) {
|
|
1322
1325
|
return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(a) {
|
|
1323
1326
|
typeof a.__c == "function" && a.__c();
|
|
1324
|
-
}), t.__c.__H = null), (t =
|
|
1325
|
-
return
|
|
1327
|
+
}), t.__c.__H = null), (t = ma({}, t)).__c != null && (t.__c.__P === i && (t.__c.__P = e), t.__c = null), t.__k = t.__k && t.__k.map(function(a) {
|
|
1328
|
+
return ya(a, e, i);
|
|
1326
1329
|
})), t;
|
|
1327
1330
|
}
|
|
1328
|
-
function
|
|
1331
|
+
function xa(t, e, i) {
|
|
1329
1332
|
return t && (t.__v = null, t.__k = t.__k && t.__k.map(function(a) {
|
|
1330
|
-
return
|
|
1333
|
+
return xa(a, e, i);
|
|
1331
1334
|
}), t.__c && t.__c.__P === e && (t.__e && i.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = i)), t;
|
|
1332
1335
|
}
|
|
1333
|
-
function
|
|
1336
|
+
function Ct() {
|
|
1334
1337
|
this.__u = 0, this.t = null, this.__b = null;
|
|
1335
1338
|
}
|
|
1336
|
-
function
|
|
1339
|
+
function ka(t) {
|
|
1337
1340
|
var e = t.__.__c;
|
|
1338
1341
|
return e && e.__a && e.__a(t);
|
|
1339
1342
|
}
|
|
1340
|
-
function
|
|
1343
|
+
function $a(t) {
|
|
1341
1344
|
var e, i, a;
|
|
1342
1345
|
function o(n) {
|
|
1343
1346
|
if (e || (e = t()).then(function(r) {
|
|
@@ -1348,20 +1351,20 @@ function xa(t) {
|
|
|
1348
1351
|
throw a;
|
|
1349
1352
|
if (!i)
|
|
1350
1353
|
throw e;
|
|
1351
|
-
return
|
|
1354
|
+
return B(i, n);
|
|
1352
1355
|
}
|
|
1353
1356
|
return o.displayName = "Lazy", o.__f = !0, o;
|
|
1354
1357
|
}
|
|
1355
|
-
function
|
|
1358
|
+
function $t() {
|
|
1356
1359
|
this.u = null, this.o = null;
|
|
1357
1360
|
}
|
|
1358
1361
|
w.unmount = function(t) {
|
|
1359
1362
|
var e = t.__c;
|
|
1360
|
-
e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null),
|
|
1361
|
-
}, (
|
|
1363
|
+
e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), fi && fi(t);
|
|
1364
|
+
}, (Ct.prototype = new V()).__c = function(t, e) {
|
|
1362
1365
|
var i = e.__c, a = this;
|
|
1363
1366
|
a.t == null && (a.t = []), a.t.push(i);
|
|
1364
|
-
var o =
|
|
1367
|
+
var o = ka(a.__v), n = !1, r = function() {
|
|
1365
1368
|
n || (n = !0, i.__R = null, o ? o(s) : s());
|
|
1366
1369
|
};
|
|
1367
1370
|
i.__R = r;
|
|
@@ -1369,7 +1372,7 @@ w.unmount = function(t) {
|
|
|
1369
1372
|
if (!--a.__u) {
|
|
1370
1373
|
if (a.state.__a) {
|
|
1371
1374
|
var d = a.state.__a;
|
|
1372
|
-
a.__v.__k[0] =
|
|
1375
|
+
a.__v.__k[0] = xa(d, d.__c.__P, d.__c.__O);
|
|
1373
1376
|
}
|
|
1374
1377
|
var u;
|
|
1375
1378
|
for (a.setState({ __a: a.__b = null }); u = a.t.pop(); )
|
|
@@ -1377,20 +1380,20 @@ w.unmount = function(t) {
|
|
|
1377
1380
|
}
|
|
1378
1381
|
}, l = e.__h === !0;
|
|
1379
1382
|
a.__u++ || l || a.setState({ __a: a.__b = a.__v.__k[0] }), t.then(r, r);
|
|
1380
|
-
},
|
|
1383
|
+
}, Ct.prototype.componentWillUnmount = function() {
|
|
1381
1384
|
this.t = [];
|
|
1382
|
-
},
|
|
1385
|
+
}, Ct.prototype.render = function(t, e) {
|
|
1383
1386
|
if (this.__b) {
|
|
1384
1387
|
if (this.__v.__k) {
|
|
1385
1388
|
var i = document.createElement("div"), a = this.__v.__k[0].__c;
|
|
1386
|
-
this.__v.__k[0] =
|
|
1389
|
+
this.__v.__k[0] = ya(this.__b, i, a.__O = a.__P);
|
|
1387
1390
|
}
|
|
1388
1391
|
this.__b = null;
|
|
1389
1392
|
}
|
|
1390
|
-
var o = e.__a &&
|
|
1391
|
-
return o && (o.__h = null), [
|
|
1393
|
+
var o = e.__a && B(K, null, t.fallback);
|
|
1394
|
+
return o && (o.__h = null), [B(K, null, e.__a ? null : t.children), o];
|
|
1392
1395
|
};
|
|
1393
|
-
var
|
|
1396
|
+
var wi = function(t, e, i) {
|
|
1394
1397
|
if (++i[1] === i[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size))
|
|
1395
1398
|
for (i = t.u; i; ) {
|
|
1396
1399
|
for (; i.length > 3; )
|
|
@@ -1400,12 +1403,12 @@ var pi = function(t, e, i) {
|
|
|
1400
1403
|
t.u = i = i[2];
|
|
1401
1404
|
}
|
|
1402
1405
|
};
|
|
1403
|
-
function
|
|
1406
|
+
function tn(t) {
|
|
1404
1407
|
return this.getChildContext = function() {
|
|
1405
1408
|
return t.context;
|
|
1406
1409
|
}, t.children;
|
|
1407
1410
|
}
|
|
1408
|
-
function
|
|
1411
|
+
function en(t) {
|
|
1409
1412
|
var e = this, i = t.i;
|
|
1410
1413
|
e.componentWillUnmount = function() {
|
|
1411
1414
|
ut(null, e.l), e.l = null, e.i = null;
|
|
@@ -1415,41 +1418,41 @@ function Qo(t) {
|
|
|
1415
1418
|
this.childNodes.push(a), e.i.appendChild(a);
|
|
1416
1419
|
}, removeChild: function(a) {
|
|
1417
1420
|
this.childNodes.splice(this.childNodes.indexOf(a) >>> 1, 1), e.i.removeChild(a);
|
|
1418
|
-
} }), ut(
|
|
1421
|
+
} }), ut(B(tn, { context: e.context }, t.__v), e.l)) : e.l && e.componentWillUnmount();
|
|
1419
1422
|
}
|
|
1420
|
-
function
|
|
1421
|
-
var i =
|
|
1423
|
+
function an(t, e) {
|
|
1424
|
+
var i = B(en, { __v: t, i: e });
|
|
1422
1425
|
return i.containerInfo = e, i;
|
|
1423
1426
|
}
|
|
1424
|
-
(
|
|
1425
|
-
var e = this, i =
|
|
1427
|
+
($t.prototype = new V()).__a = function(t) {
|
|
1428
|
+
var e = this, i = ka(e.__v), a = e.o.get(t);
|
|
1426
1429
|
return a[0]++, function(o) {
|
|
1427
1430
|
var n = function() {
|
|
1428
|
-
e.props.revealOrder ? (a.push(o),
|
|
1431
|
+
e.props.revealOrder ? (a.push(o), wi(e, t, a)) : o();
|
|
1429
1432
|
};
|
|
1430
1433
|
i ? i(n) : n();
|
|
1431
1434
|
};
|
|
1432
|
-
},
|
|
1435
|
+
}, $t.prototype.render = function(t) {
|
|
1433
1436
|
this.u = null, this.o = /* @__PURE__ */ new Map();
|
|
1434
1437
|
var e = tt(t.children);
|
|
1435
1438
|
t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
|
|
1436
1439
|
for (var i = e.length; i--; )
|
|
1437
1440
|
this.o.set(e[i], this.u = [1, 0, this.u]);
|
|
1438
1441
|
return t.children;
|
|
1439
|
-
},
|
|
1442
|
+
}, $t.prototype.componentDidUpdate = $t.prototype.componentDidMount = function() {
|
|
1440
1443
|
var t = this;
|
|
1441
1444
|
this.o.forEach(function(e, i) {
|
|
1442
|
-
|
|
1445
|
+
wi(t, i, e);
|
|
1443
1446
|
});
|
|
1444
1447
|
};
|
|
1445
|
-
var
|
|
1448
|
+
var Sa = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, on = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, nn = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, rn = /[A-Z0-9]/g, sn = typeof document < "u", ln = function(t) {
|
|
1446
1449
|
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
|
|
1447
1450
|
};
|
|
1448
|
-
function
|
|
1451
|
+
function cn(t, e, i) {
|
|
1449
1452
|
return e.__k == null && (e.textContent = ""), ut(t, e), typeof i == "function" && i(), t ? t.__c : null;
|
|
1450
1453
|
}
|
|
1451
|
-
function
|
|
1452
|
-
return
|
|
1454
|
+
function dn(t, e, i) {
|
|
1455
|
+
return ra(t, e), typeof i == "function" && i(), t ? t.__c : null;
|
|
1453
1456
|
}
|
|
1454
1457
|
V.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
|
|
1455
1458
|
Object.defineProperty(V.prototype, t, { configurable: !0, get: function() {
|
|
@@ -1458,92 +1461,92 @@ V.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
|
|
|
1458
1461
|
Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
|
|
1459
1462
|
} });
|
|
1460
1463
|
});
|
|
1461
|
-
var
|
|
1462
|
-
function
|
|
1464
|
+
var gi = w.event;
|
|
1465
|
+
function un() {
|
|
1463
1466
|
}
|
|
1464
|
-
function
|
|
1467
|
+
function pn() {
|
|
1465
1468
|
return this.cancelBubble;
|
|
1466
1469
|
}
|
|
1467
|
-
function
|
|
1470
|
+
function hn() {
|
|
1468
1471
|
return this.defaultPrevented;
|
|
1469
1472
|
}
|
|
1470
1473
|
w.event = function(t) {
|
|
1471
|
-
return
|
|
1474
|
+
return gi && (t = gi(t)), t.persist = un, t.isPropagationStopped = pn, t.isDefaultPrevented = hn, t.nativeEvent = t;
|
|
1472
1475
|
};
|
|
1473
|
-
var
|
|
1476
|
+
var Ye, fn = { enumerable: !1, configurable: !0, get: function() {
|
|
1474
1477
|
return this.class;
|
|
1475
|
-
} },
|
|
1478
|
+
} }, bi = w.vnode;
|
|
1476
1479
|
w.vnode = function(t) {
|
|
1477
1480
|
typeof t.type == "string" && function(e) {
|
|
1478
1481
|
var i = e.props, a = e.type, o = {};
|
|
1479
1482
|
for (var n in i) {
|
|
1480
1483
|
var r = i[n];
|
|
1481
|
-
if (!(n === "value" && "defaultValue" in i && r == null ||
|
|
1484
|
+
if (!(n === "value" && "defaultValue" in i && r == null || sn && n === "children" && a === "noscript" || n === "class" || n === "className")) {
|
|
1482
1485
|
var s = n.toLowerCase();
|
|
1483
|
-
n === "defaultValue" && "value" in i && i.value == null ? n = "value" : n === "download" && r === !0 ? r = "" : s === "ondoubleclick" ? n = "ondblclick" : s !== "onchange" || a !== "input" && a !== "textarea" ||
|
|
1486
|
+
n === "defaultValue" && "value" in i && i.value == null ? n = "value" : n === "download" && r === !0 ? r = "" : s === "ondoubleclick" ? n = "ondblclick" : s !== "onchange" || a !== "input" && a !== "textarea" || ln(i.type) ? s === "onfocus" ? n = "onfocusin" : s === "onblur" ? n = "onfocusout" : nn.test(n) ? n = s : a.indexOf("-") === -1 && on.test(n) ? n = n.replace(rn, "-$&").toLowerCase() : r === null && (r = void 0) : s = n = "oninput", s === "oninput" && o[n = s] && (n = "oninputCapture"), o[n] = r;
|
|
1484
1487
|
}
|
|
1485
1488
|
}
|
|
1486
1489
|
a == "select" && o.multiple && Array.isArray(o.value) && (o.value = tt(i.children).forEach(function(l) {
|
|
1487
1490
|
l.props.selected = o.value.indexOf(l.props.value) != -1;
|
|
1488
1491
|
})), a == "select" && o.defaultValue != null && (o.value = tt(i.children).forEach(function(l) {
|
|
1489
1492
|
l.props.selected = o.multiple ? o.defaultValue.indexOf(l.props.value) != -1 : o.defaultValue == l.props.value;
|
|
1490
|
-
})), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className",
|
|
1491
|
-
}(t), t.$$typeof =
|
|
1493
|
+
})), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className", fn)) : (i.className && !i.class || i.class && i.className) && (o.class = o.className = i.className), e.props = o;
|
|
1494
|
+
}(t), t.$$typeof = Sa, bi && bi(t);
|
|
1492
1495
|
};
|
|
1493
|
-
var
|
|
1496
|
+
var vi = w.__r;
|
|
1494
1497
|
w.__r = function(t) {
|
|
1495
|
-
|
|
1498
|
+
vi && vi(t), Ye = t.__c;
|
|
1496
1499
|
};
|
|
1497
|
-
var
|
|
1500
|
+
var _i = w.diffed;
|
|
1498
1501
|
w.diffed = function(t) {
|
|
1499
|
-
|
|
1502
|
+
_i && _i(t);
|
|
1500
1503
|
var e = t.props, i = t.__e;
|
|
1501
|
-
i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value),
|
|
1504
|
+
i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value), Ye = null;
|
|
1502
1505
|
};
|
|
1503
|
-
var
|
|
1504
|
-
return
|
|
1506
|
+
var wn = { ReactCurrentDispatcher: { current: { readContext: function(t) {
|
|
1507
|
+
return Ye.__n[t.__c].props.value;
|
|
1505
1508
|
} } } };
|
|
1506
|
-
function
|
|
1507
|
-
return
|
|
1509
|
+
function gn(t) {
|
|
1510
|
+
return B.bind(null, t);
|
|
1508
1511
|
}
|
|
1509
|
-
function
|
|
1510
|
-
return !!t && t.$$typeof ===
|
|
1512
|
+
function Ca(t) {
|
|
1513
|
+
return !!t && t.$$typeof === Sa;
|
|
1511
1514
|
}
|
|
1512
|
-
function
|
|
1513
|
-
return
|
|
1515
|
+
function bn(t) {
|
|
1516
|
+
return Ca(t) ? Po.apply(null, arguments) : t;
|
|
1514
1517
|
}
|
|
1515
|
-
function
|
|
1518
|
+
function vn(t) {
|
|
1516
1519
|
return !!t.__k && (ut(null, t), !0);
|
|
1517
1520
|
}
|
|
1518
|
-
function
|
|
1521
|
+
function _n(t) {
|
|
1519
1522
|
return t && (t.base || t.nodeType === 1 && t) || null;
|
|
1520
1523
|
}
|
|
1521
|
-
var
|
|
1524
|
+
var mn = function(t, e) {
|
|
1522
1525
|
return t(e);
|
|
1523
|
-
},
|
|
1526
|
+
}, yn = function(t, e) {
|
|
1524
1527
|
return t(e);
|
|
1525
|
-
},
|
|
1526
|
-
function
|
|
1528
|
+
}, xn = K;
|
|
1529
|
+
function Ea(t) {
|
|
1527
1530
|
t();
|
|
1528
1531
|
}
|
|
1529
|
-
function
|
|
1532
|
+
function kn(t) {
|
|
1530
1533
|
return t;
|
|
1531
1534
|
}
|
|
1532
|
-
function
|
|
1533
|
-
return [!1,
|
|
1535
|
+
function $n() {
|
|
1536
|
+
return [!1, Ea];
|
|
1534
1537
|
}
|
|
1535
|
-
var
|
|
1536
|
-
function
|
|
1537
|
-
var i = e(), a =
|
|
1538
|
-
return
|
|
1538
|
+
var Sn = mt;
|
|
1539
|
+
function Cn(t, e) {
|
|
1540
|
+
var i = e(), a = wa({ h: { __: i, v: e } }), o = a[0].h, n = a[1];
|
|
1541
|
+
return mt(function() {
|
|
1539
1542
|
o.__ = i, o.v = e, ae(o.__, e()) || n({ h: o });
|
|
1540
|
-
}, [t, i, e]),
|
|
1543
|
+
}, [t, i, e]), ba(function() {
|
|
1541
1544
|
return ae(o.__, o.v()) || n({ h: o }), t(function() {
|
|
1542
1545
|
ae(o.__, o.v()) || n({ h: o });
|
|
1543
1546
|
});
|
|
1544
1547
|
}, [t]), i;
|
|
1545
1548
|
}
|
|
1546
|
-
var
|
|
1549
|
+
var Xr = { useState: wa, useId: Yo, useReducer: ga, useEffect: ba, useLayoutEffect: mt, useInsertionEffect: Sn, useTransition: $n, useDeferredValue: kn, useSyncExternalStore: Cn, startTransition: Ea, useRef: jt, useImperativeHandle: Uo, useMemo: pt, useCallback: Wo, useContext: va, useDebugValue: Vo, version: "17.0.2", Children: Jo, render: cn, hydrate: dn, unmountComponentAtNode: vn, createPortal: an, createElement: B, createContext: sa, createFactory: gn, cloneElement: bn, createRef: ko, Fragment: K, isValidElement: Ca, findDOMNode: _n, Component: V, PureComponent: ye, memo: Go, forwardRef: Xo, flushSync: yn, unstable_batchedUpdates: mn, StrictMode: xn, Suspense: Ct, SuspenseList: $t, lazy: $a, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: wn }, En = ["other", "few", "many", "two", "one", "zero"], mi = ({
|
|
1547
1550
|
terms: t,
|
|
1548
1551
|
overrides: e,
|
|
1549
1552
|
locale: i
|
|
@@ -1562,7 +1565,7 @@ var Gr = { useState: ha, useId: Wo, useReducer: fa, useEffect: wa, useLayoutEffe
|
|
|
1562
1565
|
throw new Error(`Missing count for translation key “${n.toString()}”`);
|
|
1563
1566
|
let l = a.select(r.count);
|
|
1564
1567
|
if (!(l in s)) {
|
|
1565
|
-
const d =
|
|
1568
|
+
const d = En.find((u) => u in s);
|
|
1566
1569
|
if (!d)
|
|
1567
1570
|
throw new Error(`Missing plural rule for translation key “${n.toString()}”`);
|
|
1568
1571
|
l = d;
|
|
@@ -1577,25 +1580,25 @@ var Gr = { useState: ha, useId: Wo, useReducer: fa, useEffect: wa, useLayoutEffe
|
|
|
1577
1580
|
}
|
|
1578
1581
|
}
|
|
1579
1582
|
return o;
|
|
1580
|
-
},
|
|
1583
|
+
}, Pn = 0;
|
|
1581
1584
|
function p(t, e, i, a, o, n) {
|
|
1582
1585
|
var r, s, l = {};
|
|
1583
1586
|
for (s in e)
|
|
1584
1587
|
s == "ref" ? r = e[s] : l[s] = e[s];
|
|
1585
|
-
var d = { type: t, props: l, key: i, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --
|
|
1588
|
+
var d = { type: t, props: l, key: i, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --Pn, __source: o, __self: n };
|
|
1586
1589
|
if (typeof t == "function" && (r = t.defaultProps))
|
|
1587
1590
|
for (s in r)
|
|
1588
1591
|
l[s] === void 0 && (l[s] = r[s]);
|
|
1589
1592
|
return w.vnode && w.vnode(d), d;
|
|
1590
1593
|
}
|
|
1591
|
-
var
|
|
1594
|
+
var yi = sa(null), Pa = (t) => ({
|
|
1592
1595
|
defaultTerms: t,
|
|
1593
1596
|
TranslationProvider: ({ terms: e, children: i, locale: a }) => {
|
|
1594
|
-
const o = pt(() =>
|
|
1595
|
-
return /* @__PURE__ */ p(
|
|
1597
|
+
const o = pt(() => mi({ locale: a, terms: t, overrides: e }), [e, a]);
|
|
1598
|
+
return /* @__PURE__ */ p(yi.Provider, { value: { t: o, locale: a }, children: i });
|
|
1596
1599
|
},
|
|
1597
1600
|
useTranslation: () => {
|
|
1598
|
-
const e =
|
|
1601
|
+
const e = va(yi);
|
|
1599
1602
|
if (e === null)
|
|
1600
1603
|
throw new Error("Please wrap useTranslation in a TranslationProvider");
|
|
1601
1604
|
return { t: e.t, locale: e.locale };
|
|
@@ -1603,15 +1606,15 @@ var vi = na(null), Ca = (t) => ({
|
|
|
1603
1606
|
createTFunction: ({
|
|
1604
1607
|
overrides: e,
|
|
1605
1608
|
locale: i
|
|
1606
|
-
}) =>
|
|
1607
|
-
}),
|
|
1609
|
+
}) => mi({ terms: t, overrides: e, locale: i })
|
|
1610
|
+
}), Tn = { conversation_history: "Conversation history", jump_to_current: "Jump to current question", send: "Send", submitting: "Sending your application…", skip: "Skip", skipped: "Skipped", submission_closed: "Sorry, this role closed while you were applying.", submission_duplicate_earlier_attempt: "You've already applied for this role. If that doesn't sound right, it's most likely a hiccup from your earlier attempt — don't worry, we have your application.", submission_failed: "We couldn't submit your application. Choose Restart to try again.", submission_unknown_do_not_resubmit: "We couldn't confirm whether your application went through, and submitting it again won't help. Please don't keep resubmitting — check your email for a confirmation, or contact the employer if nothing arrives.", submission_unreadable_document: "We couldn't read that file. Please upload a different one.", submission_cooldown: { one: "Submit will be available again in {{count}} second.", other: "Submit will be available again in {{count}} seconds." }, submission_cooldown_ready: "Submit is available again.", captcha_check: "One quick check before we send your application", submission_still_working: "Sending your application, this can take up to a minute. Please keep this page open.", file_preparing: { one: "Preparing your file…", other: "Preparing your files…" }, file_ready: { one: "Your file is ready to send", other: "Your files are ready to send" }, file_read_error: "We couldn't read this file. Select it again or choose another file.", file_read_error_replacement: "We couldn't read this file, so your previous file is no longer selected. Select it again or choose another file.", address_error: "We couldn't search for that address. Try again, or fill it in manually.", address_searching: "Searching addresses…", address_no_results: "We couldn't find that address. Check the spelling or postcode, or fill it in manually.", restart: "Restart", chat_messages: "Chat messages", file_name: "File name", file_size: "File size", file_total_size: "{{size}} total", loading: "Loading", minimize: "Minimise" }, { TranslationProvider: Jr, useTranslation: Qr, createTFunction: ts, defaultTerms: In } = Pa({ submission_redirect_message: "One last step: finish your application on the employer's site.", complete_submission: "Continue on the employer's site", submission_completed: "Submission completed!", submission_pending: "Thanks, we've received your application and are processing it.", submission_failed: "Failed to submit", submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.", submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.", submission_available_at: "Submit will be available again at {{time}}.", resume_prompt: "You have an unfinished application for this role. Continue where you left off?", resume_continue: "Continue", resume_start_again: "Start again", captcha_failed: "Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.", close_application: "Close application", invalid_state: "Invalid application state", redirect_url_error: "Couldn’t get the redirect URL.", upload_file: { one: "Select file to upload", other: "Select files to upload" }, file_max_size: "max {{size}}", file_extensions: "Accepted file extensions", address_error: "Something went wrong! Plase continue manually", address_search: "Type and search for places…", address_manual: "Fill in manually", back: "Back", search: "Search", unknown_error: "An error occurred", line1: "Line 1", line2: "Line 2", line3: "Line 3", city: "City", state: "State", postcode: "Postcode", country: "Country", select_country: "Select a country", validation_empty: "Please enter a value", validation_date: "Please enter a valid date (YYYY-MM-DD)", validation_email: "That doesn’t look like a valid email address", validation_url: "That doesn’t look like a valid URL", validation_max_chars: "Please enter no more than {{count}} characters", validation_min_chars: "Please enter {{count}} or more characters", validation_phone: "Please enter a valid phone number", validation_phone_min_chars: "Your phone number must be at least {{count}} digits long", validation_country_code: "Please select a country code", validation_number: "Please enter a valid number", validation_number_min: "Please enter a number greater than or equal to {{min}}", validation_number_max: "Please enter a number less than or equal to {{max}}", validation_number_whole: "Enter a whole number", validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases", validation_file: "Please select a file", validation_file_ext: "Please only upload {{ext}} files", validation_file_min: { one: "Please upload at least one file", other: "Please only upload at least {{count}} files" }, validation_file_max: { one: "Please only upload one file", other: "Please only upload up to {{count}} files" }, validation_file_size: "Your file is too big. Please upload a file smaller than {{size}}", validation_file_empty: "This file is empty. If it’s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.", validation_required: "This field is required.", validation_multiple_choice_min: { one: "Please select at least {{count}} option", other: "Please select at least {{count}} options" }, validation_multiple_choice_max: { one: "Please select at most {{count}} option", other: "Please select at most {{count}} options" }, optional: "optional" });
|
|
1608
1611
|
const {
|
|
1609
|
-
TranslationProvider:
|
|
1612
|
+
TranslationProvider: jn,
|
|
1610
1613
|
useTranslation: Xt,
|
|
1611
|
-
createTFunction:
|
|
1612
|
-
} =
|
|
1613
|
-
...
|
|
1614
|
-
...
|
|
1614
|
+
createTFunction: es
|
|
1615
|
+
} = Pa({
|
|
1616
|
+
...In,
|
|
1617
|
+
...Tn,
|
|
1615
1618
|
error_heading: "Something unexpected happened",
|
|
1616
1619
|
flow_closed: "This role is no longer accepting applications.",
|
|
1617
1620
|
undo: "Change answer",
|
|
@@ -1631,25 +1634,25 @@ const {
|
|
|
1631
1634
|
other: "+{{count}} files"
|
|
1632
1635
|
}
|
|
1633
1636
|
});
|
|
1634
|
-
function
|
|
1637
|
+
function Ta(t, e) {
|
|
1635
1638
|
if (!t)
|
|
1636
1639
|
throw new Error(e);
|
|
1637
1640
|
}
|
|
1638
|
-
var xe = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(xe) : Object.keys(t).sort().reduce((e, i) => (e[i] = xe(t[i]), e), {}),
|
|
1641
|
+
var xe = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(xe) : Object.keys(t).sort().reduce((e, i) => (e[i] = xe(t[i]), e), {}), An = (t) => {
|
|
1639
1642
|
let e = JSON.stringify(xe(t)), i = 5381;
|
|
1640
1643
|
for (let a = 0; a < e.length; a++)
|
|
1641
1644
|
i = i * 33 ^ e.charCodeAt(a);
|
|
1642
1645
|
return (i >>> 0).toString(36);
|
|
1643
|
-
},
|
|
1644
|
-
function
|
|
1646
|
+
}, On = Symbol.for("preact-signals");
|
|
1647
|
+
function Ke() {
|
|
1645
1648
|
if (gt > 1)
|
|
1646
1649
|
gt--;
|
|
1647
1650
|
else {
|
|
1648
|
-
for (var t, e = !1;
|
|
1649
|
-
var i =
|
|
1650
|
-
for (
|
|
1651
|
+
for (var t, e = !1; Et !== void 0; ) {
|
|
1652
|
+
var i = Et;
|
|
1653
|
+
for (Et = void 0, ke++; i !== void 0; ) {
|
|
1651
1654
|
var a = i.o;
|
|
1652
|
-
if (i.o = void 0, i.f &= -3, !(8 & i.f) &&
|
|
1655
|
+
if (i.o = void 0, i.f &= -3, !(8 & i.f) && ja(i))
|
|
1653
1656
|
try {
|
|
1654
1657
|
i.c();
|
|
1655
1658
|
} catch (o) {
|
|
@@ -1662,8 +1665,8 @@ function Ve() {
|
|
|
1662
1665
|
throw t;
|
|
1663
1666
|
}
|
|
1664
1667
|
}
|
|
1665
|
-
var $ = void 0,
|
|
1666
|
-
function
|
|
1668
|
+
var $ = void 0, Et = void 0, gt = 0, ke = 0, Yt = 0;
|
|
1669
|
+
function Ia(t) {
|
|
1667
1670
|
if ($ !== void 0) {
|
|
1668
1671
|
var e = t.n;
|
|
1669
1672
|
if (e === void 0 || e.t !== $)
|
|
@@ -1672,25 +1675,25 @@ function Pa(t) {
|
|
|
1672
1675
|
return e.i = 0, e.n !== void 0 && (e.n.p = e.p, e.p !== void 0 && (e.p.n = e.n), e.p = $.s, e.n = void 0, $.s.n = e, $.s = e), e;
|
|
1673
1676
|
}
|
|
1674
1677
|
}
|
|
1675
|
-
function
|
|
1678
|
+
function z(t) {
|
|
1676
1679
|
this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
|
|
1677
1680
|
}
|
|
1678
|
-
|
|
1679
|
-
|
|
1681
|
+
z.prototype.brand = On;
|
|
1682
|
+
z.prototype.h = function() {
|
|
1680
1683
|
return !0;
|
|
1681
1684
|
};
|
|
1682
|
-
|
|
1685
|
+
z.prototype.S = function(t) {
|
|
1683
1686
|
this.t !== t && t.e === void 0 && (t.x = this.t, this.t !== void 0 && (this.t.e = t), this.t = t);
|
|
1684
1687
|
};
|
|
1685
|
-
|
|
1688
|
+
z.prototype.U = function(t) {
|
|
1686
1689
|
if (this.t !== void 0) {
|
|
1687
1690
|
var e = t.e, i = t.x;
|
|
1688
1691
|
e !== void 0 && (e.x = i, t.e = void 0), i !== void 0 && (i.e = e, t.x = void 0), t === this.t && (this.t = i);
|
|
1689
1692
|
}
|
|
1690
1693
|
};
|
|
1691
|
-
|
|
1694
|
+
z.prototype.subscribe = function(t) {
|
|
1692
1695
|
var e = this;
|
|
1693
|
-
return
|
|
1696
|
+
return Ge(function() {
|
|
1694
1697
|
var i = e.value, a = $;
|
|
1695
1698
|
$ = void 0;
|
|
1696
1699
|
try {
|
|
@@ -1700,16 +1703,16 @@ D.prototype.subscribe = function(t) {
|
|
|
1700
1703
|
}
|
|
1701
1704
|
});
|
|
1702
1705
|
};
|
|
1703
|
-
|
|
1706
|
+
z.prototype.valueOf = function() {
|
|
1704
1707
|
return this.value;
|
|
1705
1708
|
};
|
|
1706
|
-
|
|
1709
|
+
z.prototype.toString = function() {
|
|
1707
1710
|
return this.value + "";
|
|
1708
1711
|
};
|
|
1709
|
-
|
|
1712
|
+
z.prototype.toJSON = function() {
|
|
1710
1713
|
return this.value;
|
|
1711
1714
|
};
|
|
1712
|
-
|
|
1715
|
+
z.prototype.peek = function() {
|
|
1713
1716
|
var t = $;
|
|
1714
1717
|
$ = void 0;
|
|
1715
1718
|
try {
|
|
@@ -1718,8 +1721,8 @@ D.prototype.peek = function() {
|
|
|
1718
1721
|
$ = t;
|
|
1719
1722
|
}
|
|
1720
1723
|
};
|
|
1721
|
-
Object.defineProperty(
|
|
1722
|
-
var t =
|
|
1724
|
+
Object.defineProperty(z.prototype, "value", { get: function() {
|
|
1725
|
+
var t = Ia(this);
|
|
1723
1726
|
return t !== void 0 && (t.i = this.i), this.v;
|
|
1724
1727
|
}, set: function(t) {
|
|
1725
1728
|
if (t !== this.v) {
|
|
@@ -1730,20 +1733,20 @@ Object.defineProperty(D.prototype, "value", { get: function() {
|
|
|
1730
1733
|
for (var e = this.t; e !== void 0; e = e.x)
|
|
1731
1734
|
e.t.N();
|
|
1732
1735
|
} finally {
|
|
1733
|
-
|
|
1736
|
+
Ke();
|
|
1734
1737
|
}
|
|
1735
1738
|
}
|
|
1736
1739
|
} });
|
|
1737
1740
|
function W(t) {
|
|
1738
|
-
return new
|
|
1741
|
+
return new z(t);
|
|
1739
1742
|
}
|
|
1740
|
-
function
|
|
1743
|
+
function ja(t) {
|
|
1741
1744
|
for (var e = t.s; e !== void 0; e = e.n)
|
|
1742
1745
|
if (e.S.i !== e.i || !e.S.h() || e.S.i !== e.i)
|
|
1743
1746
|
return !0;
|
|
1744
1747
|
return !1;
|
|
1745
1748
|
}
|
|
1746
|
-
function
|
|
1749
|
+
function Aa(t) {
|
|
1747
1750
|
for (var e = t.s; e !== void 0; e = e.n) {
|
|
1748
1751
|
var i = e.S.n;
|
|
1749
1752
|
if (i !== void 0 && (e.r = i), e.S.n = e, e.i = -1, e.n === void 0) {
|
|
@@ -1752,67 +1755,67 @@ function Ia(t) {
|
|
|
1752
1755
|
}
|
|
1753
1756
|
}
|
|
1754
1757
|
}
|
|
1755
|
-
function
|
|
1758
|
+
function Oa(t) {
|
|
1756
1759
|
for (var e = t.s, i = void 0; e !== void 0; ) {
|
|
1757
1760
|
var a = e.p;
|
|
1758
1761
|
e.i === -1 ? (e.S.U(e), a !== void 0 && (a.n = e.n), e.n !== void 0 && (e.n.p = a)) : i = e, e.S.n = e.r, e.r !== void 0 && (e.r = void 0), e = a;
|
|
1759
1762
|
}
|
|
1760
1763
|
t.s = i;
|
|
1761
1764
|
}
|
|
1762
|
-
function
|
|
1763
|
-
|
|
1765
|
+
function yt(t) {
|
|
1766
|
+
z.call(this, void 0), this.x = t, this.s = void 0, this.g = Yt - 1, this.f = 4;
|
|
1764
1767
|
}
|
|
1765
|
-
(
|
|
1768
|
+
(yt.prototype = new z()).h = function() {
|
|
1766
1769
|
if (this.f &= -3, 1 & this.f)
|
|
1767
1770
|
return !1;
|
|
1768
1771
|
if ((36 & this.f) == 32 || (this.f &= -5, this.g === Yt))
|
|
1769
1772
|
return !0;
|
|
1770
|
-
if (this.g = Yt, this.f |= 1, this.i > 0 && !
|
|
1773
|
+
if (this.g = Yt, this.f |= 1, this.i > 0 && !ja(this))
|
|
1771
1774
|
return this.f &= -2, !0;
|
|
1772
1775
|
var t = $;
|
|
1773
1776
|
try {
|
|
1774
|
-
|
|
1777
|
+
Aa(this), $ = this;
|
|
1775
1778
|
var e = this.x();
|
|
1776
1779
|
(16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
|
|
1777
1780
|
} catch (i) {
|
|
1778
1781
|
this.v = i, this.f |= 16, this.i++;
|
|
1779
1782
|
}
|
|
1780
|
-
return $ = t,
|
|
1783
|
+
return $ = t, Oa(this), this.f &= -2, !0;
|
|
1781
1784
|
};
|
|
1782
|
-
|
|
1785
|
+
yt.prototype.S = function(t) {
|
|
1783
1786
|
if (this.t === void 0) {
|
|
1784
1787
|
this.f |= 36;
|
|
1785
1788
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1786
1789
|
e.S.S(e);
|
|
1787
1790
|
}
|
|
1788
|
-
|
|
1791
|
+
z.prototype.S.call(this, t);
|
|
1789
1792
|
};
|
|
1790
|
-
|
|
1791
|
-
if (this.t !== void 0 && (
|
|
1793
|
+
yt.prototype.U = function(t) {
|
|
1794
|
+
if (this.t !== void 0 && (z.prototype.U.call(this, t), this.t === void 0)) {
|
|
1792
1795
|
this.f &= -33;
|
|
1793
1796
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1794
1797
|
e.S.U(e);
|
|
1795
1798
|
}
|
|
1796
1799
|
};
|
|
1797
|
-
|
|
1800
|
+
yt.prototype.N = function() {
|
|
1798
1801
|
if (!(2 & this.f)) {
|
|
1799
1802
|
this.f |= 6;
|
|
1800
1803
|
for (var t = this.t; t !== void 0; t = t.x)
|
|
1801
1804
|
t.t.N();
|
|
1802
1805
|
}
|
|
1803
1806
|
};
|
|
1804
|
-
Object.defineProperty(
|
|
1807
|
+
Object.defineProperty(yt.prototype, "value", { get: function() {
|
|
1805
1808
|
if (1 & this.f)
|
|
1806
1809
|
throw new Error("Cycle detected");
|
|
1807
|
-
var t =
|
|
1810
|
+
var t = Ia(this);
|
|
1808
1811
|
if (this.h(), t !== void 0 && (t.i = this.i), 16 & this.f)
|
|
1809
1812
|
throw this.v;
|
|
1810
1813
|
return this.v;
|
|
1811
1814
|
} });
|
|
1812
|
-
function
|
|
1813
|
-
return new
|
|
1815
|
+
function zn(t) {
|
|
1816
|
+
return new yt(t);
|
|
1814
1817
|
}
|
|
1815
|
-
function
|
|
1818
|
+
function za(t) {
|
|
1816
1819
|
var e = t.u;
|
|
1817
1820
|
if (t.u = void 0, typeof e == "function") {
|
|
1818
1821
|
gt++;
|
|
@@ -1821,26 +1824,26 @@ function ja(t) {
|
|
|
1821
1824
|
try {
|
|
1822
1825
|
e();
|
|
1823
1826
|
} catch (a) {
|
|
1824
|
-
throw t.f &= -2, t.f |= 8,
|
|
1827
|
+
throw t.f &= -2, t.f |= 8, qe(t), a;
|
|
1825
1828
|
} finally {
|
|
1826
|
-
$ = i,
|
|
1829
|
+
$ = i, Ke();
|
|
1827
1830
|
}
|
|
1828
1831
|
}
|
|
1829
1832
|
}
|
|
1830
|
-
function
|
|
1833
|
+
function qe(t) {
|
|
1831
1834
|
for (var e = t.s; e !== void 0; e = e.n)
|
|
1832
1835
|
e.S.U(e);
|
|
1833
|
-
t.x = void 0, t.s = void 0,
|
|
1836
|
+
t.x = void 0, t.s = void 0, za(t);
|
|
1834
1837
|
}
|
|
1835
|
-
function
|
|
1838
|
+
function Dn(t) {
|
|
1836
1839
|
if ($ !== this)
|
|
1837
1840
|
throw new Error("Out-of-order effect");
|
|
1838
|
-
|
|
1841
|
+
Oa(this), $ = t, this.f &= -2, 8 & this.f && qe(this), Ke();
|
|
1839
1842
|
}
|
|
1840
|
-
function
|
|
1843
|
+
function Ot(t) {
|
|
1841
1844
|
this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
|
|
1842
1845
|
}
|
|
1843
|
-
|
|
1846
|
+
Ot.prototype.c = function() {
|
|
1844
1847
|
var t = this.S();
|
|
1845
1848
|
try {
|
|
1846
1849
|
if (8 & this.f || this.x === void 0)
|
|
@@ -1851,21 +1854,21 @@ zt.prototype.c = function() {
|
|
|
1851
1854
|
t();
|
|
1852
1855
|
}
|
|
1853
1856
|
};
|
|
1854
|
-
|
|
1857
|
+
Ot.prototype.S = function() {
|
|
1855
1858
|
if (1 & this.f)
|
|
1856
1859
|
throw new Error("Cycle detected");
|
|
1857
|
-
this.f |= 1, this.f &= -9,
|
|
1860
|
+
this.f |= 1, this.f &= -9, za(this), Aa(this), gt++;
|
|
1858
1861
|
var t = $;
|
|
1859
|
-
return $ = this,
|
|
1862
|
+
return $ = this, Dn.bind(this, t);
|
|
1860
1863
|
};
|
|
1861
|
-
|
|
1862
|
-
2 & this.f || (this.f |= 2, this.o =
|
|
1864
|
+
Ot.prototype.N = function() {
|
|
1865
|
+
2 & this.f || (this.f |= 2, this.o = Et, Et = this);
|
|
1863
1866
|
};
|
|
1864
|
-
|
|
1865
|
-
this.f |= 8, 1 & this.f ||
|
|
1867
|
+
Ot.prototype.d = function() {
|
|
1868
|
+
this.f |= 8, 1 & this.f || qe(this);
|
|
1866
1869
|
};
|
|
1867
|
-
function
|
|
1868
|
-
var e = new
|
|
1870
|
+
function Ge(t) {
|
|
1871
|
+
var e = new Ot(t);
|
|
1869
1872
|
try {
|
|
1870
1873
|
e.c();
|
|
1871
1874
|
} catch (i) {
|
|
@@ -1874,15 +1877,15 @@ function Ke(t) {
|
|
|
1874
1877
|
return e.d.bind(e);
|
|
1875
1878
|
}
|
|
1876
1879
|
var oe;
|
|
1877
|
-
function
|
|
1880
|
+
function xt(t, e) {
|
|
1878
1881
|
w[t] = e.bind(null, w[t] || function() {
|
|
1879
1882
|
});
|
|
1880
1883
|
}
|
|
1881
1884
|
function Kt(t) {
|
|
1882
1885
|
oe && oe(), oe = t && t.S();
|
|
1883
1886
|
}
|
|
1884
|
-
function
|
|
1885
|
-
var e = this, i = t.data, a =
|
|
1887
|
+
function Da(t) {
|
|
1888
|
+
var e = this, i = t.data, a = Fn(i);
|
|
1886
1889
|
a.value = i;
|
|
1887
1890
|
var o = pt(function() {
|
|
1888
1891
|
for (var n = e.__v; n = n.__; )
|
|
@@ -1892,45 +1895,45 @@ function za(t) {
|
|
|
1892
1895
|
}
|
|
1893
1896
|
return e.__$u.c = function() {
|
|
1894
1897
|
var r;
|
|
1895
|
-
!
|
|
1896
|
-
},
|
|
1898
|
+
!Gi(o.peek()) && ((r = e.base) == null ? void 0 : r.nodeType) === 3 ? e.base.data = o.peek() : (e.__$f |= 1, e.setState({}));
|
|
1899
|
+
}, zn(function() {
|
|
1897
1900
|
var r = a.value.value;
|
|
1898
1901
|
return r === 0 ? 0 : r === !0 ? "" : r || "";
|
|
1899
1902
|
});
|
|
1900
1903
|
}, []);
|
|
1901
1904
|
return o.value;
|
|
1902
1905
|
}
|
|
1903
|
-
|
|
1904
|
-
Object.defineProperties(
|
|
1906
|
+
Da.displayName = "_st";
|
|
1907
|
+
Object.defineProperties(z.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: Da }, props: { configurable: !0, get: function() {
|
|
1905
1908
|
return { data: this };
|
|
1906
1909
|
} }, __b: { configurable: !0, value: 1 } });
|
|
1907
|
-
|
|
1910
|
+
xt("__b", function(t, e) {
|
|
1908
1911
|
if (typeof e.type == "string") {
|
|
1909
1912
|
var i, a = e.props;
|
|
1910
1913
|
for (var o in a)
|
|
1911
1914
|
if (o !== "children") {
|
|
1912
1915
|
var n = a[o];
|
|
1913
|
-
n instanceof
|
|
1916
|
+
n instanceof z && (i || (e.__np = i = {}), i[o] = n, a[o] = n.peek());
|
|
1914
1917
|
}
|
|
1915
1918
|
}
|
|
1916
1919
|
t(e);
|
|
1917
1920
|
});
|
|
1918
|
-
|
|
1921
|
+
xt("__r", function(t, e) {
|
|
1919
1922
|
Kt();
|
|
1920
1923
|
var i, a = e.__c;
|
|
1921
1924
|
a && (a.__$f &= -2, (i = a.__$u) === void 0 && (a.__$u = i = function(o) {
|
|
1922
1925
|
var n;
|
|
1923
|
-
return
|
|
1926
|
+
return Ge(function() {
|
|
1924
1927
|
n = this;
|
|
1925
1928
|
}), n.c = function() {
|
|
1926
1929
|
a.__$f |= 1, a.setState({});
|
|
1927
1930
|
}, n;
|
|
1928
1931
|
}())), Kt(i), t(e);
|
|
1929
1932
|
});
|
|
1930
|
-
|
|
1933
|
+
xt("__e", function(t, e, i, a) {
|
|
1931
1934
|
Kt(), t(e, i, a);
|
|
1932
1935
|
});
|
|
1933
|
-
|
|
1936
|
+
xt("diffed", function(t, e) {
|
|
1934
1937
|
Kt();
|
|
1935
1938
|
var i;
|
|
1936
1939
|
if (typeof e.type == "string" && (i = e.__e)) {
|
|
@@ -1946,22 +1949,22 @@ yt("diffed", function(t, e) {
|
|
|
1946
1949
|
i.U = n = {};
|
|
1947
1950
|
for (var l in a) {
|
|
1948
1951
|
var d = n[l], u = a[l];
|
|
1949
|
-
d === void 0 ? (d =
|
|
1952
|
+
d === void 0 ? (d = Nn(i, l, u, o), n[l] = d) : d.o(u, o);
|
|
1950
1953
|
}
|
|
1951
1954
|
}
|
|
1952
1955
|
}
|
|
1953
1956
|
t(e);
|
|
1954
1957
|
});
|
|
1955
|
-
function
|
|
1958
|
+
function Nn(t, e, i, a) {
|
|
1956
1959
|
var o = e in t && t.ownerSVGElement === void 0, n = W(i);
|
|
1957
1960
|
return { o: function(r, s) {
|
|
1958
1961
|
n.value = r, a = s;
|
|
1959
|
-
}, d:
|
|
1962
|
+
}, d: Ge(function() {
|
|
1960
1963
|
var r = n.value.value;
|
|
1961
1964
|
a[e] !== r && (a[e] = r, o ? t[e] = r : r ? t.setAttribute(e, r) : t.removeAttribute(e));
|
|
1962
1965
|
}) };
|
|
1963
1966
|
}
|
|
1964
|
-
|
|
1967
|
+
xt("unmount", function(t, e) {
|
|
1965
1968
|
if (typeof e.type == "string") {
|
|
1966
1969
|
var i = e.__e;
|
|
1967
1970
|
if (i) {
|
|
@@ -1983,7 +1986,7 @@ yt("unmount", function(t, e) {
|
|
|
1983
1986
|
}
|
|
1984
1987
|
t(e);
|
|
1985
1988
|
});
|
|
1986
|
-
|
|
1989
|
+
xt("__h", function(t, e, i, a) {
|
|
1987
1990
|
(a < 3 || a === 9) && (e.__$f |= 2), t(e, i, a);
|
|
1988
1991
|
});
|
|
1989
1992
|
V.prototype.shouldComponentUpdate = function(t, e) {
|
|
@@ -2000,15 +2003,15 @@ V.prototype.shouldComponentUpdate = function(t, e) {
|
|
|
2000
2003
|
return !0;
|
|
2001
2004
|
return !1;
|
|
2002
2005
|
};
|
|
2003
|
-
function
|
|
2006
|
+
function Fn(t) {
|
|
2004
2007
|
return pt(function() {
|
|
2005
2008
|
return W(t);
|
|
2006
2009
|
}, []);
|
|
2007
2010
|
}
|
|
2008
2011
|
const $e = (t, e) => e.some((i) => t instanceof i);
|
|
2009
|
-
let
|
|
2010
|
-
function
|
|
2011
|
-
return
|
|
2012
|
+
let xi, ki;
|
|
2013
|
+
function Mn() {
|
|
2014
|
+
return xi || (xi = [
|
|
2012
2015
|
IDBDatabase,
|
|
2013
2016
|
IDBObjectStore,
|
|
2014
2017
|
IDBIndex,
|
|
@@ -2016,15 +2019,15 @@ function Nn() {
|
|
|
2016
2019
|
IDBTransaction
|
|
2017
2020
|
]);
|
|
2018
2021
|
}
|
|
2019
|
-
function
|
|
2020
|
-
return
|
|
2022
|
+
function Rn() {
|
|
2023
|
+
return ki || (ki = [
|
|
2021
2024
|
IDBCursor.prototype.advance,
|
|
2022
2025
|
IDBCursor.prototype.continue,
|
|
2023
2026
|
IDBCursor.prototype.continuePrimaryKey
|
|
2024
2027
|
]);
|
|
2025
2028
|
}
|
|
2026
2029
|
const Se = /* @__PURE__ */ new WeakMap(), ne = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap();
|
|
2027
|
-
function
|
|
2030
|
+
function Ln(t) {
|
|
2028
2031
|
const e = new Promise((i, a) => {
|
|
2029
2032
|
const o = () => {
|
|
2030
2033
|
t.removeEventListener("success", n), t.removeEventListener("error", r);
|
|
@@ -2037,7 +2040,7 @@ function Mn(t) {
|
|
|
2037
2040
|
});
|
|
2038
2041
|
return Jt.set(e, t), e;
|
|
2039
2042
|
}
|
|
2040
|
-
function
|
|
2043
|
+
function Bn(t) {
|
|
2041
2044
|
if (Se.has(t))
|
|
2042
2045
|
return;
|
|
2043
2046
|
const e = new Promise((i, a) => {
|
|
@@ -2069,29 +2072,29 @@ let Ce = {
|
|
|
2069
2072
|
return t instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in t;
|
|
2070
2073
|
}
|
|
2071
2074
|
};
|
|
2072
|
-
function
|
|
2075
|
+
function Na(t) {
|
|
2073
2076
|
Ce = t(Ce);
|
|
2074
2077
|
}
|
|
2075
|
-
function
|
|
2076
|
-
return
|
|
2078
|
+
function Hn(t) {
|
|
2079
|
+
return Rn().includes(t) ? function(...e) {
|
|
2077
2080
|
return t.apply(Ee(this), e), ct(this.request);
|
|
2078
2081
|
} : function(...e) {
|
|
2079
2082
|
return ct(t.apply(Ee(this), e));
|
|
2080
2083
|
};
|
|
2081
2084
|
}
|
|
2082
|
-
function
|
|
2083
|
-
return typeof t == "function" ?
|
|
2085
|
+
function Un(t) {
|
|
2086
|
+
return typeof t == "function" ? Hn(t) : (t instanceof IDBTransaction && Bn(t), $e(t, Mn()) ? new Proxy(t, Ce) : t);
|
|
2084
2087
|
}
|
|
2085
2088
|
function ct(t) {
|
|
2086
2089
|
if (t instanceof IDBRequest)
|
|
2087
|
-
return
|
|
2090
|
+
return Ln(t);
|
|
2088
2091
|
if (ne.has(t))
|
|
2089
2092
|
return ne.get(t);
|
|
2090
|
-
const e =
|
|
2093
|
+
const e = Un(t);
|
|
2091
2094
|
return e !== t && (ne.set(t, e), Jt.set(e, t)), e;
|
|
2092
2095
|
}
|
|
2093
2096
|
const Ee = (t) => Jt.get(t);
|
|
2094
|
-
function
|
|
2097
|
+
function Wn(t, e, { blocked: i, upgrade: a, blocking: o, terminated: n } = {}) {
|
|
2095
2098
|
const r = indexedDB.open(t, e), s = ct(r);
|
|
2096
2099
|
return a && r.addEventListener("upgradeneeded", (l) => {
|
|
2097
2100
|
a(ct(r.result), l.oldVersion, l.newVersion, ct(r.transaction), l);
|
|
@@ -2105,16 +2108,16 @@ function Hn(t, e, { blocked: i, upgrade: a, blocking: o, terminated: n } = {}) {
|
|
|
2105
2108
|
}).catch(() => {
|
|
2106
2109
|
}), s;
|
|
2107
2110
|
}
|
|
2108
|
-
const
|
|
2109
|
-
function
|
|
2111
|
+
const Vn = ["get", "getKey", "getAll", "getAllKeys", "count"], Yn = ["put", "add", "delete", "clear"], re = /* @__PURE__ */ new Map();
|
|
2112
|
+
function $i(t, e) {
|
|
2110
2113
|
if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
|
|
2111
2114
|
return;
|
|
2112
2115
|
if (re.get(e))
|
|
2113
2116
|
return re.get(e);
|
|
2114
|
-
const i = e.replace(/FromIndex$/, ""), a = e !== i, o =
|
|
2117
|
+
const i = e.replace(/FromIndex$/, ""), a = e !== i, o = Yn.includes(i);
|
|
2115
2118
|
if (
|
|
2116
2119
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
|
2117
|
-
!(i in (a ? IDBIndex : IDBObjectStore).prototype) || !(o ||
|
|
2120
|
+
!(i in (a ? IDBIndex : IDBObjectStore).prototype) || !(o || Vn.includes(i))
|
|
2118
2121
|
)
|
|
2119
2122
|
return;
|
|
2120
2123
|
const n = async function(r, ...s) {
|
|
@@ -2127,43 +2130,43 @@ function yi(t, e) {
|
|
|
2127
2130
|
};
|
|
2128
2131
|
return re.set(e, n), n;
|
|
2129
2132
|
}
|
|
2130
|
-
|
|
2133
|
+
Na((t) => ({
|
|
2131
2134
|
...t,
|
|
2132
|
-
get: (e, i, a) =>
|
|
2133
|
-
has: (e, i) =>
|
|
2135
|
+
get: (e, i, a) => $i(e, i) || t.get(e, i, a),
|
|
2136
|
+
has: (e, i) => !!$i(e, i) || t.has(e, i)
|
|
2134
2137
|
}));
|
|
2135
|
-
const
|
|
2138
|
+
const Kn = ["continue", "continuePrimaryKey", "advance"], Si = {}, Pe = /* @__PURE__ */ new WeakMap(), Fa = /* @__PURE__ */ new WeakMap(), qn = {
|
|
2136
2139
|
get(t, e) {
|
|
2137
|
-
if (!
|
|
2140
|
+
if (!Kn.includes(e))
|
|
2138
2141
|
return t[e];
|
|
2139
|
-
let i =
|
|
2140
|
-
return i || (i =
|
|
2141
|
-
Pe.set(this,
|
|
2142
|
+
let i = Si[e];
|
|
2143
|
+
return i || (i = Si[e] = function(...a) {
|
|
2144
|
+
Pe.set(this, Fa.get(this)[e](...a));
|
|
2142
2145
|
}), i;
|
|
2143
2146
|
}
|
|
2144
2147
|
};
|
|
2145
|
-
async function*
|
|
2148
|
+
async function* Gn(...t) {
|
|
2146
2149
|
let e = this;
|
|
2147
2150
|
if (e instanceof IDBCursor || (e = await e.openCursor(...t)), !e)
|
|
2148
2151
|
return;
|
|
2149
2152
|
e = e;
|
|
2150
|
-
const i = new Proxy(e,
|
|
2151
|
-
for (
|
|
2153
|
+
const i = new Proxy(e, qn);
|
|
2154
|
+
for (Fa.set(i, e), Jt.set(i, Ee(e)); e; )
|
|
2152
2155
|
yield i, e = await (Pe.get(i) || e.continue()), Pe.delete(i);
|
|
2153
2156
|
}
|
|
2154
|
-
function
|
|
2157
|
+
function Ci(t, e) {
|
|
2155
2158
|
return e === Symbol.asyncIterator && $e(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && $e(t, [IDBIndex, IDBObjectStore]);
|
|
2156
2159
|
}
|
|
2157
|
-
|
|
2160
|
+
Na((t) => ({
|
|
2158
2161
|
...t,
|
|
2159
2162
|
get(e, i, a) {
|
|
2160
|
-
return
|
|
2163
|
+
return Ci(e, i) ? Gn : t.get(e, i, a);
|
|
2161
2164
|
},
|
|
2162
2165
|
has(e, i) {
|
|
2163
|
-
return
|
|
2166
|
+
return Ci(e, i) || t.has(e, i);
|
|
2164
2167
|
}
|
|
2165
2168
|
}));
|
|
2166
|
-
const
|
|
2169
|
+
const Pt = typeof indexedDB > "u" ? void 0 : Wn("inploi-chatbot", 3, {
|
|
2167
2170
|
upgrade(t) {
|
|
2168
2171
|
try {
|
|
2169
2172
|
t.deleteObjectStore("state");
|
|
@@ -2171,7 +2174,7 @@ const Et = typeof indexedDB > "u" ? void 0 : Hn("inploi-chatbot", 3, {
|
|
|
2171
2174
|
}
|
|
2172
2175
|
t.createObjectStore("state");
|
|
2173
2176
|
}
|
|
2174
|
-
}),
|
|
2177
|
+
}), Zn = (t) => ({
|
|
2175
2178
|
...t,
|
|
2176
2179
|
messages: t.messages.map((e) => {
|
|
2177
2180
|
if (e.type !== "link")
|
|
@@ -2183,17 +2186,17 @@ const Et = typeof indexedDB > "u" ? void 0 : Hn("inploi-chatbot", 3, {
|
|
|
2183
2186
|
return a;
|
|
2184
2187
|
})
|
|
2185
2188
|
});
|
|
2186
|
-
let Mt, se,
|
|
2187
|
-
const
|
|
2189
|
+
let Mt, se, kt;
|
|
2190
|
+
const Ei = () => {
|
|
2188
2191
|
if (!Mt)
|
|
2189
|
-
return
|
|
2192
|
+
return kt;
|
|
2190
2193
|
const t = Mt;
|
|
2191
2194
|
Mt = void 0;
|
|
2192
|
-
const e = qt(t), i =
|
|
2193
|
-
|
|
2195
|
+
const e = qt(t), i = Pt == null ? void 0 : Pt.then((a) => a.put("state", Zn(t.data), e)).finally(() => {
|
|
2196
|
+
kt === i && (kt = void 0);
|
|
2194
2197
|
});
|
|
2195
|
-
return
|
|
2196
|
-
},
|
|
2198
|
+
return kt = i, kt;
|
|
2199
|
+
}, U = {
|
|
2197
2200
|
getStateData: async (t, e, i) => {
|
|
2198
2201
|
var o;
|
|
2199
2202
|
const a = qt({
|
|
@@ -2201,18 +2204,18 @@ const $i = () => {
|
|
|
2201
2204
|
flowKeys: e,
|
|
2202
2205
|
context: i
|
|
2203
2206
|
});
|
|
2204
|
-
return (o = await
|
|
2207
|
+
return (o = await Pt) == null ? void 0 : o.get("state", a);
|
|
2205
2208
|
},
|
|
2206
2209
|
/** Every application saved in this browser, whatever its job or flow. */
|
|
2207
2210
|
getAllStateData: async () => {
|
|
2208
2211
|
var t;
|
|
2209
|
-
return ((t = await
|
|
2212
|
+
return ((t = await Pt) == null ? void 0 : t.getAll("state")) ?? [];
|
|
2210
2213
|
},
|
|
2211
2214
|
setStateData: (t) => {
|
|
2212
|
-
Mt = t, clearTimeout(se), se = setTimeout(() => void
|
|
2215
|
+
Mt = t, clearTimeout(se), se = setTimeout(() => void Ei(), 1e3);
|
|
2213
2216
|
},
|
|
2214
|
-
flushStateData: () => (clearTimeout(se),
|
|
2215
|
-
},
|
|
2217
|
+
flushStateData: () => (clearTimeout(se), Ei() ?? Promise.resolve())
|
|
2218
|
+
}, is = (t) => (e) => e ? e.type === t : !1, Xn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : Math.random().toString(36).slice(2), Pi = () => ({
|
|
2216
2219
|
messages: [],
|
|
2217
2220
|
submissions: {},
|
|
2218
2221
|
currentInput: null,
|
|
@@ -2221,10 +2224,10 @@ const $i = () => {
|
|
|
2221
2224
|
isFinished: !1,
|
|
2222
2225
|
hasInteracted: !1,
|
|
2223
2226
|
sequence: 0,
|
|
2224
|
-
flowSessionId:
|
|
2225
|
-
}),
|
|
2227
|
+
flowSessionId: Xn()
|
|
2228
|
+
}), as = (t) => (
|
|
2226
2229
|
/** nativeEvent is a hidden property not exposed by JSX's typings */
|
|
2227
|
-
|
|
2230
|
+
He(t).with({
|
|
2228
2231
|
nativeEvent: {
|
|
2229
2232
|
submitter: ft.select(ft.union(ft.instanceOf(HTMLButtonElement), ft.instanceOf(HTMLInputElement)))
|
|
2230
2233
|
}
|
|
@@ -2265,23 +2268,23 @@ const $i = () => {
|
|
|
2265
2268
|
stepsMade: a,
|
|
2266
2269
|
remainingSteps: l
|
|
2267
2270
|
};
|
|
2268
|
-
},
|
|
2271
|
+
}, Jn = (t) => {
|
|
2269
2272
|
const e = {}, i = t.find((a) => a.isHead);
|
|
2270
2273
|
return i && Rt(t, i, (a, o) => {
|
|
2271
2274
|
e[a] = o;
|
|
2272
2275
|
}), e;
|
|
2273
|
-
}, qt = (t) => [...t.flowKeys, t.id, t.version, t.build,
|
|
2276
|
+
}, qt = (t) => [...t.flowKeys, t.id, t.version, t.build, An(t.hostContext ?? t.context)].join("/"), Qn = ({
|
|
2274
2277
|
data: t,
|
|
2275
2278
|
nodes: e
|
|
2276
2279
|
}) => {
|
|
2277
2280
|
const i = t.startedWriteNodeIds === void 0 ? e.some((a) => a.type === "integration-application-submit" && t.nodeHistory.includes(a.id)) : t.startedWriteNodeIds.length > 0;
|
|
2278
|
-
return !t.isFinished && !i &&
|
|
2279
|
-
},
|
|
2281
|
+
return !t.isFinished && !i && Ui(e, t.submissions);
|
|
2282
|
+
}, Ti = ({
|
|
2280
2283
|
data: t,
|
|
2281
2284
|
nodes: e
|
|
2282
2285
|
}) => {
|
|
2283
2286
|
var i;
|
|
2284
|
-
return !t.isFinished && ((((i = t.startedWriteNodeIds) == null ? void 0 : i.length) ?? 0) > 0 ||
|
|
2287
|
+
return !t.isFinished && ((((i = t.startedWriteNodeIds) == null ? void 0 : i.length) ?? 0) > 0 || Ui(e, t.submissions));
|
|
2285
2288
|
}, X = W({
|
|
2286
2289
|
state: "idle"
|
|
2287
2290
|
}), le = /* @__PURE__ */ new Set(), st = (t) => {
|
|
@@ -2291,12 +2294,12 @@ const $i = () => {
|
|
|
2291
2294
|
} = X.value;
|
|
2292
2295
|
if (e !== "loaded")
|
|
2293
2296
|
return;
|
|
2294
|
-
|
|
2297
|
+
Ta(i, "No flow to update");
|
|
2295
2298
|
const a = t(i.data);
|
|
2296
2299
|
i.data = a, X.value = {
|
|
2297
2300
|
state: e,
|
|
2298
2301
|
flow: i
|
|
2299
|
-
},
|
|
2302
|
+
}, U.setStateData(i);
|
|
2300
2303
|
}, S = {
|
|
2301
2304
|
current$: X,
|
|
2302
2305
|
viewState$: W("closed"),
|
|
@@ -2304,45 +2307,47 @@ const $i = () => {
|
|
|
2304
2307
|
jobAlerts: t,
|
|
2305
2308
|
flow: e,
|
|
2306
2309
|
context: i = {},
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2310
|
+
jobContext: a,
|
|
2311
|
+
flowKeys: o,
|
|
2312
|
+
title: n,
|
|
2313
|
+
analytics: r,
|
|
2314
|
+
job: s,
|
|
2315
|
+
locationOrigin: l
|
|
2312
2316
|
}) => {
|
|
2313
|
-
await
|
|
2317
|
+
await U.flushStateData().catch(() => {
|
|
2314
2318
|
});
|
|
2315
|
-
const
|
|
2319
|
+
const d = await U.getStateData(e, o, i), u = d ?? Pi(), c = qt({
|
|
2316
2320
|
...e,
|
|
2317
|
-
flowKeys:
|
|
2321
|
+
flowKeys: o,
|
|
2318
2322
|
context: i
|
|
2319
|
-
}),
|
|
2320
|
-
data:
|
|
2323
|
+
}), f = d !== void 0 && !le.has(c) && Qn({
|
|
2324
|
+
data: u,
|
|
2321
2325
|
nodes: e.nodes
|
|
2322
2326
|
});
|
|
2323
|
-
return
|
|
2327
|
+
return f || le.add(c), {
|
|
2324
2328
|
jobAlerts: t,
|
|
2325
|
-
data:
|
|
2326
|
-
offerResume:
|
|
2329
|
+
data: u,
|
|
2330
|
+
offerResume: f,
|
|
2327
2331
|
startedAt: /* @__PURE__ */ new Date(),
|
|
2328
|
-
nodeIdToProgress:
|
|
2329
|
-
flowKeys:
|
|
2332
|
+
nodeIdToProgress: Jn(e.nodes),
|
|
2333
|
+
flowKeys: o,
|
|
2330
2334
|
id: e.id,
|
|
2331
2335
|
version: e.version,
|
|
2332
2336
|
nodes: e.nodes,
|
|
2333
2337
|
build: e.build,
|
|
2334
|
-
context: i,
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2338
|
+
context: a === void 0 ? i : Me(a, i),
|
|
2339
|
+
hostContext: a === void 0 ? void 0 : i,
|
|
2340
|
+
title: n,
|
|
2341
|
+
analytics: r,
|
|
2342
|
+
job: s,
|
|
2343
|
+
locationOrigin: l
|
|
2339
2344
|
};
|
|
2340
2345
|
},
|
|
2341
2346
|
commitFlow: (t) => {
|
|
2342
2347
|
X.value = {
|
|
2343
2348
|
state: "loaded",
|
|
2344
2349
|
flow: t
|
|
2345
|
-
},
|
|
2350
|
+
}, U.setStateData(t);
|
|
2346
2351
|
},
|
|
2347
2352
|
/** The candidate chose to continue or start again, so this page does not ask about this application again. */
|
|
2348
2353
|
settleResume: (t) => {
|
|
@@ -2363,7 +2368,7 @@ const $i = () => {
|
|
|
2363
2368
|
})),
|
|
2364
2369
|
setCurrentNodeId: (t) => st((e) => (e.nodeHistory.push(t), e)),
|
|
2365
2370
|
setApplicationRecovery: async (t) => {
|
|
2366
|
-
st((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await
|
|
2371
|
+
st((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await U.flushStateData();
|
|
2367
2372
|
},
|
|
2368
2373
|
restart: () => {
|
|
2369
2374
|
const {
|
|
@@ -2373,7 +2378,7 @@ const $i = () => {
|
|
|
2373
2378
|
if (t !== "loaded")
|
|
2374
2379
|
throw new Error("Flow cannot be restarted: not in valid state");
|
|
2375
2380
|
const i = {
|
|
2376
|
-
...
|
|
2381
|
+
...Pi(),
|
|
2377
2382
|
failedAttemptAt: e.data.failedAttemptAt,
|
|
2378
2383
|
unconfirmedAttemptKeys: e.data.unconfirmedAttemptKeys,
|
|
2379
2384
|
submitCooldown: e.data.submitCooldown
|
|
@@ -2386,7 +2391,7 @@ const $i = () => {
|
|
|
2386
2391
|
X.value = {
|
|
2387
2392
|
state: t,
|
|
2388
2393
|
flow: a
|
|
2389
|
-
},
|
|
2394
|
+
}, U.setStateData(a);
|
|
2390
2395
|
},
|
|
2391
2396
|
addMessage: (t, e) => {
|
|
2392
2397
|
const i = {
|
|
@@ -2401,9 +2406,9 @@ const $i = () => {
|
|
|
2401
2406
|
state: e,
|
|
2402
2407
|
flow: i
|
|
2403
2408
|
} = X.value;
|
|
2404
|
-
|
|
2409
|
+
Ta(e === "loaded", "Application not loaded");
|
|
2405
2410
|
const a = i.data.messages.filter((o) => !o.groupId || !t.includes(o.groupId));
|
|
2406
|
-
i.data.messages = a,
|
|
2411
|
+
i.data.messages = a, U.setStateData(i);
|
|
2407
2412
|
},
|
|
2408
2413
|
setSubmission: (t, e) => st((i) => (e === null ? delete i.submissions[t] : i.submissions[t] = e, i)),
|
|
2409
2414
|
setInput: (t) => st((e) => ({
|
|
@@ -2414,9 +2419,9 @@ const $i = () => {
|
|
|
2414
2419
|
X.peek().flow === t && (X.value = {
|
|
2415
2420
|
state: "loaded",
|
|
2416
2421
|
flow: t
|
|
2417
|
-
}),
|
|
2422
|
+
}), U.setStateData(t), await U.flushStateData();
|
|
2418
2423
|
}
|
|
2419
|
-
},
|
|
2424
|
+
}, Ii = ({
|
|
2420
2425
|
heading: t
|
|
2421
2426
|
}) => {
|
|
2422
2427
|
const {
|
|
@@ -2468,7 +2473,7 @@ const $i = () => {
|
|
|
2468
2473
|
})
|
|
2469
2474
|
})]
|
|
2470
2475
|
});
|
|
2471
|
-
},
|
|
2476
|
+
}, tr = (t) => {
|
|
2472
2477
|
const {
|
|
2473
2478
|
t: e
|
|
2474
2479
|
} = Xt();
|
|
@@ -2532,15 +2537,15 @@ const $i = () => {
|
|
|
2532
2537
|
})
|
|
2533
2538
|
})]
|
|
2534
2539
|
});
|
|
2535
|
-
},
|
|
2540
|
+
}, ji = () => p("div", {
|
|
2536
2541
|
class: "flex flex-grow flex-col items-center justify-center",
|
|
2537
|
-
children: p(
|
|
2542
|
+
children: p(tr, {
|
|
2538
2543
|
class: "text-neutral-6 h-8 w-8"
|
|
2539
2544
|
})
|
|
2540
|
-
}),
|
|
2545
|
+
}), er = (t) => {
|
|
2541
2546
|
const i = t / 100, a = 1.3;
|
|
2542
2547
|
return t < 0 ? "0%" : t > 100 ? "100%" : `${Math.round((1 - (1 - 0.1) * Math.pow(1 - i, a)) * 100)}%`;
|
|
2543
|
-
},
|
|
2548
|
+
}, ir = We("touch-hitbox fr relative flex-none rounded-full p-2 transition-all", {
|
|
2544
2549
|
variants: {
|
|
2545
2550
|
variant: {
|
|
2546
2551
|
neutral: "text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",
|
|
@@ -2556,7 +2561,7 @@ const $i = () => {
|
|
|
2556
2561
|
variant: i,
|
|
2557
2562
|
...a
|
|
2558
2563
|
}) => p("button", {
|
|
2559
|
-
class:
|
|
2564
|
+
class: Ue(ir({
|
|
2560
2565
|
variant: i
|
|
2561
2566
|
}), t),
|
|
2562
2567
|
...a,
|
|
@@ -2572,9 +2577,9 @@ const $i = () => {
|
|
|
2572
2577
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2573
2578
|
children: e
|
|
2574
2579
|
})
|
|
2575
|
-
}),
|
|
2580
|
+
}), ar = () => p("path", {
|
|
2576
2581
|
d: "M12.5 6.5L8 11L3.5 6.5"
|
|
2577
|
-
}),
|
|
2582
|
+
}), or = () => {
|
|
2578
2583
|
if (S.current$.value.state !== "loaded")
|
|
2579
2584
|
return null;
|
|
2580
2585
|
const t = S.current$.value.flow.nodeIdToProgress, e = S.current$.value.flow.data.nodeHistory.at(-1);
|
|
@@ -2588,12 +2593,12 @@ const $i = () => {
|
|
|
2588
2593
|
class: "bg-accent-3",
|
|
2589
2594
|
children: p("div", {
|
|
2590
2595
|
style: {
|
|
2591
|
-
width:
|
|
2596
|
+
width: er(a)
|
|
2592
2597
|
},
|
|
2593
2598
|
class: "bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"
|
|
2594
2599
|
})
|
|
2595
2600
|
});
|
|
2596
|
-
},
|
|
2601
|
+
}, nr = ({
|
|
2597
2602
|
children: t,
|
|
2598
2603
|
params: e
|
|
2599
2604
|
}) => {
|
|
@@ -2626,7 +2631,7 @@ const $i = () => {
|
|
|
2626
2631
|
children: [e.feedback ? p("div", {
|
|
2627
2632
|
"data-widget": "inploi-feedback",
|
|
2628
2633
|
"data-key": "chatbot-header",
|
|
2629
|
-
class:
|
|
2634
|
+
class: Ue({
|
|
2630
2635
|
hidden: S.current$.value.state !== "loaded" || a.value !== "maximised"
|
|
2631
2636
|
}),
|
|
2632
2637
|
children: p("div", {
|
|
@@ -2648,16 +2653,16 @@ const $i = () => {
|
|
|
2648
2653
|
onTouchStart: Ie,
|
|
2649
2654
|
"aria-label": i("minimize"),
|
|
2650
2655
|
onClick: () => a.value = "minimised",
|
|
2651
|
-
children: p(
|
|
2656
|
+
children: p(ar, {})
|
|
2652
2657
|
}, "minmax")]
|
|
2653
2658
|
})]
|
|
2654
|
-
}), p(
|
|
2659
|
+
}), p(or, {})]
|
|
2655
2660
|
})
|
|
2656
2661
|
});
|
|
2657
2662
|
};
|
|
2658
2663
|
function Ie() {
|
|
2659
2664
|
}
|
|
2660
|
-
const
|
|
2665
|
+
const rr = $a(() => import("./chatbot-body-e11d7ba9.js").then((t) => t.ChatbotBody)), Ma = We("selection:bg-accent-4 selection:text-accent-12 fixed bottom-2 left-2 right-2 isolate mx-auto max-h-full focus:outline-none [&:has(.view-switch:active)]:scale-[0.98] transition-all duration-1000 ease-expo-out", {
|
|
2661
2666
|
variants: {
|
|
2662
2667
|
view: {
|
|
2663
2668
|
closed: "hidden",
|
|
@@ -2665,7 +2670,7 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2665
2670
|
maximised: "max-w-[450px] h-[var(--content-height)] animate-maximise"
|
|
2666
2671
|
}
|
|
2667
2672
|
}
|
|
2668
|
-
}),
|
|
2673
|
+
}), Ra = We("relative flex h-full overflow-hidden rounded-3xl outline outline-1", {
|
|
2669
2674
|
variants: {
|
|
2670
2675
|
view: {
|
|
2671
2676
|
closed: "hidden",
|
|
@@ -2673,19 +2678,19 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2673
2678
|
maximised: "outline-neutral-3 bg-neutral-1 flex-col"
|
|
2674
2679
|
}
|
|
2675
2680
|
}
|
|
2676
|
-
}),
|
|
2681
|
+
}), sr = ({
|
|
2677
2682
|
open: t,
|
|
2678
2683
|
...e
|
|
2679
2684
|
}) => {
|
|
2680
|
-
const i =
|
|
2681
|
-
return
|
|
2685
|
+
const i = jt(null);
|
|
2686
|
+
return mt(() => {
|
|
2682
2687
|
const a = i.current;
|
|
2683
2688
|
a && (t ? a.showModal() : a.close());
|
|
2684
2689
|
}, [t]), p("dialog", {
|
|
2685
2690
|
ref: i,
|
|
2686
2691
|
...e
|
|
2687
2692
|
});
|
|
2688
|
-
},
|
|
2693
|
+
}, lr = ({
|
|
2689
2694
|
logger: t,
|
|
2690
2695
|
apiClient: e,
|
|
2691
2696
|
rpcClient: i,
|
|
@@ -2696,11 +2701,11 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2696
2701
|
const {
|
|
2697
2702
|
state: r,
|
|
2698
2703
|
flow: s
|
|
2699
|
-
} = S.current$.value, l = S.viewState$.value, d = r !== "idle" && l === "maximised", u =
|
|
2700
|
-
return p(
|
|
2704
|
+
} = S.current$.value, l = S.viewState$.value, d = r !== "idle" && l === "maximised", u = jt(null), c = s ? [...s.data.nodeHistory].reverse().map((f) => s.nodes.find((b) => b.id === f)).find((f) => (f == null ? void 0 : f.type) === "flow-section") : void 0;
|
|
2705
|
+
return p(jn, {
|
|
2701
2706
|
terms: n.terms,
|
|
2702
2707
|
locale: void 0,
|
|
2703
|
-
children: [p(
|
|
2708
|
+
children: [p(sr, {
|
|
2704
2709
|
open: d,
|
|
2705
2710
|
onClose: () => S.viewState$.value = "minimised",
|
|
2706
2711
|
children: p("div", {
|
|
@@ -2708,14 +2713,14 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2708
2713
|
"aria-modal": "true",
|
|
2709
2714
|
role: "dialog",
|
|
2710
2715
|
"aria-labelledby": "chatbot-status-bar",
|
|
2711
|
-
class:
|
|
2716
|
+
class: Ma({
|
|
2712
2717
|
view: "maximised"
|
|
2713
2718
|
}),
|
|
2714
2719
|
children: p("div", {
|
|
2715
|
-
class:
|
|
2720
|
+
class: Ra({
|
|
2716
2721
|
view: "maximised"
|
|
2717
2722
|
}),
|
|
2718
|
-
children: [p(
|
|
2723
|
+
children: [p(nr, {
|
|
2719
2724
|
params: n,
|
|
2720
2725
|
children: c ? p(K, {
|
|
2721
2726
|
children: [p("span", {
|
|
@@ -2726,18 +2731,18 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2726
2731
|
children: s == null ? void 0 : s.title
|
|
2727
2732
|
})]
|
|
2728
2733
|
}) : s == null ? void 0 : s.title
|
|
2729
|
-
}),
|
|
2734
|
+
}), He({
|
|
2730
2735
|
state: r,
|
|
2731
2736
|
view: l
|
|
2732
2737
|
}).with({
|
|
2733
2738
|
state: "idle"
|
|
2734
2739
|
}, () => null).with({
|
|
2735
2740
|
state: "loading"
|
|
2736
|
-
}, () => p(
|
|
2741
|
+
}, () => p(ji, {}, "loading")).with({
|
|
2737
2742
|
state: "loaded"
|
|
2738
|
-
}, () => p(
|
|
2739
|
-
fallback: p(
|
|
2740
|
-
children: p(
|
|
2743
|
+
}, () => p(Ct, {
|
|
2744
|
+
fallback: p(ji, {}, "loading"),
|
|
2745
|
+
children: p(rr, {
|
|
2741
2746
|
rpcClient: i,
|
|
2742
2747
|
analytics: a,
|
|
2743
2748
|
apiClient: e,
|
|
@@ -2746,32 +2751,32 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2746
2751
|
})
|
|
2747
2752
|
})).with({
|
|
2748
2753
|
state: "closed"
|
|
2749
|
-
}, () => p(
|
|
2754
|
+
}, () => p(Ii, {
|
|
2750
2755
|
heading: "flow_closed"
|
|
2751
2756
|
})).with({
|
|
2752
2757
|
state: "error"
|
|
2753
|
-
}, () => p(
|
|
2758
|
+
}, () => p(Ii, {
|
|
2754
2759
|
heading: "error_heading"
|
|
2755
2760
|
})).exhaustive()]
|
|
2756
2761
|
})
|
|
2757
2762
|
})
|
|
2758
|
-
}), l === "minimised" ? p(
|
|
2763
|
+
}), l === "minimised" ? p(cr, {
|
|
2759
2764
|
flow: s
|
|
2760
2765
|
}) : null]
|
|
2761
2766
|
});
|
|
2762
|
-
},
|
|
2767
|
+
}, cr = ({
|
|
2763
2768
|
flow: t
|
|
2764
2769
|
}) => {
|
|
2765
2770
|
const {
|
|
2766
2771
|
t: e
|
|
2767
2772
|
} = Xt();
|
|
2768
2773
|
return p("div", {
|
|
2769
|
-
class:
|
|
2774
|
+
class: Ma({
|
|
2770
2775
|
view: "minimised",
|
|
2771
2776
|
class: "z-100 isolate"
|
|
2772
2777
|
}),
|
|
2773
2778
|
children: p("div", {
|
|
2774
|
-
class:
|
|
2779
|
+
class: Ra({
|
|
2775
2780
|
view: "minimised"
|
|
2776
2781
|
}),
|
|
2777
2782
|
children: [p("button", {
|
|
@@ -2799,18 +2804,18 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2799
2804
|
})]
|
|
2800
2805
|
})
|
|
2801
2806
|
});
|
|
2802
|
-
}, lr = `[data-widget=inploi-chatbot]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;z-index:2147483647;font-size:16px;font-family:sans-serif;--i-lowest: 0 0% 100%;--i-e-1: 340 100% 99%;--i-e-2: 353 100% 98%;--i-e-3: 351 91% 96%;--i-e-4: 351 100% 93%;--i-e-5: 350 100% 90%;--i-e-6: 351 80% 86%;--i-e-7: 349 68% 81%;--i-e-8: 348 61% 74%;--i-e-9: 348 75% 59%;--i-e-10: 347 70% 55%;--i-e-11: 345 70% 47%;--i-e-12: 344 63% 24%;--header-height: 44px;--content-height:calc(100vh - 64px);--content-height:calc(100svh - 64px)}@media screen and (min-width: 768px){[data-widget=inploi-chatbot]{--content-height: min(640px, calc(100vh - 16px));--content-height: min(640px, calc(100svh - 16px)) }}[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot]{--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[data-widget=inploi-chatbot] em{font-style:italic}[data-widget=inploi-chatbot] strong{font-weight:700}[data-widget=inploi-chatbot] *{font-weight:inherit;font-style:inherit;box-sizing:border-box;font-family:inherit;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{box-sizing:border-box}[data-widget=inploi-chatbot] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-chatbot] :is(p){margin:0;padding:0}[data-widget=inploi-chatbot] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-chatbot] :is(button){margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-chatbot] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-chatbot] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-chatbot] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-chatbot] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-chatbot] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-chatbot] .container{max-width:1536px}}[data-widget=inploi-chatbot] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-chatbot] .\\!visible{visibility:visible!important}[data-widget=inploi-chatbot] .visible{visibility:visible}[data-widget=inploi-chatbot] .invisible{visibility:hidden}[data-widget=inploi-chatbot] .collapse{visibility:collapse}[data-widget=inploi-chatbot] .static{position:static}[data-widget=inploi-chatbot] .fixed{position:fixed}[data-widget=inploi-chatbot] .absolute{position:absolute}[data-widget=inploi-chatbot] .relative{position:relative}[data-widget=inploi-chatbot] .sticky{position:sticky}[data-widget=inploi-chatbot] .inset-0{top:0;right:0;bottom:0;left:0}[data-widget=inploi-chatbot] .bottom-0{bottom:0}[data-widget=inploi-chatbot] .bottom-1{bottom:4px}[data-widget=inploi-chatbot] .bottom-2{bottom:8px}[data-widget=inploi-chatbot] .bottom-2\\.5{bottom:10px}[data-widget=inploi-chatbot] .left-0{left:0}[data-widget=inploi-chatbot] .left-1\\/2{left:50%}[data-widget=inploi-chatbot] .left-2{left:8px}[data-widget=inploi-chatbot] .right-0{right:0}[data-widget=inploi-chatbot] .right-0\\.5{right:2px}[data-widget=inploi-chatbot] .right-1{right:4px}[data-widget=inploi-chatbot] .right-2{right:8px}[data-widget=inploi-chatbot] .top-0{top:0}[data-widget=inploi-chatbot] .isolate{isolation:isolate}[data-widget=inploi-chatbot] .z-20{z-index:20}[data-widget=inploi-chatbot] .z-50{z-index:50}[data-widget=inploi-chatbot] .m-0{margin:0}[data-widget=inploi-chatbot] .mx-1{margin-left:4px;margin-right:4px}[data-widget=inploi-chatbot] .mx-auto{margin-left:auto;margin-right:auto}[data-widget=inploi-chatbot] .mb-1{margin-bottom:4px}[data-widget=inploi-chatbot] .ml-auto{margin-left:auto}[data-widget=inploi-chatbot] .mt-0\\.5{margin-top:2px}[data-widget=inploi-chatbot] .mt-auto{margin-top:auto}[data-widget=inploi-chatbot] .block{display:block}[data-widget=inploi-chatbot] .inline-block{display:inline-block}[data-widget=inploi-chatbot] .inline{display:inline}[data-widget=inploi-chatbot] .flex{display:flex}[data-widget=inploi-chatbot] .inline-flex{display:inline-flex}[data-widget=inploi-chatbot] .table{display:table}[data-widget=inploi-chatbot] .table-row{display:table-row}[data-widget=inploi-chatbot] .flow-root{display:flow-root}[data-widget=inploi-chatbot] .grid{display:grid}[data-widget=inploi-chatbot] .inline-grid{display:inline-grid}[data-widget=inploi-chatbot] .contents{display:contents}[data-widget=inploi-chatbot] .list-item{display:list-item}[data-widget=inploi-chatbot] .\\!hidden{display:none!important}[data-widget=inploi-chatbot] .hidden{display:none}[data-widget=inploi-chatbot] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-chatbot] .h-1\\.5{height:6px}[data-widget=inploi-chatbot] .h-16{height:64px}[data-widget=inploi-chatbot] .h-4{height:16px}[data-widget=inploi-chatbot] .h-48{height:192px}[data-widget=inploi-chatbot] .h-8{height:32px}[data-widget=inploi-chatbot] .h-\\[3px\\]{height:3px}[data-widget=inploi-chatbot] .h-\\[var\\(--content-height\\)\\]{height:var(--content-height)}[data-widget=inploi-chatbot] .h-\\[var\\(--header-height\\)\\]{height:var(--header-height)}[data-widget=inploi-chatbot] .h-full{height:100%}[data-widget=inploi-chatbot] .max-h-\\[calc\\(100\\%-var\\(--header-height\\)-4rem\\)\\]{max-height:calc(100% - var(--header-height) - 64px)}[data-widget=inploi-chatbot] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 16px)}[data-widget=inploi-chatbot] .max-h-full{max-height:100%}[data-widget=inploi-chatbot] .min-h-0{min-height:0px}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[44px\\]{min-height:44px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 16px)}[data-widget=inploi-chatbot] .w-1\\.5{width:6px}[data-widget=inploi-chatbot] .w-16{width:64px}[data-widget=inploi-chatbot] .w-24{width:96px}[data-widget=inploi-chatbot] .w-4{width:16px}[data-widget=inploi-chatbot] .w-64{width:256px}[data-widget=inploi-chatbot] .w-8{width:32px}[data-widget=inploi-chatbot] .w-\\[72px\\]{width:72px}[data-widget=inploi-chatbot] .w-full{width:100%}[data-widget=inploi-chatbot] .min-w-0{min-width:0px}[data-widget=inploi-chatbot] .min-w-\\[2rem\\]{min-width:32px}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,384px)}[data-widget=inploi-chatbot] .max-w-\\[min\\(300px\\,calc\\(100vw-4rem\\)\\)\\]{max-width:min(300px,calc(100vw - 64px))}[data-widget=inploi-chatbot] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-chatbot] .max-w-full{max-width:100%}[data-widget=inploi-chatbot] .flex-1{flex:1 1 0%}[data-widget=inploi-chatbot] .flex-auto{flex:1 1 auto}[data-widget=inploi-chatbot] .flex-none{flex:none}[data-widget=inploi-chatbot] .flex-shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .shrink{flex-shrink:1}[data-widget=inploi-chatbot] .shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-widget=inploi-chatbot] .animate-bounce{animation:bounce 1s infinite}@keyframes bubble-in{0%{transform:translateY(100%) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}[data-widget=inploi-chatbot] .animate-bubble-in{animation:bubble-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes maximise{0%{transform:translateY(50%) scaleX(.7)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-maximise{animation:maximise .4s cubic-bezier(.16,1,.3,1)}@keyframes pulse{50%{opacity:.5}}[data-widget=inploi-chatbot] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-100%) scaleX(1.25)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-slide-in-bottom{animation:slide-in-bottom .3s cubic-bezier(.175,.885,.32,1.275)}[data-widget=inploi-chatbot] .cursor-pointer{cursor:pointer}[data-widget=inploi-chatbot] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-none{resize:none}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .scroll-pb-12{scroll-padding-bottom:48px}[data-widget=inploi-chatbot] .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-widget=inploi-chatbot] .flex-col{flex-direction:column}[data-widget=inploi-chatbot] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-chatbot] .items-start{align-items:flex-start}[data-widget=inploi-chatbot] .items-end{align-items:flex-end}[data-widget=inploi-chatbot] .items-center{align-items:center}[data-widget=inploi-chatbot] .items-stretch{align-items:stretch}[data-widget=inploi-chatbot] .justify-end{justify-content:flex-end}[data-widget=inploi-chatbot] .justify-center{justify-content:center}[data-widget=inploi-chatbot] .gap-0{gap:0px}[data-widget=inploi-chatbot] .gap-1{gap:4px}[data-widget=inploi-chatbot] .gap-1\\.5{gap:6px}[data-widget=inploi-chatbot] .gap-2{gap:8px}[data-widget=inploi-chatbot] .gap-2\\.5{gap:10px}[data-widget=inploi-chatbot] .gap-3{gap:12px}[data-widget=inploi-chatbot] .gap-4{gap:16px}[data-widget=inploi-chatbot] .self-center{align-self:center}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overscroll-contain{overscroll-behavior:contain}[data-widget=inploi-chatbot] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-chatbot] .text-ellipsis{text-overflow:ellipsis}[data-widget=inploi-chatbot] .whitespace-nowrap{white-space:nowrap}[data-widget=inploi-chatbot] .text-balance{text-wrap:balance}[data-widget=inploi-chatbot] .text-pretty{text-wrap:pretty}[data-widget=inploi-chatbot] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:4px}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:16px}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:24px}[data-widget=inploi-chatbot] .rounded-\\[18px\\]{border-radius:18px}[data-widget=inploi-chatbot] .rounded-full{border-radius:9999px}[data-widget=inploi-chatbot] .rounded-lg{border-radius:8px}[data-widget=inploi-chatbot] .rounded-md{border-radius:6px}[data-widget=inploi-chatbot] .rounded-xl{border-radius:12px}[data-widget=inploi-chatbot] .rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}[data-widget=inploi-chatbot] .rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}[data-widget=inploi-chatbot] .rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}[data-widget=inploi-chatbot] .rounded-bl-md{border-bottom-left-radius:6px}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:6px}[data-widget=inploi-chatbot] .border{border-width:1px}[data-widget=inploi-chatbot] .border-b{border-bottom-width:1px}[data-widget=inploi-chatbot] .border-t{border-top-width:1px}[data-widget=inploi-chatbot] .border-solid{border-style:solid}[data-widget=inploi-chatbot] .border-dashed{border-style:dashed}[data-widget=inploi-chatbot] .border-accent-9{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .border-divider{border-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .border-neutral-5{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-neutral-8{border-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .border-transparent{border-color:transparent}[data-widget=inploi-chatbot] .border-b-neutral-3{border-bottom-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .border-b-neutral-5{border-bottom-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-b-transparent{border-bottom-color:transparent}[data-widget=inploi-chatbot] .bg-accent-1{background-color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .bg-accent-3{background-color:var(--i-color-a-3)}[data-widget=inploi-chatbot] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .bg-bubble-weak-bg{background-color:var(--i-bubble-weak-bg)}[data-widget=inploi-chatbot] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-chatbot] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-chatbot] .bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .bg-neutral-3{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .bg-statusbar{background-color:var(--i-status-bar-bg)}[data-widget=inploi-chatbot] .bg-transparent{background-color:transparent}[data-widget=inploi-chatbot] .bg-none{background-image:none}[data-widget=inploi-chatbot] .p-1{padding:4px}[data-widget=inploi-chatbot] .p-1\\.5{padding:6px}[data-widget=inploi-chatbot] .p-10{padding:40px}[data-widget=inploi-chatbot] .p-11{padding:44px}[data-widget=inploi-chatbot] .p-12{padding:48px}[data-widget=inploi-chatbot] .p-2{padding:8px}[data-widget=inploi-chatbot] .p-2\\.5{padding:10px}[data-widget=inploi-chatbot] .p-3{padding:12px}[data-widget=inploi-chatbot] .p-4{padding:16px}[data-widget=inploi-chatbot] .p-5{padding:20px}[data-widget=inploi-chatbot] .p-6{padding:24px}[data-widget=inploi-chatbot] .p-7{padding:28px}[data-widget=inploi-chatbot] .p-8{padding:32px}[data-widget=inploi-chatbot] .p-9{padding:36px}[data-widget=inploi-chatbot] .px-0\\.5{padding-left:2px;padding-right:2px}[data-widget=inploi-chatbot] .px-1{padding-left:4px;padding-right:4px}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:6px;padding-right:6px}[data-widget=inploi-chatbot] .px-2{padding-left:8px;padding-right:8px}[data-widget=inploi-chatbot] .px-3{padding-left:12px;padding-right:12px}[data-widget=inploi-chatbot] .px-4{padding-left:16px;padding-right:16px}[data-widget=inploi-chatbot] .px-5{padding-left:20px;padding-right:20px}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:2px;padding-bottom:2px}[data-widget=inploi-chatbot] .py-1{padding-top:4px;padding-bottom:4px}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .py-2{padding-top:8px;padding-bottom:8px}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:10px;padding-bottom:10px}[data-widget=inploi-chatbot] .py-3{padding-top:12px;padding-bottom:12px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:8px}[data-widget=inploi-chatbot] .pb-6{padding-bottom:24px}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:6px}[data-widget=inploi-chatbot] .pl-2{padding-left:8px}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:10px}[data-widget=inploi-chatbot] .pl-3{padding-left:12px}[data-widget=inploi-chatbot] .pl-4{padding-left:16px}[data-widget=inploi-chatbot] .pr-1{padding-right:4px}[data-widget=inploi-chatbot] .pr-16{padding-right:64px}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:10px}[data-widget=inploi-chatbot] .pr-3{padding-right:12px}[data-widget=inploi-chatbot] .pr-4{padding-right:16px}[data-widget=inploi-chatbot] .pt-2{padding-top:8px}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:10px}[data-widget=inploi-chatbot] .pt-3{padding-top:12px}[data-widget=inploi-chatbot] .pt-5{padding-top:20px}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 16px)}[data-widget=inploi-chatbot] .text-center{text-align:center}[data-widget=inploi-chatbot] .text-right{text-align:right}[data-widget=inploi-chatbot] .text-justify{text-align:justify}[data-widget=inploi-chatbot] .text-\\[10px\\]{font-size:10px}[data-widget=inploi-chatbot] .text-\\[11px\\]{font-size:11px}[data-widget=inploi-chatbot] .text-base{font-size:16px;line-height:24px}[data-widget=inploi-chatbot] .text-sm{font-size:14px;line-height:20px}[data-widget=inploi-chatbot] .text-xs{font-size:12px;line-height:16px}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[data-widget=inploi-chatbot] .font-normal{font-weight:400}[data-widget=inploi-chatbot] .font-semibold{font-weight:600}[data-widget=inploi-chatbot] .uppercase{text-transform:uppercase}[data-widget=inploi-chatbot] .lowercase{text-transform:lowercase}[data-widget=inploi-chatbot] .capitalize{text-transform:capitalize}[data-widget=inploi-chatbot] .italic{font-style:italic}[data-widget=inploi-chatbot] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-chatbot] .leading-3{line-height:12px}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .text-accent-12{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .text-error-11{color:var(--i-color-e-11)}[data-widget=inploi-chatbot] .text-error-9{color:var(--i-color-e-9)}[data-widget=inploi-chatbot] .text-neutral-10{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .text-neutral-6{color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .text-system-success{color:var(--i-system-message-success)}[data-widget=inploi-chatbot] .text-system-warning{color:var(--i-system-message-warning)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-white\\/80{color:#fffc}[data-widget=inploi-chatbot] .underline{text-decoration-line:underline}[data-widget=inploi-chatbot] .no-underline{text-decoration-line:none}[data-widget=inploi-chatbot] .underline-offset-2{text-underline-offset:2px}[data-widget=inploi-chatbot] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-chatbot] .caret-accent-9{caret-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .opacity-0{opacity:0}[data-widget=inploi-chatbot] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-md{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 6px 4px 0px oklch(0% 0 0 / .01);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-sm{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 4px 4px 0px oklch(0% 0 0 / .02);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-bubble-strong-shadow{--tw-shadow-color: var(--i-bubble-strong-shadow);--tw-shadow: var(--tw-shadow-colored)}[data-widget=inploi-chatbot] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .outline{outline-style:solid}[data-widget=inploi-chatbot] .outline-1{outline-width:1px}[data-widget=inploi-chatbot] .outline-2{outline-width:2px}[data-widget=inploi-chatbot] .outline-accent-10{outline-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .outline-accent-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-inset{--tw-ring-inset: inset}[data-widget=inploi-chatbot] .ring-accent-6{--tw-ring-color: var(--i-color-a-6)}[data-widget=inploi-chatbot] .ring-divider{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .ring-lowest{--tw-ring-color: var(--i-color-lowest)}[data-widget=inploi-chatbot] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-chatbot] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-chatbot] .ring-neutral-7{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-chatbot] .ring-transparent{--tw-ring-color: transparent}[data-widget=inploi-chatbot] .ring-offset-\\[1\\.5px\\]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .ring-offset-neutral-1{--tw-ring-offset-color: var(--i-color-n-1)}[data-widget=inploi-chatbot] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .drop-shadow-\\[0_1\\.5px_var\\(--i-color-n-1\\)\\]{--tw-drop-shadow: drop-shadow(0 1.5px var(--i-color-n-1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-saturate-150{--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .duration-100{transition-duration:.1s}[data-widget=inploi-chatbot] .duration-1000{transition-duration:1s}[data-widget=inploi-chatbot] .duration-300{transition-duration:.3s}[data-widget=inploi-chatbot] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-chatbot] .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-chatbot] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-chatbot] .text-wrap-balance{text-wrap:balance}[data-widget=inploi-chatbot] .fr{outline:none}[data-widget=inploi-chatbot] .fr:focus{outline:none}[data-widget=inploi-chatbot] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .gutter-stable{scrollbar-gutter:stable}[data-widget=inploi-chatbot] .hide-scrollbars::-webkit-scrollbar{display:none}[data-widget=inploi-chatbot] .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}[data-widget=inploi-chatbot] .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}[data-widget=inploi-chatbot] .\\[-webkit-outer-spin-button\\:none\\]{-webkit-outer-spin-button:none}[data-widget=inploi-chatbot] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-chatbot] .\\[grid-template-columns\\:min-content_1fr\\]{grid-template-columns:min-content 1fr}[data-widget=inploi-chatbot] .\\[text-wrap\\:pretty\\]{text-wrap:pretty}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::-moz-placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .focus-within\\:bg-neutral-5:focus-within{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-within\\:outline-accent-7:focus-within{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-chatbot] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .hover\\:border-accent-10:hover{border-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:border-neutral-5:hover{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-accent-10:hover{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:bg-divider:hover{background-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .hover\\:bg-interactive-bg-hover:hover{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-4:hover{background-color:var(--i-color-n-4)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-5:hover{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-white\\/20:hover{background-color:#fff3}[data-widget=inploi-chatbot] .hover\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-chatbot] .hover\\:ring-accent-8:hover{--tw-ring-color: var(--i-color-a-8)}[data-widget=inploi-chatbot] .hover\\:ring-divider:hover{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-chatbot] .focus\\:bg-neutral-5:focus{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus-visible\\:bg-neutral-3:focus-visible{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-2:focus-visible{outline-width:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-7:focus-visible{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-8:focus-visible{outline-color:var(--i-color-a-8)}[data-widget=inploi-chatbot] .focus-visible\\:ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .active\\:border-submit-bg-active:active{border-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:bg-accent-2:active{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-active:active{background-color:var(--i-interactive-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-hover:active{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:bg-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-white\\/30:active{background-color:#ffffff4d}[data-widget=inploi-chatbot] .active\\:text-accent-10:active{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:text-accent-11:active{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .active\\:text-neutral-12:active{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .active\\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .active\\:outline-neutral-8:active{outline-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .active\\:ring-2:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .active\\:ring-accent-7:active{--tw-ring-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .active\\:ring-interactive-bg-hover:active{--tw-ring-color: var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:ring-offset-2:active{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-widget=inploi-chatbot] .disabled\\:opacity-50:disabled{opacity:.5}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:bg-accent-2{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:outline-accent-7{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-accent-9{--tw-ring-color: var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-offset-accent-7{--tw-ring-offset-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}[data-widget=inploi-chatbot] .aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:border-accent-9:hover[aria-disabled=true]{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:bg-accent-9:hover[aria-disabled=true]{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-1:active[aria-disabled=true]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-offset-\\[1\\.5px\\]:active[aria-disabled=true]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (pointer: coarse){[data-widget=inploi-chatbot] .pointer-coarse\\:touch-hitbox\\:\\:before:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\+\\*\\>input\\:focus\\)\\]\\:text-neutral-12:has(+*>input:focus){color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\>\\.view-switch\\:focus-visible\\)\\]\\:ring-1:has(>.view-switch:focus-visible){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[data-widget=inploi-chatbot] dialog::backdrop{animation:fade-in .5s cubic-bezier(.16,1,.3,1) both}[data-widget=inploi-chatbot] dialog::backdrop{background-color:var(--i-overlay-bg)}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot] [data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out}}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot],[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] *:before,[data-widget=inploi-chatbot] *:after,[data-widget=inploi-chatbot] dialog::backdrop{animation:none!important;transition-property:opacity,color,background-color,border-color!important;transition-duration:.15s!important;scroll-behavior:auto!important}[data-widget=inploi-chatbot] .animate-fade-in,[data-widget=inploi-chatbot] .animate-bubble-in,[data-widget=inploi-chatbot] .animate-maximise,[data-widget=inploi-chatbot] .animate-slide-in-bottom,[data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out!important}}@keyframes inploi-chatbot-fade{0%{opacity:0}}
|
|
2803
|
-
`,
|
|
2804
|
-
getChatbotElement: () => document.querySelector(
|
|
2807
|
+
}, dr = `[data-widget=inploi-chatbot]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;z-index:2147483647;font-size:16px;font-family:sans-serif;--i-lowest: 0 0% 100%;--i-e-1: 340 100% 99%;--i-e-2: 353 100% 98%;--i-e-3: 351 91% 96%;--i-e-4: 351 100% 93%;--i-e-5: 350 100% 90%;--i-e-6: 351 80% 86%;--i-e-7: 349 68% 81%;--i-e-8: 348 61% 74%;--i-e-9: 348 75% 59%;--i-e-10: 347 70% 55%;--i-e-11: 345 70% 47%;--i-e-12: 344 63% 24%;--header-height: 44px;--content-height:calc(100vh - 64px);--content-height:calc(100svh - 64px)}@media screen and (min-width: 768px){[data-widget=inploi-chatbot]{--content-height: min(640px, calc(100vh - 16px));--content-height: min(640px, calc(100svh - 16px)) }}[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot]{--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[data-widget=inploi-chatbot] em{font-style:italic}[data-widget=inploi-chatbot] strong{font-weight:700}[data-widget=inploi-chatbot] *{font-weight:inherit;font-style:inherit;box-sizing:border-box;font-family:inherit;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{box-sizing:border-box}[data-widget=inploi-chatbot] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-chatbot] :is(p){margin:0;padding:0}[data-widget=inploi-chatbot] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-chatbot] :is(button){margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-chatbot] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-chatbot] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-chatbot] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-chatbot] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-chatbot] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-chatbot] .container{max-width:1536px}}[data-widget=inploi-chatbot] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-chatbot] .\\!visible{visibility:visible!important}[data-widget=inploi-chatbot] .visible{visibility:visible}[data-widget=inploi-chatbot] .invisible{visibility:hidden}[data-widget=inploi-chatbot] .collapse{visibility:collapse}[data-widget=inploi-chatbot] .static{position:static}[data-widget=inploi-chatbot] .fixed{position:fixed}[data-widget=inploi-chatbot] .absolute{position:absolute}[data-widget=inploi-chatbot] .relative{position:relative}[data-widget=inploi-chatbot] .sticky{position:sticky}[data-widget=inploi-chatbot] .inset-0{top:0;right:0;bottom:0;left:0}[data-widget=inploi-chatbot] .bottom-0{bottom:0}[data-widget=inploi-chatbot] .bottom-1{bottom:4px}[data-widget=inploi-chatbot] .bottom-2{bottom:8px}[data-widget=inploi-chatbot] .bottom-2\\.5{bottom:10px}[data-widget=inploi-chatbot] .left-0{left:0}[data-widget=inploi-chatbot] .left-1\\/2{left:50%}[data-widget=inploi-chatbot] .left-2{left:8px}[data-widget=inploi-chatbot] .right-0{right:0}[data-widget=inploi-chatbot] .right-0\\.5{right:2px}[data-widget=inploi-chatbot] .right-1{right:4px}[data-widget=inploi-chatbot] .right-2{right:8px}[data-widget=inploi-chatbot] .top-0{top:0}[data-widget=inploi-chatbot] .isolate{isolation:isolate}[data-widget=inploi-chatbot] .z-20{z-index:20}[data-widget=inploi-chatbot] .z-50{z-index:50}[data-widget=inploi-chatbot] .m-0{margin:0}[data-widget=inploi-chatbot] .mx-1{margin-left:4px;margin-right:4px}[data-widget=inploi-chatbot] .mx-auto{margin-left:auto;margin-right:auto}[data-widget=inploi-chatbot] .mb-1{margin-bottom:4px}[data-widget=inploi-chatbot] .ml-auto{margin-left:auto}[data-widget=inploi-chatbot] .mt-0\\.5{margin-top:2px}[data-widget=inploi-chatbot] .mt-auto{margin-top:auto}[data-widget=inploi-chatbot] .block{display:block}[data-widget=inploi-chatbot] .inline-block{display:inline-block}[data-widget=inploi-chatbot] .inline{display:inline}[data-widget=inploi-chatbot] .flex{display:flex}[data-widget=inploi-chatbot] .inline-flex{display:inline-flex}[data-widget=inploi-chatbot] .table{display:table}[data-widget=inploi-chatbot] .table-row{display:table-row}[data-widget=inploi-chatbot] .flow-root{display:flow-root}[data-widget=inploi-chatbot] .grid{display:grid}[data-widget=inploi-chatbot] .inline-grid{display:inline-grid}[data-widget=inploi-chatbot] .contents{display:contents}[data-widget=inploi-chatbot] .list-item{display:list-item}[data-widget=inploi-chatbot] .\\!hidden{display:none!important}[data-widget=inploi-chatbot] .hidden{display:none}[data-widget=inploi-chatbot] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-chatbot] .h-1\\.5{height:6px}[data-widget=inploi-chatbot] .h-16{height:64px}[data-widget=inploi-chatbot] .h-4{height:16px}[data-widget=inploi-chatbot] .h-48{height:192px}[data-widget=inploi-chatbot] .h-8{height:32px}[data-widget=inploi-chatbot] .h-\\[3px\\]{height:3px}[data-widget=inploi-chatbot] .h-\\[var\\(--content-height\\)\\]{height:var(--content-height)}[data-widget=inploi-chatbot] .h-\\[var\\(--header-height\\)\\]{height:var(--header-height)}[data-widget=inploi-chatbot] .h-full{height:100%}[data-widget=inploi-chatbot] .max-h-\\[calc\\(100\\%-var\\(--header-height\\)-4rem\\)\\]{max-height:calc(100% - var(--header-height) - 64px)}[data-widget=inploi-chatbot] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 16px)}[data-widget=inploi-chatbot] .max-h-full{max-height:100%}[data-widget=inploi-chatbot] .min-h-0{min-height:0px}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[44px\\]{min-height:44px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 16px)}[data-widget=inploi-chatbot] .w-1\\.5{width:6px}[data-widget=inploi-chatbot] .w-16{width:64px}[data-widget=inploi-chatbot] .w-24{width:96px}[data-widget=inploi-chatbot] .w-4{width:16px}[data-widget=inploi-chatbot] .w-64{width:256px}[data-widget=inploi-chatbot] .w-8{width:32px}[data-widget=inploi-chatbot] .w-\\[72px\\]{width:72px}[data-widget=inploi-chatbot] .w-full{width:100%}[data-widget=inploi-chatbot] .min-w-0{min-width:0px}[data-widget=inploi-chatbot] .min-w-\\[2rem\\]{min-width:32px}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,384px)}[data-widget=inploi-chatbot] .max-w-\\[min\\(300px\\,calc\\(100vw-4rem\\)\\)\\]{max-width:min(300px,calc(100vw - 64px))}[data-widget=inploi-chatbot] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-chatbot] .max-w-full{max-width:100%}[data-widget=inploi-chatbot] .flex-1{flex:1 1 0%}[data-widget=inploi-chatbot] .flex-auto{flex:1 1 auto}[data-widget=inploi-chatbot] .flex-none{flex:none}[data-widget=inploi-chatbot] .flex-shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .shrink{flex-shrink:1}[data-widget=inploi-chatbot] .shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-widget=inploi-chatbot] .animate-bounce{animation:bounce 1s infinite}@keyframes bubble-in{0%{transform:translateY(100%) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}[data-widget=inploi-chatbot] .animate-bubble-in{animation:bubble-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes maximise{0%{transform:translateY(50%) scaleX(.7)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-maximise{animation:maximise .4s cubic-bezier(.16,1,.3,1)}@keyframes pulse{50%{opacity:.5}}[data-widget=inploi-chatbot] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-100%) scaleX(1.25)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-slide-in-bottom{animation:slide-in-bottom .3s cubic-bezier(.175,.885,.32,1.275)}[data-widget=inploi-chatbot] .cursor-pointer{cursor:pointer}[data-widget=inploi-chatbot] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-none{resize:none}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .scroll-pb-12{scroll-padding-bottom:48px}[data-widget=inploi-chatbot] .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-widget=inploi-chatbot] .flex-col{flex-direction:column}[data-widget=inploi-chatbot] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-chatbot] .items-start{align-items:flex-start}[data-widget=inploi-chatbot] .items-end{align-items:flex-end}[data-widget=inploi-chatbot] .items-center{align-items:center}[data-widget=inploi-chatbot] .items-stretch{align-items:stretch}[data-widget=inploi-chatbot] .justify-end{justify-content:flex-end}[data-widget=inploi-chatbot] .justify-center{justify-content:center}[data-widget=inploi-chatbot] .gap-0{gap:0px}[data-widget=inploi-chatbot] .gap-1{gap:4px}[data-widget=inploi-chatbot] .gap-1\\.5{gap:6px}[data-widget=inploi-chatbot] .gap-2{gap:8px}[data-widget=inploi-chatbot] .gap-2\\.5{gap:10px}[data-widget=inploi-chatbot] .gap-3{gap:12px}[data-widget=inploi-chatbot] .gap-4{gap:16px}[data-widget=inploi-chatbot] .self-center{align-self:center}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overscroll-contain{overscroll-behavior:contain}[data-widget=inploi-chatbot] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-chatbot] .text-ellipsis{text-overflow:ellipsis}[data-widget=inploi-chatbot] .whitespace-nowrap{white-space:nowrap}[data-widget=inploi-chatbot] .text-balance{text-wrap:balance}[data-widget=inploi-chatbot] .text-pretty{text-wrap:pretty}[data-widget=inploi-chatbot] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:4px}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:16px}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:24px}[data-widget=inploi-chatbot] .rounded-\\[18px\\]{border-radius:18px}[data-widget=inploi-chatbot] .rounded-full{border-radius:9999px}[data-widget=inploi-chatbot] .rounded-lg{border-radius:8px}[data-widget=inploi-chatbot] .rounded-md{border-radius:6px}[data-widget=inploi-chatbot] .rounded-xl{border-radius:12px}[data-widget=inploi-chatbot] .rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}[data-widget=inploi-chatbot] .rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}[data-widget=inploi-chatbot] .rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}[data-widget=inploi-chatbot] .rounded-bl-md{border-bottom-left-radius:6px}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:6px}[data-widget=inploi-chatbot] .border{border-width:1px}[data-widget=inploi-chatbot] .border-b{border-bottom-width:1px}[data-widget=inploi-chatbot] .border-t{border-top-width:1px}[data-widget=inploi-chatbot] .border-solid{border-style:solid}[data-widget=inploi-chatbot] .border-dashed{border-style:dashed}[data-widget=inploi-chatbot] .border-accent-9{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .border-divider{border-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .border-neutral-5{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-neutral-8{border-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .border-transparent{border-color:transparent}[data-widget=inploi-chatbot] .border-b-neutral-3{border-bottom-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .border-b-neutral-5{border-bottom-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-b-transparent{border-bottom-color:transparent}[data-widget=inploi-chatbot] .bg-accent-1{background-color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .bg-accent-3{background-color:var(--i-color-a-3)}[data-widget=inploi-chatbot] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .bg-bubble-weak-bg{background-color:var(--i-bubble-weak-bg)}[data-widget=inploi-chatbot] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-chatbot] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-chatbot] .bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .bg-neutral-3{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .bg-statusbar{background-color:var(--i-status-bar-bg)}[data-widget=inploi-chatbot] .bg-transparent{background-color:transparent}[data-widget=inploi-chatbot] .bg-none{background-image:none}[data-widget=inploi-chatbot] .p-1{padding:4px}[data-widget=inploi-chatbot] .p-1\\.5{padding:6px}[data-widget=inploi-chatbot] .p-10{padding:40px}[data-widget=inploi-chatbot] .p-11{padding:44px}[data-widget=inploi-chatbot] .p-12{padding:48px}[data-widget=inploi-chatbot] .p-2{padding:8px}[data-widget=inploi-chatbot] .p-2\\.5{padding:10px}[data-widget=inploi-chatbot] .p-3{padding:12px}[data-widget=inploi-chatbot] .p-4{padding:16px}[data-widget=inploi-chatbot] .p-5{padding:20px}[data-widget=inploi-chatbot] .p-6{padding:24px}[data-widget=inploi-chatbot] .p-7{padding:28px}[data-widget=inploi-chatbot] .p-8{padding:32px}[data-widget=inploi-chatbot] .p-9{padding:36px}[data-widget=inploi-chatbot] .px-0\\.5{padding-left:2px;padding-right:2px}[data-widget=inploi-chatbot] .px-1{padding-left:4px;padding-right:4px}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:6px;padding-right:6px}[data-widget=inploi-chatbot] .px-2{padding-left:8px;padding-right:8px}[data-widget=inploi-chatbot] .px-3{padding-left:12px;padding-right:12px}[data-widget=inploi-chatbot] .px-4{padding-left:16px;padding-right:16px}[data-widget=inploi-chatbot] .px-5{padding-left:20px;padding-right:20px}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:2px;padding-bottom:2px}[data-widget=inploi-chatbot] .py-1{padding-top:4px;padding-bottom:4px}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .py-2{padding-top:8px;padding-bottom:8px}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:10px;padding-bottom:10px}[data-widget=inploi-chatbot] .py-3{padding-top:12px;padding-bottom:12px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:8px}[data-widget=inploi-chatbot] .pb-6{padding-bottom:24px}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:6px}[data-widget=inploi-chatbot] .pl-2{padding-left:8px}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:10px}[data-widget=inploi-chatbot] .pl-3{padding-left:12px}[data-widget=inploi-chatbot] .pl-4{padding-left:16px}[data-widget=inploi-chatbot] .pr-1{padding-right:4px}[data-widget=inploi-chatbot] .pr-16{padding-right:64px}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:10px}[data-widget=inploi-chatbot] .pr-3{padding-right:12px}[data-widget=inploi-chatbot] .pr-4{padding-right:16px}[data-widget=inploi-chatbot] .pt-2{padding-top:8px}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:10px}[data-widget=inploi-chatbot] .pt-3{padding-top:12px}[data-widget=inploi-chatbot] .pt-5{padding-top:20px}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 16px)}[data-widget=inploi-chatbot] .text-center{text-align:center}[data-widget=inploi-chatbot] .text-right{text-align:right}[data-widget=inploi-chatbot] .text-justify{text-align:justify}[data-widget=inploi-chatbot] .text-\\[10px\\]{font-size:10px}[data-widget=inploi-chatbot] .text-\\[11px\\]{font-size:11px}[data-widget=inploi-chatbot] .text-base{font-size:16px;line-height:24px}[data-widget=inploi-chatbot] .text-sm{font-size:14px;line-height:20px}[data-widget=inploi-chatbot] .text-xs{font-size:12px;line-height:16px}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[data-widget=inploi-chatbot] .font-normal{font-weight:400}[data-widget=inploi-chatbot] .font-semibold{font-weight:600}[data-widget=inploi-chatbot] .uppercase{text-transform:uppercase}[data-widget=inploi-chatbot] .lowercase{text-transform:lowercase}[data-widget=inploi-chatbot] .capitalize{text-transform:capitalize}[data-widget=inploi-chatbot] .italic{font-style:italic}[data-widget=inploi-chatbot] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-chatbot] .leading-3{line-height:12px}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .text-accent-12{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .text-error-11{color:var(--i-color-e-11)}[data-widget=inploi-chatbot] .text-error-9{color:var(--i-color-e-9)}[data-widget=inploi-chatbot] .text-neutral-10{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .text-neutral-6{color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .text-system-success{color:var(--i-system-message-success)}[data-widget=inploi-chatbot] .text-system-warning{color:var(--i-system-message-warning)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-white\\/80{color:#fffc}[data-widget=inploi-chatbot] .underline{text-decoration-line:underline}[data-widget=inploi-chatbot] .no-underline{text-decoration-line:none}[data-widget=inploi-chatbot] .underline-offset-2{text-underline-offset:2px}[data-widget=inploi-chatbot] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-chatbot] .caret-accent-9{caret-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .opacity-0{opacity:0}[data-widget=inploi-chatbot] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-md{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 6px 4px 0px oklch(0% 0 0 / .01);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-sm{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 4px 4px 0px oklch(0% 0 0 / .02);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-bubble-strong-shadow{--tw-shadow-color: var(--i-bubble-strong-shadow);--tw-shadow: var(--tw-shadow-colored)}[data-widget=inploi-chatbot] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .outline{outline-style:solid}[data-widget=inploi-chatbot] .outline-1{outline-width:1px}[data-widget=inploi-chatbot] .outline-2{outline-width:2px}[data-widget=inploi-chatbot] .outline-accent-10{outline-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .outline-accent-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-inset{--tw-ring-inset: inset}[data-widget=inploi-chatbot] .ring-accent-6{--tw-ring-color: var(--i-color-a-6)}[data-widget=inploi-chatbot] .ring-divider{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .ring-lowest{--tw-ring-color: var(--i-color-lowest)}[data-widget=inploi-chatbot] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-chatbot] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-chatbot] .ring-neutral-7{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-chatbot] .ring-transparent{--tw-ring-color: transparent}[data-widget=inploi-chatbot] .ring-offset-\\[1\\.5px\\]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .ring-offset-neutral-1{--tw-ring-offset-color: var(--i-color-n-1)}[data-widget=inploi-chatbot] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .drop-shadow-\\[0_1\\.5px_var\\(--i-color-n-1\\)\\]{--tw-drop-shadow: drop-shadow(0 1.5px var(--i-color-n-1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-saturate-150{--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .duration-100{transition-duration:.1s}[data-widget=inploi-chatbot] .duration-1000{transition-duration:1s}[data-widget=inploi-chatbot] .duration-300{transition-duration:.3s}[data-widget=inploi-chatbot] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-chatbot] .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-chatbot] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-chatbot] .text-wrap-balance{text-wrap:balance}[data-widget=inploi-chatbot] .fr{outline:none}[data-widget=inploi-chatbot] .fr:focus{outline:none}[data-widget=inploi-chatbot] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .gutter-stable{scrollbar-gutter:stable}[data-widget=inploi-chatbot] .hide-scrollbars::-webkit-scrollbar{display:none}[data-widget=inploi-chatbot] .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}[data-widget=inploi-chatbot] .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}[data-widget=inploi-chatbot] .\\[-webkit-outer-spin-button\\:none\\]{-webkit-outer-spin-button:none}[data-widget=inploi-chatbot] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-chatbot] .\\[grid-template-columns\\:min-content_1fr\\]{grid-template-columns:min-content 1fr}[data-widget=inploi-chatbot] .\\[text-wrap\\:pretty\\]{text-wrap:pretty}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::-moz-placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .focus-within\\:bg-neutral-5:focus-within{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-within\\:outline-accent-7:focus-within{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-chatbot] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .hover\\:border-accent-10:hover{border-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:border-neutral-5:hover{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-accent-10:hover{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:bg-divider:hover{background-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .hover\\:bg-interactive-bg-hover:hover{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-4:hover{background-color:var(--i-color-n-4)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-5:hover{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-white\\/20:hover{background-color:#fff3}[data-widget=inploi-chatbot] .hover\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-chatbot] .hover\\:ring-accent-8:hover{--tw-ring-color: var(--i-color-a-8)}[data-widget=inploi-chatbot] .hover\\:ring-divider:hover{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-chatbot] .focus\\:bg-neutral-5:focus{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus-visible\\:bg-neutral-3:focus-visible{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-2:focus-visible{outline-width:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-7:focus-visible{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-8:focus-visible{outline-color:var(--i-color-a-8)}[data-widget=inploi-chatbot] .focus-visible\\:ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .active\\:border-submit-bg-active:active{border-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:bg-accent-2:active{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-active:active{background-color:var(--i-interactive-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-hover:active{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:bg-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-white\\/30:active{background-color:#ffffff4d}[data-widget=inploi-chatbot] .active\\:text-accent-10:active{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:text-accent-11:active{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .active\\:text-neutral-12:active{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .active\\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .active\\:outline-neutral-8:active{outline-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .active\\:ring-2:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .active\\:ring-accent-7:active{--tw-ring-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .active\\:ring-interactive-bg-hover:active{--tw-ring-color: var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:ring-offset-2:active{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-widget=inploi-chatbot] .disabled\\:opacity-50:disabled{opacity:.5}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:bg-accent-2{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:outline-accent-7{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-accent-9{--tw-ring-color: var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-offset-accent-7{--tw-ring-offset-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}[data-widget=inploi-chatbot] .aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:border-accent-9:hover[aria-disabled=true]{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:bg-accent-9:hover[aria-disabled=true]{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-1:active[aria-disabled=true]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-offset-\\[1\\.5px\\]:active[aria-disabled=true]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (pointer: coarse){[data-widget=inploi-chatbot] .pointer-coarse\\:touch-hitbox\\:\\:before:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\+\\*\\>input\\:focus\\)\\]\\:text-neutral-12:has(+*>input:focus){color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\>\\.view-switch\\:focus-visible\\)\\]\\:ring-1:has(>.view-switch:focus-visible){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[data-widget=inploi-chatbot] dialog::backdrop{animation:fade-in .5s cubic-bezier(.16,1,.3,1) both}[data-widget=inploi-chatbot] dialog::backdrop{background-color:var(--i-overlay-bg)}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot] [data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out}}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot],[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] *:before,[data-widget=inploi-chatbot] *:after,[data-widget=inploi-chatbot] dialog::backdrop{animation:none!important;transition-property:opacity,color,background-color,border-color!important;transition-duration:.15s!important;scroll-behavior:auto!important}[data-widget=inploi-chatbot] .animate-fade-in,[data-widget=inploi-chatbot] .animate-bubble-in,[data-widget=inploi-chatbot] .animate-maximise,[data-widget=inploi-chatbot] .animate-slide-in-bottom,[data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out!important}}@keyframes inploi-chatbot-fade{0%{opacity:0}}
|
|
2808
|
+
`, La = "inploi-chatbot", je = `[data-widget='${La}']`, ur = () => ({
|
|
2809
|
+
getChatbotElement: () => document.querySelector(je),
|
|
2805
2810
|
getOrCreateChatbotElement: () => {
|
|
2806
|
-
const t = document.querySelector(
|
|
2811
|
+
const t = document.querySelector(je);
|
|
2807
2812
|
if (t)
|
|
2808
2813
|
return document.body.appendChild(t), t;
|
|
2809
2814
|
const e = document.createElement("div");
|
|
2810
|
-
return document.body.appendChild(e), e.dataset.widget =
|
|
2815
|
+
return document.body.appendChild(e), e.dataset.widget = La, e;
|
|
2811
2816
|
}
|
|
2812
|
-
}),
|
|
2813
|
-
}),
|
|
2817
|
+
}), pr = 25, Ba = W(() => {
|
|
2818
|
+
}), Ai = ["wheel", "touchmove", "keydown"], hr = (t, e) => new Promise((i, a) => {
|
|
2814
2819
|
if (e != null && e.aborted)
|
|
2815
2820
|
return a(new ht());
|
|
2816
2821
|
const o = setTimeout(i, t);
|
|
@@ -2819,7 +2824,7 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2819
2824
|
}, {
|
|
2820
2825
|
once: !0
|
|
2821
2826
|
});
|
|
2822
|
-
}),
|
|
2827
|
+
}), H = {
|
|
2823
2828
|
onSubmitSuccessFn$: W(() => {
|
|
2824
2829
|
}),
|
|
2825
2830
|
onInteractionFn$: W(() => {
|
|
@@ -2829,36 +2834,36 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2829
2834
|
captchaVisible$: W(!1),
|
|
2830
2835
|
themeMode$: W("light"),
|
|
2831
2836
|
isReadingHistory$: W(!1),
|
|
2832
|
-
scrollToEnd: () =>
|
|
2833
|
-
},
|
|
2834
|
-
const t =
|
|
2835
|
-
|
|
2837
|
+
scrollToEnd: () => Ba.value()
|
|
2838
|
+
}, os = () => {
|
|
2839
|
+
const t = jt(null), e = jt(-1 / 0);
|
|
2840
|
+
mt(() => {
|
|
2836
2841
|
const a = t.current;
|
|
2837
2842
|
if (!a)
|
|
2838
2843
|
return;
|
|
2839
2844
|
const o = () => {
|
|
2840
|
-
|
|
2845
|
+
H.isReadingHistory$.value = !1, a.scrollTo({
|
|
2841
2846
|
top: a.scrollHeight,
|
|
2842
2847
|
behavior: "instant"
|
|
2843
2848
|
});
|
|
2844
2849
|
};
|
|
2845
|
-
|
|
2850
|
+
Ba.value = o;
|
|
2846
2851
|
const n = () => e.current = performance.now(), r = () => {
|
|
2847
|
-
a.scrollHeight - a.scrollTop - a.clientHeight <= 24 ?
|
|
2852
|
+
a.scrollHeight - a.scrollTop - a.clientHeight <= 24 ? H.isReadingHistory$.value = !1 : performance.now() - e.current < 1e3 && (H.isReadingHistory$.value = !0);
|
|
2848
2853
|
};
|
|
2849
2854
|
a.addEventListener("scroll", r, {
|
|
2850
2855
|
passive: !0
|
|
2851
2856
|
});
|
|
2852
|
-
for (const l of
|
|
2857
|
+
for (const l of Ai)
|
|
2853
2858
|
a.addEventListener(l, n, {
|
|
2854
2859
|
passive: !0
|
|
2855
2860
|
});
|
|
2856
2861
|
const s = new ResizeObserver(() => {
|
|
2857
|
-
|
|
2862
|
+
H.isReadingHistory$.peek() || o();
|
|
2858
2863
|
});
|
|
2859
2864
|
return s.observe(a), a.firstElementChild && s.observe(a.firstElementChild), () => {
|
|
2860
2865
|
a.removeEventListener("scroll", r);
|
|
2861
|
-
for (const l of
|
|
2866
|
+
for (const l of Ai)
|
|
2862
2867
|
a.removeEventListener(l, n);
|
|
2863
2868
|
s.disconnect();
|
|
2864
2869
|
};
|
|
@@ -2871,12 +2876,12 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2871
2876
|
return ((o = t.current) == null ? void 0 : o.querySelector("[data-captcha-slot]")) ?? null;
|
|
2872
2877
|
},
|
|
2873
2878
|
get theme() {
|
|
2874
|
-
return
|
|
2879
|
+
return H.themeMode$.peek();
|
|
2875
2880
|
},
|
|
2876
2881
|
reveal: (o) => {
|
|
2877
|
-
|
|
2882
|
+
H.captchaVisible$.value = o, o && requestAnimationFrame(() => {
|
|
2878
2883
|
var n, r;
|
|
2879
|
-
(r = (n = t.current) == null ? void 0 : n.querySelector("[data-captcha-slot]")) == null || r.focus(),
|
|
2884
|
+
(r = (n = t.current) == null ? void 0 : n.querySelector("[data-captcha-slot]")) == null || r.focus(), H.scrollToEnd();
|
|
2880
2885
|
});
|
|
2881
2886
|
}
|
|
2882
2887
|
},
|
|
@@ -2885,18 +2890,18 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2885
2890
|
signal: n,
|
|
2886
2891
|
groupId: r
|
|
2887
2892
|
}) => {
|
|
2888
|
-
if (await
|
|
2893
|
+
if (await He(o).with({
|
|
2889
2894
|
author: "bot",
|
|
2890
2895
|
type: "text"
|
|
2891
2896
|
}, async (s) => {
|
|
2892
2897
|
if (n != null && n.aborted)
|
|
2893
2898
|
throw new ht();
|
|
2894
|
-
|
|
2895
|
-
const l = Math.min(Math.max(20, s.text.length), 100) *
|
|
2899
|
+
H.isBotTyping$.value = !0;
|
|
2900
|
+
const l = Math.min(Math.max(20, s.text.length), 100) * pr;
|
|
2896
2901
|
try {
|
|
2897
|
-
await
|
|
2902
|
+
await hr(l, n);
|
|
2898
2903
|
} finally {
|
|
2899
|
-
|
|
2904
|
+
H.isBotTyping$.value = !1;
|
|
2900
2905
|
}
|
|
2901
2906
|
}).otherwise(async () => {
|
|
2902
2907
|
}), n != null && n.aborted)
|
|
@@ -2915,7 +2920,7 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2915
2920
|
throw new ht();
|
|
2916
2921
|
e.current = -1 / 0, S.setInput(void 0), o.key && S.setSubmission(o.key, l), r(l);
|
|
2917
2922
|
};
|
|
2918
|
-
|
|
2923
|
+
H.onSubmitSuccessFn$.value = s;
|
|
2919
2924
|
});
|
|
2920
2925
|
}
|
|
2921
2926
|
}), []);
|
|
@@ -2924,7 +2929,7 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
|
|
|
2924
2929
|
chatService: i
|
|
2925
2930
|
};
|
|
2926
2931
|
};
|
|
2927
|
-
var
|
|
2932
|
+
var fr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], wr = {
|
|
2928
2933
|
light: {
|
|
2929
2934
|
1: [98.8, 0.015],
|
|
2930
2935
|
2: [97.8, 0.018],
|
|
@@ -2953,15 +2958,15 @@ var pr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], hr = {
|
|
|
2953
2958
|
11: [79.3, 0.12],
|
|
2954
2959
|
12: [95, 0.04]
|
|
2955
2960
|
}
|
|
2956
|
-
},
|
|
2957
|
-
const [o, n] =
|
|
2961
|
+
}, gr = (t, e = 1, i) => (a) => {
|
|
2962
|
+
const [o, n] = wr[i][a];
|
|
2958
2963
|
return "oklch(" + o + "% " + n * e + " " + t + ")";
|
|
2959
2964
|
}, ce = (t) => {
|
|
2960
|
-
const e =
|
|
2965
|
+
const e = gr(t.hue, t.chroma, t.mode);
|
|
2961
2966
|
return Object.fromEntries(
|
|
2962
|
-
|
|
2967
|
+
fr.map((i) => [t.prefix + i, t.transform(e(i))])
|
|
2963
2968
|
);
|
|
2964
|
-
}, de = (t) => t,
|
|
2969
|
+
}, de = (t) => t, br = (t) => {
|
|
2965
2970
|
const e = Object.keys(t).flatMap((i) => {
|
|
2966
2971
|
const a = t[i];
|
|
2967
2972
|
return typeof a == "object" && a !== null ? Object.keys(a).map((o) => {
|
|
@@ -2970,28 +2975,28 @@ var pr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], hr = {
|
|
|
2970
2975
|
}) : [[i, a]];
|
|
2971
2976
|
});
|
|
2972
2977
|
return Object.fromEntries(e);
|
|
2973
|
-
},
|
|
2978
|
+
}, zt = (t) => !!t && typeof t == "object" && !Array.isArray(t), Ae = (t, ...e) => {
|
|
2974
2979
|
if (!e.length)
|
|
2975
2980
|
return t;
|
|
2976
2981
|
const i = e.shift();
|
|
2977
|
-
if (
|
|
2982
|
+
if (zt(t) && zt(i))
|
|
2978
2983
|
for (const a in i) {
|
|
2979
2984
|
const o = i[a];
|
|
2980
|
-
if (
|
|
2985
|
+
if (zt(o)) {
|
|
2981
2986
|
t[a] || Object.assign(t, { [a]: {} });
|
|
2982
2987
|
const n = t[a];
|
|
2983
|
-
|
|
2988
|
+
zt(n) && Ae(n, o);
|
|
2984
2989
|
} else
|
|
2985
2990
|
Object.assign(t, { [a]: i[a] });
|
|
2986
2991
|
}
|
|
2987
|
-
return
|
|
2988
|
-
},
|
|
2992
|
+
return Ae(t, ...e);
|
|
2993
|
+
}, vr = (t) => {
|
|
2989
2994
|
function e(i, a) {
|
|
2990
2995
|
const o = [t.prefix, a.toString().replace(/\./g, "-")].join("");
|
|
2991
2996
|
return i === "declaration" ? `--${o}` : `var(--${o})`;
|
|
2992
2997
|
}
|
|
2993
2998
|
return e;
|
|
2994
|
-
},
|
|
2999
|
+
}, _r = () => ({
|
|
2995
3000
|
core: (t) => ({
|
|
2996
3001
|
semantic: (e) => ({
|
|
2997
3002
|
component: (i) => ({
|
|
@@ -3001,9 +3006,9 @@ var pr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], hr = {
|
|
|
3001
3006
|
core: r,
|
|
3002
3007
|
semantic: r,
|
|
3003
3008
|
raw: { core: s, semantic: l }
|
|
3004
|
-
}), u =
|
|
3009
|
+
}), u = br(Ae(s, l, d)), c = ([f, b], h) => {
|
|
3005
3010
|
const g = [h, f].filter(Boolean).join(".");
|
|
3006
|
-
return typeof b == "object" ? Object.entries(b).flatMap((
|
|
3011
|
+
return typeof b == "object" ? Object.entries(b).flatMap((O) => c(O, g)) : [[a.getToken("declaration", g), b]];
|
|
3007
3012
|
};
|
|
3008
3013
|
return {
|
|
3009
3014
|
values: u,
|
|
@@ -3015,7 +3020,7 @@ var pr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], hr = {
|
|
|
3015
3020
|
})
|
|
3016
3021
|
})
|
|
3017
3022
|
});
|
|
3018
|
-
const [ue, pe,
|
|
3023
|
+
const [ue, pe, Oi] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], mr = _r().core(({
|
|
3019
3024
|
theme: t
|
|
3020
3025
|
}) => ({
|
|
3021
3026
|
color: {
|
|
@@ -3074,7 +3079,7 @@ const [ue, pe, Ii] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], vr = b
|
|
|
3074
3079
|
copy: t("color.n-11"),
|
|
3075
3080
|
"copy-hover": t("color.n-12"),
|
|
3076
3081
|
"copy-active": t("color.n-12"),
|
|
3077
|
-
bg:
|
|
3082
|
+
bg: Oi,
|
|
3078
3083
|
"bg-hover": a("n-10", 0.2),
|
|
3079
3084
|
"bg-active": a("n-10", 0.3)
|
|
3080
3085
|
}
|
|
@@ -3100,7 +3105,7 @@ const [ue, pe, Ii] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], vr = b
|
|
|
3100
3105
|
},
|
|
3101
3106
|
"status-bar": {
|
|
3102
3107
|
bg: o("n-2", 0.8),
|
|
3103
|
-
"bg-button":
|
|
3108
|
+
"bg-button": Oi,
|
|
3104
3109
|
"bg-button-hover": o("n-10", 0.4),
|
|
3105
3110
|
"bg-button-active": o("n-10", 0.5)
|
|
3106
3111
|
},
|
|
@@ -3113,18 +3118,18 @@ const [ue, pe, Ii] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], vr = b
|
|
|
3113
3118
|
success: e.mode === "dark" ? "#4CAF50" : "#2E7D32"
|
|
3114
3119
|
}
|
|
3115
3120
|
};
|
|
3116
|
-
}),
|
|
3121
|
+
}), yr = vr({
|
|
3117
3122
|
prefix: "i-"
|
|
3118
|
-
}),
|
|
3119
|
-
const e =
|
|
3123
|
+
}), xr = (t) => {
|
|
3124
|
+
const e = mr.from({
|
|
3120
3125
|
theme: t,
|
|
3121
|
-
getToken:
|
|
3126
|
+
getToken: yr
|
|
3122
3127
|
}), i = Object.entries(e.declarations).map(([a, o]) => `${a}: ${o};`);
|
|
3123
|
-
return `${
|
|
3128
|
+
return `${je} {
|
|
3124
3129
|
${i.concat(i).join(`
|
|
3125
3130
|
`)}
|
|
3126
3131
|
}`;
|
|
3127
|
-
},
|
|
3132
|
+
}, kr = "14.15.0", $r = (t, e = kr) => e === void 0 ? t : {
|
|
3128
3133
|
fetch: (i, a) => {
|
|
3129
3134
|
if (i !== "/flow/submit")
|
|
3130
3135
|
return t.fetch(i, a);
|
|
@@ -3135,15 +3140,15 @@ ${i.concat(i).join(`
|
|
|
3135
3140
|
});
|
|
3136
3141
|
}
|
|
3137
3142
|
};
|
|
3138
|
-
class
|
|
3143
|
+
class zi extends Va {
|
|
3139
3144
|
}
|
|
3140
|
-
const
|
|
3141
|
-
_internal_domManager: t =
|
|
3145
|
+
const ns = ({
|
|
3146
|
+
_internal_domManager: t = ur(),
|
|
3142
3147
|
theme: e,
|
|
3143
3148
|
terms: i,
|
|
3144
3149
|
feedback: a,
|
|
3145
3150
|
jobAlerts: o
|
|
3146
|
-
}) =>
|
|
3151
|
+
}) => Ua(({
|
|
3147
3152
|
apiClient: n,
|
|
3148
3153
|
rpcClient: r,
|
|
3149
3154
|
logger: s,
|
|
@@ -3152,26 +3157,26 @@ const as = ({
|
|
|
3152
3157
|
env: u
|
|
3153
3158
|
}) => {
|
|
3154
3159
|
let c = !1, f = 0;
|
|
3155
|
-
const b =
|
|
3160
|
+
const b = $r(n), h = d && u ? Wa({
|
|
3156
3161
|
environment: u,
|
|
3157
3162
|
publishableKey: d,
|
|
3158
3163
|
logger: s
|
|
3159
|
-
}) : void 0, g = (
|
|
3164
|
+
}) : void 0, g = (v) => v === f, O = () => {
|
|
3160
3165
|
if (typeof window > "u")
|
|
3161
3166
|
return;
|
|
3162
|
-
f++,
|
|
3163
|
-
}), S.cancelCurrentFlow(),
|
|
3164
|
-
const
|
|
3165
|
-
|
|
3167
|
+
f++, U.flushStateData().catch(() => {
|
|
3168
|
+
}), S.cancelCurrentFlow(), H.isBotTyping$.value = !1;
|
|
3169
|
+
const v = t.getChatbotElement();
|
|
3170
|
+
v && (ut(null, v), v.remove()), c = !1, s.info("Chatbot plugin destroyed");
|
|
3166
3171
|
}, k = () => {
|
|
3167
3172
|
if (typeof window > "u")
|
|
3168
3173
|
return;
|
|
3169
|
-
const
|
|
3174
|
+
const v = f, _ = [B("style", {
|
|
3170
3175
|
id: "inploi-chatbot-styles"
|
|
3171
|
-
},
|
|
3176
|
+
}, dr), B("style", {
|
|
3172
3177
|
id: "inploi-chatbot-theme"
|
|
3173
|
-
},
|
|
3174
|
-
if (
|
|
3178
|
+
}, xr(e))], x = t.getOrCreateChatbotElement();
|
|
3179
|
+
if (H.themeMode$.value = e.mode, ut(B(K, {}, [_, B(lr, {
|
|
3175
3180
|
rpcClient: r,
|
|
3176
3181
|
apiClient: b,
|
|
3177
3182
|
logger: s,
|
|
@@ -3184,11 +3189,11 @@ const as = ({
|
|
|
3184
3189
|
}
|
|
3185
3190
|
})]), x), a) {
|
|
3186
3191
|
const y = (R) => {
|
|
3187
|
-
var
|
|
3188
|
-
if (!g(
|
|
3192
|
+
var A, rt;
|
|
3193
|
+
if (!g(v))
|
|
3189
3194
|
return;
|
|
3190
|
-
const q = (
|
|
3191
|
-
q &&
|
|
3195
|
+
const q = (A = t.getChatbotElement()) == null ? void 0 : A.querySelector("dialog");
|
|
3196
|
+
q && Sr({
|
|
3192
3197
|
instance: R({
|
|
3193
3198
|
rpcClient: r,
|
|
3194
3199
|
apiClient: n,
|
|
@@ -3209,19 +3214,19 @@ const as = ({
|
|
|
3209
3214
|
}) : y(a.plugin);
|
|
3210
3215
|
}
|
|
3211
3216
|
c = !0;
|
|
3212
|
-
}, P = async (
|
|
3213
|
-
if (!g(
|
|
3217
|
+
}, P = async (v, _) => {
|
|
3218
|
+
if (!g(_))
|
|
3214
3219
|
return;
|
|
3215
|
-
|
|
3216
|
-
context:
|
|
3217
|
-
schema:
|
|
3220
|
+
go({
|
|
3221
|
+
context: Me(v.jobContext, v.context || {}),
|
|
3222
|
+
schema: v.flow.context_schema,
|
|
3218
3223
|
logger: s
|
|
3219
3224
|
});
|
|
3220
3225
|
const x = await S.prepareFlow({
|
|
3221
|
-
...
|
|
3222
|
-
jobAlerts:
|
|
3226
|
+
...v,
|
|
3227
|
+
jobAlerts: v.jobAlerts ?? o
|
|
3223
3228
|
});
|
|
3224
|
-
g(
|
|
3229
|
+
g(_) && S.commitFlow(x);
|
|
3225
3230
|
};
|
|
3226
3231
|
return {
|
|
3227
3232
|
/** Optionally eagerly renders the interface ahead of needing the chatbot. */
|
|
@@ -3231,24 +3236,24 @@ const as = ({
|
|
|
3231
3236
|
if (c)
|
|
3232
3237
|
return;
|
|
3233
3238
|
k(), s.info("Chatbot plugin prepared");
|
|
3234
|
-
} catch (
|
|
3235
|
-
s.error("Error preparing chatbot plugin",
|
|
3239
|
+
} catch (v) {
|
|
3240
|
+
s.error("Error preparing chatbot plugin", v);
|
|
3236
3241
|
}
|
|
3237
3242
|
},
|
|
3238
3243
|
/** Fetches a flow by job ID.
|
|
3239
3244
|
* @param jobId - The job ID to fetch the flow for. This is the job ID according to the **ATS**, and not the inploi job ID.
|
|
3240
3245
|
*/
|
|
3241
|
-
fetchFlowByJobId: async (
|
|
3242
|
-
const x = (
|
|
3243
|
-
return r.request(
|
|
3246
|
+
fetchFlowByJobId: async (v, _) => {
|
|
3247
|
+
const x = (_ == null ? void 0 : _.idType) === "inploi" ? "internal" : "external";
|
|
3248
|
+
return r.request(mo, {
|
|
3244
3249
|
params: {
|
|
3245
|
-
id:
|
|
3250
|
+
id: v
|
|
3246
3251
|
},
|
|
3247
3252
|
searchParams: {
|
|
3248
3253
|
id_type: x
|
|
3249
3254
|
}
|
|
3250
3255
|
}).catch((y) => {
|
|
3251
|
-
throw
|
|
3256
|
+
throw ca({
|
|
3252
3257
|
name: "ApiError",
|
|
3253
3258
|
message: ft.string,
|
|
3254
3259
|
status: 410,
|
|
@@ -3265,56 +3270,57 @@ const as = ({
|
|
|
3265
3270
|
}
|
|
3266
3271
|
}
|
|
3267
3272
|
})
|
|
3268
|
-
}, y) ? new
|
|
3273
|
+
}, y) ? new zi(y.message, y.status, y.data) : y;
|
|
3269
3274
|
}).then((y) => ({
|
|
3270
3275
|
flow: y.flow,
|
|
3271
3276
|
title: y.job.title,
|
|
3272
|
-
flowKeys: [y.job.id, ...(
|
|
3273
|
-
job:
|
|
3274
|
-
id:
|
|
3277
|
+
flowKeys: [y.job.id, ...(_ == null ? void 0 : _.flowKeys) ?? []],
|
|
3278
|
+
job: _o(y, {
|
|
3279
|
+
id: v,
|
|
3275
3280
|
idType: x
|
|
3276
3281
|
}),
|
|
3277
|
-
...
|
|
3282
|
+
..._,
|
|
3283
|
+
jobContext: y.context,
|
|
3278
3284
|
context: {
|
|
3279
3285
|
user: y.user,
|
|
3280
|
-
...
|
|
3286
|
+
..._ == null ? void 0 : _.context
|
|
3281
3287
|
}
|
|
3282
3288
|
}));
|
|
3283
3289
|
},
|
|
3284
|
-
fetchFlowById: async (
|
|
3290
|
+
fetchFlowById: async (v, _) => r.request(yo, {
|
|
3285
3291
|
params: {
|
|
3286
|
-
id:
|
|
3292
|
+
id: v
|
|
3287
3293
|
}
|
|
3288
3294
|
}).then((x) => {
|
|
3289
3295
|
var y;
|
|
3290
3296
|
return {
|
|
3291
3297
|
flow: x.flow,
|
|
3292
3298
|
title: "Chatbot",
|
|
3293
|
-
flowKeys: (
|
|
3294
|
-
...
|
|
3299
|
+
flowKeys: (_ == null ? void 0 : _.flowKeys) ?? [],
|
|
3300
|
+
..._,
|
|
3295
3301
|
analytics: {
|
|
3296
3302
|
customProperties: {
|
|
3297
3303
|
flow_id: x.flow.id,
|
|
3298
3304
|
flow_version: x.flow.version,
|
|
3299
|
-
...(y =
|
|
3305
|
+
...(y = _ == null ? void 0 : _.analytics) == null ? void 0 : y.customProperties
|
|
3300
3306
|
}
|
|
3301
3307
|
}
|
|
3302
3308
|
};
|
|
3303
3309
|
}),
|
|
3304
|
-
open: async (
|
|
3310
|
+
open: async (v) => {
|
|
3305
3311
|
if (!(typeof window > "u"))
|
|
3306
3312
|
try {
|
|
3307
3313
|
S.cancelCurrentFlow(), S.viewState$.value = "maximised", c || k();
|
|
3308
|
-
const
|
|
3309
|
-
|
|
3314
|
+
const _ = f;
|
|
3315
|
+
v instanceof Promise ? (S.current$.value = {
|
|
3310
3316
|
state: "loading"
|
|
3311
|
-
},
|
|
3312
|
-
g(
|
|
3313
|
-
state: x instanceof
|
|
3317
|
+
}, v.then((x) => P(x, _)).catch((x) => {
|
|
3318
|
+
g(_) && (s.error("Error loading flow", x), S.current$.value = {
|
|
3319
|
+
state: x instanceof zi ? "closed" : "error"
|
|
3314
3320
|
});
|
|
3315
|
-
})) : await P(
|
|
3316
|
-
} catch (
|
|
3317
|
-
s.error("Error starting flow",
|
|
3321
|
+
})) : await P(v, _);
|
|
3322
|
+
} catch (_) {
|
|
3323
|
+
s.error("Error starting flow", _);
|
|
3318
3324
|
}
|
|
3319
3325
|
},
|
|
3320
3326
|
/**
|
|
@@ -3322,11 +3328,11 @@ const as = ({
|
|
|
3322
3328
|
* under the same key, unfinished, with an answer, including one whose submit started. The candidate loader
|
|
3323
3329
|
* keeps such a candidate on this chatbot rather than move them mid-application (PROD-7342).
|
|
3324
3330
|
*/
|
|
3325
|
-
hasApplicationInProgress: async (
|
|
3326
|
-
const
|
|
3327
|
-
return
|
|
3328
|
-
data:
|
|
3329
|
-
nodes:
|
|
3331
|
+
hasApplicationInProgress: async (v) => {
|
|
3332
|
+
const _ = await U.getStateData(v.flow, v.flowKeys, v.context ?? {});
|
|
3333
|
+
return _ !== void 0 && Ti({
|
|
3334
|
+
data: _,
|
|
3335
|
+
nodes: v.flow.nodes
|
|
3330
3336
|
});
|
|
3331
3337
|
},
|
|
3332
3338
|
/**
|
|
@@ -3334,17 +3340,17 @@ const as = ({
|
|
|
3334
3340
|
* cannot load this page's flow to ask `hasApplicationInProgress` (CF-06). Without the flow's nodes, any saved
|
|
3335
3341
|
* answer counts.
|
|
3336
3342
|
*/
|
|
3337
|
-
hasAnyApplicationInProgress: async () => (await
|
|
3338
|
-
data:
|
|
3343
|
+
hasAnyApplicationInProgress: async () => (await U.getAllStateData()).some((v) => Ti({
|
|
3344
|
+
data: v,
|
|
3339
3345
|
nodes: []
|
|
3340
3346
|
})),
|
|
3341
3347
|
close: async () => {
|
|
3342
3348
|
typeof window > "u" || (S.cancelCurrentFlow(), s.info("Closed flow from an external source"));
|
|
3343
3349
|
},
|
|
3344
|
-
destroy:
|
|
3350
|
+
destroy: O
|
|
3345
3351
|
};
|
|
3346
3352
|
});
|
|
3347
|
-
function
|
|
3353
|
+
function Sr({
|
|
3348
3354
|
instance: t,
|
|
3349
3355
|
terms: e,
|
|
3350
3356
|
theme: i,
|
|
@@ -3375,60 +3381,60 @@ function kr({
|
|
|
3375
3381
|
});
|
|
3376
3382
|
}
|
|
3377
3383
|
export {
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
+
so as $,
|
|
3385
|
+
Xo as A,
|
|
3386
|
+
as as B,
|
|
3387
|
+
Pr as C,
|
|
3388
|
+
Hi as D,
|
|
3389
|
+
qr as E,
|
|
3384
3390
|
pt as F,
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3391
|
+
Gr as G,
|
|
3392
|
+
co as H,
|
|
3393
|
+
eo as I,
|
|
3394
|
+
is as J,
|
|
3395
|
+
Or as K,
|
|
3396
|
+
tr as L,
|
|
3397
|
+
Xr as M,
|
|
3398
|
+
Er as N,
|
|
3399
|
+
H as O,
|
|
3394
3400
|
W as P,
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3401
|
+
He as Q,
|
|
3402
|
+
Yr as R,
|
|
3403
|
+
Kr as S,
|
|
3398
3404
|
ht as T,
|
|
3399
|
-
|
|
3405
|
+
oo as U,
|
|
3400
3406
|
ft as V,
|
|
3401
|
-
|
|
3402
|
-
|
|
3407
|
+
os as W,
|
|
3408
|
+
U as X,
|
|
3403
3409
|
Te as Y,
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
+
ho as Z,
|
|
3411
|
+
jt as _,
|
|
3412
|
+
jr as a,
|
|
3413
|
+
ar as a0,
|
|
3414
|
+
ns as a1,
|
|
3415
|
+
Lr as b,
|
|
3410
3416
|
S as c,
|
|
3411
3417
|
Xt as d,
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3418
|
+
Ue as e,
|
|
3419
|
+
Fr as f,
|
|
3420
|
+
Mr as g,
|
|
3421
|
+
Wr as h,
|
|
3422
|
+
We as i,
|
|
3423
|
+
wa as j,
|
|
3424
|
+
Vr as k,
|
|
3425
|
+
zr as l,
|
|
3426
|
+
Nr as m,
|
|
3427
|
+
Ta as n,
|
|
3422
3428
|
p as o,
|
|
3423
|
-
|
|
3424
|
-
|
|
3429
|
+
Dr as p,
|
|
3430
|
+
mt as q,
|
|
3425
3431
|
K as r,
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3432
|
+
Ir as s,
|
|
3433
|
+
ba as t,
|
|
3434
|
+
Ar as u,
|
|
3435
|
+
Br as v,
|
|
3436
|
+
Hr as w,
|
|
3437
|
+
Ur as x,
|
|
3438
|
+
Rr as y,
|
|
3439
|
+
fo as z
|
|
3434
3440
|
};
|