@inploi/plugin-chatbot 14.9.0 → 14.10.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.
Files changed (36) hide show
  1. package/cdn/index.js +7 -7
  2. package/cdn/style.css +1 -1
  3. package/dist/chatbot-body-b3e7212a.cjs +5 -0
  4. package/dist/chatbot-body-d3fd468f.js +4094 -0
  5. package/dist/chatbot.d.ts +6 -0
  6. package/dist/chatbot.idb.d.ts +2 -2
  7. package/dist/chatbot.resume.d.ts +15 -0
  8. package/dist/chatbot.resume.test.d.ts +1 -0
  9. package/dist/chatbot.state.d.ts +24 -406
  10. package/dist/chatbot.storage.test.d.ts +1 -0
  11. package/dist/chatbot.utils.d.ts +1 -255
  12. package/dist/components/chat-input/chat-input.address.d.ts +1 -14
  13. package/dist/components/chat-input/chat-input.boolean.d.ts +1 -13
  14. package/dist/components/chat-input/chat-input.d.ts +1 -12
  15. package/dist/components/chat-input/chat-input.file.d.ts +1 -12
  16. package/dist/components/chat-input/chat-input.multiple-choice.d.ts +1 -14
  17. package/dist/components/chat-input/chat-input.number.d.ts +1 -14
  18. package/dist/components/chat-input/chat-input.phone-number.d.ts +1 -17
  19. package/dist/components/chat-input/chat-input.submit.d.ts +1 -10
  20. package/dist/components/chat-input/chat-input.text.d.ts +1 -16
  21. package/dist/components/chatbot-body.lifecycle.test.d.ts +1 -0
  22. package/dist/components/message.link.d.ts +1 -1
  23. package/dist/components/useChatService.d.ts +1 -1
  24. package/dist/components/useChatService.test.d.ts +1 -0
  25. package/dist/i18n.d.ts +42 -0
  26. package/dist/index-4aad840b.cjs +5 -0
  27. package/dist/{index-75330fed.js → index-b8dab3ec.js} +1184 -1122
  28. package/dist/plugin-chatbot.cjs +1 -1
  29. package/dist/plugin-chatbot.js +1 -1
  30. package/dist/style/tokens.d.ts +4 -4
  31. package/dist/style.css +1 -1
  32. package/package.json +4 -4
  33. package/dist/chatbot-body-45ccac19.js +0 -4695
  34. package/dist/chatbot-body-b6a4eef8.cjs +0 -5
  35. package/dist/index-47f31542.cjs +0 -5
  36. package/dist/interpreter.d.ts +0 -67
@@ -1,74 +1,74 @@
1
- import { endpoint as Ci, typed as Aa, createPlugin as Oa, createTalentBankClient as ja } from "@inploi/sdk";
1
+ import { endpoint as Ti, typed as Na, createPlugin as ja, createTalentBankClient as Fa } from "@inploi/sdk";
2
2
  var J;
