@inploi/plugin-chatbot 14.15.1 → 14.17.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/cdn/index.js +5 -5
- package/dist/chatbot-body-126a69ce.cjs +5 -0
- package/dist/{chatbot-body-505ef858.js → chatbot-body-493e57db.js} +1348 -1339
- package/dist/chatbot.d.ts +2 -0
- package/dist/chatbot.state.d.ts +2 -1
- package/dist/components/chatbot-body.d.ts +2 -1
- package/dist/components/chatbot.d.ts +2 -1
- package/dist/components/conversation.d.ts +2 -1
- package/dist/i18n.d.ts +6 -0
- package/dist/index-9976f9fd.cjs +5 -0
- package/dist/{index-e61d7a73.js → index-eeb96c22.js} +1105 -1034
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +1 -1
- package/package.json +3 -3
- package/dist/chatbot-body-d6277030.cjs +0 -5
- package/dist/index-539edf9b.cjs +0 -5
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { endpoint as
|
|
2
|
-
var
|
|
3
|
-
function
|
|
4
|
-
return { lang: (t == null ? void 0 : t.lang) ?? (
|
|
1
|
+
import { endpoint as Ri, typed as Ka, createPlugin as qa, createTalentBankClient as Za, ApiError as Ga } from "@inploi/sdk";
|
|
2
|
+
var Q;
|
|
3
|
+
function Bi(t) {
|
|
4
|
+
return { lang: (t == null ? void 0 : t.lang) ?? (Q == null ? void 0 : Q.lang), message: t == null ? void 0 : t.message, abortEarly: (t == null ? void 0 : t.abortEarly) ?? (Q == null ? void 0 : Q.abortEarly), abortPipeEarly: (t == null ? void 0 : t.abortPipeEarly) ?? (Q == null ? void 0 : Q.abortPipeEarly) };
|
|
5
5
|
}
|
|
6
6
|
var Qt;
|
|
7
|
-
function
|
|
7
|
+
function Xa(t) {
|
|
8
8
|
return Qt == null ? void 0 : Qt.get(t);
|
|
9
9
|
}
|
|
10
10
|
var te;
|
|
11
|
-
function
|
|
11
|
+
function Ja(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 Oe(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
|
-
function
|
|
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) ??
|
|
24
|
+
function L(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) ?? Oe(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 ? Ja(l.lang) : null) ?? a.message ?? Xa(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
|
-
function
|
|
28
|
+
function N(t) {
|
|
29
29
|
return { version: 1, vendor: "valibot", validate(e) {
|
|
30
|
-
return t["~run"]({ value: e },
|
|
30
|
+
return t["~run"]({ value: e }, Bi());
|
|
31
31
|
} };
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function to(t, e) {
|
|
34
34
|
return Object.hasOwn(t, e) && e !== "__proto__" && e !== "prototype" && e !== "constructor";
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function ze(t, e) {
|
|
37
37
|
let i = [...new Set(t)];
|
|
38
38
|
return i.length > 1 ? `(${i.join(` ${e} `)})` : i[0] ?? "never";
|
|
39
39
|
}
|
|
@@ -42,22 +42,22 @@ function Li(t) {
|
|
|
42
42
|
return e.value = this.operation(e.value), e;
|
|
43
43
|
} };
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function eo(t, e, i) {
|
|
46
46
|
return typeof t.fallback == "function" ? t.fallback(e, i) : t.fallback;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function De(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:
|
|
53
|
-
return
|
|
51
|
+
function Hi() {
|
|
52
|
+
return { kind: "schema", type: "any", reference: Hi, expects: "any", async: !1, get "~standard"() {
|
|
53
|
+
return N(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:
|
|
60
|
-
return
|
|
58
|
+
function Ui(t, e) {
|
|
59
|
+
return { kind: "schema", type: "array", reference: Ui, expects: "Array", async: !1, item: t, message: e, get "~standard"() {
|
|
60
|
+
return N(this);
|
|
61
61
|
}, "~run"(i, a) {
|
|
62
62
|
var n;
|
|
63
63
|
let o = i.value;
|
|
@@ -77,48 +77,48 @@ function Hi(t, e) {
|
|
|
77
77
|
l.typed || (i.typed = !1), i.value.push(l.value);
|
|
78
78
|
}
|
|
79
79
|
} else
|
|
80
|
-
|
|
80
|
+
L(this, "type", i, a);
|
|
81
81
|
return i;
|
|
82
82
|
} };
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
return { kind: "schema", type: "boolean", reference:
|
|
86
|
-
return
|
|
84
|
+
function Ne(t) {
|
|
85
|
+
return { kind: "schema", type: "boolean", reference: Ne, expects: "boolean", async: !1, message: t, get "~standard"() {
|
|
86
|
+
return N(this);
|
|
87
87
|
}, "~run"(e, i) {
|
|
88
|
-
return typeof e.value == "boolean" ? e.typed = !0 :
|
|
88
|
+
return typeof e.value == "boolean" ? e.typed = !0 : L(this, "type", e, i), e;
|
|
89
89
|
} };
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
return { kind: "schema", type: "literal", reference:
|
|
93
|
-
return
|
|
91
|
+
function B(t, e) {
|
|
92
|
+
return { kind: "schema", type: "literal", reference: B, expects: Oe(t), async: !1, literal: t, message: e, get "~standard"() {
|
|
93
|
+
return N(this);
|
|
94
94
|
}, "~run"(i, a) {
|
|
95
|
-
return i.value === this.literal ? i.typed = !0 :
|
|
95
|
+
return i.value === this.literal ? i.typed = !0 : L(this, "type", i, a), i;
|
|
96
96
|
} };
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
return { kind: "schema", type: "null", reference:
|
|
100
|
-
return
|
|
98
|
+
function Wi(t) {
|
|
99
|
+
return { kind: "schema", type: "null", reference: Wi, expects: "null", async: !1, message: t, get "~standard"() {
|
|
100
|
+
return N(this);
|
|
101
101
|
}, "~run"(e, i) {
|
|
102
|
-
return e.value === null ? e.typed = !0 :
|
|
102
|
+
return e.value === null ? e.typed = !0 : L(this, "type", e, i), e;
|
|
103
103
|
} };
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
return { kind: "schema", type: "nullable", reference:
|
|
107
|
-
return
|
|
105
|
+
function dt(t, e) {
|
|
106
|
+
return { kind: "schema", type: "nullable", reference: dt, expects: `(${t.expects} | null)`, async: !1, wrapped: t, default: e, get "~standard"() {
|
|
107
|
+
return N(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 = De(this, i, a)), i.value === null) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
|
|
110
110
|
} };
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
return { kind: "schema", type: "number", reference:
|
|
114
|
-
return
|
|
112
|
+
function Ht(t) {
|
|
113
|
+
return { kind: "schema", type: "number", reference: Ht, expects: "number", async: !1, message: t, get "~standard"() {
|
|
114
|
+
return N(this);
|
|
115
115
|
}, "~run"(e, i) {
|
|
116
|
-
return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 :
|
|
116
|
+
return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 : L(this, "type", e, i), e;
|
|
117
117
|
} };
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
return { kind: "schema", type: "object", reference:
|
|
121
|
-
return
|
|
119
|
+
function T(t, e) {
|
|
120
|
+
return { kind: "schema", type: "object", reference: T, expects: "Object", async: !1, entries: t, message: e, get "~standard"() {
|
|
121
|
+
return N(this);
|
|
122
122
|
}, "~run"(i, a) {
|
|
123
123
|
var n;
|
|
124
124
|
let o = i.value;
|
|
@@ -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] : De(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,32 +139,39 @@ 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] =
|
|
143
|
-
else if (s.type !== "exact_optional" && s.type !== "optional" && s.type !== "nullish" && (
|
|
142
|
+
i.value[r] = eo(s);
|
|
143
|
+
else if (s.type !== "exact_optional" && s.type !== "optional" && s.type !== "nullish" && (L(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
|
}
|
|
146
146
|
} else
|
|
147
|
-
|
|
147
|
+
L(this, "type", i, a);
|
|
148
148
|
return i;
|
|
149
149
|
} };
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
return { kind: "schema", type: "optional", reference:
|
|
153
|
-
return
|
|
151
|
+
function M(t, e) {
|
|
152
|
+
return { kind: "schema", type: "optional", reference: M, expects: `(${t.expects} | undefined)`, async: !1, wrapped: t, default: e, get "~standard"() {
|
|
153
|
+
return N(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 = De(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: "
|
|
160
|
-
return
|
|
158
|
+
function Vi(t, e) {
|
|
159
|
+
return { kind: "schema", type: "picklist", reference: Vi, expects: ze(t.map(Oe), "|"), async: !1, options: t, message: e, get "~standard"() {
|
|
160
|
+
return N(this);
|
|
161
|
+
}, "~run"(i, a) {
|
|
162
|
+
return this.options.includes(i.value) ? i.typed = !0 : L(this, "type", i, a), i;
|
|
163
|
+
} };
|
|
164
|
+
}
|
|
165
|
+
function Fe(t, e, i) {
|
|
166
|
+
return { kind: "schema", type: "record", reference: Fe, expects: "Object", async: !1, key: t, value: e, message: i, get "~standard"() {
|
|
167
|
+
return N(this);
|
|
161
168
|
}, "~run"(a, o) {
|
|
162
169
|
var r, s;
|
|
163
170
|
let n = a.value;
|
|
164
171
|
if (n && typeof n == "object") {
|
|
165
172
|
a.typed = !0, a.value = {};
|
|
166
173
|
for (let l in n)
|
|
167
|
-
if (
|
|
174
|
+
if (to(n, l)) {
|
|
168
175
|
let d = n[l], u = this.key["~run"]({ value: l }, o);
|
|
169
176
|
if (u.issues) {
|
|
170
177
|
let f = { type: "object", origin: "key", input: n, key: l, value: d };
|
|
@@ -188,27 +195,27 @@ function De(t, e, i) {
|
|
|
188
195
|
(!u.typed || !c.typed) && (a.typed = !1), u.typed && (a.value[u.value] = c.value);
|
|
189
196
|
}
|
|
190
197
|
} else
|
|
191
|
-
|
|
198
|
+
L(this, "type", a, o);
|
|
192
199
|
return a;
|
|
193
200
|
} };
|
|
194
201
|
}
|
|
195
|
-
function
|
|
196
|
-
return { kind: "schema", type: "string", reference:
|
|
197
|
-
return
|
|
202
|
+
function z(t) {
|
|
203
|
+
return { kind: "schema", type: "string", reference: z, expects: "string", async: !1, message: t, get "~standard"() {
|
|
204
|
+
return N(this);
|
|
198
205
|
}, "~run"(e, i) {
|
|
199
|
-
return typeof e.value == "string" ? e.typed = !0 :
|
|
206
|
+
return typeof e.value == "string" ? e.typed = !0 : L(this, "type", e, i), e;
|
|
200
207
|
} };
|
|
201
208
|
}
|
|
202
|
-
function
|
|
209
|
+
function ti(t) {
|
|
203
210
|
let e;
|
|
204
211
|
if (t)
|
|
205
212
|
for (let i of t)
|
|
206
213
|
e ? e.push(...i.issues) : e = i.issues;
|
|
207
214
|
return e;
|
|
208
215
|
}
|
|
209
|
-
function
|
|
210
|
-
return { kind: "schema", type: "union", reference:
|
|
211
|
-
return
|
|
216
|
+
function Me(t, e) {
|
|
217
|
+
return { kind: "schema", type: "union", reference: Me, expects: ze(t.map((i) => i.expects), "|"), async: !1, options: t, message: e, get "~standard"() {
|
|
218
|
+
return N(this);
|
|
212
219
|
}, "~run"(i, a) {
|
|
213
220
|
let o, n, r;
|
|
214
221
|
for (let s of this.options) {
|
|
@@ -228,25 +235,62 @@ function Ne(t, e) {
|
|
|
228
235
|
if (n) {
|
|
229
236
|
if (n.length === 1)
|
|
230
237
|
return n[0];
|
|
231
|
-
|
|
238
|
+
L(this, "type", i, a, { issues: ti(n) }), i.typed = !0;
|
|
232
239
|
} else {
|
|
233
240
|
if ((r == null ? void 0 : r.length) === 1)
|
|
234
241
|
return r[0];
|
|
235
|
-
|
|
242
|
+
L(this, "type", i, a, { issues: ti(r) });
|
|
236
243
|
}
|
|
237
244
|
return i;
|
|
238
245
|
} };
|
|
239
246
|
}
|
|
240
|
-
function
|
|
241
|
-
return { kind: "schema", type: "unknown", reference:
|
|
242
|
-
return
|
|
247
|
+
function vt() {
|
|
248
|
+
return { kind: "schema", type: "unknown", reference: vt, expects: "unknown", async: !1, get "~standard"() {
|
|
249
|
+
return N(this);
|
|
243
250
|
}, "~run"(t) {
|
|
244
251
|
return t.typed = !0, t;
|
|
245
252
|
} };
|
|
246
253
|
}
|
|
247
|
-
function
|
|
254
|
+
function Yi(t, e, i) {
|
|
255
|
+
return { kind: "schema", type: "variant", reference: Yi, expects: "Object", async: !1, key: t, options: e, message: i, get "~standard"() {
|
|
256
|
+
return N(this);
|
|
257
|
+
}, "~run"(a, o) {
|
|
258
|
+
let n = a.value;
|
|
259
|
+
if (n && typeof n == "object") {
|
|
260
|
+
let r, s = 0, l = this.key, d = [], u = (c, f) => {
|
|
261
|
+
for (let g of c.options) {
|
|
262
|
+
if (g.type === "variant")
|
|
263
|
+
u(g, new Set(f).add(g.key));
|
|
264
|
+
else {
|
|
265
|
+
let p = !0, b = 0;
|
|
266
|
+
for (let k of f) {
|
|
267
|
+
let x = g.entries[k];
|
|
268
|
+
if (k in n ? x["~run"]({ typed: !1, value: n[k] }, { abortEarly: !0 }).issues : x.type !== "exact_optional" && x.type !== "optional" && x.type !== "nullish") {
|
|
269
|
+
p = !1, l !== k && (s < b || s === b && k in n && !(l in n)) && (s = b, l = k, d = []), l === k && d.push(g.entries[k].expects);
|
|
270
|
+
break;
|
|
271
|
+
}
|
|
272
|
+
b++;
|
|
273
|
+
}
|
|
274
|
+
if (p) {
|
|
275
|
+
let k = g["~run"]({ value: n }, o);
|
|
276
|
+
(!r || !r.typed && k.typed) && (r = k);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
if (r && !r.issues)
|
|
280
|
+
break;
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
if (u(this, /* @__PURE__ */ new Set([this.key])), r)
|
|
284
|
+
return r;
|
|
285
|
+
L(this, "type", a, o, { input: n[l], expected: ze(d, "|"), path: [{ type: "object", origin: "value", input: n, key: l, value: n[l] }] });
|
|
286
|
+
} else
|
|
287
|
+
L(this, "type", a, o);
|
|
288
|
+
return a;
|
|
289
|
+
} };
|
|
290
|
+
}
|
|
291
|
+
function io(...t) {
|
|
248
292
|
return { ...t[0], pipe: t, get "~standard"() {
|
|
249
|
-
return
|
|
293
|
+
return N(this);
|
|
250
294
|
}, "~run"(e, i) {
|
|
251
295
|
for (let a of t)
|
|
252
296
|
if (a.kind !== "metadata") {
|
|
@@ -259,42 +303,42 @@ function to(...t) {
|
|
|
259
303
|
return e;
|
|
260
304
|
} };
|
|
261
305
|
}
|
|
262
|
-
function
|
|
263
|
-
let a = t["~run"]({ value: e },
|
|
306
|
+
function Ot(t, e, i) {
|
|
307
|
+
let a = t["~run"]({ value: e }, Bi(i));
|
|
264
308
|
return { typed: a.typed, success: !a.issues, output: a.value, issues: a.issues };
|
|
265
309
|
}
|
|
266
|
-
var
|
|
267
|
-
function
|
|
310
|
+
var ao = (t) => ({ ok: !0, err: !1, val: t }), oo = (t) => ({ err: !0, ok: !1, val: t }), Re = (t) => t.filter((e) => (e.type === "question-boolean" || e.type === "question-enum") && !!e.data.preApply);
|
|
311
|
+
function no(t, e, i) {
|
|
268
312
|
var r, s;
|
|
269
313
|
let a = t.find((l) => l.type === "pre-apply-result");
|
|
270
314
|
if (!a)
|
|
271
315
|
return;
|
|
272
316
|
let o = (r = e[a.data.participationKey]) == null ? void 0 : r.value, n = {};
|
|
273
317
|
if (o === !0)
|
|
274
|
-
for (let l of
|
|
318
|
+
for (let l of Re(t)) {
|
|
275
319
|
let d = (s = e[l.data.key]) == null ? void 0 : s.value;
|
|
276
320
|
Array.isArray(d) && d.length === 1 && (d = d[0]), (typeof d == "boolean" || typeof d == "string") && (n[l.data.key] = d);
|
|
277
321
|
}
|
|
278
322
|
return { node_id: a.id, flow_session_id: i, participation: o, answers: n };
|
|
279
323
|
}
|
|
280
|
-
function
|
|
281
|
-
let i =
|
|
324
|
+
function Ar(t, e) {
|
|
325
|
+
let i = no(t, e, ""), a = Re(t).map((n) => {
|
|
282
326
|
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
327
|
return { key: n.data.key, severity: r.severity, message: r.mismatchMessage, matched: l && s === r.expectedValue, valid: l };
|
|
284
328
|
}), 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
329
|
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
330
|
}
|
|
287
|
-
function
|
|
288
|
-
let i = new Set(
|
|
331
|
+
function Or(t, e) {
|
|
332
|
+
let i = new Set(Re(t).map((a) => a.data.key));
|
|
289
333
|
for (let a of t)
|
|
290
334
|
a.type === "pre-apply-result" && (i.add(a.data.key), i.add(a.data.participationKey));
|
|
291
335
|
return Object.fromEntries(Object.entries(e).filter(([a]) => !i.has(a)));
|
|
292
336
|
}
|
|
293
|
-
var
|
|
337
|
+
var ft = class extends Error {
|
|
294
338
|
constructor() {
|
|
295
339
|
super("Aborted");
|
|
296
340
|
}
|
|
297
|
-
},
|
|
341
|
+
}, Ki = (t, e) => {
|
|
298
342
|
if (e.length === 0)
|
|
299
343
|
return;
|
|
300
344
|
let i = t;
|
|
@@ -304,27 +348,27 @@ var ht = class extends Error {
|
|
|
304
348
|
i = i[a];
|
|
305
349
|
}
|
|
306
350
|
return i;
|
|
307
|
-
},
|
|
351
|
+
}, Dr = (t, e = "all") => {
|
|
308
352
|
let i = {}, a = e === "all" ? null : new Set(e);
|
|
309
353
|
for (let o in t) {
|
|
310
354
|
let n = t[o];
|
|
311
355
|
n && (a && !a.has(o) || (i[o] = n.value));
|
|
312
356
|
}
|
|
313
357
|
return i;
|
|
314
|
-
},
|
|
358
|
+
}, qi = (t, e) => {
|
|
315
359
|
let i = new Set(t.flatMap((a) => a.type === "add-submission" ? [a.data.key] : []));
|
|
316
360
|
return Object.entries(e).some(([a, o]) => o !== void 0 && o.type !== "integration" && !i.has(a));
|
|
317
|
-
},
|
|
361
|
+
}, Nr = ({ key: t, submissions: e }) => {
|
|
318
362
|
var a;
|
|
319
363
|
let i = (a = e[t]) == null ? void 0 : a.value;
|
|
320
364
|
if (typeof i != "string" && typeof i != "number")
|
|
321
365
|
throw new Error(`Submission at “${t}” is not a string or number`);
|
|
322
366
|
return i;
|
|
323
|
-
},
|
|
367
|
+
}, Fr = ({ key: t, path: e, submissions: i, context: a }) => {
|
|
324
368
|
if (t === "$context") {
|
|
325
369
|
if (!e)
|
|
326
370
|
return;
|
|
327
|
-
let o =
|
|
371
|
+
let o = Ki(a, e);
|
|
328
372
|
switch (typeof o) {
|
|
329
373
|
case "string":
|
|
330
374
|
return { type: "string", value: o };
|
|
@@ -338,58 +382,77 @@ var ht = class extends Error {
|
|
|
338
382
|
}
|
|
339
383
|
}
|
|
340
384
|
return i[t];
|
|
341
|
-
},
|
|
385
|
+
}, ro = (t) => {
|
|
342
386
|
let e = t.split(".").pop();
|
|
343
|
-
return e ?
|
|
344
|
-
},
|
|
387
|
+
return e ? ao(e ? "." + e : "") : oo("No file extension found");
|
|
388
|
+
}, Mr = (t, e) => {
|
|
345
389
|
if (e.length === 0)
|
|
346
390
|
return !0;
|
|
347
391
|
let i = e.map((a) => a.toLowerCase());
|
|
348
392
|
return t.every((a) => {
|
|
349
|
-
let o =
|
|
393
|
+
let o = ro(a.name);
|
|
350
394
|
return o.ok && i.includes(o.val.toLowerCase());
|
|
351
395
|
});
|
|
352
|
-
},
|
|
353
|
-
let e =
|
|
354
|
-
if (!e.success ||
|
|
396
|
+
}, Rr = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, Br = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, so = T({ integration_response: T({ data: T({ redirect_url: z(), message: M(dt(z())), button_text: M(dt(z())) }) }) }), lo = (t) => Ot(so, t).success, co = T({ integration_response: T({ status: M(vt()), error: T({ message: z(), data: M(vt()) }) }) }), Zi = (t) => Ot(co, t).success, uo = T({ success: B(!0), integration_response: T({ data: T({ outcome: B("pending"), message: M(vt()) }), error: M(Wi()) }) }), po = (t) => {
|
|
397
|
+
let e = Ot(uo, t);
|
|
398
|
+
if (!e.success || lo(t))
|
|
355
399
|
return;
|
|
356
400
|
let { message: i } = e.output.integration_response.data;
|
|
357
401
|
return typeof i == "string" && i.trim() ? { message: i } : {};
|
|
358
402
|
};
|
|
359
|
-
|
|
360
|
-
var
|
|
361
|
-
if (!
|
|
403
|
+
T({ success: B(!1), message: M(vt()) });
|
|
404
|
+
var ho = T({ error: B("Validation failed"), messages: T({}) }), Lr = (t, e) => e === 422 && Ot(ho, t).success, Hr = (t, e) => {
|
|
405
|
+
if (!Zi(t))
|
|
362
406
|
return;
|
|
363
|
-
let i = t.integration_response, a = i.error.data, o = typeof a == "object" && a !== null ? a : {}, n = (
|
|
364
|
-
let b = o[
|
|
407
|
+
let i = t.integration_response, a = i.error.data, o = typeof a == "object" && a !== null ? a : {}, n = (p) => typeof o[p] == "string" ? o[p] : void 0, r = (p) => typeof o[p] == "boolean" ? o[p] : void 0, s = (p) => {
|
|
408
|
+
let b = o[p];
|
|
365
409
|
return Number.isSafeInteger(b) && b >= 0 ? b : void 0;
|
|
366
|
-
}, l = (
|
|
367
|
-
let b = n(
|
|
368
|
-
return Number.isFinite(
|
|
410
|
+
}, l = (p) => {
|
|
411
|
+
let b = n(p), k = b === void 0 ? NaN : Date.parse(b);
|
|
412
|
+
return Number.isFinite(k) ? k : void 0;
|
|
369
413
|
}, d = typeof i.status == "number" ? i.status : e, u = n("phase"), c = n("verdict"), f = n("code"), g = d === 409 && u === "submit" && c === "confirmed" ? "duplicate" : d === 410 && f === "job_closed" ? "closed" : u === "submit" && c === "unknown" ? "unknown" : void 0;
|
|
370
414
|
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: g };
|
|
371
|
-
},
|
|
415
|
+
}, fo = Yi("reason", [T({ outcome: B("sent"), reason: B("sandbox"), ats_label: dt(z()) }), T({ outcome: B("held"), reason: Vi(["production_connection", "no_sandbox_known", "company_hold"]), ats_label: dt(z()) }), T({ outcome: B("internal"), reason: B("internal"), ats_label: dt(z()) }), T({ outcome: B("held"), reason: B("redirect"), ats_label: z() })]), Ur = (t) => {
|
|
416
|
+
let e = Ot(T({ staging_destination: fo }), t);
|
|
417
|
+
if (!e.success)
|
|
418
|
+
return;
|
|
419
|
+
let i = e.output.staging_destination;
|
|
420
|
+
switch (i.reason) {
|
|
421
|
+
case "sandbox":
|
|
422
|
+
return `Staging: sent to ${i.ats_label === null ? "the ATS" : i.ats_label} sandbox`;
|
|
423
|
+
case "production_connection":
|
|
424
|
+
return "Staging: held, production connection";
|
|
425
|
+
case "no_sandbox_known":
|
|
426
|
+
return "Staging: held, no sandbox known";
|
|
427
|
+
case "company_hold":
|
|
428
|
+
return "Staging: held, company set to hold all";
|
|
429
|
+
case "internal":
|
|
430
|
+
return "Staging: saved in inploi (no ATS)";
|
|
431
|
+
case "redirect":
|
|
432
|
+
return `Staging: held, redirect to ${i.ats_label}`;
|
|
433
|
+
}
|
|
434
|
+
}, wo = 3e4, go = 2e4, bo = 6e4, vo = 12e4, _o = 6 * 60 * 6e4, Wr = 60 * 6e4, Gi = (t) => {
|
|
372
435
|
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
|
-
},
|
|
436
|
+
return i > 0 && i <= _o ? e : void 0;
|
|
437
|
+
}, Vr = (t) => {
|
|
375
438
|
if ((t == null ? void 0 : t.reason) !== "provider_maintenance" || t.outcome === "unknown")
|
|
376
439
|
return;
|
|
377
|
-
let e =
|
|
440
|
+
let e = Gi(t);
|
|
378
441
|
return e === void 0 ? {} : { until: e };
|
|
379
|
-
},
|
|
380
|
-
let i =
|
|
442
|
+
}, Yr = (t, e) => new Intl.DateTimeFormat(e, { hour: "numeric", minute: "2-digit" }).format(t), Kr = (t, e) => {
|
|
443
|
+
let i = Gi(e);
|
|
381
444
|
if (i !== void 0)
|
|
382
445
|
return { waitMs: i - Date.now(), throttles: (t ?? 0) + 1, maintenance: !0 };
|
|
383
446
|
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 (!
|
|
447
|
+
return { waitMs: wo };
|
|
448
|
+
let a = (t ?? 0) + 1, o = Math.min(a * go, bo), n = (e.retryAfterSeconds ?? 0) * 1e3;
|
|
449
|
+
return { waitMs: Math.min(Math.max(o, n), vo), throttles: a };
|
|
450
|
+
}, qr = (t) => (t == null ? void 0 : t.code) === "captcha_failed" && t.verdict === "not_submitted", Zr = (t) => {
|
|
451
|
+
if (!Zi(t))
|
|
389
452
|
return !1;
|
|
390
453
|
let e = t.integration_response.error.data;
|
|
391
454
|
return typeof e == "object" && e !== null && "fallback" in e && e.fallback === "contact";
|
|
392
|
-
},
|
|
455
|
+
}, Gr = (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", Xr = (t) => (t == null ? void 0 : t.outcome) === "unknown" && t.code === "repeatable_provider_crash", Jr = (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, Qr = (t, e) => {
|
|
393
456
|
if (typeof t != "object" || t === null)
|
|
394
457
|
return null;
|
|
395
458
|
let i = t.integration_response;
|
|
@@ -406,33 +469,33 @@ var uo = I({ error: dt("Validation failed"), messages: I({}) }), Mr = (t, e) =>
|
|
|
406
469
|
if (!o && !r)
|
|
407
470
|
return null;
|
|
408
471
|
let s = o ? a.data : n.data ?? null;
|
|
409
|
-
return { service: a.service ?? "INVALID_SERVICE", response: { status: a.status, payload: s }, ...
|
|
410
|
-
},
|
|
472
|
+
return { service: a.service ?? "INVALID_SERVICE", response: { status: a.status, payload: s }, ...po(t) && { outcome: "pending" } };
|
|
473
|
+
}, mo = (t) => {
|
|
411
474
|
if (!/^\d{4}-\d{2}-\d{2}$/.test(t))
|
|
412
475
|
return !1;
|
|
413
476
|
let e = /* @__PURE__ */ new Date(`${t}T00:00:00Z`);
|
|
414
477
|
return Number.isFinite(e.getTime()) && e.toISOString().slice(0, 10) === t;
|
|
415
|
-
},
|
|
416
|
-
if (!
|
|
478
|
+
}, ts = (t, e) => {
|
|
479
|
+
if (!mo(t))
|
|
417
480
|
throw new RangeError("Invalid ISO calendar date");
|
|
418
481
|
return new Intl.DateTimeFormat(e, { dateStyle: "long", timeZone: "UTC" }).format(/* @__PURE__ */ new Date(`${t}T00:00:00Z`));
|
|
419
|
-
},
|
|
482
|
+
}, es = (t) => new Promise((e, i) => {
|
|
420
483
|
let a = new FileReader();
|
|
421
484
|
a.onload = () => {
|
|
422
485
|
if (typeof a.result != "string" || !a.result)
|
|
423
486
|
return i(new Error("Invalid file"));
|
|
424
487
|
e(a.result);
|
|
425
488
|
}, a.onerror = i, a.readAsDataURL(t);
|
|
426
|
-
}),
|
|
489
|
+
}), ei = (t) => typeof t == "object" && t !== null && (Object.getPrototypeOf(t) === Object.prototype || Object.getPrototypeOf(t) === null), Be = (t, e) => t ? { ...t, ...Object.fromEntries(Object.entries(e).filter(([, i]) => i !== void 0).map(([i, a]) => {
|
|
427
490
|
let o = t[i];
|
|
428
|
-
return [i,
|
|
429
|
-
})) } : e,
|
|
491
|
+
return [i, ei(o) && ei(a) ? Be(o, a) : a];
|
|
492
|
+
})) } : e, yo = ({ context: t, schema: e, logger: i }) => {
|
|
430
493
|
if (e)
|
|
431
494
|
for (let a in e) {
|
|
432
495
|
let o = e[a];
|
|
433
496
|
if (!o)
|
|
434
497
|
continue;
|
|
435
|
-
let n =
|
|
498
|
+
let n = Ki(t, a.split("."));
|
|
436
499
|
if (o.required && n == null) {
|
|
437
500
|
let r = `Configuration error in context: ${a} is required`;
|
|
438
501
|
throw i.error(r), new Error(r);
|
|
@@ -451,47 +514,47 @@ var uo = I({ error: dt("Validation failed"), messages: I({}) }), Mr = (t, e) =>
|
|
|
451
514
|
o.type;
|
|
452
515
|
}
|
|
453
516
|
}
|
|
454
|
-
},
|
|
455
|
-
function
|
|
517
|
+
}, Xi = io(Me([z(), Ht()]), Li(String)), Ji = T({ id: Xi, version: Ht(), build: Ht(), nodes: Ui(Hi()), context_schema: M(dt(Fe(z(), T({ required: Ne(), type: Me([B("string"), B("number")]) })))) }), xo = T({ flow: Ji }), ko = T({ company: T({ name: z() }), context: M(Fe(z(), vt())), flow: Ji, job: T({ id: Xi, title: z() }), user: M(T({ city: M(z()), country: M(z()), isEU: M(Ne()), continent: M(z()) })) }), $o = (t, e) => ({ id: t.job.id, id_type: (e == null ? void 0 : e.idType) === "internal" && e.id === t.job.id ? "internal" : "external" }), So = Ri({ pathname: "/flow/job/:id", method: "GET", schema: { searchParams: Ka(), response: ko } }), Co = Ri({ pathname: "/flow/id/:id", method: "GET", schema: { response: xo } }), zt, w, Qi, ta, ct, ii, ea, he, ia, gt = {}, aa = [], Eo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Gt = Array.isArray;
|
|
518
|
+
function tt(t, e) {
|
|
456
519
|
for (var i in e)
|
|
457
520
|
t[i] = e[i];
|
|
458
521
|
return t;
|
|
459
522
|
}
|
|
460
|
-
function
|
|
523
|
+
function oa(t) {
|
|
461
524
|
var e = t.parentNode;
|
|
462
525
|
e && e.removeChild(t);
|
|
463
526
|
}
|
|
464
|
-
function
|
|
527
|
+
function U(t, e, i) {
|
|
465
528
|
var a, o, n, r = {};
|
|
466
529
|
for (n in e)
|
|
467
530
|
n == "key" ? a = e[n] : n == "ref" ? o = e[n] : r[n] = e[n];
|
|
468
|
-
if (arguments.length > 2 && (r.children = arguments.length > 3 ?
|
|
531
|
+
if (arguments.length > 2 && (r.children = arguments.length > 3 ? zt.call(arguments, 2) : i), typeof t == "function" && t.defaultProps != null)
|
|
469
532
|
for (n in t.defaultProps)
|
|
470
533
|
r[n] === void 0 && (r[n] = t.defaultProps[n]);
|
|
471
|
-
return
|
|
534
|
+
return Et(t, r, a, o, null);
|
|
472
535
|
}
|
|
473
|
-
function
|
|
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 ?? ++
|
|
536
|
+
function Et(t, e, i, a, o) {
|
|
537
|
+
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 };
|
|
475
538
|
return o == null && w.vnode != null && w.vnode(n), n;
|
|
476
539
|
}
|
|
477
|
-
function
|
|
540
|
+
function Po() {
|
|
478
541
|
return { current: null };
|
|
479
542
|
}
|
|
480
|
-
function
|
|
543
|
+
function q(t) {
|
|
481
544
|
return t.children;
|
|
482
545
|
}
|
|
483
|
-
function
|
|
546
|
+
function K(t, e) {
|
|
484
547
|
this.props = t, this.context = e;
|
|
485
548
|
}
|
|
486
|
-
function
|
|
549
|
+
function Ut(t, e) {
|
|
487
550
|
if (e == null)
|
|
488
|
-
return t.__ ?
|
|
551
|
+
return t.__ ? Ut(t.__, t.__.__k.indexOf(t) + 1) : null;
|
|
489
552
|
for (var i; e < t.__k.length; e++)
|
|
490
553
|
if ((i = t.__k[e]) != null && i.__e != null)
|
|
491
554
|
return i.__e;
|
|
492
|
-
return typeof t.type == "function" ?
|
|
555
|
+
return typeof t.type == "function" ? Ut(t) : null;
|
|
493
556
|
}
|
|
494
|
-
function
|
|
557
|
+
function na(t) {
|
|
495
558
|
var e, i;
|
|
496
559
|
if ((t = t.__) != null && t.__c != null) {
|
|
497
560
|
for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++)
|
|
@@ -499,39 +562,39 @@ function ia(t) {
|
|
|
499
562
|
t.__e = t.__c.base = i.__e;
|
|
500
563
|
break;
|
|
501
564
|
}
|
|
502
|
-
return
|
|
565
|
+
return na(t);
|
|
503
566
|
}
|
|
504
567
|
}
|
|
505
568
|
function fe(t) {
|
|
506
|
-
(!t.__d && (t.__d = !0) &&
|
|
569
|
+
(!t.__d && (t.__d = !0) && ct.push(t) && !Wt.__r++ || ii !== w.debounceRendering) && ((ii = w.debounceRendering) || ea)(Wt);
|
|
507
570
|
}
|
|
508
|
-
function
|
|
571
|
+
function Wt() {
|
|
509
572
|
var t, e, i, a, o, n, r, s, l;
|
|
510
|
-
for (
|
|
511
|
-
t.__d && (e =
|
|
512
|
-
|
|
513
|
-
}
|
|
514
|
-
function
|
|
515
|
-
var c, f, g,
|
|
516
|
-
for (i.__k = [], c = 0; c <
|
|
517
|
-
(
|
|
518
|
-
for (i.__e =
|
|
519
|
-
y[c] != null && (typeof i.type == "function" && y[c].__e != null && y[c].__e == i.__d && (i.__d = y[c].__e.nextSibling),
|
|
520
|
-
}
|
|
521
|
-
function
|
|
573
|
+
for (ct.sort(he); t = ct.shift(); )
|
|
574
|
+
t.__d && (e = ct.length, a = void 0, o = void 0, n = void 0, s = (r = (i = t).__v).__e, (l = i.__P) && (a = [], o = [], (n = tt({}, r)).__v = r.__v + 1, Le(l, r, n, i.__n, l.ownerSVGElement !== void 0, r.__h != null ? [s] : null, a, s ?? Ut(r), r.__h, o), ca(a, r, o), r.__e != s && na(r)), ct.length > e && ct.sort(he));
|
|
575
|
+
Wt.__r = 0;
|
|
576
|
+
}
|
|
577
|
+
function ra(t, e, i, a, o, n, r, s, l, d, u) {
|
|
578
|
+
var c, f, g, p, b, k, x, I, v, _, $ = 0, y = a && a.__k || aa, Z = y.length, H = Z, O = e.length;
|
|
579
|
+
for (i.__k = [], c = 0; c < O; c++)
|
|
580
|
+
(p = i.__k[c] = (p = e[c]) == null || typeof p == "boolean" || typeof p == "function" ? null : typeof p == "string" || typeof p == "number" || typeof p == "bigint" ? Et(null, p, null, null, p) : Gt(p) ? Et(q, { children: p }, null, null, null) : p.__b > 0 ? Et(p.type, p.props, p.key, p.ref ? p.ref : null, p.__v) : p) != null && (p.__ = i, p.__b = i.__b + 1, (I = To(p, y, x = c + $, H)) === -1 ? g = gt : (g = y[I] || gt, y[I] = void 0, H--), Le(t, p, g, o, n, r, s, l, d, u), b = p.__e, (f = p.ref) && g.ref != f && (g.ref && He(g.ref, null, p), u.push(f, p.__c || b, p)), b != null && (k == null && (k = b), _ = !(v = g === gt || g.__v === null) && I === x, v ? I == -1 && $-- : I !== x && (I === x + 1 ? ($++, _ = !0) : I > x ? H > O - x ? ($ += I - x, _ = !0) : $-- : $ = I < x && I == x - 1 ? I - x : 0), x = c + $, _ = _ || I == c && !v, typeof p.type != "function" || I === x && g.__k !== p.__k ? typeof p.type == "function" || _ ? p.__d !== void 0 ? (l = p.__d, p.__d = void 0) : l = b.nextSibling : l = la(t, b, l) : l = sa(p, l, t), typeof i.type == "function" && (i.__d = l)));
|
|
581
|
+
for (i.__e = k, c = Z; c--; )
|
|
582
|
+
y[c] != null && (typeof i.type == "function" && y[c].__e != null && y[c].__e == i.__d && (i.__d = y[c].__e.nextSibling), da(y[c], y[c]));
|
|
583
|
+
}
|
|
584
|
+
function sa(t, e, i) {
|
|
522
585
|
for (var a, o = t.__k, n = 0; o && n < o.length; n++)
|
|
523
|
-
(a = o[n]) && (a.__ = t, e = typeof a.type == "function" ?
|
|
586
|
+
(a = o[n]) && (a.__ = t, e = typeof a.type == "function" ? sa(a, e, i) : la(i, a.__e, e));
|
|
524
587
|
return e;
|
|
525
588
|
}
|
|
526
|
-
function
|
|
527
|
-
return e = e || [], t == null || typeof t == "boolean" || (
|
|
528
|
-
|
|
589
|
+
function et(t, e) {
|
|
590
|
+
return e = e || [], t == null || typeof t == "boolean" || (Gt(t) ? t.some(function(i) {
|
|
591
|
+
et(i, e);
|
|
529
592
|
}) : e.push(t)), e;
|
|
530
593
|
}
|
|
531
|
-
function
|
|
594
|
+
function la(t, e, i) {
|
|
532
595
|
return i == null || i.parentNode !== t ? t.insertBefore(e, null) : e == i && e.parentNode != null || t.insertBefore(e, i), e.nextSibling;
|
|
533
596
|
}
|
|
534
|
-
function
|
|
597
|
+
function To(t, e, i, a) {
|
|
535
598
|
var o = t.key, n = t.type, r = i - 1, s = i + 1, l = e[i];
|
|
536
599
|
if (l === null || l && o == l.key && n === l.type)
|
|
537
600
|
return i;
|
|
@@ -550,17 +613,17 @@ function Co(t, e, i, a) {
|
|
|
550
613
|
}
|
|
551
614
|
return -1;
|
|
552
615
|
}
|
|
553
|
-
function
|
|
616
|
+
function Io(t, e, i, a, o) {
|
|
554
617
|
var n;
|
|
555
618
|
for (n in i)
|
|
556
|
-
n === "children" || n === "key" || n in e ||
|
|
619
|
+
n === "children" || n === "key" || n in e || Vt(t, n, null, i[n], a);
|
|
557
620
|
for (n in e)
|
|
558
|
-
o && typeof e[n] != "function" || n === "children" || n === "key" || n === "value" || n === "checked" || i[n] === e[n] ||
|
|
621
|
+
o && typeof e[n] != "function" || n === "children" || n === "key" || n === "value" || n === "checked" || i[n] === e[n] || Vt(t, n, e[n], i[n], a);
|
|
559
622
|
}
|
|
560
|
-
function
|
|
561
|
-
e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" ||
|
|
623
|
+
function ai(t, e, i) {
|
|
624
|
+
e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" || Eo.test(e) ? i : i + "px";
|
|
562
625
|
}
|
|
563
|
-
function
|
|
626
|
+
function Vt(t, e, i, a, o) {
|
|
564
627
|
var n;
|
|
565
628
|
t:
|
|
566
629
|
if (e === "style")
|
|
@@ -569,13 +632,13 @@ function Wt(t, e, i, a, o) {
|
|
|
569
632
|
else {
|
|
570
633
|
if (typeof a == "string" && (t.style.cssText = a = ""), a)
|
|
571
634
|
for (e in a)
|
|
572
|
-
i && e in i ||
|
|
635
|
+
i && e in i || ai(t.style, e, "");
|
|
573
636
|
if (i)
|
|
574
637
|
for (e in i)
|
|
575
|
-
a && i[e] === a[e] ||
|
|
638
|
+
a && i[e] === a[e] || ai(t.style, e, i[e]);
|
|
576
639
|
}
|
|
577
640
|
else if (e[0] === "o" && e[1] === "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 ?
|
|
641
|
+
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 ? ni : oi, n) : t.removeEventListener(e, n ? ni : oi, n);
|
|
579
642
|
else if (e !== "dangerouslySetInnerHTML") {
|
|
580
643
|
if (o)
|
|
581
644
|
e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
@@ -588,54 +651,54 @@ function Wt(t, e, i, a, o) {
|
|
|
588
651
|
typeof i == "function" || (i == null || i === !1 && e[4] !== "-" ? t.removeAttribute(e) : t.setAttribute(e, i));
|
|
589
652
|
}
|
|
590
653
|
}
|
|
591
|
-
function
|
|
654
|
+
function oi(t) {
|
|
592
655
|
return this.l[t.type + !1](w.event ? w.event(t) : t);
|
|
593
656
|
}
|
|
594
|
-
function
|
|
657
|
+
function ni(t) {
|
|
595
658
|
return this.l[t.type + !0](w.event ? w.event(t) : t);
|
|
596
659
|
}
|
|
597
|
-
function
|
|
598
|
-
var u, c, f, g,
|
|
660
|
+
function Le(t, e, i, a, o, n, r, s, l, d) {
|
|
661
|
+
var u, c, f, g, p, b, k, x, I, v, _, $, y, Z, H, O = e.type;
|
|
599
662
|
if (e.constructor !== void 0)
|
|
600
663
|
return null;
|
|
601
664
|
i.__h != null && (l = i.__h, s = e.__e = i.__e, e.__h = null, n = [s]), (u = w.__b) && u(e);
|
|
602
665
|
try {
|
|
603
666
|
t:
|
|
604
|
-
if (typeof
|
|
605
|
-
if (
|
|
606
|
-
|
|
667
|
+
if (typeof O == "function") {
|
|
668
|
+
if (x = e.props, I = (u = O.contextType) && a[u.__c], v = u ? I ? I.props.value : u.__ : a, i.__c ? k = (c = e.__c = i.__c).__ = c.__E : ("prototype" in O && O.prototype.render ? e.__c = c = new O(x, v) : (e.__c = c = new K(x, v), c.constructor = O, c.render = Ao), I && I.sub(c), c.props = x, 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), O.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = tt({}, c.__s)), tt(c.__s, O.getDerivedStateFromProps(x, c.__s))), g = c.props, p = c.state, c.__v = e, f)
|
|
669
|
+
O.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), c.componentDidMount != null && c.__h.push(c.componentDidMount);
|
|
607
670
|
else {
|
|
608
|
-
if (
|
|
609
|
-
for (e.__v !== i.__v && (c.props =
|
|
610
|
-
|
|
671
|
+
if (O.getDerivedStateFromProps == null && x !== g && c.componentWillReceiveProps != null && c.componentWillReceiveProps(x, v), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(x, c.__s, v) === !1 || e.__v === i.__v)) {
|
|
672
|
+
for (e.__v !== i.__v && (c.props = x, c.state = c.__s, c.__d = !1), e.__e = i.__e, e.__k = i.__k, e.__k.forEach(function(st) {
|
|
673
|
+
st && (st.__ = e);
|
|
611
674
|
}), _ = 0; _ < c._sb.length; _++)
|
|
612
675
|
c.__h.push(c._sb[_]);
|
|
613
676
|
c._sb = [], c.__h.length && r.push(c);
|
|
614
677
|
break t;
|
|
615
678
|
}
|
|
616
|
-
c.componentWillUpdate != null && c.componentWillUpdate(
|
|
617
|
-
c.componentDidUpdate(g,
|
|
679
|
+
c.componentWillUpdate != null && c.componentWillUpdate(x, c.__s, v), c.componentDidUpdate != null && c.__h.push(function() {
|
|
680
|
+
c.componentDidUpdate(g, p, b);
|
|
618
681
|
});
|
|
619
682
|
}
|
|
620
|
-
if (c.context = v, c.props =
|
|
621
|
-
for (c.state = c.__s, c.__d = !1,
|
|
622
|
-
c.__h.push(c._sb[
|
|
683
|
+
if (c.context = v, c.props = x, c.__P = t, c.__e = !1, $ = w.__r, y = 0, "prototype" in O && O.prototype.render) {
|
|
684
|
+
for (c.state = c.__s, c.__d = !1, $ && $(e), u = c.render(c.props, c.state, c.context), Z = 0; Z < c._sb.length; Z++)
|
|
685
|
+
c.__h.push(c._sb[Z]);
|
|
623
686
|
c._sb = [];
|
|
624
687
|
} else
|
|
625
688
|
do
|
|
626
|
-
c.__d = !1,
|
|
689
|
+
c.__d = !1, $ && $(e), u = c.render(c.props, c.state, c.context), c.state = c.__s;
|
|
627
690
|
while (c.__d && ++y < 25);
|
|
628
|
-
c.state = c.__s, c.getChildContext != null && (a =
|
|
691
|
+
c.state = c.__s, c.getChildContext != null && (a = tt(tt({}, a), c.getChildContext())), f || c.getSnapshotBeforeUpdate == null || (b = c.getSnapshotBeforeUpdate(g, p)), ra(t, Gt(H = u != null && u.type === q && u.key == null ? u.props.children : u) ? H : [H], e, i, a, o, n, r, s, l, d), c.base = e.__e, e.__h = null, c.__h.length && r.push(c), k && (c.__E = c.__ = null);
|
|
629
692
|
} else
|
|
630
|
-
n == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e =
|
|
693
|
+
n == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e = jo(i.__e, e, i, a, o, n, r, l, d);
|
|
631
694
|
(u = w.diffed) && u(e);
|
|
632
|
-
} catch (
|
|
633
|
-
e.__v = null, (l || n != null) && (e.__e = s, e.__h = !!l, n[n.indexOf(s)] = null), w.__e(
|
|
695
|
+
} catch (st) {
|
|
696
|
+
e.__v = null, (l || n != null) && (e.__e = s, e.__h = !!l, n[n.indexOf(s)] = null), w.__e(st, e, i);
|
|
634
697
|
}
|
|
635
698
|
}
|
|
636
|
-
function
|
|
699
|
+
function ca(t, e, i) {
|
|
637
700
|
for (var a = 0; a < i.length; a++)
|
|
638
|
-
|
|
701
|
+
He(i[a], i[++a], i[++a]);
|
|
639
702
|
w.__c && w.__c(e, t), t.some(function(o) {
|
|
640
703
|
try {
|
|
641
704
|
t = o.__h, o.__h = [], t.some(function(n) {
|
|
@@ -646,48 +709,48 @@ function ra(t, e, i) {
|
|
|
646
709
|
}
|
|
647
710
|
});
|
|
648
711
|
}
|
|
649
|
-
function
|
|
650
|
-
var d, u, c, f = i.props, g = e.props,
|
|
651
|
-
if (
|
|
712
|
+
function jo(t, e, i, a, o, n, r, s, l) {
|
|
713
|
+
var d, u, c, f = i.props, g = e.props, p = e.type, b = 0;
|
|
714
|
+
if (p === "svg" && (o = !0), n != null) {
|
|
652
715
|
for (; b < n.length; b++)
|
|
653
|
-
if ((d = n[b]) && "setAttribute" in d == !!
|
|
716
|
+
if ((d = n[b]) && "setAttribute" in d == !!p && (p ? d.localName === p : d.nodeType === 3)) {
|
|
654
717
|
t = d, n[b] = null;
|
|
655
718
|
break;
|
|
656
719
|
}
|
|
657
720
|
}
|
|
658
721
|
if (t == null) {
|
|
659
|
-
if (
|
|
722
|
+
if (p === null)
|
|
660
723
|
return document.createTextNode(g);
|
|
661
|
-
t = o ? document.createElementNS("http://www.w3.org/2000/svg",
|
|
724
|
+
t = o ? document.createElementNS("http://www.w3.org/2000/svg", p) : document.createElement(p, g.is && g), n = null, s = !1;
|
|
662
725
|
}
|
|
663
|
-
if (
|
|
726
|
+
if (p === null)
|
|
664
727
|
f === g || s && t.data === g || (t.data = g);
|
|
665
728
|
else {
|
|
666
|
-
if (n = n &&
|
|
729
|
+
if (n = n && zt.call(t.childNodes), u = (f = i.props || gt).dangerouslySetInnerHTML, c = g.dangerouslySetInnerHTML, !s) {
|
|
667
730
|
if (n != null)
|
|
668
731
|
for (f = {}, b = 0; b < t.attributes.length; b++)
|
|
669
732
|
f[t.attributes[b].name] = t.attributes[b].value;
|
|
670
733
|
(c || u) && (c && (u && c.__html == u.__html || c.__html === t.innerHTML) || (t.innerHTML = c && c.__html || ""));
|
|
671
734
|
}
|
|
672
|
-
if (
|
|
735
|
+
if (Io(t, g, f, o, s), c)
|
|
673
736
|
e.__k = [];
|
|
674
|
-
else if (
|
|
737
|
+
else if (ra(t, Gt(b = e.props.children) ? b : [b], e, i, a, o && p !== "foreignObject", n, r, n ? n[0] : i.__k && Ut(i, 0), s, l), n != null)
|
|
675
738
|
for (b = n.length; b--; )
|
|
676
|
-
n[b] != null &&
|
|
677
|
-
s || ("value" in g && (b = g.value) !== void 0 && (b !== t.value ||
|
|
739
|
+
n[b] != null && oa(n[b]);
|
|
740
|
+
s || ("value" in g && (b = g.value) !== void 0 && (b !== t.value || p === "progress" && !b || p === "option" && b !== f.value) && Vt(t, "value", b, f.value, !1), "checked" in g && (b = g.checked) !== void 0 && b !== t.checked && Vt(t, "checked", b, f.checked, !1));
|
|
678
741
|
}
|
|
679
742
|
return t;
|
|
680
743
|
}
|
|
681
|
-
function
|
|
744
|
+
function He(t, e, i) {
|
|
682
745
|
try {
|
|
683
746
|
typeof t == "function" ? t(e) : t.current = e;
|
|
684
747
|
} catch (a) {
|
|
685
748
|
w.__e(a, i);
|
|
686
749
|
}
|
|
687
750
|
}
|
|
688
|
-
function
|
|
751
|
+
function da(t, e, i) {
|
|
689
752
|
var a, o;
|
|
690
|
-
if (w.unmount && w.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e ||
|
|
753
|
+
if (w.unmount && w.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e || He(a, null, e)), (a = t.__c) != null) {
|
|
691
754
|
if (a.componentWillUnmount)
|
|
692
755
|
try {
|
|
693
756
|
a.componentWillUnmount();
|
|
@@ -698,27 +761,27 @@ function sa(t, e, i) {
|
|
|
698
761
|
}
|
|
699
762
|
if (a = t.__k)
|
|
700
763
|
for (o = 0; o < a.length; o++)
|
|
701
|
-
a[o] &&
|
|
702
|
-
i || t.__e == null ||
|
|
764
|
+
a[o] && da(a[o], e, i || typeof t.type != "function");
|
|
765
|
+
i || t.__e == null || oa(t.__e), t.__ = t.__e = t.__d = void 0;
|
|
703
766
|
}
|
|
704
|
-
function
|
|
767
|
+
function Ao(t, e, i) {
|
|
705
768
|
return this.constructor(t, i);
|
|
706
769
|
}
|
|
707
|
-
function
|
|
770
|
+
function pt(t, e, i) {
|
|
708
771
|
var a, o, n, r;
|
|
709
|
-
w.__ && w.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, n = [], r = [],
|
|
772
|
+
w.__ && w.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, n = [], r = [], Le(e, t = (!a && i || e).__k = U(q, null, [t]), o || gt, gt, e.ownerSVGElement !== void 0, !a && i ? [i] : o ? null : e.firstChild ? zt.call(e.childNodes) : null, n, !a && i ? i : o ? o.__e : e.firstChild, a, r), ca(n, t, r);
|
|
710
773
|
}
|
|
711
|
-
function
|
|
712
|
-
|
|
774
|
+
function ua(t, e) {
|
|
775
|
+
pt(t, e, ua);
|
|
713
776
|
}
|
|
714
|
-
function
|
|
715
|
-
var a, o, n, r, s =
|
|
777
|
+
function Oo(t, e, i) {
|
|
778
|
+
var a, o, n, r, s = tt({}, t.props);
|
|
716
779
|
for (n in t.type && t.type.defaultProps && (r = t.type.defaultProps), e)
|
|
717
780
|
n == "key" ? a = e[n] : n == "ref" ? o = e[n] : s[n] = e[n] === void 0 && r !== void 0 ? r[n] : e[n];
|
|
718
|
-
return arguments.length > 2 && (s.children = arguments.length > 3 ?
|
|
781
|
+
return arguments.length > 2 && (s.children = arguments.length > 3 ? zt.call(arguments, 2) : i), Et(t.type, s, a || t.key, o || t.ref, null);
|
|
719
782
|
}
|
|
720
|
-
function
|
|
721
|
-
var i = { __c: e = "__cC" +
|
|
783
|
+
function pa(t, e) {
|
|
784
|
+
var i = { __c: e = "__cC" + ia++, __: t, Consumer: function(a, o) {
|
|
722
785
|
return a.children(o);
|
|
723
786
|
}, Provider: function(a) {
|
|
724
787
|
var o, n;
|
|
@@ -738,7 +801,7 @@ function ca(t, e) {
|
|
|
738
801
|
} };
|
|
739
802
|
return i.Provider.__ = i.Consumer.contextType = i;
|
|
740
803
|
}
|
|
741
|
-
|
|
804
|
+
zt = aa.slice, w = { __e: function(t, e, i, a) {
|
|
742
805
|
for (var o, n, r; e = e.__; )
|
|
743
806
|
if ((o = e.__c) && !o.__)
|
|
744
807
|
try {
|
|
@@ -748,31 +811,31 @@ jt = ta.slice, w = { __e: function(t, e, i, a) {
|
|
|
748
811
|
t = s;
|
|
749
812
|
}
|
|
750
813
|
throw t;
|
|
751
|
-
} },
|
|
814
|
+
} }, Qi = 0, ta = function(t) {
|
|
752
815
|
return t != null && t.constructor === void 0;
|
|
753
|
-
},
|
|
816
|
+
}, K.prototype.setState = function(t, e) {
|
|
754
817
|
var i;
|
|
755
|
-
i = this.__s != null && this.__s !== this.state ? this.__s : this.__s =
|
|
756
|
-
},
|
|
818
|
+
i = this.__s != null && this.__s !== this.state ? this.__s : this.__s = tt({}, this.state), typeof t == "function" && (t = t(tt({}, i), this.props)), t && tt(i, t), t != null && this.__v && (e && this._sb.push(e), fe(this));
|
|
819
|
+
}, K.prototype.forceUpdate = function(t) {
|
|
757
820
|
this.__v && (this.__e = !0, t && this.__h.push(t), fe(this));
|
|
758
|
-
},
|
|
821
|
+
}, K.prototype.render = q, ct = [], ea = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, he = function(t, e) {
|
|
759
822
|
return t.__v.__b - e.__v.__b;
|
|
760
|
-
},
|
|
761
|
-
var
|
|
762
|
-
function
|
|
763
|
-
w.__h && w.__h(
|
|
764
|
-
var i =
|
|
765
|
-
return t >= i.__.length && i.__.push({ __V:
|
|
766
|
-
}
|
|
767
|
-
function
|
|
768
|
-
return
|
|
769
|
-
}
|
|
770
|
-
function
|
|
771
|
-
var a =
|
|
772
|
-
if (a.t = t, !a.__c && (a.__ = [i ? i(e) :
|
|
823
|
+
}, Wt.__r = 0, ia = 0;
|
|
824
|
+
var rt, P, ie, ri, _t = 0, ha = [], Ft = [], si = w.__b, li = w.__r, ci = w.diffed, di = w.__c, ui = w.unmount;
|
|
825
|
+
function yt(t, e) {
|
|
826
|
+
w.__h && w.__h(P, t, _t || e), _t = 0;
|
|
827
|
+
var i = P.__H || (P.__H = { __: [], __h: [] });
|
|
828
|
+
return t >= i.__.length && i.__.push({ __V: Ft }), i.__[t];
|
|
829
|
+
}
|
|
830
|
+
function fa(t) {
|
|
831
|
+
return _t = 1, wa(ba, t);
|
|
832
|
+
}
|
|
833
|
+
function wa(t, e, i) {
|
|
834
|
+
var a = yt(rt++, 2);
|
|
835
|
+
if (a.t = t, !a.__c && (a.__ = [i ? i(e) : ba(void 0, e), function(s) {
|
|
773
836
|
var l = a.__N ? a.__N[0] : a.__[0], d = a.t(l, s);
|
|
774
837
|
l !== d && (a.__N = [d, a.__[1]], a.__c.setState({}));
|
|
775
|
-
}], a.__c =
|
|
838
|
+
}], a.__c = P, !P.u)) {
|
|
776
839
|
var o = function(s, l, d) {
|
|
777
840
|
if (!a.__c.__H)
|
|
778
841
|
return !0;
|
|
@@ -791,33 +854,33 @@ function pa(t, e, i) {
|
|
|
791
854
|
}
|
|
792
855
|
}), !(!c && a.__c.props === s) && (!n || n.call(this, s, l, d));
|
|
793
856
|
};
|
|
794
|
-
|
|
795
|
-
var n =
|
|
796
|
-
|
|
857
|
+
P.u = !0;
|
|
858
|
+
var n = P.shouldComponentUpdate, r = P.componentWillUpdate;
|
|
859
|
+
P.componentWillUpdate = function(s, l, d) {
|
|
797
860
|
if (this.__e) {
|
|
798
861
|
var u = n;
|
|
799
862
|
n = void 0, o(s, l, d), n = u;
|
|
800
863
|
}
|
|
801
864
|
r && r.call(this, s, l, d);
|
|
802
|
-
},
|
|
865
|
+
}, P.shouldComponentUpdate = o;
|
|
803
866
|
}
|
|
804
867
|
return a.__N || a.__;
|
|
805
868
|
}
|
|
806
|
-
function
|
|
807
|
-
var i =
|
|
808
|
-
!w.__s &&
|
|
869
|
+
function Ue(t, e) {
|
|
870
|
+
var i = yt(rt++, 3);
|
|
871
|
+
!w.__s && We(i.__H, e) && (i.__ = t, i.i = e, P.__H.__h.push(i));
|
|
809
872
|
}
|
|
810
|
-
function
|
|
811
|
-
var i =
|
|
812
|
-
!w.__s &&
|
|
873
|
+
function xt(t, e) {
|
|
874
|
+
var i = yt(rt++, 4);
|
|
875
|
+
!w.__s && We(i.__H, e) && (i.__ = t, i.i = e, P.__h.push(i));
|
|
813
876
|
}
|
|
814
|
-
function
|
|
815
|
-
return
|
|
877
|
+
function mt(t) {
|
|
878
|
+
return _t = 5, ht(function() {
|
|
816
879
|
return { current: t };
|
|
817
880
|
}, []);
|
|
818
881
|
}
|
|
819
|
-
function
|
|
820
|
-
|
|
882
|
+
function zo(t, e, i) {
|
|
883
|
+
_t = 6, xt(function() {
|
|
821
884
|
return typeof t == "function" ? (t(e()), function() {
|
|
822
885
|
return t(null);
|
|
823
886
|
}) : t ? (t.current = e(), function() {
|
|
@@ -825,59 +888,59 @@ function Ao(t, e, i) {
|
|
|
825
888
|
}) : void 0;
|
|
826
889
|
}, i == null ? i : i.concat(t));
|
|
827
890
|
}
|
|
828
|
-
function
|
|
829
|
-
var i =
|
|
830
|
-
return
|
|
891
|
+
function ht(t, e) {
|
|
892
|
+
var i = yt(rt++, 7);
|
|
893
|
+
return We(i.__H, e) ? (i.__V = t(), i.i = e, i.__h = t, i.__V) : i.__;
|
|
831
894
|
}
|
|
832
|
-
function
|
|
833
|
-
return
|
|
895
|
+
function Do(t, e) {
|
|
896
|
+
return _t = 8, ht(function() {
|
|
834
897
|
return t;
|
|
835
898
|
}, e);
|
|
836
899
|
}
|
|
837
|
-
function
|
|
838
|
-
var e =
|
|
839
|
-
return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(
|
|
900
|
+
function ga(t) {
|
|
901
|
+
var e = P.context[t.__c], i = yt(rt++, 9);
|
|
902
|
+
return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(P)), e.props.value) : t.__;
|
|
840
903
|
}
|
|
841
|
-
function
|
|
904
|
+
function No(t, e) {
|
|
842
905
|
w.useDebugValue && w.useDebugValue(e ? e(t) : t);
|
|
843
906
|
}
|
|
844
|
-
function
|
|
845
|
-
var t =
|
|
907
|
+
function Fo() {
|
|
908
|
+
var t = yt(rt++, 11);
|
|
846
909
|
if (!t.__) {
|
|
847
|
-
for (var e =
|
|
910
|
+
for (var e = P.__v; e !== null && !e.__m && e.__ !== null; )
|
|
848
911
|
e = e.__;
|
|
849
912
|
var i = e.__m || (e.__m = [0, 0]);
|
|
850
913
|
t.__ = "P" + i[0] + "-" + i[1]++;
|
|
851
914
|
}
|
|
852
915
|
return t.__;
|
|
853
916
|
}
|
|
854
|
-
function
|
|
855
|
-
for (var t; t =
|
|
917
|
+
function Mo() {
|
|
918
|
+
for (var t; t = ha.shift(); )
|
|
856
919
|
if (t.__P && t.__H)
|
|
857
920
|
try {
|
|
858
|
-
t.__H.__h.forEach(
|
|
921
|
+
t.__H.__h.forEach(Mt), t.__H.__h.forEach(we), t.__H.__h = [];
|
|
859
922
|
} catch (e) {
|
|
860
923
|
t.__H.__h = [], w.__e(e, t.__v);
|
|
861
924
|
}
|
|
862
925
|
}
|
|
863
926
|
w.__b = function(t) {
|
|
864
|
-
|
|
927
|
+
P = null, si && si(t);
|
|
865
928
|
}, w.__r = function(t) {
|
|
866
|
-
|
|
867
|
-
var e = (
|
|
868
|
-
e && (ie ===
|
|
869
|
-
i.__N && (i.__ = i.__N), i.__V =
|
|
870
|
-
})) : (e.__h.forEach(
|
|
929
|
+
li && li(t), rt = 0;
|
|
930
|
+
var e = (P = t.__c).__H;
|
|
931
|
+
e && (ie === P ? (e.__h = [], P.__h = [], e.__.forEach(function(i) {
|
|
932
|
+
i.__N && (i.__ = i.__N), i.__V = Ft, i.__N = i.i = void 0;
|
|
933
|
+
})) : (e.__h.forEach(Mt), e.__h.forEach(we), e.__h = [], rt = 0)), ie = P;
|
|
871
934
|
}, w.diffed = function(t) {
|
|
872
|
-
|
|
935
|
+
ci && ci(t);
|
|
873
936
|
var e = t.__c;
|
|
874
|
-
e && e.__H && (e.__H.__h.length && (
|
|
875
|
-
i.i && (i.__H = i.i), i.__V !==
|
|
876
|
-
})), ie =
|
|
937
|
+
e && e.__H && (e.__H.__h.length && (ha.push(e) !== 1 && ri === w.requestAnimationFrame || ((ri = w.requestAnimationFrame) || Ro)(Mo)), e.__H.__.forEach(function(i) {
|
|
938
|
+
i.i && (i.__H = i.i), i.__V !== Ft && (i.__ = i.__V), i.i = void 0, i.__V = Ft;
|
|
939
|
+
})), ie = P = null;
|
|
877
940
|
}, w.__c = function(t, e) {
|
|
878
941
|
e.some(function(i) {
|
|
879
942
|
try {
|
|
880
|
-
i.__h.forEach(
|
|
943
|
+
i.__h.forEach(Mt), i.__h = i.__h.filter(function(a) {
|
|
881
944
|
return !a.__ || we(a);
|
|
882
945
|
});
|
|
883
946
|
} catch (a) {
|
|
@@ -885,51 +948,51 @@ w.__b = function(t) {
|
|
|
885
948
|
o.__h && (o.__h = []);
|
|
886
949
|
}), e = [], w.__e(a, i.__v);
|
|
887
950
|
}
|
|
888
|
-
}),
|
|
951
|
+
}), di && di(t, e);
|
|
889
952
|
}, w.unmount = function(t) {
|
|
890
|
-
|
|
953
|
+
ui && ui(t);
|
|
891
954
|
var e, i = t.__c;
|
|
892
955
|
i && i.__H && (i.__H.__.forEach(function(a) {
|
|
893
956
|
try {
|
|
894
|
-
|
|
957
|
+
Mt(a);
|
|
895
958
|
} catch (o) {
|
|
896
959
|
e = o;
|
|
897
960
|
}
|
|
898
961
|
}), i.__H = void 0, e && w.__e(e, i.__v));
|
|
899
962
|
};
|
|
900
|
-
var
|
|
901
|
-
function
|
|
963
|
+
var pi = typeof requestAnimationFrame == "function";
|
|
964
|
+
function Ro(t) {
|
|
902
965
|
var e, i = function() {
|
|
903
|
-
clearTimeout(a),
|
|
966
|
+
clearTimeout(a), pi && cancelAnimationFrame(e), setTimeout(t);
|
|
904
967
|
}, a = setTimeout(i, 100);
|
|
905
|
-
|
|
968
|
+
pi && (e = requestAnimationFrame(i));
|
|
906
969
|
}
|
|
907
|
-
function
|
|
908
|
-
var e =
|
|
909
|
-
typeof i == "function" && (t.__c = void 0, i()),
|
|
970
|
+
function Mt(t) {
|
|
971
|
+
var e = P, i = t.__c;
|
|
972
|
+
typeof i == "function" && (t.__c = void 0, i()), P = e;
|
|
910
973
|
}
|
|
911
974
|
function we(t) {
|
|
912
|
-
var e =
|
|
913
|
-
t.__c = t.__(),
|
|
975
|
+
var e = P;
|
|
976
|
+
t.__c = t.__(), P = e;
|
|
914
977
|
}
|
|
915
|
-
function
|
|
978
|
+
function We(t, e) {
|
|
916
979
|
return !t || t.length !== e.length || e.some(function(i, a) {
|
|
917
980
|
return i !== t[a];
|
|
918
981
|
});
|
|
919
982
|
}
|
|
920
|
-
function
|
|
983
|
+
function ba(t, e) {
|
|
921
984
|
return typeof e == "function" ? e(t) : e;
|
|
922
985
|
}
|
|
923
|
-
var
|
|
924
|
-
function
|
|
925
|
-
if (
|
|
926
|
-
|
|
986
|
+
var Bo = Symbol.for("preact-signals");
|
|
987
|
+
function Ve() {
|
|
988
|
+
if (bt > 1)
|
|
989
|
+
bt--;
|
|
927
990
|
else {
|
|
928
|
-
for (var t, e = !1;
|
|
929
|
-
var i =
|
|
930
|
-
for (
|
|
991
|
+
for (var t, e = !1; Pt !== void 0; ) {
|
|
992
|
+
var i = Pt;
|
|
993
|
+
for (Pt = void 0, ge++; i !== void 0; ) {
|
|
931
994
|
var a = i.o;
|
|
932
|
-
if (i.o = void 0, i.f &= -3, !(8 & i.f) &&
|
|
995
|
+
if (i.o = void 0, i.f &= -3, !(8 & i.f) && _a(i))
|
|
933
996
|
try {
|
|
934
997
|
i.c();
|
|
935
998
|
} catch (o) {
|
|
@@ -938,92 +1001,92 @@ function Ue() {
|
|
|
938
1001
|
i = a;
|
|
939
1002
|
}
|
|
940
1003
|
}
|
|
941
|
-
if (ge = 0,
|
|
1004
|
+
if (ge = 0, bt--, e)
|
|
942
1005
|
throw t;
|
|
943
1006
|
}
|
|
944
1007
|
}
|
|
945
|
-
var
|
|
946
|
-
function
|
|
947
|
-
if (
|
|
1008
|
+
var S = void 0, Pt = void 0, bt = 0, ge = 0, Yt = 0;
|
|
1009
|
+
function va(t) {
|
|
1010
|
+
if (S !== void 0) {
|
|
948
1011
|
var e = t.n;
|
|
949
|
-
if (e === void 0 || e.t !==
|
|
950
|
-
return e = { i: 0, S: t, p:
|
|
1012
|
+
if (e === void 0 || e.t !== S)
|
|
1013
|
+
return e = { i: 0, S: t, p: S.s, n: void 0, t: S, e: void 0, x: void 0, r: e }, S.s !== void 0 && (S.s.n = e), S.s = e, t.n = e, 32 & S.f && t.S(e), e;
|
|
951
1014
|
if (e.i === -1)
|
|
952
|
-
return e.i = 0, e.n !== void 0 && (e.n.p = e.p, e.p !== void 0 && (e.p.n = e.n), e.p =
|
|
1015
|
+
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.s, e.n = void 0, S.s.n = e, S.s = e), e;
|
|
953
1016
|
}
|
|
954
1017
|
}
|
|
955
|
-
function
|
|
1018
|
+
function D(t) {
|
|
956
1019
|
this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
|
|
957
1020
|
}
|
|
958
|
-
|
|
959
|
-
|
|
1021
|
+
D.prototype.brand = Bo;
|
|
1022
|
+
D.prototype.h = function() {
|
|
960
1023
|
return !0;
|
|
961
1024
|
};
|
|
962
|
-
|
|
1025
|
+
D.prototype.S = function(t) {
|
|
963
1026
|
this.t !== t && t.e === void 0 && (t.x = this.t, this.t !== void 0 && (this.t.e = t), this.t = t);
|
|
964
1027
|
};
|
|
965
|
-
|
|
1028
|
+
D.prototype.U = function(t) {
|
|
966
1029
|
if (this.t !== void 0) {
|
|
967
1030
|
var e = t.e, i = t.x;
|
|
968
1031
|
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);
|
|
969
1032
|
}
|
|
970
1033
|
};
|
|
971
|
-
|
|
1034
|
+
D.prototype.subscribe = function(t) {
|
|
972
1035
|
var e = this;
|
|
973
|
-
return
|
|
974
|
-
var i = e.value, a =
|
|
975
|
-
|
|
1036
|
+
return Ke(function() {
|
|
1037
|
+
var i = e.value, a = S;
|
|
1038
|
+
S = void 0;
|
|
976
1039
|
try {
|
|
977
1040
|
t(i);
|
|
978
1041
|
} finally {
|
|
979
|
-
|
|
1042
|
+
S = a;
|
|
980
1043
|
}
|
|
981
1044
|
});
|
|
982
1045
|
};
|
|
983
|
-
|
|
1046
|
+
D.prototype.valueOf = function() {
|
|
984
1047
|
return this.value;
|
|
985
1048
|
};
|
|
986
|
-
|
|
1049
|
+
D.prototype.toString = function() {
|
|
987
1050
|
return this.value + "";
|
|
988
1051
|
};
|
|
989
|
-
|
|
1052
|
+
D.prototype.toJSON = function() {
|
|
990
1053
|
return this.value;
|
|
991
1054
|
};
|
|
992
|
-
|
|
993
|
-
var t =
|
|
994
|
-
|
|
1055
|
+
D.prototype.peek = function() {
|
|
1056
|
+
var t = S;
|
|
1057
|
+
S = void 0;
|
|
995
1058
|
try {
|
|
996
1059
|
return this.value;
|
|
997
1060
|
} finally {
|
|
998
|
-
|
|
1061
|
+
S = t;
|
|
999
1062
|
}
|
|
1000
1063
|
};
|
|
1001
|
-
Object.defineProperty(
|
|
1002
|
-
var t =
|
|
1064
|
+
Object.defineProperty(D.prototype, "value", { get: function() {
|
|
1065
|
+
var t = va(this);
|
|
1003
1066
|
return t !== void 0 && (t.i = this.i), this.v;
|
|
1004
1067
|
}, set: function(t) {
|
|
1005
1068
|
if (t !== this.v) {
|
|
1006
1069
|
if (ge > 100)
|
|
1007
1070
|
throw new Error("Cycle detected");
|
|
1008
|
-
this.v = t, this.i++,
|
|
1071
|
+
this.v = t, this.i++, Yt++, bt++;
|
|
1009
1072
|
try {
|
|
1010
1073
|
for (var e = this.t; e !== void 0; e = e.x)
|
|
1011
1074
|
e.t.N();
|
|
1012
1075
|
} finally {
|
|
1013
|
-
|
|
1076
|
+
Ve();
|
|
1014
1077
|
}
|
|
1015
1078
|
}
|
|
1016
1079
|
} });
|
|
1017
|
-
function
|
|
1018
|
-
return new
|
|
1080
|
+
function Y(t) {
|
|
1081
|
+
return new D(t);
|
|
1019
1082
|
}
|
|
1020
|
-
function
|
|
1083
|
+
function _a(t) {
|
|
1021
1084
|
for (var e = t.s; e !== void 0; e = e.n)
|
|
1022
1085
|
if (e.S.i !== e.i || !e.S.h() || e.S.i !== e.i)
|
|
1023
1086
|
return !0;
|
|
1024
1087
|
return !1;
|
|
1025
1088
|
}
|
|
1026
|
-
function
|
|
1089
|
+
function ma(t) {
|
|
1027
1090
|
for (var e = t.s; e !== void 0; e = e.n) {
|
|
1028
1091
|
var i = e.S.n;
|
|
1029
1092
|
if (i !== void 0 && (e.r = i), e.S.n = e, e.i = -1, e.n === void 0) {
|
|
@@ -1032,95 +1095,95 @@ function ba(t) {
|
|
|
1032
1095
|
}
|
|
1033
1096
|
}
|
|
1034
1097
|
}
|
|
1035
|
-
function
|
|
1098
|
+
function ya(t) {
|
|
1036
1099
|
for (var e = t.s, i = void 0; e !== void 0; ) {
|
|
1037
1100
|
var a = e.p;
|
|
1038
1101
|
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;
|
|
1039
1102
|
}
|
|
1040
1103
|
t.s = i;
|
|
1041
1104
|
}
|
|
1042
|
-
function
|
|
1043
|
-
|
|
1105
|
+
function kt(t) {
|
|
1106
|
+
D.call(this, void 0), this.x = t, this.s = void 0, this.g = Yt - 1, this.f = 4;
|
|
1044
1107
|
}
|
|
1045
|
-
(
|
|
1108
|
+
(kt.prototype = new D()).h = function() {
|
|
1046
1109
|
if (this.f &= -3, 1 & this.f)
|
|
1047
1110
|
return !1;
|
|
1048
|
-
if ((36 & this.f) == 32 || (this.f &= -5, this.g ===
|
|
1111
|
+
if ((36 & this.f) == 32 || (this.f &= -5, this.g === Yt))
|
|
1049
1112
|
return !0;
|
|
1050
|
-
if (this.g =
|
|
1113
|
+
if (this.g = Yt, this.f |= 1, this.i > 0 && !_a(this))
|
|
1051
1114
|
return this.f &= -2, !0;
|
|
1052
|
-
var t =
|
|
1115
|
+
var t = S;
|
|
1053
1116
|
try {
|
|
1054
|
-
|
|
1117
|
+
ma(this), S = this;
|
|
1055
1118
|
var e = this.x();
|
|
1056
1119
|
(16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
|
|
1057
1120
|
} catch (i) {
|
|
1058
1121
|
this.v = i, this.f |= 16, this.i++;
|
|
1059
1122
|
}
|
|
1060
|
-
return
|
|
1123
|
+
return S = t, ya(this), this.f &= -2, !0;
|
|
1061
1124
|
};
|
|
1062
|
-
|
|
1125
|
+
kt.prototype.S = function(t) {
|
|
1063
1126
|
if (this.t === void 0) {
|
|
1064
1127
|
this.f |= 36;
|
|
1065
1128
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1066
1129
|
e.S.S(e);
|
|
1067
1130
|
}
|
|
1068
|
-
|
|
1131
|
+
D.prototype.S.call(this, t);
|
|
1069
1132
|
};
|
|
1070
|
-
|
|
1071
|
-
if (this.t !== void 0 && (
|
|
1133
|
+
kt.prototype.U = function(t) {
|
|
1134
|
+
if (this.t !== void 0 && (D.prototype.U.call(this, t), this.t === void 0)) {
|
|
1072
1135
|
this.f &= -33;
|
|
1073
1136
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1074
1137
|
e.S.U(e);
|
|
1075
1138
|
}
|
|
1076
1139
|
};
|
|
1077
|
-
|
|
1140
|
+
kt.prototype.N = function() {
|
|
1078
1141
|
if (!(2 & this.f)) {
|
|
1079
1142
|
this.f |= 6;
|
|
1080
1143
|
for (var t = this.t; t !== void 0; t = t.x)
|
|
1081
1144
|
t.t.N();
|
|
1082
1145
|
}
|
|
1083
1146
|
};
|
|
1084
|
-
Object.defineProperty(
|
|
1147
|
+
Object.defineProperty(kt.prototype, "value", { get: function() {
|
|
1085
1148
|
if (1 & this.f)
|
|
1086
1149
|
throw new Error("Cycle detected");
|
|
1087
|
-
var t =
|
|
1150
|
+
var t = va(this);
|
|
1088
1151
|
if (this.h(), t !== void 0 && (t.i = this.i), 16 & this.f)
|
|
1089
1152
|
throw this.v;
|
|
1090
1153
|
return this.v;
|
|
1091
1154
|
} });
|
|
1092
|
-
function
|
|
1093
|
-
return new
|
|
1155
|
+
function Lo(t) {
|
|
1156
|
+
return new kt(t);
|
|
1094
1157
|
}
|
|
1095
|
-
function
|
|
1158
|
+
function xa(t) {
|
|
1096
1159
|
var e = t.u;
|
|
1097
1160
|
if (t.u = void 0, typeof e == "function") {
|
|
1098
|
-
|
|
1099
|
-
var i =
|
|
1100
|
-
|
|
1161
|
+
bt++;
|
|
1162
|
+
var i = S;
|
|
1163
|
+
S = void 0;
|
|
1101
1164
|
try {
|
|
1102
1165
|
e();
|
|
1103
1166
|
} catch (a) {
|
|
1104
|
-
throw t.f &= -2, t.f |= 8,
|
|
1167
|
+
throw t.f &= -2, t.f |= 8, Ye(t), a;
|
|
1105
1168
|
} finally {
|
|
1106
|
-
|
|
1169
|
+
S = i, Ve();
|
|
1107
1170
|
}
|
|
1108
1171
|
}
|
|
1109
1172
|
}
|
|
1110
|
-
function
|
|
1173
|
+
function Ye(t) {
|
|
1111
1174
|
for (var e = t.s; e !== void 0; e = e.n)
|
|
1112
1175
|
e.S.U(e);
|
|
1113
|
-
t.x = void 0, t.s = void 0,
|
|
1176
|
+
t.x = void 0, t.s = void 0, xa(t);
|
|
1114
1177
|
}
|
|
1115
|
-
function
|
|
1116
|
-
if (
|
|
1178
|
+
function Ho(t) {
|
|
1179
|
+
if (S !== this)
|
|
1117
1180
|
throw new Error("Out-of-order effect");
|
|
1118
|
-
|
|
1181
|
+
ya(this), S = t, this.f &= -2, 8 & this.f && Ye(this), Ve();
|
|
1119
1182
|
}
|
|
1120
|
-
function
|
|
1183
|
+
function Dt(t) {
|
|
1121
1184
|
this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
|
|
1122
1185
|
}
|
|
1123
|
-
|
|
1186
|
+
Dt.prototype.c = function() {
|
|
1124
1187
|
var t = this.S();
|
|
1125
1188
|
try {
|
|
1126
1189
|
if (8 & this.f || this.x === void 0)
|
|
@@ -1131,21 +1194,21 @@ Ot.prototype.c = function() {
|
|
|
1131
1194
|
t();
|
|
1132
1195
|
}
|
|
1133
1196
|
};
|
|
1134
|
-
|
|
1197
|
+
Dt.prototype.S = function() {
|
|
1135
1198
|
if (1 & this.f)
|
|
1136
1199
|
throw new Error("Cycle detected");
|
|
1137
|
-
this.f |= 1, this.f &= -9,
|
|
1138
|
-
var t =
|
|
1139
|
-
return
|
|
1200
|
+
this.f |= 1, this.f &= -9, xa(this), ma(this), bt++;
|
|
1201
|
+
var t = S;
|
|
1202
|
+
return S = this, Ho.bind(this, t);
|
|
1140
1203
|
};
|
|
1141
|
-
|
|
1142
|
-
2 & this.f || (this.f |= 2, this.o =
|
|
1204
|
+
Dt.prototype.N = function() {
|
|
1205
|
+
2 & this.f || (this.f |= 2, this.o = Pt, Pt = this);
|
|
1143
1206
|
};
|
|
1144
|
-
|
|
1145
|
-
this.f |= 8, 1 & this.f ||
|
|
1207
|
+
Dt.prototype.d = function() {
|
|
1208
|
+
this.f |= 8, 1 & this.f || Ye(this);
|
|
1146
1209
|
};
|
|
1147
|
-
function
|
|
1148
|
-
var e = new
|
|
1210
|
+
function Ke(t) {
|
|
1211
|
+
var e = new Dt(t);
|
|
1149
1212
|
try {
|
|
1150
1213
|
e.c();
|
|
1151
1214
|
} catch (i) {
|
|
@@ -1154,17 +1217,17 @@ function Ve(t) {
|
|
|
1154
1217
|
return e.d.bind(e);
|
|
1155
1218
|
}
|
|
1156
1219
|
var ae;
|
|
1157
|
-
function
|
|
1220
|
+
function $t(t, e) {
|
|
1158
1221
|
w[t] = e.bind(null, w[t] || function() {
|
|
1159
1222
|
});
|
|
1160
1223
|
}
|
|
1161
|
-
function
|
|
1224
|
+
function Kt(t) {
|
|
1162
1225
|
ae && ae(), ae = t && t.S();
|
|
1163
1226
|
}
|
|
1164
|
-
function
|
|
1165
|
-
var e = this, i = t.data, a =
|
|
1227
|
+
function ka(t) {
|
|
1228
|
+
var e = this, i = t.data, a = Wo(i);
|
|
1166
1229
|
a.value = i;
|
|
1167
|
-
var o =
|
|
1230
|
+
var o = ht(function() {
|
|
1168
1231
|
for (var n = e.__v; n = n.__; )
|
|
1169
1232
|
if (n.__c) {
|
|
1170
1233
|
n.__c.__$f |= 4;
|
|
@@ -1172,46 +1235,46 @@ function ma(t) {
|
|
|
1172
1235
|
}
|
|
1173
1236
|
return e.__$u.c = function() {
|
|
1174
1237
|
var r;
|
|
1175
|
-
!
|
|
1176
|
-
},
|
|
1238
|
+
!ta(o.peek()) && ((r = e.base) == null ? void 0 : r.nodeType) === 3 ? e.base.data = o.peek() : (e.__$f |= 1, e.setState({}));
|
|
1239
|
+
}, Lo(function() {
|
|
1177
1240
|
var r = a.value.value;
|
|
1178
1241
|
return r === 0 ? 0 : r === !0 ? "" : r || "";
|
|
1179
1242
|
});
|
|
1180
1243
|
}, []);
|
|
1181
1244
|
return o.value;
|
|
1182
1245
|
}
|
|
1183
|
-
|
|
1184
|
-
Object.defineProperties(
|
|
1246
|
+
ka.displayName = "_st";
|
|
1247
|
+
Object.defineProperties(D.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: ka }, props: { configurable: !0, get: function() {
|
|
1185
1248
|
return { data: this };
|
|
1186
1249
|
} }, __b: { configurable: !0, value: 1 } });
|
|
1187
|
-
|
|
1250
|
+
$t("__b", function(t, e) {
|
|
1188
1251
|
if (typeof e.type == "string") {
|
|
1189
1252
|
var i, a = e.props;
|
|
1190
1253
|
for (var o in a)
|
|
1191
1254
|
if (o !== "children") {
|
|
1192
1255
|
var n = a[o];
|
|
1193
|
-
n instanceof
|
|
1256
|
+
n instanceof D && (i || (e.__np = i = {}), i[o] = n, a[o] = n.peek());
|
|
1194
1257
|
}
|
|
1195
1258
|
}
|
|
1196
1259
|
t(e);
|
|
1197
1260
|
});
|
|
1198
|
-
|
|
1199
|
-
|
|
1261
|
+
$t("__r", function(t, e) {
|
|
1262
|
+
Kt();
|
|
1200
1263
|
var i, a = e.__c;
|
|
1201
1264
|
a && (a.__$f &= -2, (i = a.__$u) === void 0 && (a.__$u = i = function(o) {
|
|
1202
1265
|
var n;
|
|
1203
|
-
return
|
|
1266
|
+
return Ke(function() {
|
|
1204
1267
|
n = this;
|
|
1205
1268
|
}), n.c = function() {
|
|
1206
1269
|
a.__$f |= 1, a.setState({});
|
|
1207
1270
|
}, n;
|
|
1208
|
-
}())),
|
|
1271
|
+
}())), Kt(i), t(e);
|
|
1209
1272
|
});
|
|
1210
|
-
|
|
1211
|
-
|
|
1273
|
+
$t("__e", function(t, e, i, a) {
|
|
1274
|
+
Kt(), t(e, i, a);
|
|
1212
1275
|
});
|
|
1213
|
-
|
|
1214
|
-
|
|
1276
|
+
$t("diffed", function(t, e) {
|
|
1277
|
+
Kt();
|
|
1215
1278
|
var i;
|
|
1216
1279
|
if (typeof e.type == "string" && (i = e.__e)) {
|
|
1217
1280
|
var a = e.__np, o = e.props;
|
|
@@ -1226,22 +1289,22 @@ kt("diffed", function(t, e) {
|
|
|
1226
1289
|
i.U = n = {};
|
|
1227
1290
|
for (var l in a) {
|
|
1228
1291
|
var d = n[l], u = a[l];
|
|
1229
|
-
d === void 0 ? (d =
|
|
1292
|
+
d === void 0 ? (d = Uo(i, l, u, o), n[l] = d) : d.o(u, o);
|
|
1230
1293
|
}
|
|
1231
1294
|
}
|
|
1232
1295
|
}
|
|
1233
1296
|
t(e);
|
|
1234
1297
|
});
|
|
1235
|
-
function
|
|
1236
|
-
var o = e in t && t.ownerSVGElement === void 0, n =
|
|
1298
|
+
function Uo(t, e, i, a) {
|
|
1299
|
+
var o = e in t && t.ownerSVGElement === void 0, n = Y(i);
|
|
1237
1300
|
return { o: function(r, s) {
|
|
1238
1301
|
n.value = r, a = s;
|
|
1239
|
-
}, d:
|
|
1302
|
+
}, d: Ke(function() {
|
|
1240
1303
|
var r = n.value.value;
|
|
1241
1304
|
a[e] !== r && (a[e] = r, o ? t[e] = r : r ? t.setAttribute(e, r) : t.removeAttribute(e));
|
|
1242
1305
|
}) };
|
|
1243
1306
|
}
|
|
1244
|
-
|
|
1307
|
+
$t("unmount", function(t, e) {
|
|
1245
1308
|
if (typeof e.type == "string") {
|
|
1246
1309
|
var i = e.__e;
|
|
1247
1310
|
if (i) {
|
|
@@ -1263,10 +1326,10 @@ kt("unmount", function(t, e) {
|
|
|
1263
1326
|
}
|
|
1264
1327
|
t(e);
|
|
1265
1328
|
});
|
|
1266
|
-
|
|
1329
|
+
$t("__h", function(t, e, i, a) {
|
|
1267
1330
|
(a < 3 || a === 9) && (e.__$f |= 2), t(e, i, a);
|
|
1268
1331
|
});
|
|
1269
|
-
|
|
1332
|
+
K.prototype.shouldComponentUpdate = function(t, e) {
|
|
1270
1333
|
var i = this.__$u;
|
|
1271
1334
|
if (!(i && i.s !== void 0 || 4 & this.__$f) || 3 & this.__$f)
|
|
1272
1335
|
return !0;
|
|
@@ -1280,14 +1343,14 @@ V.prototype.shouldComponentUpdate = function(t, e) {
|
|
|
1280
1343
|
return !0;
|
|
1281
1344
|
return !1;
|
|
1282
1345
|
};
|
|
1283
|
-
function
|
|
1284
|
-
return
|
|
1285
|
-
return
|
|
1346
|
+
function Wo(t) {
|
|
1347
|
+
return ht(function() {
|
|
1348
|
+
return Y(t);
|
|
1286
1349
|
}, []);
|
|
1287
1350
|
}
|
|
1288
|
-
const
|
|
1289
|
-
if (
|
|
1290
|
-
const a = t[
|
|
1351
|
+
const R = Symbol.for("@ts-pattern/matcher"), $a = Symbol.for("@ts-pattern/isVariadic"), qt = "@ts-pattern/anonymous-select-key", be = (t) => !!(t && typeof t == "object"), Rt = (t) => t && !!t[R], j = (t, e, i) => {
|
|
1352
|
+
if (Rt(t)) {
|
|
1353
|
+
const a = t[R](), { matched: o, selections: n } = a.match(e);
|
|
1291
1354
|
return o && n && Object.keys(n).forEach((r) => i(r, n[r])), o;
|
|
1292
1355
|
}
|
|
1293
1356
|
if (be(t)) {
|
|
@@ -1299,7 +1362,7 @@ const F = Symbol.for("@ts-pattern/matcher"), ya = Symbol.for("@ts-pattern/isVari
|
|
|
1299
1362
|
let a = [], o = [], n = [];
|
|
1300
1363
|
for (const r of t.keys()) {
|
|
1301
1364
|
const s = t[r];
|
|
1302
|
-
|
|
1365
|
+
Rt(s) && s[$a] ? n.push(s) : n.length ? o.push(s) : a.push(s);
|
|
1303
1366
|
}
|
|
1304
1367
|
if (n.length) {
|
|
1305
1368
|
if (n.length > 1)
|
|
@@ -1307,138 +1370,138 @@ const F = Symbol.for("@ts-pattern/matcher"), ya = Symbol.for("@ts-pattern/isVari
|
|
|
1307
1370
|
if (e.length < a.length + o.length)
|
|
1308
1371
|
return !1;
|
|
1309
1372
|
const r = e.slice(0, a.length), s = o.length === 0 ? [] : e.slice(-o.length), l = e.slice(a.length, o.length === 0 ? 1 / 0 : -o.length);
|
|
1310
|
-
return a.every((d, u) =>
|
|
1373
|
+
return a.every((d, u) => j(d, r[u], i)) && o.every((d, u) => j(d, s[u], i)) && (n.length === 0 || j(n[0], l, i));
|
|
1311
1374
|
}
|
|
1312
|
-
return t.length === e.length && t.every((r, s) =>
|
|
1375
|
+
return t.length === e.length && t.every((r, s) => j(r, e[s], i));
|
|
1313
1376
|
}
|
|
1314
1377
|
return Reflect.ownKeys(t).every((a) => {
|
|
1315
1378
|
const o = t[a];
|
|
1316
|
-
return (a in e ||
|
|
1379
|
+
return (a in e || Rt(n = o) && n[R]().matcherType === "optional") && j(o, e[a], i);
|
|
1317
1380
|
var n;
|
|
1318
1381
|
});
|
|
1319
1382
|
}
|
|
1320
1383
|
return Object.is(e, t);
|
|
1321
|
-
},
|
|
1384
|
+
}, F = (t) => {
|
|
1322
1385
|
var e, i, a;
|
|
1323
|
-
return be(t) ?
|
|
1324
|
-
},
|
|
1325
|
-
function
|
|
1386
|
+
return be(t) ? Rt(t) ? (e = (i = (a = t[R]()).getSelectionKeys) == null ? void 0 : i.call(a)) != null ? e : [] : Array.isArray(t) ? jt(t, F) : jt(Object.values(t), F) : [];
|
|
1387
|
+
}, jt = (t, e) => t.reduce((i, a) => i.concat(e(a)), []);
|
|
1388
|
+
function Sa(...t) {
|
|
1326
1389
|
if (t.length === 1) {
|
|
1327
1390
|
const [e] = t;
|
|
1328
|
-
return (i) =>
|
|
1391
|
+
return (i) => j(e, i, () => {
|
|
1329
1392
|
});
|
|
1330
1393
|
}
|
|
1331
1394
|
if (t.length === 2) {
|
|
1332
1395
|
const [e, i] = t;
|
|
1333
|
-
return
|
|
1396
|
+
return j(e, i, () => {
|
|
1334
1397
|
});
|
|
1335
1398
|
}
|
|
1336
1399
|
throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`);
|
|
1337
1400
|
}
|
|
1338
1401
|
function A(t) {
|
|
1339
|
-
return Object.assign(t, { optional: () =>
|
|
1402
|
+
return Object.assign(t, { optional: () => qe(t), and: (e) => E(t, e), or: (e) => Ca(t, e), select: (e) => e === void 0 ? At(t) : At(e, t) });
|
|
1340
1403
|
}
|
|
1341
1404
|
function ve(t) {
|
|
1342
1405
|
return Object.assign(((e) => Object.assign(e, { [Symbol.iterator]() {
|
|
1343
1406
|
let i = 0;
|
|
1344
|
-
const a = [{ value: Object.assign(e, { [
|
|
1407
|
+
const a = [{ value: Object.assign(e, { [$a]: !0 }), done: !1 }, { done: !0, value: void 0 }];
|
|
1345
1408
|
return { next: () => {
|
|
1346
1409
|
var o;
|
|
1347
1410
|
return (o = a[i++]) != null ? o : a.at(-1);
|
|
1348
1411
|
} };
|
|
1349
|
-
} }))(t), { optional: () => ve(
|
|
1412
|
+
} }))(t), { optional: () => ve(qe(t)), select: (e) => ve(e === void 0 ? At(t) : At(e, t)) });
|
|
1350
1413
|
}
|
|
1351
|
-
function
|
|
1352
|
-
return A({ [
|
|
1414
|
+
function qe(t) {
|
|
1415
|
+
return A({ [R]: () => ({ match: (e) => {
|
|
1353
1416
|
let i = {};
|
|
1354
1417
|
const a = (o, n) => {
|
|
1355
1418
|
i[o] = n;
|
|
1356
1419
|
};
|
|
1357
|
-
return e === void 0 ? (
|
|
1358
|
-
}, getSelectionKeys: () =>
|
|
1420
|
+
return e === void 0 ? (F(t).forEach((o) => a(o, void 0)), { matched: !0, selections: i }) : { matched: j(t, e, a), selections: i };
|
|
1421
|
+
}, getSelectionKeys: () => F(t), matcherType: "optional" }) });
|
|
1359
1422
|
}
|
|
1360
|
-
const
|
|
1423
|
+
const Vo = (t, e) => {
|
|
1361
1424
|
for (const i of t)
|
|
1362
1425
|
if (!e(i))
|
|
1363
1426
|
return !1;
|
|
1364
1427
|
return !0;
|
|
1365
|
-
},
|
|
1428
|
+
}, Yo = (t, e) => {
|
|
1366
1429
|
for (const [i, a] of t.entries())
|
|
1367
1430
|
if (!e(a, i))
|
|
1368
1431
|
return !1;
|
|
1369
1432
|
return !0;
|
|
1370
|
-
},
|
|
1433
|
+
}, Ko = (t, e) => {
|
|
1371
1434
|
const i = Reflect.ownKeys(t);
|
|
1372
1435
|
for (const a of i)
|
|
1373
1436
|
if (!e(a, t[a]))
|
|
1374
1437
|
return !1;
|
|
1375
1438
|
return !0;
|
|
1376
1439
|
};
|
|
1377
|
-
function
|
|
1378
|
-
return A({ [
|
|
1440
|
+
function E(...t) {
|
|
1441
|
+
return A({ [R]: () => ({ match: (e) => {
|
|
1379
1442
|
let i = {};
|
|
1380
1443
|
const a = (o, n) => {
|
|
1381
1444
|
i[o] = n;
|
|
1382
1445
|
};
|
|
1383
|
-
return { matched: t.every((o) =>
|
|
1384
|
-
}, getSelectionKeys: () =>
|
|
1446
|
+
return { matched: t.every((o) => j(o, e, a)), selections: i };
|
|
1447
|
+
}, getSelectionKeys: () => jt(t, F), matcherType: "and" }) });
|
|
1385
1448
|
}
|
|
1386
|
-
function
|
|
1387
|
-
return A({ [
|
|
1449
|
+
function Ca(...t) {
|
|
1450
|
+
return A({ [R]: () => ({ match: (e) => {
|
|
1388
1451
|
let i = {};
|
|
1389
1452
|
const a = (o, n) => {
|
|
1390
1453
|
i[o] = n;
|
|
1391
1454
|
};
|
|
1392
|
-
return
|
|
1393
|
-
}, getSelectionKeys: () =>
|
|
1455
|
+
return jt(t, F).forEach((o) => a(o, void 0)), { matched: t.some((o) => j(o, e, a)), selections: i };
|
|
1456
|
+
}, getSelectionKeys: () => jt(t, F), matcherType: "or" }) });
|
|
1394
1457
|
}
|
|
1395
1458
|
function m(t) {
|
|
1396
|
-
return { [
|
|
1459
|
+
return { [R]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
|
|
1397
1460
|
}
|
|
1398
1461
|
function At(...t) {
|
|
1399
1462
|
const e = typeof t[0] == "string" ? t[0] : void 0, i = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
|
|
1400
|
-
return A({ [
|
|
1401
|
-
let o = { [e ??
|
|
1402
|
-
return { matched: i === void 0 ||
|
|
1463
|
+
return A({ [R]: () => ({ match: (a) => {
|
|
1464
|
+
let o = { [e ?? qt]: a };
|
|
1465
|
+
return { matched: i === void 0 || j(i, a, (n, r) => {
|
|
1403
1466
|
o[n] = r;
|
|
1404
1467
|
}), selections: o };
|
|
1405
|
-
}, getSelectionKeys: () => [e ??
|
|
1468
|
+
}, getSelectionKeys: () => [e ?? qt].concat(i === void 0 ? [] : F(i)) }) });
|
|
1406
1469
|
}
|
|
1407
|
-
function
|
|
1470
|
+
function Ea(t) {
|
|
1408
1471
|
return !0;
|
|
1409
1472
|
}
|
|
1410
1473
|
function G(t) {
|
|
1411
1474
|
return typeof t == "number";
|
|
1412
1475
|
}
|
|
1413
|
-
function
|
|
1476
|
+
function it(t) {
|
|
1414
1477
|
return typeof t == "string";
|
|
1415
1478
|
}
|
|
1416
|
-
function
|
|
1479
|
+
function at(t) {
|
|
1417
1480
|
return typeof t == "bigint";
|
|
1418
1481
|
}
|
|
1419
|
-
const
|
|
1420
|
-
return
|
|
1482
|
+
const Pa = A(m(Ea)), qo = A(m(Ea)), Zo = Pa, ot = (t) => Object.assign(A(t), { startsWith: (e) => {
|
|
1483
|
+
return ot(E(t, (i = e, m((a) => it(a) && a.startsWith(i)))));
|
|
1421
1484
|
var i;
|
|
1422
1485
|
}, endsWith: (e) => {
|
|
1423
|
-
return
|
|
1486
|
+
return ot(E(t, (i = e, m((a) => it(a) && a.endsWith(i)))));
|
|
1424
1487
|
var i;
|
|
1425
|
-
}, minLength: (e) =>
|
|
1426
|
-
return
|
|
1488
|
+
}, minLength: (e) => ot(E(t, ((i) => m((a) => it(a) && a.length >= i))(e))), length: (e) => ot(E(t, ((i) => m((a) => it(a) && a.length === i))(e))), maxLength: (e) => ot(E(t, ((i) => m((a) => it(a) && a.length <= i))(e))), includes: (e) => {
|
|
1489
|
+
return ot(E(t, (i = e, m((a) => it(a) && a.includes(i)))));
|
|
1427
1490
|
var i;
|
|
1428
1491
|
}, regex: (e) => {
|
|
1429
|
-
return
|
|
1492
|
+
return ot(E(t, (i = e, m((a) => it(a) && !!a.match(i)))));
|
|
1430
1493
|
var i;
|
|
1431
|
-
} }),
|
|
1494
|
+
} }), hi = ot(m(it)), X = (t) => Object.assign(A(t), { between: (e, i) => X(E(t, ((a, o) => m((n) => G(n) && a <= n && o >= n))(e, i))), lt: (e) => X(E(t, ((i) => m((a) => G(a) && a < i))(e))), gt: (e) => X(E(t, ((i) => m((a) => G(a) && a > i))(e))), lte: (e) => X(E(t, ((i) => m((a) => G(a) && a <= i))(e))), gte: (e) => X(E(t, ((i) => m((a) => G(a) && a >= i))(e))), int: () => X(E(t, m((e) => G(e) && Number.isInteger(e)))), finite: () => X(E(t, m((e) => G(e) && Number.isFinite(e)))), positive: () => X(E(t, m((e) => G(e) && e > 0))), negative: () => X(E(t, m((e) => G(e) && e < 0))) }), Go = X(m(G)), nt = (t) => Object.assign(A(t), { between: (e, i) => nt(E(t, ((a, o) => m((n) => at(n) && a <= n && o >= n))(e, i))), lt: (e) => nt(E(t, ((i) => m((a) => at(a) && a < i))(e))), gt: (e) => nt(E(t, ((i) => m((a) => at(a) && a > i))(e))), lte: (e) => nt(E(t, ((i) => m((a) => at(a) && a <= i))(e))), gte: (e) => nt(E(t, ((i) => m((a) => at(a) && a >= i))(e))), positive: () => nt(E(t, m((e) => at(e) && e > 0))), negative: () => nt(E(t, m((e) => at(e) && e < 0))) }), Xo = nt(m(at)), Jo = A(m(function(t) {
|
|
1432
1495
|
return typeof t == "boolean";
|
|
1433
|
-
})),
|
|
1496
|
+
})), Qo = A(m(function(t) {
|
|
1434
1497
|
return typeof t == "symbol";
|
|
1435
|
-
})),
|
|
1498
|
+
})), tn = A(m(function(t) {
|
|
1436
1499
|
return t == null;
|
|
1437
|
-
})),
|
|
1500
|
+
})), en = A(m(function(t) {
|
|
1438
1501
|
return t != null;
|
|
1439
1502
|
}));
|
|
1440
|
-
var
|
|
1441
|
-
return ve({ [
|
|
1503
|
+
var wt = { __proto__: null, matcher: R, optional: qe, array: function(...t) {
|
|
1504
|
+
return ve({ [R]: () => ({ match: (e) => {
|
|
1442
1505
|
if (!Array.isArray(e))
|
|
1443
1506
|
return { matched: !1 };
|
|
1444
1507
|
if (t.length === 0)
|
|
@@ -1446,16 +1509,16 @@ var ft = { __proto__: null, matcher: F, optional: Ye, array: function(...t) {
|
|
|
1446
1509
|
const i = t[0];
|
|
1447
1510
|
let a = {};
|
|
1448
1511
|
if (e.length === 0)
|
|
1449
|
-
return
|
|
1512
|
+
return F(i).forEach((n) => {
|
|
1450
1513
|
a[n] = [];
|
|
1451
1514
|
}), { matched: !0, selections: a };
|
|
1452
1515
|
const o = (n, r) => {
|
|
1453
1516
|
a[n] = (a[n] || []).concat([r]);
|
|
1454
1517
|
};
|
|
1455
|
-
return { matched: e.every((n) =>
|
|
1456
|
-
}, getSelectionKeys: () => t.length === 0 ? [] :
|
|
1518
|
+
return { matched: e.every((n) => j(i, n, o)), selections: a };
|
|
1519
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : F(t[0]) }) });
|
|
1457
1520
|
}, set: function(...t) {
|
|
1458
|
-
return A({ [
|
|
1521
|
+
return A({ [R]: () => ({ match: (e) => {
|
|
1459
1522
|
if (!(e instanceof Set))
|
|
1460
1523
|
return { matched: !1 };
|
|
1461
1524
|
let i = {};
|
|
@@ -1466,10 +1529,10 @@ var ft = { __proto__: null, matcher: F, optional: Ye, array: function(...t) {
|
|
|
1466
1529
|
const a = (n, r) => {
|
|
1467
1530
|
i[n] = (i[n] || []).concat([r]);
|
|
1468
1531
|
}, o = t[0];
|
|
1469
|
-
return { matched:
|
|
1470
|
-
}, getSelectionKeys: () => t.length === 0 ? [] :
|
|
1532
|
+
return { matched: Vo(e, (n) => j(o, n, a)), selections: i };
|
|
1533
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : F(t[0]) }) });
|
|
1471
1534
|
}, map: function(...t) {
|
|
1472
|
-
return A({ [
|
|
1535
|
+
return A({ [R]: () => ({ match: (e) => {
|
|
1473
1536
|
if (!(e instanceof Map))
|
|
1474
1537
|
return { matched: !1 };
|
|
1475
1538
|
let i = {};
|
|
@@ -1484,13 +1547,13 @@ var ft = { __proto__: null, matcher: F, optional: Ye, array: function(...t) {
|
|
|
1484
1547
|
if (t.length === 1)
|
|
1485
1548
|
throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(o = t[0]) == null ? void 0 : o.toString()}`);
|
|
1486
1549
|
const [n, r] = t;
|
|
1487
|
-
return { matched:
|
|
1488
|
-
const d =
|
|
1550
|
+
return { matched: Yo(e, (s, l) => {
|
|
1551
|
+
const d = j(n, l, a), u = j(r, s, a);
|
|
1489
1552
|
return d && u;
|
|
1490
1553
|
}), selections: i };
|
|
1491
|
-
}, getSelectionKeys: () => t.length === 0 ? [] : [...
|
|
1554
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : [...F(t[0]), ...F(t[1])] }) });
|
|
1492
1555
|
}, record: function(...t) {
|
|
1493
|
-
return A({ [
|
|
1556
|
+
return A({ [R]: () => ({ match: (e) => {
|
|
1494
1557
|
if (e === null || typeof e != "object" || Array.isArray(e))
|
|
1495
1558
|
return { matched: !1 };
|
|
1496
1559
|
var i;
|
|
@@ -1499,23 +1562,23 @@ var ft = { __proto__: null, matcher: F, optional: Ye, array: function(...t) {
|
|
|
1499
1562
|
let a = {};
|
|
1500
1563
|
const o = (s, l) => {
|
|
1501
1564
|
a[s] = (a[s] || []).concat([l]);
|
|
1502
|
-
}, [n, r] = t.length === 1 ? [
|
|
1503
|
-
return { matched:
|
|
1504
|
-
const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null &&
|
|
1565
|
+
}, [n, r] = t.length === 1 ? [hi, t[0]] : t;
|
|
1566
|
+
return { matched: Ko(e, (s, l) => {
|
|
1567
|
+
const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null && j(n, d, o), c = j(n, s, o), f = j(r, l, o);
|
|
1505
1568
|
return (c || u) && f;
|
|
1506
1569
|
}), selections: a };
|
|
1507
|
-
}, getSelectionKeys: () => t.length === 0 ? [] : [...
|
|
1508
|
-
}, intersection:
|
|
1509
|
-
return A({ [
|
|
1570
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : [...F(t[0]), ...F(t[1])] }) });
|
|
1571
|
+
}, intersection: E, union: Ca, not: function(t) {
|
|
1572
|
+
return A({ [R]: () => ({ match: (e) => ({ matched: !j(t, e, () => {
|
|
1510
1573
|
}) }), getSelectionKeys: () => [], matcherType: "not" }) });
|
|
1511
|
-
}, when: m, select: At, any:
|
|
1574
|
+
}, when: m, select: At, any: Pa, unknown: qo, _: Zo, string: hi, number: Go, bigint: Xo, boolean: Jo, symbol: Qo, nullish: tn, nonNullable: en, instanceOf: function(t) {
|
|
1512
1575
|
return A(m(function(e) {
|
|
1513
1576
|
return (i) => i instanceof e;
|
|
1514
1577
|
}(t)));
|
|
1515
1578
|
}, shape: function(t) {
|
|
1516
|
-
return A(m(
|
|
1579
|
+
return A(m(Sa(t)));
|
|
1517
1580
|
} };
|
|
1518
|
-
let
|
|
1581
|
+
let an = class extends Error {
|
|
1519
1582
|
constructor(e) {
|
|
1520
1583
|
let i;
|
|
1521
1584
|
try {
|
|
@@ -1527,10 +1590,10 @@ let Qo = class extends Error {
|
|
|
1527
1590
|
}
|
|
1528
1591
|
};
|
|
1529
1592
|
const _e = { matched: !1, value: void 0 };
|
|
1530
|
-
function
|
|
1531
|
-
return new
|
|
1593
|
+
function Ze(t) {
|
|
1594
|
+
return new on(t, _e);
|
|
1532
1595
|
}
|
|
1533
|
-
let
|
|
1596
|
+
let on = class me {
|
|
1534
1597
|
constructor(e, i) {
|
|
1535
1598
|
this.input = void 0, this.state = void 0, this.input = e, this.state = i;
|
|
1536
1599
|
}
|
|
@@ -1543,7 +1606,7 @@ let tn = class me {
|
|
|
1543
1606
|
let n = !1, r = {};
|
|
1544
1607
|
const s = (d, u) => {
|
|
1545
1608
|
n = !0, r[d] = u;
|
|
1546
|
-
}, l = !a.some((d) =>
|
|
1609
|
+
}, l = !a.some((d) => j(d, this.input, s)) || o && !o(this.input) ? _e : { matched: !0, value: i(n ? qt in r ? r[qt] : r : this.input, this.input) };
|
|
1547
1610
|
return new me(this.input, l);
|
|
1548
1611
|
}
|
|
1549
1612
|
when(e, i) {
|
|
@@ -1555,7 +1618,7 @@ let tn = class me {
|
|
|
1555
1618
|
otherwise(e) {
|
|
1556
1619
|
return this.state.matched ? this.state.value : e(this.input);
|
|
1557
1620
|
}
|
|
1558
|
-
exhaustive(e =
|
|
1621
|
+
exhaustive(e = nn) {
|
|
1559
1622
|
return this.state.matched ? this.state.value : e(this.input);
|
|
1560
1623
|
}
|
|
1561
1624
|
run() {
|
|
@@ -1568,10 +1631,10 @@ let tn = class me {
|
|
|
1568
1631
|
return this;
|
|
1569
1632
|
}
|
|
1570
1633
|
};
|
|
1571
|
-
function
|
|
1572
|
-
throw new
|
|
1634
|
+
function nn(t) {
|
|
1635
|
+
throw new an(t);
|
|
1573
1636
|
}
|
|
1574
|
-
function
|
|
1637
|
+
function Ta(t) {
|
|
1575
1638
|
var e, i, a = "";
|
|
1576
1639
|
if (typeof t == "string" || typeof t == "number")
|
|
1577
1640
|
a += t;
|
|
@@ -1579,50 +1642,50 @@ function Ca(t) {
|
|
|
1579
1642
|
if (Array.isArray(t)) {
|
|
1580
1643
|
var o = t.length;
|
|
1581
1644
|
for (e = 0; e < o; e++)
|
|
1582
|
-
t[e] && (i =
|
|
1645
|
+
t[e] && (i = Ta(t[e])) && (a && (a += " "), a += i);
|
|
1583
1646
|
} else
|
|
1584
1647
|
for (i in t)
|
|
1585
1648
|
t[i] && (a && (a += " "), a += i);
|
|
1586
1649
|
return a;
|
|
1587
1650
|
}
|
|
1588
|
-
function
|
|
1651
|
+
function Ge() {
|
|
1589
1652
|
for (var t, e, i = 0, a = "", o = arguments.length; i < o; i++)
|
|
1590
|
-
(t = arguments[i]) && (e =
|
|
1653
|
+
(t = arguments[i]) && (e = Ta(t)) && (a && (a += " "), a += e);
|
|
1591
1654
|
return a;
|
|
1592
1655
|
}
|
|
1593
|
-
const
|
|
1656
|
+
const fi = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, wi = Ge, Xe = (t, e) => (i) => {
|
|
1594
1657
|
var a;
|
|
1595
1658
|
if ((e == null ? void 0 : e.variants) == null)
|
|
1596
|
-
return
|
|
1659
|
+
return wi(t, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
1597
1660
|
const { variants: o, defaultVariants: n } = e, r = Object.keys(o).map((d) => {
|
|
1598
1661
|
const u = i == null ? void 0 : i[d], c = n == null ? void 0 : n[d];
|
|
1599
1662
|
if (u === null)
|
|
1600
1663
|
return null;
|
|
1601
|
-
const f =
|
|
1664
|
+
const f = fi(u) || fi(c);
|
|
1602
1665
|
return o[d][f];
|
|
1603
1666
|
}), s = i && Object.entries(i).reduce((d, u) => {
|
|
1604
1667
|
let [c, f] = u;
|
|
1605
1668
|
return f === void 0 || (d[c] = f), d;
|
|
1606
1669
|
}, {}), l = e == null || (a = e.compoundVariants) === null || a === void 0 ? void 0 : a.reduce((d, u) => {
|
|
1607
1670
|
let { class: c, className: f, ...g } = u;
|
|
1608
|
-
return Object.entries(g).every((
|
|
1609
|
-
let [b,
|
|
1610
|
-
return Array.isArray(
|
|
1671
|
+
return Object.entries(g).every((p) => {
|
|
1672
|
+
let [b, k] = p;
|
|
1673
|
+
return Array.isArray(k) ? k.includes({
|
|
1611
1674
|
...n,
|
|
1612
1675
|
...s
|
|
1613
1676
|
}[b]) : {
|
|
1614
1677
|
...n,
|
|
1615
1678
|
...s
|
|
1616
|
-
}[b] ===
|
|
1679
|
+
}[b] === k;
|
|
1617
1680
|
}) ? [
|
|
1618
1681
|
...d,
|
|
1619
1682
|
c,
|
|
1620
1683
|
f
|
|
1621
1684
|
] : d;
|
|
1622
1685
|
}, []);
|
|
1623
|
-
return
|
|
1686
|
+
return wi(t, r, l, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
1624
1687
|
};
|
|
1625
|
-
function
|
|
1688
|
+
function Ia(t, e) {
|
|
1626
1689
|
for (var i in e)
|
|
1627
1690
|
t[i] = e[i];
|
|
1628
1691
|
return t;
|
|
@@ -1642,70 +1705,70 @@ function oe(t, e) {
|
|
|
1642
1705
|
function xe(t) {
|
|
1643
1706
|
this.props = t;
|
|
1644
1707
|
}
|
|
1645
|
-
function
|
|
1708
|
+
function rn(t, e) {
|
|
1646
1709
|
function i(o) {
|
|
1647
1710
|
var n = this.props.ref, r = n == o.ref;
|
|
1648
1711
|
return !r && n && (n.call ? n(null) : n.current = null), e ? !e(this.props, o) || !r : ye(this.props, o);
|
|
1649
1712
|
}
|
|
1650
1713
|
function a(o) {
|
|
1651
|
-
return this.shouldComponentUpdate = i,
|
|
1714
|
+
return this.shouldComponentUpdate = i, U(t, o);
|
|
1652
1715
|
}
|
|
1653
1716
|
return a.displayName = "Memo(" + (t.displayName || t.name) + ")", a.prototype.isReactComponent = !0, a.__f = !0, a;
|
|
1654
1717
|
}
|
|
1655
|
-
(xe.prototype = new
|
|
1718
|
+
(xe.prototype = new K()).isPureReactComponent = !0, xe.prototype.shouldComponentUpdate = function(t, e) {
|
|
1656
1719
|
return ye(this.props, t) || ye(this.state, e);
|
|
1657
1720
|
};
|
|
1658
|
-
var
|
|
1721
|
+
var gi = w.__b;
|
|
1659
1722
|
w.__b = function(t) {
|
|
1660
|
-
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null),
|
|
1723
|
+
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), gi && gi(t);
|
|
1661
1724
|
};
|
|
1662
|
-
var
|
|
1663
|
-
function
|
|
1725
|
+
var sn = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
1726
|
+
function ln(t) {
|
|
1664
1727
|
function e(i) {
|
|
1665
|
-
var a =
|
|
1728
|
+
var a = Ia({}, i);
|
|
1666
1729
|
return delete a.ref, t(a, i.ref || null);
|
|
1667
1730
|
}
|
|
1668
|
-
return e.$$typeof =
|
|
1731
|
+
return e.$$typeof = sn, e.render = e, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
|
|
1669
1732
|
}
|
|
1670
|
-
var
|
|
1671
|
-
return t == null ? null :
|
|
1672
|
-
},
|
|
1673
|
-
return t ?
|
|
1733
|
+
var bi = function(t, e) {
|
|
1734
|
+
return t == null ? null : et(et(t).map(e));
|
|
1735
|
+
}, cn = { map: bi, forEach: bi, count: function(t) {
|
|
1736
|
+
return t ? et(t).length : 0;
|
|
1674
1737
|
}, only: function(t) {
|
|
1675
|
-
var e =
|
|
1738
|
+
var e = et(t);
|
|
1676
1739
|
if (e.length !== 1)
|
|
1677
1740
|
throw "Children.only";
|
|
1678
1741
|
return e[0];
|
|
1679
|
-
}, toArray:
|
|
1742
|
+
}, toArray: et }, dn = w.__e;
|
|
1680
1743
|
w.__e = function(t, e, i, a) {
|
|
1681
1744
|
if (t.then) {
|
|
1682
1745
|
for (var o, n = e; n = n.__; )
|
|
1683
1746
|
if ((o = n.__c) && o.__c)
|
|
1684
1747
|
return e.__e == null && (e.__e = i.__e, e.__k = i.__k), o.__c(t, e);
|
|
1685
1748
|
}
|
|
1686
|
-
|
|
1749
|
+
dn(t, e, i, a);
|
|
1687
1750
|
};
|
|
1688
|
-
var
|
|
1689
|
-
function
|
|
1751
|
+
var vi = w.unmount;
|
|
1752
|
+
function ja(t, e, i) {
|
|
1690
1753
|
return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(a) {
|
|
1691
1754
|
typeof a.__c == "function" && a.__c();
|
|
1692
|
-
}), t.__c.__H = null), (t =
|
|
1693
|
-
return
|
|
1755
|
+
}), t.__c.__H = null), (t = Ia({}, t)).__c != null && (t.__c.__P === i && (t.__c.__P = e), t.__c = null), t.__k = t.__k && t.__k.map(function(a) {
|
|
1756
|
+
return ja(a, e, i);
|
|
1694
1757
|
})), t;
|
|
1695
1758
|
}
|
|
1696
|
-
function
|
|
1759
|
+
function Aa(t, e, i) {
|
|
1697
1760
|
return t && (t.__v = null, t.__k = t.__k && t.__k.map(function(a) {
|
|
1698
|
-
return
|
|
1761
|
+
return Aa(a, e, i);
|
|
1699
1762
|
}), t.__c && t.__c.__P === e && (t.__e && i.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = i)), t;
|
|
1700
1763
|
}
|
|
1701
|
-
function
|
|
1764
|
+
function Tt() {
|
|
1702
1765
|
this.__u = 0, this.t = null, this.__b = null;
|
|
1703
1766
|
}
|
|
1704
|
-
function
|
|
1767
|
+
function Oa(t) {
|
|
1705
1768
|
var e = t.__.__c;
|
|
1706
1769
|
return e && e.__a && e.__a(t);
|
|
1707
1770
|
}
|
|
1708
|
-
function
|
|
1771
|
+
function za(t) {
|
|
1709
1772
|
var e, i, a;
|
|
1710
1773
|
function o(n) {
|
|
1711
1774
|
if (e || (e = t()).then(function(r) {
|
|
@@ -1716,20 +1779,20 @@ function Aa(t) {
|
|
|
1716
1779
|
throw a;
|
|
1717
1780
|
if (!i)
|
|
1718
1781
|
throw e;
|
|
1719
|
-
return
|
|
1782
|
+
return U(i, n);
|
|
1720
1783
|
}
|
|
1721
1784
|
return o.displayName = "Lazy", o.__f = !0, o;
|
|
1722
1785
|
}
|
|
1723
|
-
function
|
|
1786
|
+
function Ct() {
|
|
1724
1787
|
this.u = null, this.o = null;
|
|
1725
1788
|
}
|
|
1726
1789
|
w.unmount = function(t) {
|
|
1727
1790
|
var e = t.__c;
|
|
1728
|
-
e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null),
|
|
1729
|
-
}, (
|
|
1791
|
+
e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), vi && vi(t);
|
|
1792
|
+
}, (Tt.prototype = new K()).__c = function(t, e) {
|
|
1730
1793
|
var i = e.__c, a = this;
|
|
1731
1794
|
a.t == null && (a.t = []), a.t.push(i);
|
|
1732
|
-
var o =
|
|
1795
|
+
var o = Oa(a.__v), n = !1, r = function() {
|
|
1733
1796
|
n || (n = !0, i.__R = null, o ? o(s) : s());
|
|
1734
1797
|
};
|
|
1735
1798
|
i.__R = r;
|
|
@@ -1737,7 +1800,7 @@ w.unmount = function(t) {
|
|
|
1737
1800
|
if (!--a.__u) {
|
|
1738
1801
|
if (a.state.__a) {
|
|
1739
1802
|
var d = a.state.__a;
|
|
1740
|
-
a.__v.__k[0] =
|
|
1803
|
+
a.__v.__k[0] = Aa(d, d.__c.__P, d.__c.__O);
|
|
1741
1804
|
}
|
|
1742
1805
|
var u;
|
|
1743
1806
|
for (a.setState({ __a: a.__b = null }); u = a.t.pop(); )
|
|
@@ -1745,20 +1808,20 @@ w.unmount = function(t) {
|
|
|
1745
1808
|
}
|
|
1746
1809
|
}, l = e.__h === !0;
|
|
1747
1810
|
a.__u++ || l || a.setState({ __a: a.__b = a.__v.__k[0] }), t.then(r, r);
|
|
1748
|
-
},
|
|
1811
|
+
}, Tt.prototype.componentWillUnmount = function() {
|
|
1749
1812
|
this.t = [];
|
|
1750
|
-
},
|
|
1813
|
+
}, Tt.prototype.render = function(t, e) {
|
|
1751
1814
|
if (this.__b) {
|
|
1752
1815
|
if (this.__v.__k) {
|
|
1753
1816
|
var i = document.createElement("div"), a = this.__v.__k[0].__c;
|
|
1754
|
-
this.__v.__k[0] =
|
|
1817
|
+
this.__v.__k[0] = ja(this.__b, i, a.__O = a.__P);
|
|
1755
1818
|
}
|
|
1756
1819
|
this.__b = null;
|
|
1757
1820
|
}
|
|
1758
|
-
var o = e.__a &&
|
|
1759
|
-
return o && (o.__h = null), [
|
|
1821
|
+
var o = e.__a && U(q, null, t.fallback);
|
|
1822
|
+
return o && (o.__h = null), [U(q, null, e.__a ? null : t.children), o];
|
|
1760
1823
|
};
|
|
1761
|
-
var
|
|
1824
|
+
var _i = function(t, e, i) {
|
|
1762
1825
|
if (++i[1] === i[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size))
|
|
1763
1826
|
for (i = t.u; i; ) {
|
|
1764
1827
|
for (; i.length > 3; )
|
|
@@ -1768,150 +1831,150 @@ var bi = function(t, e, i) {
|
|
|
1768
1831
|
t.u = i = i[2];
|
|
1769
1832
|
}
|
|
1770
1833
|
};
|
|
1771
|
-
function
|
|
1834
|
+
function un(t) {
|
|
1772
1835
|
return this.getChildContext = function() {
|
|
1773
1836
|
return t.context;
|
|
1774
1837
|
}, t.children;
|
|
1775
1838
|
}
|
|
1776
|
-
function
|
|
1839
|
+
function pn(t) {
|
|
1777
1840
|
var e = this, i = t.i;
|
|
1778
1841
|
e.componentWillUnmount = function() {
|
|
1779
|
-
|
|
1842
|
+
pt(null, e.l), e.l = null, e.i = null;
|
|
1780
1843
|
}, e.i && e.i !== i && e.componentWillUnmount(), t.__v ? (e.l || (e.i = i, e.l = { nodeType: 1, parentNode: i, childNodes: [], appendChild: function(a) {
|
|
1781
1844
|
this.childNodes.push(a), e.i.appendChild(a);
|
|
1782
1845
|
}, insertBefore: function(a, o) {
|
|
1783
1846
|
this.childNodes.push(a), e.i.appendChild(a);
|
|
1784
1847
|
}, removeChild: function(a) {
|
|
1785
1848
|
this.childNodes.splice(this.childNodes.indexOf(a) >>> 1, 1), e.i.removeChild(a);
|
|
1786
|
-
} }),
|
|
1849
|
+
} }), pt(U(un, { context: e.context }, t.__v), e.l)) : e.l && e.componentWillUnmount();
|
|
1787
1850
|
}
|
|
1788
|
-
function
|
|
1789
|
-
var i =
|
|
1851
|
+
function hn(t, e) {
|
|
1852
|
+
var i = U(pn, { __v: t, i: e });
|
|
1790
1853
|
return i.containerInfo = e, i;
|
|
1791
1854
|
}
|
|
1792
|
-
(
|
|
1793
|
-
var e = this, i =
|
|
1855
|
+
(Ct.prototype = new K()).__a = function(t) {
|
|
1856
|
+
var e = this, i = Oa(e.__v), a = e.o.get(t);
|
|
1794
1857
|
return a[0]++, function(o) {
|
|
1795
1858
|
var n = function() {
|
|
1796
|
-
e.props.revealOrder ? (a.push(o),
|
|
1859
|
+
e.props.revealOrder ? (a.push(o), _i(e, t, a)) : o();
|
|
1797
1860
|
};
|
|
1798
1861
|
i ? i(n) : n();
|
|
1799
1862
|
};
|
|
1800
|
-
},
|
|
1863
|
+
}, Ct.prototype.render = function(t) {
|
|
1801
1864
|
this.u = null, this.o = /* @__PURE__ */ new Map();
|
|
1802
|
-
var e =
|
|
1865
|
+
var e = et(t.children);
|
|
1803
1866
|
t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
|
|
1804
1867
|
for (var i = e.length; i--; )
|
|
1805
1868
|
this.o.set(e[i], this.u = [1, 0, this.u]);
|
|
1806
1869
|
return t.children;
|
|
1807
|
-
},
|
|
1870
|
+
}, Ct.prototype.componentDidUpdate = Ct.prototype.componentDidMount = function() {
|
|
1808
1871
|
var t = this;
|
|
1809
1872
|
this.o.forEach(function(e, i) {
|
|
1810
|
-
|
|
1873
|
+
_i(t, i, e);
|
|
1811
1874
|
});
|
|
1812
1875
|
};
|
|
1813
|
-
var
|
|
1876
|
+
var Da = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, fn = /^(?: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]/, wn = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, gn = /[A-Z0-9]/g, bn = typeof document < "u", vn = function(t) {
|
|
1814
1877
|
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
|
|
1815
1878
|
};
|
|
1816
|
-
function
|
|
1817
|
-
return e.__k == null && (e.textContent = ""),
|
|
1879
|
+
function _n(t, e, i) {
|
|
1880
|
+
return e.__k == null && (e.textContent = ""), pt(t, e), typeof i == "function" && i(), t ? t.__c : null;
|
|
1818
1881
|
}
|
|
1819
|
-
function
|
|
1820
|
-
return
|
|
1882
|
+
function mn(t, e, i) {
|
|
1883
|
+
return ua(t, e), typeof i == "function" && i(), t ? t.__c : null;
|
|
1821
1884
|
}
|
|
1822
|
-
|
|
1823
|
-
Object.defineProperty(
|
|
1885
|
+
K.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
|
|
1886
|
+
Object.defineProperty(K.prototype, t, { configurable: !0, get: function() {
|
|
1824
1887
|
return this["UNSAFE_" + t];
|
|
1825
1888
|
}, set: function(e) {
|
|
1826
1889
|
Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
|
|
1827
1890
|
} });
|
|
1828
1891
|
});
|
|
1829
|
-
var
|
|
1830
|
-
function
|
|
1892
|
+
var mi = w.event;
|
|
1893
|
+
function yn() {
|
|
1831
1894
|
}
|
|
1832
|
-
function
|
|
1895
|
+
function xn() {
|
|
1833
1896
|
return this.cancelBubble;
|
|
1834
1897
|
}
|
|
1835
|
-
function
|
|
1898
|
+
function kn() {
|
|
1836
1899
|
return this.defaultPrevented;
|
|
1837
1900
|
}
|
|
1838
1901
|
w.event = function(t) {
|
|
1839
|
-
return
|
|
1902
|
+
return mi && (t = mi(t)), t.persist = yn, t.isPropagationStopped = xn, t.isDefaultPrevented = kn, t.nativeEvent = t;
|
|
1840
1903
|
};
|
|
1841
|
-
var
|
|
1904
|
+
var Je, $n = { enumerable: !1, configurable: !0, get: function() {
|
|
1842
1905
|
return this.class;
|
|
1843
|
-
} },
|
|
1906
|
+
} }, yi = w.vnode;
|
|
1844
1907
|
w.vnode = function(t) {
|
|
1845
1908
|
typeof t.type == "string" && function(e) {
|
|
1846
1909
|
var i = e.props, a = e.type, o = {};
|
|
1847
1910
|
for (var n in i) {
|
|
1848
1911
|
var r = i[n];
|
|
1849
|
-
if (!(n === "value" && "defaultValue" in i && r == null ||
|
|
1912
|
+
if (!(n === "value" && "defaultValue" in i && r == null || bn && n === "children" && a === "noscript" || n === "class" || n === "className")) {
|
|
1850
1913
|
var s = n.toLowerCase();
|
|
1851
|
-
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" ||
|
|
1914
|
+
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" || vn(i.type) ? s === "onfocus" ? n = "onfocusin" : s === "onblur" ? n = "onfocusout" : wn.test(n) ? n = s : a.indexOf("-") === -1 && fn.test(n) ? n = n.replace(gn, "-$&").toLowerCase() : r === null && (r = void 0) : s = n = "oninput", s === "oninput" && o[n = s] && (n = "oninputCapture"), o[n] = r;
|
|
1852
1915
|
}
|
|
1853
1916
|
}
|
|
1854
|
-
a == "select" && o.multiple && Array.isArray(o.value) && (o.value =
|
|
1917
|
+
a == "select" && o.multiple && Array.isArray(o.value) && (o.value = et(i.children).forEach(function(l) {
|
|
1855
1918
|
l.props.selected = o.value.indexOf(l.props.value) != -1;
|
|
1856
|
-
})), a == "select" && o.defaultValue != null && (o.value =
|
|
1919
|
+
})), a == "select" && o.defaultValue != null && (o.value = et(i.children).forEach(function(l) {
|
|
1857
1920
|
l.props.selected = o.multiple ? o.defaultValue.indexOf(l.props.value) != -1 : o.defaultValue == l.props.value;
|
|
1858
|
-
})), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className",
|
|
1859
|
-
}(t), t.$$typeof =
|
|
1921
|
+
})), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className", $n)) : (i.className && !i.class || i.class && i.className) && (o.class = o.className = i.className), e.props = o;
|
|
1922
|
+
}(t), t.$$typeof = Da, yi && yi(t);
|
|
1860
1923
|
};
|
|
1861
|
-
var
|
|
1924
|
+
var xi = w.__r;
|
|
1862
1925
|
w.__r = function(t) {
|
|
1863
|
-
|
|
1926
|
+
xi && xi(t), Je = t.__c;
|
|
1864
1927
|
};
|
|
1865
|
-
var
|
|
1928
|
+
var ki = w.diffed;
|
|
1866
1929
|
w.diffed = function(t) {
|
|
1867
|
-
|
|
1930
|
+
ki && ki(t);
|
|
1868
1931
|
var e = t.props, i = t.__e;
|
|
1869
|
-
i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value),
|
|
1932
|
+
i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value), Je = null;
|
|
1870
1933
|
};
|
|
1871
|
-
var
|
|
1872
|
-
return
|
|
1934
|
+
var Sn = { ReactCurrentDispatcher: { current: { readContext: function(t) {
|
|
1935
|
+
return Je.__n[t.__c].props.value;
|
|
1873
1936
|
} } } };
|
|
1874
|
-
function
|
|
1875
|
-
return
|
|
1937
|
+
function Cn(t) {
|
|
1938
|
+
return U.bind(null, t);
|
|
1876
1939
|
}
|
|
1877
|
-
function
|
|
1878
|
-
return !!t && t.$$typeof ===
|
|
1940
|
+
function Na(t) {
|
|
1941
|
+
return !!t && t.$$typeof === Da;
|
|
1879
1942
|
}
|
|
1880
|
-
function
|
|
1881
|
-
return
|
|
1943
|
+
function En(t) {
|
|
1944
|
+
return Na(t) ? Oo.apply(null, arguments) : t;
|
|
1882
1945
|
}
|
|
1883
|
-
function
|
|
1884
|
-
return !!t.__k && (
|
|
1946
|
+
function Pn(t) {
|
|
1947
|
+
return !!t.__k && (pt(null, t), !0);
|
|
1885
1948
|
}
|
|
1886
|
-
function
|
|
1949
|
+
function Tn(t) {
|
|
1887
1950
|
return t && (t.base || t.nodeType === 1 && t) || null;
|
|
1888
1951
|
}
|
|
1889
|
-
var
|
|
1952
|
+
var In = function(t, e) {
|
|
1890
1953
|
return t(e);
|
|
1891
|
-
},
|
|
1954
|
+
}, jn = function(t, e) {
|
|
1892
1955
|
return t(e);
|
|
1893
|
-
},
|
|
1894
|
-
function
|
|
1956
|
+
}, An = q;
|
|
1957
|
+
function Fa(t) {
|
|
1895
1958
|
t();
|
|
1896
1959
|
}
|
|
1897
|
-
function
|
|
1960
|
+
function On(t) {
|
|
1898
1961
|
return t;
|
|
1899
1962
|
}
|
|
1900
|
-
function
|
|
1901
|
-
return [!1,
|
|
1963
|
+
function zn() {
|
|
1964
|
+
return [!1, Fa];
|
|
1902
1965
|
}
|
|
1903
|
-
var
|
|
1904
|
-
function
|
|
1905
|
-
var i = e(), a =
|
|
1906
|
-
return
|
|
1966
|
+
var Dn = xt;
|
|
1967
|
+
function Nn(t, e) {
|
|
1968
|
+
var i = e(), a = fa({ h: { __: i, v: e } }), o = a[0].h, n = a[1];
|
|
1969
|
+
return xt(function() {
|
|
1907
1970
|
o.__ = i, o.v = e, oe(o.__, e()) || n({ h: o });
|
|
1908
|
-
}, [t, i, e]),
|
|
1971
|
+
}, [t, i, e]), Ue(function() {
|
|
1909
1972
|
return oe(o.__, o.v()) || n({ h: o }), t(function() {
|
|
1910
1973
|
oe(o.__, o.v()) || n({ h: o });
|
|
1911
1974
|
});
|
|
1912
1975
|
}, [t]), i;
|
|
1913
1976
|
}
|
|
1914
|
-
var
|
|
1977
|
+
var as = { useState: fa, useId: Fo, useReducer: wa, useEffect: Ue, useLayoutEffect: xt, useInsertionEffect: Dn, useTransition: zn, useDeferredValue: On, useSyncExternalStore: Nn, startTransition: Fa, useRef: mt, useImperativeHandle: zo, useMemo: ht, useCallback: Do, useContext: ga, useDebugValue: No, version: "17.0.2", Children: cn, render: _n, hydrate: mn, unmountComponentAtNode: Pn, createPortal: hn, createElement: U, createContext: pa, createFactory: Cn, cloneElement: En, createRef: Po, Fragment: q, isValidElement: Na, findDOMNode: Tn, Component: K, PureComponent: xe, memo: rn, forwardRef: ln, flushSync: jn, unstable_batchedUpdates: In, StrictMode: An, Suspense: Tt, SuspenseList: Ct, lazy: za, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Sn }, Fn = ["other", "few", "many", "two", "one", "zero"], $i = ({
|
|
1915
1978
|
terms: t,
|
|
1916
1979
|
overrides: e,
|
|
1917
1980
|
locale: i
|
|
@@ -1930,7 +1993,7 @@ var Qr = { useState: ua, useId: zo, useReducer: pa, useEffect: Be, useLayoutEffe
|
|
|
1930
1993
|
throw new Error(`Missing count for translation key “${n.toString()}”`);
|
|
1931
1994
|
let l = a.select(r.count);
|
|
1932
1995
|
if (!(l in s)) {
|
|
1933
|
-
const d =
|
|
1996
|
+
const d = Fn.find((u) => u in s);
|
|
1934
1997
|
if (!d)
|
|
1935
1998
|
throw new Error(`Missing plural rule for translation key “${n.toString()}”`);
|
|
1936
1999
|
l = d;
|
|
@@ -1945,25 +2008,25 @@ var Qr = { useState: ua, useId: zo, useReducer: pa, useEffect: Be, useLayoutEffe
|
|
|
1945
2008
|
}
|
|
1946
2009
|
}
|
|
1947
2010
|
return o;
|
|
1948
|
-
},
|
|
1949
|
-
function
|
|
2011
|
+
}, Mn = 0;
|
|
2012
|
+
function h(t, e, i, a, o, n) {
|
|
1950
2013
|
var r, s, l = {};
|
|
1951
2014
|
for (s in e)
|
|
1952
2015
|
s == "ref" ? r = e[s] : l[s] = e[s];
|
|
1953
|
-
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: --
|
|
2016
|
+
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: --Mn, __source: o, __self: n };
|
|
1954
2017
|
if (typeof t == "function" && (r = t.defaultProps))
|
|
1955
2018
|
for (s in r)
|
|
1956
2019
|
l[s] === void 0 && (l[s] = r[s]);
|
|
1957
2020
|
return w.vnode && w.vnode(d), d;
|
|
1958
2021
|
}
|
|
1959
|
-
var
|
|
2022
|
+
var Si = pa(null), Ma = (t) => ({
|
|
1960
2023
|
defaultTerms: t,
|
|
1961
2024
|
TranslationProvider: ({ terms: e, children: i, locale: a }) => {
|
|
1962
|
-
const o =
|
|
1963
|
-
return /* @__PURE__ */
|
|
2025
|
+
const o = ht(() => $i({ locale: a, terms: t, overrides: e }), [e, a]);
|
|
2026
|
+
return /* @__PURE__ */ h(Si.Provider, { value: { t: o, locale: a }, children: i });
|
|
1964
2027
|
},
|
|
1965
2028
|
useTranslation: () => {
|
|
1966
|
-
const e =
|
|
2029
|
+
const e = ga(Si);
|
|
1967
2030
|
if (e === null)
|
|
1968
2031
|
throw new Error("Please wrap useTranslation in a TranslationProvider");
|
|
1969
2032
|
return { t: e.t, locale: e.locale };
|
|
@@ -1971,15 +2034,15 @@ var ki = ca(null), Da = (t) => ({
|
|
|
1971
2034
|
createTFunction: ({
|
|
1972
2035
|
overrides: e,
|
|
1973
2036
|
locale: i
|
|
1974
|
-
}) =>
|
|
1975
|
-
}),
|
|
2037
|
+
}) => $i({ terms: t, overrides: e, locale: i })
|
|
2038
|
+
}), Rn = { 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: os, useTranslation: ns, createTFunction: rs, defaultTerms: Bn } = Ma({ 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" });
|
|
1976
2039
|
const {
|
|
1977
|
-
TranslationProvider:
|
|
2040
|
+
TranslationProvider: Ln,
|
|
1978
2041
|
useTranslation: Xt,
|
|
1979
|
-
createTFunction:
|
|
1980
|
-
} =
|
|
1981
|
-
...
|
|
1982
|
-
...
|
|
2042
|
+
createTFunction: ss
|
|
2043
|
+
} = Ma({
|
|
2044
|
+
...Bn,
|
|
2045
|
+
...Rn,
|
|
1983
2046
|
error_heading: "Something unexpected happened",
|
|
1984
2047
|
flow_closed: "This role is no longer accepting applications.",
|
|
1985
2048
|
undo: "Change answer",
|
|
@@ -1987,6 +2050,7 @@ const {
|
|
|
1987
2050
|
job_alerts_accept: "Get job alerts",
|
|
1988
2051
|
job_alerts_decline: "No thanks",
|
|
1989
2052
|
job_alerts_privacy: "We'll use your email only for these alerts. You can unsubscribe at any time.",
|
|
2053
|
+
job_alerts_privacy_sender: "{{employer}} will email you new jobs like this one. Every email has an unsubscribe link.",
|
|
1990
2054
|
job_alerts_success: "Done. We'll email you about similar roles.",
|
|
1991
2055
|
job_alerts_error: "Sorry, we couldn't set that up. Please try again later.",
|
|
1992
2056
|
submission_duplicate: "You've already applied for this role, so we haven't submitted a second application. If that doesn't sound right, check your email for a confirmation or try again in a few minutes.",
|
|
@@ -1999,20 +2063,20 @@ const {
|
|
|
1999
2063
|
other: "+{{count}} files"
|
|
2000
2064
|
}
|
|
2001
2065
|
});
|
|
2002
|
-
function
|
|
2066
|
+
function Ra(t, e) {
|
|
2003
2067
|
if (!t)
|
|
2004
2068
|
throw new Error(e);
|
|
2005
2069
|
}
|
|
2006
|
-
var ke = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(ke) : Object.keys(t).sort().reduce((e, i) => (e[i] = ke(t[i]), e), {}),
|
|
2070
|
+
var ke = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(ke) : Object.keys(t).sort().reduce((e, i) => (e[i] = ke(t[i]), e), {}), Hn = (t) => {
|
|
2007
2071
|
let e = JSON.stringify(ke(t)), i = 5381;
|
|
2008
2072
|
for (let a = 0; a < e.length; a++)
|
|
2009
2073
|
i = i * 33 ^ e.charCodeAt(a);
|
|
2010
2074
|
return (i >>> 0).toString(36);
|
|
2011
2075
|
};
|
|
2012
2076
|
const $e = (t, e) => e.some((i) => t instanceof i);
|
|
2013
|
-
let
|
|
2014
|
-
function
|
|
2015
|
-
return
|
|
2077
|
+
let Ci, Ei;
|
|
2078
|
+
function Un() {
|
|
2079
|
+
return Ci || (Ci = [
|
|
2016
2080
|
IDBDatabase,
|
|
2017
2081
|
IDBObjectStore,
|
|
2018
2082
|
IDBIndex,
|
|
@@ -2020,20 +2084,20 @@ function Ln() {
|
|
|
2020
2084
|
IDBTransaction
|
|
2021
2085
|
]);
|
|
2022
2086
|
}
|
|
2023
|
-
function
|
|
2024
|
-
return
|
|
2087
|
+
function Wn() {
|
|
2088
|
+
return Ei || (Ei = [
|
|
2025
2089
|
IDBCursor.prototype.advance,
|
|
2026
2090
|
IDBCursor.prototype.continue,
|
|
2027
2091
|
IDBCursor.prototype.continuePrimaryKey
|
|
2028
2092
|
]);
|
|
2029
2093
|
}
|
|
2030
2094
|
const Se = /* @__PURE__ */ new WeakMap(), ne = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap();
|
|
2031
|
-
function
|
|
2095
|
+
function Vn(t) {
|
|
2032
2096
|
const e = new Promise((i, a) => {
|
|
2033
2097
|
const o = () => {
|
|
2034
2098
|
t.removeEventListener("success", n), t.removeEventListener("error", r);
|
|
2035
2099
|
}, n = () => {
|
|
2036
|
-
i(
|
|
2100
|
+
i(ut(t.result)), o();
|
|
2037
2101
|
}, r = () => {
|
|
2038
2102
|
a(t.error), o();
|
|
2039
2103
|
};
|
|
@@ -2041,7 +2105,7 @@ function Hn(t) {
|
|
|
2041
2105
|
});
|
|
2042
2106
|
return Jt.set(e, t), e;
|
|
2043
2107
|
}
|
|
2044
|
-
function
|
|
2108
|
+
function Yn(t) {
|
|
2045
2109
|
if (Se.has(t))
|
|
2046
2110
|
return;
|
|
2047
2111
|
const e = new Promise((i, a) => {
|
|
@@ -2064,7 +2128,7 @@ let Ce = {
|
|
|
2064
2128
|
if (e === "store")
|
|
2065
2129
|
return i.objectStoreNames[1] ? void 0 : i.objectStore(i.objectStoreNames[0]);
|
|
2066
2130
|
}
|
|
2067
|
-
return
|
|
2131
|
+
return ut(t[e]);
|
|
2068
2132
|
},
|
|
2069
2133
|
set(t, e, i) {
|
|
2070
2134
|
return t[e] = i, !0;
|
|
@@ -2073,32 +2137,32 @@ let Ce = {
|
|
|
2073
2137
|
return t instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in t;
|
|
2074
2138
|
}
|
|
2075
2139
|
};
|
|
2076
|
-
function
|
|
2140
|
+
function Ba(t) {
|
|
2077
2141
|
Ce = t(Ce);
|
|
2078
2142
|
}
|
|
2079
|
-
function
|
|
2080
|
-
return
|
|
2081
|
-
return t.apply(Ee(this), e),
|
|
2143
|
+
function Kn(t) {
|
|
2144
|
+
return Wn().includes(t) ? function(...e) {
|
|
2145
|
+
return t.apply(Ee(this), e), ut(this.request);
|
|
2082
2146
|
} : function(...e) {
|
|
2083
|
-
return
|
|
2147
|
+
return ut(t.apply(Ee(this), e));
|
|
2084
2148
|
};
|
|
2085
2149
|
}
|
|
2086
|
-
function
|
|
2087
|
-
return typeof t == "function" ?
|
|
2150
|
+
function qn(t) {
|
|
2151
|
+
return typeof t == "function" ? Kn(t) : (t instanceof IDBTransaction && Yn(t), $e(t, Un()) ? new Proxy(t, Ce) : t);
|
|
2088
2152
|
}
|
|
2089
|
-
function
|
|
2153
|
+
function ut(t) {
|
|
2090
2154
|
if (t instanceof IDBRequest)
|
|
2091
|
-
return
|
|
2155
|
+
return Vn(t);
|
|
2092
2156
|
if (ne.has(t))
|
|
2093
2157
|
return ne.get(t);
|
|
2094
|
-
const e =
|
|
2158
|
+
const e = qn(t);
|
|
2095
2159
|
return e !== t && (ne.set(t, e), Jt.set(e, t)), e;
|
|
2096
2160
|
}
|
|
2097
2161
|
const Ee = (t) => Jt.get(t);
|
|
2098
|
-
function
|
|
2099
|
-
const r = indexedDB.open(t, e), s =
|
|
2162
|
+
function Zn(t, e, { blocked: i, upgrade: a, blocking: o, terminated: n } = {}) {
|
|
2163
|
+
const r = indexedDB.open(t, e), s = ut(r);
|
|
2100
2164
|
return a && r.addEventListener("upgradeneeded", (l) => {
|
|
2101
|
-
a(
|
|
2165
|
+
a(ut(r.result), l.oldVersion, l.newVersion, ut(r.transaction), l);
|
|
2102
2166
|
}), i && r.addEventListener("blocked", (l) => i(
|
|
2103
2167
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
|
2104
2168
|
l.oldVersion,
|
|
@@ -2109,16 +2173,16 @@ function Yn(t, e, { blocked: i, upgrade: a, blocking: o, terminated: n } = {}) {
|
|
|
2109
2173
|
}).catch(() => {
|
|
2110
2174
|
}), s;
|
|
2111
2175
|
}
|
|
2112
|
-
const
|
|
2113
|
-
function
|
|
2176
|
+
const Gn = ["get", "getKey", "getAll", "getAllKeys", "count"], Xn = ["put", "add", "delete", "clear"], re = /* @__PURE__ */ new Map();
|
|
2177
|
+
function Pi(t, e) {
|
|
2114
2178
|
if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
|
|
2115
2179
|
return;
|
|
2116
2180
|
if (re.get(e))
|
|
2117
2181
|
return re.get(e);
|
|
2118
|
-
const i = e.replace(/FromIndex$/, ""), a = e !== i, o =
|
|
2182
|
+
const i = e.replace(/FromIndex$/, ""), a = e !== i, o = Xn.includes(i);
|
|
2119
2183
|
if (
|
|
2120
2184
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
|
2121
|
-
!(i in (a ? IDBIndex : IDBObjectStore).prototype) || !(o ||
|
|
2185
|
+
!(i in (a ? IDBIndex : IDBObjectStore).prototype) || !(o || Gn.includes(i))
|
|
2122
2186
|
)
|
|
2123
2187
|
return;
|
|
2124
2188
|
const n = async function(r, ...s) {
|
|
@@ -2131,43 +2195,43 @@ function Ci(t, e) {
|
|
|
2131
2195
|
};
|
|
2132
2196
|
return re.set(e, n), n;
|
|
2133
2197
|
}
|
|
2134
|
-
|
|
2198
|
+
Ba((t) => ({
|
|
2135
2199
|
...t,
|
|
2136
|
-
get: (e, i, a) =>
|
|
2137
|
-
has: (e, i) => !!
|
|
2200
|
+
get: (e, i, a) => Pi(e, i) || t.get(e, i, a),
|
|
2201
|
+
has: (e, i) => !!Pi(e, i) || t.has(e, i)
|
|
2138
2202
|
}));
|
|
2139
|
-
const
|
|
2203
|
+
const Jn = ["continue", "continuePrimaryKey", "advance"], Ti = {}, Pe = /* @__PURE__ */ new WeakMap(), La = /* @__PURE__ */ new WeakMap(), Qn = {
|
|
2140
2204
|
get(t, e) {
|
|
2141
|
-
if (!
|
|
2205
|
+
if (!Jn.includes(e))
|
|
2142
2206
|
return t[e];
|
|
2143
|
-
let i =
|
|
2144
|
-
return i || (i =
|
|
2145
|
-
Pe.set(this,
|
|
2207
|
+
let i = Ti[e];
|
|
2208
|
+
return i || (i = Ti[e] = function(...a) {
|
|
2209
|
+
Pe.set(this, La.get(this)[e](...a));
|
|
2146
2210
|
}), i;
|
|
2147
2211
|
}
|
|
2148
2212
|
};
|
|
2149
|
-
async function*
|
|
2213
|
+
async function* tr(...t) {
|
|
2150
2214
|
let e = this;
|
|
2151
2215
|
if (e instanceof IDBCursor || (e = await e.openCursor(...t)), !e)
|
|
2152
2216
|
return;
|
|
2153
2217
|
e = e;
|
|
2154
|
-
const i = new Proxy(e,
|
|
2155
|
-
for (
|
|
2218
|
+
const i = new Proxy(e, Qn);
|
|
2219
|
+
for (La.set(i, e), Jt.set(i, Ee(e)); e; )
|
|
2156
2220
|
yield i, e = await (Pe.get(i) || e.continue()), Pe.delete(i);
|
|
2157
2221
|
}
|
|
2158
|
-
function
|
|
2222
|
+
function Ii(t, e) {
|
|
2159
2223
|
return e === Symbol.asyncIterator && $e(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && $e(t, [IDBIndex, IDBObjectStore]);
|
|
2160
2224
|
}
|
|
2161
|
-
|
|
2225
|
+
Ba((t) => ({
|
|
2162
2226
|
...t,
|
|
2163
2227
|
get(e, i, a) {
|
|
2164
|
-
return
|
|
2228
|
+
return Ii(e, i) ? tr : t.get(e, i, a);
|
|
2165
2229
|
},
|
|
2166
2230
|
has(e, i) {
|
|
2167
|
-
return
|
|
2231
|
+
return Ii(e, i) || t.has(e, i);
|
|
2168
2232
|
}
|
|
2169
2233
|
}));
|
|
2170
|
-
const
|
|
2234
|
+
const It = typeof indexedDB > "u" ? void 0 : Zn("inploi-chatbot", 3, {
|
|
2171
2235
|
upgrade(t) {
|
|
2172
2236
|
try {
|
|
2173
2237
|
t.deleteObjectStore("state");
|
|
@@ -2175,7 +2239,7 @@ const Tt = typeof indexedDB > "u" ? void 0 : Yn("inploi-chatbot", 3, {
|
|
|
2175
2239
|
}
|
|
2176
2240
|
t.createObjectStore("state");
|
|
2177
2241
|
}
|
|
2178
|
-
}),
|
|
2242
|
+
}), er = (t) => ({
|
|
2179
2243
|
...t,
|
|
2180
2244
|
messages: t.messages.map((e) => {
|
|
2181
2245
|
if (e.type !== "link")
|
|
@@ -2187,36 +2251,36 @@ const Tt = typeof indexedDB > "u" ? void 0 : Yn("inploi-chatbot", 3, {
|
|
|
2187
2251
|
return a;
|
|
2188
2252
|
})
|
|
2189
2253
|
});
|
|
2190
|
-
let
|
|
2191
|
-
const
|
|
2192
|
-
if (!
|
|
2193
|
-
return
|
|
2194
|
-
const t =
|
|
2195
|
-
|
|
2196
|
-
const e =
|
|
2197
|
-
|
|
2254
|
+
let Bt, se, St;
|
|
2255
|
+
const ji = () => {
|
|
2256
|
+
if (!Bt)
|
|
2257
|
+
return St;
|
|
2258
|
+
const t = Bt;
|
|
2259
|
+
Bt = void 0;
|
|
2260
|
+
const e = Zt(t), i = It == null ? void 0 : It.then((a) => a.put("state", er(t.data), e)).finally(() => {
|
|
2261
|
+
St === i && (St = void 0);
|
|
2198
2262
|
});
|
|
2199
|
-
return
|
|
2200
|
-
},
|
|
2263
|
+
return St = i, St;
|
|
2264
|
+
}, V = {
|
|
2201
2265
|
getStateData: async (t, e, i) => {
|
|
2202
2266
|
var o;
|
|
2203
|
-
const a =
|
|
2267
|
+
const a = Zt({
|
|
2204
2268
|
...t,
|
|
2205
2269
|
flowKeys: e,
|
|
2206
2270
|
context: i
|
|
2207
2271
|
});
|
|
2208
|
-
return (o = await
|
|
2272
|
+
return (o = await It) == null ? void 0 : o.get("state", a);
|
|
2209
2273
|
},
|
|
2210
2274
|
/** Every application saved in this browser, whatever its job or flow. */
|
|
2211
2275
|
getAllStateData: async () => {
|
|
2212
2276
|
var t;
|
|
2213
|
-
return ((t = await
|
|
2277
|
+
return ((t = await It) == null ? void 0 : t.getAll("state")) ?? [];
|
|
2214
2278
|
},
|
|
2215
2279
|
setStateData: (t) => {
|
|
2216
|
-
|
|
2280
|
+
Bt = t, clearTimeout(se), se = setTimeout(() => void ji(), 1e3);
|
|
2217
2281
|
},
|
|
2218
|
-
flushStateData: () => (clearTimeout(se),
|
|
2219
|
-
},
|
|
2282
|
+
flushStateData: () => (clearTimeout(se), ji() ?? Promise.resolve())
|
|
2283
|
+
}, ls = (t) => (e) => e ? e.type === t : !1, ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : Math.random().toString(36).slice(2), Ai = () => ({
|
|
2220
2284
|
messages: [],
|
|
2221
2285
|
submissions: {},
|
|
2222
2286
|
currentInput: null,
|
|
@@ -2225,17 +2289,17 @@ const Ti = () => {
|
|
|
2225
2289
|
isFinished: !1,
|
|
2226
2290
|
hasInteracted: !1,
|
|
2227
2291
|
sequence: 0,
|
|
2228
|
-
flowSessionId:
|
|
2229
|
-
}),
|
|
2292
|
+
flowSessionId: ir()
|
|
2293
|
+
}), cs = (t) => (
|
|
2230
2294
|
/** nativeEvent is a hidden property not exposed by JSX's typings */
|
|
2231
|
-
|
|
2295
|
+
Ze(t).with({
|
|
2232
2296
|
nativeEvent: {
|
|
2233
|
-
submitter:
|
|
2297
|
+
submitter: wt.select(wt.union(wt.instanceOf(HTMLButtonElement), wt.instanceOf(HTMLInputElement)))
|
|
2234
2298
|
}
|
|
2235
2299
|
}, (e) => e).otherwise(() => {
|
|
2236
2300
|
throw new Error("invalid submitter");
|
|
2237
2301
|
})
|
|
2238
|
-
),
|
|
2302
|
+
), Lt = (t, e, i, a = 0) => {
|
|
2239
2303
|
if (!e.nextId)
|
|
2240
2304
|
return i(e.id, {
|
|
2241
2305
|
stepsMade: a,
|
|
@@ -2252,7 +2316,7 @@ const Ti = () => {
|
|
|
2252
2316
|
};
|
|
2253
2317
|
const n = e.type === "if-block" ? e.branchId : void 0, r = t.find((d) => d.id === n), s = e.type.includes("question") ? 1 : 0;
|
|
2254
2318
|
if (r) {
|
|
2255
|
-
const d = s + Math.max(
|
|
2319
|
+
const d = s + Math.max(Lt(t, o, i, a + s).remainingSteps, Lt(t, r, i, a + s).remainingSteps);
|
|
2256
2320
|
return i(e.id, {
|
|
2257
2321
|
stepsMade: a,
|
|
2258
2322
|
remainingSteps: d
|
|
@@ -2261,7 +2325,7 @@ const Ti = () => {
|
|
|
2261
2325
|
remainingSteps: d
|
|
2262
2326
|
};
|
|
2263
2327
|
}
|
|
2264
|
-
const l = s +
|
|
2328
|
+
const l = s + Lt(t, o, i, a + s).remainingSteps;
|
|
2265
2329
|
return i(e.id, {
|
|
2266
2330
|
stepsMade: a,
|
|
2267
2331
|
remainingSteps: l
|
|
@@ -2269,41 +2333,41 @@ const Ti = () => {
|
|
|
2269
2333
|
stepsMade: a,
|
|
2270
2334
|
remainingSteps: l
|
|
2271
2335
|
};
|
|
2272
|
-
},
|
|
2336
|
+
}, ar = (t) => {
|
|
2273
2337
|
const e = {}, i = t.find((a) => a.isHead);
|
|
2274
|
-
return i &&
|
|
2338
|
+
return i && Lt(t, i, (a, o) => {
|
|
2275
2339
|
e[a] = o;
|
|
2276
2340
|
}), e;
|
|
2277
|
-
},
|
|
2341
|
+
}, Zt = (t) => [...t.flowKeys, t.id, t.version, t.build, Hn(t.hostContext ?? t.context)].join("/"), or = ({
|
|
2278
2342
|
data: t,
|
|
2279
2343
|
nodes: e
|
|
2280
2344
|
}) => {
|
|
2281
2345
|
const i = t.startedWriteNodeIds === void 0 ? e.some((a) => a.type === "integration-application-submit" && t.nodeHistory.includes(a.id)) : t.startedWriteNodeIds.length > 0;
|
|
2282
|
-
return !t.isFinished && !i &&
|
|
2283
|
-
},
|
|
2346
|
+
return !t.isFinished && !i && qi(e, t.submissions);
|
|
2347
|
+
}, Oi = ({
|
|
2284
2348
|
data: t,
|
|
2285
2349
|
nodes: e
|
|
2286
2350
|
}) => {
|
|
2287
2351
|
var i;
|
|
2288
|
-
return !t.isFinished && ((((i = t.startedWriteNodeIds) == null ? void 0 : i.length) ?? 0) > 0 ||
|
|
2289
|
-
},
|
|
2352
|
+
return !t.isFinished && ((((i = t.startedWriteNodeIds) == null ? void 0 : i.length) ?? 0) > 0 || qi(e, t.submissions));
|
|
2353
|
+
}, J = Y({
|
|
2290
2354
|
state: "idle"
|
|
2291
|
-
}), le = /* @__PURE__ */ new Set(),
|
|
2355
|
+
}), le = /* @__PURE__ */ new Set(), lt = (t) => {
|
|
2292
2356
|
const {
|
|
2293
2357
|
state: e,
|
|
2294
2358
|
flow: i
|
|
2295
|
-
} =
|
|
2359
|
+
} = J.value;
|
|
2296
2360
|
if (e !== "loaded")
|
|
2297
2361
|
return;
|
|
2298
|
-
|
|
2362
|
+
Ra(i, "No flow to update");
|
|
2299
2363
|
const a = t(i.data);
|
|
2300
|
-
i.data = a,
|
|
2364
|
+
i.data = a, J.value = {
|
|
2301
2365
|
state: e,
|
|
2302
2366
|
flow: i
|
|
2303
|
-
},
|
|
2304
|
-
},
|
|
2305
|
-
current$:
|
|
2306
|
-
viewState$:
|
|
2367
|
+
}, V.setStateData(i);
|
|
2368
|
+
}, C = {
|
|
2369
|
+
current$: J,
|
|
2370
|
+
viewState$: Y("closed"),
|
|
2307
2371
|
prepareFlow: async ({
|
|
2308
2372
|
jobAlerts: t,
|
|
2309
2373
|
flow: e,
|
|
@@ -2313,73 +2377,75 @@ const Ti = () => {
|
|
|
2313
2377
|
title: n,
|
|
2314
2378
|
analytics: r,
|
|
2315
2379
|
job: s,
|
|
2316
|
-
|
|
2380
|
+
employer: l,
|
|
2381
|
+
locationOrigin: d
|
|
2317
2382
|
}) => {
|
|
2318
|
-
await
|
|
2383
|
+
await V.flushStateData().catch(() => {
|
|
2319
2384
|
});
|
|
2320
|
-
const
|
|
2385
|
+
const u = await V.getStateData(e, o, i), c = u ?? Ai(), f = Zt({
|
|
2321
2386
|
...e,
|
|
2322
2387
|
flowKeys: o,
|
|
2323
2388
|
context: i
|
|
2324
|
-
}),
|
|
2325
|
-
data:
|
|
2389
|
+
}), g = u !== void 0 && !le.has(f) && or({
|
|
2390
|
+
data: c,
|
|
2326
2391
|
nodes: e.nodes
|
|
2327
2392
|
});
|
|
2328
|
-
return
|
|
2393
|
+
return g || le.add(f), {
|
|
2329
2394
|
jobAlerts: t,
|
|
2330
|
-
data:
|
|
2331
|
-
offerResume:
|
|
2395
|
+
data: c,
|
|
2396
|
+
offerResume: g,
|
|
2332
2397
|
startedAt: /* @__PURE__ */ new Date(),
|
|
2333
|
-
nodeIdToProgress:
|
|
2398
|
+
nodeIdToProgress: ar(e.nodes),
|
|
2334
2399
|
flowKeys: o,
|
|
2335
2400
|
id: e.id,
|
|
2336
2401
|
version: e.version,
|
|
2337
2402
|
nodes: e.nodes,
|
|
2338
2403
|
build: e.build,
|
|
2339
|
-
context: a === void 0 ? i :
|
|
2404
|
+
context: a === void 0 ? i : Be(a, i),
|
|
2340
2405
|
hostContext: a === void 0 ? void 0 : i,
|
|
2341
2406
|
title: n,
|
|
2342
2407
|
analytics: r,
|
|
2343
2408
|
job: s,
|
|
2344
|
-
|
|
2409
|
+
employer: l,
|
|
2410
|
+
locationOrigin: d
|
|
2345
2411
|
};
|
|
2346
2412
|
},
|
|
2347
2413
|
commitFlow: (t) => {
|
|
2348
|
-
|
|
2414
|
+
J.value = {
|
|
2349
2415
|
state: "loaded",
|
|
2350
2416
|
flow: t
|
|
2351
|
-
},
|
|
2417
|
+
}, V.setStateData(t);
|
|
2352
2418
|
},
|
|
2353
2419
|
/** The candidate chose to continue or start again, so this page does not ask about this application again. */
|
|
2354
2420
|
settleResume: (t) => {
|
|
2355
|
-
t.offerResume = !1, le.add(
|
|
2421
|
+
t.offerResume = !1, le.add(Zt(t));
|
|
2356
2422
|
},
|
|
2357
2423
|
cancelCurrentFlow: () => {
|
|
2358
|
-
|
|
2424
|
+
J.value = {
|
|
2359
2425
|
state: "idle"
|
|
2360
|
-
},
|
|
2426
|
+
}, C.viewState$.value = "closed";
|
|
2361
2427
|
},
|
|
2362
|
-
markAsFinished: () =>
|
|
2428
|
+
markAsFinished: () => lt((t) => ({
|
|
2363
2429
|
...t,
|
|
2364
2430
|
isFinished: !0
|
|
2365
2431
|
})),
|
|
2366
|
-
markAsInteracted: () =>
|
|
2432
|
+
markAsInteracted: () => lt((t) => ({
|
|
2367
2433
|
...t,
|
|
2368
2434
|
hasInteracted: !0
|
|
2369
2435
|
})),
|
|
2370
|
-
setCurrentNodeId: (t) =>
|
|
2436
|
+
setCurrentNodeId: (t) => lt((e) => (e.nodeHistory.push(t), e)),
|
|
2371
2437
|
setApplicationRecovery: async (t) => {
|
|
2372
|
-
|
|
2438
|
+
lt((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await V.flushStateData();
|
|
2373
2439
|
},
|
|
2374
2440
|
restart: () => {
|
|
2375
2441
|
const {
|
|
2376
2442
|
state: t,
|
|
2377
2443
|
flow: e
|
|
2378
|
-
} =
|
|
2444
|
+
} = J.value;
|
|
2379
2445
|
if (t !== "loaded")
|
|
2380
2446
|
throw new Error("Flow cannot be restarted: not in valid state");
|
|
2381
2447
|
const i = {
|
|
2382
|
-
...
|
|
2448
|
+
...Ai(),
|
|
2383
2449
|
failedAttemptAt: e.data.failedAttemptAt,
|
|
2384
2450
|
unconfirmedAttemptKeys: e.data.unconfirmedAttemptKeys,
|
|
2385
2451
|
submitCooldown: e.data.submitCooldown
|
|
@@ -2389,48 +2455,48 @@ const Ti = () => {
|
|
|
2389
2455
|
startedAt: /* @__PURE__ */ new Date(),
|
|
2390
2456
|
offerResume: !1
|
|
2391
2457
|
};
|
|
2392
|
-
|
|
2458
|
+
J.value = {
|
|
2393
2459
|
state: t,
|
|
2394
2460
|
flow: a
|
|
2395
|
-
},
|
|
2461
|
+
}, V.setStateData(a);
|
|
2396
2462
|
},
|
|
2397
2463
|
addMessage: (t, e) => {
|
|
2398
2464
|
const i = {
|
|
2399
2465
|
...t,
|
|
2400
2466
|
groupId: e
|
|
2401
2467
|
};
|
|
2402
|
-
return
|
|
2468
|
+
return lt((a) => (a.messages.push(i), a));
|
|
2403
2469
|
},
|
|
2404
2470
|
/** Removes messages from nodeId, all the messages that have the groupId passed, until it reaches one that doesn't */
|
|
2405
2471
|
removeMessagesSentByNodeIds: (t) => {
|
|
2406
2472
|
const {
|
|
2407
2473
|
state: e,
|
|
2408
2474
|
flow: i
|
|
2409
|
-
} =
|
|
2410
|
-
|
|
2475
|
+
} = J.value;
|
|
2476
|
+
Ra(e === "loaded", "Application not loaded");
|
|
2411
2477
|
const a = i.data.messages.filter((o) => !o.groupId || !t.includes(o.groupId));
|
|
2412
|
-
i.data.messages = a,
|
|
2478
|
+
i.data.messages = a, V.setStateData(i);
|
|
2413
2479
|
},
|
|
2414
|
-
setSubmission: (t, e) =>
|
|
2415
|
-
setInput: (t) =>
|
|
2480
|
+
setSubmission: (t, e) => lt((i) => (e === null ? delete i.submissions[t] : i.submissions[t] = e, i)),
|
|
2481
|
+
setInput: (t) => lt((e) => ({
|
|
2416
2482
|
...e,
|
|
2417
2483
|
currentInput: t ?? null
|
|
2418
2484
|
})),
|
|
2419
2485
|
persistWriteBarrier: async (t) => {
|
|
2420
|
-
|
|
2486
|
+
J.peek().flow === t && (J.value = {
|
|
2421
2487
|
state: "loaded",
|
|
2422
2488
|
flow: t
|
|
2423
|
-
}),
|
|
2489
|
+
}), V.setStateData(t), await V.flushStateData();
|
|
2424
2490
|
}
|
|
2425
|
-
},
|
|
2491
|
+
}, zi = ({
|
|
2426
2492
|
heading: t
|
|
2427
2493
|
}) => {
|
|
2428
2494
|
const {
|
|
2429
2495
|
t: e
|
|
2430
2496
|
} = Xt();
|
|
2431
|
-
return
|
|
2497
|
+
return h("div", {
|
|
2432
2498
|
class: "flex flex-grow flex-col items-center justify-center",
|
|
2433
|
-
children: [
|
|
2499
|
+
children: [h("svg", {
|
|
2434
2500
|
class: "text-error-9 h-16 w-16",
|
|
2435
2501
|
fill: "none",
|
|
2436
2502
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2438,85 +2504,85 @@ const Ti = () => {
|
|
|
2438
2504
|
stroke: "currentColor",
|
|
2439
2505
|
"stroke-linecap": "round",
|
|
2440
2506
|
viewBox: "0 0 96 96",
|
|
2441
|
-
children: [
|
|
2507
|
+
children: [h("path", {
|
|
2442
2508
|
d: "M48 79H19.9l-1.3-.3a3 3 0 0 1-1.3-1.3c-.1-.3-.2-.6-.2-1.3l-.1-2.5V48a31 31 0 1 1 31 31Z",
|
|
2443
2509
|
fill: "#fff"
|
|
2444
|
-
}),
|
|
2510
|
+
}), h("path", {
|
|
2445
2511
|
d: "M48 79H19.9l-1.3-.3a3 3 0 0 1-1.3-1.3c-.1-.3-.2-.6-.2-1.3l-.1-2.5V48a31 31 0 1 1 31 31Z"
|
|
2446
|
-
}),
|
|
2512
|
+
}), h("line", {
|
|
2447
2513
|
x1: "36.7",
|
|
2448
2514
|
y1: "39.3",
|
|
2449
2515
|
x2: "44.8",
|
|
2450
2516
|
y2: "47.4"
|
|
2451
|
-
}),
|
|
2517
|
+
}), h("line", {
|
|
2452
2518
|
x1: "52.2",
|
|
2453
2519
|
y1: "39.3",
|
|
2454
2520
|
x2: "60.3",
|
|
2455
2521
|
y2: "47.4"
|
|
2456
|
-
}),
|
|
2522
|
+
}), h("line", {
|
|
2457
2523
|
x1: "44.7",
|
|
2458
2524
|
y1: "39.2",
|
|
2459
2525
|
x2: "36.6",
|
|
2460
2526
|
y2: "47.3"
|
|
2461
|
-
}),
|
|
2527
|
+
}), h("line", {
|
|
2462
2528
|
x1: "60.2",
|
|
2463
2529
|
y1: "39.2",
|
|
2464
2530
|
x2: "52.1",
|
|
2465
2531
|
y2: "47.3"
|
|
2466
|
-
}),
|
|
2532
|
+
}), h("path", {
|
|
2467
2533
|
d: "M38 56h19"
|
|
2468
2534
|
})]
|
|
2469
|
-
}),
|
|
2535
|
+
}), h("div", {
|
|
2470
2536
|
class: "flex flex-col gap-2 text-center",
|
|
2471
|
-
children:
|
|
2537
|
+
children: h("p", {
|
|
2472
2538
|
class: "text-error-11 font-bold",
|
|
2473
2539
|
children: e(t)
|
|
2474
2540
|
})
|
|
2475
2541
|
})]
|
|
2476
2542
|
});
|
|
2477
|
-
},
|
|
2543
|
+
}, nr = (t) => {
|
|
2478
2544
|
const {
|
|
2479
2545
|
t: e
|
|
2480
2546
|
} = Xt();
|
|
2481
|
-
return
|
|
2547
|
+
return h("svg", {
|
|
2482
2548
|
role: "img",
|
|
2483
2549
|
viewBox: "0 0 24 24",
|
|
2484
2550
|
...t,
|
|
2485
|
-
children: [
|
|
2551
|
+
children: [h("title", {
|
|
2486
2552
|
children: e("loading")
|
|
2487
|
-
}),
|
|
2553
|
+
}), h("style", {
|
|
2488
2554
|
children: "#s1{animation:3s linear infinite forwards s1__to}@keyframes s1__to{0%{transform:translate(12px,0)}66.666667%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%{transform:translate(12px,12px)}}#s2{animation:3s linear infinite forwards s2__ts}@keyframes s2__ts{0%{transform:scale(0,0)}70%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}100%{transform:scale(1,1)}}#s3{animation:3s linear infinite forwards s3__to}@keyframes s3__to{0%{transform:translate(12px,12px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%,33.333333%{transform:translate(12px,24px)}}#s4{animation:3s linear infinite forwards s4__ts}@keyframes s4__ts{0%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}100%,30%{transform:scale(0,0)}}#s5{animation:3s linear infinite forwards s5__to}@keyframes s5__to{0%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}33.333333%{transform:translate(12px,12.045742px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%,66.666667%{transform:translate(12px,24px)}}#s6{animation:3s linear infinite forwards s6__ts}@keyframes s6__ts{0%,100%,63.333333%{transform:scale(0,0)}3.333333%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}33.333333%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}}#s7{animation:3s linear infinite forwards s7__to}@keyframes s7__to{0%{transform:translate(12px,0)}33.333333%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}66.666667%{transform:translate(12px,12px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%{transform:translate(12px,24px)}}#s8{animation:3s linear infinite forwards s8__ts}@keyframes s8__ts{0%,100%,96.666667%{transform:scale(0,0)}36.666667%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}66.666667%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}}"
|
|
2489
|
-
}),
|
|
2555
|
+
}), h("g", {
|
|
2490
2556
|
id: "s1",
|
|
2491
2557
|
transform: "translate(12,0)",
|
|
2492
|
-
children:
|
|
2558
|
+
children: h("g", {
|
|
2493
2559
|
id: "s2",
|
|
2494
2560
|
transform: "scale(0,0)",
|
|
2495
|
-
children:
|
|
2561
|
+
children: h("circle", {
|
|
2496
2562
|
r: "6.5",
|
|
2497
2563
|
transform: "translate(0,0)",
|
|
2498
2564
|
fill: "currentColor"
|
|
2499
2565
|
})
|
|
2500
2566
|
})
|
|
2501
|
-
}),
|
|
2567
|
+
}), h("g", {
|
|
2502
2568
|
id: "s3",
|
|
2503
2569
|
transform: "translate(12,12)",
|
|
2504
|
-
children:
|
|
2570
|
+
children: h("g", {
|
|
2505
2571
|
id: "s4",
|
|
2506
2572
|
transform: "scale(1,1)",
|
|
2507
|
-
children:
|
|
2573
|
+
children: h("circle", {
|
|
2508
2574
|
r: "6.5",
|
|
2509
2575
|
transform: "translate(0,0)",
|
|
2510
2576
|
fill: "currentColor"
|
|
2511
2577
|
})
|
|
2512
2578
|
})
|
|
2513
|
-
}),
|
|
2579
|
+
}), h("g", {
|
|
2514
2580
|
id: "s5",
|
|
2515
2581
|
transform: "translate(12,0)",
|
|
2516
|
-
children:
|
|
2582
|
+
children: h("g", {
|
|
2517
2583
|
id: "s6",
|
|
2518
2584
|
transform: "scale(0,0)",
|
|
2519
|
-
children:
|
|
2585
|
+
children: h("path", {
|
|
2520
2586
|
d: "M6.5,13c3.5899,0,6.5-2.9101,6.5-6.5s-2.9101-6.5-6.5-6.5-6.5,2.91015-6.5,6.5s2.91015,6.5,6.5,6.5Zm0-4C7.88071,9,9,7.88071,9,6.5s-1.11929-2.5-2.5-2.5-2.5,1.11929-2.5,2.5s1.11929,2.5,2.5,2.5Z",
|
|
2521
2587
|
transform: "translate(-6.5,-6.5)",
|
|
2522
2588
|
"clip-rule": "evenodd",
|
|
@@ -2524,13 +2590,13 @@ const Ti = () => {
|
|
|
2524
2590
|
"fill-rule": "evenodd"
|
|
2525
2591
|
})
|
|
2526
2592
|
})
|
|
2527
|
-
}),
|
|
2593
|
+
}), h("g", {
|
|
2528
2594
|
id: "s7",
|
|
2529
2595
|
transform: "translate(12,0)",
|
|
2530
|
-
children:
|
|
2596
|
+
children: h("g", {
|
|
2531
2597
|
id: "s8",
|
|
2532
2598
|
transform: "scale(0,0)",
|
|
2533
|
-
children:
|
|
2599
|
+
children: h("path", {
|
|
2534
2600
|
d: "M0,6c0,3.58984,2.91016,6.5,6.5,6.5s6.5-2.91016,6.5-6.5h-4C9,7.38086,7.88086,8.5,6.5,8.5s-2.5-1.11914-2.5-2.5h-4Z",
|
|
2535
2601
|
transform: "translate(-6.5,-9.25)",
|
|
2536
2602
|
fill: "currentColor"
|
|
@@ -2538,15 +2604,15 @@ const Ti = () => {
|
|
|
2538
2604
|
})
|
|
2539
2605
|
})]
|
|
2540
2606
|
});
|
|
2541
|
-
},
|
|
2607
|
+
}, Di = () => h("div", {
|
|
2542
2608
|
class: "flex flex-grow flex-col items-center justify-center",
|
|
2543
|
-
children:
|
|
2609
|
+
children: h(nr, {
|
|
2544
2610
|
class: "text-neutral-6 h-8 w-8"
|
|
2545
2611
|
})
|
|
2546
|
-
}),
|
|
2612
|
+
}), rr = (t) => {
|
|
2547
2613
|
const i = t / 100, a = 1.3;
|
|
2548
2614
|
return t < 0 ? "0%" : t > 100 ? "100%" : `${Math.round((1 - (1 - 0.1) * Math.pow(1 - i, a)) * 100)}%`;
|
|
2549
|
-
},
|
|
2615
|
+
}, sr = Xe("touch-hitbox fr relative flex-none rounded-full p-2 transition-all", {
|
|
2550
2616
|
variants: {
|
|
2551
2617
|
variant: {
|
|
2552
2618
|
neutral: "text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",
|
|
@@ -2561,12 +2627,12 @@ const Ti = () => {
|
|
|
2561
2627
|
children: e,
|
|
2562
2628
|
variant: i,
|
|
2563
2629
|
...a
|
|
2564
|
-
}) =>
|
|
2565
|
-
class:
|
|
2630
|
+
}) => h("button", {
|
|
2631
|
+
class: Ge(sr({
|
|
2566
2632
|
variant: i
|
|
2567
2633
|
}), t),
|
|
2568
2634
|
...a,
|
|
2569
|
-
children:
|
|
2635
|
+
children: h("svg", {
|
|
2570
2636
|
class: "block",
|
|
2571
2637
|
width: "16",
|
|
2572
2638
|
height: "16",
|
|
@@ -2578,28 +2644,28 @@ const Ti = () => {
|
|
|
2578
2644
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2579
2645
|
children: e
|
|
2580
2646
|
})
|
|
2581
|
-
}),
|
|
2647
|
+
}), lr = () => h("path", {
|
|
2582
2648
|
d: "M12.5 6.5L8 11L3.5 6.5"
|
|
2583
|
-
}),
|
|
2584
|
-
if (
|
|
2649
|
+
}), cr = () => {
|
|
2650
|
+
if (C.current$.value.state !== "loaded")
|
|
2585
2651
|
return null;
|
|
2586
|
-
const t =
|
|
2652
|
+
const t = C.current$.value.flow.nodeIdToProgress, e = C.current$.value.flow.data.nodeHistory.at(-1);
|
|
2587
2653
|
if (e === void 0)
|
|
2588
2654
|
return null;
|
|
2589
2655
|
const i = t[e];
|
|
2590
2656
|
if (i === void 0)
|
|
2591
2657
|
return null;
|
|
2592
2658
|
const a = 100 * (i.stepsMade / (i.remainingSteps + i.stepsMade));
|
|
2593
|
-
return
|
|
2659
|
+
return h("div", {
|
|
2594
2660
|
class: "bg-accent-3",
|
|
2595
|
-
children:
|
|
2661
|
+
children: h("div", {
|
|
2596
2662
|
style: {
|
|
2597
|
-
width:
|
|
2663
|
+
width: rr(a)
|
|
2598
2664
|
},
|
|
2599
2665
|
class: "bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"
|
|
2600
2666
|
})
|
|
2601
2667
|
});
|
|
2602
|
-
},
|
|
2668
|
+
}, dr = ({
|
|
2603
2669
|
children: t,
|
|
2604
2670
|
params: e,
|
|
2605
2671
|
analytics: i,
|
|
@@ -2607,74 +2673,74 @@ const Ti = () => {
|
|
|
2607
2673
|
}) => {
|
|
2608
2674
|
const {
|
|
2609
2675
|
t: o
|
|
2610
|
-
} = Xt(), n =
|
|
2611
|
-
return
|
|
2676
|
+
} = Xt(), n = C.viewState$, r = !!e.feedback && C.current$.value.state === "loaded" && n.value === "maximised", s = r && a.value, l = mt(!1);
|
|
2677
|
+
return Ue(() => {
|
|
2612
2678
|
var d, u;
|
|
2613
2679
|
!s || l.current || (l.current = !0, i.log({
|
|
2614
2680
|
event: "INTERACTION",
|
|
2615
2681
|
properties: {
|
|
2616
2682
|
tag: "feedback_shown"
|
|
2617
2683
|
},
|
|
2618
|
-
customProperties: (u = (d =
|
|
2684
|
+
customProperties: (u = (d = C.current$.peek().flow) == null ? void 0 : d.analytics) == null ? void 0 : u.customProperties
|
|
2619
2685
|
}));
|
|
2620
|
-
}, [s, i]),
|
|
2621
|
-
children:
|
|
2686
|
+
}, [s, i]), h(q, {
|
|
2687
|
+
children: h("header", {
|
|
2622
2688
|
class: "ring-divider bg-statusbar absolute left-0 right-0 top-0 z-20 mx-auto items-center ring-1 backdrop-blur-md backdrop-saturate-150",
|
|
2623
|
-
children: [
|
|
2689
|
+
children: [h("div", {
|
|
2624
2690
|
class: "ring-neutral-7 flex h-[var(--header-height)] gap-2 rounded-t-3xl ring-0 ring-inset transition-all duration-300 [&:has(>.view-switch:focus-visible)]:ring-1",
|
|
2625
|
-
children: [
|
|
2691
|
+
children: [h("p", {
|
|
2626
2692
|
id: "chatbot-status-bar",
|
|
2627
2693
|
class: "sr-only",
|
|
2628
2694
|
children: t
|
|
2629
|
-
}),
|
|
2695
|
+
}), h("button", {
|
|
2630
2696
|
"aria-label": o("minimize"),
|
|
2631
2697
|
onClick: () => {
|
|
2632
2698
|
n.value = "minimised";
|
|
2633
2699
|
},
|
|
2634
2700
|
class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
|
|
2635
2701
|
onTouchStart: Ie,
|
|
2636
|
-
children:
|
|
2702
|
+
children: h("p", {
|
|
2637
2703
|
"aria-hidden": !0,
|
|
2638
2704
|
class: "text-neutral-12 truncate text-sm font-bold tracking-tight",
|
|
2639
2705
|
children: t
|
|
2640
2706
|
})
|
|
2641
|
-
}),
|
|
2707
|
+
}), h("div", {
|
|
2642
2708
|
class: "flex flex-shrink-0 items-center gap-3 p-1.5",
|
|
2643
|
-
children: [e.feedback ?
|
|
2709
|
+
children: [e.feedback ? h("div", {
|
|
2644
2710
|
"data-widget": "inploi-feedback",
|
|
2645
2711
|
"data-key": "chatbot-header",
|
|
2646
|
-
class:
|
|
2712
|
+
class: Ge({
|
|
2647
2713
|
hidden: !r
|
|
2648
2714
|
}),
|
|
2649
|
-
children:
|
|
2715
|
+
children: h("div", {
|
|
2650
2716
|
class: "ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1"
|
|
2651
2717
|
})
|
|
2652
|
-
}) : null,
|
|
2718
|
+
}) : null, C.current$.value.state === "loaded" && h(Te, {
|
|
2653
2719
|
class: "mx-1",
|
|
2654
2720
|
"aria-label": o("restart"),
|
|
2655
2721
|
onClick: () => {
|
|
2656
|
-
|
|
2722
|
+
C.restart();
|
|
2657
2723
|
},
|
|
2658
|
-
children: [
|
|
2724
|
+
children: [h("path", {
|
|
2659
2725
|
d: "M12 8.5C12 9.29113 11.7654 10.0645 11.3259 10.7223C10.8864 11.3801 10.2616 11.8928 9.53073 12.1955C8.79983 12.4983 7.99556 12.5775 7.21964 12.4231C6.44371 12.2688 5.73098 11.8878 5.17157 11.3284C4.61216 10.769 4.2312 10.0563 4.07686 9.28036C3.92252 8.50444 4.00173 7.70017 4.30448 6.96927C4.60723 6.23836 5.11992 5.61365 5.77772 5.17412C6.43552 4.7346 7.20887 4.5 8 4.5H9"
|
|
2660
|
-
}),
|
|
2726
|
+
}), h("path", {
|
|
2661
2727
|
d: "M8 7L10 4.5L8 2.5"
|
|
2662
2728
|
})]
|
|
2663
|
-
}, "restart"),
|
|
2729
|
+
}, "restart"), h(Te, {
|
|
2664
2730
|
class: "view-switch mx-1",
|
|
2665
2731
|
onTouchStart: Ie,
|
|
2666
2732
|
"aria-label": o("minimize"),
|
|
2667
2733
|
onClick: () => n.value = "minimised",
|
|
2668
|
-
children:
|
|
2734
|
+
children: h(lr, {})
|
|
2669
2735
|
}, "minmax")]
|
|
2670
2736
|
})]
|
|
2671
|
-
}),
|
|
2737
|
+
}), h(cr, {})]
|
|
2672
2738
|
})
|
|
2673
2739
|
});
|
|
2674
2740
|
};
|
|
2675
2741
|
function Ie() {
|
|
2676
2742
|
}
|
|
2677
|
-
const
|
|
2743
|
+
const ur = za(() => import("./chatbot-body-493e57db.js").then((t) => t.ChatbotBody)), Ha = Xe("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", {
|
|
2678
2744
|
variants: {
|
|
2679
2745
|
view: {
|
|
2680
2746
|
closed: "hidden",
|
|
@@ -2682,7 +2748,7 @@ const lr = Aa(() => import("./chatbot-body-505ef858.js").then((t) => t.ChatbotBo
|
|
|
2682
2748
|
maximised: "max-w-[450px] h-[var(--content-height)] animate-maximise"
|
|
2683
2749
|
}
|
|
2684
2750
|
}
|
|
2685
|
-
}),
|
|
2751
|
+
}), Ua = Xe("relative flex h-full overflow-hidden rounded-3xl outline outline-1", {
|
|
2686
2752
|
variants: {
|
|
2687
2753
|
view: {
|
|
2688
2754
|
closed: "hidden",
|
|
@@ -2690,213 +2756,215 @@ const lr = Aa(() => import("./chatbot-body-505ef858.js").then((t) => t.ChatbotBo
|
|
|
2690
2756
|
maximised: "outline-neutral-3 bg-neutral-1 flex-col"
|
|
2691
2757
|
}
|
|
2692
2758
|
}
|
|
2693
|
-
}),
|
|
2759
|
+
}), pr = ({
|
|
2694
2760
|
open: t,
|
|
2695
2761
|
...e
|
|
2696
2762
|
}) => {
|
|
2697
|
-
const i =
|
|
2698
|
-
return
|
|
2763
|
+
const i = mt(null);
|
|
2764
|
+
return xt(() => {
|
|
2699
2765
|
const a = i.current;
|
|
2700
2766
|
a && (t ? a.showModal() : a.close());
|
|
2701
|
-
}, [t]),
|
|
2767
|
+
}, [t]), h("dialog", {
|
|
2702
2768
|
ref: i,
|
|
2703
2769
|
...e
|
|
2704
2770
|
});
|
|
2705
|
-
},
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2771
|
+
}, hr = ({
|
|
2772
|
+
env: t,
|
|
2773
|
+
logger: e,
|
|
2774
|
+
apiClient: i,
|
|
2775
|
+
rpcClient: a,
|
|
2776
|
+
analytics: o,
|
|
2777
|
+
talentBankClient: n,
|
|
2778
|
+
params: r,
|
|
2779
|
+
feedbackReady: s
|
|
2713
2780
|
}) => {
|
|
2714
2781
|
const {
|
|
2715
|
-
state:
|
|
2716
|
-
flow:
|
|
2717
|
-
} =
|
|
2718
|
-
return
|
|
2719
|
-
terms:
|
|
2782
|
+
state: l,
|
|
2783
|
+
flow: d
|
|
2784
|
+
} = C.current$.value, u = C.viewState$.value, c = l !== "idle" && u === "maximised", f = mt(null), g = d ? [...d.data.nodeHistory].reverse().map((p) => d.nodes.find((b) => b.id === p)).find((p) => (p == null ? void 0 : p.type) === "flow-section") : void 0;
|
|
2785
|
+
return h(Ln, {
|
|
2786
|
+
terms: r.terms,
|
|
2720
2787
|
locale: void 0,
|
|
2721
|
-
children: [
|
|
2722
|
-
open:
|
|
2723
|
-
onClose: () =>
|
|
2724
|
-
children:
|
|
2725
|
-
ref:
|
|
2788
|
+
children: [h(pr, {
|
|
2789
|
+
open: c,
|
|
2790
|
+
onClose: () => C.viewState$.value = "minimised",
|
|
2791
|
+
children: h("div", {
|
|
2792
|
+
ref: f,
|
|
2726
2793
|
"aria-modal": "true",
|
|
2727
2794
|
role: "dialog",
|
|
2728
2795
|
"aria-labelledby": "chatbot-status-bar",
|
|
2729
|
-
class:
|
|
2796
|
+
class: Ha({
|
|
2730
2797
|
view: "maximised"
|
|
2731
2798
|
}),
|
|
2732
|
-
children:
|
|
2733
|
-
class:
|
|
2799
|
+
children: h("div", {
|
|
2800
|
+
class: Ua({
|
|
2734
2801
|
view: "maximised"
|
|
2735
2802
|
}),
|
|
2736
|
-
children: [
|
|
2737
|
-
params:
|
|
2738
|
-
analytics:
|
|
2739
|
-
feedbackReady:
|
|
2740
|
-
children:
|
|
2741
|
-
children: [
|
|
2803
|
+
children: [h(dr, {
|
|
2804
|
+
params: r,
|
|
2805
|
+
analytics: o,
|
|
2806
|
+
feedbackReady: s,
|
|
2807
|
+
children: g ? h(q, {
|
|
2808
|
+
children: [h("span", {
|
|
2742
2809
|
class: "block",
|
|
2743
|
-
children:
|
|
2744
|
-
}),
|
|
2810
|
+
children: g.data.title
|
|
2811
|
+
}), h("span", {
|
|
2745
2812
|
class: "block truncate text-xs font-normal",
|
|
2746
|
-
children:
|
|
2813
|
+
children: d == null ? void 0 : d.title
|
|
2747
2814
|
})]
|
|
2748
|
-
}) :
|
|
2749
|
-
}),
|
|
2750
|
-
state:
|
|
2751
|
-
view:
|
|
2815
|
+
}) : d == null ? void 0 : d.title
|
|
2816
|
+
}), Ze({
|
|
2817
|
+
state: l,
|
|
2818
|
+
view: u
|
|
2752
2819
|
}).with({
|
|
2753
2820
|
state: "idle"
|
|
2754
2821
|
}, () => null).with({
|
|
2755
2822
|
state: "loading"
|
|
2756
|
-
}, () =>
|
|
2823
|
+
}, () => h(Di, {}, "loading")).with({
|
|
2757
2824
|
state: "loaded"
|
|
2758
|
-
}, () =>
|
|
2759
|
-
fallback:
|
|
2760
|
-
children:
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2825
|
+
}, () => h(Tt, {
|
|
2826
|
+
fallback: h(Di, {}, "loading"),
|
|
2827
|
+
children: h(ur, {
|
|
2828
|
+
env: t,
|
|
2829
|
+
rpcClient: a,
|
|
2830
|
+
analytics: o,
|
|
2831
|
+
apiClient: i,
|
|
2832
|
+
logger: e,
|
|
2833
|
+
talentBankClient: n
|
|
2766
2834
|
})
|
|
2767
2835
|
})).with({
|
|
2768
2836
|
state: "closed"
|
|
2769
|
-
}, () =>
|
|
2837
|
+
}, () => h(zi, {
|
|
2770
2838
|
heading: "flow_closed"
|
|
2771
2839
|
})).with({
|
|
2772
2840
|
state: "error"
|
|
2773
|
-
}, () =>
|
|
2841
|
+
}, () => h(zi, {
|
|
2774
2842
|
heading: "error_heading"
|
|
2775
2843
|
})).exhaustive()]
|
|
2776
2844
|
})
|
|
2777
2845
|
})
|
|
2778
|
-
}),
|
|
2779
|
-
flow:
|
|
2846
|
+
}), u === "minimised" ? h(fr, {
|
|
2847
|
+
flow: d
|
|
2780
2848
|
}) : null]
|
|
2781
2849
|
});
|
|
2782
|
-
},
|
|
2850
|
+
}, fr = ({
|
|
2783
2851
|
flow: t
|
|
2784
2852
|
}) => {
|
|
2785
2853
|
const {
|
|
2786
2854
|
t: e
|
|
2787
2855
|
} = Xt();
|
|
2788
|
-
return
|
|
2789
|
-
class:
|
|
2856
|
+
return h("div", {
|
|
2857
|
+
class: Ha({
|
|
2790
2858
|
view: "minimised",
|
|
2791
2859
|
class: "z-100 isolate"
|
|
2792
2860
|
}),
|
|
2793
|
-
children:
|
|
2794
|
-
class:
|
|
2861
|
+
children: h("div", {
|
|
2862
|
+
class: Ua({
|
|
2795
2863
|
view: "minimised"
|
|
2796
2864
|
}),
|
|
2797
|
-
children: [
|
|
2865
|
+
children: [h("button", {
|
|
2798
2866
|
onClick: () => {
|
|
2799
|
-
|
|
2867
|
+
C.viewState$.value = "maximised";
|
|
2800
2868
|
},
|
|
2801
2869
|
class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
|
|
2802
2870
|
onTouchStart: Ie,
|
|
2803
|
-
children:
|
|
2871
|
+
children: h("p", {
|
|
2804
2872
|
"aria-hidden": !0,
|
|
2805
2873
|
class: "truncate text-sm font-bold tracking-tight text-white",
|
|
2806
2874
|
children: t == null ? void 0 : t.title
|
|
2807
2875
|
})
|
|
2808
|
-
}),
|
|
2876
|
+
}), h("div", {
|
|
2809
2877
|
class: "flex items-center px-0.5",
|
|
2810
|
-
children:
|
|
2878
|
+
children: h(Te, {
|
|
2811
2879
|
class: "mx-1",
|
|
2812
2880
|
"aria-label": e("close_application"),
|
|
2813
|
-
onClick:
|
|
2881
|
+
onClick: C.cancelCurrentFlow,
|
|
2814
2882
|
variant: "white",
|
|
2815
|
-
children:
|
|
2883
|
+
children: h("path", {
|
|
2816
2884
|
d: "M12 12L4 4M12 4L4 12"
|
|
2817
2885
|
})
|
|
2818
2886
|
}, "close")
|
|
2819
2887
|
})]
|
|
2820
2888
|
})
|
|
2821
2889
|
});
|
|
2822
|
-
}, pr = `[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}}
|
|
2823
|
-
`,
|
|
2824
|
-
getChatbotElement: () => document.querySelector(
|
|
2890
|
+
}, wr = `[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}}
|
|
2891
|
+
`, Wa = "inploi-chatbot", je = `[data-widget='${Wa}']`, gr = () => ({
|
|
2892
|
+
getChatbotElement: () => document.querySelector(je),
|
|
2825
2893
|
getOrCreateChatbotElement: () => {
|
|
2826
|
-
const t = document.querySelector(
|
|
2894
|
+
const t = document.querySelector(je);
|
|
2827
2895
|
if (t)
|
|
2828
2896
|
return document.body.appendChild(t), t;
|
|
2829
2897
|
const e = document.createElement("div");
|
|
2830
|
-
return document.body.appendChild(e), e.dataset.widget =
|
|
2898
|
+
return document.body.appendChild(e), e.dataset.widget = Wa, e;
|
|
2831
2899
|
}
|
|
2832
|
-
}),
|
|
2833
|
-
}),
|
|
2900
|
+
}), br = 25, Va = Y(() => {
|
|
2901
|
+
}), Ni = ["wheel", "touchmove", "keydown"], vr = (t, e) => new Promise((i, a) => {
|
|
2834
2902
|
if (e != null && e.aborted)
|
|
2835
|
-
return a(new
|
|
2903
|
+
return a(new ft());
|
|
2836
2904
|
const o = setTimeout(i, t);
|
|
2837
2905
|
e == null || e.addEventListener("abort", () => {
|
|
2838
|
-
clearTimeout(o), a(new
|
|
2906
|
+
clearTimeout(o), a(new ft());
|
|
2839
2907
|
}, {
|
|
2840
2908
|
once: !0
|
|
2841
2909
|
});
|
|
2842
|
-
}),
|
|
2843
|
-
onSubmitSuccessFn$:
|
|
2910
|
+
}), W = {
|
|
2911
|
+
onSubmitSuccessFn$: Y(() => {
|
|
2844
2912
|
}),
|
|
2845
|
-
onInteractionFn$:
|
|
2913
|
+
onInteractionFn$: Y(() => {
|
|
2846
2914
|
}),
|
|
2847
|
-
isBotTyping$:
|
|
2915
|
+
isBotTyping$: Y(!1),
|
|
2848
2916
|
/** A Turnstile challenge is waiting for the candidate in the conversation (PROD-7320). */
|
|
2849
|
-
captchaVisible$:
|
|
2850
|
-
themeMode$:
|
|
2851
|
-
isReadingHistory$:
|
|
2852
|
-
scrollToEnd: () =>
|
|
2853
|
-
},
|
|
2854
|
-
const t =
|
|
2855
|
-
|
|
2917
|
+
captchaVisible$: Y(!1),
|
|
2918
|
+
themeMode$: Y("light"),
|
|
2919
|
+
isReadingHistory$: Y(!1),
|
|
2920
|
+
scrollToEnd: () => Va.value()
|
|
2921
|
+
}, ds = () => {
|
|
2922
|
+
const t = mt(null), e = mt(-1 / 0);
|
|
2923
|
+
xt(() => {
|
|
2856
2924
|
const a = t.current;
|
|
2857
2925
|
if (!a)
|
|
2858
2926
|
return;
|
|
2859
2927
|
const o = () => {
|
|
2860
|
-
|
|
2928
|
+
W.isReadingHistory$.value = !1, a.scrollTo({
|
|
2861
2929
|
top: a.scrollHeight,
|
|
2862
2930
|
behavior: "instant"
|
|
2863
2931
|
});
|
|
2864
2932
|
};
|
|
2865
|
-
|
|
2933
|
+
Va.value = o;
|
|
2866
2934
|
const n = () => e.current = performance.now(), r = () => {
|
|
2867
|
-
a.scrollHeight - a.scrollTop - a.clientHeight <= 24 ?
|
|
2935
|
+
a.scrollHeight - a.scrollTop - a.clientHeight <= 24 ? W.isReadingHistory$.value = !1 : performance.now() - e.current < 1e3 && (W.isReadingHistory$.value = !0);
|
|
2868
2936
|
};
|
|
2869
2937
|
a.addEventListener("scroll", r, {
|
|
2870
2938
|
passive: !0
|
|
2871
2939
|
});
|
|
2872
|
-
for (const l of
|
|
2940
|
+
for (const l of Ni)
|
|
2873
2941
|
a.addEventListener(l, n, {
|
|
2874
2942
|
passive: !0
|
|
2875
2943
|
});
|
|
2876
2944
|
const s = new ResizeObserver(() => {
|
|
2877
|
-
|
|
2945
|
+
W.isReadingHistory$.peek() || o();
|
|
2878
2946
|
});
|
|
2879
2947
|
return s.observe(a), a.firstElementChild && s.observe(a.firstElementChild), () => {
|
|
2880
2948
|
a.removeEventListener("scroll", r);
|
|
2881
|
-
for (const l of
|
|
2949
|
+
for (const l of Ni)
|
|
2882
2950
|
a.removeEventListener(l, n);
|
|
2883
2951
|
s.disconnect();
|
|
2884
2952
|
};
|
|
2885
2953
|
}, []);
|
|
2886
|
-
const i =
|
|
2887
|
-
setSubmission: (o, n) =>
|
|
2954
|
+
const i = ht(() => ({
|
|
2955
|
+
setSubmission: (o, n) => C.setSubmission(o, n),
|
|
2888
2956
|
captcha: {
|
|
2889
2957
|
container: () => {
|
|
2890
2958
|
var o;
|
|
2891
2959
|
return ((o = t.current) == null ? void 0 : o.querySelector("[data-captcha-slot]")) ?? null;
|
|
2892
2960
|
},
|
|
2893
2961
|
get theme() {
|
|
2894
|
-
return
|
|
2962
|
+
return W.themeMode$.peek();
|
|
2895
2963
|
},
|
|
2896
2964
|
reveal: (o) => {
|
|
2897
|
-
|
|
2965
|
+
W.captchaVisible$.value = o, o && requestAnimationFrame(() => {
|
|
2898
2966
|
var n, r;
|
|
2899
|
-
(r = (n = t.current) == null ? void 0 : n.querySelector("[data-captcha-slot]")) == null || r.focus(),
|
|
2967
|
+
(r = (n = t.current) == null ? void 0 : n.querySelector("[data-captcha-slot]")) == null || r.focus(), W.scrollToEnd();
|
|
2900
2968
|
});
|
|
2901
2969
|
}
|
|
2902
2970
|
},
|
|
@@ -2905,37 +2973,37 @@ const lr = Aa(() => import("./chatbot-body-505ef858.js").then((t) => t.ChatbotBo
|
|
|
2905
2973
|
signal: n,
|
|
2906
2974
|
groupId: r
|
|
2907
2975
|
}) => {
|
|
2908
|
-
if (await
|
|
2976
|
+
if (await Ze(o).with({
|
|
2909
2977
|
author: "bot",
|
|
2910
2978
|
type: "text"
|
|
2911
2979
|
}, async (s) => {
|
|
2912
2980
|
if (n != null && n.aborted)
|
|
2913
|
-
throw new
|
|
2914
|
-
|
|
2915
|
-
const l = Math.min(Math.max(20, s.text.length), 100) *
|
|
2981
|
+
throw new ft();
|
|
2982
|
+
W.isBotTyping$.value = !0;
|
|
2983
|
+
const l = Math.min(Math.max(20, s.text.length), 100) * br;
|
|
2916
2984
|
try {
|
|
2917
|
-
await
|
|
2985
|
+
await vr(l, n);
|
|
2918
2986
|
} finally {
|
|
2919
|
-
|
|
2987
|
+
W.isBotTyping$.value = !1;
|
|
2920
2988
|
}
|
|
2921
2989
|
}).otherwise(async () => {
|
|
2922
2990
|
}), n != null && n.aborted)
|
|
2923
|
-
throw new
|
|
2924
|
-
|
|
2991
|
+
throw new ft();
|
|
2992
|
+
C.addMessage(o, r);
|
|
2925
2993
|
},
|
|
2926
2994
|
input: ({
|
|
2927
2995
|
input: o,
|
|
2928
2996
|
signal: n
|
|
2929
2997
|
}) => {
|
|
2930
2998
|
if (n != null && n.aborted)
|
|
2931
|
-
throw new
|
|
2932
|
-
return
|
|
2999
|
+
throw new ft();
|
|
3000
|
+
return C.setInput(o), new Promise((r) => {
|
|
2933
3001
|
const s = (l) => {
|
|
2934
3002
|
if (n != null && n.aborted)
|
|
2935
|
-
throw new
|
|
2936
|
-
e.current = -1 / 0,
|
|
3003
|
+
throw new ft();
|
|
3004
|
+
e.current = -1 / 0, C.setInput(void 0), o.key && C.setSubmission(o.key, l), r(l);
|
|
2937
3005
|
};
|
|
2938
|
-
|
|
3006
|
+
W.onSubmitSuccessFn$.value = s;
|
|
2939
3007
|
});
|
|
2940
3008
|
}
|
|
2941
3009
|
}), []);
|
|
@@ -2944,7 +3012,7 @@ const lr = Aa(() => import("./chatbot-body-505ef858.js").then((t) => t.ChatbotBo
|
|
|
2944
3012
|
chatService: i
|
|
2945
3013
|
};
|
|
2946
3014
|
};
|
|
2947
|
-
var
|
|
3015
|
+
var _r = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], mr = {
|
|
2948
3016
|
light: {
|
|
2949
3017
|
1: [98.8, 0.015],
|
|
2950
3018
|
2: [97.8, 0.018],
|
|
@@ -2973,15 +3041,15 @@ var gr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], br = {
|
|
|
2973
3041
|
11: [79.3, 0.12],
|
|
2974
3042
|
12: [95, 0.04]
|
|
2975
3043
|
}
|
|
2976
|
-
},
|
|
2977
|
-
const [o, n] =
|
|
3044
|
+
}, yr = (t, e = 1, i) => (a) => {
|
|
3045
|
+
const [o, n] = mr[i][a];
|
|
2978
3046
|
return "oklch(" + o + "% " + n * e + " " + t + ")";
|
|
2979
3047
|
}, ce = (t) => {
|
|
2980
|
-
const e =
|
|
3048
|
+
const e = yr(t.hue, t.chroma, t.mode);
|
|
2981
3049
|
return Object.fromEntries(
|
|
2982
|
-
|
|
3050
|
+
_r.map((i) => [t.prefix + i, t.transform(e(i))])
|
|
2983
3051
|
);
|
|
2984
|
-
}, de = (t) => t,
|
|
3052
|
+
}, de = (t) => t, xr = (t) => {
|
|
2985
3053
|
const e = Object.keys(t).flatMap((i) => {
|
|
2986
3054
|
const a = t[i];
|
|
2987
3055
|
return typeof a == "object" && a !== null ? Object.keys(a).map((o) => {
|
|
@@ -2990,28 +3058,28 @@ var gr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], br = {
|
|
|
2990
3058
|
}) : [[i, a]];
|
|
2991
3059
|
});
|
|
2992
3060
|
return Object.fromEntries(e);
|
|
2993
|
-
},
|
|
3061
|
+
}, Nt = (t) => !!t && typeof t == "object" && !Array.isArray(t), Ae = (t, ...e) => {
|
|
2994
3062
|
if (!e.length)
|
|
2995
3063
|
return t;
|
|
2996
3064
|
const i = e.shift();
|
|
2997
|
-
if (
|
|
3065
|
+
if (Nt(t) && Nt(i))
|
|
2998
3066
|
for (const a in i) {
|
|
2999
3067
|
const o = i[a];
|
|
3000
|
-
if (
|
|
3068
|
+
if (Nt(o)) {
|
|
3001
3069
|
t[a] || Object.assign(t, { [a]: {} });
|
|
3002
3070
|
const n = t[a];
|
|
3003
|
-
|
|
3071
|
+
Nt(n) && Ae(n, o);
|
|
3004
3072
|
} else
|
|
3005
3073
|
Object.assign(t, { [a]: i[a] });
|
|
3006
3074
|
}
|
|
3007
|
-
return
|
|
3008
|
-
},
|
|
3075
|
+
return Ae(t, ...e);
|
|
3076
|
+
}, kr = (t) => {
|
|
3009
3077
|
function e(i, a) {
|
|
3010
3078
|
const o = [t.prefix, a.toString().replace(/\./g, "-")].join("");
|
|
3011
3079
|
return i === "declaration" ? `--${o}` : `var(--${o})`;
|
|
3012
3080
|
}
|
|
3013
3081
|
return e;
|
|
3014
|
-
},
|
|
3082
|
+
}, $r = () => ({
|
|
3015
3083
|
core: (t) => ({
|
|
3016
3084
|
semantic: (e) => ({
|
|
3017
3085
|
component: (i) => ({
|
|
@@ -3021,9 +3089,9 @@ var gr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], br = {
|
|
|
3021
3089
|
core: r,
|
|
3022
3090
|
semantic: r,
|
|
3023
3091
|
raw: { core: s, semantic: l }
|
|
3024
|
-
}), u =
|
|
3025
|
-
const b = [
|
|
3026
|
-
return typeof g == "object" ? Object.entries(g).flatMap((
|
|
3092
|
+
}), u = xr(Ae(s, l, d)), c = ([f, g], p) => {
|
|
3093
|
+
const b = [p, f].filter(Boolean).join(".");
|
|
3094
|
+
return typeof g == "object" ? Object.entries(g).flatMap((k) => c(k, b)) : [[a.getToken("declaration", b), g]];
|
|
3027
3095
|
};
|
|
3028
3096
|
return {
|
|
3029
3097
|
values: u,
|
|
@@ -3035,7 +3103,7 @@ var gr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], br = {
|
|
|
3035
3103
|
})
|
|
3036
3104
|
})
|
|
3037
3105
|
});
|
|
3038
|
-
const [ue, pe,
|
|
3106
|
+
const [ue, pe, Fi] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], Sr = $r().core(({
|
|
3039
3107
|
theme: t
|
|
3040
3108
|
}) => ({
|
|
3041
3109
|
color: {
|
|
@@ -3094,7 +3162,7 @@ const [ue, pe, Di] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], xr = y
|
|
|
3094
3162
|
copy: t("color.n-11"),
|
|
3095
3163
|
"copy-hover": t("color.n-12"),
|
|
3096
3164
|
"copy-active": t("color.n-12"),
|
|
3097
|
-
bg:
|
|
3165
|
+
bg: Fi,
|
|
3098
3166
|
"bg-hover": a("n-10", 0.2),
|
|
3099
3167
|
"bg-active": a("n-10", 0.3)
|
|
3100
3168
|
}
|
|
@@ -3120,7 +3188,7 @@ const [ue, pe, Di] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], xr = y
|
|
|
3120
3188
|
},
|
|
3121
3189
|
"status-bar": {
|
|
3122
3190
|
bg: o("n-2", 0.8),
|
|
3123
|
-
"bg-button":
|
|
3191
|
+
"bg-button": Fi,
|
|
3124
3192
|
"bg-button-hover": o("n-10", 0.4),
|
|
3125
3193
|
"bg-button-active": o("n-10", 0.5)
|
|
3126
3194
|
},
|
|
@@ -3133,18 +3201,18 @@ const [ue, pe, Di] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], xr = y
|
|
|
3133
3201
|
success: e.mode === "dark" ? "#4CAF50" : "#2E7D32"
|
|
3134
3202
|
}
|
|
3135
3203
|
};
|
|
3136
|
-
}),
|
|
3204
|
+
}), Cr = kr({
|
|
3137
3205
|
prefix: "i-"
|
|
3138
|
-
}),
|
|
3139
|
-
const e =
|
|
3206
|
+
}), Er = (t) => {
|
|
3207
|
+
const e = Sr.from({
|
|
3140
3208
|
theme: t,
|
|
3141
|
-
getToken:
|
|
3209
|
+
getToken: Cr
|
|
3142
3210
|
}), i = Object.entries(e.declarations).map(([a, o]) => `${a}: ${o};`);
|
|
3143
|
-
return `${
|
|
3211
|
+
return `${je} {
|
|
3144
3212
|
${i.concat(i).join(`
|
|
3145
3213
|
`)}
|
|
3146
3214
|
}`;
|
|
3147
|
-
},
|
|
3215
|
+
}, Pr = "14.17.0", Tr = (t, e = Pr) => e === void 0 ? t : {
|
|
3148
3216
|
fetch: (i, a) => {
|
|
3149
3217
|
if (i !== "/flow/submit")
|
|
3150
3218
|
return t.fetch(i, a);
|
|
@@ -3155,15 +3223,15 @@ ${i.concat(i).join(`
|
|
|
3155
3223
|
});
|
|
3156
3224
|
}
|
|
3157
3225
|
};
|
|
3158
|
-
class
|
|
3226
|
+
class Mi extends Ga {
|
|
3159
3227
|
}
|
|
3160
|
-
const
|
|
3161
|
-
_internal_domManager: t =
|
|
3228
|
+
const us = ({
|
|
3229
|
+
_internal_domManager: t = gr(),
|
|
3162
3230
|
theme: e,
|
|
3163
3231
|
terms: i,
|
|
3164
3232
|
feedback: a,
|
|
3165
3233
|
jobAlerts: o
|
|
3166
|
-
}) =>
|
|
3234
|
+
}) => qa(({
|
|
3167
3235
|
apiClient: n,
|
|
3168
3236
|
rpcClient: r,
|
|
3169
3237
|
logger: s,
|
|
@@ -3172,79 +3240,80 @@ const ss = ({
|
|
|
3172
3240
|
env: u
|
|
3173
3241
|
}) => {
|
|
3174
3242
|
let c = !1, f = 0;
|
|
3175
|
-
const g =
|
|
3243
|
+
const g = Tr(n), p = d && u ? Za({
|
|
3176
3244
|
environment: u,
|
|
3177
3245
|
publishableKey: d,
|
|
3178
3246
|
logger: s
|
|
3179
|
-
}) : void 0, b = (v) => v === f,
|
|
3247
|
+
}) : void 0, b = (v) => v === f, k = () => {
|
|
3180
3248
|
if (typeof window > "u")
|
|
3181
3249
|
return;
|
|
3182
|
-
f++,
|
|
3183
|
-
}),
|
|
3250
|
+
f++, V.flushStateData().catch(() => {
|
|
3251
|
+
}), C.cancelCurrentFlow(), W.isBotTyping$.value = !1;
|
|
3184
3252
|
const v = t.getChatbotElement();
|
|
3185
|
-
v && (
|
|
3186
|
-
},
|
|
3253
|
+
v && (pt(null, v), v.remove()), c = !1, s.info("Chatbot plugin destroyed");
|
|
3254
|
+
}, x = () => {
|
|
3187
3255
|
if (typeof window > "u")
|
|
3188
3256
|
return;
|
|
3189
|
-
const v = f, _ = [
|
|
3257
|
+
const v = f, _ = [U("style", {
|
|
3190
3258
|
id: "inploi-chatbot-styles"
|
|
3191
|
-
},
|
|
3259
|
+
}, wr), U("style", {
|
|
3192
3260
|
id: "inploi-chatbot-theme"
|
|
3193
|
-
},
|
|
3194
|
-
|
|
3195
|
-
const y =
|
|
3196
|
-
if (
|
|
3261
|
+
}, Er(e))], $ = t.getOrCreateChatbotElement();
|
|
3262
|
+
W.themeMode$.value = e.mode;
|
|
3263
|
+
const y = Y(!1);
|
|
3264
|
+
if (pt(U(q, {}, [_, U(hr, {
|
|
3265
|
+
env: u,
|
|
3197
3266
|
rpcClient: r,
|
|
3198
3267
|
apiClient: g,
|
|
3199
3268
|
logger: s,
|
|
3200
3269
|
analytics: l,
|
|
3201
|
-
talentBankClient:
|
|
3270
|
+
talentBankClient: p,
|
|
3202
3271
|
params: {
|
|
3203
3272
|
theme: e,
|
|
3204
3273
|
terms: i,
|
|
3205
3274
|
feedback: a
|
|
3206
3275
|
},
|
|
3207
3276
|
feedbackReady: y
|
|
3208
|
-
})]),
|
|
3209
|
-
const
|
|
3210
|
-
var
|
|
3277
|
+
})]), $), a) {
|
|
3278
|
+
const Z = (H) => {
|
|
3279
|
+
var st, Qe;
|
|
3211
3280
|
if (!b(v))
|
|
3212
3281
|
return;
|
|
3213
|
-
const
|
|
3214
|
-
|
|
3215
|
-
instance:
|
|
3282
|
+
const O = (st = t.getChatbotElement()) == null ? void 0 : st.querySelector("dialog");
|
|
3283
|
+
O && Ir({
|
|
3284
|
+
instance: H({
|
|
3216
3285
|
rpcClient: r,
|
|
3217
3286
|
apiClient: n,
|
|
3218
3287
|
logger: s,
|
|
3219
3288
|
analytics: l
|
|
3220
3289
|
}),
|
|
3221
3290
|
theme: e,
|
|
3222
|
-
terms: ((
|
|
3223
|
-
host:
|
|
3224
|
-
}).then(() => void (y.value = !0), (
|
|
3291
|
+
terms: ((Qe = a.params) == null ? void 0 : Qe.terms) ?? {},
|
|
3292
|
+
host: O
|
|
3293
|
+
}).then(() => void (y.value = !0), (Ya) => s.error("Error rendering feedback plugin", Ya));
|
|
3225
3294
|
};
|
|
3226
3295
|
a.plugin instanceof Promise ? a.plugin.then(({
|
|
3227
|
-
feedbackPlugin:
|
|
3296
|
+
feedbackPlugin: H
|
|
3228
3297
|
}) => {
|
|
3229
|
-
|
|
3230
|
-
}).catch((
|
|
3231
|
-
s.error("Error preparing feedback plugin",
|
|
3232
|
-
}) :
|
|
3298
|
+
Z(H());
|
|
3299
|
+
}).catch((H) => {
|
|
3300
|
+
s.error("Error preparing feedback plugin", H);
|
|
3301
|
+
}) : Z(a.plugin);
|
|
3233
3302
|
}
|
|
3234
3303
|
c = !0;
|
|
3235
|
-
},
|
|
3304
|
+
}, I = async (v, _) => {
|
|
3236
3305
|
if (!b(_))
|
|
3237
3306
|
return;
|
|
3238
|
-
|
|
3239
|
-
context:
|
|
3307
|
+
yo({
|
|
3308
|
+
context: Be(v.jobContext, v.context || {}),
|
|
3240
3309
|
schema: v.flow.context_schema,
|
|
3241
3310
|
logger: s
|
|
3242
3311
|
});
|
|
3243
|
-
const
|
|
3312
|
+
const $ = await C.prepareFlow({
|
|
3244
3313
|
...v,
|
|
3245
3314
|
jobAlerts: v.jobAlerts ?? o
|
|
3246
3315
|
});
|
|
3247
|
-
b(_) &&
|
|
3316
|
+
b(_) && C.commitFlow($);
|
|
3248
3317
|
};
|
|
3249
3318
|
return {
|
|
3250
3319
|
/** Optionally eagerly renders the interface ahead of needing the chatbot. */
|
|
@@ -3253,7 +3322,7 @@ const ss = ({
|
|
|
3253
3322
|
try {
|
|
3254
3323
|
if (c)
|
|
3255
3324
|
return;
|
|
3256
|
-
|
|
3325
|
+
x(), s.info("Chatbot plugin prepared");
|
|
3257
3326
|
} catch (v) {
|
|
3258
3327
|
s.error("Error preparing chatbot plugin", v);
|
|
3259
3328
|
}
|
|
@@ -3262,20 +3331,20 @@ const ss = ({
|
|
|
3262
3331
|
* @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.
|
|
3263
3332
|
*/
|
|
3264
3333
|
fetchFlowByJobId: async (v, _) => {
|
|
3265
|
-
const
|
|
3266
|
-
return r.request(
|
|
3334
|
+
const $ = (_ == null ? void 0 : _.idType) === "inploi" ? "internal" : "external";
|
|
3335
|
+
return r.request(So, {
|
|
3267
3336
|
params: {
|
|
3268
3337
|
id: v
|
|
3269
3338
|
},
|
|
3270
3339
|
searchParams: {
|
|
3271
|
-
id_type:
|
|
3340
|
+
id_type: $
|
|
3272
3341
|
}
|
|
3273
3342
|
}).catch((y) => {
|
|
3274
|
-
throw
|
|
3343
|
+
throw Sa({
|
|
3275
3344
|
name: "ApiError",
|
|
3276
|
-
message:
|
|
3345
|
+
message: wt.string,
|
|
3277
3346
|
status: 410,
|
|
3278
|
-
data:
|
|
3347
|
+
data: wt.union({
|
|
3279
3348
|
job: {
|
|
3280
3349
|
status: "closed"
|
|
3281
3350
|
}
|
|
@@ -3288,15 +3357,16 @@ const ss = ({
|
|
|
3288
3357
|
}
|
|
3289
3358
|
}
|
|
3290
3359
|
})
|
|
3291
|
-
}, y) ? new
|
|
3360
|
+
}, y) ? new Mi(y.message, y.status, y.data) : y;
|
|
3292
3361
|
}).then((y) => ({
|
|
3293
3362
|
flow: y.flow,
|
|
3294
3363
|
title: y.job.title,
|
|
3295
3364
|
flowKeys: [y.job.id, ...(_ == null ? void 0 : _.flowKeys) ?? []],
|
|
3296
|
-
job:
|
|
3365
|
+
job: $o(y, {
|
|
3297
3366
|
id: v,
|
|
3298
|
-
idType:
|
|
3367
|
+
idType: $
|
|
3299
3368
|
}),
|
|
3369
|
+
employer: y.company.name,
|
|
3300
3370
|
..._,
|
|
3301
3371
|
jobContext: y.context,
|
|
3302
3372
|
context: {
|
|
@@ -3305,21 +3375,21 @@ const ss = ({
|
|
|
3305
3375
|
}
|
|
3306
3376
|
}));
|
|
3307
3377
|
},
|
|
3308
|
-
fetchFlowById: async (v, _) => r.request(
|
|
3378
|
+
fetchFlowById: async (v, _) => r.request(Co, {
|
|
3309
3379
|
params: {
|
|
3310
3380
|
id: v
|
|
3311
3381
|
}
|
|
3312
|
-
}).then((
|
|
3382
|
+
}).then(($) => {
|
|
3313
3383
|
var y;
|
|
3314
3384
|
return {
|
|
3315
|
-
flow:
|
|
3385
|
+
flow: $.flow,
|
|
3316
3386
|
title: "Chatbot",
|
|
3317
3387
|
flowKeys: (_ == null ? void 0 : _.flowKeys) ?? [],
|
|
3318
3388
|
..._,
|
|
3319
3389
|
analytics: {
|
|
3320
3390
|
customProperties: {
|
|
3321
|
-
flow_id:
|
|
3322
|
-
flow_version:
|
|
3391
|
+
flow_id: $.flow.id,
|
|
3392
|
+
flow_version: $.flow.version,
|
|
3323
3393
|
...(y = _ == null ? void 0 : _.analytics) == null ? void 0 : y.customProperties
|
|
3324
3394
|
}
|
|
3325
3395
|
}
|
|
@@ -3328,15 +3398,15 @@ const ss = ({
|
|
|
3328
3398
|
open: async (v) => {
|
|
3329
3399
|
if (!(typeof window > "u"))
|
|
3330
3400
|
try {
|
|
3331
|
-
|
|
3401
|
+
C.cancelCurrentFlow(), C.viewState$.value = "maximised", c || x();
|
|
3332
3402
|
const _ = f;
|
|
3333
|
-
v instanceof Promise ? (
|
|
3403
|
+
v instanceof Promise ? (C.current$.value = {
|
|
3334
3404
|
state: "loading"
|
|
3335
|
-
}, v.then((
|
|
3336
|
-
b(_) && (s.error("Error loading flow",
|
|
3337
|
-
state:
|
|
3405
|
+
}, v.then(($) => I($, _)).catch(($) => {
|
|
3406
|
+
b(_) && (s.error("Error loading flow", $), C.current$.value = {
|
|
3407
|
+
state: $ instanceof Mi ? "closed" : "error"
|
|
3338
3408
|
});
|
|
3339
|
-
})) : await
|
|
3409
|
+
})) : await I(v, _);
|
|
3340
3410
|
} catch (_) {
|
|
3341
3411
|
s.error("Error starting flow", _);
|
|
3342
3412
|
}
|
|
@@ -3347,8 +3417,8 @@ const ss = ({
|
|
|
3347
3417
|
* keeps such a candidate on this chatbot rather than move them mid-application (PROD-7342).
|
|
3348
3418
|
*/
|
|
3349
3419
|
hasApplicationInProgress: async (v) => {
|
|
3350
|
-
const _ = await
|
|
3351
|
-
return _ !== void 0 &&
|
|
3420
|
+
const _ = await V.getStateData(v.flow, v.flowKeys, v.context ?? {});
|
|
3421
|
+
return _ !== void 0 && Oi({
|
|
3352
3422
|
data: _,
|
|
3353
3423
|
nodes: v.flow.nodes
|
|
3354
3424
|
});
|
|
@@ -3358,17 +3428,17 @@ const ss = ({
|
|
|
3358
3428
|
* cannot load this page's flow to ask `hasApplicationInProgress` (CF-06). Without the flow's nodes, any saved
|
|
3359
3429
|
* answer counts.
|
|
3360
3430
|
*/
|
|
3361
|
-
hasAnyApplicationInProgress: async () => (await
|
|
3431
|
+
hasAnyApplicationInProgress: async () => (await V.getAllStateData()).some((v) => Oi({
|
|
3362
3432
|
data: v,
|
|
3363
3433
|
nodes: []
|
|
3364
3434
|
})),
|
|
3365
3435
|
close: async () => {
|
|
3366
|
-
typeof window > "u" || (
|
|
3436
|
+
typeof window > "u" || (C.cancelCurrentFlow(), s.info("Closed flow from an external source"));
|
|
3367
3437
|
},
|
|
3368
|
-
destroy:
|
|
3438
|
+
destroy: k
|
|
3369
3439
|
};
|
|
3370
3440
|
});
|
|
3371
|
-
function
|
|
3441
|
+
function Ir({
|
|
3372
3442
|
instance: t,
|
|
3373
3443
|
terms: e,
|
|
3374
3444
|
theme: i,
|
|
@@ -3399,60 +3469,61 @@ function Er({
|
|
|
3399
3469
|
});
|
|
3400
3470
|
}
|
|
3401
3471
|
export {
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3472
|
+
V as $,
|
|
3473
|
+
Jr as A,
|
|
3474
|
+
ln as B,
|
|
3475
|
+
Ar as C,
|
|
3476
|
+
cs as D,
|
|
3477
|
+
Xr as E,
|
|
3478
|
+
Qr as F,
|
|
3479
|
+
es as G,
|
|
3480
|
+
ls as H,
|
|
3481
|
+
ts as I,
|
|
3482
|
+
vo as J,
|
|
3483
|
+
Mr as K,
|
|
3484
|
+
Ki as L,
|
|
3485
|
+
as as M,
|
|
3486
|
+
W as N,
|
|
3487
|
+
ft as O,
|
|
3488
|
+
Or as P,
|
|
3489
|
+
_o as Q,
|
|
3490
|
+
Gr as R,
|
|
3491
|
+
Zr as S,
|
|
3492
|
+
Y as T,
|
|
3493
|
+
Ze as U,
|
|
3494
|
+
lo as V,
|
|
3495
|
+
po as W,
|
|
3496
|
+
wt as X,
|
|
3497
|
+
ds as Y,
|
|
3428
3498
|
wo as Z,
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3499
|
+
Kr as _,
|
|
3500
|
+
Xt as a,
|
|
3501
|
+
Te as a0,
|
|
3502
|
+
lr as a1,
|
|
3503
|
+
us as a2,
|
|
3504
|
+
Lr as b,
|
|
3505
|
+
Ge as c,
|
|
3506
|
+
Xe as d,
|
|
3507
|
+
fa as e,
|
|
3508
|
+
Br as f,
|
|
3509
|
+
mt as g,
|
|
3439
3510
|
Yr as h,
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3511
|
+
Ra as i,
|
|
3512
|
+
no as j,
|
|
3513
|
+
qr as k,
|
|
3443
3514
|
Nr as l,
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3515
|
+
Rr as m,
|
|
3516
|
+
xt as n,
|
|
3517
|
+
h as o,
|
|
3447
3518
|
Fr as p,
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3519
|
+
q,
|
|
3520
|
+
nr as r,
|
|
3521
|
+
C as s,
|
|
3522
|
+
ht as t,
|
|
3523
|
+
Dr as u,
|
|
3524
|
+
Hr as v,
|
|
3454
3525
|
Wr as w,
|
|
3455
3526
|
Vr as x,
|
|
3456
|
-
|
|
3457
|
-
|
|
3527
|
+
Ur as y,
|
|
3528
|
+
Ue as z
|
|
3458
3529
|
};
|