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