3
- function Ei(t) {
3
+ function Pi(t) {
4
4
  return { lang: (t == null ? void 0 : t.lang) ?? (J == null ? void 0 : J.lang), message: t == null ? void 0 : t.message, abortEarly: (t == null ? void 0 : t.abortEarly) ?? (J == null ? void 0 : J.abortEarly), abortPipeEarly: (t == null ? void 0 : t.abortPipeEarly) ?? (J == null ? void 0 : J.abortPipeEarly) };
5
5
  }
6
- var Jt;
7
- function Na(t) {
8
- return Jt == null ? void 0 : Jt.get(t);
9
- }
10
6
  var Qt;
11
- function Da(t) {
7
+ function Ma(t) {
12
8
  return Qt == null ? void 0 : Qt.get(t);
13
9
  }
14
10
  var te;
15
- function Ma(t, e) {
11
+ function Ba(t) {
12
+ return te == null ? void 0 : te.get(t);
13
+ }
14
+ var ee;
15
+ function La(t, e) {
16
16
  var i;
17
- return (i = te == null ? void 0 : te.get(t)) == null ? void 0 : i.get(e);
17
+ return (i = ee == null ? void 0 : ee.get(t)) == null ? void 0 : i.get(e);
18
18
  }
19
- function Pi(t) {
19
+ function Ii(t) {
20
20
  var i, a;
21
21
  let e = typeof t;
22
22
  return e === "string" ? `"${t}"` : e === "number" || e === "bigint" || e === "boolean" ? `${t}` : e === "object" || e === "function" ? (t && ((a = (i = Object.getPrototypeOf(t)) == null ? void 0 : i.constructor) == null ? void 0 : a.name)) ?? "null" : e;
23
23
  }
24
24
  function V(t, e, i, a, o) {
25
- let r = o && "input" in o ? o.input : i.value, n = (o == null ? void 0 : o.expected) ?? t.expects ?? null, s = (o == null ? void 0 : o.received) ?? Pi(r), c = { kind: t.kind, type: t.type, input: r, expected: n, received: s, message: `Invalid ${e}: ${n ? `Expected ${n} but r` : "R"}eceived ${s}`, requirement: t.requirement, path: o == null ? void 0 : o.path, issues: o == null ? void 0 : o.issues, lang: a.lang, abortEarly: a.abortEarly, abortPipeEarly: a.abortPipeEarly }, d = t.kind === "schema", u = (o == null ? void 0 : o.message) ?? t.message ?? Ma(t.reference, c.lang) ?? (d ? Da(c.lang) : null) ?? a.message ?? Na(c.lang);
25
+ let n = o && "input" in o ? o.input : i.value, r = (o == null ? void 0 : o.expected) ?? t.expects ?? null, s = (o == null ? void 0 : o.received) ?? Ii(n), c = { kind: t.kind, type: t.type, input: n, expected: r, received: s, message: `Invalid ${e}: ${r ? `Expected ${r} but r` : "R"}eceived ${s}`, requirement: t.requirement, path: o == null ? void 0 : o.path, issues: o == null ? void 0 : o.issues, lang: a.lang, abortEarly: a.abortEarly, abortPipeEarly: a.abortPipeEarly }, d = t.kind === "schema", u = (o == null ? void 0 : o.message) ?? t.message ?? La(t.reference, c.lang) ?? (d ? Ba(c.lang) : null) ?? a.message ?? Ma(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
- function F(t) {
28
+ function M(t) {
29
29
  return { version: 1, vendor: "valibot", validate(e) {
30
- return t["~run"]({ value: e }, Ei());
30
+ return t["~run"]({ value: e }, Pi());
31
31
  } };
32
32
  }
33
- function Fa(t, e) {
33
+ function Ra(t, e) {
34
34
  return Object.hasOwn(t, e) && e !== "__proto__" && e !== "prototype" && e !== "constructor";
35
35
  }
36
- function Ba(t, e) {
36
+ function Ha(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 Ti(t) {
41
- return { kind: "transformation", type: "transform", reference: Ti, async: !1, operation: t, "~run"(e) {
40
+ function zi(t) {
41
+ return { kind: "transformation", type: "transform", reference: zi, async: !1, operation: t, "~run"(e) {
42
42
  return e.value = this.operation(e.value), e;
43
43
  } };
44
44
  }
45
- function La(t, e, i) {
45
+ function Ua(t, e, i) {
46
46
  return typeof t.fallback == "function" ? t.fallback(e, i) : t.fallback;
47
47
  }
48
- function Ie(t, e, i) {
48
+ function De(t, e, i) {
49
49
  return typeof t.default == "function" ? t.default(e, i) : t.default;
50
50
  }
51
- function Ii() {
52
- return { kind: "schema", type: "any", reference: Ii, expects: "any", async: !1, get "~standard"() {
53
- return F(this);
51
+ function Di() {
52
+ return { kind: "schema", type: "any", reference: Di, expects: "any", async: !1, get "~standard"() {
53
+ return M(this);
54
54
  }, "~run"(t) {
55
55
  return t.typed = !0, t;
56
56
  } };
57
57
  }
58
- function zi(t, e) {
59
- return { kind: "schema", type: "array", reference: zi, expects: "Array", async: !1, item: t, message: e, get "~standard"() {
60
- return F(this);
58
+ function Oi(t, e) {
59
+ return { kind: "schema", type: "array", reference: Oi, expects: "Array", async: !1, item: t, message: e, get "~standard"() {
60
+ return M(this);
61
61
  }, "~run"(i, a) {
62
- var r;
62
+ var n;
63
63
  let o = i.value;
64
64
  if (Array.isArray(o)) {
65
65
  i.typed = !0, i.value = [];
66
- for (let n = 0; n < o.length; n++) {
67
- let s = o[n], c = this.item["~run"]({ value: s }, a);
66
+ for (let r = 0; r < o.length; r++) {
67
+ let s = o[r], c = this.item["~run"]({ value: s }, a);
68
68
  if (c.issues) {
69
- let d = { type: "array", origin: "value", input: o, key: n, value: s };
69
+ let d = { type: "array", origin: "value", input: o, key: r, value: s };
70
70
  for (let u of c.issues)
71
- u.path ? u.path.unshift(d) : u.path = [d], (r = i.issues) == null || r.push(u);
71
+ u.path ? u.path.unshift(d) : u.path = [d], (n = i.issues) == null || n.push(u);
72
72
  if (i.issues || (i.issues = c.issues), a.abortEarly) {
73
73
  i.typed = !1;
74
74
  break;
@@ -81,66 +81,66 @@ function zi(t, e) {
81
81
  return i;
82
82
  } };
83
83
  }
84
- function ze(t) {
85
- return { kind: "schema", type: "boolean", reference: ze, expects: "boolean", async: !1, message: t, get "~standard"() {
86
- return F(this);
84
+ function Oe(t) {
85
+ return { kind: "schema", type: "boolean", reference: Oe, expects: "boolean", async: !1, message: t, get "~standard"() {
86
+ return M(this);
87
87
  }, "~run"(e, i) {
88
88
  return typeof e.value == "boolean" ? e.typed = !0 : V(this, "type", e, i), e;
89
89
  } };
90
90
  }
91
91
  function ft(t, e) {
92
- return { kind: "schema", type: "literal", reference: ft, expects: Pi(t), async: !1, literal: t, message: e, get "~standard"() {
93
- return F(this);
92
+ return { kind: "schema", type: "literal", reference: ft, expects: Ii(t), async: !1, literal: t, message: e, get "~standard"() {
93
+ return M(this);
94
94
  }, "~run"(i, a) {
95
95
  return i.value === this.literal ? i.typed = !0 : V(this, "type", i, a), i;
96
96
  } };
97
97
  }
98
98
  function Ai(t) {
99
99
  return { kind: "schema", type: "null", reference: Ai, expects: "null", async: !1, message: t, get "~standard"() {
100
- return F(this);
100
+ return M(this);
101
101
  }, "~run"(e, i) {
102
102
  return e.value === null ? e.typed = !0 : V(this, "type", e, i), e;
103
103
  } };
104
104
  }
105
105
  function Bt(t, e) {
106
106
  return { kind: "schema", type: "nullable", reference: Bt, expects: `(${t.expects} | null)`, async: !1, wrapped: t, default: e, get "~standard"() {
107
- return F(this);
107
+ return M(this);
108
108
  }, "~run"(i, a) {
109
- return i.value === null && (this.default !== void 0 && (i.value = Ie(this, i, a)), i.value === null) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
109
+ return i.value === null && (this.default !== void 0 && (i.value = De(this, i, a)), i.value === null) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
110
110
  } };
111
111
  }
112
112
  function Lt(t) {
113
113
  return { kind: "schema", type: "number", reference: Lt, expects: "number", async: !1, message: t, get "~standard"() {
114
- return F(this);
114
+ return M(this);
115
115
  }, "~run"(e, i) {
116
116
  return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 : V(this, "type", e, i), e;
117
117
  } };
118
118
  }
119
- function A(t, e) {
120
- return { kind: "schema", type: "object", reference: A, expects: "Object", async: !1, entries: t, message: e, get "~standard"() {
121
- return F(this);
119
+ function O(t, e) {
120
+ return { kind: "schema", type: "object", reference: O, expects: "Object", async: !1, entries: t, message: e, get "~standard"() {
121
+ return M(this);
122
122
  }, "~run"(i, a) {
123
- var r;
123
+ var n;
124
124
  let o = i.value;
125
125
  if (o && typeof o == "object") {
126
126
  i.typed = !0, i.value = {};
127
- for (let n in this.entries) {
128
- let s = this.entries[n];
129
- if (n in o || (s.type === "exact_optional" || s.type === "optional" || s.type === "nullish") && s.default !== void 0) {
130
- let c = n in o ? o[n] : Ie(s), d = s["~run"]({ value: c }, a);
127
+ for (let r in this.entries) {
128
+ let s = this.entries[r];
129
+ if (r in o || (s.type === "exact_optional" || s.type === "optional" || s.type === "nullish") && s.default !== void 0) {
130
+ let c = r in o ? o[r] : De(s), d = s["~run"]({ value: c }, a);
131
131
  if (d.issues) {
132
- let u = { type: "object", origin: "value", input: o, key: n, value: c };
132
+ let u = { type: "object", origin: "value", input: o, key: r, value: c };
133
133
  for (let l of d.issues)
134
- l.path ? l.path.unshift(u) : l.path = [u], (r = i.issues) == null || r.push(l);
134
+ l.path ? l.path.unshift(u) : l.path = [u], (n = i.issues) == null || n.push(l);
135
135
  if (i.issues || (i.issues = d.issues), a.abortEarly) {
136
136
  i.typed = !1;
137
137
  break;
138
138
  }
139
139
  }
140
- d.typed || (i.typed = !1), i.value[n] = d.value;
140
+ d.typed || (i.typed = !1), i.value[r] = d.value;
141
141
  } else if (s.fallback !== void 0)
142
- i.value[n] = La(s);
143
- else if (s.type !== "exact_optional" && s.type !== "optional" && s.type !== "nullish" && (V(this, "key", i, a, { input: void 0, expected: `"${n}"`, path: [{ type: "object", origin: "key", input: o, key: n, value: o[n] }] }), a.abortEarly))
142
+ i.value[r] = Ua(s);
143
+ else if (s.type !== "exact_optional" && s.type !== "optional" && s.type !== "nullish" && (V(this, "key", i, a, { input: void 0, expected: `"${r}"`, path: [{ type: "object", origin: "key", input: o, key: r, value: o[r] }] }), a.abortEarly))
144
144
  break;
145
145
  }
146
146
  } else
@@ -148,28 +148,28 @@ function A(t, e) {
148
148
  return i;
149
149
  } };
150
150
  }
151
- function M(t, e) {
152
- return { kind: "schema", type: "optional", reference: M, expects: `(${t.expects} | undefined)`, async: !1, wrapped: t, default: e, get "~standard"() {
153
- return F(this);
151
+ function F(t, e) {
152
+ return { kind: "schema", type: "optional", reference: F, expects: `(${t.expects} | undefined)`, async: !1, wrapped: t, default: e, get "~standard"() {
153
+ return M(this);
154
154
  }, "~run"(i, a) {
155
- return i.value === void 0 && (this.default !== void 0 && (i.value = Ie(this, i, a)), i.value === void 0) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
155
+ return i.value === void 0 && (this.default !== void 0 && (i.value = De(this, i, a)), i.value === void 0) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
156
156
  } };
157
157
  }
158
- function Oi(t, e, i) {
159
- return { kind: "schema", type: "record", reference: Oi, expects: "Object", async: !1, key: t, value: e, message: i, get "~standard"() {
160
- return F(this);
158
+ function Ni(t, e, i) {
159
+ return { kind: "schema", type: "record", reference: Ni, expects: "Object", async: !1, key: t, value: e, message: i, get "~standard"() {
160
+ return M(this);
161
161
  }, "~run"(a, o) {
162
- var n, s;
163
- let r = a.value;
164
- if (r && typeof r == "object") {
162
+ var r, s;
163
+ let n = a.value;
164
+ if (n && typeof n == "object") {
165
165
  a.typed = !0, a.value = {};
166
- for (let c in r)
167
- if (Fa(r, c)) {
168
- let d = r[c], u = this.key["~run"]({ value: c }, o);
166
+ for (let c in n)
167
+ if (Ra(n, c)) {
168
+ let d = n[c], u = this.key["~run"]({ value: c }, o);
169
169
  if (u.issues) {
170
- let w = { type: "object", origin: "key", input: r, key: c, value: d };
170
+ let w = { type: "object", origin: "key", input: n, key: c, value: d };
171
171
  for (let g of u.issues)
172
- g.path = [w], (n = a.issues) == null || n.push(g);
172
+ g.path = [w], (r = a.issues) == null || r.push(g);
173
173
  if (a.issues || (a.issues = u.issues), o.abortEarly) {
174
174
  a.typed = !1;
175
175
  break;
@@ -177,7 +177,7 @@ function Oi(t, e, i) {
177
177
  }
178
178
  let l = this.value["~run"]({ value: d }, o);
179
179
  if (l.issues) {
180
- let w = { type: "object", origin: "value", input: r, key: c, value: d };
180
+ let w = { type: "object", origin: "value", input: n, key: c, value: d };
181
181
  for (let g of l.issues)
182
182
  g.path ? g.path.unshift(w) : g.path = [w], (s = a.issues) == null || s.push(g);
183
183
  if (a.issues || (a.issues = l.issues), o.abortEarly) {
@@ -194,12 +194,12 @@ function Oi(t, e, i) {
194
194
  }
195
195
  function L(t) {
196
196
  return { kind: "schema", type: "string", reference: L, expects: "string", async: !1, message: t, get "~standard"() {
197
- return F(this);
197
+ return M(this);
198
198
  }, "~run"(e, i) {
199
199
  return typeof e.value == "string" ? e.typed = !0 : V(this, "type", e, i), e;
200
200
  } };
201
201
  }
202
- function Ye(t) {
202
+ function qe(t) {
203
203
  let e;
204
204
  if (t)
205
205
  for (let i of t)
@@ -207,46 +207,46 @@ function Ye(t) {
207
207
  return e;
208
208
  }
209
209
  function Ae(t, e) {
210
- return { kind: "schema", type: "union", reference: Ae, expects: Ba(t.map((i) => i.expects), "|"), async: !1, options: t, message: e, get "~standard"() {
211
- return F(this);
210
+ return { kind: "schema", type: "union", reference: Ae, expects: Ha(t.map((i) => i.expects), "|"), async: !1, options: t, message: e, get "~standard"() {
211
+ return M(this);
212
212
  }, "~run"(i, a) {
213
- let o, r, n;
213
+ let o, n, r;
214
214
  for (let s of this.options) {
215
215
  let c = s["~run"]({ value: i.value }, a);
216
216
  if (c.typed)
217
217
  if (c.issues)
218
- r ? r.push(c) : r = [c];
218
+ n ? n.push(c) : n = [c];
219
219
  else {
220
220
  o = c;
221
221
  break;
222
222
  }
223
223
  else
224
- n ? n.push(c) : n = [c];
224
+ r ? r.push(c) : r = [c];
225
225
  }
226
226
  if (o)
227
227
  return o;
228
- if (r) {
229
- if (r.length === 1)
230
- return r[0];
231
- V(this, "type", i, a, { issues: Ye(r) }), i.typed = !0;
232
- } else {
233
- if ((n == null ? void 0 : n.length) === 1)
228
+ if (n) {
229
+ if (n.length === 1)
234
230
  return n[0];
235
- V(this, "type", i, a, { issues: Ye(n) });
231
+ V(this, "type", i, a, { issues: qe(n) }), i.typed = !0;
232
+ } else {
233
+ if ((r == null ? void 0 : r.length) === 1)
234
+ return r[0];
235
+ V(this, "type", i, a, { issues: qe(r) });
236
236
  }
237
237
  return i;
238
238
  } };
239
239
  }
240
240
  function St() {
241
241
  return { kind: "schema", type: "unknown", reference: St, expects: "unknown", async: !1, get "~standard"() {
242
- return F(this);
242
+ return M(this);
243
243
  }, "~run"(t) {
244
244
  return t.typed = !0, t;
245
245
  } };
246
246
  }
247
- function Ra(...t) {
247
+ function Wa(...t) {
248
248
  return { ...t[0], pipe: t, get "~standard"() {
249
- return F(this);
249
+ return M(this);
250
250
  }, "~run"(e, i) {
251
251
  for (let a of t)
252
252
  if (a.kind !== "metadata") {
@@ -259,38 +259,42 @@ function Ra(...t) {
259
259
  return e;
260
260
  } };
261
261
  }
262
- function Oe(t, e, i) {
263
- let a = t["~run"]({ value: e }, Ei(i));
262
+ function Ne(t, e, i) {
263
+ let a = t["~run"]({ value: e }, Pi(i));
264
264
  return { typed: a.typed, success: !a.issues, output: a.value, issues: a.issues };
265
265
  }
266
- var Ha = (t) => ({ ok: !0, err: !1, val: t }), Ua = (t) => ({ err: !0, ok: !1, val: t }), je = (t) => t.filter((e) => (e.type === "question-boolean" || e.type === "question-enum") && !!e.data.preApply);
267
- function Va(t, e, i) {
268
- var n, s;
266
+ var Va = (t) => ({ ok: !0, err: !1, val: t }), Ya = (t) => ({ err: !0, ok: !1, val: t }), je = (t) => t.filter((e) => (e.type === "question-boolean" || e.type === "question-enum") && !!e.data.preApply);
267
+ function Ka(t, e, i) {
268
+ var r, s;
269
269
  let a = t.find((c) => c.type === "pre-apply-result");
270
270
  if (!a)
271
271
  return;
272
- let o = (n = e[a.data.participationKey]) == null ? void 0 : n.value, r = {};
272
+ let o = (r = e[a.data.participationKey]) == null ? void 0 : r.value, n = {};
273
273
  if (o === !0)
274
274
  for (let c of je(t)) {
275
275
  let d = (s = e[c.data.key]) == null ? void 0 : s.value;
276
- Array.isArray(d) && d.length === 1 && (d = d[0]), (typeof d == "boolean" || typeof d == "string") && (r[c.data.key] = d);
276
+ Array.isArray(d) && d.length === 1 && (d = d[0]), (typeof d == "boolean" || typeof d == "string") && (n[c.data.key] = d);
277
277
  }
278
- return { node_id: a.id, flow_session_id: i, participation: o, answers: r };
278
+ return { node_id: a.id, flow_session_id: i, participation: o, answers: n };
279
279
  }
280
- function cn(t, e) {
281
- let i = Va(t, e, ""), a = je(t).map((r) => {
282
- let n = r.data.preApply, s = i == null ? void 0 : i.answers[r.data.key], c = r.type === "question-boolean" ? typeof s == "boolean" : r.data.options.some((d) => d.value === s);
283
- return { key: r.data.key, severity: n.severity, message: n.mismatchMessage, matched: c && s === n.expectedValue, valid: c };
284
- }), o = (i == null ? void 0 : i.participation) === !1 ? "skipped" : (i == null ? void 0 : i.participation) === !0 && a.length > 0 && a.every((r) => r.valid) ? "completed" : "unavailable";
285
- return { status: o, hasHardConcerns: o === "completed" ? a.some((r) => !r.matched && r.severity === "hard") : null, hasAdvisoryConcerns: o === "completed" ? a.some((r) => !r.matched && r.severity === "advisory") : null, answers: o === "completed" ? a : [] };
280
+ function br(t, e) {
281
+ let i = Ka(t, e, ""), a = je(t).map((n) => {
282
+ let r = n.data.preApply, s = i == null ? void 0 : i.answers[n.data.key], c = n.type === "question-boolean" ? typeof s == "boolean" : n.data.options.some((d) => d.value === s);
283
+ return { key: n.data.key, severity: r.severity, message: r.mismatchMessage, matched: c && s === r.expectedValue, valid: c };
284
+ }), o = (i == null ? void 0 : i.participation) === !1 ? "skipped" : (i == null ? void 0 : i.participation) === !0 && a.length > 0 && a.every((n) => n.valid) ? "completed" : "unavailable";
285
+ return { status: o, hasHardConcerns: o === "completed" ? a.some((n) => !n.matched && n.severity === "hard") : null, hasAdvisoryConcerns: o === "completed" ? a.some((n) => !n.matched && n.severity === "advisory") : null, answers: o === "completed" ? a : [] };
286
286
  }
287
- function dn(t, e) {
287
+ function vr(t, e) {
288
288
  let i = new Set(je(t).map((a) => a.data.key));
289
289
  for (let a of t)
290
290
  a.type === "pre-apply-result" && (i.add(a.data.key), i.add(a.data.participationKey));
291
291
  return Object.fromEntries(Object.entries(e).filter(([a]) => !i.has(a)));
292
292
  }
293
- var ji = (t, e) => {
293
+ var ut = class extends Error {
294
+ constructor() {
295
+ super("Aborted");
296
+ }
297
+ }, ji = (t, e) => {
294
298
  if (e.length === 0)
295
299
  return;
296
300
  let i = t;
@@ -300,20 +304,23 @@ var ji = (t, e) => {
300
304
  i = i[a];
301
305
  }
302
306
  return i;
303
- }, un = (t, e = "all") => {
307
+ }, mr = (t, e = "all") => {
304
308
  let i = {}, a = e === "all" ? null : new Set(e);
305
309
  for (let o in t) {
306
- let r = t[o];
307
- r && (a && !a.has(o) || (i[o] = r.value));
310
+ let n = t[o];
311
+ n && (a && !a.has(o) || (i[o] = n.value));
308
312
  }
309
313
  return i;
310
- }, pn = ({ key: t, submissions: e }) => {
314
+ }, Fi = (t, e) => {
315
+ let i = new Set(t.flatMap((a) => a.type === "add-submission" ? [a.data.key] : []));
316
+ return Object.entries(e).some(([a, o]) => o !== void 0 && o.type !== "integration" && !i.has(a));
317
+ }, yr = ({ key: t, submissions: e }) => {
311
318
  var a;
312
319
  let i = (a = e[t]) == null ? void 0 : a.value;
313
320
  if (typeof i != "string" && typeof i != "number")
314
321
  throw new Error(`Submission at “${t}” is not a string or number`);
315
322
  return i;
316
- }, hn = ({ key: t, path: e, submissions: i, context: a }) => {
323
+ }, xr = ({ key: t, path: e, submissions: i, context: a }) => {
317
324
  if (t === "$context") {
318
325
  if (!e)
319
326
  return;
@@ -331,44 +338,58 @@ var ji = (t, e) => {
331
338
  }
332
339
  }
333
340
  return i[t];
334
- }, Wa = (t) => {
341
+ }, qa = (t) => {
335
342
  let e = t.split(".").pop();
336
- return e ? Ha(e ? "." + e : "") : Ua("No file extension found");
337
- }, fn = (t, e) => {
343
+ return e ? Va(e ? "." + e : "") : Ya("No file extension found");
344
+ }, kr = (t, e) => {
338
345
  if (e.length === 0)
339
346
  return !0;
340
347
  let i = e.map((a) => a.toLowerCase());
341
348
  return t.every((a) => {
342
- let o = Wa(a.name);
349
+ let o = qa(a.name);
343
350
  return o.ok && i.includes(o.val.toLowerCase());
344
351
  });
345
- }, wn = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, gn = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, Ya = A({ integration_response: A({ data: A({ redirect_url: L(), message: M(Bt(L())), button_text: M(Bt(L())) }) }) }), qa = (t) => Oe(Ya, t).success, Ka = A({ integration_response: A({ status: M(St()), error: A({ message: L(), data: M(St()) }) }) }), Ni = (t) => Oe(Ka, t).success, Ga = A({ success: ft(!0), integration_response: A({ data: A({ outcome: ft("pending"), message: M(St()) }), error: M(Ai()) }) }), Xa = (t) => {
346
- let e = Oe(Ga, t);
347
- if (!e.success || qa(t))
352
+ }, $r = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, Sr = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, Za = O({ integration_response: O({ data: O({ redirect_url: L(), message: F(Bt(L())), button_text: F(Bt(L())) }) }) }), Xa = (t) => Ne(Za, t).success, Ga = O({ integration_response: O({ status: F(St()), error: O({ message: L(), data: F(St()) }) }) }), Mi = (t) => Ne(Ga, t).success, Ja = O({ success: ft(!0), integration_response: O({ data: O({ outcome: ft("pending"), message: F(St()) }), error: F(Ai()) }) }), Qa = (t) => {
353
+ let e = Ne(Ja, t);
354
+ if (!e.success || Xa(t))
348
355
  return;
349
356
  let { message: i } = e.output.integration_response.data;
350
357
  return typeof i == "string" && i.trim() ? { message: i } : {};
351
358
  };
352
- A({ success: ft(!1), message: M(St()) });
353
- var bn = (t, e) => {
354
- if (!Ni(t))
359
+ O({ success: ft(!1), message: F(St()) });
360
+ var Cr = (t, e) => {
361
+ if (!Mi(t))
355
362
  return;
356
- let i = t.integration_response, a = i.error.data, o = typeof a == "object" && a !== null ? a : {}, r = (g) => typeof o[g] == "string" ? o[g] : void 0, n = (g) => typeof o[g] == "boolean" ? o[g] : void 0, s = (g) => {
357
- let h = o[g];
358
- return Number.isSafeInteger(h) && h >= 0 ? h : void 0;
359
- }, c = typeof i.status == "number" ? i.status : e, d = r("phase"), u = r("verdict"), l = r("code"), w = c === 409 && d === "submit" && u === "confirmed" ? "duplicate" : c === 410 && l === "job_closed" ? "closed" : d === "submit" && u === "unknown" ? "unknown" : void 0;
360
- return { message: i.error.message, status: c, phase: d, providerStatus: s("provider_status"), retryAfterSeconds: s("retry_after_seconds"), retryable: n("retryable"), verdict: u, code: l, field: r("field"), outcome: w };
361
- }, Za = 3e4, Ja = 2e4, Qa = 6e4, to = 12e4, vn = 60 * 6e4, _n = (t, e) => {
362
- if (!((e == null ? void 0 : e.retryable) === !0 && (e.providerStatus === 429 || e.providerStatus !== void 0 && e.providerStatus >= 500 || e.phase === "workflow" && e.verdict === "not_submitted")))
363
- return { waitMs: Za };
364
- let i = (t ?? 0) + 1, a = Math.min(i * Ja, Qa), o = (e.retryAfterSeconds ?? 0) * 1e3;
365
- return { waitMs: Math.min(Math.max(a, o), to), throttles: i };
366
- }, mn = (t) => (t == null ? void 0 : t.code) === "captcha_failed" && t.verdict === "not_submitted", yn = (t) => {
367
- if (!Ni(t))
363
+ let i = t.integration_response, a = i.error.data, o = typeof a == "object" && a !== null ? a : {}, n = (h) => typeof o[h] == "string" ? o[h] : void 0, r = (h) => typeof o[h] == "boolean" ? o[h] : void 0, s = (h) => {
364
+ let b = o[h];
365
+ return Number.isSafeInteger(b) && b >= 0 ? b : void 0;
366
+ }, c = (h) => {
367
+ let b = n(h), z = b === void 0 ? NaN : Date.parse(b);
368
+ return Number.isFinite(z) ? z : void 0;
369
+ }, d = typeof i.status == "number" ? i.status : e, u = n("phase"), l = n("verdict"), w = n("code"), g = d === 409 && u === "submit" && l === "confirmed" ? "duplicate" : d === 410 && w === "job_closed" ? "closed" : u === "submit" && l === "unknown" ? "unknown" : void 0;
370
+ return { message: i.error.message, status: d, phase: u, providerStatus: s("provider_status"), retryAfterSeconds: s("retry_after_seconds"), retryable: r("retryable"), verdict: l, code: w, reason: n("reason"), maintenanceUntil: c("maintenance_until"), field: n("field"), outcome: g };
371
+ }, to = 3e4, eo = 2e4, io = 6e4, ao = 12e4, oo = 6 * 60 * 6e4, Er = 60 * 6e4, Bi = (t) => {
372
+ let e = (t == null ? void 0 : t.reason) === "provider_maintenance" ? t.maintenanceUntil : void 0, i = e === void 0 ? 0 : e - Date.now();
373
+ return i > 0 && i <= oo ? e : void 0;
374
+ }, Tr = (t) => {
375
+ if ((t == null ? void 0 : t.reason) !== "provider_maintenance" || t.outcome === "unknown")
376
+ return;
377
+ let e = Bi(t);
378
+ return e === void 0 ? {} : { until: e };
379
+ }, Pr = (t, e) => new Intl.DateTimeFormat(e, { hour: "numeric", minute: "2-digit" }).format(t), Ir = (t, e) => {
380
+ let i = Bi(e);
381
+ if (i !== void 0)
382
+ return { waitMs: i - Date.now(), throttles: (t ?? 0) + 1, maintenance: !0 };
383
+ if (!((e == null ? void 0 : e.reason) === "provider_maintenance" || (e == null ? void 0 : e.retryable) === !0 && (e.providerStatus === 429 || e.providerStatus !== void 0 && e.providerStatus >= 500 || e.phase === "workflow" && e.verdict === "not_submitted")))
384
+ return { waitMs: to };
385
+ let a = (t ?? 0) + 1, o = Math.min(a * eo, io), n = (e.retryAfterSeconds ?? 0) * 1e3;
386
+ return { waitMs: Math.min(Math.max(o, n), ao), throttles: a };
387
+ }, zr = (t) => (t == null ? void 0 : t.code) === "captcha_failed" && t.verdict === "not_submitted", Dr = (t) => {
388
+ if (!Mi(t))
368
389
  return !1;
369
390
  let e = t.integration_response.error.data;
370
391
  return typeof e == "object" && e !== null && "fallback" in e && e.fallback === "contact";
371
- }, xn = (t) => ((t == null ? void 0 : t.phase) === "workflow" || (t == null ? void 0 : t.phase) === "authentication" || (t == null ? void 0 : t.code) === "captcha_failed") && t.retryable === !0 && t.verdict === "not_submitted", kn = (t) => (t == null ? void 0 : t.outcome) === "unknown" && t.code === "repeatable_provider_crash", $n = (t) => (t == null ? void 0 : t.phase) === "submit" && t.verdict === "confirmed" && t.code === "unreadable_document" && typeof t.field == "string" && t.status !== void 0 && t.status >= 400 && t.status < 500 ? t.field : void 0, Sn = (t) => {
392
+ }, Or = (t) => ((t == null ? void 0 : t.phase) === "workflow" || (t == null ? void 0 : t.phase) === "authentication" || (t == null ? void 0 : t.code) === "captcha_failed") && t.retryable === !0 && t.verdict === "not_submitted", Ar = (t) => (t == null ? void 0 : t.outcome) === "unknown" && t.code === "repeatable_provider_crash", Nr = (t) => (t == null ? void 0 : t.phase) === "submit" && t.verdict === "confirmed" && t.code === "unreadable_document" && typeof t.field == "string" && t.status !== void 0 && t.status >= 400 && t.status < 500 ? t.field : void 0, jr = (t) => {
372
393
  if (typeof t != "object" || t === null)
373
394
  return null;
374
395
  let e = t.integration_response;
@@ -377,66 +398,75 @@ var bn = (t, e) => {
377
398
  let i = e;
378
399
  if (typeof i.status != "number" || i.service !== void 0 && typeof i.service != "string")
379
400
  return null;
380
- let a = "data" in i, o = i.error, r = typeof o == "object" && o !== null && typeof o.message == "string" && "data" in o;
381
- if (!a && !r)
401
+ let a = "data" in i, o = i.error, n = typeof o == "object" && o !== null && typeof o.message == "string" && "data" in o;
402
+ if (!a && !n)
382
403
  return null;
383
- let n = a ? i.data : o.data ?? null;
384
- return { service: i.service ?? "INVALID_SERVICE", response: { status: i.status, payload: n }, ...Xa(t) && { outcome: "pending" } };
385
- }, eo = ({ context: t, schema: e, logger: i }) => {
404
+ let r = a ? i.data : o.data ?? null;
405
+ return { service: i.service ?? "INVALID_SERVICE", response: { status: i.status, payload: r }, ...Qa(t) && { outcome: "pending" } };
406
+ }, no = (t) => {
407
+ if (!/^\d{4}-\d{2}-\d{2}$/.test(t))
408
+ return !1;
409
+ let e = /* @__PURE__ */ new Date(`${t}T00:00:00Z`);
410
+ return Number.isFinite(e.getTime()) && e.toISOString().slice(0, 10) === t;
411
+ }, Fr = (t, e) => {
412
+ if (!no(t))
413
+ throw new RangeError("Invalid ISO calendar date");
414
+ return new Intl.DateTimeFormat(e, { dateStyle: "long", timeZone: "UTC" }).format(/* @__PURE__ */ new Date(`${t}T00:00:00Z`));
415
+ }, ro = ({ context: t, schema: e, logger: i }) => {
386
416
  if (e)
387
417
  for (let a in e) {
388
418
  let o = e[a];
389
419
  if (!o)
390
420
  continue;
391
- let r = ji(t, a.split("."));
392
- if (o.required && r == null) {
393
- let n = `Configuration error in context: ${a} is required`;
394
- throw i.error(n), new Error(n);
421
+ let n = ji(t, a.split("."));
422
+ if (o.required && n == null) {
423
+ let r = `Configuration error in context: ${a} is required`;
424
+ throw i.error(r), new Error(r);
395
425
  }
396
- if (r != null)
426
+ if (n != null)
397
427
  switch (o.type) {
398
428
  case "number":
399
- if (typeof r != "number")
429
+ if (typeof n != "number")
400
430
  throw new Error(`Configuration error in context: ${a} is not a number`);
401
431
  break;
402
432
  case "string":
403
- if (typeof r != "string")
433
+ if (typeof n != "string")
404
434
  throw new Error(`Configuration error in context: ${a} is not a string`);
405
435
  break;
406
436
  default:
407
437
  o.type;
408
438
  }
409
439
  }
410
- }, Pt, f, Di, Mi, st, qe, Fi, ue, Bi, pt = {}, Li = [], io = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Kt = Array.isArray;
440
+ }, Li = Wa(Ae([L(), Lt()]), zi(String)), Ri = O({ id: Li, version: Lt(), build: Lt(), nodes: Oi(Di()), context_schema: F(Bt(Ni(L(), O({ required: Oe(), type: Ae([ft("string"), ft("number")]) })))) }), so = O({ flow: Ri }), lo = O({ company: O({ name: L() }), flow: Ri, job: O({ id: Li, title: L() }), user: F(O({ city: F(L()), country: F(L()), isEU: F(Oe()), continent: F(L()) })) }), co = (t, e) => ({ id: t.job.id, id_type: (e == null ? void 0 : e.idType) === "internal" && e.id === t.job.id ? "internal" : "external" }), uo = Ti({ pathname: "/flow/job/:id", method: "GET", schema: { searchParams: Na(), response: lo } }), po = Ti({ pathname: "/flow/id/:id", method: "GET", schema: { response: so } }), Tt, f, Hi, Ui, st, Ze, Wi, he, Vi, pt = {}, Yi = [], ho = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Zt = Array.isArray;
411
441
  function Q(t, e) {
412
442
  for (var i in e)
413
443
  t[i] = e[i];
414
444
  return t;
415
445
  }
416
- function Ri(t) {
446
+ function Ki(t) {
417
447
  var e = t.parentNode;
418
448
  e && e.removeChild(t);
419
449
  }
420
450
  function B(t, e, i) {
421
- var a, o, r, n = {};
422
- for (r in e)
423
- r == "key" ? a = e[r] : r == "ref" ? o = e[r] : n[r] = e[r];
424
- if (arguments.length > 2 && (n.children = arguments.length > 3 ? Pt.call(arguments, 2) : i), typeof t == "function" && t.defaultProps != null)
425
- for (r in t.defaultProps)
426
- n[r] === void 0 && (n[r] = t.defaultProps[r]);
427
- return xt(t, n, a, o, null);
451
+ var a, o, n, r = {};
452
+ for (n in e)
453
+ n == "key" ? a = e[n] : n == "ref" ? o = e[n] : r[n] = e[n];
454
+ if (arguments.length > 2 && (r.children = arguments.length > 3 ? Tt.call(arguments, 2) : i), typeof t == "function" && t.defaultProps != null)
455
+ for (n in t.defaultProps)
456
+ r[n] === void 0 && (r[n] = t.defaultProps[n]);
457
+ return xt(t, r, a, o, null);
428
458
  }
429
459
  function xt(t, e, i, a, o) {
430
- var r = { type: t, props: e, key: i, ref: a, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: o ?? ++Di };
431
- return o == null && f.vnode != null && f.vnode(r), r;
460
+ var n = { type: t, props: e, key: i, ref: a, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: o ?? ++Hi };
461
+ return o == null && f.vnode != null && f.vnode(n), n;
432
462
  }
433
- function ao() {
463
+ function fo() {
434
464
  return { current: null };
435
465
  }
436
- function W(t) {
466
+ function Y(t) {
437
467
  return t.children;
438
468
  }
439
- function U(t, e) {
469
+ function W(t, e) {
440
470
  this.props = t, this.context = e;
441
471
  }
442
472
  function Rt(t, e) {
@@ -447,7 +477,7 @@ function Rt(t, e) {
447
477
  return i.__e;
448
478
  return typeof t.type == "function" ? Rt(t) : null;
449
479
  }
450
- function Hi(t) {
480
+ function qi(t) {
451
481
  var e, i;
452
482
  if ((t = t.__) != null && t.__c != null) {
453
483
  for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++)
@@ -455,69 +485,69 @@ function Hi(t) {
455
485
  t.__e = t.__c.base = i.__e;
456
486
  break;
457
487
  }
458
- return Hi(t);
488
+ return qi(t);
459
489
  }
460
490
  }
461
- function pe(t) {
462
- (!t.__d && (t.__d = !0) && st.push(t) && !Ht.__r++ || qe !== f.debounceRendering) && ((qe = f.debounceRendering) || Fi)(Ht);
491
+ function fe(t) {
492
+ (!t.__d && (t.__d = !0) && st.push(t) && !Ht.__r++ || Ze !== f.debounceRendering) && ((Ze = f.debounceRendering) || Wi)(Ht);
463
493
  }
464
494
  function Ht() {
465
- var t, e, i, a, o, r, n, s, c;
466
- for (st.sort(ue); t = st.shift(); )
467
- t.__d && (e = st.length, a = void 0, o = void 0, r = void 0, s = (n = (i = t).__v).__e, (c = i.__P) && (a = [], o = [], (r = Q({}, n)).__v = n.__v + 1, Ne(c, n, r, i.__n, c.ownerSVGElement !== void 0, n.__h != null ? [s] : null, a, s ?? Rt(n), n.__h, o), Yi(a, n, o), n.__e != s && Hi(n)), st.length > e && st.sort(ue));
495
+ var t, e, i, a, o, n, r, s, c;
496
+ for (st.sort(he); t = st.shift(); )
497
+ t.__d && (e = st.length, a = void 0, o = void 0, n = void 0, s = (r = (i = t).__v).__e, (c = i.__P) && (a = [], o = [], (n = Q({}, r)).__v = r.__v + 1, Fe(c, r, n, i.__n, c.ownerSVGElement !== void 0, r.__h != null ? [s] : null, a, s ?? Rt(r), r.__h, o), Ji(a, r, o), r.__e != s && qi(r)), st.length > e && st.sort(he));
468
498
  Ht.__r = 0;
469
499
  }
470
- function Ui(t, e, i, a, o, r, n, s, c, d, u) {
471
- var l, w, g, h, b, j, x, v, _, y, E = 0, T = a && a.__k || Li, Y = T.length, q = Y, z = e.length;
472
- for (i.__k = [], l = 0; l < z; l++)
473
- (h = i.__k[l] = (h = e[l]) == null || typeof h == "boolean" || typeof h == "function" ? null : typeof h == "string" || typeof h == "number" || typeof h == "bigint" ? xt(null, h, null, null, h) : Kt(h) ? xt(W, { children: h }, null, null, null) : h.__b > 0 ? xt(h.type, h.props, h.key, h.ref ? h.ref : null, h.__v) : h) != null && (h.__ = i, h.__b = i.__b + 1, (v = oo(h, T, x = l + E, q)) === -1 ? g = pt : (g = T[v] || pt, T[v] = void 0, q--), Ne(t, h, g, o, r, n, s, c, d, u), b = h.__e, (w = h.ref) && g.ref != w && (g.ref && De(g.ref, null, h), u.push(w, h.__c || b, h)), b != null && (j == null && (j = b), y = !(_ = g === pt || g.__v === null) && v === x, _ ? v == -1 && E-- : v !== x && (v === x + 1 ? (E++, y = !0) : v > x ? q > z - x ? (E += v - x, y = !0) : E-- : E = v < x && v == x - 1 ? v - x : 0), x = l + E, y = y || v == l && !_, typeof h.type != "function" || v === x && g.__k !== h.__k ? typeof h.type == "function" || y ? h.__d !== void 0 ? (c = h.__d, h.__d = void 0) : c = b.nextSibling : c = Wi(t, b, c) : c = Vi(h, c, t), typeof i.type == "function" && (i.__d = c)));
474
- for (i.__e = j, l = Y; l--; )
475
- T[l] != null && (typeof i.type == "function" && T[l].__e != null && T[l].__e == i.__d && (i.__d = T[l].__e.nextSibling), qi(T[l], T[l]));
500
+ function Zi(t, e, i, a, o, n, r, s, c, d, u) {
501
+ var l, w, g, h, b, z, y, v, _, x, k = 0, P = a && a.__k || Yi, K = P.length, q = K, D = e.length;
502
+ for (i.__k = [], l = 0; l < D; l++)
503
+ (h = i.__k[l] = (h = e[l]) == null || typeof h == "boolean" || typeof h == "function" ? null : typeof h == "string" || typeof h == "number" || typeof h == "bigint" ? xt(null, h, null, null, h) : Zt(h) ? xt(Y, { children: h }, null, null, null) : h.__b > 0 ? xt(h.type, h.props, h.key, h.ref ? h.ref : null, h.__v) : h) != null && (h.__ = i, h.__b = i.__b + 1, (v = wo(h, P, y = l + k, q)) === -1 ? g = pt : (g = P[v] || pt, P[v] = void 0, q--), Fe(t, h, g, o, n, r, s, c, d, u), b = h.__e, (w = h.ref) && g.ref != w && (g.ref && Me(g.ref, null, h), u.push(w, h.__c || b, h)), b != null && (z == null && (z = b), x = !(_ = g === pt || g.__v === null) && v === y, _ ? v == -1 && k-- : v !== y && (v === y + 1 ? (k++, x = !0) : v > y ? q > D - y ? (k += v - y, x = !0) : k-- : k = v < y && v == y - 1 ? v - y : 0), y = l + k, x = x || v == l && !_, typeof h.type != "function" || v === y && g.__k !== h.__k ? typeof h.type == "function" || x ? h.__d !== void 0 ? (c = h.__d, h.__d = void 0) : c = b.nextSibling : c = Gi(t, b, c) : c = Xi(h, c, t), typeof i.type == "function" && (i.__d = c)));
504
+ for (i.__e = z, l = K; l--; )
505
+ P[l] != null && (typeof i.type == "function" && P[l].__e != null && P[l].__e == i.__d && (i.__d = P[l].__e.nextSibling), Qi(P[l], P[l]));
476
506
  }
477
- function Vi(t, e, i) {
478
- for (var a, o = t.__k, r = 0; o && r < o.length; r++)
479
- (a = o[r]) && (a.__ = t, e = typeof a.type == "function" ? Vi(a, e, i) : Wi(i, a.__e, e));
507
+ function Xi(t, e, i) {
508
+ for (var a, o = t.__k, n = 0; o && n < o.length; n++)
509
+ (a = o[n]) && (a.__ = t, e = typeof a.type == "function" ? Xi(a, e, i) : Gi(i, a.__e, e));
480
510
  return e;
481
511
  }
482
512
  function tt(t, e) {
483
- return e = e || [], t == null || typeof t == "boolean" || (Kt(t) ? t.some(function(i) {
513
+ return e = e || [], t == null || typeof t == "boolean" || (Zt(t) ? t.some(function(i) {
484
514
  tt(i, e);
485
515
  }) : e.push(t)), e;
486
516
  }
487
- function Wi(t, e, i) {
517
+ function Gi(t, e, i) {
488
518
  return i == null || i.parentNode !== t ? t.insertBefore(e, null) : e == i && e.parentNode != null || t.insertBefore(e, i), e.nextSibling;
489
519
  }
490
- function oo(t, e, i, a) {
491
- var o = t.key, r = t.type, n = i - 1, s = i + 1, c = e[i];
492
- if (c === null || c && o == c.key && r === c.type)
520
+ function wo(t, e, i, a) {
521
+ var o = t.key, n = t.type, r = i - 1, s = i + 1, c = e[i];
522
+ if (c === null || c && o == c.key && n === c.type)
493
523
  return i;
494
524
  if (a > (c != null ? 1 : 0))
495
- for (; n >= 0 || s < e.length; ) {
496
- if (n >= 0) {
497
- if ((c = e[n]) && o == c.key && r === c.type)
498
- return n;
499
- n--;
525
+ for (; r >= 0 || s < e.length; ) {
526
+ if (r >= 0) {
527
+ if ((c = e[r]) && o == c.key && n === c.type)
528
+ return r;
529
+ r--;
500
530
  }
501
531
  if (s < e.length) {
502
- if ((c = e[s]) && o == c.key && r === c.type)
532
+ if ((c = e[s]) && o == c.key && n === c.type)
503
533
  return s;
504
534
  s++;
505
535
  }
506
536
  }
507
537
  return -1;
508
538
  }
509
- function ro(t, e, i, a, o) {
510
- var r;
511
- for (r in i)
512
- r === "children" || r === "key" || r in e || Ut(t, r, null, i[r], a);
513
- for (r in e)
514
- o && typeof e[r] != "function" || r === "children" || r === "key" || r === "value" || r === "checked" || i[r] === e[r] || Ut(t, r, e[r], i[r], a);
539
+ function go(t, e, i, a, o) {
540
+ var n;
541
+ for (n in i)
542
+ n === "children" || n === "key" || n in e || Ut(t, n, null, i[n], a);
543
+ for (n in e)
544
+ o && typeof e[n] != "function" || n === "children" || n === "key" || n === "value" || n === "checked" || i[n] === e[n] || Ut(t, n, e[n], i[n], a);
515
545
  }
516
- function Ke(t, e, i) {
517
- e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" || io.test(e) ? i : i + "px";
546
+ function Xe(t, e, i) {
547
+ e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" || ho.test(e) ? i : i + "px";
518
548
  }
519
549
  function Ut(t, e, i, a, o) {
520
- var r;
550
+ var n;
521
551
  t:
522
552
  if (e === "style")
523
553
  if (typeof i == "string")
@@ -525,13 +555,13 @@ function Ut(t, e, i, a, o) {
525
555
  else {
526
556
  if (typeof a == "string" && (t.style.cssText = a = ""), a)
527
557
  for (e in a)
528
- i && e in i || Ke(t.style, e, "");
558
+ i && e in i || Xe(t.style, e, "");
529
559
  if (i)
530
560
  for (e in i)
531
- a && i[e] === a[e] || Ke(t.style, e, i[e]);
561
+ a && i[e] === a[e] || Xe(t.style, e, i[e]);
532
562
  }
533
563
  else if (e[0] === "o" && e[1] === "n")
534
- r = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + r] = i, i ? a || t.addEventListener(e, r ? Xe : Ge, r) : t.removeEventListener(e, r ? Xe : Ge, r);
564
+ n = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + n] = i, i ? a || t.addEventListener(e, n ? Je : Ge, n) : t.removeEventListener(e, n ? Je : Ge, n);
535
565
  else if (e !== "dangerouslySetInnerHTML") {
536
566
  if (o)
537
567
  e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
@@ -547,174 +577,174 @@ function Ut(t, e, i, a, o) {
547
577
  function Ge(t) {
548
578
  return this.l[t.type + !1](f.event ? f.event(t) : t);
549
579
  }
550
- function Xe(t) {
580
+ function Je(t) {
551
581
  return this.l[t.type + !0](f.event ? f.event(t) : t);
552
582
  }
553
- function Ne(t, e, i, a, o, r, n, s, c, d) {
554
- var u, l, w, g, h, b, j, x, v, _, y, E, T, Y, q, z = e.type;
583
+ function Fe(t, e, i, a, o, n, r, s, c, d) {
584
+ var u, l, w, g, h, b, z, y, v, _, x, k, P, K, q, D = e.type;
555
585
  if (e.constructor !== void 0)
556
586
  return null;
557
- i.__h != null && (c = i.__h, s = e.__e = i.__e, e.__h = null, r = [s]), (u = f.__b) && u(e);
587
+ i.__h != null && (c = i.__h, s = e.__e = i.__e, e.__h = null, n = [s]), (u = f.__b) && u(e);
558
588
  try {
559
589
  t:
560
- if (typeof z == "function") {
561
- if (x = e.props, v = (u = z.contextType) && a[u.__c], _ = u ? v ? v.props.value : u.__ : a, i.__c ? j = (l = e.__c = i.__c).__ = l.__E : ("prototype" in z && z.prototype.render ? e.__c = l = new z(x, _) : (e.__c = l = new U(x, _), l.constructor = z, l.render = so), v && v.sub(l), l.props = x, l.state || (l.state = {}), l.context = _, l.__n = a, w = l.__d = !0, l.__h = [], l._sb = []), l.__s == null && (l.__s = l.state), z.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = Q({}, l.__s)), Q(l.__s, z.getDerivedStateFromProps(x, l.__s))), g = l.props, h = l.state, l.__v = e, w)
562
- z.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), l.componentDidMount != null && l.__h.push(l.componentDidMount);
590
+ if (typeof D == "function") {
591
+ if (y = e.props, v = (u = D.contextType) && a[u.__c], _ = u ? v ? v.props.value : u.__ : a, i.__c ? z = (l = e.__c = i.__c).__ = l.__E : ("prototype" in D && D.prototype.render ? e.__c = l = new D(y, _) : (e.__c = l = new W(y, _), l.constructor = D, l.render = vo), v && v.sub(l), l.props = y, l.state || (l.state = {}), l.context = _, l.__n = a, w = l.__d = !0, l.__h = [], l._sb = []), l.__s == null && (l.__s = l.state), D.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = Q({}, l.__s)), Q(l.__s, D.getDerivedStateFromProps(y, l.__s))), g = l.props, h = l.state, l.__v = e, w)
592
+ D.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), l.componentDidMount != null && l.__h.push(l.componentDidMount);
563
593
  else {
564
- 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)) {
565
- for (e.__v !== i.__v && (l.props = x, l.state = l.__s, l.__d = !1), e.__e = i.__e, e.__k = i.__k, e.__k.forEach(function(It) {
594
+ if (D.getDerivedStateFromProps == null && y !== g && l.componentWillReceiveProps != null && l.componentWillReceiveProps(y, _), !l.__e && (l.shouldComponentUpdate != null && l.shouldComponentUpdate(y, l.__s, _) === !1 || e.__v === i.__v)) {
595
+ for (e.__v !== i.__v && (l.props = y, l.state = l.__s, l.__d = !1), e.__e = i.__e, e.__k = i.__k, e.__k.forEach(function(It) {
566
596
  It && (It.__ = e);
567
- }), y = 0; y < l._sb.length; y++)
568
- l.__h.push(l._sb[y]);
569
- l._sb = [], l.__h.length && n.push(l);
597
+ }), x = 0; x < l._sb.length; x++)
598
+ l.__h.push(l._sb[x]);
599
+ l._sb = [], l.__h.length && r.push(l);
570
600
  break t;
571
601
  }
572
- l.componentWillUpdate != null && l.componentWillUpdate(x, l.__s, _), l.componentDidUpdate != null && l.__h.push(function() {
602
+ l.componentWillUpdate != null && l.componentWillUpdate(y, l.__s, _), l.componentDidUpdate != null && l.__h.push(function() {
573
603
  l.componentDidUpdate(g, h, b);
574
604
  });
575
605
  }
576
- if (l.context = _, l.props = x, l.__P = t, l.__e = !1, E = f.__r, T = 0, "prototype" in z && z.prototype.render) {
577
- for (l.state = l.__s, l.__d = !1, E && E(e), u = l.render(l.props, l.state, l.context), Y = 0; Y < l._sb.length; Y++)
578
- l.__h.push(l._sb[Y]);
606
+ if (l.context = _, l.props = y, l.__P = t, l.__e = !1, k = f.__r, P = 0, "prototype" in D && D.prototype.render) {
607
+ for (l.state = l.__s, l.__d = !1, k && k(e), u = l.render(l.props, l.state, l.context), K = 0; K < l._sb.length; K++)
608
+ l.__h.push(l._sb[K]);
579
609
  l._sb = [];
580
610
  } else
581
611
  do
582
- l.__d = !1, E && E(e), u = l.render(l.props, l.state, l.context), l.state = l.__s;
583
- while (l.__d && ++T < 25);
584
- l.state = l.__s, l.getChildContext != null && (a = Q(Q({}, a), l.getChildContext())), w || l.getSnapshotBeforeUpdate == null || (b = l.getSnapshotBeforeUpdate(g, h)), Ui(t, Kt(q = u != null && u.type === W && u.key == null ? u.props.children : u) ? q : [q], e, i, a, o, r, n, s, c, d), l.base = e.__e, e.__h = null, l.__h.length && n.push(l), j && (l.__E = l.__ = null);
612
+ l.__d = !1, k && k(e), u = l.render(l.props, l.state, l.context), l.state = l.__s;
613
+ while (l.__d && ++P < 25);
614
+ l.state = l.__s, l.getChildContext != null && (a = Q(Q({}, a), l.getChildContext())), w || l.getSnapshotBeforeUpdate == null || (b = l.getSnapshotBeforeUpdate(g, h)), Zi(t, Zt(q = u != null && u.type === Y && u.key == null ? u.props.children : u) ? q : [q], e, i, a, o, n, r, s, c, d), l.base = e.__e, e.__h = null, l.__h.length && r.push(l), z && (l.__E = l.__ = null);
585
615
  } else
586
- r == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e = no(i.__e, e, i, a, o, r, n, c, d);
616
+ n == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e = bo(i.__e, e, i, a, o, n, r, c, d);
587
617
  (u = f.diffed) && u(e);
588
618
  } catch (It) {
589
- e.__v = null, (c || r != null) && (e.__e = s, e.__h = !!c, r[r.indexOf(s)] = null), f.__e(It, e, i);
619
+ e.__v = null, (c || n != null) && (e.__e = s, e.__h = !!c, n[n.indexOf(s)] = null), f.__e(It, e, i);
590
620
  }
591
621
  }
592
- function Yi(t, e, i) {
622
+ function Ji(t, e, i) {
593
623
  for (var a = 0; a < i.length; a++)
594
- De(i[a], i[++a], i[++a]);
624
+ Me(i[a], i[++a], i[++a]);
595
625
  f.__c && f.__c(e, t), t.some(function(o) {
596
626
  try {
597
- t = o.__h, o.__h = [], t.some(function(r) {
598
- r.call(o);
627
+ t = o.__h, o.__h = [], t.some(function(n) {
628
+ n.call(o);
599
629
  });
600
- } catch (r) {
601
- f.__e(r, o.__v);
630
+ } catch (n) {
631
+ f.__e(n, o.__v);
602
632
  }
603
633
  });
604
634
  }
605
- function no(t, e, i, a, o, r, n, s, c) {
635
+ function bo(t, e, i, a, o, n, r, s, c) {
606
636
  var d, u, l, w = i.props, g = e.props, h = e.type, b = 0;
607
- if (h === "svg" && (o = !0), r != null) {
608
- for (; b < r.length; b++)
609
- if ((d = r[b]) && "setAttribute" in d == !!h && (h ? d.localName === h : d.nodeType === 3)) {
610
- t = d, r[b] = null;
637
+ if (h === "svg" && (o = !0), n != null) {
638
+ for (; b < n.length; b++)
639
+ if ((d = n[b]) && "setAttribute" in d == !!h && (h ? d.localName === h : d.nodeType === 3)) {
640
+ t = d, n[b] = null;
611
641
  break;
612
642
  }
613
643
  }
614
644
  if (t == null) {
615
645
  if (h === null)
616
646
  return document.createTextNode(g);
617
- t = o ? document.createElementNS("http://www.w3.org/2000/svg", h) : document.createElement(h, g.is && g), r = null, s = !1;
647
+ t = o ? document.createElementNS("http://www.w3.org/2000/svg", h) : document.createElement(h, g.is && g), n = null, s = !1;
618
648
  }
619
649
  if (h === null)
620
650
  w === g || s && t.data === g || (t.data = g);
621
651
  else {
622
- if (r = r && Pt.call(t.childNodes), u = (w = i.props || pt).dangerouslySetInnerHTML, l = g.dangerouslySetInnerHTML, !s) {
623
- if (r != null)
652
+ if (n = n && Tt.call(t.childNodes), u = (w = i.props || pt).dangerouslySetInnerHTML, l = g.dangerouslySetInnerHTML, !s) {
653
+ if (n != null)
624
654
  for (w = {}, b = 0; b < t.attributes.length; b++)
625
655
  w[t.attributes[b].name] = t.attributes[b].value;
626
656
  (l || u) && (l && (u && l.__html == u.__html || l.__html === t.innerHTML) || (t.innerHTML = l && l.__html || ""));
627
657
  }
628
- if (ro(t, g, w, o, s), l)
658
+ if (go(t, g, w, o, s), l)
629
659
  e.__k = [];
630
- else if (Ui(t, Kt(b = e.props.children) ? b : [b], e, i, a, o && h !== "foreignObject", r, n, r ? r[0] : i.__k && Rt(i, 0), s, c), r != null)
631
- for (b = r.length; b--; )
632
- r[b] != null && Ri(r[b]);
660
+ else if (Zi(t, Zt(b = e.props.children) ? b : [b], e, i, a, o && h !== "foreignObject", n, r, n ? n[0] : i.__k && Rt(i, 0), s, c), n != null)
661
+ for (b = n.length; b--; )
662
+ n[b] != null && Ki(n[b]);
633
663
  s || ("value" in g && (b = g.value) !== void 0 && (b !== t.value || h === "progress" && !b || h === "option" && b !== w.value) && Ut(t, "value", b, w.value, !1), "checked" in g && (b = g.checked) !== void 0 && b !== t.checked && Ut(t, "checked", b, w.checked, !1));
634
664
  }
635
665
  return t;
636
666
  }
637
- function De(t, e, i) {
667
+ function Me(t, e, i) {
638
668
  try {
639
669
  typeof t == "function" ? t(e) : t.current = e;
640
670
  } catch (a) {
641
671
  f.__e(a, i);
642
672
  }
643
673
  }
644
- function qi(t, e, i) {
674
+ function Qi(t, e, i) {
645
675
  var a, o;
646
- if (f.unmount && f.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e || De(a, null, e)), (a = t.__c) != null) {
676
+ if (f.unmount && f.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e || Me(a, null, e)), (a = t.__c) != null) {
647
677
  if (a.componentWillUnmount)
648
678
  try {
649
679
  a.componentWillUnmount();
650
- } catch (r) {
651
- f.__e(r, e);
680
+ } catch (n) {
681
+ f.__e(n, e);
652
682
  }
653
683
  a.base = a.__P = null, t.__c = void 0;
654
684
  }
655
685
  if (a = t.__k)
656
686
  for (o = 0; o < a.length; o++)
657
- a[o] && qi(a[o], e, i || typeof t.type != "function");
658
- i || t.__e == null || Ri(t.__e), t.__ = t.__e = t.__d = void 0;
687
+ a[o] && Qi(a[o], e, i || typeof t.type != "function");
688
+ i || t.__e == null || Ki(t.__e), t.__ = t.__e = t.__d = void 0;
659
689
  }
660
- function so(t, e, i) {
690
+ function vo(t, e, i) {
661
691
  return this.constructor(t, i);
662
692
  }
663
693
  function ct(t, e, i) {
664
- var a, o, r, n;
665
- f.__ && f.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, r = [], n = [], Ne(e, t = (!a && i || e).__k = B(W, null, [t]), o || pt, pt, e.ownerSVGElement !== void 0, !a && i ? [i] : o ? null : e.firstChild ? Pt.call(e.childNodes) : null, r, !a && i ? i : o ? o.__e : e.firstChild, a, n), Yi(r, t, n);
694
+ var a, o, n, r;
695
+ f.__ && f.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, n = [], r = [], Fe(e, t = (!a && i || e).__k = B(Y, null, [t]), o || pt, pt, e.ownerSVGElement !== void 0, !a && i ? [i] : o ? null : e.firstChild ? Tt.call(e.childNodes) : null, n, !a && i ? i : o ? o.__e : e.firstChild, a, r), Ji(n, t, r);
666
696
  }
667
- function Ki(t, e) {
668
- ct(t, e, Ki);
697
+ function ta(t, e) {
698
+ ct(t, e, ta);
669
699
  }
670
- function lo(t, e, i) {
671
- var a, o, r, n, s = Q({}, t.props);
672
- for (r in t.type && t.type.defaultProps && (n = t.type.defaultProps), e)
673
- r == "key" ? a = e[r] : r == "ref" ? o = e[r] : s[r] = e[r] === void 0 && n !== void 0 ? n[r] : e[r];
674
- return arguments.length > 2 && (s.children = arguments.length > 3 ? Pt.call(arguments, 2) : i), xt(t.type, s, a || t.key, o || t.ref, null);
700
+ function _o(t, e, i) {
701
+ var a, o, n, r, s = Q({}, t.props);
702
+ for (n in t.type && t.type.defaultProps && (r = t.type.defaultProps), e)
703
+ n == "key" ? a = e[n] : n == "ref" ? o = e[n] : s[n] = e[n] === void 0 && r !== void 0 ? r[n] : e[n];
704
+ return arguments.length > 2 && (s.children = arguments.length > 3 ? Tt.call(arguments, 2) : i), xt(t.type, s, a || t.key, o || t.ref, null);
675
705
  }
676
- function Gi(t, e) {
677
- var i = { __c: e = "__cC" + Bi++, __: t, Consumer: function(a, o) {
706
+ function ea(t, e) {
707
+ var i = { __c: e = "__cC" + Vi++, __: t, Consumer: function(a, o) {
678
708
  return a.children(o);
679
709
  }, Provider: function(a) {
680
- var o, r;
681
- return this.getChildContext || (o = [], (r = {})[e] = this, this.getChildContext = function() {
682
- return r;
683
- }, this.shouldComponentUpdate = function(n) {
684
- this.props.value !== n.value && o.some(function(s) {
685
- s.__e = !0, pe(s);
710
+ var o, n;
711
+ return this.getChildContext || (o = [], (n = {})[e] = this, this.getChildContext = function() {
712
+ return n;
713
+ }, this.shouldComponentUpdate = function(r) {
714
+ this.props.value !== r.value && o.some(function(s) {
715
+ s.__e = !0, fe(s);
686
716
  });
687
- }, this.sub = function(n) {
688
- o.push(n);
689
- var s = n.componentWillUnmount;
690
- n.componentWillUnmount = function() {
691
- o.splice(o.indexOf(n), 1), s && s.call(n);
717
+ }, this.sub = function(r) {
718
+ o.push(r);
719
+ var s = r.componentWillUnmount;
720
+ r.componentWillUnmount = function() {
721
+ o.splice(o.indexOf(r), 1), s && s.call(r);
692
722
  };
693
723
  }), a.children;
694
724
  } };
695
725
  return i.Provider.__ = i.Consumer.contextType = i;
696
726
  }
697
- Pt = Li.slice, f = { __e: function(t, e, i, a) {
698
- for (var o, r, n; e = e.__; )
727
+ Tt = Yi.slice, f = { __e: function(t, e, i, a) {
728
+ for (var o, n, r; e = e.__; )
699
729
  if ((o = e.__c) && !o.__)
700
730
  try {
701
- if ((r = o.constructor) && r.getDerivedStateFromError != null && (o.setState(r.getDerivedStateFromError(t)), n = o.__d), o.componentDidCatch != null && (o.componentDidCatch(t, a || {}), n = o.__d), n)
731
+ if ((n = o.constructor) && n.getDerivedStateFromError != null && (o.setState(n.getDerivedStateFromError(t)), r = o.__d), o.componentDidCatch != null && (o.componentDidCatch(t, a || {}), r = o.__d), r)
702
732
  return o.__E = o;
703
733
  } catch (s) {
704
734
  t = s;
705
735
  }
706
736
  throw t;
707
- } }, Di = 0, Mi = function(t) {
737
+ } }, Hi = 0, Ui = function(t) {
708
738
  return t != null && t.constructor === void 0;
709
- }, U.prototype.setState = function(t, e) {
739
+ }, W.prototype.setState = function(t, e) {
710
740
  var i;
711
- i = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Q({}, this.state), typeof t == "function" && (t = t(Q({}, i), this.props)), t && Q(i, t), t != null && this.__v && (e && this._sb.push(e), pe(this));
712
- }, U.prototype.forceUpdate = function(t) {
713
- this.__v && (this.__e = !0, t && this.__h.push(t), pe(this));
714
- }, U.prototype.render = W, st = [], Fi = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, ue = function(t, e) {
741
+ i = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Q({}, this.state), typeof t == "function" && (t = t(Q({}, i), this.props)), t && Q(i, t), t != null && this.__v && (e && this._sb.push(e), fe(this));
742
+ }, W.prototype.forceUpdate = function(t) {
743
+ this.__v && (this.__e = !0, t && this.__h.push(t), fe(this));
744
+ }, W.prototype.render = Y, st = [], Wi = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, he = function(t, e) {
715
745
  return t.__v.__b - e.__v.__b;
716
- }, Ht.__r = 0, Bi = 0;
717
- function Xi(t) {
746
+ }, Ht.__r = 0, Vi = 0;
747
+ function ia(t) {
718
748
  var e, i, a = "";
719
749
  if (typeof t == "string" || typeof t == "number")
720
750
  a += t;
@@ -722,26 +752,26 @@ function Xi(t) {
722
752
  if (Array.isArray(t)) {
723
753
  var o = t.length;
724
754
  for (e = 0; e < o; e++)
725
- t[e] && (i = Xi(t[e])) && (a && (a += " "), a += i);
755
+ t[e] && (i = ia(t[e])) && (a && (a += " "), a += i);
726
756
  } else
727
757
  for (i in t)
728
758
  t[i] && (a && (a += " "), a += i);
729
759
  return a;
730
760
  }
731
- function Me() {
761
+ function Be() {
732
762
  for (var t, e, i = 0, a = "", o = arguments.length; i < o; i++)
733
- (t = arguments[i]) && (e = Xi(t)) && (a && (a += " "), a += e);
763
+ (t = arguments[i]) && (e = ia(t)) && (a && (a += " "), a += e);
734
764
  return a;
735
765
  }
736
- const Ze = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Je = Me, Fe = (t, e) => (i) => {
766
+ const Qe = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, ti = Be, Le = (t, e) => (i) => {
737
767
  var a;
738
768
  if ((e == null ? void 0 : e.variants) == null)
739
- return Je(t, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
740
- const { variants: o, defaultVariants: r } = e, n = Object.keys(o).map((d) => {
741
- const u = i == null ? void 0 : i[d], l = r == null ? void 0 : r[d];
769
+ return ti(t, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
770
+ const { variants: o, defaultVariants: n } = e, r = Object.keys(o).map((d) => {
771
+ const u = i == null ? void 0 : i[d], l = n == null ? void 0 : n[d];
742
772
  if (u === null)
743
773
  return null;
744
- const w = Ze(u) || Ze(l);
774
+ const w = Qe(u) || Qe(l);
745
775
  return o[d][w];
746
776
  }), s = i && Object.entries(i).reduce((d, u) => {
747
777
  let [l, w] = u;
@@ -749,37 +779,37 @@ const Ze = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Je = Me, F
749
779
  }, {}), c = e == null || (a = e.compoundVariants) === null || a === void 0 ? void 0 : a.reduce((d, u) => {
750
780
  let { class: l, className: w, ...g } = u;
751
781
  return Object.entries(g).every((h) => {
752
- let [b, j] = h;
753
- return Array.isArray(j) ? j.includes({
754
- ...r,
782
+ let [b, z] = h;
783
+ return Array.isArray(z) ? z.includes({
784
+ ...n,
755
785
  ...s
756
786
  }[b]) : {
757
- ...r,
787
+ ...n,
758
788
  ...s
759
- }[b] === j;
789
+ }[b] === z;
760
790
  }) ? [
761
791
  ...d,
762
792
  l,
763
793
  w
764
794
  ] : d;
765
795
  }, []);
766
- return Je(t, n, c, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
796
+ return ti(t, r, c, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
767
797
  };
768
- var rt, C, ee, Qe, wt = 0, Zi = [], Ot = [], ti = f.__b, ei = f.__r, ii = f.diffed, ai = f.__c, oi = f.unmount;
798
+ var nt, E, ie, ei, wt = 0, aa = [], Ot = [], ii = f.__b, ai = f.__r, oi = f.diffed, ni = f.__c, ri = f.unmount;
769
799
  function gt(t, e) {
770
- f.__h && f.__h(C, t, wt || e), wt = 0;
771
- var i = C.__H || (C.__H = { __: [], __h: [] });
800
+ f.__h && f.__h(E, t, wt || e), wt = 0;
801
+ var i = E.__H || (E.__H = { __: [], __h: [] });
772
802
  return t >= i.__.length && i.__.push({ __V: Ot }), i.__[t];
773
803
  }
774
- function Ji(t) {
775
- return wt = 1, Qi(ia, t);
804
+ function oa(t) {
805
+ return wt = 1, na(la, t);
776
806
  }
777
- function Qi(t, e, i) {
778
- var a = gt(rt++, 2);
779
- if (a.t = t, !a.__c && (a.__ = [i ? i(e) : ia(void 0, e), function(s) {
807
+ function na(t, e, i) {
808
+ var a = gt(nt++, 2);
809
+ if (a.t = t, !a.__c && (a.__ = [i ? i(e) : la(void 0, e), function(s) {
780
810
  var c = a.__N ? a.__N[0] : a.__[0], d = a.t(c, s);
781
811
  c !== d && (a.__N = [d, a.__[1]], a.__c.setState({}));
782
- }], a.__c = C, !C.u)) {
812
+ }], a.__c = E, !E.u)) {
783
813
  var o = function(s, c, d) {
784
814
  if (!a.__c.__H)
785
815
  return !0;
@@ -789,41 +819,41 @@ function Qi(t, e, i) {
789
819
  if (u.every(function(w) {
790
820
  return !w.__N;
791
821
  }))
792
- return !r || r.call(this, s, c, d);
822
+ return !n || n.call(this, s, c, d);
793
823
  var l = !1;
794
824
  return u.forEach(function(w) {
795
825
  if (w.__N) {
796
826
  var g = w.__[0];
797
827
  w.__ = w.__N, w.__N = void 0, g !== w.__[0] && (l = !0);
798
828
  }
799
- }), !(!l && a.__c.props === s) && (!r || r.call(this, s, c, d));
829
+ }), !(!l && a.__c.props === s) && (!n || n.call(this, s, c, d));
800
830
  };
801
- C.u = !0;
802
- var r = C.shouldComponentUpdate, n = C.componentWillUpdate;
803
- C.componentWillUpdate = function(s, c, d) {
831
+ E.u = !0;
832
+ var n = E.shouldComponentUpdate, r = E.componentWillUpdate;
833
+ E.componentWillUpdate = function(s, c, d) {
804
834
  if (this.__e) {
805
- var u = r;
806
- r = void 0, o(s, c, d), r = u;
835
+ var u = n;
836
+ n = void 0, o(s, c, d), n = u;
807
837
  }
808
- n && n.call(this, s, c, d);
809
- }, C.shouldComponentUpdate = o;
838
+ r && r.call(this, s, c, d);
839
+ }, E.shouldComponentUpdate = o;
810
840
  }
811
841
  return a.__N || a.__;
812
842
  }
813
- function ta(t, e) {
814
- var i = gt(rt++, 3);
815
- !f.__s && Be(i.__H, e) && (i.__ = t, i.i = e, C.__H.__h.push(i));
843
+ function ra(t, e) {
844
+ var i = gt(nt++, 3);
845
+ !f.__s && Re(i.__H, e) && (i.__ = t, i.i = e, E.__H.__h.push(i));
816
846
  }
817
847
  function bt(t, e) {
818
- var i = gt(rt++, 4);
819
- !f.__s && Be(i.__H, e) && (i.__ = t, i.i = e, C.__h.push(i));
848
+ var i = gt(nt++, 4);
849
+ !f.__s && Re(i.__H, e) && (i.__ = t, i.i = e, E.__h.push(i));
820
850
  }
821
- function Gt(t) {
851
+ function Xt(t) {
822
852
  return wt = 5, dt(function() {
823
853
  return { current: t };
824
854
  }, []);
825
855
  }
826
- function co(t, e, i) {
856
+ function mo(t, e, i) {
827
857
  wt = 6, bt(function() {
828
858
  return typeof t == "function" ? (t(e()), function() {
829
859
  return t(null);
@@ -833,106 +863,106 @@ function co(t, e, i) {
833
863
  }, i == null ? i : i.concat(t));
834
864
  }
835
865
  function dt(t, e) {
836
- var i = gt(rt++, 7);
837
- return Be(i.__H, e) ? (i.__V = t(), i.i = e, i.__h = t, i.__V) : i.__;
866
+ var i = gt(nt++, 7);
867
+ return Re(i.__H, e) ? (i.__V = t(), i.i = e, i.__h = t, i.__V) : i.__;
838
868
  }
839
- function uo(t, e) {
869
+ function yo(t, e) {
840
870
  return wt = 8, dt(function() {
841
871
  return t;
842
872
  }, e);
843
873
  }
844
- function ea(t) {
845
- var e = C.context[t.__c], i = gt(rt++, 9);
846
- return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(C)), e.props.value) : t.__;
874
+ function sa(t) {
875
+ var e = E.context[t.__c], i = gt(nt++, 9);
876
+ return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(E)), e.props.value) : t.__;
847
877
  }
848
- function po(t, e) {
878
+ function xo(t, e) {
849
879
  f.useDebugValue && f.useDebugValue(e ? e(t) : t);
850
880
  }
851
- function ho() {
852
- var t = gt(rt++, 11);
881
+ function ko() {
882
+ var t = gt(nt++, 11);
853
883
  if (!t.__) {
854
- for (var e = C.__v; e !== null && !e.__m && e.__ !== null; )
884
+ for (var e = E.__v; e !== null && !e.__m && e.__ !== null; )
855
885
  e = e.__;
856
886
  var i = e.__m || (e.__m = [0, 0]);
857
887
  t.__ = "P" + i[0] + "-" + i[1]++;
858
888
  }
859
889
  return t.__;
860
890
  }
861
- function fo() {
862
- for (var t; t = Zi.shift(); )
891
+ function $o() {
892
+ for (var t; t = aa.shift(); )
863
893
  if (t.__P && t.__H)
864
894
  try {
865
- t.__H.__h.forEach(jt), t.__H.__h.forEach(he), t.__H.__h = [];
895
+ t.__H.__h.forEach(At), t.__H.__h.forEach(we), t.__H.__h = [];
866
896
  } catch (e) {
867
897
  t.__H.__h = [], f.__e(e, t.__v);
868
898
  }
869
899
  }
870
900
  f.__b = function(t) {
871
- C = null, ti && ti(t);
901
+ E = null, ii && ii(t);
872
902
  }, f.__r = function(t) {
873
- ei && ei(t), rt = 0;
874
- var e = (C = t.__c).__H;
875
- e && (ee === C ? (e.__h = [], C.__h = [], e.__.forEach(function(i) {
903
+ ai && ai(t), nt = 0;
904
+ var e = (E = t.__c).__H;
905
+ e && (ie === E ? (e.__h = [], E.__h = [], e.__.forEach(function(i) {
876
906
  i.__N && (i.__ = i.__N), i.__V = Ot, i.__N = i.i = void 0;
877
- })) : (e.__h.forEach(jt), e.__h.forEach(he), e.__h = [], rt = 0)), ee = C;
907
+ })) : (e.__h.forEach(At), e.__h.forEach(we), e.__h = [], nt = 0)), ie = E;
878
908
  }, f.diffed = function(t) {
879
- ii && ii(t);
909
+ oi && oi(t);
880
910
  var e = t.__c;
881
- e && e.__H && (e.__H.__h.length && (Zi.push(e) !== 1 && Qe === f.requestAnimationFrame || ((Qe = f.requestAnimationFrame) || wo)(fo)), e.__H.__.forEach(function(i) {
911
+ e && e.__H && (e.__H.__h.length && (aa.push(e) !== 1 && ei === f.requestAnimationFrame || ((ei = f.requestAnimationFrame) || So)($o)), e.__H.__.forEach(function(i) {
882
912
  i.i && (i.__H = i.i), i.__V !== Ot && (i.__ = i.__V), i.i = void 0, i.__V = Ot;
883
- })), ee = C = null;
913
+ })), ie = E = null;
884
914
  }, f.__c = function(t, e) {
885
915
  e.some(function(i) {
886
916
  try {
887
- i.__h.forEach(jt), i.__h = i.__h.filter(function(a) {
888
- return !a.__ || he(a);
917
+ i.__h.forEach(At), i.__h = i.__h.filter(function(a) {
918
+ return !a.__ || we(a);
889
919
  });
890
920
  } catch (a) {
891
921
  e.some(function(o) {
892
922
  o.__h && (o.__h = []);
893
923
  }), e = [], f.__e(a, i.__v);
894
924
  }
895
- }), ai && ai(t, e);
925
+ }), ni && ni(t, e);
896
926
  }, f.unmount = function(t) {
897
- oi && oi(t);
927
+ ri && ri(t);
898
928
  var e, i = t.__c;
899
929
  i && i.__H && (i.__H.__.forEach(function(a) {
900
930
  try {
901
- jt(a);
931
+ At(a);
902
932
  } catch (o) {
903
933
  e = o;
904
934
  }
905
935
  }), i.__H = void 0, e && f.__e(e, i.__v));
906
936
  };
907
- var ri = typeof requestAnimationFrame == "function";
908
- function wo(t) {
937
+ var si = typeof requestAnimationFrame == "function";
938
+ function So(t) {
909
939
  var e, i = function() {
910
- clearTimeout(a), ri && cancelAnimationFrame(e), setTimeout(t);
940
+ clearTimeout(a), si && cancelAnimationFrame(e), setTimeout(t);
911
941
  }, a = setTimeout(i, 100);
912
- ri && (e = requestAnimationFrame(i));
942
+ si && (e = requestAnimationFrame(i));
913
943
  }
914
- function jt(t) {
915
- var e = C, i = t.__c;
916
- typeof i == "function" && (t.__c = void 0, i()), C = e;
944
+ function At(t) {
945
+ var e = E, i = t.__c;
946
+ typeof i == "function" && (t.__c = void 0, i()), E = e;
917
947
  }
918
- function he(t) {
919
- var e = C;
920
- t.__c = t.__(), C = e;
948
+ function we(t) {
949
+ var e = E;
950
+ t.__c = t.__(), E = e;
921
951
  }
922
- function Be(t, e) {
952
+ function Re(t, e) {
923
953
  return !t || t.length !== e.length || e.some(function(i, a) {
924
954
  return i !== t[a];
925
955
  });
926
956
  }
927
- function ia(t, e) {
957
+ function la(t, e) {
928
958
  return typeof e == "function" ? e(t) : e;
929
959
  }
930
- function aa(t, e) {
960
+ function ca(t, e) {
931
961
  for (var i in e)
932
962
  t[i] = e[i];
933
963
  return t;
934
964
  }
935
- function fe(t, e) {
965
+ function ge(t, e) {
936
966
  for (var i in t)
937
967
  if (i !== "__source" && !(i in e))
938
968
  return !0;
@@ -941,87 +971,87 @@ function fe(t, e) {
941
971
  return !0;
942
972
  return !1;
943
973
  }
944
- function ie(t, e) {
974
+ function ae(t, e) {
945
975
  return t === e && (t !== 0 || 1 / t == 1 / e) || t != t && e != e;
946
976
  }
947
- function we(t) {
977
+ function be(t) {
948
978
  this.props = t;
949
979
  }
950
- function go(t, e) {
980
+ function Co(t, e) {
951
981
  function i(o) {
952
- var r = this.props.ref, n = r == o.ref;
953
- return !n && r && (r.call ? r(null) : r.current = null), e ? !e(this.props, o) || !n : fe(this.props, o);
982
+ var n = this.props.ref, r = n == o.ref;
983
+ return !r && n && (n.call ? n(null) : n.current = null), e ? !e(this.props, o) || !r : ge(this.props, o);
954
984
  }
955
985
  function a(o) {
956
986
  return this.shouldComponentUpdate = i, B(t, o);
957
987
  }
958
988
  return a.displayName = "Memo(" + (t.displayName || t.name) + ")", a.prototype.isReactComponent = !0, a.__f = !0, a;
959
989
  }
960
- (we.prototype = new U()).isPureReactComponent = !0, we.prototype.shouldComponentUpdate = function(t, e) {
961
- return fe(this.props, t) || fe(this.state, e);
990
+ (be.prototype = new W()).isPureReactComponent = !0, be.prototype.shouldComponentUpdate = function(t, e) {
991
+ return ge(this.props, t) || ge(this.state, e);
962
992
  };
963
- var ni = f.__b;
993
+ var li = f.__b;
964
994
  f.__b = function(t) {
965
- t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), ni && ni(t);
995
+ t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), li && li(t);
966
996
  };
967
- var bo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
968
- function vo(t) {
997
+ var Eo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
998
+ function To(t) {
969
999
  function e(i) {
970
- var a = aa({}, i);
1000
+ var a = ca({}, i);
971
1001
  return delete a.ref, t(a, i.ref || null);
972
1002
  }
973
- return e.$$typeof = bo, e.render = e, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
1003
+ return e.$$typeof = Eo, e.render = e, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
974
1004
  }
975
- var si = function(t, e) {
1005
+ var ci = function(t, e) {
976
1006
  return t == null ? null : tt(tt(t).map(e));
977
- }, _o = { map: si, forEach: si, count: function(t) {
1007
+ }, Po = { map: ci, forEach: ci, count: function(t) {
978
1008
  return t ? tt(t).length : 0;
979
1009
  }, only: function(t) {
980
1010
  var e = tt(t);
981
1011
  if (e.length !== 1)
982
1012
  throw "Children.only";
983
1013
  return e[0];
984
- }, toArray: tt }, mo = f.__e;
1014
+ }, toArray: tt }, Io = f.__e;
985
1015
  f.__e = function(t, e, i, a) {
986
1016
  if (t.then) {
987
- for (var o, r = e; r = r.__; )
988
- if ((o = r.__c) && o.__c)
1017
+ for (var o, n = e; n = n.__; )
1018
+ if ((o = n.__c) && o.__c)
989
1019
  return e.__e == null && (e.__e = i.__e, e.__k = i.__k), o.__c(t, e);
990
1020
  }
991
- mo(t, e, i, a);
1021
+ Io(t, e, i, a);
992
1022
  };
993
- var li = f.unmount;
994
- function oa(t, e, i) {
1023
+ var di = f.unmount;
1024
+ function da(t, e, i) {
995
1025
  return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(a) {
996
1026
  typeof a.__c == "function" && a.__c();
997
- }), t.__c.__H = null), (t = aa({}, t)).__c != null && (t.__c.__P === i && (t.__c.__P = e), t.__c = null), t.__k = t.__k && t.__k.map(function(a) {
998
- return oa(a, e, i);
1027
+ }), t.__c.__H = null), (t = ca({}, t)).__c != null && (t.__c.__P === i && (t.__c.__P = e), t.__c = null), t.__k = t.__k && t.__k.map(function(a) {
1028
+ return da(a, e, i);
999
1029
  })), t;
1000
1030
  }
1001
- function ra(t, e, i) {
1031
+ function ua(t, e, i) {
1002
1032
  return t && (t.__v = null, t.__k = t.__k && t.__k.map(function(a) {
1003
- return ra(a, e, i);
1033
+ return ua(a, e, i);
1004
1034
  }), t.__c && t.__c.__P === e && (t.__e && i.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = i)), t;
1005
1035
  }
1006
1036
  function kt() {
1007
1037
  this.__u = 0, this.t = null, this.__b = null;
1008
1038
  }
1009
- function na(t) {
1039
+ function pa(t) {
1010
1040
  var e = t.__.__c;
1011
1041
  return e && e.__a && e.__a(t);
1012
1042
  }
1013
- function sa(t) {
1043
+ function ha(t) {
1014
1044
  var e, i, a;
1015
- function o(r) {
1016
- if (e || (e = t()).then(function(n) {
1017
- i = n.default || n;
1018
- }, function(n) {
1019
- a = n;
1045
+ function o(n) {
1046
+ if (e || (e = t()).then(function(r) {
1047
+ i = r.default || r;
1048
+ }, function(r) {
1049
+ a = r;
1020
1050
  }), a)
1021
1051
  throw a;
1022
1052
  if (!i)
1023
1053
  throw e;
1024
- return B(i, r);
1054
+ return B(i, n);
1025
1055
  }
1026
1056
  return o.displayName = "Lazy", o.__f = !0, o;
1027
1057
  }
@@ -1030,40 +1060,40 @@ function yt() {
1030
1060
  }
1031
1061
  f.unmount = function(t) {
1032
1062
  var e = t.__c;
1033
- e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), li && li(t);
1034
- }, (kt.prototype = new U()).__c = function(t, e) {
1063
+ e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), di && di(t);
1064
+ }, (kt.prototype = new W()).__c = function(t, e) {
1035
1065
  var i = e.__c, a = this;
1036
1066
  a.t == null && (a.t = []), a.t.push(i);
1037
- var o = na(a.__v), r = !1, n = function() {
1038
- r || (r = !0, i.__R = null, o ? o(s) : s());
1067
+ var o = pa(a.__v), n = !1, r = function() {
1068
+ n || (n = !0, i.__R = null, o ? o(s) : s());
1039
1069
  };
1040
- i.__R = n;
1070
+ i.__R = r;
1041
1071
  var s = function() {
1042
1072
  if (!--a.__u) {
1043
1073
  if (a.state.__a) {
1044
1074
  var d = a.state.__a;
1045
- a.__v.__k[0] = ra(d, d.__c.__P, d.__c.__O);
1075
+ a.__v.__k[0] = ua(d, d.__c.__P, d.__c.__O);
1046
1076
  }
1047
1077
  var u;
1048
1078
  for (a.setState({ __a: a.__b = null }); u = a.t.pop(); )
1049
1079
  u.forceUpdate();
1050
1080
  }
1051
1081
  }, c = e.__h === !0;
1052
- a.__u++ || c || a.setState({ __a: a.__b = a.__v.__k[0] }), t.then(n, n);
1082
+ a.__u++ || c || a.setState({ __a: a.__b = a.__v.__k[0] }), t.then(r, r);
1053
1083
  }, kt.prototype.componentWillUnmount = function() {
1054
1084
  this.t = [];
1055
1085
  }, kt.prototype.render = function(t, e) {
1056
1086
  if (this.__b) {
1057
1087
  if (this.__v.__k) {
1058
1088
  var i = document.createElement("div"), a = this.__v.__k[0].__c;
1059
- this.__v.__k[0] = oa(this.__b, i, a.__O = a.__P);
1089
+ this.__v.__k[0] = da(this.__b, i, a.__O = a.__P);
1060
1090
  }
1061
1091
  this.__b = null;
1062
1092
  }
1063
- var o = e.__a && B(W, null, t.fallback);
1064
- return o && (o.__h = null), [B(W, null, e.__a ? null : t.children), o];
1093
+ var o = e.__a && B(Y, null, t.fallback);
1094
+ return o && (o.__h = null), [B(Y, null, e.__a ? null : t.children), o];
1065
1095
  };
1066
- var ci = function(t, e, i) {
1096
+ var ui = function(t, e, i) {
1067
1097
  if (++i[1] === i[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size))
1068
1098
  for (i = t.u; i; ) {
1069
1099
  for (; i.length > 3; )
@@ -1073,12 +1103,12 @@ var ci = function(t, e, i) {
1073
1103
  t.u = i = i[2];
1074
1104
  }
1075
1105
  };
1076
- function yo(t) {
1106
+ function zo(t) {
1077
1107
  return this.getChildContext = function() {
1078
1108
  return t.context;
1079
1109
  }, t.children;
1080
1110
  }
1081
- function xo(t) {
1111
+ function Do(t) {
1082
1112
  var e = this, i = t.i;
1083
1113
  e.componentWillUnmount = function() {
1084
1114
  ct(null, e.l), e.l = null, e.i = null;
@@ -1088,19 +1118,19 @@ function xo(t) {
1088
1118
  this.childNodes.push(a), e.i.appendChild(a);
1089
1119
  }, removeChild: function(a) {
1090
1120
  this.childNodes.splice(this.childNodes.indexOf(a) >>> 1, 1), e.i.removeChild(a);
1091
- } }), ct(B(yo, { context: e.context }, t.__v), e.l)) : e.l && e.componentWillUnmount();
1121
+ } }), ct(B(zo, { context: e.context }, t.__v), e.l)) : e.l && e.componentWillUnmount();
1092
1122
  }
1093
- function ko(t, e) {
1094
- var i = B(xo, { __v: t, i: e });
1123
+ function Oo(t, e) {
1124
+ var i = B(Do, { __v: t, i: e });
1095
1125
  return i.containerInfo = e, i;
1096
1126
  }
1097
- (yt.prototype = new U()).__a = function(t) {
1098
- var e = this, i = na(e.__v), a = e.o.get(t);
1127
+ (yt.prototype = new W()).__a = function(t) {
1128
+ var e = this, i = pa(e.__v), a = e.o.get(t);
1099
1129
  return a[0]++, function(o) {
1100
- var r = function() {
1101
- e.props.revealOrder ? (a.push(o), ci(e, t, a)) : o();
1130
+ var n = function() {
1131
+ e.props.revealOrder ? (a.push(o), ui(e, t, a)) : o();
1102
1132
  };
1103
- i ? i(r) : r();
1133
+ i ? i(n) : n();
1104
1134
  };
1105
1135
  }, yt.prototype.render = function(t) {
1106
1136
  this.u = null, this.o = /* @__PURE__ */ new Map();
@@ -1112,234 +1142,234 @@ function ko(t, e) {
1112
1142
  }, yt.prototype.componentDidUpdate = yt.prototype.componentDidMount = function() {
1113
1143
  var t = this;
1114
1144
  this.o.forEach(function(e, i) {
1115
- ci(t, i, e);
1145
+ ui(t, i, e);
1116
1146
  });
1117
1147
  };
1118
- var la = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, $o = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, So = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Co = /[A-Z0-9]/g, Eo = typeof document < "u", Po = function(t) {
1148
+ var fa = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Ao = /^(?: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]/, No = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, jo = /[A-Z0-9]/g, Fo = typeof document < "u", Mo = function(t) {
1119
1149
  return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
1120
1150
  };
1121
- function To(t, e, i) {
1151
+ function Bo(t, e, i) {
1122
1152
  return e.__k == null && (e.textContent = ""), ct(t, e), typeof i == "function" && i(), t ? t.__c : null;
1123
1153
  }
1124
- function Io(t, e, i) {
1125
- return Ki(t, e), typeof i == "function" && i(), t ? t.__c : null;
1154
+ function Lo(t, e, i) {
1155
+ return ta(t, e), typeof i == "function" && i(), t ? t.__c : null;
1126
1156
  }
1127
- U.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
1128
- Object.defineProperty(U.prototype, t, { configurable: !0, get: function() {
1157
+ W.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
1158
+ Object.defineProperty(W.prototype, t, { configurable: !0, get: function() {
1129
1159
  return this["UNSAFE_" + t];
1130
1160
  }, set: function(e) {
1131
1161
  Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
1132
1162
  } });
1133
1163
  });
1134
- var di = f.event;
1135
- function zo() {
1164
+ var pi = f.event;
1165
+ function Ro() {
1136
1166
  }
1137
- function Ao() {
1167
+ function Ho() {
1138
1168
  return this.cancelBubble;
1139
1169
  }
1140
- function Oo() {
1170
+ function Uo() {
1141
1171
  return this.defaultPrevented;
1142
1172
  }
1143
1173
  f.event = function(t) {
1144
- return di && (t = di(t)), t.persist = zo, t.isPropagationStopped = Ao, t.isDefaultPrevented = Oo, t.nativeEvent = t;
1174
+ return pi && (t = pi(t)), t.persist = Ro, t.isPropagationStopped = Ho, t.isDefaultPrevented = Uo, t.nativeEvent = t;
1145
1175
  };
1146
- var Le, jo = { enumerable: !1, configurable: !0, get: function() {
1176
+ var He, Wo = { enumerable: !1, configurable: !0, get: function() {
1147
1177
  return this.class;
1148
- } }, ui = f.vnode;
1178
+ } }, hi = f.vnode;
1149
1179
  f.vnode = function(t) {
1150
1180
  typeof t.type == "string" && function(e) {
1151
1181
  var i = e.props, a = e.type, o = {};
1152
- for (var r in i) {
1153
- var n = i[r];
1154
- if (!(r === "value" && "defaultValue" in i && n == null || Eo && r === "children" && a === "noscript" || r === "class" || r === "className")) {
1155
- var s = r.toLowerCase();
1156
- r === "defaultValue" && "value" in i && i.value == null ? r = "value" : r === "download" && n === !0 ? n = "" : s === "ondoubleclick" ? r = "ondblclick" : s !== "onchange" || a !== "input" && a !== "textarea" || Po(i.type) ? s === "onfocus" ? r = "onfocusin" : s === "onblur" ? r = "onfocusout" : So.test(r) ? r = s : a.indexOf("-") === -1 && $o.test(r) ? r = r.replace(Co, "-$&").toLowerCase() : n === null && (n = void 0) : s = r = "oninput", s === "oninput" && o[r = s] && (r = "oninputCapture"), o[r] = n;
1182
+ for (var n in i) {
1183
+ var r = i[n];
1184
+ if (!(n === "value" && "defaultValue" in i && r == null || Fo && n === "children" && a === "noscript" || n === "class" || n === "className")) {
1185
+ var s = n.toLowerCase();
1186
+ n === "defaultValue" && "value" in i && i.value == null ? n = "value" : n === "download" && r === !0 ? r = "" : s === "ondoubleclick" ? n = "ondblclick" : s !== "onchange" || a !== "input" && a !== "textarea" || Mo(i.type) ? s === "onfocus" ? n = "onfocusin" : s === "onblur" ? n = "onfocusout" : No.test(n) ? n = s : a.indexOf("-") === -1 && Ao.test(n) ? n = n.replace(jo, "-$&").toLowerCase() : r === null && (r = void 0) : s = n = "oninput", s === "oninput" && o[n = s] && (n = "oninputCapture"), o[n] = r;
1157
1187
  }
1158
1188
  }
1159
1189
  a == "select" && o.multiple && Array.isArray(o.value) && (o.value = tt(i.children).forEach(function(c) {
1160
1190
  c.props.selected = o.value.indexOf(c.props.value) != -1;
1161
1191
  })), a == "select" && o.defaultValue != null && (o.value = tt(i.children).forEach(function(c) {
1162
1192
  c.props.selected = o.multiple ? o.defaultValue.indexOf(c.props.value) != -1 : o.defaultValue == c.props.value;
1163
- })), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className", jo)) : (i.className && !i.class || i.class && i.className) && (o.class = o.className = i.className), e.props = o;
1164
- }(t), t.$$typeof = la, ui && ui(t);
1193
+ })), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className", Wo)) : (i.className && !i.class || i.class && i.className) && (o.class = o.className = i.className), e.props = o;
1194
+ }(t), t.$$typeof = fa, hi && hi(t);
1165
1195
  };
1166
- var pi = f.__r;
1196
+ var fi = f.__r;
1167
1197
  f.__r = function(t) {
1168
- pi && pi(t), Le = t.__c;
1198
+ fi && fi(t), He = t.__c;
1169
1199
  };
1170
- var hi = f.diffed;
1200
+ var wi = f.diffed;
1171
1201
  f.diffed = function(t) {
1172
- hi && hi(t);
1202
+ wi && wi(t);
1173
1203
  var e = t.props, i = t.__e;
1174
- i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value), Le = null;
1204
+ i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value), He = null;
1175
1205
  };
1176
- var No = { ReactCurrentDispatcher: { current: { readContext: function(t) {
1177
- return Le.__n[t.__c].props.value;
1206
+ var Vo = { ReactCurrentDispatcher: { current: { readContext: function(t) {
1207
+ return He.__n[t.__c].props.value;
1178
1208
  } } } };
1179
- function Do(t) {
1209
+ function Yo(t) {
1180
1210
  return B.bind(null, t);
1181
1211
  }
1182
- function ca(t) {
1183
- return !!t && t.$$typeof === la;
1212
+ function wa(t) {
1213
+ return !!t && t.$$typeof === fa;
1184
1214
  }
1185
- function Mo(t) {
1186
- return ca(t) ? lo.apply(null, arguments) : t;
1215
+ function Ko(t) {
1216
+ return wa(t) ? _o.apply(null, arguments) : t;
1187
1217
  }
1188
- function Fo(t) {
1218
+ function qo(t) {
1189
1219
  return !!t.__k && (ct(null, t), !0);
1190
1220
  }
1191
- function Bo(t) {
1221
+ function Zo(t) {
1192
1222
  return t && (t.base || t.nodeType === 1 && t) || null;
1193
1223
  }
1194
- var Lo = function(t, e) {
1224
+ var Xo = function(t, e) {
1195
1225
  return t(e);
1196
- }, Ro = function(t, e) {
1226
+ }, Go = function(t, e) {
1197
1227
  return t(e);
1198
- }, Ho = W;
1199
- function da(t) {
1228
+ }, Jo = Y;
1229
+ function ga(t) {
1200
1230
  t();
1201
1231
  }
1202
- function Uo(t) {
1232
+ function Qo(t) {
1203
1233
  return t;
1204
1234
  }
1205
- function Vo() {
1206
- return [!1, da];
1235
+ function tn() {
1236
+ return [!1, ga];
1207
1237
  }
1208
- var Wo = bt;
1209
- function Yo(t, e) {
1210
- var i = e(), a = Ji({ h: { __: i, v: e } }), o = a[0].h, r = a[1];
1238
+ var en = bt;
1239
+ function an(t, e) {
1240
+ var i = e(), a = oa({ h: { __: i, v: e } }), o = a[0].h, n = a[1];
1211
1241
  return bt(function() {
1212
- o.__ = i, o.v = e, ie(o.__, e()) || r({ h: o });
1213
- }, [t, i, e]), ta(function() {
1214
- return ie(o.__, o.v()) || r({ h: o }), t(function() {
1215
- ie(o.__, o.v()) || r({ h: o });
1242
+ o.__ = i, o.v = e, ae(o.__, e()) || n({ h: o });
1243
+ }, [t, i, e]), ra(function() {
1244
+ return ae(o.__, o.v()) || n({ h: o }), t(function() {
1245
+ ae(o.__, o.v()) || n({ h: o });
1216
1246
  });
1217
1247
  }, [t]), i;
1218
1248
  }
1219
- var Cn = { useState: Ji, useId: ho, useReducer: Qi, useEffect: ta, useLayoutEffect: bt, useInsertionEffect: Wo, useTransition: Vo, useDeferredValue: Uo, useSyncExternalStore: Yo, startTransition: da, useRef: Gt, useImperativeHandle: co, useMemo: dt, useCallback: uo, useContext: ea, useDebugValue: po, version: "17.0.2", Children: _o, render: To, hydrate: Io, unmountComponentAtNode: Fo, createPortal: ko, createElement: B, createContext: Gi, createFactory: Do, cloneElement: Mo, createRef: ao, Fragment: W, isValidElement: ca, findDOMNode: Bo, Component: U, PureComponent: we, memo: go, forwardRef: vo, flushSync: Ro, unstable_batchedUpdates: Lo, StrictMode: Ho, Suspense: kt, SuspenseList: yt, lazy: sa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: No };
1220
- const D = Symbol.for("@ts-pattern/matcher"), ua = Symbol.for("@ts-pattern/isVariadic"), Vt = "@ts-pattern/anonymous-select-key", ge = (t) => !!(t && typeof t == "object"), Nt = (t) => t && !!t[D], P = (t, e, i) => {
1249
+ var Mr = { useState: oa, useId: ko, useReducer: na, useEffect: ra, useLayoutEffect: bt, useInsertionEffect: en, useTransition: tn, useDeferredValue: Qo, useSyncExternalStore: an, startTransition: ga, useRef: Xt, useImperativeHandle: mo, useMemo: dt, useCallback: yo, useContext: sa, useDebugValue: xo, version: "17.0.2", Children: Po, render: Bo, hydrate: Lo, unmountComponentAtNode: qo, createPortal: Oo, createElement: B, createContext: ea, createFactory: Yo, cloneElement: Ko, createRef: fo, Fragment: Y, isValidElement: wa, findDOMNode: Zo, Component: W, PureComponent: be, memo: Co, forwardRef: To, flushSync: Go, unstable_batchedUpdates: Xo, StrictMode: Jo, Suspense: kt, SuspenseList: yt, lazy: ha, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Vo };
1250
+ const j = Symbol.for("@ts-pattern/matcher"), ba = Symbol.for("@ts-pattern/isVariadic"), Wt = "@ts-pattern/anonymous-select-key", ve = (t) => !!(t && typeof t == "object"), Nt = (t) => t && !!t[j], T = (t, e, i) => {
1221
1251
  if (Nt(t)) {
1222
- const a = t[D](), { matched: o, selections: r } = a.match(e);
1223
- return o && r && Object.keys(r).forEach((n) => i(n, r[n])), o;
1252
+ const a = t[j](), { matched: o, selections: n } = a.match(e);
1253
+ return o && n && Object.keys(n).forEach((r) => i(r, n[r])), o;
1224
1254
  }
1225
- if (ge(t)) {
1226
- if (!ge(e))
1255
+ if (ve(t)) {
1256
+ if (!ve(e))
1227
1257
  return !1;
1228
1258
  if (Array.isArray(t)) {
1229
1259
  if (!Array.isArray(e))
1230
1260
  return !1;
1231
- let a = [], o = [], r = [];
1232
- for (const n of t.keys()) {
1233
- const s = t[n];
1234
- Nt(s) && s[ua] ? r.push(s) : r.length ? o.push(s) : a.push(s);
1261
+ let a = [], o = [], n = [];
1262
+ for (const r of t.keys()) {
1263
+ const s = t[r];
1264
+ Nt(s) && s[ba] ? n.push(s) : n.length ? o.push(s) : a.push(s);
1235
1265
  }
1236
- if (r.length) {
1237
- if (r.length > 1)
1266
+ if (n.length) {
1267
+ if (n.length > 1)
1238
1268
  throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
1239
1269
  if (e.length < a.length + o.length)
1240
1270
  return !1;
1241
- const n = e.slice(0, a.length), s = o.length === 0 ? [] : e.slice(-o.length), c = e.slice(a.length, o.length === 0 ? 1 / 0 : -o.length);
1242
- return a.every((d, u) => P(d, n[u], i)) && o.every((d, u) => P(d, s[u], i)) && (r.length === 0 || P(r[0], c, i));
1271
+ const r = e.slice(0, a.length), s = o.length === 0 ? [] : e.slice(-o.length), c = e.slice(a.length, o.length === 0 ? 1 / 0 : -o.length);
1272
+ return a.every((d, u) => T(d, r[u], i)) && o.every((d, u) => T(d, s[u], i)) && (n.length === 0 || T(n[0], c, i));
1243
1273
  }
1244
- return t.length === e.length && t.every((n, s) => P(n, e[s], i));
1274
+ return t.length === e.length && t.every((r, s) => T(r, e[s], i));
1245
1275
  }
1246
1276
  return Reflect.ownKeys(t).every((a) => {
1247
1277
  const o = t[a];
1248
- return (a in e || Nt(r = o) && r[D]().matcherType === "optional") && P(o, e[a], i);
1249
- var r;
1278
+ return (a in e || Nt(n = o) && n[j]().matcherType === "optional") && T(o, e[a], i);
1279
+ var n;
1250
1280
  });
1251
1281
  }
1252
1282
  return Object.is(e, t);
1253
1283
  }, N = (t) => {
1254
1284
  var e, i, a;
1255
- return ge(t) ? Nt(t) ? (e = (i = (a = t[D]()).getSelectionKeys) == null ? void 0 : i.call(a)) != null ? e : [] : Array.isArray(t) ? Ct(t, N) : Ct(Object.values(t), N) : [];
1285
+ return ve(t) ? Nt(t) ? (e = (i = (a = t[j]()).getSelectionKeys) == null ? void 0 : i.call(a)) != null ? e : [] : Array.isArray(t) ? Ct(t, N) : Ct(Object.values(t), N) : [];
1256
1286
  }, Ct = (t, e) => t.reduce((i, a) => i.concat(e(a)), []);
1257
- function qo(...t) {
1287
+ function on(...t) {
1258
1288
  if (t.length === 1) {
1259
1289
  const [e] = t;
1260
- return (i) => P(e, i, () => {
1290
+ return (i) => T(e, i, () => {
1261
1291
  });
1262
1292
  }
1263
1293
  if (t.length === 2) {
1264
1294
  const [e, i] = t;
1265
- return P(e, i, () => {
1295
+ return T(e, i, () => {
1266
1296
  });
1267
1297
  }
1268
1298
  throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`);
1269
1299
  }
1270
1300
  function I(t) {
1271
- return Object.assign(t, { optional: () => Re(t), and: (e) => S(t, e), or: (e) => pa(t, e), select: (e) => e === void 0 ? Et(t) : Et(e, t) });
1301
+ return Object.assign(t, { optional: () => Ue(t), and: (e) => C(t, e), or: (e) => va(t, e), select: (e) => e === void 0 ? Et(t) : Et(e, t) });
1272
1302
  }
1273
- function be(t) {
1303
+ function _e(t) {
1274
1304
  return Object.assign(((e) => Object.assign(e, { [Symbol.iterator]() {
1275
1305
  let i = 0;
1276
- const a = [{ value: Object.assign(e, { [ua]: !0 }), done: !1 }, { done: !0, value: void 0 }];
1306
+ const a = [{ value: Object.assign(e, { [ba]: !0 }), done: !1 }, { done: !0, value: void 0 }];
1277
1307
  return { next: () => {
1278
1308
  var o;
1279
1309
  return (o = a[i++]) != null ? o : a.at(-1);
1280
1310
  } };
1281
- } }))(t), { optional: () => be(Re(t)), select: (e) => be(e === void 0 ? Et(t) : Et(e, t)) });
1311
+ } }))(t), { optional: () => _e(Ue(t)), select: (e) => _e(e === void 0 ? Et(t) : Et(e, t)) });
1282
1312
  }
1283
- function Re(t) {
1284
- return I({ [D]: () => ({ match: (e) => {
1313
+ function Ue(t) {
1314
+ return I({ [j]: () => ({ match: (e) => {
1285
1315
  let i = {};
1286
- const a = (o, r) => {
1287
- i[o] = r;
1316
+ const a = (o, n) => {
1317
+ i[o] = n;
1288
1318
  };
1289
- return e === void 0 ? (N(t).forEach((o) => a(o, void 0)), { matched: !0, selections: i }) : { matched: P(t, e, a), selections: i };
1319
+ return e === void 0 ? (N(t).forEach((o) => a(o, void 0)), { matched: !0, selections: i }) : { matched: T(t, e, a), selections: i };
1290
1320
  }, getSelectionKeys: () => N(t), matcherType: "optional" }) });
1291
1321
  }
1292
- const Ko = (t, e) => {
1322
+ const nn = (t, e) => {
1293
1323
  for (const i of t)
1294
1324
  if (!e(i))
1295
1325
  return !1;
1296
1326
  return !0;
1297
- }, Go = (t, e) => {
1327
+ }, rn = (t, e) => {
1298
1328
  for (const [i, a] of t.entries())
1299
1329
  if (!e(a, i))
1300
1330
  return !1;
1301
1331
  return !0;
1302
- }, Xo = (t, e) => {
1332
+ }, sn = (t, e) => {
1303
1333
  const i = Reflect.ownKeys(t);
1304
1334
  for (const a of i)
1305
1335
  if (!e(a, t[a]))
1306
1336
  return !1;
1307
1337
  return !0;
1308
1338
  };
1309
- function S(...t) {
1310
- return I({ [D]: () => ({ match: (e) => {
1339
+ function C(...t) {
1340
+ return I({ [j]: () => ({ match: (e) => {
1311
1341
  let i = {};
1312
- const a = (o, r) => {
1313
- i[o] = r;
1342
+ const a = (o, n) => {
1343
+ i[o] = n;
1314
1344
  };
1315
- return { matched: t.every((o) => P(o, e, a)), selections: i };
1345
+ return { matched: t.every((o) => T(o, e, a)), selections: i };
1316
1346
  }, getSelectionKeys: () => Ct(t, N), matcherType: "and" }) });
1317
1347
  }
1318
- function pa(...t) {
1319
- return I({ [D]: () => ({ match: (e) => {
1348
+ function va(...t) {
1349
+ return I({ [j]: () => ({ match: (e) => {
1320
1350
  let i = {};
1321
- const a = (o, r) => {
1322
- i[o] = r;
1351
+ const a = (o, n) => {
1352
+ i[o] = n;
1323
1353
  };
1324
- return Ct(t, N).forEach((o) => a(o, void 0)), { matched: t.some((o) => P(o, e, a)), selections: i };
1354
+ return Ct(t, N).forEach((o) => a(o, void 0)), { matched: t.some((o) => T(o, e, a)), selections: i };
1325
1355
  }, getSelectionKeys: () => Ct(t, N), matcherType: "or" }) });
1326
1356
  }
1327
1357
  function m(t) {
1328
- return { [D]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
1358
+ return { [j]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
1329
1359
  }
1330
1360
  function Et(...t) {
1331
1361
  const e = typeof t[0] == "string" ? t[0] : void 0, i = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
1332
- return I({ [D]: () => ({ match: (a) => {
1333
- let o = { [e ?? Vt]: a };
1334
- return { matched: i === void 0 || P(i, a, (r, n) => {
1335
- o[r] = n;
1362
+ return I({ [j]: () => ({ match: (a) => {
1363
+ let o = { [e ?? Wt]: a };
1364
+ return { matched: i === void 0 || T(i, a, (n, r) => {
1365
+ o[n] = r;
1336
1366
  }), selections: o };
1337
- }, getSelectionKeys: () => [e ?? Vt].concat(i === void 0 ? [] : N(i)) }) });
1367
+ }, getSelectionKeys: () => [e ?? Wt].concat(i === void 0 ? [] : N(i)) }) });
1338
1368
  }
1339
- function ha(t) {
1369
+ function _a(t) {
1340
1370
  return !0;
1341
1371
  }
1342
- function K(t) {
1372
+ function Z(t) {
1343
1373
  return typeof t == "number";
1344
1374
  }
1345
1375
  function et(t) {
@@ -1348,29 +1378,29 @@ function et(t) {
1348
1378
  function it(t) {
1349
1379
  return typeof t == "bigint";
1350
1380
  }
1351
- const fa = I(m(ha)), Zo = I(m(ha)), Jo = fa, at = (t) => Object.assign(I(t), { startsWith: (e) => {
1352
- return at(S(t, (i = e, m((a) => et(a) && a.startsWith(i)))));
1381
+ const ma = I(m(_a)), ln = I(m(_a)), cn = ma, at = (t) => Object.assign(I(t), { startsWith: (e) => {
1382
+ return at(C(t, (i = e, m((a) => et(a) && a.startsWith(i)))));
1353
1383
  var i;
1354
1384
  }, endsWith: (e) => {
1355
- return at(S(t, (i = e, m((a) => et(a) && a.endsWith(i)))));
1385
+ return at(C(t, (i = e, m((a) => et(a) && a.endsWith(i)))));
1356
1386
  var i;
1357
- }, minLength: (e) => at(S(t, ((i) => m((a) => et(a) && a.length >= i))(e))), length: (e) => at(S(t, ((i) => m((a) => et(a) && a.length === i))(e))), maxLength: (e) => at(S(t, ((i) => m((a) => et(a) && a.length <= i))(e))), includes: (e) => {
1358
- return at(S(t, (i = e, m((a) => et(a) && a.includes(i)))));
1387
+ }, minLength: (e) => at(C(t, ((i) => m((a) => et(a) && a.length >= i))(e))), length: (e) => at(C(t, ((i) => m((a) => et(a) && a.length === i))(e))), maxLength: (e) => at(C(t, ((i) => m((a) => et(a) && a.length <= i))(e))), includes: (e) => {
1388
+ return at(C(t, (i = e, m((a) => et(a) && a.includes(i)))));
1359
1389
  var i;
1360
1390
  }, regex: (e) => {
1361
- return at(S(t, (i = e, m((a) => et(a) && !!a.match(i)))));
1391
+ return at(C(t, (i = e, m((a) => et(a) && !!a.match(i)))));
1362
1392
  var i;
1363
- } }), fi = at(m(et)), G = (t) => Object.assign(I(t), { between: (e, i) => G(S(t, ((a, o) => m((r) => K(r) && a <= r && o >= r))(e, i))), lt: (e) => G(S(t, ((i) => m((a) => K(a) && a < i))(e))), gt: (e) => G(S(t, ((i) => m((a) => K(a) && a > i))(e))), lte: (e) => G(S(t, ((i) => m((a) => K(a) && a <= i))(e))), gte: (e) => G(S(t, ((i) => m((a) => K(a) && a >= i))(e))), int: () => G(S(t, m((e) => K(e) && Number.isInteger(e)))), finite: () => G(S(t, m((e) => K(e) && Number.isFinite(e)))), positive: () => G(S(t, m((e) => K(e) && e > 0))), negative: () => G(S(t, m((e) => K(e) && e < 0))) }), Qo = G(m(K)), ot = (t) => Object.assign(I(t), { between: (e, i) => ot(S(t, ((a, o) => m((r) => it(r) && a <= r && o >= r))(e, i))), lt: (e) => ot(S(t, ((i) => m((a) => it(a) && a < i))(e))), gt: (e) => ot(S(t, ((i) => m((a) => it(a) && a > i))(e))), lte: (e) => ot(S(t, ((i) => m((a) => it(a) && a <= i))(e))), gte: (e) => ot(S(t, ((i) => m((a) => it(a) && a >= i))(e))), positive: () => ot(S(t, m((e) => it(e) && e > 0))), negative: () => ot(S(t, m((e) => it(e) && e < 0))) }), tr = ot(m(it)), er = I(m(function(t) {
1393
+ } }), gi = at(m(et)), X = (t) => Object.assign(I(t), { between: (e, i) => X(C(t, ((a, o) => m((n) => Z(n) && a <= n && o >= n))(e, i))), lt: (e) => X(C(t, ((i) => m((a) => Z(a) && a < i))(e))), gt: (e) => X(C(t, ((i) => m((a) => Z(a) && a > i))(e))), lte: (e) => X(C(t, ((i) => m((a) => Z(a) && a <= i))(e))), gte: (e) => X(C(t, ((i) => m((a) => Z(a) && a >= i))(e))), int: () => X(C(t, m((e) => Z(e) && Number.isInteger(e)))), finite: () => X(C(t, m((e) => Z(e) && Number.isFinite(e)))), positive: () => X(C(t, m((e) => Z(e) && e > 0))), negative: () => X(C(t, m((e) => Z(e) && e < 0))) }), dn = X(m(Z)), ot = (t) => Object.assign(I(t), { between: (e, i) => ot(C(t, ((a, o) => m((n) => it(n) && a <= n && o >= n))(e, i))), lt: (e) => ot(C(t, ((i) => m((a) => it(a) && a < i))(e))), gt: (e) => ot(C(t, ((i) => m((a) => it(a) && a > i))(e))), lte: (e) => ot(C(t, ((i) => m((a) => it(a) && a <= i))(e))), gte: (e) => ot(C(t, ((i) => m((a) => it(a) && a >= i))(e))), positive: () => ot(C(t, m((e) => it(e) && e > 0))), negative: () => ot(C(t, m((e) => it(e) && e < 0))) }), un = ot(m(it)), pn = I(m(function(t) {
1364
1394
  return typeof t == "boolean";
1365
- })), ir = I(m(function(t) {
1395
+ })), hn = I(m(function(t) {
1366
1396
  return typeof t == "symbol";
1367
- })), ar = I(m(function(t) {
1397
+ })), fn = I(m(function(t) {
1368
1398
  return t == null;
1369
- })), or = I(m(function(t) {
1399
+ })), wn = I(m(function(t) {
1370
1400
  return t != null;
1371
1401
  }));
1372
- var zt = { __proto__: null, matcher: D, optional: Re, array: function(...t) {
1373
- return be({ [D]: () => ({ match: (e) => {
1402
+ var zt = { __proto__: null, matcher: j, optional: Ue, array: function(...t) {
1403
+ return _e({ [j]: () => ({ match: (e) => {
1374
1404
  if (!Array.isArray(e))
1375
1405
  return { matched: !1 };
1376
1406
  if (t.length === 0)
@@ -1378,16 +1408,16 @@ var zt = { __proto__: null, matcher: D, optional: Re, array: function(...t) {
1378
1408
  const i = t[0];
1379
1409
  let a = {};
1380
1410
  if (e.length === 0)
1381
- return N(i).forEach((r) => {
1382
- a[r] = [];
1411
+ return N(i).forEach((n) => {
1412
+ a[n] = [];
1383
1413
  }), { matched: !0, selections: a };
1384
- const o = (r, n) => {
1385
- a[r] = (a[r] || []).concat([n]);
1414
+ const o = (n, r) => {
1415
+ a[n] = (a[n] || []).concat([r]);
1386
1416
  };
1387
- return { matched: e.every((r) => P(i, r, o)), selections: a };
1417
+ return { matched: e.every((n) => T(i, n, o)), selections: a };
1388
1418
  }, getSelectionKeys: () => t.length === 0 ? [] : N(t[0]) }) });
1389
1419
  }, set: function(...t) {
1390
- return I({ [D]: () => ({ match: (e) => {
1420
+ return I({ [j]: () => ({ match: (e) => {
1391
1421
  if (!(e instanceof Set))
1392
1422
  return { matched: !1 };
1393
1423
  let i = {};
@@ -1395,13 +1425,13 @@ var zt = { __proto__: null, matcher: D, optional: Re, array: function(...t) {
1395
1425
  return { matched: !0, selections: i };
1396
1426
  if (t.length === 0)
1397
1427
  return { matched: !0 };
1398
- const a = (r, n) => {
1399
- i[r] = (i[r] || []).concat([n]);
1428
+ const a = (n, r) => {
1429
+ i[n] = (i[n] || []).concat([r]);
1400
1430
  }, o = t[0];
1401
- return { matched: Ko(e, (r) => P(o, r, a)), selections: i };
1431
+ return { matched: nn(e, (n) => T(o, n, a)), selections: i };
1402
1432
  }, getSelectionKeys: () => t.length === 0 ? [] : N(t[0]) }) });
1403
1433
  }, map: function(...t) {
1404
- return I({ [D]: () => ({ match: (e) => {
1434
+ return I({ [j]: () => ({ match: (e) => {
1405
1435
  if (!(e instanceof Map))
1406
1436
  return { matched: !1 };
1407
1437
  let i = {};
@@ -1415,14 +1445,14 @@ var zt = { __proto__: null, matcher: D, optional: Re, array: function(...t) {
1415
1445
  var o;
1416
1446
  if (t.length === 1)
1417
1447
  throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(o = t[0]) == null ? void 0 : o.toString()}`);
1418
- const [r, n] = t;
1419
- return { matched: Go(e, (s, c) => {
1420
- const d = P(r, c, a), u = P(n, s, a);
1448
+ const [n, r] = t;
1449
+ return { matched: rn(e, (s, c) => {
1450
+ const d = T(n, c, a), u = T(r, s, a);
1421
1451
  return d && u;
1422
1452
  }), selections: i };
1423
1453
  }, getSelectionKeys: () => t.length === 0 ? [] : [...N(t[0]), ...N(t[1])] }) });
1424
1454
  }, record: function(...t) {
1425
- return I({ [D]: () => ({ match: (e) => {
1455
+ return I({ [j]: () => ({ match: (e) => {
1426
1456
  if (e === null || typeof e != "object" || Array.isArray(e))
1427
1457
  return { matched: !1 };
1428
1458
  var i;
@@ -1431,23 +1461,23 @@ var zt = { __proto__: null, matcher: D, optional: Re, array: function(...t) {
1431
1461
  let a = {};
1432
1462
  const o = (s, c) => {
1433
1463
  a[s] = (a[s] || []).concat([c]);
1434
- }, [r, n] = t.length === 1 ? [fi, t[0]] : t;
1435
- return { matched: Xo(e, (s, c) => {
1436
- const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null && P(r, d, o), l = P(r, s, o), w = P(n, c, o);
1464
+ }, [n, r] = t.length === 1 ? [gi, t[0]] : t;
1465
+ return { matched: sn(e, (s, c) => {
1466
+ const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null && T(n, d, o), l = T(n, s, o), w = T(r, c, o);
1437
1467
  return (l || u) && w;
1438
1468
  }), selections: a };
1439
1469
  }, getSelectionKeys: () => t.length === 0 ? [] : [...N(t[0]), ...N(t[1])] }) });
1440
- }, intersection: S, union: pa, not: function(t) {
1441
- return I({ [D]: () => ({ match: (e) => ({ matched: !P(t, e, () => {
1470
+ }, intersection: C, union: va, not: function(t) {
1471
+ return I({ [j]: () => ({ match: (e) => ({ matched: !T(t, e, () => {
1442
1472
  }) }), getSelectionKeys: () => [], matcherType: "not" }) });
1443
- }, when: m, select: Et, any: fa, unknown: Zo, _: Jo, string: fi, number: Qo, bigint: tr, boolean: er, symbol: ir, nullish: ar, nonNullable: or, instanceOf: function(t) {
1473
+ }, when: m, select: Et, any: ma, unknown: ln, _: cn, string: gi, number: dn, bigint: un, boolean: pn, symbol: hn, nullish: fn, nonNullable: wn, instanceOf: function(t) {
1444
1474
  return I(m(function(e) {
1445
1475
  return (i) => i instanceof e;
1446
1476
  }(t)));
1447
1477
  }, shape: function(t) {
1448
- return I(m(qo(t)));
1478
+ return I(m(on(t)));
1449
1479
  } };
1450
- class rr extends Error {
1480
+ class gn extends Error {
1451
1481
  constructor(e) {
1452
1482
  let i;
1453
1483
  try {
@@ -1458,11 +1488,11 @@ class rr extends Error {
1458
1488
  super(`Pattern matching error: no pattern matches value ${i}`), this.input = void 0, this.input = e;
1459
1489
  }
1460
1490
  }
1461
- const ve = { matched: !1, value: void 0 };
1462
- function He(t) {
1463
- return new Wt(t, ve);
1491
+ const me = { matched: !1, value: void 0 };
1492
+ function We(t) {
1493
+ return new Vt(t, me);
1464
1494
  }
1465
- class Wt {
1495
+ class Vt {
1466
1496
  constructor(e, i) {
1467
1497
  this.input = void 0, this.state = void 0, this.input = e, this.state = i;
1468
1498
  }
@@ -1472,22 +1502,22 @@ class Wt {
1472
1502
  const i = e[e.length - 1], a = [e[0]];
1473
1503
  let o;
1474
1504
  e.length === 3 && typeof e[1] == "function" ? o = e[1] : e.length > 2 && a.push(...e.slice(1, e.length - 1));
1475
- let r = !1, n = {};
1505
+ let n = !1, r = {};
1476
1506
  const s = (d, u) => {
1477
- r = !0, n[d] = u;
1478
- }, c = !a.some((d) => P(d, this.input, s)) || o && !o(this.input) ? ve : { matched: !0, value: i(r ? Vt in n ? n[Vt] : n : this.input, this.input) };
1479
- return new Wt(this.input, c);
1507
+ n = !0, r[d] = u;
1508
+ }, c = !a.some((d) => T(d, this.input, s)) || o && !o(this.input) ? me : { matched: !0, value: i(n ? Wt in r ? r[Wt] : r : this.input, this.input) };
1509
+ return new Vt(this.input, c);
1480
1510
  }
1481
1511
  when(e, i) {
1482
1512
  if (this.state.matched)
1483
1513
  return this;
1484
1514
  const a = !!e(this.input);
1485
- return new Wt(this.input, a ? { matched: !0, value: i(this.input, this.input) } : ve);
1515
+ return new Vt(this.input, a ? { matched: !0, value: i(this.input, this.input) } : me);
1486
1516
  }
1487
1517
  otherwise(e) {
1488
1518
  return this.state.matched ? this.state.value : e(this.input);
1489
1519
  }
1490
- exhaustive(e = nr) {
1520
+ exhaustive(e = bn) {
1491
1521
  return this.state.matched ? this.state.value : e(this.input);
1492
1522
  }
1493
1523
  run() {
@@ -1500,62 +1530,62 @@ class Wt {
1500
1530
  return this;
1501
1531
  }
1502
1532
  }
1503
- function nr(t) {
1504
- throw new rr(t);
1533
+ function bn(t) {
1534
+ throw new gn(t);
1505
1535
  }
1506
- var sr = ["other", "few", "many", "two", "one", "zero"], wi = ({
1536
+ var vn = ["other", "few", "many", "two", "one", "zero"], bi = ({
1507
1537
  terms: t,
1508
1538
  overrides: e,
1509
1539
  locale: i
1510
1540
  }) => {
1511
1541
  const a = new Intl.PluralRules(i);
1512
- function o(r, n) {
1513
- const s = (e == null ? void 0 : e[r]) ?? t[r];
1542
+ function o(n, r) {
1543
+ const s = (e == null ? void 0 : e[n]) ?? t[n];
1514
1544
  switch (typeof s) {
1515
1545
  case "string":
1516
1546
  return s.replace(/{{(\w+)}}/g, (c, d) => {
1517
1547
  var u;
1518
- return ((u = n == null ? void 0 : n[d]) == null ? void 0 : u.toString()) ?? "";
1548
+ return ((u = r == null ? void 0 : r[d]) == null ? void 0 : u.toString()) ?? "";
1519
1549
  });
1520
1550
  case "object": {
1521
- if (typeof (n == null ? void 0 : n.count) != "number")
1522
- throw new Error(`Missing count for translation key “${r.toString()}”`);
1523
- let c = a.select(n.count);
1551
+ if (typeof (r == null ? void 0 : r.count) != "number")
1552
+ throw new Error(`Missing count for translation key “${n.toString()}”`);
1553
+ let c = a.select(r.count);
1524
1554
  if (!(c in s)) {
1525
- const d = sr.find((u) => u in s);
1555
+ const d = vn.find((u) => u in s);
1526
1556
  if (!d)
1527
- throw new Error(`Missing plural rule for translation key “${r.toString()}”`);
1557
+ throw new Error(`Missing plural rule for translation key “${n.toString()}”`);
1528
1558
  c = d;
1529
1559
  }
1530
1560
  return s[c].replace(/{{(\w+)}}/g, (d, u) => {
1531
1561
  var l;
1532
- return ((l = n == null ? void 0 : n[u]) == null ? void 0 : l.toString()) ?? "";
1562
+ return ((l = r == null ? void 0 : r[u]) == null ? void 0 : l.toString()) ?? "";
1533
1563
  });
1534
1564
  }
1535
1565
  default:
1536
- throw new Error(`Invalid translation value in dictionary for key “${r.toString()}”.`);
1566
+ throw new Error(`Invalid translation value in dictionary for key “${n.toString()}”.`);
1537
1567
  }
1538
1568
  }
1539
1569
  return o;
1540
- }, lr = 0;
1541
- function p(t, e, i, a, o, r) {
1542
- var n, s, c = {};
1570
+ }, _n = 0;
1571
+ function p(t, e, i, a, o, n) {
1572
+ var r, s, c = {};
1543
1573
  for (s in e)
1544
- s == "ref" ? n = e[s] : c[s] = e[s];
1545
- var d = { type: t, props: c, key: i, ref: n, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --lr, __source: o, __self: r };
1546
- if (typeof t == "function" && (n = t.defaultProps))
1547
- for (s in n)
1548
- c[s] === void 0 && (c[s] = n[s]);
1574
+ s == "ref" ? r = e[s] : c[s] = e[s];
1575
+ var d = { type: t, props: c, key: i, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --_n, __source: o, __self: n };
1576
+ if (typeof t == "function" && (r = t.defaultProps))
1577
+ for (s in r)
1578
+ c[s] === void 0 && (c[s] = r[s]);
1549
1579
  return f.vnode && f.vnode(d), d;
1550
1580
  }
1551
- var gi = Gi(null), wa = (t) => ({
1581
+ var vi = ea(null), ya = (t) => ({
1552
1582
  defaultTerms: t,
1553
1583
  TranslationProvider: ({ terms: e, children: i, locale: a }) => {
1554
- const o = dt(() => wi({ locale: a, terms: t, overrides: e }), [e, a]);
1555
- return /* @__PURE__ */ p(gi.Provider, { value: { t: o, locale: a }, children: i });
1584
+ const o = dt(() => bi({ locale: a, terms: t, overrides: e }), [e, a]);
1585
+ return /* @__PURE__ */ p(vi.Provider, { value: { t: o, locale: a }, children: i });
1556
1586
  },
1557
1587
  useTranslation: () => {
1558
- const e = ea(gi);
1588
+ const e = sa(vi);
1559
1589
  if (e === null)
1560
1590
  throw new Error("Please wrap useTranslation in a TranslationProvider");
1561
1591
  return { t: e.t, locale: e.locale };
@@ -1563,14 +1593,14 @@ var gi = Gi(null), wa = (t) => ({
1563
1593
  createTFunction: ({
1564
1594
  overrides: e,
1565
1595
  locale: i
1566
- }) => wi({ terms: t, overrides: e, locale: i })
1567
- }), { TranslationProvider: En, useTranslation: Pn, createTFunction: Tn, defaultTerms: cr } = wa({ submission_redirect_message: "Almost there! Please complete your submission here:", complete_submission: "Complete submission", submission_completed: "Submission completed!", submission_pending: "Thanks, we've received your application and are processing it.", submission_failed: "Failed to submit", captcha_failed: "Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.", close_application: "Close application", invalid_state: "Invalid application state", redirect_url_error: "Couldn’t get the redirect URL.", upload_file: { one: "Select file to upload", other: "Select files to upload" }, file_max_size: "max {{size}}", file_extensions: "Accepted file extensions", address_error: "Something went wrong! Plase continue manually", address_search: "Type and search for places…", address_manual: "Fill in manually", back: "Back", search: "Search", unknown_error: "An error occurred", line1: "Line 1", line2: "Line 2", line3: "Line 3", city: "City", state: "State", postcode: "Postcode", country: "Country", select_country: "Select a country", validation_empty: "Please enter a value", validation_date: "Please enter a valid date (YYYY-MM-DD)", validation_email: "That doesn’t look like a valid email address", validation_url: "That doesn’t look like a valid URL", validation_max_chars: "Please enter no more than {{count}} characters", validation_min_chars: "Please enter {{count}} or more characters", validation_phone: "Please enter a valid phone number", validation_phone_min_chars: "Your phone number must be at least {{count}} digits long", validation_country_code: "Please select a country code", validation_number: "Please enter a valid number", validation_number_min: "Please enter a number greater than or equal to {{min}}", validation_number_max: "Please enter a number less than or equal to {{max}}", validation_number_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" });
1596
+ }) => bi({ terms: t, overrides: e, locale: i })
1597
+ }), { TranslationProvider: Br, useTranslation: Lr, createTFunction: Rr, defaultTerms: mn } = ya({ submission_redirect_message: "Almost there! Please complete your submission here:", complete_submission: "Complete submission", submission_completed: "Submission completed!", submission_pending: "Thanks, we've received your application and are processing it.", submission_failed: "Failed to submit", submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.", submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.", submission_available_at: "Submit will be available again at {{time}}.", resume_prompt: "You have an unfinished application for this role. Continue where you left off?", resume_continue: "Continue", resume_start_again: "Start again", captcha_failed: "Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.", close_application: "Close application", invalid_state: "Invalid application state", redirect_url_error: "Couldn’t get the redirect URL.", upload_file: { one: "Select file to upload", other: "Select files to upload" }, file_max_size: "max {{size}}", file_extensions: "Accepted file extensions", address_error: "Something went wrong! Plase continue manually", address_search: "Type and search for places…", address_manual: "Fill in manually", back: "Back", search: "Search", unknown_error: "An error occurred", line1: "Line 1", line2: "Line 2", line3: "Line 3", city: "City", state: "State", postcode: "Postcode", country: "Country", select_country: "Select a country", validation_empty: "Please enter a value", validation_date: "Please enter a valid date (YYYY-MM-DD)", validation_email: "That doesn’t look like a valid email address", validation_url: "That doesn’t look like a valid URL", validation_max_chars: "Please enter no more than {{count}} characters", validation_min_chars: "Please enter {{count}} or more characters", validation_phone: "Please enter a valid phone number", validation_phone_min_chars: "Your phone number must be at least {{count}} digits long", validation_country_code: "Please select a country code", validation_number: "Please enter a valid number", validation_number_min: "Please enter a number greater than or equal to {{min}}", validation_number_max: "Please enter a number less than or equal to {{max}}", validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases", validation_file: "Please select a file", validation_file_ext: "Please only upload {{ext}} files", validation_file_min: { one: "Please upload at least one file", other: "Please only upload at least {{count}} files" }, validation_file_max: { one: "Please only upload one file", other: "Please only upload up to {{count}} files" }, validation_file_size: "Your file is too big. Please upload a file smaller than {{size}}", validation_file_empty: "This file is empty. If it’s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.", validation_required: "This field is required.", validation_multiple_choice_min: { one: "Please select at least {{count}} option", other: "Please select at least {{count}} options" }, validation_multiple_choice_max: { one: "Please select at most {{count}} option", other: "Please select at most {{count}} options" }, optional: "optional" });
1568
1598
  const {
1569
- TranslationProvider: dr,
1570
- useTranslation: Xt,
1571
- createTFunction: ur
1572
- } = wa({
1573
- ...cr,
1599
+ TranslationProvider: yn,
1600
+ useTranslation: Gt,
1601
+ createTFunction: xn
1602
+ } = ya({
1603
+ ...mn,
1574
1604
  error_heading: "Something unexpected happened",
1575
1605
  undo: "Change answer",
1576
1606
  conversation_history: "Conversation history",
@@ -1620,25 +1650,25 @@ const {
1620
1650
  loading: "Loading",
1621
1651
  minimize: "Minimise"
1622
1652
  });
1623
- function ga(t, e) {
1653
+ function xa(t, e) {
1624
1654
  if (!t)
1625
1655
  throw new Error(e);
1626
1656
  }
1627
- var _e = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(_e) : Object.keys(t).sort().reduce((e, i) => (e[i] = _e(t[i]), e), {}), pr = (t) => {
1628
- let e = JSON.stringify(_e(t)), i = 5381;
1657
+ var ye = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(ye) : Object.keys(t).sort().reduce((e, i) => (e[i] = ye(t[i]), e), {}), kn = (t) => {
1658
+ let e = JSON.stringify(ye(t)), i = 5381;
1629
1659
  for (let a = 0; a < e.length; a++)
1630
1660
  i = i * 33 ^ e.charCodeAt(a);
1631
1661
  return (i >>> 0).toString(36);
1632
- }, hr = Symbol.for("preact-signals");
1633
- function Ue() {
1662
+ }, $n = Symbol.for("preact-signals");
1663
+ function Ve() {
1634
1664
  if (ht > 1)
1635
1665
  ht--;
1636
1666
  else {
1637
1667
  for (var t, e = !1; $t !== void 0; ) {
1638
1668
  var i = $t;
1639
- for ($t = void 0, me++; i !== void 0; ) {
1669
+ for ($t = void 0, xe++; i !== void 0; ) {
1640
1670
  var a = i.o;
1641
- if (i.o = void 0, i.f &= -3, !(8 & i.f) && va(i))
1671
+ if (i.o = void 0, i.f &= -3, !(8 & i.f) && $a(i))
1642
1672
  try {
1643
1673
  i.c();
1644
1674
  } catch (o) {
@@ -1647,92 +1677,92 @@ function Ue() {
1647
1677
  i = a;
1648
1678
  }
1649
1679
  }
1650
- if (me = 0, ht--, e)
1680
+ if (xe = 0, ht--, e)
1651
1681
  throw t;
1652
1682
  }
1653
1683
  }
1654
- var k = void 0, $t = void 0, ht = 0, me = 0, Yt = 0;
1655
- function ba(t) {
1656
- if (k !== void 0) {
1684
+ var $ = void 0, $t = void 0, ht = 0, xe = 0, Yt = 0;
1685
+ function ka(t) {
1686
+ if ($ !== void 0) {
1657
1687
  var e = t.n;
1658
- if (e === void 0 || e.t !== k)
1659
- return e = { i: 0, S: t, p: k.s, n: void 0, t: k, e: void 0, x: void 0, r: e }, k.s !== void 0 && (k.s.n = e), k.s = e, t.n = e, 32 & k.f && t.S(e), e;
1688
+ if (e === void 0 || e.t !== $)
1689
+ return e = { i: 0, S: t, p: $.s, n: void 0, t: $, e: void 0, x: void 0, r: e }, $.s !== void 0 && ($.s.n = e), $.s = e, t.n = e, 32 & $.f && t.S(e), e;
1660
1690
  if (e.i === -1)
1661
- 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;
1691
+ return e.i = 0, e.n !== void 0 && (e.n.p = e.p, e.p !== void 0 && (e.p.n = e.n), e.p = $.s, e.n = void 0, $.s.n = e, $.s = e), e;
1662
1692
  }
1663
1693
  }
1664
- function O(t) {
1694
+ function A(t) {
1665
1695
  this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
1666
1696
  }
1667
- O.prototype.brand = hr;
1668
- O.prototype.h = function() {
1697
+ A.prototype.brand = $n;
1698
+ A.prototype.h = function() {
1669
1699
  return !0;
1670
1700
  };
1671
- O.prototype.S = function(t) {
1701
+ A.prototype.S = function(t) {
1672
1702
  this.t !== t && t.e === void 0 && (t.x = this.t, this.t !== void 0 && (this.t.e = t), this.t = t);
1673
1703
  };
1674
- O.prototype.U = function(t) {
1704
+ A.prototype.U = function(t) {
1675
1705
  if (this.t !== void 0) {
1676
1706
  var e = t.e, i = t.x;
1677
1707
  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);
1678
1708
  }
1679
1709
  };
1680
- O.prototype.subscribe = function(t) {
1710
+ A.prototype.subscribe = function(t) {
1681
1711
  var e = this;
1682
- return We(function() {
1683
- var i = e.value, a = k;
1684
- k = void 0;
1712
+ return Ke(function() {
1713
+ var i = e.value, a = $;
1714
+ $ = void 0;
1685
1715
  try {
1686
1716
  t(i);
1687
1717
  } finally {
1688
- k = a;
1718
+ $ = a;
1689
1719
  }
1690
1720
  });
1691
1721
  };
1692
- O.prototype.valueOf = function() {
1722
+ A.prototype.valueOf = function() {
1693
1723
  return this.value;
1694
1724
  };
1695
- O.prototype.toString = function() {
1725
+ A.prototype.toString = function() {
1696
1726
  return this.value + "";
1697
1727
  };
1698
- O.prototype.toJSON = function() {
1728
+ A.prototype.toJSON = function() {
1699
1729
  return this.value;
1700
1730
  };
1701
- O.prototype.peek = function() {
1702
- var t = k;
1703
- k = void 0;
1731
+ A.prototype.peek = function() {
1732
+ var t = $;
1733
+ $ = void 0;
1704
1734
  try {
1705
1735
  return this.value;
1706
1736
  } finally {
1707
- k = t;
1737
+ $ = t;
1708
1738
  }
1709
1739
  };
1710
- Object.defineProperty(O.prototype, "value", { get: function() {
1711
- var t = ba(this);
1740
+ Object.defineProperty(A.prototype, "value", { get: function() {
1741
+ var t = ka(this);
1712
1742
  return t !== void 0 && (t.i = this.i), this.v;
1713
1743
  }, set: function(t) {
1714
1744
  if (t !== this.v) {
1715
- if (me > 100)
1745
+ if (xe > 100)
1716
1746
  throw new Error("Cycle detected");
1717
1747
  this.v = t, this.i++, Yt++, ht++;
1718
1748
  try {
1719
1749
  for (var e = this.t; e !== void 0; e = e.x)
1720
1750
  e.t.N();
1721
1751
  } finally {
1722
- Ue();
1752
+ Ve();
1723
1753
  }
1724
1754
  }
1725
1755
  } });
1726
- function H(t) {
1727
- return new O(t);
1756
+ function U(t) {
1757
+ return new A(t);
1728
1758
  }
1729
- function va(t) {
1759
+ function $a(t) {
1730
1760
  for (var e = t.s; e !== void 0; e = e.n)
1731
1761
  if (e.S.i !== e.i || !e.S.h() || e.S.i !== e.i)
1732
1762
  return !0;
1733
1763
  return !1;
1734
1764
  }
1735
- function _a(t) {
1765
+ function Sa(t) {
1736
1766
  for (var e = t.s; e !== void 0; e = e.n) {
1737
1767
  var i = e.S.n;
1738
1768
  if (i !== void 0 && (e.r = i), e.S.n = e, e.i = -1, e.n === void 0) {
@@ -1741,7 +1771,7 @@ function _a(t) {
1741
1771
  }
1742
1772
  }
1743
1773
  }
1744
- function ma(t) {
1774
+ function Ca(t) {
1745
1775
  for (var e = t.s, i = void 0; e !== void 0; ) {
1746
1776
  var a = e.p;
1747
1777
  e.i === -1 ? (e.S.U(e), a !== void 0 && (a.n = e.n), e.n !== void 0 && (e.n.p = a)) : i = e, e.S.n = e.r, e.r !== void 0 && (e.r = void 0), e = a;
@@ -1749,24 +1779,24 @@ function ma(t) {
1749
1779
  t.s = i;
1750
1780
  }
1751
1781
  function vt(t) {
1752
- O.call(this, void 0), this.x = t, this.s = void 0, this.g = Yt - 1, this.f = 4;
1782
+ A.call(this, void 0), this.x = t, this.s = void 0, this.g = Yt - 1, this.f = 4;
1753
1783
  }
1754
- (vt.prototype = new O()).h = function() {
1784
+ (vt.prototype = new A()).h = function() {
1755
1785
  if (this.f &= -3, 1 & this.f)
1756
1786
  return !1;
1757
1787
  if ((36 & this.f) == 32 || (this.f &= -5, this.g === Yt))
1758
1788
  return !0;
1759
- if (this.g = Yt, this.f |= 1, this.i > 0 && !va(this))
1789
+ if (this.g = Yt, this.f |= 1, this.i > 0 && !$a(this))
1760
1790
  return this.f &= -2, !0;
1761
- var t = k;
1791
+ var t = $;
1762
1792
  try {
1763
- _a(this), k = this;
1793
+ Sa(this), $ = this;
1764
1794
  var e = this.x();
1765
1795
  (16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
1766
1796
  } catch (i) {
1767
1797
  this.v = i, this.f |= 16, this.i++;
1768
1798
  }
1769
- return k = t, ma(this), this.f &= -2, !0;
1799
+ return $ = t, Ca(this), this.f &= -2, !0;
1770
1800
  };
1771
1801
  vt.prototype.S = function(t) {
1772
1802
  if (this.t === void 0) {
@@ -1774,10 +1804,10 @@ vt.prototype.S = function(t) {
1774
1804
  for (var e = this.s; e !== void 0; e = e.n)
1775
1805
  e.S.S(e);
1776
1806
  }
1777
- O.prototype.S.call(this, t);
1807
+ A.prototype.S.call(this, t);
1778
1808
  };
1779
1809
  vt.prototype.U = function(t) {
1780
- if (this.t !== void 0 && (O.prototype.U.call(this, t), this.t === void 0)) {
1810
+ if (this.t !== void 0 && (A.prototype.U.call(this, t), this.t === void 0)) {
1781
1811
  this.f &= -33;
1782
1812
  for (var e = this.s; e !== void 0; e = e.n)
1783
1813
  e.S.U(e);
@@ -1793,43 +1823,43 @@ vt.prototype.N = function() {
1793
1823
  Object.defineProperty(vt.prototype, "value", { get: function() {
1794
1824
  if (1 & this.f)
1795
1825
  throw new Error("Cycle detected");
1796
- var t = ba(this);
1826
+ var t = ka(this);
1797
1827
  if (this.h(), t !== void 0 && (t.i = this.i), 16 & this.f)
1798
1828
  throw this.v;
1799
1829
  return this.v;
1800
1830
  } });
1801
- function fr(t) {
1831
+ function Sn(t) {
1802
1832
  return new vt(t);
1803
1833
  }
1804
- function ya(t) {
1834
+ function Ea(t) {
1805
1835
  var e = t.u;
1806
1836
  if (t.u = void 0, typeof e == "function") {
1807
1837
  ht++;
1808
- var i = k;
1809
- k = void 0;
1838
+ var i = $;
1839
+ $ = void 0;
1810
1840
  try {
1811
1841
  e();
1812
1842
  } catch (a) {
1813
- throw t.f &= -2, t.f |= 8, Ve(t), a;
1843
+ throw t.f &= -2, t.f |= 8, Ye(t), a;
1814
1844
  } finally {
1815
- k = i, Ue();
1845
+ $ = i, Ve();
1816
1846
  }
1817
1847
  }
1818
1848
  }
1819
- function Ve(t) {
1849
+ function Ye(t) {
1820
1850
  for (var e = t.s; e !== void 0; e = e.n)
1821
1851
  e.S.U(e);
1822
- t.x = void 0, t.s = void 0, ya(t);
1852
+ t.x = void 0, t.s = void 0, Ea(t);
1823
1853
  }
1824
- function wr(t) {
1825
- if (k !== this)
1854
+ function Cn(t) {
1855
+ if ($ !== this)
1826
1856
  throw new Error("Out-of-order effect");
1827
- ma(this), k = t, this.f &= -2, 8 & this.f && Ve(this), Ue();
1857
+ Ca(this), $ = t, this.f &= -2, 8 & this.f && Ye(this), Ve();
1828
1858
  }
1829
- function Tt(t) {
1859
+ function Pt(t) {
1830
1860
  this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
1831
1861
  }
1832
- Tt.prototype.c = function() {
1862
+ Pt.prototype.c = function() {
1833
1863
  var t = this.S();
1834
1864
  try {
1835
1865
  if (8 & this.f || this.x === void 0)
@@ -1840,21 +1870,21 @@ Tt.prototype.c = function() {
1840
1870
  t();
1841
1871
  }
1842
1872
  };
1843
- Tt.prototype.S = function() {
1873
+ Pt.prototype.S = function() {
1844
1874
  if (1 & this.f)
1845
1875
  throw new Error("Cycle detected");
1846
- this.f |= 1, this.f &= -9, ya(this), _a(this), ht++;
1847
- var t = k;
1848
- return k = this, wr.bind(this, t);
1876
+ this.f |= 1, this.f &= -9, Ea(this), Sa(this), ht++;
1877
+ var t = $;
1878
+ return $ = this, Cn.bind(this, t);
1849
1879
  };
1850
- Tt.prototype.N = function() {
1880
+ Pt.prototype.N = function() {
1851
1881
  2 & this.f || (this.f |= 2, this.o = $t, $t = this);
1852
1882
  };
1853
- Tt.prototype.d = function() {
1854
- this.f |= 8, 1 & this.f || Ve(this);
1883
+ Pt.prototype.d = function() {
1884
+ this.f |= 8, 1 & this.f || Ye(this);
1855
1885
  };
1856
- function We(t) {
1857
- var e = new Tt(t);
1886
+ function Ke(t) {
1887
+ var e = new Pt(t);
1858
1888
  try {
1859
1889
  e.c();
1860
1890
  } catch (i) {
@@ -1862,35 +1892,35 @@ function We(t) {
1862
1892
  }
1863
1893
  return e.d.bind(e);
1864
1894
  }
1865
- var ae;
1895
+ var oe;
1866
1896
  function _t(t, e) {
1867
1897
  f[t] = e.bind(null, f[t] || function() {
1868
1898
  });
1869
1899
  }
1870
- function qt(t) {
1871
- ae && ae(), ae = t && t.S();
1900
+ function Kt(t) {
1901
+ oe && oe(), oe = t && t.S();
1872
1902
  }
1873
- function xa(t) {
1874
- var e = this, i = t.data, a = br(i);
1903
+ function Ta(t) {
1904
+ var e = this, i = t.data, a = Tn(i);
1875
1905
  a.value = i;
1876
1906
  var o = dt(function() {
1877
- for (var r = e.__v; r = r.__; )
1878
- if (r.__c) {
1879
- r.__c.__$f |= 4;
1907
+ for (var n = e.__v; n = n.__; )
1908
+ if (n.__c) {
1909
+ n.__c.__$f |= 4;
1880
1910
  break;
1881
1911
  }
1882
1912
  return e.__$u.c = function() {
1883
- var n;
1884
- !Mi(o.peek()) && ((n = e.base) == null ? void 0 : n.nodeType) === 3 ? e.base.data = o.peek() : (e.__$f |= 1, e.setState({}));
1885
- }, fr(function() {
1886
- var n = a.value.value;
1887
- return n === 0 ? 0 : n === !0 ? "" : n || "";
1913
+ var r;
1914
+ !Ui(o.peek()) && ((r = e.base) == null ? void 0 : r.nodeType) === 3 ? e.base.data = o.peek() : (e.__$f |= 1, e.setState({}));
1915
+ }, Sn(function() {
1916
+ var r = a.value.value;
1917
+ return r === 0 ? 0 : r === !0 ? "" : r || "";
1888
1918
  });
1889
1919
  }, []);
1890
1920
  return o.value;
1891
1921
  }
1892
- xa.displayName = "_st";
1893
- Object.defineProperties(O.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: xa }, props: { configurable: !0, get: function() {
1922
+ Ta.displayName = "_st";
1923
+ Object.defineProperties(A.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: Ta }, props: { configurable: !0, get: function() {
1894
1924
  return { data: this };
1895
1925
  } }, __b: { configurable: !0, value: 1 } });
1896
1926
  _t("__b", function(t, e) {
@@ -1898,56 +1928,56 @@ _t("__b", function(t, e) {
1898
1928
  var i, a = e.props;
1899
1929
  for (var o in a)
1900
1930
  if (o !== "children") {
1901
- var r = a[o];
1902
- r instanceof O && (i || (e.__np = i = {}), i[o] = r, a[o] = r.peek());
1931
+ var n = a[o];
1932
+ n instanceof A && (i || (e.__np = i = {}), i[o] = n, a[o] = n.peek());
1903
1933
  }
1904
1934
  }
1905
1935
  t(e);
1906
1936
  });
1907
1937
  _t("__r", function(t, e) {
1908
- qt();
1938
+ Kt();
1909
1939
  var i, a = e.__c;
1910
1940
  a && (a.__$f &= -2, (i = a.__$u) === void 0 && (a.__$u = i = function(o) {
1911
- var r;
1912
- return We(function() {
1913
- r = this;
1914
- }), r.c = function() {
1941
+ var n;
1942
+ return Ke(function() {
1943
+ n = this;
1944
+ }), n.c = function() {
1915
1945
  a.__$f |= 1, a.setState({});
1916
- }, r;
1917
- }())), qt(i), t(e);
1946
+ }, n;
1947
+ }())), Kt(i), t(e);
1918
1948
  });
1919
1949
  _t("__e", function(t, e, i, a) {
1920
- qt(), t(e, i, a);
1950
+ Kt(), t(e, i, a);
1921
1951
  });
1922
1952
  _t("diffed", function(t, e) {
1923
- qt();
1953
+ Kt();
1924
1954
  var i;
1925
1955
  if (typeof e.type == "string" && (i = e.__e)) {
1926
1956
  var a = e.__np, o = e.props;
1927
1957
  if (a) {
1928
- var r = i.U;
1929
- if (r)
1930
- for (var n in r) {
1931
- var s = r[n];
1932
- s !== void 0 && !(n in a) && (s.d(), r[n] = void 0);
1958
+ var n = i.U;
1959
+ if (n)
1960
+ for (var r in n) {
1961
+ var s = n[r];
1962
+ s !== void 0 && !(r in a) && (s.d(), n[r] = void 0);
1933
1963
  }
1934
1964
  else
1935
- i.U = r = {};
1965
+ i.U = n = {};
1936
1966
  for (var c in a) {
1937
- var d = r[c], u = a[c];
1938
- d === void 0 ? (d = gr(i, c, u, o), r[c] = d) : d.o(u, o);
1967
+ var d = n[c], u = a[c];
1968
+ d === void 0 ? (d = En(i, c, u, o), n[c] = d) : d.o(u, o);
1939
1969
  }
1940
1970
  }
1941
1971
  }
1942
1972
  t(e);
1943
1973
  });
1944
- function gr(t, e, i, a) {
1945
- var o = e in t && t.ownerSVGElement === void 0, r = H(i);
1946
- return { o: function(n, s) {
1947
- r.value = n, a = s;
1948
- }, d: We(function() {
1949
- var n = r.value.value;
1950
- a[e] !== n && (a[e] = n, o ? t[e] = n : n ? t.setAttribute(e, n) : t.removeAttribute(e));
1974
+ function En(t, e, i, a) {
1975
+ var o = e in t && t.ownerSVGElement === void 0, n = U(i);
1976
+ return { o: function(r, s) {
1977
+ n.value = r, a = s;
1978
+ }, d: Ke(function() {
1979
+ var r = n.value.value;
1980
+ a[e] !== r && (a[e] = r, o ? t[e] = r : r ? t.setAttribute(e, r) : t.removeAttribute(e));
1951
1981
  }) };
1952
1982
  }
1953
1983
  _t("unmount", function(t, e) {
@@ -1958,16 +1988,16 @@ _t("unmount", function(t, e) {
1958
1988
  if (a) {
1959
1989
  i.U = void 0;
1960
1990
  for (var o in a) {
1961
- var r = a[o];
1962
- r && r.d();
1991
+ var n = a[o];
1992
+ n && n.d();
1963
1993
  }
1964
1994
  }
1965
1995
  }
1966
1996
  } else {
1967
- var n = e.__c;
1968
- if (n) {
1969
- var s = n.__$u;
1970
- s && (n.__$u = void 0, s.d());
1997
+ var r = e.__c;
1998
+ if (r) {
1999
+ var s = r.__$u;
2000
+ s && (r.__$u = void 0, s.d());
1971
2001
  }
1972
2002
  }
1973
2003
  t(e);
@@ -1975,7 +2005,7 @@ _t("unmount", function(t, e) {
1975
2005
  _t("__h", function(t, e, i, a) {
1976
2006
  (a < 3 || a === 9) && (e.__$f |= 2), t(e, i, a);
1977
2007
  });
1978
- U.prototype.shouldComponentUpdate = function(t, e) {
2008
+ W.prototype.shouldComponentUpdate = function(t, e) {
1979
2009
  var i = this.__$u;
1980
2010
  if (!(i && i.s !== void 0 || 4 & this.__$f) || 3 & this.__$f)
1981
2011
  return !0;
@@ -1984,20 +2014,20 @@ U.prototype.shouldComponentUpdate = function(t, e) {
1984
2014
  for (var o in t)
1985
2015
  if (o !== "__source" && t[o] !== this.props[o])
1986
2016
  return !0;
1987
- for (var r in this.props)
1988
- if (!(r in t))
2017
+ for (var n in this.props)
2018
+ if (!(n in t))
1989
2019
  return !0;
1990
2020
  return !1;
1991
2021
  };
1992
- function br(t) {
2022
+ function Tn(t) {
1993
2023
  return dt(function() {
1994
- return H(t);
2024
+ return U(t);
1995
2025
  }, []);
1996
2026
  }
1997
- const ye = (t, e) => e.some((i) => t instanceof i);
1998
- let bi, vi;
1999
- function vr() {
2000
- return bi || (bi = [
2027
+ const ke = (t, e) => e.some((i) => t instanceof i);
2028
+ let _i, mi;
2029
+ function Pn() {
2030
+ return _i || (_i = [
2001
2031
  IDBDatabase,
2002
2032
  IDBObjectStore,
2003
2033
  IDBIndex,
@@ -2005,47 +2035,47 @@ function vr() {
2005
2035
  IDBTransaction
2006
2036
  ]);
2007
2037
  }
2008
- function _r() {
2009
- return vi || (vi = [
2038
+ function In() {
2039
+ return mi || (mi = [
2010
2040
  IDBCursor.prototype.advance,
2011
2041
  IDBCursor.prototype.continue,
2012
2042
  IDBCursor.prototype.continuePrimaryKey
2013
2043
  ]);
2014
2044
  }
2015
- const xe = /* @__PURE__ */ new WeakMap(), oe = /* @__PURE__ */ new WeakMap(), Zt = /* @__PURE__ */ new WeakMap();
2016
- function mr(t) {
2045
+ const $e = /* @__PURE__ */ new WeakMap(), ne = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap();
2046
+ function zn(t) {
2017
2047
  const e = new Promise((i, a) => {
2018
2048
  const o = () => {
2019
- t.removeEventListener("success", r), t.removeEventListener("error", n);
2020
- }, r = () => {
2021
- i(lt(t.result)), o();
2049
+ t.removeEventListener("success", n), t.removeEventListener("error", r);
2022
2050
  }, n = () => {
2051
+ i(lt(t.result)), o();
2052
+ }, r = () => {
2023
2053
  a(t.error), o();
2024
2054
  };
2025
- t.addEventListener("success", r), t.addEventListener("error", n);
2055
+ t.addEventListener("success", n), t.addEventListener("error", r);
2026
2056
  });
2027
- return Zt.set(e, t), e;
2057
+ return Jt.set(e, t), e;
2028
2058
  }
2029
- function yr(t) {
2030
- if (xe.has(t))
2059
+ function Dn(t) {
2060
+ if ($e.has(t))
2031
2061
  return;
2032
2062
  const e = new Promise((i, a) => {
2033
2063
  const o = () => {
2034
- t.removeEventListener("complete", r), t.removeEventListener("error", n), t.removeEventListener("abort", n);
2035
- }, r = () => {
2036
- i(), o();
2064
+ t.removeEventListener("complete", n), t.removeEventListener("error", r), t.removeEventListener("abort", r);
2037
2065
  }, n = () => {
2066
+ i(), o();
2067
+ }, r = () => {
2038
2068
  a(t.error || new DOMException("AbortError", "AbortError")), o();
2039
2069
  };
2040
- t.addEventListener("complete", r), t.addEventListener("error", n), t.addEventListener("abort", n);
2070
+ t.addEventListener("complete", n), t.addEventListener("error", r), t.addEventListener("abort", r);
2041
2071
  });
2042
- xe.set(t, e);
2072
+ $e.set(t, e);
2043
2073
  }
2044
- let ke = {
2074
+ let Se = {
2045
2075
  get(t, e, i) {
2046
2076
  if (t instanceof IDBTransaction) {
2047
2077
  if (e === "done")
2048
- return xe.get(t);
2078
+ return $e.get(t);
2049
2079
  if (e === "store")
2050
2080
  return i.objectStoreNames[1] ? void 0 : i.objectStore(i.objectStoreNames[0]);
2051
2081
  }
@@ -2058,101 +2088,101 @@ let ke = {
2058
2088
  return t instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in t;
2059
2089
  }
2060
2090
  };
2061
- function ka(t) {
2062
- ke = t(ke);
2091
+ function Pa(t) {
2092
+ Se = t(Se);
2063
2093
  }
2064
- function xr(t) {
2065
- return _r().includes(t) ? function(...e) {
2066
- return t.apply($e(this), e), lt(this.request);
2094
+ function On(t) {
2095
+ return In().includes(t) ? function(...e) {
2096
+ return t.apply(Ce(this), e), lt(this.request);
2067
2097
  } : function(...e) {
2068
- return lt(t.apply($e(this), e));
2098
+ return lt(t.apply(Ce(this), e));
2069
2099
  };
2070
2100
  }
2071
- function kr(t) {
2072
- return typeof t == "function" ? xr(t) : (t instanceof IDBTransaction && yr(t), ye(t, vr()) ? new Proxy(t, ke) : t);
2101
+ function An(t) {
2102
+ return typeof t == "function" ? On(t) : (t instanceof IDBTransaction && Dn(t), ke(t, Pn()) ? new Proxy(t, Se) : t);
2073
2103
  }
2074
2104
  function lt(t) {
2075
2105
  if (t instanceof IDBRequest)
2076
- return mr(t);
2077
- if (oe.has(t))
2078
- return oe.get(t);
2079
- const e = kr(t);
2080
- return e !== t && (oe.set(t, e), Zt.set(e, t)), e;
2081
- }
2082
- const $e = (t) => Zt.get(t);
2083
- function $r(t, e, { blocked: i, upgrade: a, blocking: o, terminated: r } = {}) {
2084
- const n = indexedDB.open(t, e), s = lt(n);
2085
- return a && n.addEventListener("upgradeneeded", (c) => {
2086
- a(lt(n.result), c.oldVersion, c.newVersion, lt(n.transaction), c);
2087
- }), i && n.addEventListener("blocked", (c) => i(
2106
+ return zn(t);
2107
+ if (ne.has(t))
2108
+ return ne.get(t);
2109
+ const e = An(t);
2110
+ return e !== t && (ne.set(t, e), Jt.set(e, t)), e;
2111
+ }
2112
+ const Ce = (t) => Jt.get(t);
2113
+ function Nn(t, e, { blocked: i, upgrade: a, blocking: o, terminated: n } = {}) {
2114
+ const r = indexedDB.open(t, e), s = lt(r);
2115
+ return a && r.addEventListener("upgradeneeded", (c) => {
2116
+ a(lt(r.result), c.oldVersion, c.newVersion, lt(r.transaction), c);
2117
+ }), i && r.addEventListener("blocked", (c) => i(
2088
2118
  // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
2089
2119
  c.oldVersion,
2090
2120
  c.newVersion,
2091
2121
  c
2092
2122
  )), s.then((c) => {
2093
- r && c.addEventListener("close", () => r()), o && c.addEventListener("versionchange", (d) => o(d.oldVersion, d.newVersion, d));
2123
+ n && c.addEventListener("close", () => n()), o && c.addEventListener("versionchange", (d) => o(d.oldVersion, d.newVersion, d));
2094
2124
  }).catch(() => {
2095
2125
  }), s;
2096
2126
  }
2097
- const Sr = ["get", "getKey", "getAll", "getAllKeys", "count"], Cr = ["put", "add", "delete", "clear"], re = /* @__PURE__ */ new Map();
2098
- function _i(t, e) {
2127
+ const jn = ["get", "getKey", "getAll", "getAllKeys", "count"], Fn = ["put", "add", "delete", "clear"], re = /* @__PURE__ */ new Map();
2128
+ function yi(t, e) {
2099
2129
  if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
2100
2130
  return;
2101
2131
  if (re.get(e))
2102
2132
  return re.get(e);
2103
- const i = e.replace(/FromIndex$/, ""), a = e !== i, o = Cr.includes(i);
2133
+ const i = e.replace(/FromIndex$/, ""), a = e !== i, o = Fn.includes(i);
2104
2134
  if (
2105
2135
  // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
2106
- !(i in (a ? IDBIndex : IDBObjectStore).prototype) || !(o || Sr.includes(i))
2136
+ !(i in (a ? IDBIndex : IDBObjectStore).prototype) || !(o || jn.includes(i))
2107
2137
  )
2108
2138
  return;
2109
- const r = async function(n, ...s) {
2110
- const c = this.transaction(n, o ? "readwrite" : "readonly");
2139
+ const n = async function(r, ...s) {
2140
+ const c = this.transaction(r, o ? "readwrite" : "readonly");
2111
2141
  let d = c.store;
2112
2142
  return a && (d = d.index(s.shift())), (await Promise.all([
2113
2143
  d[i](...s),
2114
2144
  o && c.done
2115
2145
  ]))[0];
2116
2146
  };
2117
- return re.set(e, r), r;
2147
+ return re.set(e, n), n;
2118
2148
  }
2119
- ka((t) => ({
2149
+ Pa((t) => ({
2120
2150
  ...t,
2121
- get: (e, i, a) => _i(e, i) || t.get(e, i, a),
2122
- has: (e, i) => !!_i(e, i) || t.has(e, i)
2151
+ get: (e, i, a) => yi(e, i) || t.get(e, i, a),
2152
+ has: (e, i) => !!yi(e, i) || t.has(e, i)
2123
2153
  }));
2124
- const Er = ["continue", "continuePrimaryKey", "advance"], mi = {}, Se = /* @__PURE__ */ new WeakMap(), $a = /* @__PURE__ */ new WeakMap(), Pr = {
2154
+ const Mn = ["continue", "continuePrimaryKey", "advance"], xi = {}, Ee = /* @__PURE__ */ new WeakMap(), Ia = /* @__PURE__ */ new WeakMap(), Bn = {
2125
2155
  get(t, e) {
2126
- if (!Er.includes(e))
2156
+ if (!Mn.includes(e))
2127
2157
  return t[e];
2128
- let i = mi[e];
2129
- return i || (i = mi[e] = function(...a) {
2130
- Se.set(this, $a.get(this)[e](...a));
2158
+ let i = xi[e];
2159
+ return i || (i = xi[e] = function(...a) {
2160
+ Ee.set(this, Ia.get(this)[e](...a));
2131
2161
  }), i;
2132
2162
  }
2133
2163
  };
2134
- async function* Tr(...t) {
2164
+ async function* Ln(...t) {
2135
2165
  let e = this;
2136
2166
  if (e instanceof IDBCursor || (e = await e.openCursor(...t)), !e)
2137
2167
  return;
2138
2168
  e = e;
2139
- const i = new Proxy(e, Pr);
2140
- for ($a.set(i, e), Zt.set(i, $e(e)); e; )
2141
- yield i, e = await (Se.get(i) || e.continue()), Se.delete(i);
2169
+ const i = new Proxy(e, Bn);
2170
+ for (Ia.set(i, e), Jt.set(i, Ce(e)); e; )
2171
+ yield i, e = await (Ee.get(i) || e.continue()), Ee.delete(i);
2142
2172
  }
2143
- function yi(t, e) {
2144
- return e === Symbol.asyncIterator && ye(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && ye(t, [IDBIndex, IDBObjectStore]);
2173
+ function ki(t, e) {
2174
+ return e === Symbol.asyncIterator && ke(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && ke(t, [IDBIndex, IDBObjectStore]);
2145
2175
  }
2146
- ka((t) => ({
2176
+ Pa((t) => ({
2147
2177
  ...t,
2148
2178
  get(e, i, a) {
2149
- return yi(e, i) ? Tr : t.get(e, i, a);
2179
+ return ki(e, i) ? Ln : t.get(e, i, a);
2150
2180
  },
2151
2181
  has(e, i) {
2152
- return yi(e, i) || t.has(e, i);
2182
+ return ki(e, i) || t.has(e, i);
2153
2183
  }
2154
2184
  }));
2155
- const Dt = typeof indexedDB > "u" ? void 0 : $r("inploi-chatbot", 3, {
2185
+ const jt = typeof indexedDB > "u" ? void 0 : Nn("inploi-chatbot", 3, {
2156
2186
  upgrade(t) {
2157
2187
  try {
2158
2188
  t.deleteObjectStore("state");
@@ -2161,42 +2191,31 @@ const Dt = typeof indexedDB > "u" ? void 0 : $r("inploi-chatbot", 3, {
2161
2191
  t.createObjectStore("state");
2162
2192
  }
2163
2193
  });
2164
- let Mt, ne, mt;
2165
- const xi = () => {
2166
- if (!Mt)
2194
+ let Ft, se, mt;
2195
+ const $i = () => {
2196
+ if (!Ft)
2167
2197
  return mt;
2168
- const t = Mt;
2169
- Mt = void 0;
2170
- const e = Sa(t), i = Dt == null ? void 0 : Dt.then((a) => a.put("state", t.data, e)).finally(() => {
2198
+ const t = Ft;
2199
+ Ft = void 0;
2200
+ const e = qt(t), i = jt == null ? void 0 : jt.then((a) => a.put("state", t.data, e)).finally(() => {
2171
2201
  mt === i && (mt = void 0);
2172
2202
  });
2173
2203
  return mt = i, mt;
2174
- }, X = {
2204
+ }, H = {
2175
2205
  getStateData: async (t, e, i) => {
2176
2206
  var o;
2177
- const a = Sa({
2207
+ const a = qt({
2178
2208
  ...t,
2179
2209
  flowKeys: e,
2180
2210
  context: i
2181
2211
  });
2182
- return (o = await Dt) == null ? void 0 : o.get("state", a);
2212
+ return (o = await jt) == null ? void 0 : o.get("state", a);
2183
2213
  },
2184
2214
  setStateData: (t) => {
2185
- Mt = t, clearTimeout(ne), ne = setTimeout(() => void xi(), 1e3);
2215
+ Ft = t, clearTimeout(se), se = setTimeout(() => void $i(), 1e3);
2186
2216
  },
2187
- flushStateData: () => (clearTimeout(ne), xi() ?? Promise.resolve())
2188
- }, In = (t) => {
2189
- const e = t.find((i) => i.isHead);
2190
- if (!e)
2191
- throw new Error("No head node found");
2192
- return e;
2193
- }, zn = (t) => (e) => e ? e.type === t : !1;
2194
- class ut extends Error {
2195
- constructor() {
2196
- super("Aborted");
2197
- }
2198
- }
2199
- const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : Math.random().toString(36).slice(2), ki = () => ({
2217
+ flushStateData: () => (clearTimeout(se), $i() ?? Promise.resolve())
2218
+ }, Hr = (t) => (e) => e ? e.type === t : !1, Rn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : Math.random().toString(36).slice(2), Si = () => ({
2200
2219
  messages: [],
2201
2220
  submissions: {},
2202
2221
  currentInput: null,
@@ -2205,17 +2224,17 @@ const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
2205
2224
  isFinished: !1,
2206
2225
  hasInteracted: !1,
2207
2226
  sequence: 0,
2208
- flowSessionId: Ir()
2209
- }), An = (t) => (
2227
+ flowSessionId: Rn()
2228
+ }), Ur = (t) => (
2210
2229
  /** nativeEvent is a hidden property not exposed by JSX's typings */
2211
- He(t).with({
2230
+ We(t).with({
2212
2231
  nativeEvent: {
2213
2232
  submitter: zt.select(zt.union(zt.instanceOf(HTMLButtonElement), zt.instanceOf(HTMLInputElement)))
2214
2233
  }
2215
2234
  }, (e) => e).otherwise(() => {
2216
2235
  throw new Error("invalid submitter");
2217
2236
  })
2218
- ), Ft = (t, e, i, a = 0) => {
2237
+ ), Mt = (t, e, i, a = 0) => {
2219
2238
  if (!e.nextId)
2220
2239
  return i(e.id, {
2221
2240
  stepsMade: a,
@@ -2230,9 +2249,9 @@ const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
2230
2249
  stepsMade: a,
2231
2250
  remainingSteps: 0
2232
2251
  };
2233
- const r = e.type === "if-block" ? e.branchId : void 0, n = t.find((d) => d.id === r), s = e.type.includes("question") ? 1 : 0;
2234
- if (n) {
2235
- const d = s + Math.max(Ft(t, o, i, a + s).remainingSteps, Ft(t, n, i, a + s).remainingSteps);
2252
+ const n = e.type === "if-block" ? e.branchId : void 0, r = t.find((d) => d.id === n), s = e.type.includes("question") ? 1 : 0;
2253
+ if (r) {
2254
+ const d = s + Math.max(Mt(t, o, i, a + s).remainingSteps, Mt(t, r, i, a + s).remainingSteps);
2236
2255
  return i(e.id, {
2237
2256
  stepsMade: a,
2238
2257
  remainingSteps: d
@@ -2241,7 +2260,7 @@ const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
2241
2260
  remainingSteps: d
2242
2261
  };
2243
2262
  }
2244
- const c = s + Ft(t, o, i, a + s).remainingSteps;
2263
+ const c = s + Mt(t, o, i, a + s).remainingSteps;
2245
2264
  return i(e.id, {
2246
2265
  stepsMade: a,
2247
2266
  remainingSteps: c
@@ -2249,136 +2268,161 @@ const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
2249
2268
  stepsMade: a,
2250
2269
  remainingSteps: c
2251
2270
  };
2252
- }, zr = (t) => {
2271
+ }, Hn = (t) => {
2253
2272
  const e = {}, i = t.find((a) => a.isHead);
2254
- return i && Ft(t, i, (a, o) => {
2273
+ return i && Mt(t, i, (a, o) => {
2255
2274
  e[a] = o;
2256
2275
  }), e;
2257
- }, Sa = (t) => [...t.flowKeys, t.id, t.version, t.build, pr(t.context)].join("/"), On = (t) => {
2258
- var e, i;
2259
- if (!(t.data.isFinished || (e = t.data.startedWriteNodeIds) != null && e.length))
2260
- return (i = [...t.data.messages].reverse().find((a) => a.groupId && t.nodes.some((o) => o.id === a.groupId && o.type.startsWith("question-")) && (a.type === "system" || "author" in a && a.author === "user"))) == null ? void 0 : i.groupId;
2261
- }, Z = H({
2276
+ }, qt = (t) => [...t.flowKeys, t.id, t.version, t.build, kn(t.context)].join("/"), Un = ({
2277
+ data: t,
2278
+ nodes: e
2279
+ }) => {
2280
+ const i = t.startedWriteNodeIds === void 0 ? e.some((a) => a.type === "integration-application-submit" && t.nodeHistory.includes(a.id)) : t.startedWriteNodeIds.length > 0;
2281
+ return !t.isFinished && !i && Fi(e, t.submissions);
2282
+ }, Wn = ({
2283
+ data: t,
2284
+ nodes: e
2285
+ }) => {
2286
+ var i;
2287
+ return !t.isFinished && ((((i = t.startedWriteNodeIds) == null ? void 0 : i.length) ?? 0) > 0 || Fi(e, t.submissions));
2288
+ }, G = U({
2262
2289
  state: "idle"
2263
- }), nt = (t) => {
2290
+ }), le = /* @__PURE__ */ new Set(), rt = (t) => {
2264
2291
  const {
2265
2292
  state: e,
2266
2293
  flow: i
2267
- } = Z.value;
2294
+ } = G.value;
2268
2295
  if (e !== "loaded")
2269
2296
  return;
2270
- ga(i, "No flow to update");
2297
+ xa(i, "No flow to update");
2271
2298
  const a = t(i.data);
2272
- i.data = a, Z.value = {
2299
+ i.data = a, G.value = {
2273
2300
  state: e,
2274
2301
  flow: i
2275
- }, X.setStateData(i);
2276
- }, $ = {
2277
- current$: Z,
2278
- viewState$: H("closed"),
2302
+ }, H.setStateData(i);
2303
+ }, S = {
2304
+ current$: G,
2305
+ viewState$: U("closed"),
2279
2306
  prepareFlow: async ({
2280
2307
  flow: t,
2281
2308
  context: e = {},
2282
2309
  flowKeys: i,
2283
2310
  title: a,
2284
2311
  analytics: o,
2285
- job: r,
2286
- locationOrigin: n
2287
- }) => (await X.flushStateData().catch(() => {
2288
- }), {
2289
- data: await X.getStateData(t, i, e) ?? ki(),
2290
- startedAt: /* @__PURE__ */ new Date(),
2291
- nodeIdToProgress: zr(t.nodes),
2292
- flowKeys: i,
2293
- id: t.id,
2294
- version: t.version,
2295
- nodes: t.nodes,
2296
- build: t.build,
2297
- context: e,
2298
- title: a,
2299
- analytics: o,
2300
- job: r,
2301
- locationOrigin: n
2302
- }),
2312
+ job: n,
2313
+ locationOrigin: r
2314
+ }) => {
2315
+ await H.flushStateData().catch(() => {
2316
+ });
2317
+ const s = await H.getStateData(t, i, e), c = s ?? Si(), d = qt({
2318
+ ...t,
2319
+ flowKeys: i,
2320
+ context: e
2321
+ }), u = s !== void 0 && !le.has(d) && Un({
2322
+ data: c,
2323
+ nodes: t.nodes
2324
+ });
2325
+ return u || le.add(d), {
2326
+ data: c,
2327
+ offerResume: u,
2328
+ startedAt: /* @__PURE__ */ new Date(),
2329
+ nodeIdToProgress: Hn(t.nodes),
2330
+ flowKeys: i,
2331
+ id: t.id,
2332
+ version: t.version,
2333
+ nodes: t.nodes,
2334
+ build: t.build,
2335
+ context: e,
2336
+ title: a,
2337
+ analytics: o,
2338
+ job: n,
2339
+ locationOrigin: r
2340
+ };
2341
+ },
2303
2342
  commitFlow: (t) => {
2304
- Z.value = {
2343
+ G.value = {
2305
2344
  state: "loaded",
2306
2345
  flow: t
2307
- }, X.setStateData(t);
2346
+ }, H.setStateData(t);
2347
+ },
2348
+ /** The candidate chose to continue or start again, so this page does not ask about this application again. */
2349
+ settleResume: (t) => {
2350
+ t.offerResume = !1, le.add(qt(t));
2308
2351
  },
2309
2352
  cancelCurrentFlow: () => {
2310
- Z.value = {
2353
+ G.value = {
2311
2354
  state: "idle"
2312
- }, $.viewState$.value = "closed";
2355
+ }, S.viewState$.value = "closed";
2313
2356
  },
2314
- markAsFinished: () => nt((t) => ({
2357
+ markAsFinished: () => rt((t) => ({
2315
2358
  ...t,
2316
2359
  isFinished: !0
2317
2360
  })),
2318
- markAsInteracted: () => nt((t) => ({
2361
+ markAsInteracted: () => rt((t) => ({
2319
2362
  ...t,
2320
2363
  hasInteracted: !0
2321
2364
  })),
2322
- setCurrentNodeId: (t) => nt((e) => (e.nodeHistory.push(t), e)),
2365
+ setCurrentNodeId: (t) => rt((e) => (e.nodeHistory.push(t), e)),
2323
2366
  setApplicationRecovery: async (t) => {
2324
- nt((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await X.flushStateData();
2367
+ rt((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await H.flushStateData();
2325
2368
  },
2326
2369
  restart: () => {
2327
2370
  const {
2328
2371
  state: t,
2329
2372
  flow: e
2330
- } = Z.value;
2373
+ } = G.value;
2331
2374
  if (t !== "loaded")
2332
2375
  throw new Error("Flow cannot be restarted: not in valid state");
2333
2376
  const i = {
2334
- ...ki(),
2377
+ ...Si(),
2335
2378
  failedAttemptAt: e.data.failedAttemptAt,
2336
2379
  unconfirmedAttemptKeys: e.data.unconfirmedAttemptKeys,
2337
2380
  submitCooldown: e.data.submitCooldown
2338
2381
  }, a = {
2339
2382
  ...e,
2340
2383
  data: i,
2341
- startedAt: /* @__PURE__ */ new Date()
2384
+ startedAt: /* @__PURE__ */ new Date(),
2385
+ offerResume: !1
2342
2386
  };
2343
- Z.value = {
2387
+ G.value = {
2344
2388
  state: t,
2345
2389
  flow: a
2346
- }, X.setStateData(a);
2390
+ }, H.setStateData(a);
2347
2391
  },
2348
2392
  addMessage: (t, e) => {
2349
2393
  const i = {
2350
2394
  ...t,
2351
2395
  groupId: e
2352
2396
  };
2353
- return nt((a) => (a.messages.push(i), a));
2397
+ return rt((a) => (a.messages.push(i), a));
2354
2398
  },
2355
2399
  /** Removes messages from nodeId, all the messages that have the groupId passed, until it reaches one that doesn't */
2356
2400
  removeMessagesSentByNodeIds: (t) => {
2357
2401
  const {
2358
2402
  state: e,
2359
2403
  flow: i
2360
- } = Z.value;
2361
- ga(e === "loaded", "Application not loaded");
2404
+ } = G.value;
2405
+ xa(e === "loaded", "Application not loaded");
2362
2406
  const a = i.data.messages.filter((o) => !o.groupId || !t.includes(o.groupId));
2363
- i.data.messages = a, X.setStateData(i);
2407
+ i.data.messages = a, H.setStateData(i);
2364
2408
  },
2365
- setSubmission: (t, e) => nt((i) => (e === null ? delete i.submissions[t] : i.submissions[t] = e, i)),
2366
- setInput: (t) => nt((e) => ({
2409
+ setSubmission: (t, e) => rt((i) => (e === null ? delete i.submissions[t] : i.submissions[t] = e, i)),
2410
+ setInput: (t) => rt((e) => ({
2367
2411
  ...e,
2368
2412
  currentInput: t ?? null
2369
2413
  })),
2370
2414
  persistWriteBarrier: async (t) => {
2371
- Z.peek().flow === t && (Z.value = {
2415
+ G.peek().flow === t && (G.value = {
2372
2416
  state: "loaded",
2373
2417
  flow: t
2374
- }), X.setStateData(t), await X.flushStateData();
2418
+ }), H.setStateData(t), await H.flushStateData();
2375
2419
  }
2376
- }, Ar = ({
2420
+ }, Vn = ({
2377
2421
  message: t
2378
2422
  }) => {
2379
2423
  const {
2380
2424
  t: e
2381
- } = Xt();
2425
+ } = Gt();
2382
2426
  return p("div", {
2383
2427
  class: "flex flex-grow flex-col items-center justify-center",
2384
2428
  children: [p("svg", {
@@ -2428,10 +2472,10 @@ const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
2428
2472
  })]
2429
2473
  })]
2430
2474
  });
2431
- }, Or = (t) => {
2475
+ }, Yn = (t) => {
2432
2476
  const {
2433
2477
  t: e
2434
- } = Xt();
2478
+ } = Gt();
2435
2479
  return p("svg", {
2436
2480
  role: "img",
2437
2481
  viewBox: "0 0 24 24",
@@ -2492,15 +2536,15 @@ const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
2492
2536
  })
2493
2537
  })]
2494
2538
  });
2495
- }, $i = () => p("div", {
2539
+ }, Ci = () => p("div", {
2496
2540
  class: "flex flex-grow flex-col items-center justify-center",
2497
- children: p(Or, {
2541
+ children: p(Yn, {
2498
2542
  class: "text-neutral-6 h-8 w-8"
2499
2543
  })
2500
- }), jr = (t) => {
2544
+ }), Kn = (t) => {
2501
2545
  const i = t / 100, a = 1.3;
2502
2546
  return t < 0 ? "0%" : t > 100 ? "100%" : `${Math.round((1 - (1 - 0.1) * Math.pow(1 - i, a)) * 100)}%`;
2503
- }, Nr = Fe("touch-hitbox fr relative flex-none rounded-full p-2 transition-all", {
2547
+ }, qn = Le("touch-hitbox fr relative flex-none rounded-full p-2 transition-all", {
2504
2548
  variants: {
2505
2549
  variant: {
2506
2550
  neutral: "text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",
@@ -2510,13 +2554,13 @@ const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
2510
2554
  defaultVariants: {
2511
2555
  variant: "neutral"
2512
2556
  }
2513
- }), Ce = ({
2557
+ }), Te = ({
2514
2558
  class: t,
2515
2559
  children: e,
2516
2560
  variant: i,
2517
2561
  ...a
2518
2562
  }) => p("button", {
2519
- class: Me(Nr({
2563
+ class: Be(qn({
2520
2564
  variant: i
2521
2565
  }), t),
2522
2566
  ...a,
@@ -2532,12 +2576,12 @@ const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
2532
2576
  xmlns: "http://www.w3.org/2000/svg",
2533
2577
  children: e
2534
2578
  })
2535
- }), Dr = () => p("path", {
2579
+ }), Zn = () => p("path", {
2536
2580
  d: "M12.5 6.5L8 11L3.5 6.5"
2537
- }), Mr = () => {
2538
- if ($.current$.value.state !== "loaded")
2581
+ }), Xn = () => {
2582
+ if (S.current$.value.state !== "loaded")
2539
2583
  return null;
2540
- const t = $.current$.value.flow.nodeIdToProgress, e = $.current$.value.flow.data.nodeHistory.at(-1);
2584
+ const t = S.current$.value.flow.nodeIdToProgress, e = S.current$.value.flow.data.nodeHistory.at(-1);
2541
2585
  if (e === void 0)
2542
2586
  return null;
2543
2587
  const i = t[e];
@@ -2548,19 +2592,19 @@ const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
2548
2592
  class: "bg-accent-3",
2549
2593
  children: p("div", {
2550
2594
  style: {
2551
- width: jr(a)
2595
+ width: Kn(a)
2552
2596
  },
2553
2597
  class: "bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"
2554
2598
  })
2555
2599
  });
2556
- }, Fr = ({
2600
+ }, Gn = ({
2557
2601
  children: t,
2558
2602
  params: e
2559
2603
  }) => {
2560
2604
  const {
2561
2605
  t: i
2562
- } = Xt(), a = $.viewState$;
2563
- return p(W, {
2606
+ } = Gt(), a = S.viewState$;
2607
+ return p(Y, {
2564
2608
  children: p("header", {
2565
2609
  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",
2566
2610
  children: [p("div", {
@@ -2575,7 +2619,7 @@ const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
2575
2619
  a.value = "minimised";
2576
2620
  },
2577
2621
  class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
2578
- onTouchStart: Ee,
2622
+ onTouchStart: Pe,
2579
2623
  children: p("p", {
2580
2624
  "aria-hidden": !0,
2581
2625
  class: "text-neutral-12 truncate text-sm font-bold tracking-tight",
@@ -2586,38 +2630,38 @@ const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
2586
2630
  children: [e.feedback ? p("div", {
2587
2631
  "data-widget": "inploi-feedback",
2588
2632
  "data-key": "chatbot-header",
2589
- class: Me({
2590
- hidden: $.current$.value.state !== "loaded" || a.value !== "maximised"
2633
+ class: Be({
2634
+ hidden: S.current$.value.state !== "loaded" || a.value !== "maximised"
2591
2635
  }),
2592
2636
  children: p("div", {
2593
2637
  class: "ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1"
2594
2638
  })
2595
- }) : null, $.current$.value.state === "loaded" && p(Ce, {
2639
+ }) : null, S.current$.value.state === "loaded" && p(Te, {
2596
2640
  class: "mx-1",
2597
2641
  "aria-label": i("restart"),
2598
2642
  onClick: () => {
2599
- $.restart();
2643
+ S.restart();
2600
2644
  },
2601
2645
  children: [p("path", {
2602
2646
  d: "M12 8.5C12 9.29113 11.7654 10.0645 11.3259 10.7223C10.8864 11.3801 10.2616 11.8928 9.53073 12.1955C8.79983 12.4983 7.99556 12.5775 7.21964 12.4231C6.44371 12.2688 5.73098 11.8878 5.17157 11.3284C4.61216 10.769 4.2312 10.0563 4.07686 9.28036C3.92252 8.50444 4.00173 7.70017 4.30448 6.96927C4.60723 6.23836 5.11992 5.61365 5.77772 5.17412C6.43552 4.7346 7.20887 4.5 8 4.5H9"
2603
2647
  }), p("path", {
2604
2648
  d: "M8 7L10 4.5L8 2.5"
2605
2649
  })]
2606
- }, "restart"), p(Ce, {
2650
+ }, "restart"), p(Te, {
2607
2651
  class: "view-switch mx-1",
2608
- onTouchStart: Ee,
2652
+ onTouchStart: Pe,
2609
2653
  "aria-label": i("minimize"),
2610
2654
  onClick: () => a.value = "minimised",
2611
- children: p(Dr, {})
2655
+ children: p(Zn, {})
2612
2656
  }, "minmax")]
2613
2657
  })]
2614
- }), p(Mr, {})]
2658
+ }), p(Xn, {})]
2615
2659
  })
2616
2660
  });
2617
2661
  };
2618
- function Ee() {
2662
+ function Pe() {
2619
2663
  }
2620
- const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBody)), Ca = Fe("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", {
2664
+ const Jn = ha(() => import("./chatbot-body-d3fd468f.js").then((t) => t.ChatbotBody)), za = Le("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", {
2621
2665
  variants: {
2622
2666
  view: {
2623
2667
  closed: "hidden",
@@ -2625,7 +2669,7 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2625
2669
  maximised: "max-w-[450px] h-[var(--content-height)] animate-maximise"
2626
2670
  }
2627
2671
  }
2628
- }), Ea = Fe("relative flex h-full overflow-hidden rounded-3xl outline outline-1", {
2672
+ }), Da = Le("relative flex h-full overflow-hidden rounded-3xl outline outline-1", {
2629
2673
  variants: {
2630
2674
  view: {
2631
2675
  closed: "hidden",
@@ -2633,11 +2677,11 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2633
2677
  maximised: "outline-neutral-3 bg-neutral-1 flex-col"
2634
2678
  }
2635
2679
  }
2636
- }), Lr = ({
2680
+ }), Qn = ({
2637
2681
  open: t,
2638
2682
  ...e
2639
2683
  }) => {
2640
- const i = Gt(null);
2684
+ const i = Xt(null);
2641
2685
  return bt(() => {
2642
2686
  const a = i.current;
2643
2687
  a && (t ? a.showModal() : a.close());
@@ -2645,7 +2689,7 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2645
2689
  ref: i,
2646
2690
  ...e
2647
2691
  });
2648
- }, Rr = ({
2692
+ }, tr = ({
2649
2693
  logger: t,
2650
2694
  apiClient: e,
2651
2695
  analytics: i,
@@ -2653,51 +2697,51 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2653
2697
  params: o
2654
2698
  }) => {
2655
2699
  const {
2656
- state: r,
2657
- flow: n,
2700
+ state: n,
2701
+ flow: r,
2658
2702
  error: s
2659
- } = $.current$.value, c = $.viewState$.value, d = r !== "idle" && c === "maximised", u = Gt(null), l = n ? [...n.data.nodeHistory].reverse().map((w) => n.nodes.find((g) => g.id === w)).find((w) => (w == null ? void 0 : w.type) === "flow-section") : void 0;
2660
- return p(dr, {
2703
+ } = S.current$.value, c = S.viewState$.value, d = n !== "idle" && c === "maximised", u = Xt(null), l = r ? [...r.data.nodeHistory].reverse().map((w) => r.nodes.find((g) => g.id === w)).find((w) => (w == null ? void 0 : w.type) === "flow-section") : void 0;
2704
+ return p(yn, {
2661
2705
  terms: o.terms,
2662
2706
  locale: void 0,
2663
- children: [p(Lr, {
2707
+ children: [p(Qn, {
2664
2708
  open: d,
2665
- onClose: () => $.viewState$.value = "minimised",
2709
+ onClose: () => S.viewState$.value = "minimised",
2666
2710
  children: p("div", {
2667
2711
  ref: u,
2668
2712
  "aria-modal": "true",
2669
2713
  role: "dialog",
2670
2714
  "aria-labelledby": "chatbot-status-bar",
2671
- class: Ca({
2715
+ class: za({
2672
2716
  view: "maximised"
2673
2717
  }),
2674
2718
  children: p("div", {
2675
- class: Ea({
2719
+ class: Da({
2676
2720
  view: "maximised"
2677
2721
  }),
2678
- children: [p(Fr, {
2722
+ children: [p(Gn, {
2679
2723
  params: o,
2680
- children: l ? p(W, {
2724
+ children: l ? p(Y, {
2681
2725
  children: [p("span", {
2682
2726
  class: "block",
2683
2727
  children: l.data.title
2684
2728
  }), p("span", {
2685
2729
  class: "block truncate text-xs font-normal",
2686
- children: n == null ? void 0 : n.title
2730
+ children: r == null ? void 0 : r.title
2687
2731
  })]
2688
- }) : n == null ? void 0 : n.title
2689
- }), He({
2690
- state: r,
2732
+ }) : r == null ? void 0 : r.title
2733
+ }), We({
2734
+ state: n,
2691
2735
  view: c
2692
2736
  }).with({
2693
2737
  state: "idle"
2694
2738
  }, () => null).with({
2695
2739
  state: "loading"
2696
- }, () => p($i, {}, "loading")).with({
2740
+ }, () => p(Ci, {}, "loading")).with({
2697
2741
  state: "loaded"
2698
2742
  }, () => p(kt, {
2699
- fallback: p($i, {}, "loading"),
2700
- children: p(Br, {
2743
+ fallback: p(Ci, {}, "loading"),
2744
+ children: p(Jn, {
2701
2745
  analytics: i,
2702
2746
  apiClient: e,
2703
2747
  logger: t,
@@ -2705,36 +2749,36 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2705
2749
  })
2706
2750
  })).with({
2707
2751
  state: "error"
2708
- }, () => p(Ar, {
2752
+ }, () => p(Vn, {
2709
2753
  message: s
2710
2754
  })).exhaustive()]
2711
2755
  })
2712
2756
  })
2713
- }), c === "minimised" ? p(Hr, {
2714
- flow: n
2757
+ }), c === "minimised" ? p(er, {
2758
+ flow: r
2715
2759
  }) : null]
2716
2760
  });
2717
- }, Hr = ({
2761
+ }, er = ({
2718
2762
  flow: t
2719
2763
  }) => {
2720
2764
  const {
2721
2765
  t: e
2722
- } = Xt();
2766
+ } = Gt();
2723
2767
  return p("div", {
2724
- class: Ca({
2768
+ class: za({
2725
2769
  view: "minimised",
2726
2770
  class: "z-100 isolate"
2727
2771
  }),
2728
2772
  children: p("div", {
2729
- class: Ea({
2773
+ class: Da({
2730
2774
  view: "minimised"
2731
2775
  }),
2732
2776
  children: [p("button", {
2733
2777
  onClick: () => {
2734
- $.viewState$.value = "maximised";
2778
+ S.viewState$.value = "maximised";
2735
2779
  },
2736
2780
  class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
2737
- onTouchStart: Ee,
2781
+ onTouchStart: Pe,
2738
2782
  children: p("p", {
2739
2783
  "aria-hidden": !0,
2740
2784
  class: "truncate text-sm font-bold tracking-tight text-white",
@@ -2742,10 +2786,10 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2742
2786
  })
2743
2787
  }), p("div", {
2744
2788
  class: "flex items-center px-0.5",
2745
- children: p(Ce, {
2789
+ children: p(Te, {
2746
2790
  class: "mx-1",
2747
2791
  "aria-label": e("close_application"),
2748
- onClick: $.cancelCurrentFlow,
2792
+ onClick: S.cancelCurrentFlow,
2749
2793
  variant: "white",
2750
2794
  children: p("path", {
2751
2795
  d: "M12 12L4 4M12 4L4 12"
@@ -2754,18 +2798,18 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2754
2798
  })]
2755
2799
  })
2756
2800
  });
2757
- }, Ur = `[data-widget=inploi-chatbot]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;z-index:2147483647;font-size:16px;font-family:sans-serif;--i-lowest: 0 0% 100%;--i-e-1: 340 100% 99%;--i-e-2: 353 100% 98%;--i-e-3: 351 91% 96%;--i-e-4: 351 100% 93%;--i-e-5: 350 100% 90%;--i-e-6: 351 80% 86%;--i-e-7: 349 68% 81%;--i-e-8: 348 61% 74%;--i-e-9: 348 75% 59%;--i-e-10: 347 70% 55%;--i-e-11: 345 70% 47%;--i-e-12: 344 63% 24%;--header-height: 44px;--content-height:calc(100vh - 64px);--content-height:calc(100svh - 64px)}@media screen and (min-width: 768px){[data-widget=inploi-chatbot]{--content-height: min(640px, calc(100vh - 16px));--content-height: min(640px, calc(100svh - 16px)) }}[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot]{--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[data-widget=inploi-chatbot] em{font-style:italic}[data-widget=inploi-chatbot] strong{font-weight:700}[data-widget=inploi-chatbot] *{font-weight:inherit;font-style:inherit;box-sizing:border-box;font-family:inherit;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{box-sizing:border-box}[data-widget=inploi-chatbot] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-chatbot] :is(p){margin:0;padding:0}[data-widget=inploi-chatbot] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-chatbot] :is(button){margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-chatbot] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-chatbot] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-chatbot] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-chatbot] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-chatbot] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-chatbot] .container{max-width:1536px}}[data-widget=inploi-chatbot] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-chatbot] .\\!visible{visibility:visible!important}[data-widget=inploi-chatbot] .visible{visibility:visible}[data-widget=inploi-chatbot] .invisible{visibility:hidden}[data-widget=inploi-chatbot] .collapse{visibility:collapse}[data-widget=inploi-chatbot] .static{position:static}[data-widget=inploi-chatbot] .fixed{position:fixed}[data-widget=inploi-chatbot] .absolute{position:absolute}[data-widget=inploi-chatbot] .relative{position:relative}[data-widget=inploi-chatbot] .sticky{position:sticky}[data-widget=inploi-chatbot] .inset-0{top:0;right:0;bottom:0;left:0}[data-widget=inploi-chatbot] .bottom-0{bottom:0}[data-widget=inploi-chatbot] .bottom-1{bottom:4px}[data-widget=inploi-chatbot] .bottom-2{bottom:8px}[data-widget=inploi-chatbot] .bottom-2\\.5{bottom:10px}[data-widget=inploi-chatbot] .left-0{left:0}[data-widget=inploi-chatbot] .left-1\\/2{left:50%}[data-widget=inploi-chatbot] .left-2{left:8px}[data-widget=inploi-chatbot] .right-0{right:0}[data-widget=inploi-chatbot] .right-0\\.5{right:2px}[data-widget=inploi-chatbot] .right-1{right:4px}[data-widget=inploi-chatbot] .right-2{right:8px}[data-widget=inploi-chatbot] .top-0{top:0}[data-widget=inploi-chatbot] .isolate{isolation:isolate}[data-widget=inploi-chatbot] .z-20{z-index:20}[data-widget=inploi-chatbot] .z-50{z-index:50}[data-widget=inploi-chatbot] .m-0{margin:0}[data-widget=inploi-chatbot] .mx-1{margin-left:4px;margin-right:4px}[data-widget=inploi-chatbot] .mx-auto{margin-left:auto;margin-right:auto}[data-widget=inploi-chatbot] .mb-1{margin-bottom:4px}[data-widget=inploi-chatbot] .ml-auto{margin-left:auto}[data-widget=inploi-chatbot] .mt-0\\.5{margin-top:2px}[data-widget=inploi-chatbot] .mt-auto{margin-top:auto}[data-widget=inploi-chatbot] .block{display:block}[data-widget=inploi-chatbot] .inline-block{display:inline-block}[data-widget=inploi-chatbot] .inline{display:inline}[data-widget=inploi-chatbot] .flex{display:flex}[data-widget=inploi-chatbot] .inline-flex{display:inline-flex}[data-widget=inploi-chatbot] .table{display:table}[data-widget=inploi-chatbot] .table-row{display:table-row}[data-widget=inploi-chatbot] .flow-root{display:flow-root}[data-widget=inploi-chatbot] .grid{display:grid}[data-widget=inploi-chatbot] .inline-grid{display:inline-grid}[data-widget=inploi-chatbot] .contents{display:contents}[data-widget=inploi-chatbot] .list-item{display:list-item}[data-widget=inploi-chatbot] .\\!hidden{display:none!important}[data-widget=inploi-chatbot] .hidden{display:none}[data-widget=inploi-chatbot] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-chatbot] .h-1\\.5{height:6px}[data-widget=inploi-chatbot] .h-16{height:64px}[data-widget=inploi-chatbot] .h-4{height:16px}[data-widget=inploi-chatbot] .h-48{height:192px}[data-widget=inploi-chatbot] .h-8{height:32px}[data-widget=inploi-chatbot] .h-\\[3px\\]{height:3px}[data-widget=inploi-chatbot] .h-\\[var\\(--content-height\\)\\]{height:var(--content-height)}[data-widget=inploi-chatbot] .h-\\[var\\(--header-height\\)\\]{height:var(--header-height)}[data-widget=inploi-chatbot] .h-full{height:100%}[data-widget=inploi-chatbot] .max-h-\\[calc\\(100\\%-var\\(--header-height\\)-4rem\\)\\]{max-height:calc(100% - var(--header-height) - 64px)}[data-widget=inploi-chatbot] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 16px)}[data-widget=inploi-chatbot] .max-h-full{max-height:100%}[data-widget=inploi-chatbot] .min-h-0{min-height:0px}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 16px)}[data-widget=inploi-chatbot] .w-1\\.5{width:6px}[data-widget=inploi-chatbot] .w-16{width:64px}[data-widget=inploi-chatbot] .w-24{width:96px}[data-widget=inploi-chatbot] .w-4{width:16px}[data-widget=inploi-chatbot] .w-64{width:256px}[data-widget=inploi-chatbot] .w-8{width:32px}[data-widget=inploi-chatbot] .w-\\[72px\\]{width:72px}[data-widget=inploi-chatbot] .w-full{width:100%}[data-widget=inploi-chatbot] .min-w-0{min-width:0px}[data-widget=inploi-chatbot] .min-w-\\[2rem\\]{min-width:32px}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,384px)}[data-widget=inploi-chatbot] .max-w-\\[min\\(300px\\,calc\\(100vw-4rem\\)\\)\\]{max-width:min(300px,calc(100vw - 64px))}[data-widget=inploi-chatbot] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-chatbot] .max-w-full{max-width:100%}[data-widget=inploi-chatbot] .flex-1{flex:1 1 0%}[data-widget=inploi-chatbot] .flex-auto{flex:1 1 auto}[data-widget=inploi-chatbot] .flex-none{flex:none}[data-widget=inploi-chatbot] .flex-shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .shrink{flex-shrink:1}[data-widget=inploi-chatbot] .shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-widget=inploi-chatbot] .animate-bounce{animation:bounce 1s infinite}@keyframes bubble-in{0%{transform:translateY(100%) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}[data-widget=inploi-chatbot] .animate-bubble-in{animation:bubble-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes maximise{0%{transform:translateY(50%) scaleX(.7)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-maximise{animation:maximise .4s cubic-bezier(.16,1,.3,1)}@keyframes pulse{50%{opacity:.5}}[data-widget=inploi-chatbot] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-100%) scaleX(1.25)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-slide-in-bottom{animation:slide-in-bottom .3s cubic-bezier(.175,.885,.32,1.275)}[data-widget=inploi-chatbot] .cursor-pointer{cursor:pointer}[data-widget=inploi-chatbot] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-none{resize:none}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .scroll-pb-12{scroll-padding-bottom:48px}[data-widget=inploi-chatbot] .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-widget=inploi-chatbot] .flex-col{flex-direction:column}[data-widget=inploi-chatbot] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-chatbot] .items-start{align-items:flex-start}[data-widget=inploi-chatbot] .items-end{align-items:flex-end}[data-widget=inploi-chatbot] .items-center{align-items:center}[data-widget=inploi-chatbot] .items-stretch{align-items:stretch}[data-widget=inploi-chatbot] .justify-end{justify-content:flex-end}[data-widget=inploi-chatbot] .justify-center{justify-content:center}[data-widget=inploi-chatbot] .gap-0{gap:0px}[data-widget=inploi-chatbot] .gap-1{gap:4px}[data-widget=inploi-chatbot] .gap-1\\.5{gap:6px}[data-widget=inploi-chatbot] .gap-2{gap:8px}[data-widget=inploi-chatbot] .gap-2\\.5{gap:10px}[data-widget=inploi-chatbot] .gap-3{gap:12px}[data-widget=inploi-chatbot] .gap-4{gap:16px}[data-widget=inploi-chatbot] .self-center{align-self:center}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overscroll-contain{overscroll-behavior:contain}[data-widget=inploi-chatbot] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-chatbot] .text-ellipsis{text-overflow:ellipsis}[data-widget=inploi-chatbot] .whitespace-nowrap{white-space:nowrap}[data-widget=inploi-chatbot] .text-balance{text-wrap:balance}[data-widget=inploi-chatbot] .text-pretty{text-wrap:pretty}[data-widget=inploi-chatbot] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:4px}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:16px}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:24px}[data-widget=inploi-chatbot] .rounded-\\[18px\\]{border-radius:18px}[data-widget=inploi-chatbot] .rounded-full{border-radius:9999px}[data-widget=inploi-chatbot] .rounded-lg{border-radius:8px}[data-widget=inploi-chatbot] .rounded-md{border-radius:6px}[data-widget=inploi-chatbot] .rounded-xl{border-radius:12px}[data-widget=inploi-chatbot] .rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}[data-widget=inploi-chatbot] .rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}[data-widget=inploi-chatbot] .rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}[data-widget=inploi-chatbot] .rounded-bl-md{border-bottom-left-radius:6px}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:6px}[data-widget=inploi-chatbot] .border{border-width:1px}[data-widget=inploi-chatbot] .border-b{border-bottom-width:1px}[data-widget=inploi-chatbot] .border-t{border-top-width:1px}[data-widget=inploi-chatbot] .border-solid{border-style:solid}[data-widget=inploi-chatbot] .border-dashed{border-style:dashed}[data-widget=inploi-chatbot] .border-accent-9{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .border-divider{border-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .border-neutral-5{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-neutral-8{border-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .border-transparent{border-color:transparent}[data-widget=inploi-chatbot] .border-b-neutral-3{border-bottom-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .border-b-neutral-5{border-bottom-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-b-transparent{border-bottom-color:transparent}[data-widget=inploi-chatbot] .bg-accent-1{background-color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .bg-accent-3{background-color:var(--i-color-a-3)}[data-widget=inploi-chatbot] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .bg-bubble-weak-bg{background-color:var(--i-bubble-weak-bg)}[data-widget=inploi-chatbot] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-chatbot] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-chatbot] .bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .bg-neutral-3{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .bg-statusbar{background-color:var(--i-status-bar-bg)}[data-widget=inploi-chatbot] .bg-transparent{background-color:transparent}[data-widget=inploi-chatbot] .bg-none{background-image:none}[data-widget=inploi-chatbot] .p-1{padding:4px}[data-widget=inploi-chatbot] .p-1\\.5{padding:6px}[data-widget=inploi-chatbot] .p-10{padding:40px}[data-widget=inploi-chatbot] .p-11{padding:44px}[data-widget=inploi-chatbot] .p-12{padding:48px}[data-widget=inploi-chatbot] .p-2{padding:8px}[data-widget=inploi-chatbot] .p-2\\.5{padding:10px}[data-widget=inploi-chatbot] .p-3{padding:12px}[data-widget=inploi-chatbot] .p-4{padding:16px}[data-widget=inploi-chatbot] .p-5{padding:20px}[data-widget=inploi-chatbot] .p-6{padding:24px}[data-widget=inploi-chatbot] .p-7{padding:28px}[data-widget=inploi-chatbot] .p-8{padding:32px}[data-widget=inploi-chatbot] .p-9{padding:36px}[data-widget=inploi-chatbot] .px-0\\.5{padding-left:2px;padding-right:2px}[data-widget=inploi-chatbot] .px-1{padding-left:4px;padding-right:4px}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:6px;padding-right:6px}[data-widget=inploi-chatbot] .px-2{padding-left:8px;padding-right:8px}[data-widget=inploi-chatbot] .px-3{padding-left:12px;padding-right:12px}[data-widget=inploi-chatbot] .px-4{padding-left:16px;padding-right:16px}[data-widget=inploi-chatbot] .px-5{padding-left:20px;padding-right:20px}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:2px;padding-bottom:2px}[data-widget=inploi-chatbot] .py-1{padding-top:4px;padding-bottom:4px}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .py-2{padding-top:8px;padding-bottom:8px}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:10px;padding-bottom:10px}[data-widget=inploi-chatbot] .py-3{padding-top:12px;padding-bottom:12px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:8px}[data-widget=inploi-chatbot] .pb-6{padding-bottom:24px}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:6px}[data-widget=inploi-chatbot] .pl-2{padding-left:8px}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:10px}[data-widget=inploi-chatbot] .pl-3{padding-left:12px}[data-widget=inploi-chatbot] .pl-4{padding-left:16px}[data-widget=inploi-chatbot] .pr-1{padding-right:4px}[data-widget=inploi-chatbot] .pr-16{padding-right:64px}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:10px}[data-widget=inploi-chatbot] .pr-3{padding-right:12px}[data-widget=inploi-chatbot] .pr-4{padding-right:16px}[data-widget=inploi-chatbot] .pt-2{padding-top:8px}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:10px}[data-widget=inploi-chatbot] .pt-3{padding-top:12px}[data-widget=inploi-chatbot] .pt-5{padding-top:20px}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 16px)}[data-widget=inploi-chatbot] .text-center{text-align:center}[data-widget=inploi-chatbot] .text-right{text-align:right}[data-widget=inploi-chatbot] .text-justify{text-align:justify}[data-widget=inploi-chatbot] .text-\\[10px\\]{font-size:10px}[data-widget=inploi-chatbot] .text-\\[11px\\]{font-size:11px}[data-widget=inploi-chatbot] .text-base{font-size:16px;line-height:24px}[data-widget=inploi-chatbot] .text-sm{font-size:14px;line-height:20px}[data-widget=inploi-chatbot] .text-xs{font-size:12px;line-height:16px}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[data-widget=inploi-chatbot] .font-normal{font-weight:400}[data-widget=inploi-chatbot] .font-semibold{font-weight:600}[data-widget=inploi-chatbot] .uppercase{text-transform:uppercase}[data-widget=inploi-chatbot] .lowercase{text-transform:lowercase}[data-widget=inploi-chatbot] .capitalize{text-transform:capitalize}[data-widget=inploi-chatbot] .italic{font-style:italic}[data-widget=inploi-chatbot] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-chatbot] .leading-3{line-height:12px}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-accent-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-system-success{color:var(--i-system-message-success)}[data-widget=inploi-chatbot] .text-system-warning{color:var(--i-system-message-warning)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-white\\/80{color:#fffc}[data-widget=inploi-chatbot] .underline{text-decoration-line:underline}[data-widget=inploi-chatbot] .no-underline{text-decoration-line:none}[data-widget=inploi-chatbot] .underline-offset-2{text-underline-offset:2px}[data-widget=inploi-chatbot] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-chatbot] .caret-accent-9{caret-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .opacity-0{opacity:0}[data-widget=inploi-chatbot] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-md{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 6px 4px 0px oklch(0% 0 0 / .01);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-sm{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 4px 4px 0px oklch(0% 0 0 / .02);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-bubble-strong-shadow{--tw-shadow-color: var(--i-bubble-strong-shadow);--tw-shadow: var(--tw-shadow-colored)}[data-widget=inploi-chatbot] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .outline{outline-style:solid}[data-widget=inploi-chatbot] .outline-1{outline-width:1px}[data-widget=inploi-chatbot] .outline-2{outline-width:2px}[data-widget=inploi-chatbot] .outline-accent-10{outline-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .outline-accent-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-inset{--tw-ring-inset: inset}[data-widget=inploi-chatbot] .ring-accent-6{--tw-ring-color: var(--i-color-a-6)}[data-widget=inploi-chatbot] .ring-divider{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .ring-lowest{--tw-ring-color: var(--i-color-lowest)}[data-widget=inploi-chatbot] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-chatbot] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-chatbot] .ring-neutral-7{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-chatbot] .ring-transparent{--tw-ring-color: transparent}[data-widget=inploi-chatbot] .ring-offset-\\[1\\.5px\\]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .ring-offset-neutral-1{--tw-ring-offset-color: var(--i-color-n-1)}[data-widget=inploi-chatbot] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .drop-shadow-\\[0_1\\.5px_var\\(--i-color-n-1\\)\\]{--tw-drop-shadow: drop-shadow(0 1.5px var(--i-color-n-1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-saturate-150{--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .duration-100{transition-duration:.1s}[data-widget=inploi-chatbot] .duration-1000{transition-duration:1s}[data-widget=inploi-chatbot] .duration-300{transition-duration:.3s}[data-widget=inploi-chatbot] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-chatbot] .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-chatbot] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-chatbot] .text-wrap-balance{text-wrap:balance}[data-widget=inploi-chatbot] .fr{outline:none}[data-widget=inploi-chatbot] .fr:focus{outline:none}[data-widget=inploi-chatbot] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .gutter-stable{scrollbar-gutter:stable}[data-widget=inploi-chatbot] .hide-scrollbars::-webkit-scrollbar{display:none}[data-widget=inploi-chatbot] .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}[data-widget=inploi-chatbot] .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}[data-widget=inploi-chatbot] .\\[-webkit-outer-spin-button\\:none\\]{-webkit-outer-spin-button:none}[data-widget=inploi-chatbot] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-chatbot] .\\[grid-template-columns\\:min-content_1fr\\]{grid-template-columns:min-content 1fr}[data-widget=inploi-chatbot] .\\[text-wrap\\:pretty\\]{text-wrap:pretty}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::-moz-placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .focus-within\\:bg-neutral-5:focus-within{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-within\\:outline-accent-7:focus-within{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-chatbot] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .hover\\:border-accent-10:hover{border-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:border-neutral-5:hover{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-accent-10:hover{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:bg-divider:hover{background-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .hover\\:bg-interactive-bg-hover:hover{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-4:hover{background-color:var(--i-color-n-4)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-5:hover{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-white\\/20:hover{background-color:#fff3}[data-widget=inploi-chatbot] .hover\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-chatbot] .hover\\:ring-accent-8:hover{--tw-ring-color: var(--i-color-a-8)}[data-widget=inploi-chatbot] .hover\\:ring-divider:hover{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-chatbot] .focus\\:bg-neutral-5:focus{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus-visible\\:bg-neutral-3:focus-visible{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-2:focus-visible{outline-width:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-7:focus-visible{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-8:focus-visible{outline-color:var(--i-color-a-8)}[data-widget=inploi-chatbot] .focus-visible\\:ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .active\\:border-submit-bg-active:active{border-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:bg-accent-2:active{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-active:active{background-color:var(--i-interactive-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-hover:active{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:bg-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-white\\/30:active{background-color:#ffffff4d}[data-widget=inploi-chatbot] .active\\:text-accent-10:active{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:text-accent-11:active{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .active\\:text-neutral-12:active{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .active\\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .active\\:outline-neutral-8:active{outline-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .active\\:ring-2:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .active\\:ring-accent-7:active{--tw-ring-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .active\\:ring-interactive-bg-hover:active{--tw-ring-color: var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:ring-offset-2:active{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-widget=inploi-chatbot] .disabled\\:opacity-50:disabled{opacity:.5}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:bg-accent-2{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:outline-accent-7{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-accent-9{--tw-ring-color: var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-offset-accent-7{--tw-ring-offset-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}[data-widget=inploi-chatbot] .aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:border-accent-9:hover[aria-disabled=true]{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:bg-accent-9:hover[aria-disabled=true]{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-1:active[aria-disabled=true]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-offset-\\[1\\.5px\\]:active[aria-disabled=true]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (pointer: coarse){[data-widget=inploi-chatbot] .pointer-coarse\\:touch-hitbox\\:\\:before:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\+\\*\\>input\\:focus\\)\\]\\:text-neutral-12:has(+*>input:focus){color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\>\\.view-switch\\:focus-visible\\)\\]\\:ring-1:has(>.view-switch:focus-visible){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[data-widget=inploi-chatbot] dialog::backdrop{animation:fade-in .5s cubic-bezier(.16,1,.3,1) both}[data-widget=inploi-chatbot] dialog::backdrop{background-color:var(--i-overlay-bg)}
2758
- `, Pa = "inploi-chatbot", Pe = `[data-widget='${Pa}']`, Vr = () => ({
2759
- getChatbotElement: () => document.querySelector(Pe),
2801
+ }, ir = `[data-widget=inploi-chatbot]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;z-index:2147483647;font-size:16px;font-family:sans-serif;--i-lowest: 0 0% 100%;--i-e-1: 340 100% 99%;--i-e-2: 353 100% 98%;--i-e-3: 351 91% 96%;--i-e-4: 351 100% 93%;--i-e-5: 350 100% 90%;--i-e-6: 351 80% 86%;--i-e-7: 349 68% 81%;--i-e-8: 348 61% 74%;--i-e-9: 348 75% 59%;--i-e-10: 347 70% 55%;--i-e-11: 345 70% 47%;--i-e-12: 344 63% 24%;--header-height: 44px;--content-height:calc(100vh - 64px);--content-height:calc(100svh - 64px)}@media screen and (min-width: 768px){[data-widget=inploi-chatbot]{--content-height: min(640px, calc(100vh - 16px));--content-height: min(640px, calc(100svh - 16px)) }}[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot]{--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[data-widget=inploi-chatbot] em{font-style:italic}[data-widget=inploi-chatbot] strong{font-weight:700}[data-widget=inploi-chatbot] *{font-weight:inherit;font-style:inherit;box-sizing:border-box;font-family:inherit;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{box-sizing:border-box}[data-widget=inploi-chatbot] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-chatbot] :is(p){margin:0;padding:0}[data-widget=inploi-chatbot] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-chatbot] :is(button){margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-chatbot] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-chatbot] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-chatbot] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-chatbot] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-chatbot] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-chatbot] .container{max-width:1536px}}[data-widget=inploi-chatbot] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-chatbot] .\\!visible{visibility:visible!important}[data-widget=inploi-chatbot] .visible{visibility:visible}[data-widget=inploi-chatbot] .invisible{visibility:hidden}[data-widget=inploi-chatbot] .collapse{visibility:collapse}[data-widget=inploi-chatbot] .static{position:static}[data-widget=inploi-chatbot] .fixed{position:fixed}[data-widget=inploi-chatbot] .absolute{position:absolute}[data-widget=inploi-chatbot] .relative{position:relative}[data-widget=inploi-chatbot] .sticky{position:sticky}[data-widget=inploi-chatbot] .inset-0{top:0;right:0;bottom:0;left:0}[data-widget=inploi-chatbot] .bottom-0{bottom:0}[data-widget=inploi-chatbot] .bottom-1{bottom:4px}[data-widget=inploi-chatbot] .bottom-2{bottom:8px}[data-widget=inploi-chatbot] .bottom-2\\.5{bottom:10px}[data-widget=inploi-chatbot] .left-0{left:0}[data-widget=inploi-chatbot] .left-1\\/2{left:50%}[data-widget=inploi-chatbot] .left-2{left:8px}[data-widget=inploi-chatbot] .right-0{right:0}[data-widget=inploi-chatbot] .right-0\\.5{right:2px}[data-widget=inploi-chatbot] .right-1{right:4px}[data-widget=inploi-chatbot] .right-2{right:8px}[data-widget=inploi-chatbot] .top-0{top:0}[data-widget=inploi-chatbot] .isolate{isolation:isolate}[data-widget=inploi-chatbot] .z-20{z-index:20}[data-widget=inploi-chatbot] .z-50{z-index:50}[data-widget=inploi-chatbot] .m-0{margin:0}[data-widget=inploi-chatbot] .mx-1{margin-left:4px;margin-right:4px}[data-widget=inploi-chatbot] .mx-auto{margin-left:auto;margin-right:auto}[data-widget=inploi-chatbot] .mb-1{margin-bottom:4px}[data-widget=inploi-chatbot] .ml-auto{margin-left:auto}[data-widget=inploi-chatbot] .mt-0\\.5{margin-top:2px}[data-widget=inploi-chatbot] .mt-auto{margin-top:auto}[data-widget=inploi-chatbot] .block{display:block}[data-widget=inploi-chatbot] .inline-block{display:inline-block}[data-widget=inploi-chatbot] .inline{display:inline}[data-widget=inploi-chatbot] .flex{display:flex}[data-widget=inploi-chatbot] .inline-flex{display:inline-flex}[data-widget=inploi-chatbot] .table{display:table}[data-widget=inploi-chatbot] .table-row{display:table-row}[data-widget=inploi-chatbot] .flow-root{display:flow-root}[data-widget=inploi-chatbot] .grid{display:grid}[data-widget=inploi-chatbot] .inline-grid{display:inline-grid}[data-widget=inploi-chatbot] .contents{display:contents}[data-widget=inploi-chatbot] .list-item{display:list-item}[data-widget=inploi-chatbot] .\\!hidden{display:none!important}[data-widget=inploi-chatbot] .hidden{display:none}[data-widget=inploi-chatbot] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-chatbot] .h-1\\.5{height:6px}[data-widget=inploi-chatbot] .h-16{height:64px}[data-widget=inploi-chatbot] .h-4{height:16px}[data-widget=inploi-chatbot] .h-48{height:192px}[data-widget=inploi-chatbot] .h-8{height:32px}[data-widget=inploi-chatbot] .h-\\[3px\\]{height:3px}[data-widget=inploi-chatbot] .h-\\[var\\(--content-height\\)\\]{height:var(--content-height)}[data-widget=inploi-chatbot] .h-\\[var\\(--header-height\\)\\]{height:var(--header-height)}[data-widget=inploi-chatbot] .h-full{height:100%}[data-widget=inploi-chatbot] .max-h-\\[calc\\(100\\%-var\\(--header-height\\)-4rem\\)\\]{max-height:calc(100% - var(--header-height) - 64px)}[data-widget=inploi-chatbot] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 16px)}[data-widget=inploi-chatbot] .max-h-full{max-height:100%}[data-widget=inploi-chatbot] .min-h-0{min-height:0px}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 16px)}[data-widget=inploi-chatbot] .w-1\\.5{width:6px}[data-widget=inploi-chatbot] .w-16{width:64px}[data-widget=inploi-chatbot] .w-24{width:96px}[data-widget=inploi-chatbot] .w-4{width:16px}[data-widget=inploi-chatbot] .w-64{width:256px}[data-widget=inploi-chatbot] .w-8{width:32px}[data-widget=inploi-chatbot] .w-\\[72px\\]{width:72px}[data-widget=inploi-chatbot] .w-full{width:100%}[data-widget=inploi-chatbot] .min-w-0{min-width:0px}[data-widget=inploi-chatbot] .min-w-\\[2rem\\]{min-width:32px}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,384px)}[data-widget=inploi-chatbot] .max-w-\\[min\\(300px\\,calc\\(100vw-4rem\\)\\)\\]{max-width:min(300px,calc(100vw - 64px))}[data-widget=inploi-chatbot] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-chatbot] .max-w-full{max-width:100%}[data-widget=inploi-chatbot] .flex-1{flex:1 1 0%}[data-widget=inploi-chatbot] .flex-auto{flex:1 1 auto}[data-widget=inploi-chatbot] .flex-none{flex:none}[data-widget=inploi-chatbot] .flex-shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .shrink{flex-shrink:1}[data-widget=inploi-chatbot] .shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-widget=inploi-chatbot] .animate-bounce{animation:bounce 1s infinite}@keyframes bubble-in{0%{transform:translateY(100%) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}[data-widget=inploi-chatbot] .animate-bubble-in{animation:bubble-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes maximise{0%{transform:translateY(50%) scaleX(.7)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-maximise{animation:maximise .4s cubic-bezier(.16,1,.3,1)}@keyframes pulse{50%{opacity:.5}}[data-widget=inploi-chatbot] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-100%) scaleX(1.25)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-slide-in-bottom{animation:slide-in-bottom .3s cubic-bezier(.175,.885,.32,1.275)}[data-widget=inploi-chatbot] .cursor-pointer{cursor:pointer}[data-widget=inploi-chatbot] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-none{resize:none}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .scroll-pb-12{scroll-padding-bottom:48px}[data-widget=inploi-chatbot] .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-widget=inploi-chatbot] .flex-col{flex-direction:column}[data-widget=inploi-chatbot] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-chatbot] .items-start{align-items:flex-start}[data-widget=inploi-chatbot] .items-end{align-items:flex-end}[data-widget=inploi-chatbot] .items-center{align-items:center}[data-widget=inploi-chatbot] .items-stretch{align-items:stretch}[data-widget=inploi-chatbot] .justify-end{justify-content:flex-end}[data-widget=inploi-chatbot] .justify-center{justify-content:center}[data-widget=inploi-chatbot] .gap-0{gap:0px}[data-widget=inploi-chatbot] .gap-1{gap:4px}[data-widget=inploi-chatbot] .gap-1\\.5{gap:6px}[data-widget=inploi-chatbot] .gap-2{gap:8px}[data-widget=inploi-chatbot] .gap-2\\.5{gap:10px}[data-widget=inploi-chatbot] .gap-3{gap:12px}[data-widget=inploi-chatbot] .gap-4{gap:16px}[data-widget=inploi-chatbot] .self-center{align-self:center}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overscroll-contain{overscroll-behavior:contain}[data-widget=inploi-chatbot] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-chatbot] .text-ellipsis{text-overflow:ellipsis}[data-widget=inploi-chatbot] .whitespace-nowrap{white-space:nowrap}[data-widget=inploi-chatbot] .text-balance{text-wrap:balance}[data-widget=inploi-chatbot] .text-pretty{text-wrap:pretty}[data-widget=inploi-chatbot] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:4px}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:16px}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:24px}[data-widget=inploi-chatbot] .rounded-\\[18px\\]{border-radius:18px}[data-widget=inploi-chatbot] .rounded-full{border-radius:9999px}[data-widget=inploi-chatbot] .rounded-lg{border-radius:8px}[data-widget=inploi-chatbot] .rounded-md{border-radius:6px}[data-widget=inploi-chatbot] .rounded-xl{border-radius:12px}[data-widget=inploi-chatbot] .rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}[data-widget=inploi-chatbot] .rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}[data-widget=inploi-chatbot] .rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}[data-widget=inploi-chatbot] .rounded-bl-md{border-bottom-left-radius:6px}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:6px}[data-widget=inploi-chatbot] .border{border-width:1px}[data-widget=inploi-chatbot] .border-b{border-bottom-width:1px}[data-widget=inploi-chatbot] .border-t{border-top-width:1px}[data-widget=inploi-chatbot] .border-solid{border-style:solid}[data-widget=inploi-chatbot] .border-dashed{border-style:dashed}[data-widget=inploi-chatbot] .border-accent-9{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .border-divider{border-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .border-neutral-5{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-neutral-8{border-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .border-transparent{border-color:transparent}[data-widget=inploi-chatbot] .border-b-neutral-3{border-bottom-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .border-b-neutral-5{border-bottom-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-b-transparent{border-bottom-color:transparent}[data-widget=inploi-chatbot] .bg-accent-1{background-color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .bg-accent-3{background-color:var(--i-color-a-3)}[data-widget=inploi-chatbot] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .bg-bubble-weak-bg{background-color:var(--i-bubble-weak-bg)}[data-widget=inploi-chatbot] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-chatbot] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-chatbot] .bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .bg-neutral-3{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .bg-statusbar{background-color:var(--i-status-bar-bg)}[data-widget=inploi-chatbot] .bg-transparent{background-color:transparent}[data-widget=inploi-chatbot] .bg-none{background-image:none}[data-widget=inploi-chatbot] .p-1{padding:4px}[data-widget=inploi-chatbot] .p-1\\.5{padding:6px}[data-widget=inploi-chatbot] .p-10{padding:40px}[data-widget=inploi-chatbot] .p-11{padding:44px}[data-widget=inploi-chatbot] .p-12{padding:48px}[data-widget=inploi-chatbot] .p-2{padding:8px}[data-widget=inploi-chatbot] .p-2\\.5{padding:10px}[data-widget=inploi-chatbot] .p-3{padding:12px}[data-widget=inploi-chatbot] .p-4{padding:16px}[data-widget=inploi-chatbot] .p-5{padding:20px}[data-widget=inploi-chatbot] .p-6{padding:24px}[data-widget=inploi-chatbot] .p-7{padding:28px}[data-widget=inploi-chatbot] .p-8{padding:32px}[data-widget=inploi-chatbot] .p-9{padding:36px}[data-widget=inploi-chatbot] .px-0\\.5{padding-left:2px;padding-right:2px}[data-widget=inploi-chatbot] .px-1{padding-left:4px;padding-right:4px}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:6px;padding-right:6px}[data-widget=inploi-chatbot] .px-2{padding-left:8px;padding-right:8px}[data-widget=inploi-chatbot] .px-3{padding-left:12px;padding-right:12px}[data-widget=inploi-chatbot] .px-4{padding-left:16px;padding-right:16px}[data-widget=inploi-chatbot] .px-5{padding-left:20px;padding-right:20px}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:2px;padding-bottom:2px}[data-widget=inploi-chatbot] .py-1{padding-top:4px;padding-bottom:4px}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .py-2{padding-top:8px;padding-bottom:8px}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:10px;padding-bottom:10px}[data-widget=inploi-chatbot] .py-3{padding-top:12px;padding-bottom:12px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:8px}[data-widget=inploi-chatbot] .pb-6{padding-bottom:24px}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:6px}[data-widget=inploi-chatbot] .pl-2{padding-left:8px}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:10px}[data-widget=inploi-chatbot] .pl-3{padding-left:12px}[data-widget=inploi-chatbot] .pl-4{padding-left:16px}[data-widget=inploi-chatbot] .pr-1{padding-right:4px}[data-widget=inploi-chatbot] .pr-16{padding-right:64px}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:10px}[data-widget=inploi-chatbot] .pr-3{padding-right:12px}[data-widget=inploi-chatbot] .pr-4{padding-right:16px}[data-widget=inploi-chatbot] .pt-2{padding-top:8px}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:10px}[data-widget=inploi-chatbot] .pt-3{padding-top:12px}[data-widget=inploi-chatbot] .pt-5{padding-top:20px}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 16px)}[data-widget=inploi-chatbot] .text-center{text-align:center}[data-widget=inploi-chatbot] .text-right{text-align:right}[data-widget=inploi-chatbot] .text-justify{text-align:justify}[data-widget=inploi-chatbot] .text-\\[10px\\]{font-size:10px}[data-widget=inploi-chatbot] .text-\\[11px\\]{font-size:11px}[data-widget=inploi-chatbot] .text-base{font-size:16px;line-height:24px}[data-widget=inploi-chatbot] .text-sm{font-size:14px;line-height:20px}[data-widget=inploi-chatbot] .text-xs{font-size:12px;line-height:16px}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[data-widget=inploi-chatbot] .font-normal{font-weight:400}[data-widget=inploi-chatbot] .font-semibold{font-weight:600}[data-widget=inploi-chatbot] .uppercase{text-transform:uppercase}[data-widget=inploi-chatbot] .lowercase{text-transform:lowercase}[data-widget=inploi-chatbot] .capitalize{text-transform:capitalize}[data-widget=inploi-chatbot] .italic{font-style:italic}[data-widget=inploi-chatbot] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-chatbot] .leading-3{line-height:12px}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .text-accent-12{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .text-error-11{color:var(--i-color-e-11)}[data-widget=inploi-chatbot] .text-error-9{color:var(--i-color-e-9)}[data-widget=inploi-chatbot] .text-neutral-10{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .text-neutral-6{color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .text-system-success{color:var(--i-system-message-success)}[data-widget=inploi-chatbot] .text-system-warning{color:var(--i-system-message-warning)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-white\\/80{color:#fffc}[data-widget=inploi-chatbot] .underline{text-decoration-line:underline}[data-widget=inploi-chatbot] .no-underline{text-decoration-line:none}[data-widget=inploi-chatbot] .underline-offset-2{text-underline-offset:2px}[data-widget=inploi-chatbot] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-chatbot] .caret-accent-9{caret-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .opacity-0{opacity:0}[data-widget=inploi-chatbot] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-md{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 6px 4px 0px oklch(0% 0 0 / .01);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-sm{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 4px 4px 0px oklch(0% 0 0 / .02);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-bubble-strong-shadow{--tw-shadow-color: var(--i-bubble-strong-shadow);--tw-shadow: var(--tw-shadow-colored)}[data-widget=inploi-chatbot] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .outline{outline-style:solid}[data-widget=inploi-chatbot] .outline-1{outline-width:1px}[data-widget=inploi-chatbot] .outline-2{outline-width:2px}[data-widget=inploi-chatbot] .outline-accent-10{outline-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .outline-accent-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-inset{--tw-ring-inset: inset}[data-widget=inploi-chatbot] .ring-accent-6{--tw-ring-color: var(--i-color-a-6)}[data-widget=inploi-chatbot] .ring-divider{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .ring-lowest{--tw-ring-color: var(--i-color-lowest)}[data-widget=inploi-chatbot] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-chatbot] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-chatbot] .ring-neutral-7{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-chatbot] .ring-transparent{--tw-ring-color: transparent}[data-widget=inploi-chatbot] .ring-offset-\\[1\\.5px\\]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .ring-offset-neutral-1{--tw-ring-offset-color: var(--i-color-n-1)}[data-widget=inploi-chatbot] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .drop-shadow-\\[0_1\\.5px_var\\(--i-color-n-1\\)\\]{--tw-drop-shadow: drop-shadow(0 1.5px var(--i-color-n-1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-saturate-150{--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .duration-100{transition-duration:.1s}[data-widget=inploi-chatbot] .duration-1000{transition-duration:1s}[data-widget=inploi-chatbot] .duration-300{transition-duration:.3s}[data-widget=inploi-chatbot] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-chatbot] .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-chatbot] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-chatbot] .text-wrap-balance{text-wrap:balance}[data-widget=inploi-chatbot] .fr{outline:none}[data-widget=inploi-chatbot] .fr:focus{outline:none}[data-widget=inploi-chatbot] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .gutter-stable{scrollbar-gutter:stable}[data-widget=inploi-chatbot] .hide-scrollbars::-webkit-scrollbar{display:none}[data-widget=inploi-chatbot] .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}[data-widget=inploi-chatbot] .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}[data-widget=inploi-chatbot] .\\[-webkit-outer-spin-button\\:none\\]{-webkit-outer-spin-button:none}[data-widget=inploi-chatbot] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-chatbot] .\\[grid-template-columns\\:min-content_1fr\\]{grid-template-columns:min-content 1fr}[data-widget=inploi-chatbot] .\\[text-wrap\\:pretty\\]{text-wrap:pretty}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::-moz-placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .focus-within\\:bg-neutral-5:focus-within{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-within\\:outline-accent-7:focus-within{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-chatbot] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .hover\\:border-accent-10:hover{border-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:border-neutral-5:hover{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-accent-10:hover{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:bg-divider:hover{background-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .hover\\:bg-interactive-bg-hover:hover{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-4:hover{background-color:var(--i-color-n-4)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-5:hover{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-white\\/20:hover{background-color:#fff3}[data-widget=inploi-chatbot] .hover\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-chatbot] .hover\\:ring-accent-8:hover{--tw-ring-color: var(--i-color-a-8)}[data-widget=inploi-chatbot] .hover\\:ring-divider:hover{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-chatbot] .focus\\:bg-neutral-5:focus{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus-visible\\:bg-neutral-3:focus-visible{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-2:focus-visible{outline-width:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-7:focus-visible{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-8:focus-visible{outline-color:var(--i-color-a-8)}[data-widget=inploi-chatbot] .focus-visible\\:ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .active\\:border-submit-bg-active:active{border-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:bg-accent-2:active{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-active:active{background-color:var(--i-interactive-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-hover:active{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:bg-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-white\\/30:active{background-color:#ffffff4d}[data-widget=inploi-chatbot] .active\\:text-accent-10:active{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:text-accent-11:active{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .active\\:text-neutral-12:active{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .active\\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .active\\:outline-neutral-8:active{outline-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .active\\:ring-2:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .active\\:ring-accent-7:active{--tw-ring-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .active\\:ring-interactive-bg-hover:active{--tw-ring-color: var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:ring-offset-2:active{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-widget=inploi-chatbot] .disabled\\:opacity-50:disabled{opacity:.5}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:bg-accent-2{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:outline-accent-7{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-accent-9{--tw-ring-color: var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-offset-accent-7{--tw-ring-offset-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}[data-widget=inploi-chatbot] .aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:border-accent-9:hover[aria-disabled=true]{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:bg-accent-9:hover[aria-disabled=true]{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-1:active[aria-disabled=true]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-offset-\\[1\\.5px\\]:active[aria-disabled=true]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (pointer: coarse){[data-widget=inploi-chatbot] .pointer-coarse\\:touch-hitbox\\:\\:before:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\+\\*\\>input\\:focus\\)\\]\\:text-neutral-12:has(+*>input:focus){color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\>\\.view-switch\\:focus-visible\\)\\]\\:ring-1:has(>.view-switch:focus-visible){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[data-widget=inploi-chatbot] dialog::backdrop{animation:fade-in .5s cubic-bezier(.16,1,.3,1) both}[data-widget=inploi-chatbot] dialog::backdrop{background-color:var(--i-overlay-bg)}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot] [data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out}}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot],[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] *:before,[data-widget=inploi-chatbot] *:after,[data-widget=inploi-chatbot] dialog::backdrop{animation:none!important;transition-property:opacity,color,background-color,border-color!important;transition-duration:.15s!important;scroll-behavior:auto!important}[data-widget=inploi-chatbot] .animate-fade-in,[data-widget=inploi-chatbot] .animate-bubble-in,[data-widget=inploi-chatbot] .animate-maximise,[data-widget=inploi-chatbot] .animate-slide-in-bottom,[data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out!important}}@keyframes inploi-chatbot-fade{0%{opacity:0}}
2802
+ `, Oa = "inploi-chatbot", Ie = `[data-widget='${Oa}']`, ar = () => ({
2803
+ getChatbotElement: () => document.querySelector(Ie),
2760
2804
  getOrCreateChatbotElement: () => {
2761
- const t = document.querySelector(Pe);
2805
+ const t = document.querySelector(Ie);
2762
2806
  if (t)
2763
2807
  return document.body.appendChild(t), t;
2764
2808
  const e = document.createElement("div");
2765
- return document.body.appendChild(e), e.dataset.widget = Pa, e;
2809
+ return document.body.appendChild(e), e.dataset.widget = Oa, e;
2766
2810
  }
2767
- }), Wr = 25, Ta = H(() => {
2768
- }), Yr = (t, e) => new Promise((i, a) => {
2811
+ }), or = 25, Aa = U(() => {
2812
+ }), nr = (t, e) => new Promise((i, a) => {
2769
2813
  if (e != null && e.aborted)
2770
2814
  return a(new ut());
2771
2815
  const o = setTimeout(i, t);
@@ -2775,18 +2819,18 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2775
2819
  once: !0
2776
2820
  });
2777
2821
  }), R = {
2778
- onSubmitSuccessFn$: H(() => {
2822
+ onSubmitSuccessFn$: U(() => {
2779
2823
  }),
2780
- onInteractionFn$: H(() => {
2824
+ onInteractionFn$: U(() => {
2781
2825
  }),
2782
- isBotTyping$: H(!1),
2826
+ isBotTyping$: U(!1),
2783
2827
  /** A Turnstile challenge is waiting for the candidate in the conversation (PROD-7320). */
2784
- captchaVisible$: H(!1),
2785
- themeMode$: H("light"),
2786
- isReadingHistory$: H(!1),
2787
- scrollToEnd: () => Ta.value()
2788
- }, jn = () => {
2789
- const t = Gt(null);
2828
+ captchaVisible$: U(!1),
2829
+ themeMode$: U("light"),
2830
+ isReadingHistory$: U(!1),
2831
+ scrollToEnd: () => Aa.value()
2832
+ }, Wr = () => {
2833
+ const t = Xt(null);
2790
2834
  bt(() => {
2791
2835
  const i = t.current;
2792
2836
  if (!i)
@@ -2797,22 +2841,22 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2797
2841
  behavior: "instant"
2798
2842
  });
2799
2843
  };
2800
- Ta.value = a;
2844
+ Aa.value = a;
2801
2845
  const o = () => {
2802
2846
  R.isReadingHistory$.value = i.scrollHeight - i.scrollTop - i.clientHeight > 2;
2803
2847
  };
2804
2848
  i.addEventListener("scroll", o, {
2805
2849
  passive: !0
2806
2850
  });
2807
- const r = new ResizeObserver(() => {
2851
+ const n = new ResizeObserver(() => {
2808
2852
  R.isReadingHistory$.peek() || a();
2809
2853
  });
2810
- return r.observe(i), i.firstElementChild && r.observe(i.firstElementChild), () => {
2811
- i.removeEventListener("scroll", o), r.disconnect();
2854
+ return n.observe(i), i.firstElementChild && n.observe(i.firstElementChild), () => {
2855
+ i.removeEventListener("scroll", o), n.disconnect();
2812
2856
  };
2813
2857
  }, []);
2814
2858
  const e = dt(() => ({
2815
- setSubmission: (a, o) => $.setSubmission(a, o),
2859
+ setSubmission: (a, o) => S.setSubmission(a, o),
2816
2860
  captcha: {
2817
2861
  container: () => {
2818
2862
  var a;
@@ -2823,33 +2867,33 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2823
2867
  },
2824
2868
  reveal: (a) => {
2825
2869
  R.captchaVisible$.value = a, a && requestAnimationFrame(() => {
2826
- var o, r;
2827
- (r = (o = t.current) == null ? void 0 : o.querySelector("[data-captcha-slot]")) == null || r.focus(), R.scrollToEnd();
2870
+ var o, n;
2871
+ (n = (o = t.current) == null ? void 0 : o.querySelector("[data-captcha-slot]")) == null || n.focus(), R.scrollToEnd();
2828
2872
  });
2829
2873
  }
2830
2874
  },
2831
2875
  send: async ({
2832
2876
  message: a,
2833
2877
  signal: o,
2834
- groupId: r
2878
+ groupId: n
2835
2879
  }) => {
2836
- if (await He(a).with({
2880
+ if (await We(a).with({
2837
2881
  author: "bot",
2838
2882
  type: "text"
2839
- }, async (n) => {
2883
+ }, async (r) => {
2840
2884
  if (o != null && o.aborted)
2841
2885
  throw new ut();
2842
2886
  R.isBotTyping$.value = !0;
2843
- const s = Math.min(Math.max(20, n.text.length), 100) * Wr;
2887
+ const s = Math.min(Math.max(20, r.text.length), 100) * or;
2844
2888
  try {
2845
- await Yr(s, o);
2889
+ await nr(s, o);
2846
2890
  } finally {
2847
2891
  R.isBotTyping$.value = !1;
2848
2892
  }
2849
2893
  }).otherwise(async () => {
2850
2894
  }), o != null && o.aborted)
2851
2895
  throw new ut();
2852
- $.addMessage(a, r);
2896
+ S.addMessage(a, n);
2853
2897
  },
2854
2898
  input: ({
2855
2899
  input: a,
@@ -2857,13 +2901,13 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2857
2901
  }) => {
2858
2902
  if (o != null && o.aborted)
2859
2903
  throw new ut();
2860
- return $.setInput(a), new Promise((r) => {
2861
- const n = (s) => {
2904
+ return S.setInput(a), new Promise((n) => {
2905
+ const r = (s) => {
2862
2906
  if (o != null && o.aborted)
2863
2907
  throw new ut();
2864
- $.setInput(void 0), a.key && $.setSubmission(a.key, s), r(s);
2908
+ S.setInput(void 0), a.key && S.setSubmission(a.key, s), n(s);
2865
2909
  };
2866
- R.onSubmitSuccessFn$.value = n;
2910
+ R.onSubmitSuccessFn$.value = r;
2867
2911
  });
2868
2912
  }
2869
2913
  }), []);
@@ -2872,7 +2916,7 @@ const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBo
2872
2916
  chatService: e
2873
2917
  };
2874
2918
  };
2875
- var Ia = Ra(Ae([L(), Lt()]), Ti(String)), za = A({ id: Ia, version: Lt(), build: Lt(), nodes: zi(Ii()), context_schema: M(Bt(Oi(L(), A({ required: ze(), type: Ae([ft("string"), ft("number")]) })))) }), qr = A({ flow: za }), Kr = A({ company: A({ name: L() }), flow: za, job: A({ id: Ia, title: L() }), user: M(A({ city: M(L()), country: M(L()), isEU: M(ze()), continent: M(L()) })) }), Gr = Ci({ pathname: "/flow/job/:id", method: "GET", schema: { searchParams: Aa(), response: Kr } }), Xr = Ci({ pathname: "/flow/id/:id", method: "GET", schema: { response: qr } }), Zr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], Jr = {
2919
+ var rr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], sr = {
2876
2920
  light: {
2877
2921
  1: [98.8, 0.015],
2878
2922
  2: [97.8, 0.018],
@@ -2901,96 +2945,96 @@ var Ia = Ra(Ae([L(), Lt()]), Ti(String)), za = A({ id: Ia, version: Lt(), build:
2901
2945
  11: [79.3, 0.12],
2902
2946
  12: [95, 0.04]
2903
2947
  }
2904
- }, Qr = (t, e = 1, i) => (a) => {
2905
- const [o, r] = Jr[i][a];
2906
- return "oklch(" + o + "% " + r * e + " " + t + ")";
2907
- }, se = (t) => {
2908
- const e = Qr(t.hue, t.chroma, t.mode);
2948
+ }, lr = (t, e = 1, i) => (a) => {
2949
+ const [o, n] = sr[i][a];
2950
+ return "oklch(" + o + "% " + n * e + " " + t + ")";
2951
+ }, ce = (t) => {
2952
+ const e = lr(t.hue, t.chroma, t.mode);
2909
2953
  return Object.fromEntries(
2910
- Zr.map((i) => [t.prefix + i, t.transform(e(i))])
2954
+ rr.map((i) => [t.prefix + i, t.transform(e(i))])
2911
2955
  );
2912
- }, le = (t) => t, tn = (t) => {
2956
+ }, de = (t) => t, cr = (t) => {
2913
2957
  const e = Object.keys(t).flatMap((i) => {
2914
2958
  const a = t[i];
2915
2959
  return typeof a == "object" && a !== null ? Object.keys(a).map((o) => {
2916
- const r = a[o];
2917
- return [`${String(i)}.${o}`, r];
2960
+ const n = a[o];
2961
+ return [`${String(i)}.${o}`, n];
2918
2962
  }) : [[i, a]];
2919
2963
  });
2920
2964
  return Object.fromEntries(e);
2921
- }, At = (t) => !!t && typeof t == "object" && !Array.isArray(t), Te = (t, ...e) => {
2965
+ }, Dt = (t) => !!t && typeof t == "object" && !Array.isArray(t), ze = (t, ...e) => {
2922
2966
  if (!e.length)
2923
2967
  return t;
2924
2968
  const i = e.shift();
2925
- if (At(t) && At(i))
2969
+ if (Dt(t) && Dt(i))
2926
2970
  for (const a in i) {
2927
2971
  const o = i[a];
2928
- if (At(o)) {
2972
+ if (Dt(o)) {
2929
2973
  t[a] || Object.assign(t, { [a]: {} });
2930
- const r = t[a];
2931
- At(r) && Te(r, o);
2974
+ const n = t[a];
2975
+ Dt(n) && ze(n, o);
2932
2976
  } else
2933
2977
  Object.assign(t, { [a]: i[a] });
2934
2978
  }
2935
- return Te(t, ...e);
2936
- }, en = (t) => {
2979
+ return ze(t, ...e);
2980
+ }, dr = (t) => {
2937
2981
  function e(i, a) {
2938
2982
  const o = [t.prefix, a.toString().replace(/\./g, "-")].join("");
2939
2983
  return i === "declaration" ? `--${o}` : `var(--${o})`;
2940
2984
  }
2941
2985
  return e;
2942
- }, an = () => ({
2986
+ }, ur = () => ({
2943
2987
  core: (t) => ({
2944
2988
  semantic: (e) => ({
2945
2989
  component: (i) => ({
2946
2990
  from: (a) => {
2947
- const { theme: o, getToken: r } = a, n = (w) => r("reference", w.toString()), s = t({ theme: o }), c = e({ theme: o, core: n, raw: { core: s } }), d = i({
2991
+ const { theme: o, getToken: n } = a, r = (w) => n("reference", w.toString()), s = t({ theme: o }), c = e({ theme: o, core: r, raw: { core: s } }), d = i({
2948
2992
  theme: o,
2949
- core: n,
2950
- semantic: n,
2993
+ core: r,
2994
+ semantic: r,
2951
2995
  raw: { core: s, semantic: c }
2952
- }), u = tn(Te(s, c, d)), l = ([w, g], h) => {
2996
+ }), u = cr(ze(s, c, d)), l = ([w, g], h) => {
2953
2997
  const b = [h, w].filter(Boolean).join(".");
2954
- return typeof g == "object" ? Object.entries(g).flatMap((j) => l(j, b)) : [[a.getToken("declaration", b), g]];
2998
+ return typeof g == "object" ? Object.entries(g).flatMap((z) => l(z, b)) : [[a.getToken("declaration", b), g]];
2955
2999
  };
2956
3000
  return {
2957
3001
  values: u,
2958
3002
  declarations: Object.fromEntries(Object.entries(u).flatMap((w) => l(w))),
2959
- ref: (w) => r("reference", w.toString())
3003
+ ref: (w) => n("reference", w.toString())
2960
3004
  };
2961
3005
  }
2962
3006
  })
2963
3007
  })
2964
3008
  })
2965
3009
  });
2966
- const [ce, de, Si] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], on = an().core(({
3010
+ const [ue, pe, Ei] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], pr = ur().core(({
2967
3011
  theme: t
2968
3012
  }) => ({
2969
3013
  color: {
2970
- black: ce,
2971
- white: de,
2972
- lowest: t.mode === "light" ? de : ce,
2973
- highest: t.mode === "light" ? ce : de,
2974
- ...se({
3014
+ black: ue,
3015
+ white: pe,
3016
+ lowest: t.mode === "light" ? pe : ue,
3017
+ highest: t.mode === "light" ? ue : pe,
3018
+ ...ce({
2975
3019
  prefix: "a-",
2976
3020
  hue: t.hue,
2977
3021
  chroma: t.chroma,
2978
3022
  mode: t.mode,
2979
- transform: le
3023
+ transform: de
2980
3024
  }),
2981
- ...se({
3025
+ ...ce({
2982
3026
  prefix: "n-",
2983
3027
  hue: t.hue,
2984
3028
  chroma: 0.05,
2985
3029
  mode: t.mode,
2986
- transform: le
3030
+ transform: de
2987
3031
  }),
2988
- ...se({
3032
+ ...ce({
2989
3033
  prefix: "e-",
2990
3034
  hue: 20,
2991
3035
  chroma: t.chroma,
2992
3036
  mode: t.mode,
2993
- transform: le
3037
+ transform: de
2994
3038
  })
2995
3039
  },
2996
3040
  typography: {}
@@ -2999,7 +3043,7 @@ const [ce, de, Si] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], on = a
2999
3043
  raw: e,
3000
3044
  theme: i
3001
3045
  }) => {
3002
- const a = (o, r) => e.core.color[o].replace(")", ` / ${r})`);
3046
+ const a = (o, n) => e.core.color[o].replace(")", ` / ${n})`);
3003
3047
  return {
3004
3048
  "font-family": {
3005
3049
  body: "inherit",
@@ -3022,7 +3066,7 @@ const [ce, de, Si] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], on = a
3022
3066
  copy: t("color.n-11"),
3023
3067
  "copy-hover": t("color.n-12"),
3024
3068
  "copy-active": t("color.n-12"),
3025
- bg: Si,
3069
+ bg: Ei,
3026
3070
  "bg-hover": a("n-10", 0.2),
3027
3071
  "bg-active": a("n-10", 0.3)
3028
3072
  }
@@ -3033,7 +3077,7 @@ const [ce, de, Si] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], on = a
3033
3077
  semantic: i,
3034
3078
  core: a
3035
3079
  }) => {
3036
- const o = (r, n) => t.core.color[r].replace(")", ` / ${n})`);
3080
+ const o = (n, r) => t.core.color[n].replace(")", ` / ${r})`);
3037
3081
  return {
3038
3082
  app: {
3039
3083
  bg: a(e.mode === "dark" ? "color.n-1" : "color.n-2")
@@ -3048,7 +3092,7 @@ const [ce, de, Si] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], on = a
3048
3092
  },
3049
3093
  "status-bar": {
3050
3094
  bg: o("n-2", 0.8),
3051
- "bg-button": Si,
3095
+ "bg-button": Ei,
3052
3096
  "bg-button-hover": o("n-10", 0.4),
3053
3097
  "bg-button-active": o("n-10", 0.5)
3054
3098
  },
@@ -3061,56 +3105,56 @@ const [ce, de, Si] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], on = a
3061
3105
  success: e.mode === "dark" ? "#4CAF50" : "#2E7D32"
3062
3106
  }
3063
3107
  };
3064
- }), rn = en({
3108
+ }), hr = dr({
3065
3109
  prefix: "i-"
3066
- }), nn = (t) => {
3067
- const e = on.from({
3110
+ }), fr = (t) => {
3111
+ const e = pr.from({
3068
3112
  theme: t,
3069
- getToken: rn
3113
+ getToken: hr
3070
3114
  }), i = Object.entries(e.declarations).map(([a, o]) => `${a}: ${o};`);
3071
- return `${Pe} {
3115
+ return `${Ie} {
3072
3116
  ${i.concat(i).join(`
3073
3117
  `)}
3074
3118
  }`;
3075
- }, Nn = ({
3076
- _internal_domManager: t = Vr(),
3119
+ }, Vr = ({
3120
+ _internal_domManager: t = ar(),
3077
3121
  theme: e,
3078
3122
  terms: i,
3079
3123
  feedback: a
3080
- }) => Oa(({
3124
+ }) => ja(({
3081
3125
  apiClient: o,
3082
- rpcClient: r,
3083
- logger: n,
3126
+ rpcClient: n,
3127
+ logger: r,
3084
3128
  analytics: s,
3085
3129
  publishableKey: c,
3086
3130
  env: d
3087
3131
  }) => {
3088
3132
  let u = !1, l = 0;
3089
- const w = ur({
3133
+ const w = xn({
3090
3134
  locale: void 0,
3091
3135
  overrides: i ?? {}
3092
- }), g = c && d ? ja({
3136
+ }), g = c && d ? Fa({
3093
3137
  environment: d,
3094
3138
  publishableKey: c,
3095
- logger: n
3139
+ logger: r
3096
3140
  }) : void 0, h = (v) => v === l, b = () => {
3097
3141
  if (typeof window > "u")
3098
3142
  return;
3099
- l++, X.flushStateData().catch(() => {
3100
- }), $.cancelCurrentFlow(), R.isBotTyping$.value = !1;
3143
+ l++, H.flushStateData().catch(() => {
3144
+ }), S.cancelCurrentFlow(), R.isBotTyping$.value = !1;
3101
3145
  const v = t.getChatbotElement();
3102
- v && (ct(null, v), v.remove()), u = !1, n.info("Chatbot plugin destroyed");
3103
- }, j = () => {
3146
+ v && (ct(null, v), v.remove()), u = !1, r.info("Chatbot plugin destroyed");
3147
+ }, z = () => {
3104
3148
  if (typeof window > "u")
3105
3149
  return;
3106
3150
  const v = l, _ = [B("style", {
3107
3151
  id: "inploi-chatbot-styles"
3108
- }, Ur), B("style", {
3152
+ }, ir), B("style", {
3109
3153
  id: "inploi-chatbot-theme"
3110
- }, nn(e))], y = t.getOrCreateChatbotElement();
3111
- if (R.themeMode$.value = e.mode, ct(B(W, {}, [_, B(Rr, {
3154
+ }, fr(e))], x = t.getOrCreateChatbotElement();
3155
+ if (R.themeMode$.value = e.mode, ct(B(Y, {}, [_, B(tr, {
3112
3156
  apiClient: o,
3113
- logger: n,
3157
+ logger: r,
3114
3158
  analytics: s,
3115
3159
  talentBankClient: g,
3116
3160
  params: {
@@ -3118,43 +3162,43 @@ ${i.concat(i).join(`
3118
3162
  terms: i,
3119
3163
  feedback: a
3120
3164
  }
3121
- })]), y), a) {
3122
- const E = (T) => {
3123
- var q, z;
3165
+ })]), x), a) {
3166
+ const k = (P) => {
3167
+ var q, D;
3124
3168
  if (!h(v))
3125
3169
  return;
3126
- const Y = (q = t.getChatbotElement()) == null ? void 0 : q.querySelector("dialog");
3127
- Y && sn({
3128
- instance: T({
3129
- rpcClient: r,
3170
+ const K = (q = t.getChatbotElement()) == null ? void 0 : q.querySelector("dialog");
3171
+ K && wr({
3172
+ instance: P({
3173
+ rpcClient: n,
3130
3174
  apiClient: o,
3131
- logger: n,
3175
+ logger: r,
3132
3176
  analytics: s
3133
3177
  }),
3134
3178
  theme: e,
3135
- terms: ((z = a.params) == null ? void 0 : z.terms) ?? {},
3136
- host: Y
3179
+ terms: ((D = a.params) == null ? void 0 : D.terms) ?? {},
3180
+ host: K
3137
3181
  });
3138
3182
  };
3139
3183
  a.plugin instanceof Promise ? a.plugin.then(({
3140
- feedbackPlugin: T
3184
+ feedbackPlugin: P
3141
3185
  }) => {
3142
- E(T());
3143
- }).catch((T) => {
3144
- n.error("Error preparing feedback plugin", T);
3145
- }) : E(a.plugin);
3186
+ k(P());
3187
+ }).catch((P) => {
3188
+ r.error("Error preparing feedback plugin", P);
3189
+ }) : k(a.plugin);
3146
3190
  }
3147
3191
  u = !0;
3148
- }, x = async (v, _) => {
3192
+ }, y = async (v, _) => {
3149
3193
  if (!h(_))
3150
3194
  return;
3151
- eo({
3195
+ ro({
3152
3196
  context: v.context || {},
3153
3197
  schema: v.flow.context_schema,
3154
- logger: n
3198
+ logger: r
3155
3199
  });
3156
- const y = await $.prepareFlow(v);
3157
- h(_) && $.commitFlow(y);
3200
+ const x = await S.prepareFlow(v);
3201
+ h(_) && S.commitFlow(x);
3158
3202
  };
3159
3203
  return {
3160
3204
  /** Optionally eagerly renders the interface ahead of needing the chatbot. */
@@ -3163,51 +3207,54 @@ ${i.concat(i).join(`
3163
3207
  try {
3164
3208
  if (u)
3165
3209
  return;
3166
- j(), n.info("Chatbot plugin prepared");
3210
+ z(), r.info("Chatbot plugin prepared");
3167
3211
  } catch (v) {
3168
- n.error("Error preparing chatbot plugin", v);
3212
+ r.error("Error preparing chatbot plugin", v);
3169
3213
  }
3170
3214
  },
3171
3215
  /** Fetches a flow by job ID.
3172
3216
  * @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.
3173
3217
  */
3174
- fetchFlowByJobId: async (v, _) => r.request(Gr, {
3175
- params: {
3176
- id: v
3177
- },
3178
- searchParams: {
3179
- id_type: (_ == null ? void 0 : _.idType) === "inploi" ? "internal" : "external"
3180
- }
3181
- }).then((y) => ({
3182
- flow: y.flow,
3183
- title: y.job.title,
3184
- flowKeys: [y.job.id, ...(_ == null ? void 0 : _.flowKeys) ?? []],
3185
- job: {
3186
- id: y.job.id,
3187
- id_type: "external"
3188
- },
3189
- ..._,
3190
- context: {
3191
- user: y.user,
3192
- ..._ == null ? void 0 : _.context
3193
- }
3194
- })),
3195
- fetchFlowById: async (v, _) => r.request(Xr, {
3218
+ fetchFlowByJobId: async (v, _) => {
3219
+ const x = (_ == null ? void 0 : _.idType) === "inploi" ? "internal" : "external";
3220
+ return n.request(uo, {
3221
+ params: {
3222
+ id: v
3223
+ },
3224
+ searchParams: {
3225
+ id_type: x
3226
+ }
3227
+ }).then((k) => ({
3228
+ flow: k.flow,
3229
+ title: k.job.title,
3230
+ flowKeys: [k.job.id, ...(_ == null ? void 0 : _.flowKeys) ?? []],
3231
+ job: co(k, {
3232
+ id: v,
3233
+ idType: x
3234
+ }),
3235
+ ..._,
3236
+ context: {
3237
+ user: k.user,
3238
+ ..._ == null ? void 0 : _.context
3239
+ }
3240
+ }));
3241
+ },
3242
+ fetchFlowById: async (v, _) => n.request(po, {
3196
3243
  params: {
3197
3244
  id: v
3198
3245
  }
3199
- }).then((y) => {
3200
- var E;
3246
+ }).then((x) => {
3247
+ var k;
3201
3248
  return {
3202
- flow: y.flow,
3249
+ flow: x.flow,
3203
3250
  title: "Chatbot",
3204
3251
  flowKeys: (_ == null ? void 0 : _.flowKeys) ?? [],
3205
3252
  ..._,
3206
3253
  analytics: {
3207
3254
  customProperties: {
3208
- flow_id: y.flow.id,
3209
- flow_version: y.flow.version,
3210
- ...(E = _ == null ? void 0 : _.analytics) == null ? void 0 : E.customProperties
3255
+ flow_id: x.flow.id,
3256
+ flow_version: x.flow.version,
3257
+ ...(k = _ == null ? void 0 : _.analytics) == null ? void 0 : k.customProperties
3211
3258
  }
3212
3259
  }
3213
3260
  };
@@ -3215,30 +3262,42 @@ ${i.concat(i).join(`
3215
3262
  open: async (v) => {
3216
3263
  if (!(typeof window > "u"))
3217
3264
  try {
3218
- $.cancelCurrentFlow(), $.viewState$.value = "maximised", u || j();
3265
+ S.cancelCurrentFlow(), S.viewState$.value = "maximised", u || z();
3219
3266
  const _ = l;
3220
- v instanceof Promise ? ($.current$.value = {
3267
+ v instanceof Promise ? (S.current$.value = {
3221
3268
  state: "loading"
3222
- }, v.then((y) => x(y, _)).catch((y) => {
3269
+ }, v.then((x) => y(x, _)).catch((x) => {
3223
3270
  if (!h(_))
3224
3271
  return;
3225
- const E = y instanceof Error ? y.message : w("unknown_error");
3226
- $.current$.value = {
3272
+ const k = x instanceof Error ? x.message : w("unknown_error");
3273
+ S.current$.value = {
3227
3274
  state: "error",
3228
- error: E
3275
+ error: k
3229
3276
  };
3230
- })) : await x(v, _);
3277
+ })) : await y(v, _);
3231
3278
  } catch (_) {
3232
- n.error("Error starting flow", _);
3279
+ r.error("Error starting flow", _);
3233
3280
  }
3234
3281
  },
3282
+ /**
3283
+ * Whether this browser holds an application in progress that `open(params)` would load: the same saved state
3284
+ * under the same key, unfinished, with an answer, including one whose submit started. The candidate loader
3285
+ * keeps such a candidate on this chatbot rather than move them mid-application (PROD-7342).
3286
+ */
3287
+ hasApplicationInProgress: async (v) => {
3288
+ const _ = await H.getStateData(v.flow, v.flowKeys, v.context ?? {});
3289
+ return _ !== void 0 && Wn({
3290
+ data: _,
3291
+ nodes: v.flow.nodes
3292
+ });
3293
+ },
3235
3294
  close: async () => {
3236
- typeof window > "u" || ($.cancelCurrentFlow(), n.info("Closed flow from an external source"));
3295
+ typeof window > "u" || (S.cancelCurrentFlow(), r.info("Closed flow from an external source"));
3237
3296
  },
3238
3297
  destroy: b
3239
3298
  };
3240
3299
  });
3241
- function sn({
3300
+ function wr({
3242
3301
  instance: t,
3243
3302
  terms: e,
3244
3303
  theme: i,
@@ -3269,54 +3328,57 @@ function sn({
3269
3328
  });
3270
3329
  }
3271
3330
  export {
3272
- ut as A,
3273
- to as B,
3274
- ta as C,
3275
- Xa as D,
3276
- vo as E,
3331
+ To as A,
3332
+ Ur as B,
3333
+ vr as C,
3334
+ ji as D,
3335
+ Hr as E,
3277
3336
  dt as F,
3278
- An as G,
3279
- zn as H,
3280
- ji as I,
3281
- fn as J,
3282
- Cn as K,
3283
- Or as L,
3284
- R as M,
3285
- qa as N,
3286
- He as O,
3287
- zt as P,
3288
- jn as Q,
3289
- Dr as R,
3290
- Ce as S,
3291
- cn as T,
3292
- Nn as U,
3293
- un as Y,
3294
- pn as Z,
3295
- Gt as _,
3296
- On as a,
3297
- Va as b,
3298
- xn as c,
3299
- $n as d,
3300
- hn as e,
3301
- Sn as f,
3302
- In as g,
3303
- _n as h,
3304
- vn as i,
3305
- dn as j,
3306
- Xt as k,
3307
- kn as l,
3308
- p as m,
3309
- wn as n,
3310
- gn as o,
3311
- yn as p,
3312
- Za as q,
3313
- Me as r,
3314
- bn as s,
3315
- Fe as t,
3316
- mn as u,
3317
- Ji as v,
3318
- ga as w,
3319
- W as x,
3320
- bt as y,
3321
- $ as z
3337
+ kr as G,
3338
+ Mr as H,
3339
+ ut as I,
3340
+ R as J,
3341
+ zt as K,
3342
+ Yn as L,
3343
+ We as M,
3344
+ br as N,
3345
+ Wr as O,
3346
+ H as P,
3347
+ Te as Q,
3348
+ Zn as R,
3349
+ Fr as S,
3350
+ Ka as T,
3351
+ Xa as U,
3352
+ Qa as V,
3353
+ to as W,
3354
+ ao as X,
3355
+ Vr as Y,
3356
+ oo as Z,
3357
+ Xt as _,
3358
+ xr as a,
3359
+ zr as b,
3360
+ $r as c,
3361
+ Cr as d,
3362
+ Be as e,
3363
+ Tr as f,
3364
+ Pr as g,
3365
+ Nr as h,
3366
+ yr as i,
3367
+ Le as j,
3368
+ jr as k,
3369
+ oa as l,
3370
+ Er as m,
3371
+ xa as n,
3372
+ p as o,
3373
+ Sr as p,
3374
+ bt as q,
3375
+ mr as r,
3376
+ S as s,
3377
+ Y as t,
3378
+ Gt as u,
3379
+ Dr as v,
3380
+ Or as w,
3381
+ Ar as x,
3382
+ Ir as y,
3383
+ ra as z
3322
3384
  };