@inploi/plugin-chatbot 13.1.0 → 14.0.1
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-02c464c0.js → chatbot-body-77c91e40.js} +1707 -1599
- package/dist/chatbot-body-a078e4eb.cjs +5 -0
- package/dist/chatbot.idb.d.ts +1 -0
- package/dist/chatbot.state.d.ts +48 -0
- package/dist/chatbot.utils.d.ts +37 -0
- package/dist/components/correction.test.d.ts +1 -0
- package/dist/i18n.d.ts +24 -18
- package/dist/{index-fc976df1.js → index-21fc767e.js} +919 -867
- package/dist/index-bc9b2b2e.cjs +5 -0
- package/dist/interpreter.d.ts +2 -1
- 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/tokens.d.ts +4 -4
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/dist/chatbot-body-9dd967cb.cjs +0 -1
- package/dist/index-a3ad2e04.cjs +0 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { endpoint as
|
|
2
|
-
var
|
|
3
|
-
function
|
|
4
|
-
return { lang: (t == null ? void 0 : t.lang) ?? (
|
|
1
|
+
import { endpoint as $i, typed as zo, createPlugin as Oo, createTalentBankClient as jo } from "@inploi/sdk";
|
|
2
|
+
var G;
|
|
3
|
+
function Si(t) {
|
|
4
|
+
return { lang: (t == null ? void 0 : t.lang) ?? (G == null ? void 0 : G.lang), message: t == null ? void 0 : t.message, abortEarly: (t == null ? void 0 : t.abortEarly) ?? (G == null ? void 0 : G.abortEarly), abortPipeEarly: (t == null ? void 0 : t.abortPipeEarly) ?? (G == null ? void 0 : G.abortPipeEarly) };
|
|
5
5
|
}
|
|
6
6
|
var Gt;
|
|
7
|
-
function
|
|
7
|
+
function No(t) {
|
|
8
8
|
return Gt == null ? void 0 : Gt.get(t);
|
|
9
9
|
}
|
|
10
10
|
var Zt;
|
|
@@ -12,63 +12,63 @@ function Do(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 X(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 ? Do(c.lang) : null) ?? o.message ?? No(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
|
+
X(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 : X(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 : X(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 : X(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" && (X(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
|
+
X(this, "type", i, o);
|
|
141
141
|
return i;
|
|
142
142
|
} };
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
return { kind: "schema", type: "optional", reference:
|
|
144
|
+
function q(t, e) {
|
|
145
|
+
return { kind: "schema", type: "optional", reference: q, 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 Ii(t, e, i) {
|
|
152
|
+
return { kind: "schema", type: "record", reference: Ii, 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,51 +181,51 @@ 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
|
+
X(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 : X(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)
|
|
199
199
|
e ? e.push(...i.issues) : e = i.issues;
|
|
200
200
|
return e;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
return { kind: "schema", type: "union", reference:
|
|
202
|
+
function Ie(t, e) {
|
|
203
|
+
return { kind: "schema", type: "union", reference: Ie, 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
|
+
X(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
|
+
X(this, "type", i, o, { issues: Ve(n) });
|
|
229
229
|
}
|
|
230
230
|
return i;
|
|
231
231
|
} };
|
|
@@ -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 }), ze = (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 ze(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 = ze(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(ze(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: q(Ft(M())), button_text: q(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: q(zi()) });
|
|
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,
|
|
353
|
-
function
|
|
379
|
+
}, Ct, h, Ni, Di, 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;
|
|
380
|
+
function Z(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 ?? ++Ni };
|
|
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,65 +428,65 @@ 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 = Z({}, 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, z = e.length;
|
|
441
|
+
for (i.__k = [], l = 0; l < z; 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 > z - x ? (E += v - x, y = !0) : E-- : E = v < x && v == x - 1 ? v - x : 0), x = l + E, y = y || v == l && !_, typeof 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
|
-
function
|
|
451
|
+
function Q(t, e) {
|
|
425
452
|
return e = e || [], t == null || typeof t == "boolean" || (Kt(t) ? t.some(function(i) {
|
|
426
|
-
|
|
453
|
+
Q(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, z = 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 z == "function") {
|
|
530
|
+
if (x = e.props, v = (u = z.contextType) && o[u.__c], _ = u ? v ? v.props.value : u.__ : o, i.__c ? j = (l = e.__c = i.__c).__ = l.__E : ("prototype" in z && z.prototype.render ? e.__c = l = new z(x, _) : (e.__c = l = new L(x, _), l.constructor = z, 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), z.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = Z({}, l.__s)), Z(l.__s, z.getDerivedStateFromProps(x, l.__s))), g = l.props, f = l.state, l.__v = e, w)
|
|
531
|
+
z.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), l.componentDidMount != null && l.__h.push(l.componentDidMount);
|
|
505
532
|
else {
|
|
506
|
-
if (
|
|
533
|
+
if (z.getDerivedStateFromProps == null && x !== g && l.componentWillReceiveProps != null && l.componentWillReceiveProps(x, _), !l.__e && (l.shouldComponentUpdate != null && l.shouldComponentUpdate(x, l.__s, _) === !1 || e.__v === i.__v)) {
|
|
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 z && z.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 =
|
|
553
|
+
l.state = l.__s, l.getChildContext != null && (o = Z(Z({}, 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 = Z({}, 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
|
+
} }, Ni = 0, Di = function(t) {
|
|
650
677
|
return t != null && t.constructor === void 0;
|
|
651
|
-
},
|
|
678
|
+
}, L.prototype.setState = function(t, e) {
|
|
652
679
|
var i;
|
|
653
|
-
i = this.__s != null && this.__s !== this.state ? this.__s : this.__s =
|
|
654
|
-
},
|
|
680
|
+
i = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Z({}, this.state), typeof t == "function" && (t = t(Z({}, i), this.props)), t && Z(i, t), t != null && this.__v && (e && this._sb.push(e), de(this));
|
|
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 Ne() {
|
|
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 = Ne, De = (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 = [], zt = [], 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: zt }), 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 = zt, 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 !== zt && (i.__ = i.__V), i.i = void 0, i.__V = zt;
|
|
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
|
|
918
|
-
return t == null ? null :
|
|
919
|
-
},
|
|
920
|
-
return t ?
|
|
944
|
+
var ri = function(t, e) {
|
|
945
|
+
return t == null ? null : Q(Q(t).map(e));
|
|
946
|
+
}, da = { map: ri, forEach: ri, count: function(t) {
|
|
947
|
+
return t ? Q(t).length : 0;
|
|
921
948
|
}, only: function(t) {
|
|
922
|
-
var e =
|
|
949
|
+
var e = Q(t);
|
|
923
950
|
if (e.length !== 1)
|
|
924
951
|
throw "Children.only";
|
|
925
952
|
return e[0];
|
|
926
|
-
}, toArray:
|
|
953
|
+
}, toArray: Q }, 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,23 +1057,23 @@ 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();
|
|
1049
|
-
var e =
|
|
1076
|
+
var e = Q(t.children);
|
|
1050
1077
|
t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
|
|
1051
1078
|
for (var i = e.length; i--; )
|
|
1052
1079
|
this.o.set(e[i], this.u = [1, 0, this.u]);
|
|
@@ -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
|
-
o == "select" && a.multiple && Array.isArray(a.value) && (a.value =
|
|
1128
|
+
o == "select" && a.multiple && Array.isArray(a.value) && (a.value = Q(i.children).forEach(function(c) {
|
|
1102
1129
|
c.props.selected = a.value.indexOf(c.props.value) != -1;
|
|
1103
|
-
})), o == "select" && a.defaultValue != null && (a.value =
|
|
1130
|
+
})), o == "select" && a.defaultValue != null && (a.value = Q(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 Ia(t) {
|
|
1134
1161
|
return t && (t.base || t.nodeType === 1 && t) || null;
|
|
1135
1162
|
}
|
|
1136
|
-
var
|
|
1163
|
+
var za = 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 Na(t) {
|
|
1145
1172
|
return t;
|
|
1146
1173
|
}
|
|
1147
|
-
function
|
|
1148
|
-
return [!1,
|
|
1174
|
+
function Da() {
|
|
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
|
|
1188
|
+
var un = { useState: Gi, useId: aa, useReducer: Zi, useEffect: Ji, useLayoutEffect: gt, useInsertionEffect: Aa, useTransition: Da, useDeferredValue: Na, 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: Ia, Component: L, PureComponent: he, memo: sa, forwardRef: ca, flushSync: Oa, unstable_batchedUpdates: za, StrictMode: ja, Suspense: xt, SuspenseList: mt, lazy: ro, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Ca };
|
|
1189
|
+
const D = 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[D], P = (t, e, i) => {
|
|
1163
1190
|
if (jt(t)) {
|
|
1164
|
-
const o = t[
|
|
1165
|
-
return a &&
|
|
1191
|
+
const o = t[D](), { 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,33 +1197,33 @@ 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[D]().matcherType === "optional") && P(a, e[o], i);
|
|
1218
|
+
var r;
|
|
1192
1219
|
});
|
|
1193
1220
|
}
|
|
1194
1221
|
return Object.is(e, t);
|
|
1195
|
-
},
|
|
1222
|
+
}, N = (t) => {
|
|
1196
1223
|
var e, i, o;
|
|
1197
|
-
return fe(t) ? jt(t) ? (e = (i = (o = t[
|
|
1224
|
+
return fe(t) ? jt(t) ? (e = (i = (o = t[D]()).getSelectionKeys) == null ? void 0 : i.call(o)) != null ? e : [] : Array.isArray(t) ? $t(t, N) : $t(Object.values(t), N) : [];
|
|
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, () => {
|
|
@@ -1209,39 +1236,39 @@ function Aa(...t) {
|
|
|
1209
1236
|
}
|
|
1210
1237
|
throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`);
|
|
1211
1238
|
}
|
|
1212
|
-
function
|
|
1213
|
-
return Object.assign(t, { optional: () =>
|
|
1239
|
+
function I(t) {
|
|
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
|
|
1226
|
-
return
|
|
1252
|
+
function Fe(t) {
|
|
1253
|
+
return I({ [D]: () => ({ 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
|
-
return e === void 0 ? (
|
|
1232
|
-
}, getSelectionKeys: () =>
|
|
1258
|
+
return e === void 0 ? (N(t).forEach((a) => o(a, void 0)), { matched: !0, selections: i }) : { matched: P(t, e, o), selections: i };
|
|
1259
|
+
}, getSelectionKeys: () => N(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]))
|
|
@@ -1249,70 +1276,70 @@ const Ba = (t, e) => {
|
|
|
1249
1276
|
return !0;
|
|
1250
1277
|
};
|
|
1251
1278
|
function S(...t) {
|
|
1252
|
-
return
|
|
1279
|
+
return I({ [D]: () => ({ 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
|
-
}, getSelectionKeys: () => $t(t,
|
|
1285
|
+
}, getSelectionKeys: () => $t(t, N), matcherType: "and" }) });
|
|
1259
1286
|
}
|
|
1260
|
-
function
|
|
1261
|
-
return
|
|
1287
|
+
function uo(...t) {
|
|
1288
|
+
return I({ [D]: () => ({ 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
|
-
return $t(t,
|
|
1267
|
-
}, getSelectionKeys: () => $t(t,
|
|
1293
|
+
return $t(t, N).forEach((a) => o(a, void 0)), { matched: t.some((a) => P(a, e, o)), selections: i };
|
|
1294
|
+
}, getSelectionKeys: () => $t(t, N), matcherType: "or" }) });
|
|
1268
1295
|
}
|
|
1269
1296
|
function m(t) {
|
|
1270
|
-
return { [
|
|
1297
|
+
return { [D]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
|
|
1271
1298
|
}
|
|
1272
1299
|
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
|
-
return
|
|
1301
|
+
return I({ [D]: () => ({ 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
|
-
}, getSelectionKeys: () => [e ?? Ut].concat(i === void 0 ? [] :
|
|
1306
|
+
}, getSelectionKeys: () => [e ?? Ut].concat(i === void 0 ? [] : N(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
|
-
function
|
|
1314
|
+
function tt(t) {
|
|
1288
1315
|
return typeof t == "string";
|
|
1289
1316
|
}
|
|
1290
|
-
function
|
|
1317
|
+
function et(t) {
|
|
1291
1318
|
return typeof t == "bigint";
|
|
1292
1319
|
}
|
|
1293
|
-
const
|
|
1294
|
-
return
|
|
1320
|
+
const ho = I(m(po)), Ra = I(m(po)), Ua = ho, it = (t) => Object.assign(I(t), { startsWith: (e) => {
|
|
1321
|
+
return it(S(t, (i = e, m((o) => tt(o) && o.startsWith(i)))));
|
|
1295
1322
|
var i;
|
|
1296
1323
|
}, endsWith: (e) => {
|
|
1297
|
-
return
|
|
1324
|
+
return it(S(t, (i = e, m((o) => tt(o) && o.endsWith(i)))));
|
|
1298
1325
|
var i;
|
|
1299
|
-
}, minLength: (e) =>
|
|
1300
|
-
return
|
|
1326
|
+
}, minLength: (e) => it(S(t, ((i) => m((o) => tt(o) && o.length >= i))(e))), length: (e) => it(S(t, ((i) => m((o) => tt(o) && o.length === i))(e))), maxLength: (e) => it(S(t, ((i) => m((o) => tt(o) && o.length <= i))(e))), includes: (e) => {
|
|
1327
|
+
return it(S(t, (i = e, m((o) => tt(o) && o.includes(i)))));
|
|
1301
1328
|
var i;
|
|
1302
1329
|
}, regex: (e) => {
|
|
1303
|
-
return
|
|
1330
|
+
return it(S(t, (i = e, m((o) => tt(o) && !!o.match(i)))));
|
|
1304
1331
|
var i;
|
|
1305
|
-
} }),
|
|
1332
|
+
} }), pi = it(m(tt)), W = (t) => Object.assign(I(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)), ot = (t) => Object.assign(I(t), { between: (e, i) => ot(S(t, ((o, a) => m((r) => et(r) && o <= r && a >= r))(e, i))), lt: (e) => ot(S(t, ((i) => m((o) => et(o) && o < i))(e))), gt: (e) => ot(S(t, ((i) => m((o) => et(o) && o > i))(e))), lte: (e) => ot(S(t, ((i) => m((o) => et(o) && o <= i))(e))), gte: (e) => ot(S(t, ((i) => m((o) => et(o) && o >= i))(e))), positive: () => ot(S(t, m((e) => et(e) && e > 0))), negative: () => ot(S(t, m((e) => et(e) && e < 0))) }), Wa = ot(m(et)), Ya = I(m(function(t) {
|
|
1306
1333
|
return typeof t == "boolean";
|
|
1307
|
-
})),
|
|
1334
|
+
})), Ka = I(m(function(t) {
|
|
1308
1335
|
return typeof t == "symbol";
|
|
1309
|
-
})),
|
|
1336
|
+
})), qa = I(m(function(t) {
|
|
1310
1337
|
return t == null;
|
|
1311
|
-
})),
|
|
1338
|
+
})), Xa = I(m(function(t) {
|
|
1312
1339
|
return t != null;
|
|
1313
1340
|
}));
|
|
1314
|
-
var Tt = { __proto__: null, matcher:
|
|
1315
|
-
return we({ [
|
|
1341
|
+
var Tt = { __proto__: null, matcher: D, optional: Fe, array: function(...t) {
|
|
1342
|
+
return we({ [D]: () => ({ match: (e) => {
|
|
1316
1343
|
if (!Array.isArray(e))
|
|
1317
1344
|
return { matched: !1 };
|
|
1318
1345
|
if (t.length === 0)
|
|
@@ -1320,16 +1347,16 @@ 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
|
|
1324
|
-
o[
|
|
1350
|
+
return N(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((
|
|
1330
|
-
}, getSelectionKeys: () => t.length === 0 ? [] :
|
|
1356
|
+
return { matched: e.every((r) => P(i, r, a)), selections: o };
|
|
1357
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : N(t[0]) }) });
|
|
1331
1358
|
}, set: function(...t) {
|
|
1332
|
-
return
|
|
1359
|
+
return I({ [D]: () => ({ match: (e) => {
|
|
1333
1360
|
if (!(e instanceof Set))
|
|
1334
1361
|
return { matched: !1 };
|
|
1335
1362
|
let i = {};
|
|
@@ -1337,13 +1364,13 @@ 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:
|
|
1344
|
-
}, getSelectionKeys: () => t.length === 0 ? [] :
|
|
1370
|
+
return { matched: Ma(e, (r) => P(a, r, o)), selections: i };
|
|
1371
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : N(t[0]) }) });
|
|
1345
1372
|
}, map: function(...t) {
|
|
1346
|
-
return
|
|
1373
|
+
return I({ [D]: () => ({ match: (e) => {
|
|
1347
1374
|
if (!(e instanceof Map))
|
|
1348
1375
|
return { matched: !1 };
|
|
1349
1376
|
let i = {};
|
|
@@ -1357,14 +1384,14 @@ 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
|
-
}, getSelectionKeys: () => t.length === 0 ? [] : [...
|
|
1392
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : [...N(t[0]), ...N(t[1])] }) });
|
|
1366
1393
|
}, record: function(...t) {
|
|
1367
|
-
return
|
|
1394
|
+
return I({ [D]: () => ({ match: (e) => {
|
|
1368
1395
|
if (e === null || typeof e != "object" || Array.isArray(e))
|
|
1369
1396
|
return { matched: !1 };
|
|
1370
1397
|
var i;
|
|
@@ -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
|
-
}, getSelectionKeys: () => t.length === 0 ? [] : [...
|
|
1382
|
-
}, intersection: S, union:
|
|
1383
|
-
return
|
|
1408
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : [...N(t[0]), ...N(t[1])] }) });
|
|
1409
|
+
}, intersection: S, union: uo, not: function(t) {
|
|
1410
|
+
return I({ [D]: () => ({ match: (e) => ({ matched: !P(t, e, () => {
|
|
1384
1411
|
}) }), getSelectionKeys: () => [], matcherType: "not" }) });
|
|
1385
|
-
}, when: m, select: St, any:
|
|
1386
|
-
return
|
|
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) {
|
|
1413
|
+
return I(m(function(e) {
|
|
1387
1414
|
return (i) => i instanceof e;
|
|
1388
1415
|
}(t)));
|
|
1389
1416
|
}, shape: function(t) {
|
|
1390
|
-
return
|
|
1417
|
+
return I(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,25 +1532,27 @@ 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
|
-
undo: "
|
|
1544
|
+
undo: "Change answer",
|
|
1518
1545
|
conversation_history: "Conversation history",
|
|
1519
1546
|
jump_to_current: "Jump to current question",
|
|
1520
1547
|
send: "Send",
|
|
1548
|
+
submitting: "Sending your application…",
|
|
1521
1549
|
skip: "Skip",
|
|
1522
1550
|
skipped: "Skipped",
|
|
1523
1551
|
submission_closed: "This role is no longer accepting applications.",
|
|
1524
1552
|
submission_duplicate: "It looks like you've already applied for this role.",
|
|
1525
1553
|
submission_retryable: "We couldn't submit your application. Please try again.",
|
|
1526
|
-
|
|
1554
|
+
submission_failed: "We couldn't submit your application. Choose Restart to try again.",
|
|
1555
|
+
submission_unknown: "We couldn't confirm whether your application was sent. Please check your email for a confirmation. If nothing arrives, choose Restart to apply again.",
|
|
1527
1556
|
submission_unreadable_document: "We couldn't read that file. Please upload a different one.",
|
|
1528
1557
|
file_preparing: {
|
|
1529
1558
|
one: "Preparing your file…",
|
|
@@ -1541,17 +1570,17 @@ const {
|
|
|
1541
1570
|
maximize: "Maximise",
|
|
1542
1571
|
minimize: "Minimise"
|
|
1543
1572
|
});
|
|
1544
|
-
function
|
|
1573
|
+
function wo(t, e) {
|
|
1545
1574
|
if (!t)
|
|
1546
1575
|
throw new Error(e);
|
|
1547
1576
|
}
|
|
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), {}),
|
|
1577
|
+
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
1578
|
let e = JSON.stringify(be(t)), i = 5381;
|
|
1550
1579
|
for (let o = 0; o < e.length; o++)
|
|
1551
1580
|
i = i * 33 ^ e.charCodeAt(o);
|
|
1552
1581
|
return (i >>> 0).toString(36);
|
|
1553
|
-
},
|
|
1554
|
-
function
|
|
1582
|
+
}, ar = Symbol.for("preact-signals");
|
|
1583
|
+
function He() {
|
|
1555
1584
|
if (ht > 1)
|
|
1556
1585
|
ht--;
|
|
1557
1586
|
else {
|
|
@@ -1559,7 +1588,7 @@ function Me() {
|
|
|
1559
1588
|
var i = kt;
|
|
1560
1589
|
for (kt = void 0, ve++; i !== void 0; ) {
|
|
1561
1590
|
var o = i.o;
|
|
1562
|
-
if (i.o = void 0, i.f &= -3, !(8 & i.f) &&
|
|
1591
|
+
if (i.o = void 0, i.f &= -3, !(8 & i.f) && bo(i))
|
|
1563
1592
|
try {
|
|
1564
1593
|
i.c();
|
|
1565
1594
|
} catch (a) {
|
|
@@ -1573,7 +1602,7 @@ function Me() {
|
|
|
1573
1602
|
}
|
|
1574
1603
|
}
|
|
1575
1604
|
var k = void 0, kt = void 0, ht = 0, ve = 0, Wt = 0;
|
|
1576
|
-
function
|
|
1605
|
+
function go(t) {
|
|
1577
1606
|
if (k !== void 0) {
|
|
1578
1607
|
var e = t.n;
|
|
1579
1608
|
if (e === void 0 || e.t !== k)
|
|
@@ -1582,25 +1611,25 @@ function wo(t) {
|
|
|
1582
1611
|
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
1612
|
}
|
|
1584
1613
|
}
|
|
1585
|
-
function
|
|
1614
|
+
function O(t) {
|
|
1586
1615
|
this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
|
|
1587
1616
|
}
|
|
1588
|
-
|
|
1589
|
-
|
|
1617
|
+
O.prototype.brand = ar;
|
|
1618
|
+
O.prototype.h = function() {
|
|
1590
1619
|
return !0;
|
|
1591
1620
|
};
|
|
1592
|
-
|
|
1621
|
+
O.prototype.S = function(t) {
|
|
1593
1622
|
this.t !== t && t.e === void 0 && (t.x = this.t, this.t !== void 0 && (this.t.e = t), this.t = t);
|
|
1594
1623
|
};
|
|
1595
|
-
|
|
1624
|
+
O.prototype.U = function(t) {
|
|
1596
1625
|
if (this.t !== void 0) {
|
|
1597
1626
|
var e = t.e, i = t.x;
|
|
1598
1627
|
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
1628
|
}
|
|
1600
1629
|
};
|
|
1601
|
-
|
|
1630
|
+
O.prototype.subscribe = function(t) {
|
|
1602
1631
|
var e = this;
|
|
1603
|
-
return
|
|
1632
|
+
return Ue(function() {
|
|
1604
1633
|
var i = e.value, o = k;
|
|
1605
1634
|
k = void 0;
|
|
1606
1635
|
try {
|
|
@@ -1610,16 +1639,16 @@ I.prototype.subscribe = function(t) {
|
|
|
1610
1639
|
}
|
|
1611
1640
|
});
|
|
1612
1641
|
};
|
|
1613
|
-
|
|
1642
|
+
O.prototype.valueOf = function() {
|
|
1614
1643
|
return this.value;
|
|
1615
1644
|
};
|
|
1616
|
-
|
|
1645
|
+
O.prototype.toString = function() {
|
|
1617
1646
|
return this.value + "";
|
|
1618
1647
|
};
|
|
1619
|
-
|
|
1648
|
+
O.prototype.toJSON = function() {
|
|
1620
1649
|
return this.value;
|
|
1621
1650
|
};
|
|
1622
|
-
|
|
1651
|
+
O.prototype.peek = function() {
|
|
1623
1652
|
var t = k;
|
|
1624
1653
|
k = void 0;
|
|
1625
1654
|
try {
|
|
@@ -1628,8 +1657,8 @@ I.prototype.peek = function() {
|
|
|
1628
1657
|
k = t;
|
|
1629
1658
|
}
|
|
1630
1659
|
};
|
|
1631
|
-
Object.defineProperty(
|
|
1632
|
-
var t =
|
|
1660
|
+
Object.defineProperty(O.prototype, "value", { get: function() {
|
|
1661
|
+
var t = go(this);
|
|
1633
1662
|
return t !== void 0 && (t.i = this.i), this.v;
|
|
1634
1663
|
}, set: function(t) {
|
|
1635
1664
|
if (t !== this.v) {
|
|
@@ -1640,20 +1669,20 @@ Object.defineProperty(I.prototype, "value", { get: function() {
|
|
|
1640
1669
|
for (var e = this.t; e !== void 0; e = e.x)
|
|
1641
1670
|
e.t.N();
|
|
1642
1671
|
} finally {
|
|
1643
|
-
|
|
1672
|
+
He();
|
|
1644
1673
|
}
|
|
1645
1674
|
}
|
|
1646
1675
|
} });
|
|
1647
|
-
function
|
|
1648
|
-
return new
|
|
1676
|
+
function J(t) {
|
|
1677
|
+
return new O(t);
|
|
1649
1678
|
}
|
|
1650
|
-
function
|
|
1679
|
+
function bo(t) {
|
|
1651
1680
|
for (var e = t.s; e !== void 0; e = e.n)
|
|
1652
1681
|
if (e.S.i !== e.i || !e.S.h() || e.S.i !== e.i)
|
|
1653
1682
|
return !0;
|
|
1654
1683
|
return !1;
|
|
1655
1684
|
}
|
|
1656
|
-
function
|
|
1685
|
+
function vo(t) {
|
|
1657
1686
|
for (var e = t.s; e !== void 0; e = e.n) {
|
|
1658
1687
|
var i = e.S.n;
|
|
1659
1688
|
if (i !== void 0 && (e.r = i), e.S.n = e, e.i = -1, e.n === void 0) {
|
|
@@ -1662,7 +1691,7 @@ function bo(t) {
|
|
|
1662
1691
|
}
|
|
1663
1692
|
}
|
|
1664
1693
|
}
|
|
1665
|
-
function
|
|
1694
|
+
function _o(t) {
|
|
1666
1695
|
for (var e = t.s, i = void 0; e !== void 0; ) {
|
|
1667
1696
|
var o = e.p;
|
|
1668
1697
|
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 +1699,24 @@ function vo(t) {
|
|
|
1670
1699
|
t.s = i;
|
|
1671
1700
|
}
|
|
1672
1701
|
function bt(t) {
|
|
1673
|
-
|
|
1702
|
+
O.call(this, void 0), this.x = t, this.s = void 0, this.g = Wt - 1, this.f = 4;
|
|
1674
1703
|
}
|
|
1675
|
-
(bt.prototype = new
|
|
1704
|
+
(bt.prototype = new O()).h = function() {
|
|
1676
1705
|
if (this.f &= -3, 1 & this.f)
|
|
1677
1706
|
return !1;
|
|
1678
1707
|
if ((36 & this.f) == 32 || (this.f &= -5, this.g === Wt))
|
|
1679
1708
|
return !0;
|
|
1680
|
-
if (this.g = Wt, this.f |= 1, this.i > 0 && !
|
|
1709
|
+
if (this.g = Wt, this.f |= 1, this.i > 0 && !bo(this))
|
|
1681
1710
|
return this.f &= -2, !0;
|
|
1682
1711
|
var t = k;
|
|
1683
1712
|
try {
|
|
1684
|
-
|
|
1713
|
+
vo(this), k = this;
|
|
1685
1714
|
var e = this.x();
|
|
1686
1715
|
(16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
|
|
1687
1716
|
} catch (i) {
|
|
1688
1717
|
this.v = i, this.f |= 16, this.i++;
|
|
1689
1718
|
}
|
|
1690
|
-
return k = t,
|
|
1719
|
+
return k = t, _o(this), this.f &= -2, !0;
|
|
1691
1720
|
};
|
|
1692
1721
|
bt.prototype.S = function(t) {
|
|
1693
1722
|
if (this.t === void 0) {
|
|
@@ -1695,10 +1724,10 @@ bt.prototype.S = function(t) {
|
|
|
1695
1724
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1696
1725
|
e.S.S(e);
|
|
1697
1726
|
}
|
|
1698
|
-
|
|
1727
|
+
O.prototype.S.call(this, t);
|
|
1699
1728
|
};
|
|
1700
1729
|
bt.prototype.U = function(t) {
|
|
1701
|
-
if (this.t !== void 0 && (
|
|
1730
|
+
if (this.t !== void 0 && (O.prototype.U.call(this, t), this.t === void 0)) {
|
|
1702
1731
|
this.f &= -33;
|
|
1703
1732
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1704
1733
|
e.S.U(e);
|
|
@@ -1714,15 +1743,15 @@ bt.prototype.N = function() {
|
|
|
1714
1743
|
Object.defineProperty(bt.prototype, "value", { get: function() {
|
|
1715
1744
|
if (1 & this.f)
|
|
1716
1745
|
throw new Error("Cycle detected");
|
|
1717
|
-
var t =
|
|
1746
|
+
var t = go(this);
|
|
1718
1747
|
if (this.h(), t !== void 0 && (t.i = this.i), 16 & this.f)
|
|
1719
1748
|
throw this.v;
|
|
1720
1749
|
return this.v;
|
|
1721
1750
|
} });
|
|
1722
|
-
function
|
|
1751
|
+
function rr(t) {
|
|
1723
1752
|
return new bt(t);
|
|
1724
1753
|
}
|
|
1725
|
-
function
|
|
1754
|
+
function mo(t) {
|
|
1726
1755
|
var e = t.u;
|
|
1727
1756
|
if (t.u = void 0, typeof e == "function") {
|
|
1728
1757
|
ht++;
|
|
@@ -1733,19 +1762,19 @@ function _o(t) {
|
|
|
1733
1762
|
} catch (o) {
|
|
1734
1763
|
throw t.f &= -2, t.f |= 8, Re(t), o;
|
|
1735
1764
|
} finally {
|
|
1736
|
-
k = i,
|
|
1765
|
+
k = i, He();
|
|
1737
1766
|
}
|
|
1738
1767
|
}
|
|
1739
1768
|
}
|
|
1740
1769
|
function Re(t) {
|
|
1741
1770
|
for (var e = t.s; e !== void 0; e = e.n)
|
|
1742
1771
|
e.S.U(e);
|
|
1743
|
-
t.x = void 0, t.s = void 0,
|
|
1772
|
+
t.x = void 0, t.s = void 0, mo(t);
|
|
1744
1773
|
}
|
|
1745
|
-
function
|
|
1774
|
+
function nr(t) {
|
|
1746
1775
|
if (k !== this)
|
|
1747
1776
|
throw new Error("Out-of-order effect");
|
|
1748
|
-
|
|
1777
|
+
_o(this), k = t, this.f &= -2, 8 & this.f && Re(this), He();
|
|
1749
1778
|
}
|
|
1750
1779
|
function Et(t) {
|
|
1751
1780
|
this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
|
|
@@ -1764,9 +1793,9 @@ Et.prototype.c = function() {
|
|
|
1764
1793
|
Et.prototype.S = function() {
|
|
1765
1794
|
if (1 & this.f)
|
|
1766
1795
|
throw new Error("Cycle detected");
|
|
1767
|
-
this.f |= 1, this.f &= -9,
|
|
1796
|
+
this.f |= 1, this.f &= -9, mo(this), vo(this), ht++;
|
|
1768
1797
|
var t = k;
|
|
1769
|
-
return k = this,
|
|
1798
|
+
return k = this, nr.bind(this, t);
|
|
1770
1799
|
};
|
|
1771
1800
|
Et.prototype.N = function() {
|
|
1772
1801
|
2 & this.f || (this.f |= 2, this.o = kt, kt = this);
|
|
@@ -1774,7 +1803,7 @@ Et.prototype.N = function() {
|
|
|
1774
1803
|
Et.prototype.d = function() {
|
|
1775
1804
|
this.f |= 8, 1 & this.f || Re(this);
|
|
1776
1805
|
};
|
|
1777
|
-
function
|
|
1806
|
+
function Ue(t) {
|
|
1778
1807
|
var e = new Et(t);
|
|
1779
1808
|
try {
|
|
1780
1809
|
e.c();
|
|
@@ -1791,27 +1820,27 @@ function vt(t, e) {
|
|
|
1791
1820
|
function Yt(t) {
|
|
1792
1821
|
ee && ee(), ee = t && t.S();
|
|
1793
1822
|
}
|
|
1794
|
-
function
|
|
1795
|
-
var e = this, i = t.data, o =
|
|
1823
|
+
function yo(t) {
|
|
1824
|
+
var e = this, i = t.data, o = lr(i);
|
|
1796
1825
|
o.value = i;
|
|
1797
1826
|
var a = dt(function() {
|
|
1798
|
-
for (var
|
|
1799
|
-
if (
|
|
1800
|
-
|
|
1827
|
+
for (var r = e.__v; r = r.__; )
|
|
1828
|
+
if (r.__c) {
|
|
1829
|
+
r.__c.__$f |= 4;
|
|
1801
1830
|
break;
|
|
1802
1831
|
}
|
|
1803
1832
|
return e.__$u.c = function() {
|
|
1804
|
-
var
|
|
1805
|
-
!Di(a.peek()) && ((
|
|
1806
|
-
},
|
|
1807
|
-
var
|
|
1808
|
-
return
|
|
1833
|
+
var n;
|
|
1834
|
+
!Di(a.peek()) && ((n = e.base) == null ? void 0 : n.nodeType) === 3 ? e.base.data = a.peek() : (e.__$f |= 1, e.setState({}));
|
|
1835
|
+
}, rr(function() {
|
|
1836
|
+
var n = o.value.value;
|
|
1837
|
+
return n === 0 ? 0 : n === !0 ? "" : n || "";
|
|
1809
1838
|
});
|
|
1810
1839
|
}, []);
|
|
1811
1840
|
return a.value;
|
|
1812
1841
|
}
|
|
1813
|
-
|
|
1814
|
-
Object.defineProperties(
|
|
1842
|
+
yo.displayName = "_st";
|
|
1843
|
+
Object.defineProperties(O.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: yo }, props: { configurable: !0, get: function() {
|
|
1815
1844
|
return { data: this };
|
|
1816
1845
|
} }, __b: { configurable: !0, value: 1 } });
|
|
1817
1846
|
vt("__b", function(t, e) {
|
|
@@ -1819,8 +1848,8 @@ vt("__b", function(t, e) {
|
|
|
1819
1848
|
var i, o = e.props;
|
|
1820
1849
|
for (var a in o)
|
|
1821
1850
|
if (a !== "children") {
|
|
1822
|
-
var
|
|
1823
|
-
|
|
1851
|
+
var r = o[a];
|
|
1852
|
+
r instanceof O && (i || (e.__np = i = {}), i[a] = r, o[a] = r.peek());
|
|
1824
1853
|
}
|
|
1825
1854
|
}
|
|
1826
1855
|
t(e);
|
|
@@ -1829,12 +1858,12 @@ vt("__r", function(t, e) {
|
|
|
1829
1858
|
Yt();
|
|
1830
1859
|
var i, o = e.__c;
|
|
1831
1860
|
o && (o.__$f &= -2, (i = o.__$u) === void 0 && (o.__$u = i = function(a) {
|
|
1832
|
-
var
|
|
1833
|
-
return
|
|
1834
|
-
|
|
1835
|
-
}),
|
|
1861
|
+
var r;
|
|
1862
|
+
return Ue(function() {
|
|
1863
|
+
r = this;
|
|
1864
|
+
}), r.c = function() {
|
|
1836
1865
|
o.__$f |= 1, o.setState({});
|
|
1837
|
-
},
|
|
1866
|
+
}, r;
|
|
1838
1867
|
}())), Yt(i), t(e);
|
|
1839
1868
|
});
|
|
1840
1869
|
vt("__e", function(t, e, i, o) {
|
|
@@ -1846,29 +1875,29 @@ vt("diffed", function(t, e) {
|
|
|
1846
1875
|
if (typeof e.type == "string" && (i = e.__e)) {
|
|
1847
1876
|
var o = e.__np, a = e.props;
|
|
1848
1877
|
if (o) {
|
|
1849
|
-
var
|
|
1850
|
-
if (
|
|
1851
|
-
for (var
|
|
1852
|
-
var s = n
|
|
1853
|
-
s !== void 0 && !(
|
|
1878
|
+
var r = i.U;
|
|
1879
|
+
if (r)
|
|
1880
|
+
for (var n in r) {
|
|
1881
|
+
var s = r[n];
|
|
1882
|
+
s !== void 0 && !(n in o) && (s.d(), r[n] = void 0);
|
|
1854
1883
|
}
|
|
1855
1884
|
else
|
|
1856
|
-
i.U =
|
|
1885
|
+
i.U = r = {};
|
|
1857
1886
|
for (var c in o) {
|
|
1858
|
-
var d =
|
|
1859
|
-
d === void 0 ? (d =
|
|
1887
|
+
var d = r[c], u = o[c];
|
|
1888
|
+
d === void 0 ? (d = sr(i, c, u, a), r[c] = d) : d.o(u, a);
|
|
1860
1889
|
}
|
|
1861
1890
|
}
|
|
1862
1891
|
}
|
|
1863
1892
|
t(e);
|
|
1864
1893
|
});
|
|
1865
|
-
function
|
|
1866
|
-
var a = e in t && t.ownerSVGElement === void 0,
|
|
1867
|
-
return { o: function(
|
|
1868
|
-
|
|
1869
|
-
}, d:
|
|
1870
|
-
var
|
|
1871
|
-
o[e] !==
|
|
1894
|
+
function sr(t, e, i, o) {
|
|
1895
|
+
var a = e in t && t.ownerSVGElement === void 0, r = J(i);
|
|
1896
|
+
return { o: function(n, s) {
|
|
1897
|
+
r.value = n, o = s;
|
|
1898
|
+
}, d: Ue(function() {
|
|
1899
|
+
var n = r.value.value;
|
|
1900
|
+
o[e] !== n && (o[e] = n, a ? t[e] = n : n ? t.setAttribute(e, n) : t.removeAttribute(e));
|
|
1872
1901
|
}) };
|
|
1873
1902
|
}
|
|
1874
1903
|
vt("unmount", function(t, e) {
|
|
@@ -1879,16 +1908,16 @@ vt("unmount", function(t, e) {
|
|
|
1879
1908
|
if (o) {
|
|
1880
1909
|
i.U = void 0;
|
|
1881
1910
|
for (var a in o) {
|
|
1882
|
-
var
|
|
1883
|
-
|
|
1911
|
+
var r = o[a];
|
|
1912
|
+
r && r.d();
|
|
1884
1913
|
}
|
|
1885
1914
|
}
|
|
1886
1915
|
}
|
|
1887
1916
|
} else {
|
|
1888
|
-
var
|
|
1889
|
-
if (
|
|
1890
|
-
var s =
|
|
1891
|
-
s && (
|
|
1917
|
+
var n = e.__c;
|
|
1918
|
+
if (n) {
|
|
1919
|
+
var s = n.__$u;
|
|
1920
|
+
s && (n.__$u = void 0, s.d());
|
|
1892
1921
|
}
|
|
1893
1922
|
}
|
|
1894
1923
|
t(e);
|
|
@@ -1896,7 +1925,7 @@ vt("unmount", function(t, e) {
|
|
|
1896
1925
|
vt("__h", function(t, e, i, o) {
|
|
1897
1926
|
(o < 3 || o === 9) && (e.__$f |= 2), t(e, i, o);
|
|
1898
1927
|
});
|
|
1899
|
-
|
|
1928
|
+
L.prototype.shouldComponentUpdate = function(t, e) {
|
|
1900
1929
|
var i = this.__$u;
|
|
1901
1930
|
if (!(i && i.s !== void 0 || 4 & this.__$f) || 3 & this.__$f)
|
|
1902
1931
|
return !0;
|
|
@@ -1905,20 +1934,20 @@ M.prototype.shouldComponentUpdate = function(t, e) {
|
|
|
1905
1934
|
for (var a in t)
|
|
1906
1935
|
if (a !== "__source" && t[a] !== this.props[a])
|
|
1907
1936
|
return !0;
|
|
1908
|
-
for (var
|
|
1909
|
-
if (!(
|
|
1937
|
+
for (var r in this.props)
|
|
1938
|
+
if (!(r in t))
|
|
1910
1939
|
return !0;
|
|
1911
1940
|
return !1;
|
|
1912
1941
|
};
|
|
1913
|
-
function
|
|
1942
|
+
function lr(t) {
|
|
1914
1943
|
return dt(function() {
|
|
1915
|
-
return
|
|
1944
|
+
return J(t);
|
|
1916
1945
|
}, []);
|
|
1917
1946
|
}
|
|
1918
1947
|
const _e = (t, e) => e.some((i) => t instanceof i);
|
|
1919
|
-
let
|
|
1920
|
-
function
|
|
1921
|
-
return
|
|
1948
|
+
let wi, gi;
|
|
1949
|
+
function cr() {
|
|
1950
|
+
return wi || (wi = [
|
|
1922
1951
|
IDBDatabase,
|
|
1923
1952
|
IDBObjectStore,
|
|
1924
1953
|
IDBIndex,
|
|
@@ -1926,39 +1955,39 @@ function ln() {
|
|
|
1926
1955
|
IDBTransaction
|
|
1927
1956
|
]);
|
|
1928
1957
|
}
|
|
1929
|
-
function
|
|
1930
|
-
return
|
|
1958
|
+
function dr() {
|
|
1959
|
+
return gi || (gi = [
|
|
1931
1960
|
IDBCursor.prototype.advance,
|
|
1932
1961
|
IDBCursor.prototype.continue,
|
|
1933
1962
|
IDBCursor.prototype.continuePrimaryKey
|
|
1934
1963
|
]);
|
|
1935
1964
|
}
|
|
1936
1965
|
const me = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap(), Xt = /* @__PURE__ */ new WeakMap();
|
|
1937
|
-
function
|
|
1966
|
+
function ur(t) {
|
|
1938
1967
|
const e = new Promise((i, o) => {
|
|
1939
1968
|
const a = () => {
|
|
1940
|
-
t.removeEventListener("success",
|
|
1941
|
-
}, n = () => {
|
|
1942
|
-
i(lt(t.result)), a();
|
|
1969
|
+
t.removeEventListener("success", r), t.removeEventListener("error", n);
|
|
1943
1970
|
}, r = () => {
|
|
1971
|
+
i(lt(t.result)), a();
|
|
1972
|
+
}, n = () => {
|
|
1944
1973
|
o(t.error), a();
|
|
1945
1974
|
};
|
|
1946
|
-
t.addEventListener("success",
|
|
1975
|
+
t.addEventListener("success", r), t.addEventListener("error", n);
|
|
1947
1976
|
});
|
|
1948
1977
|
return Xt.set(e, t), e;
|
|
1949
1978
|
}
|
|
1950
|
-
function
|
|
1979
|
+
function pr(t) {
|
|
1951
1980
|
if (me.has(t))
|
|
1952
1981
|
return;
|
|
1953
1982
|
const e = new Promise((i, o) => {
|
|
1954
1983
|
const a = () => {
|
|
1955
|
-
t.removeEventListener("complete",
|
|
1956
|
-
}, n = () => {
|
|
1957
|
-
i(), a();
|
|
1984
|
+
t.removeEventListener("complete", r), t.removeEventListener("error", n), t.removeEventListener("abort", n);
|
|
1958
1985
|
}, r = () => {
|
|
1986
|
+
i(), a();
|
|
1987
|
+
}, n = () => {
|
|
1959
1988
|
o(t.error || new DOMException("AbortError", "AbortError")), a();
|
|
1960
1989
|
};
|
|
1961
|
-
t.addEventListener("complete",
|
|
1990
|
+
t.addEventListener("complete", r), t.addEventListener("error", n), t.addEventListener("abort", n);
|
|
1962
1991
|
});
|
|
1963
1992
|
me.set(t, e);
|
|
1964
1993
|
}
|
|
@@ -1979,101 +2008,101 @@ let ye = {
|
|
|
1979
2008
|
return t instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in t;
|
|
1980
2009
|
}
|
|
1981
2010
|
};
|
|
1982
|
-
function
|
|
2011
|
+
function xo(t) {
|
|
1983
2012
|
ye = t(ye);
|
|
1984
2013
|
}
|
|
1985
|
-
function
|
|
1986
|
-
return
|
|
2014
|
+
function hr(t) {
|
|
2015
|
+
return dr().includes(t) ? function(...e) {
|
|
1987
2016
|
return t.apply(xe(this), e), lt(this.request);
|
|
1988
2017
|
} : function(...e) {
|
|
1989
2018
|
return lt(t.apply(xe(this), e));
|
|
1990
2019
|
};
|
|
1991
2020
|
}
|
|
1992
|
-
function
|
|
1993
|
-
return typeof t == "function" ?
|
|
2021
|
+
function fr(t) {
|
|
2022
|
+
return typeof t == "function" ? hr(t) : (t instanceof IDBTransaction && pr(t), _e(t, cr()) ? new Proxy(t, ye) : t);
|
|
1994
2023
|
}
|
|
1995
2024
|
function lt(t) {
|
|
1996
2025
|
if (t instanceof IDBRequest)
|
|
1997
|
-
return
|
|
2026
|
+
return ur(t);
|
|
1998
2027
|
if (ie.has(t))
|
|
1999
2028
|
return ie.get(t);
|
|
2000
|
-
const e =
|
|
2029
|
+
const e = fr(t);
|
|
2001
2030
|
return e !== t && (ie.set(t, e), Xt.set(e, t)), e;
|
|
2002
2031
|
}
|
|
2003
2032
|
const xe = (t) => Xt.get(t);
|
|
2004
|
-
function
|
|
2005
|
-
const
|
|
2006
|
-
return o &&
|
|
2007
|
-
o(lt(
|
|
2008
|
-
}), i &&
|
|
2033
|
+
function wr(t, e, { blocked: i, upgrade: o, blocking: a, terminated: r } = {}) {
|
|
2034
|
+
const n = indexedDB.open(t, e), s = lt(n);
|
|
2035
|
+
return o && n.addEventListener("upgradeneeded", (c) => {
|
|
2036
|
+
o(lt(n.result), c.oldVersion, c.newVersion, lt(n.transaction), c);
|
|
2037
|
+
}), i && n.addEventListener("blocked", (c) => i(
|
|
2009
2038
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
|
2010
2039
|
c.oldVersion,
|
|
2011
2040
|
c.newVersion,
|
|
2012
2041
|
c
|
|
2013
2042
|
)), s.then((c) => {
|
|
2014
|
-
|
|
2043
|
+
r && c.addEventListener("close", () => r()), a && c.addEventListener("versionchange", (d) => a(d.oldVersion, d.newVersion, d));
|
|
2015
2044
|
}).catch(() => {
|
|
2016
2045
|
}), s;
|
|
2017
2046
|
}
|
|
2018
|
-
const
|
|
2019
|
-
function
|
|
2047
|
+
const gr = ["get", "getKey", "getAll", "getAllKeys", "count"], br = ["put", "add", "delete", "clear"], oe = /* @__PURE__ */ new Map();
|
|
2048
|
+
function bi(t, e) {
|
|
2020
2049
|
if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
|
|
2021
2050
|
return;
|
|
2022
2051
|
if (oe.get(e))
|
|
2023
2052
|
return oe.get(e);
|
|
2024
|
-
const i = e.replace(/FromIndex$/, ""), o = e !== i, a =
|
|
2053
|
+
const i = e.replace(/FromIndex$/, ""), o = e !== i, a = br.includes(i);
|
|
2025
2054
|
if (
|
|
2026
2055
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
|
2027
|
-
!(i in (o ? IDBIndex : IDBObjectStore).prototype) || !(a ||
|
|
2056
|
+
!(i in (o ? IDBIndex : IDBObjectStore).prototype) || !(a || gr.includes(i))
|
|
2028
2057
|
)
|
|
2029
2058
|
return;
|
|
2030
|
-
const
|
|
2031
|
-
const c = this.transaction(
|
|
2059
|
+
const r = async function(n, ...s) {
|
|
2060
|
+
const c = this.transaction(n, a ? "readwrite" : "readonly");
|
|
2032
2061
|
let d = c.store;
|
|
2033
2062
|
return o && (d = d.index(s.shift())), (await Promise.all([
|
|
2034
2063
|
d[i](...s),
|
|
2035
2064
|
a && c.done
|
|
2036
2065
|
]))[0];
|
|
2037
2066
|
};
|
|
2038
|
-
return oe.set(e,
|
|
2067
|
+
return oe.set(e, r), r;
|
|
2039
2068
|
}
|
|
2040
|
-
|
|
2069
|
+
xo((t) => ({
|
|
2041
2070
|
...t,
|
|
2042
|
-
get: (e, i, o) =>
|
|
2043
|
-
has: (e, i) => !!
|
|
2071
|
+
get: (e, i, o) => bi(e, i) || t.get(e, i, o),
|
|
2072
|
+
has: (e, i) => !!bi(e, i) || t.has(e, i)
|
|
2044
2073
|
}));
|
|
2045
|
-
const
|
|
2074
|
+
const vr = ["continue", "continuePrimaryKey", "advance"], vi = {}, ke = /* @__PURE__ */ new WeakMap(), ko = /* @__PURE__ */ new WeakMap(), _r = {
|
|
2046
2075
|
get(t, e) {
|
|
2047
|
-
if (!
|
|
2076
|
+
if (!vr.includes(e))
|
|
2048
2077
|
return t[e];
|
|
2049
|
-
let i =
|
|
2050
|
-
return i || (i =
|
|
2051
|
-
ke.set(this,
|
|
2078
|
+
let i = vi[e];
|
|
2079
|
+
return i || (i = vi[e] = function(...o) {
|
|
2080
|
+
ke.set(this, ko.get(this)[e](...o));
|
|
2052
2081
|
}), i;
|
|
2053
2082
|
}
|
|
2054
2083
|
};
|
|
2055
|
-
async function*
|
|
2084
|
+
async function* mr(...t) {
|
|
2056
2085
|
let e = this;
|
|
2057
2086
|
if (e instanceof IDBCursor || (e = await e.openCursor(...t)), !e)
|
|
2058
2087
|
return;
|
|
2059
2088
|
e = e;
|
|
2060
|
-
const i = new Proxy(e,
|
|
2061
|
-
for (
|
|
2089
|
+
const i = new Proxy(e, _r);
|
|
2090
|
+
for (ko.set(i, e), Xt.set(i, xe(e)); e; )
|
|
2062
2091
|
yield i, e = await (ke.get(i) || e.continue()), ke.delete(i);
|
|
2063
2092
|
}
|
|
2064
|
-
function
|
|
2093
|
+
function _i(t, e) {
|
|
2065
2094
|
return e === Symbol.asyncIterator && _e(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && _e(t, [IDBIndex, IDBObjectStore]);
|
|
2066
2095
|
}
|
|
2067
|
-
|
|
2096
|
+
xo((t) => ({
|
|
2068
2097
|
...t,
|
|
2069
2098
|
get(e, i, o) {
|
|
2070
|
-
return
|
|
2099
|
+
return _i(e, i) ? mr : t.get(e, i, o);
|
|
2071
2100
|
},
|
|
2072
2101
|
has(e, i) {
|
|
2073
|
-
return
|
|
2102
|
+
return _i(e, i) || t.has(e, i);
|
|
2074
2103
|
}
|
|
2075
2104
|
}));
|
|
2076
|
-
const
|
|
2105
|
+
const Nt = typeof indexedDB > "u" ? void 0 : wr("inploi-chatbot", 3, {
|
|
2077
2106
|
upgrade(t) {
|
|
2078
2107
|
try {
|
|
2079
2108
|
t.deleteObjectStore("state");
|
|
@@ -2082,53 +2111,54 @@ const Dt = typeof indexedDB > "u" ? void 0 : fn("inploi-chatbot", 3, {
|
|
|
2082
2111
|
t.createObjectStore("state");
|
|
2083
2112
|
}
|
|
2084
2113
|
});
|
|
2085
|
-
let
|
|
2086
|
-
const
|
|
2087
|
-
if (!
|
|
2114
|
+
let Dt, ae, _t;
|
|
2115
|
+
const mi = () => {
|
|
2116
|
+
if (!Dt)
|
|
2088
2117
|
return _t;
|
|
2089
|
-
const t =
|
|
2090
|
-
|
|
2091
|
-
const e =
|
|
2118
|
+
const t = Dt;
|
|
2119
|
+
Dt = void 0;
|
|
2120
|
+
const e = $o(t), i = Nt == null ? void 0 : Nt.then((o) => o.put("state", t.data, e)).finally(() => {
|
|
2092
2121
|
_t === i && (_t = void 0);
|
|
2093
2122
|
});
|
|
2094
2123
|
return _t = i, _t;
|
|
2095
|
-
},
|
|
2124
|
+
}, Y = {
|
|
2096
2125
|
getStateData: async (t, e, i) => {
|
|
2097
2126
|
var a;
|
|
2098
|
-
const o =
|
|
2127
|
+
const o = $o({
|
|
2099
2128
|
...t,
|
|
2100
2129
|
flowKeys: e,
|
|
2101
2130
|
context: i
|
|
2102
2131
|
});
|
|
2103
|
-
return (a = await
|
|
2132
|
+
return (a = await Nt) == null ? void 0 : a.get("state", o);
|
|
2104
2133
|
},
|
|
2105
2134
|
setStateData: (t) => {
|
|
2106
|
-
|
|
2135
|
+
Dt = t, clearTimeout(ae), ae = setTimeout(() => void mi(), 1e3);
|
|
2107
2136
|
},
|
|
2108
|
-
flushStateData: () => (clearTimeout(ae),
|
|
2109
|
-
},
|
|
2137
|
+
flushStateData: () => (clearTimeout(ae), mi() ?? Promise.resolve())
|
|
2138
|
+
}, wn = (t) => {
|
|
2110
2139
|
const e = t.find((i) => i.isHead);
|
|
2111
2140
|
if (!e)
|
|
2112
2141
|
throw new Error("No head node found");
|
|
2113
2142
|
return e;
|
|
2114
|
-
},
|
|
2143
|
+
}, gn = (t) => (e) => e ? e.type === t : !1;
|
|
2115
2144
|
class ut extends Error {
|
|
2116
2145
|
constructor() {
|
|
2117
2146
|
super("Aborted");
|
|
2118
2147
|
}
|
|
2119
2148
|
}
|
|
2120
|
-
const
|
|
2149
|
+
const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : Math.random().toString(36).slice(2), yi = () => ({
|
|
2121
2150
|
messages: [],
|
|
2122
2151
|
submissions: {},
|
|
2123
2152
|
currentInput: null,
|
|
2124
2153
|
nodeHistory: [],
|
|
2154
|
+
startedWriteNodeIds: [],
|
|
2125
2155
|
isFinished: !1,
|
|
2126
2156
|
hasInteracted: !1,
|
|
2127
2157
|
sequence: 0,
|
|
2128
|
-
flowSessionId:
|
|
2129
|
-
}),
|
|
2158
|
+
flowSessionId: yr()
|
|
2159
|
+
}), bn = (t) => (
|
|
2130
2160
|
/** nativeEvent is a hidden property not exposed by JSX's typings */
|
|
2131
|
-
|
|
2161
|
+
Me(t).with({
|
|
2132
2162
|
nativeEvent: {
|
|
2133
2163
|
submitter: Tt.select(Tt.union(Tt.instanceOf(HTMLButtonElement), Tt.instanceOf(HTMLInputElement)))
|
|
2134
2164
|
}
|
|
@@ -2150,9 +2180,9 @@ const mn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2150
2180
|
stepsMade: o,
|
|
2151
2181
|
remainingSteps: 0
|
|
2152
2182
|
};
|
|
2153
|
-
const
|
|
2154
|
-
if (
|
|
2155
|
-
const d = s + Math.max(At(t, a, i, o + s).remainingSteps, At(t,
|
|
2183
|
+
const r = e.type === "if-block" ? e.branchId : void 0, n = t.find((d) => d.id === r), s = e.type.includes("question") ? 1 : 0;
|
|
2184
|
+
if (n) {
|
|
2185
|
+
const d = s + Math.max(At(t, a, i, o + s).remainingSteps, At(t, n, i, o + s).remainingSteps);
|
|
2156
2186
|
return i(e.id, {
|
|
2157
2187
|
stepsMade: o,
|
|
2158
2188
|
remainingSteps: d
|
|
@@ -2169,42 +2199,46 @@ const mn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2169
2199
|
stepsMade: o,
|
|
2170
2200
|
remainingSteps: c
|
|
2171
2201
|
};
|
|
2172
|
-
},
|
|
2202
|
+
}, xr = (t) => {
|
|
2173
2203
|
const e = {}, i = t.find((o) => o.isHead);
|
|
2174
2204
|
return i && At(t, i, (o, a) => {
|
|
2175
2205
|
e[o] = a;
|
|
2176
2206
|
}), e;
|
|
2177
|
-
},
|
|
2207
|
+
}, $o = (t) => [...t.flowKeys, t.id, t.version, t.build, or(t.context)].join("/"), vn = (t) => {
|
|
2208
|
+
var e, i;
|
|
2209
|
+
if (!(t.data.isFinished || (e = t.data.startedWriteNodeIds) != null && e.length))
|
|
2210
|
+
return (i = [...t.data.messages].reverse().find((o) => o.groupId && t.nodes.some((a) => a.id === o.groupId && a.type.startsWith("question-")) && (o.type === "system" || "author" in o && o.author === "user"))) == null ? void 0 : i.groupId;
|
|
2211
|
+
}, K = J({
|
|
2178
2212
|
state: "idle"
|
|
2179
|
-
}),
|
|
2213
|
+
}), rt = (t) => {
|
|
2180
2214
|
const {
|
|
2181
2215
|
state: e,
|
|
2182
2216
|
flow: i
|
|
2183
|
-
} =
|
|
2217
|
+
} = K.value;
|
|
2184
2218
|
if (e !== "loaded")
|
|
2185
2219
|
return;
|
|
2186
|
-
|
|
2220
|
+
wo(i, "No flow to update");
|
|
2187
2221
|
const o = t(i.data);
|
|
2188
|
-
i.data = o,
|
|
2222
|
+
i.data = o, K.value = {
|
|
2189
2223
|
state: e,
|
|
2190
2224
|
flow: i
|
|
2191
|
-
},
|
|
2225
|
+
}, Y.setStateData(i);
|
|
2192
2226
|
}, $ = {
|
|
2193
|
-
current$:
|
|
2194
|
-
viewState$:
|
|
2227
|
+
current$: K,
|
|
2228
|
+
viewState$: J("closed"),
|
|
2195
2229
|
prepareFlow: async ({
|
|
2196
2230
|
flow: t,
|
|
2197
2231
|
context: e = {},
|
|
2198
2232
|
flowKeys: i,
|
|
2199
2233
|
title: o,
|
|
2200
2234
|
analytics: a,
|
|
2201
|
-
job:
|
|
2202
|
-
locationOrigin:
|
|
2203
|
-
}) => (await
|
|
2235
|
+
job: r,
|
|
2236
|
+
locationOrigin: n
|
|
2237
|
+
}) => (await Y.flushStateData().catch(() => {
|
|
2204
2238
|
}), {
|
|
2205
|
-
data: await
|
|
2239
|
+
data: await Y.getStateData(t, i, e) ?? yi(),
|
|
2206
2240
|
startedAt: /* @__PURE__ */ new Date(),
|
|
2207
|
-
nodeIdToProgress:
|
|
2241
|
+
nodeIdToProgress: xr(t.nodes),
|
|
2208
2242
|
flowKeys: i,
|
|
2209
2243
|
id: t.id,
|
|
2210
2244
|
version: t.version,
|
|
@@ -2213,72 +2247,78 @@ const mn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2213
2247
|
context: e,
|
|
2214
2248
|
title: o,
|
|
2215
2249
|
analytics: a,
|
|
2216
|
-
job:
|
|
2217
|
-
locationOrigin:
|
|
2250
|
+
job: r,
|
|
2251
|
+
locationOrigin: n
|
|
2218
2252
|
}),
|
|
2219
2253
|
commitFlow: (t) => {
|
|
2220
|
-
|
|
2254
|
+
K.value = {
|
|
2221
2255
|
state: "loaded",
|
|
2222
2256
|
flow: t
|
|
2223
|
-
},
|
|
2257
|
+
}, Y.setStateData(t);
|
|
2224
2258
|
},
|
|
2225
2259
|
cancelCurrentFlow: () => {
|
|
2226
|
-
|
|
2260
|
+
K.value = {
|
|
2227
2261
|
state: "idle"
|
|
2228
2262
|
}, $.viewState$.value = "closed";
|
|
2229
2263
|
},
|
|
2230
|
-
markAsFinished: () =>
|
|
2264
|
+
markAsFinished: () => rt((t) => ({
|
|
2231
2265
|
...t,
|
|
2232
2266
|
isFinished: !0
|
|
2233
2267
|
})),
|
|
2234
|
-
markAsInteracted: () =>
|
|
2268
|
+
markAsInteracted: () => rt((t) => ({
|
|
2235
2269
|
...t,
|
|
2236
2270
|
hasInteracted: !0
|
|
2237
2271
|
})),
|
|
2238
|
-
setCurrentNodeId: (t) =>
|
|
2272
|
+
setCurrentNodeId: (t) => rt((e) => (e.nodeHistory.push(t), e)),
|
|
2239
2273
|
setApplicationRecovery: async (t) => {
|
|
2240
|
-
|
|
2274
|
+
rt((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await Y.flushStateData();
|
|
2241
2275
|
},
|
|
2242
2276
|
restart: () => {
|
|
2243
2277
|
const {
|
|
2244
2278
|
state: t,
|
|
2245
2279
|
flow: e
|
|
2246
|
-
} =
|
|
2280
|
+
} = K.value;
|
|
2247
2281
|
if (t !== "loaded")
|
|
2248
2282
|
throw new Error("Flow cannot be restarted: not in valid state");
|
|
2249
|
-
const i =
|
|
2283
|
+
const i = yi(), o = {
|
|
2250
2284
|
...e,
|
|
2251
2285
|
data: i,
|
|
2252
2286
|
startedAt: /* @__PURE__ */ new Date()
|
|
2253
2287
|
};
|
|
2254
|
-
|
|
2288
|
+
K.value = {
|
|
2255
2289
|
state: t,
|
|
2256
2290
|
flow: o
|
|
2257
|
-
},
|
|
2291
|
+
}, Y.setStateData(o);
|
|
2258
2292
|
},
|
|
2259
2293
|
addMessage: (t, e) => {
|
|
2260
2294
|
const i = {
|
|
2261
2295
|
...t,
|
|
2262
2296
|
groupId: e
|
|
2263
2297
|
};
|
|
2264
|
-
return
|
|
2298
|
+
return rt((o) => (o.messages.push(i), o));
|
|
2265
2299
|
},
|
|
2266
2300
|
/** Removes messages from nodeId, all the messages that have the groupId passed, until it reaches one that doesn't */
|
|
2267
2301
|
removeMessagesSentByNodeIds: (t) => {
|
|
2268
2302
|
const {
|
|
2269
2303
|
state: e,
|
|
2270
2304
|
flow: i
|
|
2271
|
-
} =
|
|
2272
|
-
|
|
2305
|
+
} = K.value;
|
|
2306
|
+
wo(e === "loaded", "Application not loaded");
|
|
2273
2307
|
const o = i.data.messages.filter((a) => !a.groupId || !t.includes(a.groupId));
|
|
2274
|
-
i.data.messages = o,
|
|
2308
|
+
i.data.messages = o, Y.setStateData(i);
|
|
2275
2309
|
},
|
|
2276
|
-
setSubmission: (t, e) =>
|
|
2277
|
-
setInput: (t) =>
|
|
2310
|
+
setSubmission: (t, e) => rt((i) => (e === null ? delete i.submissions[t] : i.submissions[t] = e, i)),
|
|
2311
|
+
setInput: (t) => rt((e) => ({
|
|
2278
2312
|
...e,
|
|
2279
2313
|
currentInput: t ?? null
|
|
2280
|
-
}))
|
|
2281
|
-
|
|
2314
|
+
})),
|
|
2315
|
+
persistWriteBarrier: async (t) => {
|
|
2316
|
+
K.peek().flow === t && (K.value = {
|
|
2317
|
+
state: "loaded",
|
|
2318
|
+
flow: t
|
|
2319
|
+
}), Y.setStateData(t), await Y.flushStateData();
|
|
2320
|
+
}
|
|
2321
|
+
}, kr = ({
|
|
2282
2322
|
message: t
|
|
2283
2323
|
}) => {
|
|
2284
2324
|
const {
|
|
@@ -2333,7 +2373,7 @@ const mn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2333
2373
|
})]
|
|
2334
2374
|
})]
|
|
2335
2375
|
});
|
|
2336
|
-
},
|
|
2376
|
+
}, $r = (t) => p("svg", {
|
|
2337
2377
|
role: "img",
|
|
2338
2378
|
viewBox: "0 0 24 24",
|
|
2339
2379
|
...t,
|
|
@@ -2392,15 +2432,15 @@ const mn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2392
2432
|
})
|
|
2393
2433
|
})
|
|
2394
2434
|
})]
|
|
2395
|
-
}),
|
|
2435
|
+
}), xi = () => p("div", {
|
|
2396
2436
|
class: "flex flex-grow flex-col items-center justify-center",
|
|
2397
|
-
children: p(
|
|
2437
|
+
children: p($r, {
|
|
2398
2438
|
class: "text-neutral-6 h-8 w-8"
|
|
2399
2439
|
})
|
|
2400
|
-
}),
|
|
2440
|
+
}), Sr = (t) => {
|
|
2401
2441
|
const i = t / 100, o = 1.3;
|
|
2402
2442
|
return t < 0 ? "0%" : t > 100 ? "100%" : `${Math.round((1 - (1 - 0.1) * Math.pow(1 - i, o)) * 100)}%`;
|
|
2403
|
-
},
|
|
2443
|
+
}, Cr = De("touch-hitbox fr relative flex-none rounded-full p-2 transition-all", {
|
|
2404
2444
|
variants: {
|
|
2405
2445
|
variant: {
|
|
2406
2446
|
neutral: "text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",
|
|
@@ -2416,7 +2456,7 @@ const mn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2416
2456
|
variant: i,
|
|
2417
2457
|
...o
|
|
2418
2458
|
}) => p("button", {
|
|
2419
|
-
class:
|
|
2459
|
+
class: Ne(Cr({
|
|
2420
2460
|
variant: i
|
|
2421
2461
|
}), t),
|
|
2422
2462
|
...o,
|
|
@@ -2432,9 +2472,9 @@ const mn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2432
2472
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2433
2473
|
children: e
|
|
2434
2474
|
})
|
|
2435
|
-
}),
|
|
2475
|
+
}), Er = () => p("path", {
|
|
2436
2476
|
d: "M12.5 6.5L8 11L3.5 6.5"
|
|
2437
|
-
}),
|
|
2477
|
+
}), Pr = () => {
|
|
2438
2478
|
if ($.current$.value.state !== "loaded")
|
|
2439
2479
|
return null;
|
|
2440
2480
|
const t = $.current$.value.flow.nodeIdToProgress, e = $.current$.value.flow.data.nodeHistory.at(-1);
|
|
@@ -2448,19 +2488,19 @@ const mn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2448
2488
|
class: "bg-accent-3",
|
|
2449
2489
|
children: p("div", {
|
|
2450
2490
|
style: {
|
|
2451
|
-
width:
|
|
2491
|
+
width: Sr(o)
|
|
2452
2492
|
},
|
|
2453
2493
|
class: "bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"
|
|
2454
2494
|
})
|
|
2455
2495
|
});
|
|
2456
|
-
},
|
|
2496
|
+
}, Tr = ({
|
|
2457
2497
|
children: t,
|
|
2458
2498
|
params: e
|
|
2459
2499
|
}) => {
|
|
2460
2500
|
const {
|
|
2461
2501
|
t: i
|
|
2462
2502
|
} = Le(), o = $.viewState$;
|
|
2463
|
-
return p(
|
|
2503
|
+
return p(H, {
|
|
2464
2504
|
children: p("header", {
|
|
2465
2505
|
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
2506
|
children: [p("div", {
|
|
@@ -2485,7 +2525,7 @@ const mn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2485
2525
|
children: [e.feedback ? p("div", {
|
|
2486
2526
|
"data-widget": "inploi-feedback",
|
|
2487
2527
|
"data-key": "chatbot-header",
|
|
2488
|
-
class:
|
|
2528
|
+
class: Ne({
|
|
2489
2529
|
hidden: $.current$.value.state !== "loaded" || o.value !== "maximised"
|
|
2490
2530
|
}),
|
|
2491
2531
|
children: p("div", {
|
|
@@ -2507,16 +2547,16 @@ const mn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2507
2547
|
onTouchStart: Se,
|
|
2508
2548
|
"aria-label": i("minimize"),
|
|
2509
2549
|
onClick: () => o.value = "minimised",
|
|
2510
|
-
children: p(
|
|
2550
|
+
children: p(Er, {})
|
|
2511
2551
|
}, "minmax")]
|
|
2512
2552
|
})]
|
|
2513
|
-
}), p(
|
|
2553
|
+
}), p(Pr, {})]
|
|
2514
2554
|
})
|
|
2515
2555
|
});
|
|
2516
2556
|
};
|
|
2517
2557
|
function Se() {
|
|
2518
2558
|
}
|
|
2519
|
-
const
|
|
2559
|
+
const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBody)), So = De("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
2560
|
variants: {
|
|
2521
2561
|
view: {
|
|
2522
2562
|
closed: "hidden",
|
|
@@ -2524,7 +2564,7 @@ const Tn = ao(() => import("./chatbot-body-02c464c0.js").then((t) => t.ChatbotBo
|
|
|
2524
2564
|
maximised: "max-w-[450px] h-[var(--content-height)] animate-maximise"
|
|
2525
2565
|
}
|
|
2526
2566
|
}
|
|
2527
|
-
}),
|
|
2567
|
+
}), Co = De("relative flex h-full overflow-hidden rounded-3xl outline outline-1", {
|
|
2528
2568
|
variants: {
|
|
2529
2569
|
view: {
|
|
2530
2570
|
closed: "hidden",
|
|
@@ -2532,7 +2572,7 @@ const Tn = ao(() => import("./chatbot-body-02c464c0.js").then((t) => t.ChatbotBo
|
|
|
2532
2572
|
maximised: "outline-neutral-3 bg-neutral-1 flex-col"
|
|
2533
2573
|
}
|
|
2534
2574
|
}
|
|
2535
|
-
}),
|
|
2575
|
+
}), zr = ({
|
|
2536
2576
|
open: t,
|
|
2537
2577
|
...e
|
|
2538
2578
|
}) => {
|
|
@@ -2544,7 +2584,7 @@ const Tn = ao(() => import("./chatbot-body-02c464c0.js").then((t) => t.ChatbotBo
|
|
|
2544
2584
|
ref: i,
|
|
2545
2585
|
...e
|
|
2546
2586
|
});
|
|
2547
|
-
},
|
|
2587
|
+
}, Or = ({
|
|
2548
2588
|
logger: t,
|
|
2549
2589
|
apiClient: e,
|
|
2550
2590
|
analytics: i,
|
|
@@ -2552,14 +2592,14 @@ const Tn = ao(() => import("./chatbot-body-02c464c0.js").then((t) => t.ChatbotBo
|
|
|
2552
2592
|
params: a
|
|
2553
2593
|
}) => {
|
|
2554
2594
|
const {
|
|
2555
|
-
state:
|
|
2556
|
-
flow:
|
|
2595
|
+
state: r,
|
|
2596
|
+
flow: n,
|
|
2557
2597
|
error: s
|
|
2558
|
-
} = $.current$.value, c = $.viewState$.value, d =
|
|
2559
|
-
return p(
|
|
2598
|
+
} = $.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;
|
|
2599
|
+
return p(er, {
|
|
2560
2600
|
terms: a.terms,
|
|
2561
2601
|
locale: void 0,
|
|
2562
|
-
children: [p(
|
|
2602
|
+
children: [p(zr, {
|
|
2563
2603
|
open: d,
|
|
2564
2604
|
onClose: () => $.viewState$.value = "minimised",
|
|
2565
2605
|
children: p("div", {
|
|
@@ -2567,28 +2607,36 @@ const Tn = ao(() => import("./chatbot-body-02c464c0.js").then((t) => t.ChatbotBo
|
|
|
2567
2607
|
"aria-modal": "true",
|
|
2568
2608
|
role: "dialog",
|
|
2569
2609
|
"aria-labelledby": "chatbot-status-bar",
|
|
2570
|
-
class:
|
|
2610
|
+
class: So({
|
|
2571
2611
|
view: "maximised"
|
|
2572
2612
|
}),
|
|
2573
2613
|
children: p("div", {
|
|
2574
|
-
class:
|
|
2614
|
+
class: Co({
|
|
2575
2615
|
view: "maximised"
|
|
2576
2616
|
}),
|
|
2577
|
-
children: [p(
|
|
2617
|
+
children: [p(Tr, {
|
|
2578
2618
|
params: a,
|
|
2579
|
-
children:
|
|
2580
|
-
|
|
2581
|
-
|
|
2619
|
+
children: l ? p(H, {
|
|
2620
|
+
children: [p("span", {
|
|
2621
|
+
class: "block",
|
|
2622
|
+
children: l.data.title
|
|
2623
|
+
}), p("span", {
|
|
2624
|
+
class: "block truncate text-xs font-normal",
|
|
2625
|
+
children: n == null ? void 0 : n.title
|
|
2626
|
+
})]
|
|
2627
|
+
}) : n == null ? void 0 : n.title
|
|
2628
|
+
}), Me({
|
|
2629
|
+
state: r,
|
|
2582
2630
|
view: c
|
|
2583
2631
|
}).with({
|
|
2584
2632
|
state: "idle"
|
|
2585
2633
|
}, () => null).with({
|
|
2586
2634
|
state: "loading"
|
|
2587
|
-
}, () => p(
|
|
2635
|
+
}, () => p(xi, {}, "loading")).with({
|
|
2588
2636
|
state: "loaded"
|
|
2589
2637
|
}, () => p(xt, {
|
|
2590
|
-
fallback: p(
|
|
2591
|
-
children: p(
|
|
2638
|
+
fallback: p(xi, {}, "loading"),
|
|
2639
|
+
children: p(Ir, {
|
|
2592
2640
|
analytics: i,
|
|
2593
2641
|
apiClient: e,
|
|
2594
2642
|
logger: t,
|
|
@@ -2596,28 +2644,28 @@ const Tn = ao(() => import("./chatbot-body-02c464c0.js").then((t) => t.ChatbotBo
|
|
|
2596
2644
|
})
|
|
2597
2645
|
})).with({
|
|
2598
2646
|
state: "error"
|
|
2599
|
-
}, () => p(
|
|
2647
|
+
}, () => p(kr, {
|
|
2600
2648
|
message: s
|
|
2601
2649
|
})).exhaustive()]
|
|
2602
2650
|
})
|
|
2603
2651
|
})
|
|
2604
|
-
}), c === "minimised" ? p(
|
|
2605
|
-
flow:
|
|
2652
|
+
}), c === "minimised" ? p(jr, {
|
|
2653
|
+
flow: n
|
|
2606
2654
|
}) : null]
|
|
2607
2655
|
});
|
|
2608
|
-
},
|
|
2656
|
+
}, jr = ({
|
|
2609
2657
|
flow: t
|
|
2610
2658
|
}) => {
|
|
2611
2659
|
const {
|
|
2612
2660
|
t: e
|
|
2613
2661
|
} = Le();
|
|
2614
2662
|
return p("div", {
|
|
2615
|
-
class:
|
|
2663
|
+
class: So({
|
|
2616
2664
|
view: "minimised",
|
|
2617
2665
|
class: "z-100 isolate"
|
|
2618
2666
|
}),
|
|
2619
2667
|
children: p("div", {
|
|
2620
|
-
class:
|
|
2668
|
+
class: Co({
|
|
2621
2669
|
view: "minimised"
|
|
2622
2670
|
}),
|
|
2623
2671
|
children: [p("button", {
|
|
@@ -2645,18 +2693,18 @@ const Tn = ao(() => import("./chatbot-body-02c464c0.js").then((t) => t.ChatbotBo
|
|
|
2645
2693
|
})]
|
|
2646
2694
|
})
|
|
2647
2695
|
});
|
|
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
|
-
`,
|
|
2696
|
+
}, Nr = `[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)}
|
|
2697
|
+
`, Eo = "inploi-chatbot", Ce = `[data-widget='${Eo}']`, Dr = () => ({
|
|
2650
2698
|
getChatbotElement: () => document.querySelector(Ce),
|
|
2651
2699
|
getOrCreateChatbotElement: () => {
|
|
2652
2700
|
const t = document.querySelector(Ce);
|
|
2653
2701
|
if (t)
|
|
2654
2702
|
return document.body.appendChild(t), t;
|
|
2655
2703
|
const e = document.createElement("div");
|
|
2656
|
-
return document.body.appendChild(e), e.dataset.widget =
|
|
2704
|
+
return document.body.appendChild(e), e.dataset.widget = Eo, e;
|
|
2657
2705
|
}
|
|
2658
|
-
}),
|
|
2659
|
-
}),
|
|
2706
|
+
}), Ar = 25, Po = J(() => {
|
|
2707
|
+
}), Br = (t, e) => new Promise((i, o) => {
|
|
2660
2708
|
if (e != null && e.aborted)
|
|
2661
2709
|
return o(new ut());
|
|
2662
2710
|
const a = setTimeout(i, t);
|
|
@@ -2665,38 +2713,38 @@ const Tn = ao(() => import("./chatbot-body-02c464c0.js").then((t) => t.ChatbotBo
|
|
|
2665
2713
|
}, {
|
|
2666
2714
|
once: !0
|
|
2667
2715
|
});
|
|
2668
|
-
}),
|
|
2669
|
-
onSubmitSuccessFn$:
|
|
2716
|
+
}), nt = {
|
|
2717
|
+
onSubmitSuccessFn$: J(() => {
|
|
2670
2718
|
}),
|
|
2671
|
-
onInteractionFn$:
|
|
2719
|
+
onInteractionFn$: J(() => {
|
|
2672
2720
|
}),
|
|
2673
|
-
isBotTyping$:
|
|
2674
|
-
isReadingHistory$:
|
|
2675
|
-
scrollToEnd: () =>
|
|
2676
|
-
},
|
|
2721
|
+
isBotTyping$: J(!1),
|
|
2722
|
+
isReadingHistory$: J(!1),
|
|
2723
|
+
scrollToEnd: () => Po.value()
|
|
2724
|
+
}, _n = () => {
|
|
2677
2725
|
const t = qt(null);
|
|
2678
2726
|
gt(() => {
|
|
2679
2727
|
const i = t.current;
|
|
2680
2728
|
if (!i)
|
|
2681
2729
|
return;
|
|
2682
2730
|
const o = () => {
|
|
2683
|
-
|
|
2731
|
+
nt.isReadingHistory$.value = !1, i.scrollTo({
|
|
2684
2732
|
top: i.scrollHeight,
|
|
2685
2733
|
behavior: "instant"
|
|
2686
2734
|
});
|
|
2687
2735
|
};
|
|
2688
|
-
|
|
2736
|
+
Po.value = o;
|
|
2689
2737
|
const a = () => {
|
|
2690
|
-
|
|
2738
|
+
nt.isReadingHistory$.value = i.scrollHeight - i.scrollTop - i.clientHeight > 2;
|
|
2691
2739
|
};
|
|
2692
2740
|
i.addEventListener("scroll", a, {
|
|
2693
2741
|
passive: !0
|
|
2694
2742
|
});
|
|
2695
|
-
const
|
|
2696
|
-
|
|
2743
|
+
const r = new ResizeObserver(() => {
|
|
2744
|
+
nt.isReadingHistory$.peek() || o();
|
|
2697
2745
|
});
|
|
2698
|
-
return
|
|
2699
|
-
i.removeEventListener("scroll", a),
|
|
2746
|
+
return r.observe(i), i.firstElementChild && r.observe(i.firstElementChild), () => {
|
|
2747
|
+
i.removeEventListener("scroll", a), r.disconnect();
|
|
2700
2748
|
};
|
|
2701
2749
|
}, []);
|
|
2702
2750
|
const e = dt(() => ({
|
|
@@ -2704,25 +2752,25 @@ const Tn = ao(() => import("./chatbot-body-02c464c0.js").then((t) => t.ChatbotBo
|
|
|
2704
2752
|
send: async ({
|
|
2705
2753
|
message: o,
|
|
2706
2754
|
signal: a,
|
|
2707
|
-
groupId:
|
|
2755
|
+
groupId: r
|
|
2708
2756
|
}) => {
|
|
2709
|
-
if (await
|
|
2757
|
+
if (await Me(o).with({
|
|
2710
2758
|
author: "bot",
|
|
2711
2759
|
type: "text"
|
|
2712
|
-
}, async (
|
|
2760
|
+
}, async (n) => {
|
|
2713
2761
|
if (a != null && a.aborted)
|
|
2714
2762
|
throw new ut();
|
|
2715
|
-
|
|
2716
|
-
const s = Math.min(Math.max(20,
|
|
2763
|
+
nt.isBotTyping$.value = !0;
|
|
2764
|
+
const s = Math.min(Math.max(20, n.text.length), 100) * Ar;
|
|
2717
2765
|
try {
|
|
2718
|
-
await
|
|
2766
|
+
await Br(s, a);
|
|
2719
2767
|
} finally {
|
|
2720
|
-
|
|
2768
|
+
nt.isBotTyping$.value = !1;
|
|
2721
2769
|
}
|
|
2722
2770
|
}).otherwise(async () => {
|
|
2723
2771
|
}), a != null && a.aborted)
|
|
2724
2772
|
throw new ut();
|
|
2725
|
-
$.addMessage(o,
|
|
2773
|
+
$.addMessage(o, r);
|
|
2726
2774
|
},
|
|
2727
2775
|
input: ({
|
|
2728
2776
|
input: o,
|
|
@@ -2730,13 +2778,13 @@ const Tn = ao(() => import("./chatbot-body-02c464c0.js").then((t) => t.ChatbotBo
|
|
|
2730
2778
|
}) => {
|
|
2731
2779
|
if (a != null && a.aborted)
|
|
2732
2780
|
throw new ut();
|
|
2733
|
-
return $.setInput(o), new Promise((
|
|
2734
|
-
const
|
|
2781
|
+
return $.setInput(o), new Promise((r) => {
|
|
2782
|
+
const n = (s) => {
|
|
2735
2783
|
if (a != null && a.aborted)
|
|
2736
2784
|
throw new ut();
|
|
2737
|
-
$.setInput(void 0), o.key && $.setSubmission(o.key, s),
|
|
2785
|
+
$.setInput(void 0), o.key && $.setSubmission(o.key, s), r(s);
|
|
2738
2786
|
};
|
|
2739
|
-
|
|
2787
|
+
nt.onSubmitSuccessFn$.value = n;
|
|
2740
2788
|
});
|
|
2741
2789
|
}
|
|
2742
2790
|
}), []);
|
|
@@ -2745,7 +2793,7 @@ const Tn = ao(() => import("./chatbot-body-02c464c0.js").then((t) => t.ChatbotBo
|
|
|
2745
2793
|
chatService: e
|
|
2746
2794
|
};
|
|
2747
2795
|
};
|
|
2748
|
-
var
|
|
2796
|
+
var To = Lo(Ie([M(), Mt()]), Ei(String)), Io = A({ id: To, version: Mt(), build: Mt(), nodes: Ti(Pi()), context_schema: q(Ft(Ii(M(), A({ required: Te(), type: Ie([Bt("string"), Bt("number")]) })))) }), Fr = A({ flow: Io }), Mr = A({ company: A({ name: M() }), flow: Io, job: A({ id: To, title: M() }), user: q(A({ city: q(M()), country: q(M()), isEU: q(Te()), continent: q(M()) })) }), Lr = $i({ pathname: "/flow/job/:id", method: "GET", schema: { searchParams: zo(), 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
2797
|
light: {
|
|
2750
2798
|
1: [98.8, 0.015],
|
|
2751
2799
|
2: [97.8, 0.018],
|
|
@@ -2774,69 +2822,69 @@ var Po = Lo(ze([L(), Lt()]), Ci(String)), To = A({ id: Po, version: Lt(), build:
|
|
|
2774
2822
|
11: [79.3, 0.12],
|
|
2775
2823
|
12: [95, 0.04]
|
|
2776
2824
|
}
|
|
2777
|
-
},
|
|
2778
|
-
const [a,
|
|
2779
|
-
return "oklch(" + a + "% " +
|
|
2780
|
-
},
|
|
2781
|
-
const e =
|
|
2825
|
+
}, Vr = (t, e = 1, i) => (o) => {
|
|
2826
|
+
const [a, r] = Ur[i][o];
|
|
2827
|
+
return "oklch(" + a + "% " + r * e + " " + t + ")";
|
|
2828
|
+
}, re = (t) => {
|
|
2829
|
+
const e = Vr(t.hue, t.chroma, t.mode);
|
|
2782
2830
|
return Object.fromEntries(
|
|
2783
|
-
|
|
2831
|
+
Rr.map((i) => [t.prefix + i, t.transform(e(i))])
|
|
2784
2832
|
);
|
|
2785
|
-
},
|
|
2833
|
+
}, ne = (t) => t, Wr = (t) => {
|
|
2786
2834
|
const e = Object.keys(t).flatMap((i) => {
|
|
2787
2835
|
const o = t[i];
|
|
2788
2836
|
return typeof o == "object" && o !== null ? Object.keys(o).map((a) => {
|
|
2789
|
-
const
|
|
2790
|
-
return [`${String(i)}.${a}`,
|
|
2837
|
+
const r = o[a];
|
|
2838
|
+
return [`${String(i)}.${a}`, r];
|
|
2791
2839
|
}) : [[i, o]];
|
|
2792
2840
|
});
|
|
2793
2841
|
return Object.fromEntries(e);
|
|
2794
|
-
},
|
|
2842
|
+
}, It = (t) => !!t && typeof t == "object" && !Array.isArray(t), Ee = (t, ...e) => {
|
|
2795
2843
|
if (!e.length)
|
|
2796
2844
|
return t;
|
|
2797
2845
|
const i = e.shift();
|
|
2798
|
-
if (
|
|
2846
|
+
if (It(t) && It(i))
|
|
2799
2847
|
for (const o in i) {
|
|
2800
2848
|
const a = i[o];
|
|
2801
|
-
if (
|
|
2849
|
+
if (It(a)) {
|
|
2802
2850
|
t[o] || Object.assign(t, { [o]: {} });
|
|
2803
|
-
const
|
|
2804
|
-
|
|
2851
|
+
const r = t[o];
|
|
2852
|
+
It(r) && Ee(r, a);
|
|
2805
2853
|
} else
|
|
2806
2854
|
Object.assign(t, { [o]: i[o] });
|
|
2807
2855
|
}
|
|
2808
2856
|
return Ee(t, ...e);
|
|
2809
|
-
},
|
|
2857
|
+
}, Yr = (t) => {
|
|
2810
2858
|
function e(i, o) {
|
|
2811
2859
|
const a = [t.prefix, o.toString().replace(/\./g, "-")].join("");
|
|
2812
2860
|
return i === "declaration" ? `--${a}` : `var(--${a})`;
|
|
2813
2861
|
}
|
|
2814
2862
|
return e;
|
|
2815
|
-
},
|
|
2863
|
+
}, Kr = () => ({
|
|
2816
2864
|
core: (t) => ({
|
|
2817
2865
|
semantic: (e) => ({
|
|
2818
2866
|
component: (i) => ({
|
|
2819
2867
|
from: (o) => {
|
|
2820
|
-
const { theme: a, getToken:
|
|
2868
|
+
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
2869
|
theme: a,
|
|
2822
|
-
core:
|
|
2823
|
-
semantic:
|
|
2870
|
+
core: n,
|
|
2871
|
+
semantic: n,
|
|
2824
2872
|
raw: { core: s, semantic: c }
|
|
2825
|
-
}), u =
|
|
2873
|
+
}), u = Wr(Ee(s, c, d)), l = ([w, g], f) => {
|
|
2826
2874
|
const b = [f, w].filter(Boolean).join(".");
|
|
2827
2875
|
return typeof g == "object" ? Object.entries(g).flatMap((j) => l(j, b)) : [[o.getToken("declaration", b), g]];
|
|
2828
2876
|
};
|
|
2829
2877
|
return {
|
|
2830
2878
|
values: u,
|
|
2831
2879
|
declarations: Object.fromEntries(Object.entries(u).flatMap((w) => l(w))),
|
|
2832
|
-
ref: (w) =>
|
|
2880
|
+
ref: (w) => r("reference", w.toString())
|
|
2833
2881
|
};
|
|
2834
2882
|
}
|
|
2835
2883
|
})
|
|
2836
2884
|
})
|
|
2837
2885
|
})
|
|
2838
2886
|
});
|
|
2839
|
-
const [se, le,
|
|
2887
|
+
const [se, le, ki] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], qr = Kr().core(({
|
|
2840
2888
|
theme: t
|
|
2841
2889
|
}) => ({
|
|
2842
2890
|
color: {
|
|
@@ -2844,26 +2892,26 @@ const [se, le, xi] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], Kn = Y
|
|
|
2844
2892
|
white: le,
|
|
2845
2893
|
lowest: t.mode === "light" ? le : se,
|
|
2846
2894
|
highest: t.mode === "light" ? se : le,
|
|
2847
|
-
...
|
|
2895
|
+
...re({
|
|
2848
2896
|
prefix: "a-",
|
|
2849
2897
|
hue: t.hue,
|
|
2850
2898
|
chroma: t.chroma,
|
|
2851
2899
|
mode: t.mode,
|
|
2852
|
-
transform:
|
|
2900
|
+
transform: ne
|
|
2853
2901
|
}),
|
|
2854
|
-
...
|
|
2902
|
+
...re({
|
|
2855
2903
|
prefix: "n-",
|
|
2856
2904
|
hue: t.hue,
|
|
2857
2905
|
chroma: 0.05,
|
|
2858
2906
|
mode: t.mode,
|
|
2859
|
-
transform:
|
|
2907
|
+
transform: ne
|
|
2860
2908
|
}),
|
|
2861
|
-
...
|
|
2909
|
+
...re({
|
|
2862
2910
|
prefix: "e-",
|
|
2863
2911
|
hue: 20,
|
|
2864
2912
|
chroma: t.chroma,
|
|
2865
2913
|
mode: t.mode,
|
|
2866
|
-
transform:
|
|
2914
|
+
transform: ne
|
|
2867
2915
|
})
|
|
2868
2916
|
},
|
|
2869
2917
|
typography: {}
|
|
@@ -2872,7 +2920,7 @@ const [se, le, xi] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], Kn = Y
|
|
|
2872
2920
|
raw: e,
|
|
2873
2921
|
theme: i
|
|
2874
2922
|
}) => {
|
|
2875
|
-
const o = (a,
|
|
2923
|
+
const o = (a, r) => e.core.color[a].replace(")", ` / ${r})`);
|
|
2876
2924
|
return {
|
|
2877
2925
|
"font-family": {
|
|
2878
2926
|
body: "inherit",
|
|
@@ -2895,7 +2943,7 @@ const [se, le, xi] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], Kn = Y
|
|
|
2895
2943
|
copy: t("color.n-11"),
|
|
2896
2944
|
"copy-hover": t("color.n-12"),
|
|
2897
2945
|
"copy-active": t("color.n-12"),
|
|
2898
|
-
bg:
|
|
2946
|
+
bg: ki,
|
|
2899
2947
|
"bg-hover": o("n-10", 0.2),
|
|
2900
2948
|
"bg-active": o("n-10", 0.3)
|
|
2901
2949
|
}
|
|
@@ -2906,7 +2954,7 @@ const [se, le, xi] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], Kn = Y
|
|
|
2906
2954
|
semantic: i,
|
|
2907
2955
|
core: o
|
|
2908
2956
|
}) => {
|
|
2909
|
-
const a = (
|
|
2957
|
+
const a = (r, n) => t.core.color[r].replace(")", ` / ${n})`);
|
|
2910
2958
|
return {
|
|
2911
2959
|
app: {
|
|
2912
2960
|
bg: o(e.mode === "dark" ? "color.n-1" : "color.n-2")
|
|
@@ -2921,7 +2969,7 @@ const [se, le, xi] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], Kn = Y
|
|
|
2921
2969
|
},
|
|
2922
2970
|
"status-bar": {
|
|
2923
2971
|
bg: a("n-2", 0.8),
|
|
2924
|
-
"bg-button":
|
|
2972
|
+
"bg-button": ki,
|
|
2925
2973
|
"bg-button-hover": a("n-10", 0.4),
|
|
2926
2974
|
"bg-button-active": a("n-10", 0.5)
|
|
2927
2975
|
},
|
|
@@ -2929,56 +2977,56 @@ const [se, le, xi] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], Kn = Y
|
|
|
2929
2977
|
"bg-active": o(e.mode === "dark" ? "color.a-8" : "color.a-11")
|
|
2930
2978
|
}
|
|
2931
2979
|
};
|
|
2932
|
-
}),
|
|
2980
|
+
}), Xr = Yr({
|
|
2933
2981
|
prefix: "i-"
|
|
2934
|
-
}),
|
|
2935
|
-
const e =
|
|
2982
|
+
}), Gr = (t) => {
|
|
2983
|
+
const e = qr.from({
|
|
2936
2984
|
theme: t,
|
|
2937
|
-
getToken:
|
|
2985
|
+
getToken: Xr
|
|
2938
2986
|
}), i = Object.entries(e.declarations).map(([o, a]) => `${o}: ${a};`);
|
|
2939
2987
|
return `${Ce} {
|
|
2940
2988
|
${i.concat(i).join(`
|
|
2941
2989
|
`)}
|
|
2942
2990
|
}`;
|
|
2943
|
-
},
|
|
2944
|
-
_internal_domManager: t =
|
|
2991
|
+
}, mn = ({
|
|
2992
|
+
_internal_domManager: t = Dr(),
|
|
2945
2993
|
theme: e,
|
|
2946
2994
|
terms: i,
|
|
2947
2995
|
feedback: o
|
|
2948
2996
|
}) => Oo(({
|
|
2949
2997
|
apiClient: a,
|
|
2950
|
-
rpcClient:
|
|
2951
|
-
logger:
|
|
2998
|
+
rpcClient: r,
|
|
2999
|
+
logger: n,
|
|
2952
3000
|
analytics: s,
|
|
2953
3001
|
publishableKey: c,
|
|
2954
3002
|
env: d
|
|
2955
3003
|
}) => {
|
|
2956
3004
|
let u = !1, l = 0;
|
|
2957
|
-
const w =
|
|
3005
|
+
const w = ir({
|
|
2958
3006
|
locale: void 0,
|
|
2959
3007
|
overrides: i ?? {}
|
|
2960
|
-
}), g = c && d ?
|
|
3008
|
+
}), g = c && d ? jo({
|
|
2961
3009
|
environment: d,
|
|
2962
3010
|
publishableKey: c,
|
|
2963
|
-
logger:
|
|
3011
|
+
logger: n
|
|
2964
3012
|
}) : void 0, f = (v) => v === l, b = () => {
|
|
2965
3013
|
if (typeof window > "u")
|
|
2966
3014
|
return;
|
|
2967
|
-
l++,
|
|
2968
|
-
}), $.cancelCurrentFlow(),
|
|
3015
|
+
l++, Y.flushStateData().catch(() => {
|
|
3016
|
+
}), $.cancelCurrentFlow(), nt.isBotTyping$.value = !1;
|
|
2969
3017
|
const v = t.getChatbotElement();
|
|
2970
|
-
v && (ct(null, v), v.remove()), u = !1,
|
|
3018
|
+
v && (ct(null, v), v.remove()), u = !1, n.info("Chatbot plugin destroyed");
|
|
2971
3019
|
}, j = () => {
|
|
2972
3020
|
if (typeof window > "u")
|
|
2973
3021
|
return;
|
|
2974
3022
|
const v = l, _ = [B("style", {
|
|
2975
3023
|
id: "inploi-chatbot-styles"
|
|
2976
|
-
},
|
|
3024
|
+
}, Nr), B("style", {
|
|
2977
3025
|
id: "inploi-chatbot-theme"
|
|
2978
|
-
},
|
|
2979
|
-
if (ct(B(
|
|
3026
|
+
}, Gr(e))], y = t.getOrCreateChatbotElement();
|
|
3027
|
+
if (ct(B(H, {}, [_, B(Or, {
|
|
2980
3028
|
apiClient: a,
|
|
2981
|
-
logger:
|
|
3029
|
+
logger: n,
|
|
2982
3030
|
analytics: s,
|
|
2983
3031
|
talentBankClient: g,
|
|
2984
3032
|
params: {
|
|
@@ -2988,19 +3036,19 @@ ${i.concat(i).join(`
|
|
|
2988
3036
|
}
|
|
2989
3037
|
})]), y), o) {
|
|
2990
3038
|
const E = (T) => {
|
|
2991
|
-
var
|
|
3039
|
+
var U, z;
|
|
2992
3040
|
if (!f(v))
|
|
2993
3041
|
return;
|
|
2994
|
-
const R = (
|
|
2995
|
-
R &&
|
|
3042
|
+
const R = (U = t.getChatbotElement()) == null ? void 0 : U.querySelector("dialog");
|
|
3043
|
+
R && Zr({
|
|
2996
3044
|
instance: T({
|
|
2997
|
-
rpcClient:
|
|
3045
|
+
rpcClient: r,
|
|
2998
3046
|
apiClient: a,
|
|
2999
|
-
logger:
|
|
3047
|
+
logger: n,
|
|
3000
3048
|
analytics: s
|
|
3001
3049
|
}),
|
|
3002
3050
|
theme: e,
|
|
3003
|
-
terms: ((
|
|
3051
|
+
terms: ((z = o.params) == null ? void 0 : z.terms) ?? {},
|
|
3004
3052
|
host: R
|
|
3005
3053
|
});
|
|
3006
3054
|
};
|
|
@@ -3009,17 +3057,17 @@ ${i.concat(i).join(`
|
|
|
3009
3057
|
}) => {
|
|
3010
3058
|
E(T());
|
|
3011
3059
|
}).catch((T) => {
|
|
3012
|
-
|
|
3060
|
+
n.error("Error preparing feedback plugin", T);
|
|
3013
3061
|
}) : E(o.plugin);
|
|
3014
3062
|
}
|
|
3015
3063
|
u = !0;
|
|
3016
3064
|
}, x = async (v, _) => {
|
|
3017
3065
|
if (!f(_))
|
|
3018
3066
|
return;
|
|
3019
|
-
|
|
3067
|
+
Ko({
|
|
3020
3068
|
context: v.context || {},
|
|
3021
3069
|
schema: v.flow.context_schema,
|
|
3022
|
-
logger:
|
|
3070
|
+
logger: n
|
|
3023
3071
|
});
|
|
3024
3072
|
const y = await $.prepareFlow(v);
|
|
3025
3073
|
f(_) && $.commitFlow(y);
|
|
@@ -3031,15 +3079,15 @@ ${i.concat(i).join(`
|
|
|
3031
3079
|
try {
|
|
3032
3080
|
if (u)
|
|
3033
3081
|
return;
|
|
3034
|
-
j(),
|
|
3082
|
+
j(), n.info("Chatbot plugin prepared");
|
|
3035
3083
|
} catch (v) {
|
|
3036
|
-
|
|
3084
|
+
n.error("Error preparing chatbot plugin", v);
|
|
3037
3085
|
}
|
|
3038
3086
|
},
|
|
3039
3087
|
/** Fetches a flow by job ID.
|
|
3040
3088
|
* @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
3089
|
*/
|
|
3042
|
-
fetchFlowByJobId: async (v, _) =>
|
|
3090
|
+
fetchFlowByJobId: async (v, _) => r.request(Lr, {
|
|
3043
3091
|
params: {
|
|
3044
3092
|
id: v
|
|
3045
3093
|
},
|
|
@@ -3060,7 +3108,7 @@ ${i.concat(i).join(`
|
|
|
3060
3108
|
..._ == null ? void 0 : _.context
|
|
3061
3109
|
}
|
|
3062
3110
|
})),
|
|
3063
|
-
fetchFlowById: async (v, _) =>
|
|
3111
|
+
fetchFlowById: async (v, _) => r.request(Hr, {
|
|
3064
3112
|
params: {
|
|
3065
3113
|
id: v
|
|
3066
3114
|
}
|
|
@@ -3097,16 +3145,16 @@ ${i.concat(i).join(`
|
|
|
3097
3145
|
};
|
|
3098
3146
|
})) : await x(v, _);
|
|
3099
3147
|
} catch (_) {
|
|
3100
|
-
|
|
3148
|
+
n.error("Error starting flow", _);
|
|
3101
3149
|
}
|
|
3102
3150
|
},
|
|
3103
3151
|
close: async () => {
|
|
3104
|
-
typeof window > "u" || ($.cancelCurrentFlow(),
|
|
3152
|
+
typeof window > "u" || ($.cancelCurrentFlow(), n.info("Closed flow from an external source"));
|
|
3105
3153
|
},
|
|
3106
3154
|
destroy: b
|
|
3107
3155
|
};
|
|
3108
3156
|
});
|
|
3109
|
-
function
|
|
3157
|
+
function Zr({
|
|
3110
3158
|
instance: t,
|
|
3111
3159
|
terms: e,
|
|
3112
3160
|
theme: i,
|
|
@@ -3137,40 +3185,44 @@ function Gn({
|
|
|
3137
3185
|
});
|
|
3138
3186
|
}
|
|
3139
3187
|
export {
|
|
3140
|
-
|
|
3188
|
+
en as $,
|
|
3141
3189
|
ut as A,
|
|
3142
|
-
|
|
3143
|
-
|
|
3190
|
+
sn as B,
|
|
3191
|
+
un as C,
|
|
3192
|
+
an as D,
|
|
3193
|
+
tn as E,
|
|
3144
3194
|
dt as F,
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3195
|
+
dn as H,
|
|
3196
|
+
ln as K,
|
|
3197
|
+
$r as L,
|
|
3198
|
+
on as M,
|
|
3199
|
+
Qr as R,
|
|
3200
|
+
ji as S,
|
|
3201
|
+
rn as U,
|
|
3202
|
+
nn as V,
|
|
3203
|
+
qt as _,
|
|
3204
|
+
vn as a,
|
|
3153
3205
|
De as b,
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3206
|
+
Ne as c,
|
|
3207
|
+
H as d,
|
|
3208
|
+
ca as e,
|
|
3209
|
+
bn as f,
|
|
3210
|
+
wn as g,
|
|
3211
|
+
Gi as h,
|
|
3212
|
+
wo as i,
|
|
3213
|
+
gn as j,
|
|
3214
|
+
Uo as k,
|
|
3215
|
+
nt as l,
|
|
3216
|
+
Me as m,
|
|
3217
|
+
Tt as n,
|
|
3166
3218
|
p as o,
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3219
|
+
Ji as p,
|
|
3220
|
+
_n as q,
|
|
3221
|
+
$e as r,
|
|
3170
3222
|
$ as s,
|
|
3171
|
-
|
|
3223
|
+
Er as t,
|
|
3172
3224
|
Le as u,
|
|
3173
|
-
|
|
3225
|
+
mn as v,
|
|
3174
3226
|
gt as y,
|
|
3175
|
-
|
|
3227
|
+
cn as z
|
|
3176
3228
|
};
|