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