@sprig-technologies/sprig-browser 2.26.2 → 2.26.3

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.
@@ -1,11 +1,11 @@
1
- import { g as Fo, a as zo, T as X, C as Ut, D as Vt, A as ke, I as ce, e as $e, s as We, S as pe, b as Re, P as ut, c as kn, R as qo, u as pt, d as Wo, f as Go, h as E, E as Zo, i as H, j as Ie, k as kt, l as Yo, m as q, n as U, M as re, v as ht, o as Qo, p as Ko, r as Jo, q as Xo } from "./index-FFayU6Cl.js";
2
- var b = /* @__PURE__ */ ((e) => (e.ConsentLegal = "consentlegal", e.Likert = "likert", e.Matrix = "matrix", e.MultipleChoice = "multiplechoice", e.MultipleSelect = "multipleselect", e.NPS = "nps", e.Open = "open", e.RecordedTask = "recordedtask", e.TextUrlPrompt = "texturlprompt", e.Thanks = "thanks", e.Uploading = "uploading", e.VideoVoice = "videovoice", e))(b || {}), J = /* @__PURE__ */ ((e) => (e.Answered = "answered", e.Contains = "contains", e.DoesNotContain = "notcontains", e.DoesNotInclude = "list_dni", e.Equal = "eq", e.GivenUp = "given_up", e.GreaterThan = "gt", e.GreaterThanOrEqual = "gte", e.LessThan = "lt", e.LessThanOrEqual = "lte", e.ListAll = "list_all", e.ListAtLeastOne = "list_alo", e.ListExact = "list_exact", e.NotEqual = "neq", e.Partial = "partial", e.Skipped = "skipped", e))(J || {}), we = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Microphone = "microphone", e.Screen = "screen", e))(we || {}), Z = /* @__PURE__ */ ((e) => (e.AvPermission = "av_permission", e.ScreenPermission = "screen_permission", e.StartTask = "start_task", e.CompleteTask = "complete_task", e))(Z || {}), be = /* @__PURE__ */ ((e) => (e.Number = "number", e.Smiley = "smiley", e.Star = "star", e))(be || {}), Oe, w, wn, ve, $t, Sn, ft, En, Ne = {}, Tn = [], er = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Qe = Array.isArray;
1
+ import { g as zo, a as qo, T as X, i as ot, C as Vt, D as $t, A as ke, I as ce, e as $e, s as Ge, S as pe, b as Re, P as pt, c as wn, R as Go, u as ht, d as Zo, f as Wo, h as Yo, j as E, E as Qo, k as H, l as Ie, m as wt, n as q, o as U, M as re, v as ft, p as Ko, q as Jo, r as Xo, t as er } from "./index-aRW0ww4B.js";
2
+ var b = /* @__PURE__ */ ((e) => (e.ConsentLegal = "consentlegal", e.Likert = "likert", e.Matrix = "matrix", e.MultipleChoice = "multiplechoice", e.MultipleSelect = "multipleselect", e.NPS = "nps", e.Open = "open", e.RecordedTask = "recordedtask", e.TextUrlPrompt = "texturlprompt", e.Thanks = "thanks", e.Uploading = "uploading", e.VideoVoice = "videovoice", e))(b || {}), J = /* @__PURE__ */ ((e) => (e.Answered = "answered", e.Contains = "contains", e.DoesNotContain = "notcontains", e.DoesNotInclude = "list_dni", e.Equal = "eq", e.GivenUp = "given_up", e.GreaterThan = "gt", e.GreaterThanOrEqual = "gte", e.LessThan = "lt", e.LessThanOrEqual = "lte", e.ListAll = "list_all", e.ListAtLeastOne = "list_alo", e.ListExact = "list_exact", e.NotEqual = "neq", e.Partial = "partial", e.Skipped = "skipped", e))(J || {}), we = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Microphone = "microphone", e.Screen = "screen", e))(we || {}), W = /* @__PURE__ */ ((e) => (e.AvPermission = "av_permission", e.ScreenPermission = "screen_permission", e.StartTask = "start_task", e.CompleteTask = "complete_task", e))(W || {}), be = /* @__PURE__ */ ((e) => (e.Number = "number", e.Smiley = "smiley", e.Star = "star", e))(be || {}), Oe, w, Sn, _e, Bt, En, mt, Tn, Ne = {}, Pn = [], tr = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Qe = Array.isArray;
3
3
  function ae(e, t) {
4
4
  for (var n in t)
5
5
  e[n] = t[n];
6
6
  return e;
7
7
  }
8
- function Pn(e) {
8
+ function jn(e) {
9
9
  var t = e.parentNode;
10
10
  t && t.removeChild(e);
11
11
  }
@@ -19,13 +19,13 @@ function B(e, t, n) {
19
19
  return Le(e, s, o, r, null);
20
20
  }
21
21
  function Le(e, t, n, o, r) {
22
- var i = { type: e, props: t, key: n, ref: o, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: r ?? ++wn, __i: -1, __u: 0 };
22
+ var i = { type: e, props: t, key: n, ref: o, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: r ?? ++Sn, __i: -1, __u: 0 };
23
23
  return r == null && w.vnode != null && w.vnode(i), i;
24
24
  }
25
- function jn() {
25
+ function Rn() {
26
26
  return { current: null };
27
27
  }
28
- function W(e) {
28
+ function G(e) {
29
29
  return e.children;
30
30
  }
31
31
  function ee(e, t) {
@@ -39,7 +39,7 @@ function Se(e, t) {
39
39
  return n.__e;
40
40
  return typeof e.type == "function" ? Se(e) : null;
41
41
  }
42
- function Rn(e) {
42
+ function In(e) {
43
43
  var t, n;
44
44
  if ((e = e.__) != null && e.__c != null) {
45
45
  for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++)
@@ -47,37 +47,37 @@ function Rn(e) {
47
47
  e.__e = e.__c.base = n.__e;
48
48
  break;
49
49
  }
50
- return Rn(e);
50
+ return In(e);
51
51
  }
52
52
  }
53
- function mt(e) {
54
- (!e.__d && (e.__d = !0) && ve.push(e) && !Ge.__r++ || $t !== w.debounceRendering) && (($t = w.debounceRendering) || Sn)(Ge);
53
+ function vt(e) {
54
+ (!e.__d && (e.__d = !0) && _e.push(e) && !Ze.__r++ || Bt !== w.debounceRendering) && ((Bt = w.debounceRendering) || En)(Ze);
55
55
  }
56
- function Ge() {
56
+ function Ze() {
57
57
  var e, t, n, o, r, i, s, a, d;
58
- for (ve.sort(ft); e = ve.shift(); )
59
- e.__d && (t = ve.length, o = void 0, i = (r = (n = e).__v).__e, a = [], d = [], (s = n.__P) && ((o = ae({}, r)).__v = r.__v + 1, w.vnode && w.vnode(o), wt(s, o, r, n.__n, s.ownerSVGElement !== void 0, 32 & r.__u ? [i] : null, a, i ?? Se(r), !!(32 & r.__u), d), o.__.__k[o.__i] = o, Dn(a, o, d), o.__e != i && Rn(o)), ve.length > t && ve.sort(ft));
60
- Ge.__r = 0;
61
- }
62
- function In(e, t, n, o, r, i, s, a, d, l, p) {
63
- var c, h, f, _, m, x = o && o.__k || Tn, v = t.length;
64
- for (n.__d = d, tr(n, t, x), d = n.__d, c = 0; c < v; c++)
65
- (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (h = f.__i === -1 ? Ne : x[f.__i] || Ne, f.__i = c, wt(e, f, h, r, i, s, a, d, l, p), _ = f.__e, f.ref && h.ref != f.ref && (h.ref && St(h.ref, null, f), p.push(f.ref, f.__c || _, f)), m == null && _ != null && (m = _), 65536 & f.__u || h.__k === f.__k ? d = Ln(f, d, e) : typeof f.type == "function" && f.__d !== void 0 ? d = f.__d : _ && (d = _.nextSibling), f.__d = void 0, f.__u &= -196609);
58
+ for (_e.sort(mt); e = _e.shift(); )
59
+ e.__d && (t = _e.length, o = void 0, i = (r = (n = e).__v).__e, a = [], d = [], (s = n.__P) && ((o = ae({}, r)).__v = r.__v + 1, w.vnode && w.vnode(o), St(s, o, r, n.__n, s.ownerSVGElement !== void 0, 32 & r.__u ? [i] : null, a, i ?? Se(r), !!(32 & r.__u), d), o.__.__k[o.__i] = o, Nn(a, o, d), o.__e != i && In(o)), _e.length > t && _e.sort(mt));
60
+ Ze.__r = 0;
61
+ }
62
+ function Ln(e, t, n, o, r, i, s, a, d, l, p) {
63
+ var c, h, f, v, m, x = o && o.__k || Pn, _ = t.length;
64
+ for (n.__d = d, nr(n, t, x), d = n.__d, c = 0; c < _; c++)
65
+ (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (h = f.__i === -1 ? Ne : x[f.__i] || Ne, f.__i = c, St(e, f, h, r, i, s, a, d, l, p), v = f.__e, f.ref && h.ref != f.ref && (h.ref && Et(h.ref, null, f), p.push(f.ref, f.__c || v, f)), m == null && v != null && (m = v), 65536 & f.__u || h.__k === f.__k ? d = Dn(f, d, e) : typeof f.type == "function" && f.__d !== void 0 ? d = f.__d : v && (d = v.nextSibling), f.__d = void 0, f.__u &= -196609);
66
66
  n.__d = d, n.__e = m;
67
67
  }
68
- function tr(e, t, n) {
68
+ function nr(e, t, n) {
69
69
  var o, r, i, s, a, d = t.length, l = n.length, p = l, c = 0;
70
70
  for (e.__k = [], o = 0; o < d; o++)
71
- (r = e.__k[o] = (r = t[o]) == null || typeof r == "boolean" || typeof r == "function" ? null : typeof r == "string" || typeof r == "number" || typeof r == "bigint" || r.constructor == String ? Le(null, r, null, null, r) : Qe(r) ? Le(W, { children: r }, null, null, null) : r.constructor === void 0 && r.__b > 0 ? Le(r.type, r.props, r.key, r.ref ? r.ref : null, r.__v) : r) != null ? (r.__ = e, r.__b = e.__b + 1, a = nr(r, n, s = o + c, p), r.__i = a, i = null, a !== -1 && (p--, (i = n[a]) && (i.__u |= 131072)), i == null || i.__v === null ? (a == -1 && c--, typeof r.type != "function" && (r.__u |= 65536)) : a !== s && (a === s + 1 ? c++ : a > s ? p > d - s ? c += a - s : c-- : c = a < s && a == s - 1 ? a - s : 0, a !== o + c && (r.__u |= 65536))) : (i = n[o]) && i.key == null && i.__e && (i.__e == e.__d && (e.__d = Se(i)), _t(i, i, !1), n[o] = null, p--);
71
+ (r = e.__k[o] = (r = t[o]) == null || typeof r == "boolean" || typeof r == "function" ? null : typeof r == "string" || typeof r == "number" || typeof r == "bigint" || r.constructor == String ? Le(null, r, null, null, r) : Qe(r) ? Le(G, { children: r }, null, null, null) : r.constructor === void 0 && r.__b > 0 ? Le(r.type, r.props, r.key, r.ref ? r.ref : null, r.__v) : r) != null ? (r.__ = e, r.__b = e.__b + 1, a = or(r, n, s = o + c, p), r.__i = a, i = null, a !== -1 && (p--, (i = n[a]) && (i.__u |= 131072)), i == null || i.__v === null ? (a == -1 && c--, typeof r.type != "function" && (r.__u |= 65536)) : a !== s && (a === s + 1 ? c++ : a > s ? p > d - s ? c += a - s : c-- : c = a < s && a == s - 1 ? a - s : 0, a !== o + c && (r.__u |= 65536))) : (i = n[o]) && i.key == null && i.__e && (i.__e == e.__d && (e.__d = Se(i)), _t(i, i, !1), n[o] = null, p--);
72
72
  if (p)
73
73
  for (o = 0; o < l; o++)
74
74
  (i = n[o]) != null && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = Se(i)), _t(i, i));
75
75
  }
76
- function Ln(e, t, n) {
76
+ function Dn(e, t, n) {
77
77
  var o, r;
78
78
  if (typeof e.type == "function") {
79
79
  for (o = e.__k, r = 0; o && r < o.length; r++)
80
- o[r] && (o[r].__ = e, t = Ln(o[r], t, n));
80
+ o[r] && (o[r].__ = e, t = Dn(o[r], t, n));
81
81
  return t;
82
82
  }
83
83
  return e.__e != t && (n.insertBefore(e.__e, t || null), t = e.__e), t && t.nextSibling;
@@ -87,7 +87,7 @@ function le(e, t) {
87
87
  le(n, t);
88
88
  }) : t.push(e)), t;
89
89
  }
90
- function nr(e, t, n, o) {
90
+ function or(e, t, n, o) {
91
91
  var r = e.key, i = e.type, s = n - 1, a = n + 1, d = t[n];
92
92
  if (d === null || d && r == d.key && i === d.type)
93
93
  return n;
@@ -106,8 +106,8 @@ function nr(e, t, n, o) {
106
106
  }
107
107
  return -1;
108
108
  }
109
- function Bt(e, t, n) {
110
- t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || er.test(t) ? n : n + "px";
109
+ function Ht(e, t, n) {
110
+ t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || tr.test(t) ? n : n + "px";
111
111
  }
112
112
  function Ve(e, t, n, o, r) {
113
113
  var i;
@@ -118,13 +118,13 @@ function Ve(e, t, n, o, r) {
118
118
  else {
119
119
  if (typeof o == "string" && (e.style.cssText = o = ""), o)
120
120
  for (t in o)
121
- n && t in n || Bt(e.style, t, "");
121
+ n && t in n || Ht(e.style, t, "");
122
122
  if (n)
123
123
  for (t in n)
124
- o && n[t] === o[t] || Bt(e.style, t, n[t]);
124
+ o && n[t] === o[t] || Ht(e.style, t, n[t]);
125
125
  }
126
126
  else if (t[0] === "o" && t[1] === "n")
127
- i = t !== (t = t.replace(/(PointerCapture)$|Capture$/, "$1")), t = t.toLowerCase() in e ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = n, n ? o ? n.u = o.u : (n.u = Date.now(), e.addEventListener(t, i ? Ft : Ht, i)) : e.removeEventListener(t, i ? Ft : Ht, i);
127
+ i = t !== (t = t.replace(/(PointerCapture)$|Capture$/, "$1")), t = t.toLowerCase() in e ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = n, n ? o ? n.u = o.u : (n.u = Date.now(), e.addEventListener(t, i ? zt : Ft, i)) : e.removeEventListener(t, i ? zt : Ft, i);
128
128
  else {
129
129
  if (r)
130
130
  t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
@@ -137,7 +137,7 @@ function Ve(e, t, n, o, r) {
137
137
  typeof n == "function" || (n == null || n === !1 && t[4] !== "-" ? e.removeAttribute(t) : e.setAttribute(t, n));
138
138
  }
139
139
  }
140
- function Ht(e) {
140
+ function Ft(e) {
141
141
  var t = this.l[e.type + !1];
142
142
  if (e.t) {
143
143
  if (e.t <= t.u)
@@ -146,33 +146,33 @@ function Ht(e) {
146
146
  e.t = Date.now();
147
147
  return t(w.event ? w.event(e) : e);
148
148
  }
149
- function Ft(e) {
149
+ function zt(e) {
150
150
  return this.l[e.type + !0](w.event ? w.event(e) : e);
151
151
  }
152
- function wt(e, t, n, o, r, i, s, a, d, l) {
153
- var p, c, h, f, _, m, x, v, C, k, T, g, y, D, R, S = t.type;
152
+ function St(e, t, n, o, r, i, s, a, d, l) {
153
+ var p, c, h, f, v, m, x, _, C, k, T, g, y, D, R, S = t.type;
154
154
  if (t.constructor !== void 0)
155
155
  return null;
156
156
  128 & n.__u && (d = !!(32 & n.__u), i = [a = t.__e = n.__e]), (p = w.__b) && p(t);
157
157
  e:
158
158
  if (typeof S == "function")
159
159
  try {
160
- if (v = t.props, C = (p = S.contextType) && o[p.__c], k = p ? C ? C.props.value : p.__ : o, n.__c ? x = (c = t.__c = n.__c).__ = c.__E : ("prototype" in S && S.prototype.render ? t.__c = c = new S(v, k) : (t.__c = c = new ee(v, k), c.constructor = S, c.render = rr), C && C.sub(c), c.props = v, c.state || (c.state = {}), c.context = k, c.__n = o, h = c.__d = !0, c.__h = [], c._sb = []), c.__s == null && (c.__s = c.state), S.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ae({}, c.__s)), ae(c.__s, S.getDerivedStateFromProps(v, c.__s))), f = c.props, _ = c.state, c.__v = t, h)
160
+ if (_ = t.props, C = (p = S.contextType) && o[p.__c], k = p ? C ? C.props.value : p.__ : o, n.__c ? x = (c = t.__c = n.__c).__ = c.__E : ("prototype" in S && S.prototype.render ? t.__c = c = new S(_, k) : (t.__c = c = new ee(_, k), c.constructor = S, c.render = ir), C && C.sub(c), c.props = _, c.state || (c.state = {}), c.context = k, c.__n = o, h = c.__d = !0, c.__h = [], c._sb = []), c.__s == null && (c.__s = c.state), S.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ae({}, c.__s)), ae(c.__s, S.getDerivedStateFromProps(_, c.__s))), f = c.props, v = c.state, c.__v = t, h)
161
161
  S.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), c.componentDidMount != null && c.__h.push(c.componentDidMount);
162
162
  else {
163
- if (S.getDerivedStateFromProps == null && v !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(v, k), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(v, c.__s, k) === !1 || t.__v === n.__v)) {
164
- for (t.__v !== n.__v && (c.props = v, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(N) {
163
+ if (S.getDerivedStateFromProps == null && _ !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(_, k), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(_, c.__s, k) === !1 || t.__v === n.__v)) {
164
+ for (t.__v !== n.__v && (c.props = _, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(N) {
165
165
  N && (N.__ = t);
166
166
  }), T = 0; T < c._sb.length; T++)
167
167
  c.__h.push(c._sb[T]);
168
168
  c._sb = [], c.__h.length && s.push(c);
169
169
  break e;
170
170
  }
171
- c.componentWillUpdate != null && c.componentWillUpdate(v, c.__s, k), c.componentDidUpdate != null && c.__h.push(function() {
172
- c.componentDidUpdate(f, _, m);
171
+ c.componentWillUpdate != null && c.componentWillUpdate(_, c.__s, k), c.componentDidUpdate != null && c.__h.push(function() {
172
+ c.componentDidUpdate(f, v, m);
173
173
  });
174
174
  }
175
- if (c.context = k, c.props = v, c.__P = e, c.__e = !1, g = w.__r, y = 0, "prototype" in S && S.prototype.render) {
175
+ if (c.context = k, c.props = _, c.__P = e, c.__e = !1, g = w.__r, y = 0, "prototype" in S && S.prototype.render) {
176
176
  for (c.state = c.__s, c.__d = !1, g && g(t), p = c.render(c.props, c.state, c.context), D = 0; D < c._sb.length; D++)
177
177
  c.__h.push(c._sb[D]);
178
178
  c._sb = [];
@@ -180,18 +180,18 @@ function wt(e, t, n, o, r, i, s, a, d, l) {
180
180
  do
181
181
  c.__d = !1, g && g(t), p = c.render(c.props, c.state, c.context), c.state = c.__s;
182
182
  while (c.__d && ++y < 25);
183
- c.state = c.__s, c.getChildContext != null && (o = ae(ae({}, o), c.getChildContext())), h || c.getSnapshotBeforeUpdate == null || (m = c.getSnapshotBeforeUpdate(f, _)), In(e, Qe(R = p != null && p.type === W && p.key == null ? p.props.children : p) ? R : [R], t, n, o, r, i, s, a, d, l), c.base = t.__e, t.__u &= -161, c.__h.length && s.push(c), x && (c.__E = c.__ = null);
183
+ c.state = c.__s, c.getChildContext != null && (o = ae(ae({}, o), c.getChildContext())), h || c.getSnapshotBeforeUpdate == null || (m = c.getSnapshotBeforeUpdate(f, v)), Ln(e, Qe(R = p != null && p.type === G && p.key == null ? p.props.children : p) ? R : [R], t, n, o, r, i, s, a, d, l), c.base = t.__e, t.__u &= -161, c.__h.length && s.push(c), x && (c.__E = c.__ = null);
184
184
  } catch (N) {
185
185
  t.__v = null, d || i != null ? (t.__e = a, t.__u |= d ? 160 : 32, i[i.indexOf(a)] = null) : (t.__e = n.__e, t.__k = n.__k), w.__e(N, t, n);
186
186
  }
187
187
  else
188
- i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = or(n.__e, t, n, o, r, i, s, d, l);
188
+ i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = rr(n.__e, t, n, o, r, i, s, d, l);
189
189
  (p = w.diffed) && p(t);
190
190
  }
191
- function Dn(e, t, n) {
191
+ function Nn(e, t, n) {
192
192
  t.__d = void 0;
193
193
  for (var o = 0; o < n.length; o++)
194
- St(n[o], n[++o], n[++o]);
194
+ Et(n[o], n[++o], n[++o]);
195
195
  w.__c && w.__c(t, e), e.some(function(r) {
196
196
  try {
197
197
  e = r.__h, r.__h = [], e.some(function(i) {
@@ -202,8 +202,8 @@ function Dn(e, t, n) {
202
202
  }
203
203
  });
204
204
  }
205
- function or(e, t, n, o, r, i, s, a, d) {
206
- var l, p, c, h, f, _, m, x = n.props, v = t.props, C = t.type;
205
+ function rr(e, t, n, o, r, i, s, a, d) {
206
+ var l, p, c, h, f, v, m, x = n.props, _ = t.props, C = t.type;
207
207
  if (C === "svg" && (r = !0), i != null) {
208
208
  for (l = 0; l < i.length; l++)
209
209
  if ((f = i[l]) && "setAttribute" in f == !!C && (C ? f.localName === C : f.nodeType === 3)) {
@@ -213,29 +213,29 @@ function or(e, t, n, o, r, i, s, a, d) {
213
213
  }
214
214
  if (e == null) {
215
215
  if (C === null)
216
- return document.createTextNode(v);
217
- e = r ? document.createElementNS("http://www.w3.org/2000/svg", C) : document.createElement(C, v.is && v), i = null, a = !1;
216
+ return document.createTextNode(_);
217
+ e = r ? document.createElementNS("http://www.w3.org/2000/svg", C) : document.createElement(C, _.is && _), i = null, a = !1;
218
218
  }
219
219
  if (C === null)
220
- x === v || a && e.data === v || (e.data = v);
220
+ x === _ || a && e.data === _ || (e.data = _);
221
221
  else {
222
222
  if (i = i && Oe.call(e.childNodes), x = n.props || Ne, !a && i != null)
223
223
  for (x = {}, l = 0; l < e.attributes.length; l++)
224
224
  x[(f = e.attributes[l]).name] = f.value;
225
225
  for (l in x)
226
- f = x[l], l == "children" || (l == "dangerouslySetInnerHTML" ? c = f : l === "key" || l in v || Ve(e, l, null, f, r));
227
- for (l in v)
228
- f = v[l], l == "children" ? h = f : l == "dangerouslySetInnerHTML" ? p = f : l == "value" ? _ = f : l == "checked" ? m = f : l === "key" || a && typeof f != "function" || x[l] === f || Ve(e, l, f, x[l], r);
226
+ f = x[l], l == "children" || (l == "dangerouslySetInnerHTML" ? c = f : l === "key" || l in _ || Ve(e, l, null, f, r));
227
+ for (l in _)
228
+ f = _[l], l == "children" ? h = f : l == "dangerouslySetInnerHTML" ? p = f : l == "value" ? v = f : l == "checked" ? m = f : l === "key" || a && typeof f != "function" || x[l] === f || Ve(e, l, f, x[l], r);
229
229
  if (p)
230
230
  a || c && (p.__html === c.__html || p.__html === e.innerHTML) || (e.innerHTML = p.__html), t.__k = [];
231
- else if (c && (e.innerHTML = ""), In(e, Qe(h) ? h : [h], t, n, o, r && C !== "foreignObject", i, s, i ? i[0] : n.__k && Se(n, 0), a, d), i != null)
231
+ else if (c && (e.innerHTML = ""), Ln(e, Qe(h) ? h : [h], t, n, o, r && C !== "foreignObject", i, s, i ? i[0] : n.__k && Se(n, 0), a, d), i != null)
232
232
  for (l = i.length; l--; )
233
- i[l] != null && Pn(i[l]);
234
- a || (l = "value", _ !== void 0 && (_ !== e[l] || C === "progress" && !_ || C === "option" && _ !== x[l]) && Ve(e, l, _, x[l], !1), l = "checked", m !== void 0 && m !== e[l] && Ve(e, l, m, x[l], !1));
233
+ i[l] != null && jn(i[l]);
234
+ a || (l = "value", v !== void 0 && (v !== e[l] || C === "progress" && !v || C === "option" && v !== x[l]) && Ve(e, l, v, x[l], !1), l = "checked", m !== void 0 && m !== e[l] && Ve(e, l, m, x[l], !1));
235
235
  }
236
236
  return e;
237
237
  }
238
- function St(e, t, n) {
238
+ function Et(e, t, n) {
239
239
  try {
240
240
  typeof e == "function" ? e(t) : e.current = t;
241
241
  } catch (o) {
@@ -244,7 +244,7 @@ function St(e, t, n) {
244
244
  }
245
245
  function _t(e, t, n) {
246
246
  var o, r;
247
- if (w.unmount && w.unmount(e), (o = e.ref) && (o.current && o.current !== e.__e || St(o, null, t)), (o = e.__c) != null) {
247
+ if (w.unmount && w.unmount(e), (o = e.ref) && (o.current && o.current !== e.__e || Et(o, null, t)), (o = e.__c) != null) {
248
248
  if (o.componentWillUnmount)
249
249
  try {
250
250
  o.componentWillUnmount();
@@ -256,26 +256,26 @@ function _t(e, t, n) {
256
256
  if (o = e.__k)
257
257
  for (r = 0; r < o.length; r++)
258
258
  o[r] && _t(o[r], t, n || typeof e.type != "function");
259
- n || e.__e == null || Pn(e.__e), e.__ = e.__e = e.__d = void 0;
259
+ n || e.__e == null || jn(e.__e), e.__ = e.__e = e.__d = void 0;
260
260
  }
261
- function rr(e, t, n) {
261
+ function ir(e, t, n) {
262
262
  return this.constructor(e, n);
263
263
  }
264
264
  function Ee(e, t, n) {
265
265
  var o, r, i, s;
266
- w.__ && w.__(e, t), r = (o = typeof n == "function") ? null : n && n.__k || t.__k, i = [], s = [], wt(t, e = (!o && n || t).__k = B(W, null, [e]), r || Ne, Ne, t.ownerSVGElement !== void 0, !o && n ? [n] : r ? null : t.firstChild ? Oe.call(t.childNodes) : null, i, !o && n ? n : r ? r.__e : t.firstChild, o, s), Dn(i, e, s);
266
+ w.__ && w.__(e, t), r = (o = typeof n == "function") ? null : n && n.__k || t.__k, i = [], s = [], St(t, e = (!o && n || t).__k = B(G, null, [e]), r || Ne, Ne, t.ownerSVGElement !== void 0, !o && n ? [n] : r ? null : t.firstChild ? Oe.call(t.childNodes) : null, i, !o && n ? n : r ? r.__e : t.firstChild, o, s), Nn(i, e, s);
267
267
  }
268
- function Nn(e, t) {
269
- Ee(e, t, Nn);
268
+ function On(e, t) {
269
+ Ee(e, t, On);
270
270
  }
271
- function ir(e, t, n) {
271
+ function sr(e, t, n) {
272
272
  var o, r, i, s, a = ae({}, e.props);
273
273
  for (i in e.type && e.type.defaultProps && (s = e.type.defaultProps), t)
274
274
  i == "key" ? o = t[i] : i == "ref" ? r = t[i] : a[i] = t[i] === void 0 && s !== void 0 ? s[i] : t[i];
275
275
  return arguments.length > 2 && (a.children = arguments.length > 3 ? Oe.call(arguments, 2) : n), Le(e.type, a, o || e.key, r || e.ref, null);
276
276
  }
277
- function On(e, t) {
278
- var n = { __c: t = "__cC" + En++, __: e, Consumer: function(o, r) {
277
+ function Mn(e, t) {
278
+ var n = { __c: t = "__cC" + Tn++, __: e, Consumer: function(o, r) {
279
279
  return o.children(r);
280
280
  }, Provider: function(o) {
281
281
  var r, i;
@@ -283,7 +283,7 @@ function On(e, t) {
283
283
  return i;
284
284
  }, this.shouldComponentUpdate = function(s) {
285
285
  this.props.value !== s.value && r.some(function(a) {
286
- a.__e = !0, mt(a);
286
+ a.__e = !0, vt(a);
287
287
  });
288
288
  }, this.sub = function(s) {
289
289
  r.push(s);
@@ -295,7 +295,7 @@ function On(e, t) {
295
295
  } };
296
296
  return n.Provider.__ = n.Consumer.contextType = n;
297
297
  }
298
- Oe = Tn.slice, w = { __e: function(e, t, n, o) {
298
+ Oe = Pn.slice, w = { __e: function(e, t, n, o) {
299
299
  for (var r, i, s; t = t.__; )
300
300
  if ((r = t.__c) && !r.__)
301
301
  try {
@@ -305,22 +305,22 @@ Oe = Tn.slice, w = { __e: function(e, t, n, o) {
305
305
  e = a;
306
306
  }
307
307
  throw e;
308
- } }, wn = 0, ee.prototype.setState = function(e, t) {
308
+ } }, Sn = 0, ee.prototype.setState = function(e, t) {
309
309
  var n;
310
- n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ae({}, this.state), typeof e == "function" && (e = e(ae({}, n), this.props)), e && ae(n, e), e != null && this.__v && (t && this._sb.push(t), mt(this));
310
+ n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ae({}, this.state), typeof e == "function" && (e = e(ae({}, n), this.props)), e && ae(n, e), e != null && this.__v && (t && this._sb.push(t), vt(this));
311
311
  }, ee.prototype.forceUpdate = function(e) {
312
- this.__v && (this.__e = !0, e && this.__h.push(e), mt(this));
313
- }, ee.prototype.render = W, ve = [], Sn = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, ft = function(e, t) {
312
+ this.__v && (this.__e = !0, e && this.__h.push(e), vt(this));
313
+ }, ee.prototype.render = G, _e = [], En = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, mt = function(e, t) {
314
314
  return e.__v.__b - t.__v.__b;
315
- }, Ge.__r = 0, En = 0;
316
- function Mn(e) {
315
+ }, Ze.__r = 0, Tn = 0;
316
+ function An(e) {
317
317
  var t, n, o = "";
318
318
  if (typeof e == "string" || typeof e == "number")
319
319
  o += e;
320
320
  else if (typeof e == "object")
321
321
  if (Array.isArray(e))
322
322
  for (t = 0; t < e.length; t++)
323
- e[t] && (n = Mn(e[t])) && (o && (o += " "), o += n);
323
+ e[t] && (n = An(e[t])) && (o && (o += " "), o += n);
324
324
  else
325
325
  for (t in e)
326
326
  e[t] && (o && (o += " "), o += t);
@@ -328,21 +328,21 @@ function Mn(e) {
328
328
  }
329
329
  function M() {
330
330
  for (var e, t, n = 0, o = ""; n < arguments.length; )
331
- (e = arguments[n++]) && (t = Mn(e)) && (o && (o += " "), o += t);
331
+ (e = arguments[n++]) && (t = An(e)) && (o && (o += " "), o += t);
332
332
  return o;
333
333
  }
334
- var de, V, ot, zt, Te = 0, An = [], Be = [], qt = w.__b, Wt = w.__r, Gt = w.diffed, Zt = w.__c, Yt = w.unmount;
334
+ var de, V, rt, qt, Te = 0, Un = [], Be = [], Gt = w.__b, Zt = w.__r, Wt = w.diffed, Yt = w.__c, Qt = w.unmount;
335
335
  function xe(e, t) {
336
336
  w.__h && w.__h(V, e, Te || t), Te = 0;
337
337
  var n = V.__H || (V.__H = { __: [], __h: [] });
338
338
  return e >= n.__.length && n.__.push({ __V: Be }), n.__[e];
339
339
  }
340
340
  function z(e) {
341
- return Te = 1, Et(Hn, e);
341
+ return Te = 1, Tt(Fn, e);
342
342
  }
343
- function Et(e, t, n) {
343
+ function Tt(e, t, n) {
344
344
  var o = xe(de++, 2);
345
- if (o.t = e, !o.__c && (o.__ = [n ? n(t) : Hn(void 0, t), function(a) {
345
+ if (o.t = e, !o.__c && (o.__ = [n ? n(t) : Fn(void 0, t), function(a) {
346
346
  var d = o.__N ? o.__N[0] : o.__[0], l = o.t(d, a);
347
347
  d !== l && (o.__N = [l, o.__[1]], o.__c.setState({}));
348
348
  }], o.__c = V, !V.u)) {
@@ -378,18 +378,18 @@ function Et(e, t, n) {
378
378
  }
379
379
  function Y(e, t) {
380
380
  var n = xe(de++, 3);
381
- !w.__s && Pt(n.__H, t) && (n.__ = e, n.i = t, V.__H.__h.push(n));
381
+ !w.__s && jt(n.__H, t) && (n.__ = e, n.i = t, V.__H.__h.push(n));
382
382
  }
383
383
  function Me(e, t) {
384
384
  var n = xe(de++, 4);
385
- !w.__s && Pt(n.__H, t) && (n.__ = e, n.i = t, V.__h.push(n));
385
+ !w.__s && jt(n.__H, t) && (n.__ = e, n.i = t, V.__h.push(n));
386
386
  }
387
387
  function me(e) {
388
388
  return Te = 5, Ke(function() {
389
389
  return { current: e };
390
390
  }, []);
391
391
  }
392
- function Un(e, t, n) {
392
+ function Vn(e, t, n) {
393
393
  Te = 6, Me(function() {
394
394
  return typeof e == "function" ? (e(t()), function() {
395
395
  return e(null);
@@ -400,21 +400,21 @@ function Un(e, t, n) {
400
400
  }
401
401
  function Ke(e, t) {
402
402
  var n = xe(de++, 7);
403
- return Pt(n.__H, t) ? (n.__V = e(), n.i = t, n.__h = e, n.__V) : n.__;
403
+ return jt(n.__H, t) ? (n.__V = e(), n.i = t, n.__h = e, n.__V) : n.__;
404
404
  }
405
- function Vn(e, t) {
405
+ function $n(e, t) {
406
406
  return Te = 8, Ke(function() {
407
407
  return e;
408
408
  }, t);
409
409
  }
410
- function $n(e) {
410
+ function Bn(e) {
411
411
  var t = V.context[e.__c], n = xe(de++, 9);
412
412
  return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(V)), t.props.value) : e.__;
413
413
  }
414
- function Tt(e, t) {
414
+ function Pt(e, t) {
415
415
  w.useDebugValue && w.useDebugValue(t ? t(e) : e);
416
416
  }
417
- function sr(e) {
417
+ function ar(e) {
418
418
  var t = xe(de++, 10), n = z();
419
419
  return t.__ = e, V.componentDidCatch || (V.componentDidCatch = function(o, r) {
420
420
  t.__ && t.__(o, r), n[1](o);
@@ -422,7 +422,7 @@ function sr(e) {
422
422
  n[1](void 0);
423
423
  }];
424
424
  }
425
- function Bn() {
425
+ function Hn() {
426
426
  var e = xe(de++, 11);
427
427
  if (!e.__) {
428
428
  for (var t = V.__v; t !== null && !t.__m && t.__ !== null; )
@@ -432,43 +432,43 @@ function Bn() {
432
432
  }
433
433
  return e.__;
434
434
  }
435
- function ar() {
436
- for (var e; e = An.shift(); )
435
+ function lr() {
436
+ for (var e; e = Un.shift(); )
437
437
  if (e.__P && e.__H)
438
438
  try {
439
- e.__H.__h.forEach(He), e.__H.__h.forEach(vt), e.__H.__h = [];
439
+ e.__H.__h.forEach(He), e.__H.__h.forEach(gt), e.__H.__h = [];
440
440
  } catch (t) {
441
441
  e.__H.__h = [], w.__e(t, e.__v);
442
442
  }
443
443
  }
444
444
  w.__b = function(e) {
445
- V = null, qt && qt(e);
445
+ V = null, Gt && Gt(e);
446
446
  }, w.__r = function(e) {
447
- Wt && Wt(e), de = 0;
447
+ Zt && Zt(e), de = 0;
448
448
  var t = (V = e.__c).__H;
449
- t && (ot === V ? (t.__h = [], V.__h = [], t.__.forEach(function(n) {
449
+ t && (rt === V ? (t.__h = [], V.__h = [], t.__.forEach(function(n) {
450
450
  n.__N && (n.__ = n.__N), n.__V = Be, n.__N = n.i = void 0;
451
- })) : (t.__h.forEach(He), t.__h.forEach(vt), t.__h = [], de = 0)), ot = V;
451
+ })) : (t.__h.forEach(He), t.__h.forEach(gt), t.__h = [], de = 0)), rt = V;
452
452
  }, w.diffed = function(e) {
453
- Gt && Gt(e);
453
+ Wt && Wt(e);
454
454
  var t = e.__c;
455
- t && t.__H && (t.__H.__h.length && (An.push(t) !== 1 && zt === w.requestAnimationFrame || ((zt = w.requestAnimationFrame) || lr)(ar)), t.__H.__.forEach(function(n) {
455
+ t && t.__H && (t.__H.__h.length && (Un.push(t) !== 1 && qt === w.requestAnimationFrame || ((qt = w.requestAnimationFrame) || cr)(lr)), t.__H.__.forEach(function(n) {
456
456
  n.i && (n.__H = n.i), n.__V !== Be && (n.__ = n.__V), n.i = void 0, n.__V = Be;
457
- })), ot = V = null;
457
+ })), rt = V = null;
458
458
  }, w.__c = function(e, t) {
459
459
  t.some(function(n) {
460
460
  try {
461
461
  n.__h.forEach(He), n.__h = n.__h.filter(function(o) {
462
- return !o.__ || vt(o);
462
+ return !o.__ || gt(o);
463
463
  });
464
464
  } catch (o) {
465
465
  t.some(function(r) {
466
466
  r.__h && (r.__h = []);
467
467
  }), t = [], w.__e(o, n.__v);
468
468
  }
469
- }), Zt && Zt(e, t);
469
+ }), Yt && Yt(e, t);
470
470
  }, w.unmount = function(e) {
471
- Yt && Yt(e);
471
+ Qt && Qt(e);
472
472
  var t, n = e.__c;
473
473
  n && n.__H && (n.__H.__.forEach(function(o) {
474
474
  try {
@@ -478,35 +478,35 @@ w.__b = function(e) {
478
478
  }
479
479
  }), n.__H = void 0, t && w.__e(t, n.__v));
480
480
  };
481
- var Qt = typeof requestAnimationFrame == "function";
482
- function lr(e) {
481
+ var Kt = typeof requestAnimationFrame == "function";
482
+ function cr(e) {
483
483
  var t, n = function() {
484
- clearTimeout(o), Qt && cancelAnimationFrame(t), setTimeout(e);
484
+ clearTimeout(o), Kt && cancelAnimationFrame(t), setTimeout(e);
485
485
  }, o = setTimeout(n, 100);
486
- Qt && (t = requestAnimationFrame(n));
486
+ Kt && (t = requestAnimationFrame(n));
487
487
  }
488
488
  function He(e) {
489
489
  var t = V, n = e.__c;
490
490
  typeof n == "function" && (e.__c = void 0, n()), V = t;
491
491
  }
492
- function vt(e) {
492
+ function gt(e) {
493
493
  var t = V;
494
494
  e.__c = e.__(), V = t;
495
495
  }
496
- function Pt(e, t) {
496
+ function jt(e, t) {
497
497
  return !e || e.length !== t.length || t.some(function(n, o) {
498
498
  return n !== e[o];
499
499
  });
500
500
  }
501
- function Hn(e, t) {
501
+ function Fn(e, t) {
502
502
  return typeof t == "function" ? t(e) : t;
503
503
  }
504
- function Fn(e, t) {
504
+ function zn(e, t) {
505
505
  for (var n in t)
506
506
  e[n] = t[n];
507
507
  return e;
508
508
  }
509
- function gt(e, t) {
509
+ function bt(e, t) {
510
510
  for (var n in e)
511
511
  if (n !== "__source" && !(n in t))
512
512
  return !0;
@@ -515,73 +515,73 @@ function gt(e, t) {
515
515
  return !0;
516
516
  return !1;
517
517
  }
518
- function Ze(e) {
518
+ function We(e) {
519
519
  this.props = e;
520
520
  }
521
- function zn(e, t) {
521
+ function qn(e, t) {
522
522
  function n(r) {
523
523
  var i = this.props.ref, s = i == r.ref;
524
- return !s && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, r) || !s : gt(this.props, r);
524
+ return !s && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, r) || !s : bt(this.props, r);
525
525
  }
526
526
  function o(r) {
527
527
  return this.shouldComponentUpdate = n, B(e, r);
528
528
  }
529
529
  return o.displayName = "Memo(" + (e.displayName || e.name) + ")", o.prototype.isReactComponent = !0, o.__f = !0, o;
530
530
  }
531
- (Ze.prototype = new ee()).isPureReactComponent = !0, Ze.prototype.shouldComponentUpdate = function(e, t) {
532
- return gt(this.props, e) || gt(this.state, t);
531
+ (We.prototype = new ee()).isPureReactComponent = !0, We.prototype.shouldComponentUpdate = function(e, t) {
532
+ return bt(this.props, e) || bt(this.state, t);
533
533
  };
534
- var Kt = w.__b;
534
+ var Jt = w.__b;
535
535
  w.__b = function(e) {
536
- e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Kt && Kt(e);
536
+ e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Jt && Jt(e);
537
537
  };
538
- var cr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
539
- function qn(e) {
538
+ var dr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
539
+ function Gn(e) {
540
540
  function t(n) {
541
- var o = Fn({}, n);
541
+ var o = zn({}, n);
542
542
  return delete o.ref, e(o, n.ref || null);
543
543
  }
544
- return t.$$typeof = cr, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
544
+ return t.$$typeof = dr, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
545
545
  }
546
- var Jt = function(e, t) {
546
+ var Xt = function(e, t) {
547
547
  return e == null ? null : le(le(e).map(t));
548
- }, Wn = { map: Jt, forEach: Jt, count: function(e) {
548
+ }, Zn = { map: Xt, forEach: Xt, count: function(e) {
549
549
  return e ? le(e).length : 0;
550
550
  }, only: function(e) {
551
551
  var t = le(e);
552
552
  if (t.length !== 1)
553
553
  throw "Children.only";
554
554
  return t[0];
555
- }, toArray: le }, dr = w.__e;
555
+ }, toArray: le }, ur = w.__e;
556
556
  w.__e = function(e, t, n, o) {
557
557
  if (e.then) {
558
558
  for (var r, i = t; i = i.__; )
559
559
  if ((r = i.__c) && r.__c)
560
560
  return t.__e == null && (t.__e = n.__e, t.__k = n.__k), r.__c(e, t);
561
561
  }
562
- dr(e, t, n, o);
562
+ ur(e, t, n, o);
563
563
  };
564
- var Xt = w.unmount;
565
- function Gn(e, t, n) {
564
+ var en = w.unmount;
565
+ function Wn(e, t, n) {
566
566
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(o) {
567
567
  typeof o.__c == "function" && o.__c();
568
- }), e.__c.__H = null), (e = Fn({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(o) {
569
- return Gn(o, t, n);
568
+ }), e.__c.__H = null), (e = zn({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(o) {
569
+ return Wn(o, t, n);
570
570
  })), e;
571
571
  }
572
- function Zn(e, t, n) {
572
+ function Yn(e, t, n) {
573
573
  return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(o) {
574
- return Zn(o, t, n);
574
+ return Yn(o, t, n);
575
575
  }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
576
576
  }
577
577
  function De() {
578
578
  this.__u = 0, this.t = null, this.__b = null;
579
579
  }
580
- function Yn(e) {
580
+ function Qn(e) {
581
581
  var t = e.__.__c;
582
582
  return t && t.__a && t.__a(e);
583
583
  }
584
- function Qn(e) {
584
+ function Kn(e) {
585
585
  var t, n, o;
586
586
  function r(i) {
587
587
  if (t || (t = e()).then(function(s) {
@@ -601,11 +601,11 @@ function Ce() {
601
601
  }
602
602
  w.unmount = function(e) {
603
603
  var t = e.__c;
604
- t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Xt && Xt(e);
604
+ t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), en && en(e);
605
605
  }, (De.prototype = new ee()).__c = function(e, t) {
606
606
  var n = t.__c, o = this;
607
607
  o.t == null && (o.t = []), o.t.push(n);
608
- var r = Yn(o.__v), i = !1, s = function() {
608
+ var r = Qn(o.__v), i = !1, s = function() {
609
609
  i || (i = !0, n.__R = null, r ? r(a) : a());
610
610
  };
611
611
  n.__R = s;
@@ -613,7 +613,7 @@ w.unmount = function(e) {
613
613
  if (!--o.__u) {
614
614
  if (o.state.__a) {
615
615
  var d = o.state.__a;
616
- o.__v.__k[0] = Zn(d, d.__c.__P, d.__c.__O);
616
+ o.__v.__k[0] = Yn(d, d.__c.__P, d.__c.__O);
617
617
  }
618
618
  var l;
619
619
  for (o.setState({ __a: o.__b = null }); l = o.t.pop(); )
@@ -627,14 +627,14 @@ w.unmount = function(e) {
627
627
  if (this.__b) {
628
628
  if (this.__v.__k) {
629
629
  var n = document.createElement("div"), o = this.__v.__k[0].__c;
630
- this.__v.__k[0] = Gn(this.__b, n, o.__O = o.__P);
630
+ this.__v.__k[0] = Wn(this.__b, n, o.__O = o.__P);
631
631
  }
632
632
  this.__b = null;
633
633
  }
634
- var r = t.__a && B(W, null, e.fallback);
635
- return r && (r.__u &= -33), [B(W, null, t.__a ? null : e.children), r];
634
+ var r = t.__a && B(G, null, e.fallback);
635
+ return r && (r.__u &= -33), [B(G, null, t.__a ? null : e.children), r];
636
636
  };
637
- var en = function(e, t, n) {
637
+ var tn = function(e, t, n) {
638
638
  if (++n[1] === n[0] && e.o.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.o.size))
639
639
  for (n = e.u; n; ) {
640
640
  for (; n.length > 3; )
@@ -644,12 +644,12 @@ var en = function(e, t, n) {
644
644
  e.u = n = n[2];
645
645
  }
646
646
  };
647
- function ur(e) {
647
+ function pr(e) {
648
648
  return this.getChildContext = function() {
649
649
  return e.context;
650
650
  }, e.children;
651
651
  }
652
- function pr(e) {
652
+ function hr(e) {
653
653
  var t = this, n = e.i;
654
654
  t.componentWillUnmount = function() {
655
655
  Ee(null, t.l), t.l = null, t.i = null;
@@ -659,17 +659,17 @@ function pr(e) {
659
659
  this.childNodes.push(o), t.i.appendChild(o);
660
660
  }, removeChild: function(o) {
661
661
  this.childNodes.splice(this.childNodes.indexOf(o) >>> 1, 1), t.i.removeChild(o);
662
- } }), Ee(B(ur, { context: t.context }, e.__v), t.l);
662
+ } }), Ee(B(pr, { context: t.context }, e.__v), t.l);
663
663
  }
664
- function Kn(e, t) {
665
- var n = B(pr, { __v: e, i: t });
664
+ function Jn(e, t) {
665
+ var n = B(hr, { __v: e, i: t });
666
666
  return n.containerInfo = t, n;
667
667
  }
668
668
  (Ce.prototype = new ee()).__a = function(e) {
669
- var t = this, n = Yn(t.__v), o = t.o.get(e);
669
+ var t = this, n = Qn(t.__v), o = t.o.get(e);
670
670
  return o[0]++, function(r) {
671
671
  var i = function() {
672
- t.props.revealOrder ? (o.push(r), en(t, e, o)) : r();
672
+ t.props.revealOrder ? (o.push(r), tn(t, e, o)) : r();
673
673
  };
674
674
  n ? n(i) : i();
675
675
  };
@@ -683,17 +683,17 @@ function Kn(e, t) {
683
683
  }, Ce.prototype.componentDidUpdate = Ce.prototype.componentDidMount = function() {
684
684
  var e = this;
685
685
  this.o.forEach(function(t, n) {
686
- en(e, n, t);
686
+ tn(e, n, t);
687
687
  });
688
688
  };
689
- var Jn = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, hr = /^(?: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]/, fr = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, mr = /[A-Z0-9]/g, _r = typeof document < "u", vr = function(e) {
689
+ var Xn = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, fr = /^(?: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]/, mr = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, vr = /[A-Z0-9]/g, _r = typeof document < "u", gr = function(e) {
690
690
  return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
691
691
  };
692
- function Xn(e, t, n) {
692
+ function eo(e, t, n) {
693
693
  return t.__k == null && (t.textContent = ""), Ee(e, t), typeof n == "function" && n(), e ? e.__c : null;
694
694
  }
695
- function eo(e, t, n) {
696
- return Nn(e, t), typeof n == "function" && n(), e ? e.__c : null;
695
+ function to(e, t, n) {
696
+ return On(e, t), typeof n == "function" && n(), e ? e.__c : null;
697
697
  }
698
698
  ee.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
699
699
  Object.defineProperty(ee.prototype, e, { configurable: !0, get: function() {
@@ -702,21 +702,21 @@ ee.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceive
702
702
  Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
703
703
  } });
704
704
  });
705
- var tn = w.event;
706
- function gr() {
707
- }
705
+ var nn = w.event;
708
706
  function br() {
709
- return this.cancelBubble;
710
707
  }
711
708
  function xr() {
709
+ return this.cancelBubble;
710
+ }
711
+ function yr() {
712
712
  return this.defaultPrevented;
713
713
  }
714
714
  w.event = function(e) {
715
- return tn && (e = tn(e)), e.persist = gr, e.isPropagationStopped = br, e.isDefaultPrevented = xr, e.nativeEvent = e;
715
+ return nn && (e = nn(e)), e.persist = br, e.isPropagationStopped = xr, e.isDefaultPrevented = yr, e.nativeEvent = e;
716
716
  };
717
- var jt, yr = { enumerable: !1, configurable: !0, get: function() {
717
+ var Rt, Cr = { enumerable: !1, configurable: !0, get: function() {
718
718
  return this.class;
719
- } }, nn = w.vnode;
719
+ } }, on = w.vnode;
720
720
  w.vnode = function(e) {
721
721
  typeof e.type == "string" && function(t) {
722
722
  var n = t.props, o = t.type, r = {};
@@ -724,73 +724,73 @@ w.vnode = function(e) {
724
724
  var s = n[i];
725
725
  if (!(i === "value" && "defaultValue" in n && s == null || _r && i === "children" && o === "noscript" || i === "class" || i === "className")) {
726
726
  var a = i.toLowerCase();
727
- i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && s === !0 ? s = "" : a === "ondoubleclick" ? i = "ondblclick" : a !== "onchange" || o !== "input" && o !== "textarea" || vr(n.type) ? a === "onfocus" ? i = "onfocusin" : a === "onblur" ? i = "onfocusout" : fr.test(i) ? i = a : o.indexOf("-") === -1 && hr.test(i) ? i = i.replace(mr, "-$&").toLowerCase() : s === null && (s = void 0) : a = i = "oninput", a === "oninput" && r[i = a] && (i = "oninputCapture"), r[i] = s;
727
+ i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && s === !0 ? s = "" : a === "ondoubleclick" ? i = "ondblclick" : a !== "onchange" || o !== "input" && o !== "textarea" || gr(n.type) ? a === "onfocus" ? i = "onfocusin" : a === "onblur" ? i = "onfocusout" : mr.test(i) ? i = a : o.indexOf("-") === -1 && fr.test(i) ? i = i.replace(vr, "-$&").toLowerCase() : s === null && (s = void 0) : a = i = "oninput", a === "oninput" && r[i = a] && (i = "oninputCapture"), r[i] = s;
728
728
  }
729
729
  }
730
730
  o == "select" && r.multiple && Array.isArray(r.value) && (r.value = le(n.children).forEach(function(d) {
731
731
  d.props.selected = r.value.indexOf(d.props.value) != -1;
732
732
  })), o == "select" && r.defaultValue != null && (r.value = le(n.children).forEach(function(d) {
733
733
  d.props.selected = r.multiple ? r.defaultValue.indexOf(d.props.value) != -1 : r.defaultValue == d.props.value;
734
- })), n.class && !n.className ? (r.class = n.class, Object.defineProperty(r, "className", yr)) : (n.className && !n.class || n.class && n.className) && (r.class = r.className = n.className), t.props = r;
735
- }(e), e.$$typeof = Jn, nn && nn(e);
734
+ })), n.class && !n.className ? (r.class = n.class, Object.defineProperty(r, "className", Cr)) : (n.className && !n.class || n.class && n.className) && (r.class = r.className = n.className), t.props = r;
735
+ }(e), e.$$typeof = Xn, on && on(e);
736
736
  };
737
- var on = w.__r;
737
+ var rn = w.__r;
738
738
  w.__r = function(e) {
739
- on && on(e), jt = e.__c;
739
+ rn && rn(e), Rt = e.__c;
740
740
  };
741
- var rn = w.diffed;
741
+ var sn = w.diffed;
742
742
  w.diffed = function(e) {
743
- rn && rn(e);
743
+ sn && sn(e);
744
744
  var t = e.props, n = e.__e;
745
- n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), jt = null;
745
+ n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), Rt = null;
746
746
  };
747
- var to = { ReactCurrentDispatcher: { current: { readContext: function(e) {
748
- return jt.__n[e.__c].props.value;
749
- } } } }, Cr = "17.0.2";
750
- function no(e) {
747
+ var no = { ReactCurrentDispatcher: { current: { readContext: function(e) {
748
+ return Rt.__n[e.__c].props.value;
749
+ } } } }, kr = "17.0.2";
750
+ function oo(e) {
751
751
  return B.bind(null, e);
752
752
  }
753
753
  function Ae(e) {
754
- return !!e && e.$$typeof === Jn;
755
- }
756
- function oo(e) {
757
- return Ae(e) && e.type === W;
754
+ return !!e && e.$$typeof === Xn;
758
755
  }
759
756
  function ro(e) {
760
- return Ae(e) ? ir.apply(null, arguments) : e;
757
+ return Ae(e) && e.type === G;
761
758
  }
762
759
  function io(e) {
763
- return !!e.__k && (Ee(null, e), !0);
760
+ return Ae(e) ? sr.apply(null, arguments) : e;
764
761
  }
765
762
  function so(e) {
763
+ return !!e.__k && (Ee(null, e), !0);
764
+ }
765
+ function ao(e) {
766
766
  return e && (e.base || e.nodeType === 1 && e) || null;
767
767
  }
768
- var ao = function(e, t) {
768
+ var lo = function(e, t) {
769
769
  return e(t);
770
- }, lo = function(e, t) {
770
+ }, co = function(e, t) {
771
771
  return e(t);
772
- }, co = W;
773
- function Rt(e) {
772
+ }, uo = G;
773
+ function It(e) {
774
774
  e();
775
775
  }
776
- function uo(e) {
776
+ function po(e) {
777
777
  return e;
778
778
  }
779
- function po() {
780
- return [!1, Rt];
779
+ function ho() {
780
+ return [!1, It];
781
781
  }
782
- var ho = Me, fo = Ae;
783
- function mo(e, t) {
782
+ var fo = Me, mo = Ae;
783
+ function vo(e, t) {
784
784
  var n = t(), o = z({ h: { __: n, v: t } }), r = o[0].h, i = o[1];
785
785
  return Me(function() {
786
- r.__ = n, r.v = t, rt(r) && i({ h: r });
786
+ r.__ = n, r.v = t, it(r) && i({ h: r });
787
787
  }, [e, n, t]), Y(function() {
788
- return rt(r) && i({ h: r }), e(function() {
789
- rt(r) && i({ h: r });
788
+ return it(r) && i({ h: r }), e(function() {
789
+ it(r) && i({ h: r });
790
790
  });
791
791
  }, [e]), n;
792
792
  }
793
- function rt(e) {
793
+ function it(e) {
794
794
  var t, n, o = e.v, r = e.__;
795
795
  try {
796
796
  var i = o();
@@ -799,55 +799,55 @@ function rt(e) {
799
799
  return !0;
800
800
  }
801
801
  }
802
- var kr = { useState: z, useId: Bn, useReducer: Et, useEffect: Y, useLayoutEffect: Me, useInsertionEffect: ho, useTransition: po, useDeferredValue: uo, useSyncExternalStore: mo, startTransition: Rt, useRef: me, useImperativeHandle: Un, useMemo: Ke, useCallback: Vn, useContext: $n, useDebugValue: Tt, version: "17.0.2", Children: Wn, render: Xn, hydrate: eo, unmountComponentAtNode: io, createPortal: Kn, createElement: B, createContext: On, createFactory: no, cloneElement: ro, createRef: jn, Fragment: W, isValidElement: Ae, isElement: fo, isFragment: oo, findDOMNode: so, Component: ee, PureComponent: Ze, memo: zn, forwardRef: qn, flushSync: lo, unstable_batchedUpdates: ao, StrictMode: co, Suspense: De, SuspenseList: Ce, lazy: Qn, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: to };
803
- const wr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
802
+ var wr = { useState: z, useId: Hn, useReducer: Tt, useEffect: Y, useLayoutEffect: Me, useInsertionEffect: fo, useTransition: ho, useDeferredValue: po, useSyncExternalStore: vo, startTransition: It, useRef: me, useImperativeHandle: Vn, useMemo: Ke, useCallback: $n, useContext: Bn, useDebugValue: Pt, version: "17.0.2", Children: Zn, render: eo, hydrate: to, unmountComponentAtNode: so, createPortal: Jn, createElement: B, createContext: Mn, createFactory: oo, cloneElement: io, createRef: Rn, Fragment: G, isValidElement: Ae, isElement: mo, isFragment: ro, findDOMNode: ao, Component: ee, PureComponent: We, memo: qn, forwardRef: Gn, flushSync: co, unstable_batchedUpdates: lo, StrictMode: uo, Suspense: De, SuspenseList: Ce, lazy: Kn, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: no };
803
+ const Sr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
804
804
  __proto__: null,
805
- Children: Wn,
805
+ Children: Zn,
806
806
  Component: ee,
807
- Fragment: W,
808
- PureComponent: Ze,
809
- StrictMode: co,
807
+ Fragment: G,
808
+ PureComponent: We,
809
+ StrictMode: uo,
810
810
  Suspense: De,
811
811
  SuspenseList: Ce,
812
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: to,
813
- cloneElement: ro,
814
- createContext: On,
812
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: no,
813
+ cloneElement: io,
814
+ createContext: Mn,
815
815
  createElement: B,
816
- createFactory: no,
817
- createPortal: Kn,
818
- createRef: jn,
819
- default: kr,
820
- findDOMNode: so,
821
- flushSync: lo,
822
- forwardRef: qn,
823
- hydrate: eo,
824
- isElement: fo,
825
- isFragment: oo,
816
+ createFactory: oo,
817
+ createPortal: Jn,
818
+ createRef: Rn,
819
+ default: wr,
820
+ findDOMNode: ao,
821
+ flushSync: co,
822
+ forwardRef: Gn,
823
+ hydrate: to,
824
+ isElement: mo,
825
+ isFragment: ro,
826
826
  isValidElement: Ae,
827
- lazy: Qn,
828
- memo: zn,
829
- render: Xn,
830
- startTransition: Rt,
831
- unmountComponentAtNode: io,
832
- unstable_batchedUpdates: ao,
833
- useCallback: Vn,
834
- useContext: $n,
835
- useDebugValue: Tt,
836
- useDeferredValue: uo,
827
+ lazy: Kn,
828
+ memo: qn,
829
+ render: eo,
830
+ startTransition: It,
831
+ unmountComponentAtNode: so,
832
+ unstable_batchedUpdates: lo,
833
+ useCallback: $n,
834
+ useContext: Bn,
835
+ useDebugValue: Pt,
836
+ useDeferredValue: po,
837
837
  useEffect: Y,
838
- useErrorBoundary: sr,
839
- useId: Bn,
840
- useImperativeHandle: Un,
841
- useInsertionEffect: ho,
838
+ useErrorBoundary: ar,
839
+ useId: Hn,
840
+ useImperativeHandle: Vn,
841
+ useInsertionEffect: fo,
842
842
  useLayoutEffect: Me,
843
843
  useMemo: Ke,
844
- useReducer: Et,
844
+ useReducer: Tt,
845
845
  useRef: me,
846
846
  useState: z,
847
- useSyncExternalStore: mo,
848
- useTransition: po,
849
- version: Cr
850
- }, Symbol.toStringTag, { value: "Module" })), sn = (e) => {
847
+ useSyncExternalStore: vo,
848
+ useTransition: ho,
849
+ version: kr
850
+ }, Symbol.toStringTag, { value: "Module" })), an = (e) => {
851
851
  let t;
852
852
  const n = /* @__PURE__ */ new Set(), o = (d, l) => {
853
853
  const p = typeof d == "function" ? d(t) : d;
@@ -857,10 +857,10 @@ const wr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
857
857
  }
858
858
  }, r = () => t, a = { setState: o, getState: r, subscribe: (d) => (n.add(d), () => n.delete(d)), destroy: () => n.clear() };
859
859
  return t = e(o, r, a), a;
860
- }, Sr = (e) => e ? sn(e) : sn;
861
- var _o = { exports: {} }, vo = {};
862
- const go = /* @__PURE__ */ Fo(wr);
863
- var bo = { exports: {} }, xo = {};
860
+ }, Er = (e) => e ? an(e) : an;
861
+ var _o = { exports: {} }, go = {};
862
+ const bo = /* @__PURE__ */ zo(Sr);
863
+ var xo = { exports: {} }, yo = {};
864
864
  /**
865
865
  * @license React
866
866
  * use-sync-external-store-shim.production.min.js
@@ -870,38 +870,38 @@ var bo = { exports: {} }, xo = {};
870
870
  * This source code is licensed under the MIT license found in the
871
871
  * LICENSE file in the root directory of this source tree.
872
872
  */
873
- var Pe = go;
874
- function Er(e, t) {
873
+ var Pe = bo;
874
+ function Tr(e, t) {
875
875
  return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
876
876
  }
877
- var Tr = typeof Object.is == "function" ? Object.is : Er, Pr = Pe.useState, jr = Pe.useEffect, Rr = Pe.useLayoutEffect, Ir = Pe.useDebugValue;
878
- function Lr(e, t) {
879
- var n = t(), o = Pr({ inst: { value: n, getSnapshot: t } }), r = o[0].inst, i = o[1];
880
- return Rr(function() {
881
- r.value = n, r.getSnapshot = t, it(r) && i({ inst: r });
882
- }, [e, n, t]), jr(function() {
883
- return it(r) && i({ inst: r }), e(function() {
884
- it(r) && i({ inst: r });
877
+ var Pr = typeof Object.is == "function" ? Object.is : Tr, jr = Pe.useState, Rr = Pe.useEffect, Ir = Pe.useLayoutEffect, Lr = Pe.useDebugValue;
878
+ function Dr(e, t) {
879
+ var n = t(), o = jr({ inst: { value: n, getSnapshot: t } }), r = o[0].inst, i = o[1];
880
+ return Ir(function() {
881
+ r.value = n, r.getSnapshot = t, st(r) && i({ inst: r });
882
+ }, [e, n, t]), Rr(function() {
883
+ return st(r) && i({ inst: r }), e(function() {
884
+ st(r) && i({ inst: r });
885
885
  });
886
- }, [e]), Ir(n), n;
886
+ }, [e]), Lr(n), n;
887
887
  }
888
- function it(e) {
888
+ function st(e) {
889
889
  var t = e.getSnapshot;
890
890
  e = e.value;
891
891
  try {
892
892
  var n = t();
893
- return !Tr(e, n);
893
+ return !Pr(e, n);
894
894
  } catch {
895
895
  return !0;
896
896
  }
897
897
  }
898
- function Dr(e, t) {
898
+ function Nr(e, t) {
899
899
  return t();
900
900
  }
901
- var Nr = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? Dr : Lr;
902
- xo.useSyncExternalStore = Pe.useSyncExternalStore !== void 0 ? Pe.useSyncExternalStore : Nr;
903
- bo.exports = xo;
904
- var Or = bo.exports;
901
+ var Or = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? Nr : Dr;
902
+ yo.useSyncExternalStore = Pe.useSyncExternalStore !== void 0 ? Pe.useSyncExternalStore : Or;
903
+ xo.exports = yo;
904
+ var Mr = xo.exports;
905
905
  /**
906
906
  * @license React
907
907
  * use-sync-external-store-shim/with-selector.production.min.js
@@ -911,32 +911,32 @@ var Or = bo.exports;
911
911
  * This source code is licensed under the MIT license found in the
912
912
  * LICENSE file in the root directory of this source tree.
913
913
  */
914
- var Je = go, Mr = Or;
915
- function Ar(e, t) {
914
+ var Je = bo, Ar = Mr;
915
+ function Ur(e, t) {
916
916
  return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
917
917
  }
918
- var Ur = typeof Object.is == "function" ? Object.is : Ar, Vr = Mr.useSyncExternalStore, $r = Je.useRef, Br = Je.useEffect, Hr = Je.useMemo, Fr = Je.useDebugValue;
919
- vo.useSyncExternalStoreWithSelector = function(e, t, n, o, r) {
920
- var i = $r(null);
918
+ var Vr = typeof Object.is == "function" ? Object.is : Ur, $r = Ar.useSyncExternalStore, Br = Je.useRef, Hr = Je.useEffect, Fr = Je.useMemo, zr = Je.useDebugValue;
919
+ go.useSyncExternalStoreWithSelector = function(e, t, n, o, r) {
920
+ var i = Br(null);
921
921
  if (i.current === null) {
922
922
  var s = { hasValue: !1, value: null };
923
923
  i.current = s;
924
924
  } else
925
925
  s = i.current;
926
- i = Hr(function() {
926
+ i = Fr(function() {
927
927
  function d(f) {
928
928
  if (!l) {
929
929
  if (l = !0, p = f, f = o(f), r !== void 0 && s.hasValue) {
930
- var _ = s.value;
931
- if (r(_, f))
932
- return c = _;
930
+ var v = s.value;
931
+ if (r(v, f))
932
+ return c = v;
933
933
  }
934
934
  return c = f;
935
935
  }
936
- if (_ = c, Ur(p, f))
937
- return _;
936
+ if (v = c, Vr(p, f))
937
+ return v;
938
938
  var m = o(f);
939
- return r !== void 0 && r(_, m) ? _ : (p = f, c = m);
939
+ return r !== void 0 && r(v, m) ? v : (p = f, c = m);
940
940
  }
941
941
  var l = !1, p, c, h = n === void 0 ? null : n;
942
942
  return [function() {
@@ -945,30 +945,30 @@ vo.useSyncExternalStoreWithSelector = function(e, t, n, o, r) {
945
945
  return d(h());
946
946
  }];
947
947
  }, [t, n, o, r]);
948
- var a = Vr(e, i[0], i[1]);
949
- return Br(function() {
948
+ var a = $r(e, i[0], i[1]);
949
+ return Hr(function() {
950
950
  s.hasValue = !0, s.value = a;
951
- }, [a]), Fr(a), a;
951
+ }, [a]), zr(a), a;
952
952
  };
953
- _o.exports = vo;
954
- var zr = _o.exports;
955
- const qr = /* @__PURE__ */ zo(zr), { useSyncExternalStoreWithSelector: Wr } = qr;
956
- function Gr(e, t = e.getState, n) {
957
- const o = Wr(
953
+ _o.exports = go;
954
+ var qr = _o.exports;
955
+ const Gr = /* @__PURE__ */ qo(qr), { useSyncExternalStoreWithSelector: Zr } = Gr;
956
+ function Wr(e, t = e.getState, n) {
957
+ const o = Zr(
958
958
  e.subscribe,
959
959
  e.getState,
960
960
  e.getServerState || e.getState,
961
961
  t,
962
962
  n
963
963
  );
964
- return Tt(o), o;
964
+ return Pt(o), o;
965
965
  }
966
- const an = (e) => {
967
- const t = typeof e == "function" ? Sr(e) : e, n = (o, r) => Gr(t, o, r);
966
+ const ln = (e) => {
967
+ const t = typeof e == "function" ? Er(e) : e, n = (o, r) => Wr(t, o, r);
968
968
  return Object.assign(n, t), n;
969
- }, yo = (e) => e ? an(e) : an;
970
- var bt = /* @__PURE__ */ ((e) => (e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(bt || {});
971
- const ln = 1, It = {
969
+ }, Co = (e) => e ? ln(e) : ln;
970
+ var xt = /* @__PURE__ */ ((e) => (e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(xt || {});
971
+ const cn = 1, Lt = {
972
972
  eq(e, t) {
973
973
  return e == t;
974
974
  },
@@ -1028,7 +1028,7 @@ const ln = 1, It = {
1028
1028
  notcontains(e, t) {
1029
1029
  return !this.contains(e, t);
1030
1030
  }
1031
- }, Zr = (e, t, n) => {
1031
+ }, Yr = (e, t, n) => {
1032
1032
  switch (t) {
1033
1033
  case b.VideoVoice:
1034
1034
  return !!(e && e.value);
@@ -1053,13 +1053,13 @@ const ln = 1, It = {
1053
1053
  default:
1054
1054
  return !0;
1055
1055
  }
1056
- }, Co = (e, t) => {
1056
+ }, ko = (e, t) => {
1057
1057
  if (t === b.Matrix) {
1058
1058
  const n = Object.keys(e).length, o = Object.values(e).filter((r) => r !== null).length;
1059
1059
  return o > 0 && o < n;
1060
1060
  }
1061
1061
  return !1;
1062
- }, ko = ({
1062
+ }, wo = ({
1063
1063
  cards: e,
1064
1064
  index: t,
1065
1065
  hasEndCard: n,
@@ -1081,7 +1081,7 @@ const ln = 1, It = {
1081
1081
  const f = c[0];
1082
1082
  if (f.questionIndex === void 0 || f.questionIndex > o.length)
1083
1083
  continue;
1084
- let _ = cn({
1084
+ let v = dn({
1085
1085
  comparator: f.comparator,
1086
1086
  // @ts-expect-error - unknown response type
1087
1087
  response: o[f.questionIndex],
@@ -1090,17 +1090,17 @@ const ln = 1, It = {
1090
1090
  value: f.value
1091
1091
  });
1092
1092
  for (let m = 1; m < c.length; m += 2) {
1093
- const x = c[m], v = c[m + 1], C = cn({
1094
- comparator: v.comparator,
1093
+ const x = c[m], _ = c[m + 1], C = dn({
1094
+ comparator: _.comparator,
1095
1095
  // @ts-expect-error - unknown response type
1096
- response: o[v.questionIndex],
1096
+ response: o[_.questionIndex],
1097
1097
  // @ts-expect-error - expected card type
1098
- type: e[v.questionIndex].type,
1099
- value: v.value
1098
+ type: e[_.questionIndex].type,
1099
+ value: _.value
1100
1100
  });
1101
- x === bt.And ? _ && (_ = C) : x === bt.Or && (_ || (_ = C));
1101
+ x === xt.And ? v && (v = C) : x === xt.Or && (v || (v = C));
1102
1102
  }
1103
- if (_) {
1103
+ if (v) {
1104
1104
  s = h === -1 && n ? e.length - 1 : h;
1105
1105
  break;
1106
1106
  }
@@ -1108,7 +1108,7 @@ const ln = 1, It = {
1108
1108
  const d = e.findIndex((p) => p.type === b.Uploading);
1109
1109
  let l;
1110
1110
  return d > 0 ? l = n ? e.length - 3 : e.length - 2 : l = e.length - 1, t >= l || s === -1 || s !== null && s > l ? d > 0 && Object.values(r).some((c) => c.isSubmitted && !c.isComplete) ? d : n ? e.length - 1 : null : s === -1 ? null : s;
1111
- }, cn = ({
1111
+ }, dn = ({
1112
1112
  comparator: e,
1113
1113
  response: t,
1114
1114
  type: n,
@@ -1141,7 +1141,7 @@ const ln = 1, It = {
1141
1141
  if (e === J.GivenUp)
1142
1142
  return n === b.RecordedTask ? "taskStatus" in t && t.taskStatus === X.GivenUp : !0;
1143
1143
  if (e === J.Partial)
1144
- return n === b.Matrix ? Co(t, n) : !1;
1144
+ return n === b.Matrix ? ko(t, n) : !1;
1145
1145
  if (e === J.Skipped)
1146
1146
  switch (n) {
1147
1147
  case b.TextUrlPrompt:
@@ -1167,12 +1167,12 @@ const ln = 1, It = {
1167
1167
  default:
1168
1168
  return !1;
1169
1169
  }
1170
- return It[e](t, o);
1171
- }, Yr = 13, Qr = (e, t) => e.reduce((n, o) => n.concat(n.map((r) => [...r, o])), [[]]).filter((n) => t || n.length > 0), Kr = (e) => {
1170
+ return Lt[e](t, o);
1171
+ }, Qr = 13, Kr = (e, t) => e.reduce((n, o) => n.concat(n.map((r) => [...r, o])), [[]]).filter((n) => t || n.length > 0), Jr = (e) => {
1172
1172
  var t, n, o;
1173
1173
  switch (e.type) {
1174
1174
  case b.MultipleSelect:
1175
- return !e || !e.props || !e.props.options ? null : e.props.options.length > Yr ? e.props.options.map((r) => [r.value]) : Qr(e.props.options.map((r) => r.value), !e.props.properties.required);
1175
+ return !e || !e.props || !e.props.options ? null : e.props.options.length > Qr ? e.props.options.map((r) => [r.value]) : Kr(e.props.options.map((r) => r.value), !e.props.properties.required);
1176
1176
  case b.MultipleChoice: {
1177
1177
  if (!e || !e.props || !e.props.options)
1178
1178
  return null;
@@ -1210,11 +1210,11 @@ const ln = 1, It = {
1210
1210
  skipped: !0
1211
1211
  }]];
1212
1212
  case b.ConsentLegal:
1213
- return [ln, ...e.props.properties.required ? [] : [null]];
1213
+ return [cn, ...e.props.properties.required ? [] : [null]];
1214
1214
  default:
1215
- return [ln];
1215
+ return [cn];
1216
1216
  }
1217
- }, Jr = (e) => e in It, Xr = (e) => typeof e == "object" && e !== null && "taskStatus" in e, ei = (e, t = []) => t.reduce((n, o) => {
1217
+ }, Xr = (e) => e in Lt, ei = (e) => typeof e == "object" && e !== null && "taskStatus" in e, ti = (e, t = []) => t.reduce((n, o) => {
1218
1218
  const {
1219
1219
  group: r,
1220
1220
  target: i
@@ -1233,7 +1233,7 @@ const ln = 1, It = {
1233
1233
  };
1234
1234
  });
1235
1235
  return [...n, ...s];
1236
- }, []), ti = (e, t) => {
1236
+ }, []), ni = (e, t) => {
1237
1237
  const n = /* @__PURE__ */ new Set([b.Thanks, b.Uploading]);
1238
1238
  if (t >= e.length || t < 0 || n.has(e[t].type))
1239
1239
  return 0;
@@ -1245,12 +1245,12 @@ const ln = 1, It = {
1245
1245
  [-1]: 0
1246
1246
  };
1247
1247
  for (let i = o.length - 2; i >= t; i--) {
1248
- const s = o[i], a = ei(i, s.props.routingOptions);
1248
+ const s = o[i], a = ti(i, s.props.routingOptions);
1249
1249
  if (a.length === 0) {
1250
1250
  r[i] = r[i + 1] + 1;
1251
1251
  continue;
1252
1252
  }
1253
- let d = 0, l = Kr(s);
1253
+ let d = 0, l = Jr(s);
1254
1254
  if (l === null)
1255
1255
  return o.length - 1 - t;
1256
1256
  for (let p = 0; p < a.length && l.length !== 0; p++) {
@@ -1258,24 +1258,24 @@ const ln = 1, It = {
1258
1258
  comparator: c,
1259
1259
  target: h,
1260
1260
  value: f
1261
- } = a[p], _ = l.filter((m) => {
1262
- const x = Zr({
1261
+ } = a[p], v = l.filter((m) => {
1262
+ const x = Yr({
1263
1263
  value: m
1264
- }, s.type, m), v = Co(m, s.type);
1265
- return !(x && c === J.Answered || v && c === J.Partial || !x && !v && c === J.Skipped || c === J.GivenUp && Xr(m) && m.taskStatus === X.GivenUp || x && s.type === b.Open && (c === J.Contains || c === J.DoesNotContain) || x && Jr(c) && It[c](m, f));
1264
+ }, s.type, m), _ = ko(m, s.type);
1265
+ return !(x && c === J.Answered || _ && c === J.Partial || !x && !_ && c === J.Skipped || c === J.GivenUp && ei(m) && m.taskStatus === X.GivenUp || x && s.type === b.Open && (c === J.Contains || c === J.DoesNotContain) || x && Xr(c) && Lt[c](m, f));
1266
1266
  });
1267
- if (_.length < l.length) {
1267
+ if (v.length < l.length) {
1268
1268
  const m = parseInt(String(h), 10);
1269
1269
  if (m !== -1 && m <= i || m >= o.length)
1270
1270
  return o.length - 1 - t;
1271
1271
  d = Math.max(r[m] + 1, d);
1272
1272
  }
1273
- l = _;
1273
+ l = v;
1274
1274
  }
1275
1275
  l.length > 0 && (d = Math.max(r[i + 1] + 1, d)), r[i] = d;
1276
1276
  }
1277
1277
  return r[t];
1278
- }, ni = (e) => !(e.type === b.Thanks || e.type === b.Uploading), $ = yo()((e, t) => ({
1278
+ }, oi = (e) => !(e.type === b.Thanks || e.type === b.Uploading), $ = Co()((e, t) => ({
1279
1279
  allResponses: [],
1280
1280
  answers: void 0,
1281
1281
  apiURL: "",
@@ -1287,10 +1287,10 @@ const ln = 1, It = {
1287
1287
  remove: i,
1288
1288
  trackHistory: s
1289
1289
  } = o;
1290
- await r(n), st(o) || s({
1290
+ await r(n), at(o) || s({
1291
1291
  event: "closed"
1292
- }), Ut.enable(), i({
1293
- initiator: Vt.Closed
1292
+ }), ot(`Closing survey: ${o.surveyId}`), Vt.enable(), i({
1293
+ initiator: $t.Closed
1294
1294
  });
1295
1295
  },
1296
1296
  configureExitOnOverlayClick: () => {
@@ -1302,8 +1302,8 @@ const ln = 1, It = {
1302
1302
  fadeout: r,
1303
1303
  remove: i
1304
1304
  } = t();
1305
- o(ce.SurveyComplete), await r(n), Ut.enable(), i({
1306
- initiator: Vt.Complete
1305
+ o(ce.SurveyComplete), await r(n), Vt.enable(), i({
1306
+ initiator: $t.Complete
1307
1307
  });
1308
1308
  },
1309
1309
  endCard: {
@@ -1317,7 +1317,7 @@ const ln = 1, It = {
1317
1317
  headers: r,
1318
1318
  viewDocument: i
1319
1319
  } = t();
1320
- return We(r) ? Promise.resolve() : (o(pe.SurveyFadingOut), new Promise((s) => {
1320
+ return Ge(r) ? Promise.resolve() : (o(pe.SurveyFadingOut), new Promise((s) => {
1321
1321
  const a = i.getElementById(n);
1322
1322
  a ? (a.addEventListener("transitionend", () => {
1323
1323
  s();
@@ -1346,7 +1346,7 @@ const ln = 1, It = {
1346
1346
  progressPct: r,
1347
1347
  isSubmitted: i
1348
1348
  }) => {
1349
- var f, _, m;
1349
+ var f, v, m;
1350
1350
  const {
1351
1351
  cards: s,
1352
1352
  destroy: a,
@@ -1355,7 +1355,7 @@ const ln = 1, It = {
1355
1355
  } = t(), p = o || ((f = l[n]) == null ? void 0 : f.isComplete), c = {
1356
1356
  ...l,
1357
1357
  [n]: {
1358
- progressPct: p ? 100 : r || ((_ = l[n]) == null ? void 0 : _.progressPct),
1358
+ progressPct: p ? 100 : r || ((v = l[n]) == null ? void 0 : v.progressPct),
1359
1359
  isComplete: p,
1360
1360
  isSubmitted: i || ((m = l[n]) == null ? void 0 : m.isSubmitted)
1361
1361
  }
@@ -1364,7 +1364,7 @@ const ln = 1, It = {
1364
1364
  uploadProgress: c
1365
1365
  }), s[d].type !== b.Uploading)
1366
1366
  return;
1367
- const h = Object.entries(l).every(([x, v]) => !v.isSubmitted || v.isComplete || n == x && o);
1367
+ const h = Object.entries(l).every(([x, _]) => !_.isSubmitted || _.isComplete || n == x && o);
1368
1368
  if (h && d >= s.length - 1)
1369
1369
  return a(ke);
1370
1370
  e({
@@ -1376,9 +1376,9 @@ const ln = 1, It = {
1376
1376
  headers: {
1377
1377
  Authorization: "",
1378
1378
  "Content-Type": "",
1379
- "userleap-platform": ut.Web,
1379
+ "userleap-platform": pt.Web,
1380
1380
  "x-ul-environment-id": "",
1381
- "x-ul-installation-method": kn.Snippet,
1381
+ "x-ul-installation-method": wn.Snippet,
1382
1382
  "x-ul-sdk-version": "",
1383
1383
  "x-ul-visitor-id": ""
1384
1384
  },
@@ -1406,24 +1406,24 @@ const ln = 1, It = {
1406
1406
  trackHistory: l,
1407
1407
  uploadProgress: p,
1408
1408
  viewedCardCount: c
1409
- } = t(), h = Date.now(), f = [...r], _ = f[s], {
1409
+ } = t(), h = Date.now(), f = [...r], v = f[s], {
1410
1410
  type: m
1411
1411
  } = n.data, x = {
1412
1412
  ...n.data
1413
- }, v = x.value;
1414
- ni(_) && (_.value = v), x.answeredAt = h, delete x.type;
1413
+ }, _ = x.value;
1414
+ oi(v) && (v.value = _), x.answeredAt = h, delete x.type;
1415
1415
  const C = {
1416
1416
  response: x,
1417
1417
  responseGroupUid: a,
1418
1418
  questionIndex: s
1419
1419
  };
1420
- let k = m === b.MultipleChoice ? Object.values(v).find((R) => R !== !1) : v;
1421
- m === b.MultipleSelect && (k = f[s].props.options.reduce((R, S) => (v[S.id] && R.push(S.value), R), []));
1420
+ let k = m === b.MultipleChoice ? Object.values(_).find((R) => R !== !1) : _;
1421
+ m === b.MultipleSelect && (k = f[s].props.options.reduce((R, S) => (_[S.id] && R.push(S.value), R), []));
1422
1422
  const T = o.slice(0);
1423
1423
  T[s] = k, e({
1424
1424
  allResponses: T
1425
1425
  });
1426
- const g = ko({
1426
+ const g = wo({
1427
1427
  cards: f,
1428
1428
  index: s,
1429
1429
  hasEndCard: !!n.endCard,
@@ -1511,7 +1511,7 @@ const ln = 1, It = {
1511
1511
  responseGroupUid: i
1512
1512
  }) => {
1513
1513
  const s = t();
1514
- if (!i || st(s))
1514
+ if (!i || at(s))
1515
1515
  return;
1516
1516
  const a = {
1517
1517
  responseGroupUid: i,
@@ -1521,16 +1521,16 @@ const ln = 1, It = {
1521
1521
  completedAt: n,
1522
1522
  previewKey: s.previewKey
1523
1523
  };
1524
- n && qo({
1524
+ ot(`Submitting response: ${JSON.stringify(r.value, null, 2)} for survey: ${s.surveyId}`), n && (ot("Survey complete"), Go({
1525
1525
  id: s.surveyId
1526
- });
1527
- const d = await s.trackPromise(pt(`${s.apiURL}/sdk/1/environments/${s.envId}/visitors/${s.userId}/responses/submit`, {
1526
+ }));
1527
+ const d = await s.trackPromise(ht(`${s.apiURL}/sdk/1/environments/${s.envId}/visitors/${s.userId}/responses/submit`, {
1528
1528
  body: JSON.stringify(a),
1529
1529
  headers: s.headers,
1530
1530
  method: "POST"
1531
1531
  }));
1532
1532
  if (!d.ok) {
1533
- d.reportError && (console.warn("[Sprig] (ERR-427) Failed to submit response", d.error), await s.trackPromise(dn(s, "submitResponse", d.error)));
1533
+ d.reportError && (console.warn("[Sprig] (ERR-427) Failed to submit response", d.error), await s.trackPromise(un(s, "submitResponse", d.error)));
1534
1534
  return;
1535
1535
  }
1536
1536
  s.eventEmitFn(pe.QuestionAnswered, {
@@ -1546,7 +1546,7 @@ const ln = 1, It = {
1546
1546
  isNew: r = !1
1547
1547
  }) => {
1548
1548
  const i = t();
1549
- if (st(i))
1549
+ if (at(i))
1550
1550
  return;
1551
1551
  const {
1552
1552
  cards: s,
@@ -1560,12 +1560,12 @@ const ln = 1, It = {
1560
1560
  isNew: r,
1561
1561
  responseGroupUid: i.responseGroupUid,
1562
1562
  previewKey: i.previewKey
1563
- }, p = await i.trackPromise(pt(`${i.apiURL}/sdk/1/visitors/${i.userId}/surveys/${i.surveyId}/history`, {
1563
+ }, p = await i.trackPromise(ht(`${i.apiURL}/sdk/1/visitors/${i.userId}/surveys/${i.surveyId}/history`, {
1564
1564
  body: JSON.stringify(l),
1565
1565
  headers: i.headers,
1566
1566
  method: "POST"
1567
1567
  }));
1568
- !p.ok && p.reportError && (console.warn("[Sprig] (ERR-428) Failed to track survey event", p.error), await i.trackPromise(dn(i, "trackHistory", p.error)));
1568
+ !p.ok && p.reportError && (console.warn("[Sprig] (ERR-428) Failed to track survey event", p.error), await i.trackPromise(un(i, "trackHistory", p.error)));
1569
1569
  },
1570
1570
  trackPromise: async (n) => {
1571
1571
  let {
@@ -1589,12 +1589,12 @@ const ln = 1, It = {
1589
1589
  viewDocument: d
1590
1590
  } = t(), p = n[o].type === b.Matrix;
1591
1591
  setTimeout(() => {
1592
- var f, _;
1593
- const [c, h] = Wo(d);
1594
- We(r) ? i(pe.SurveyHeight, {
1592
+ var f, v;
1593
+ const [c, h] = Zo(d);
1594
+ Ge(r) ? i(pe.SurveyHeight, {
1595
1595
  name: pe.SurveyHeight,
1596
1596
  contentFrameHeight: c
1597
- }) : ((f = s.setHeight) == null || f.call(s, c), a || (_ = s.setWidth) == null || _.call(s, p ? h : parseInt(Go)));
1597
+ }) : ((f = s.setHeight) == null || f.call(s, c), a || (v = s.setWidth) == null || v.call(s, p ? h : parseInt(Wo)));
1598
1598
  }, 100);
1599
1599
  },
1600
1600
  uploadingCardViewed: !1,
@@ -1604,7 +1604,7 @@ const ln = 1, It = {
1604
1604
  userId: "",
1605
1605
  viewDocument: window.document,
1606
1606
  viewedCardCount: 0
1607
- })), st = (e) => !e.userId || e.meta && e.meta.mode === "test" || e.isPreview, dn = async (e, t, n) => {
1607
+ })), at = (e) => !e.userId || e.meta && e.meta.mode === "test" || e.isPreview, un = async (e, t, n) => {
1608
1608
  const {
1609
1609
  mode: o,
1610
1610
  userId: r,
@@ -1629,27 +1629,34 @@ const ln = 1, It = {
1629
1629
  meta: p,
1630
1630
  vid: r,
1631
1631
  envId: i
1632
- };
1633
- (await pt(`${s}/sdk/1/errors`, {
1632
+ }, h = await ht(`${s}/sdk/1/errors`, {
1634
1633
  method: "POST",
1635
1634
  headers: Object.assign({
1636
1635
  "x-ul-error": window.btoa(`userleap-${Date.now()}-error`)
1637
1636
  }, a),
1638
1637
  body: JSON.stringify(c)
1639
- })).ok || console.warn("[Sprig] (ERR-444) Failed to report error to API", n);
1638
+ });
1639
+ if (!h.ok)
1640
+ console.warn("[Sprig] (ERR-444) Failed to report error to API", n);
1641
+ else {
1642
+ const {
1643
+ presignedUrl: f
1644
+ } = h.json;
1645
+ Yo(f);
1646
+ }
1640
1647
  };
1641
- var oi = 0;
1648
+ var ri = 0;
1642
1649
  function u(e, t, n, o, r, i) {
1643
1650
  var s, a, d = {};
1644
1651
  for (a in t)
1645
1652
  a == "ref" ? s = t[a] : d[a] = t[a];
1646
- var l = { type: e, props: d, key: n, ref: s, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --oi, __i: -1, __u: 0, __source: r, __self: i };
1653
+ var l = { type: e, props: d, key: n, ref: s, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --ri, __i: -1, __u: 0, __source: r, __self: i };
1647
1654
  if (typeof e == "function" && (s = e.defaultProps))
1648
1655
  for (a in s)
1649
1656
  d[a] === void 0 && (d[a] = s[a]);
1650
1657
  return w.vnode && w.vnode(l), l;
1651
1658
  }
1652
- const G = (e) => u("button", {
1659
+ const Z = (e) => u("button", {
1653
1660
  ...e,
1654
1661
  className: M("ul-card-text__button", e.className),
1655
1662
  id: "ul-card-text__button"
@@ -1658,7 +1665,7 @@ const G = (e) => u("button", {
1658
1665
  properties: t
1659
1666
  }) => {
1660
1667
  const n = t == null ? void 0 : t.captionText;
1661
- return u(W, {
1668
+ return u(G, {
1662
1669
  children: [e && u("h1", {
1663
1670
  className: E.QuestionHeader,
1664
1671
  id: E.QuestionHeader,
@@ -1674,7 +1681,7 @@ const G = (e) => u("button", {
1674
1681
  children: n
1675
1682
  })]
1676
1683
  });
1677
- }, un = ({
1684
+ }, pn = ({
1678
1685
  buttonText: e = "View Prototype",
1679
1686
  handleClick: t
1680
1687
  }) => u("button", {
@@ -1697,18 +1704,18 @@ const G = (e) => u("button", {
1697
1704
  hasViewedEmbed: h.hasViewedEmbed,
1698
1705
  headers: h.headers,
1699
1706
  useDesktopPrototype: h.useDesktopPrototype
1700
- })), a = (n == null ? void 0 : n.conceptUrl) || ((c = n == null ? void 0 : n.consentDocument) == null ? void 0 : c.url), d = window.innerWidth < Zo, l = i["userleap-platform"], p = (h, f) => {
1707
+ })), a = (n == null ? void 0 : n.conceptUrl) || ((c = n == null ? void 0 : n.consentDocument) == null ? void 0 : c.url), d = window.innerWidth < Qo, l = i["userleap-platform"], p = (h, f) => {
1701
1708
  h.preventDefault(), o(f);
1702
1709
  };
1703
1710
  if (!s && d && !r && a && ["email", "link"].includes(l)) {
1704
1711
  if (t === "prototype")
1705
- return u(un, {
1712
+ return u(pn, {
1706
1713
  handleClick: (h) => {
1707
1714
  p(h, ce.ViewPrototypeClick);
1708
1715
  }
1709
1716
  });
1710
1717
  if (t === "pdf")
1711
- return u(un, {
1718
+ return u(pn, {
1712
1719
  buttonText: (n == null ? void 0 : n.viewDocumentText) || "View Document",
1713
1720
  handleClick: (h) => {
1714
1721
  p(h, ce.ViewAgreementClick);
@@ -1716,7 +1723,7 @@ const G = (e) => u("button", {
1716
1723
  });
1717
1724
  }
1718
1725
  return e();
1719
- }, wo = (e, t) => {
1726
+ }, So = (e, t) => {
1720
1727
  const n = me(0), o = () => {
1721
1728
  if (e.current) {
1722
1729
  const r = e.current;
@@ -1726,7 +1733,7 @@ const G = (e) => u("button", {
1726
1733
  }
1727
1734
  };
1728
1735
  return Y(o, []), o;
1729
- }, Lt = ({
1736
+ }, Dt = ({
1730
1737
  ariaLabel: e,
1731
1738
  border: t,
1732
1739
  choiceStyle: n = {},
@@ -1741,7 +1748,7 @@ const G = (e) => u("button", {
1741
1748
  allowTextEntry: c,
1742
1749
  noneOfTheAbove: h,
1743
1750
  promptText: f,
1744
- onUserInputChanged: _
1751
+ onUserInputChanged: v
1745
1752
  }) => {
1746
1753
  const {
1747
1754
  styleNonce: m,
@@ -1749,13 +1756,13 @@ const G = (e) => u("button", {
1749
1756
  } = $((L) => ({
1750
1757
  styleNonce: L.styleNonce,
1751
1758
  viewDocument: L.viewDocument
1752
- })), [v, C] = z(!1);
1753
- si(x, t, m);
1759
+ })), [_, C] = z(!1);
1760
+ ai(x, t, m);
1754
1761
  const k = ({
1755
1762
  isSelected: L,
1756
1763
  userText: Q
1757
1764
  }) => {
1758
- _ && _({
1765
+ v && v({
1759
1766
  id: a || "",
1760
1767
  selected: L,
1761
1768
  value: i,
@@ -1768,9 +1775,9 @@ const G = (e) => u("button", {
1768
1775
  userText: s
1769
1776
  }), C(!1);
1770
1777
  }, g = () => {
1771
- v || C(!0);
1778
+ _ || C(!0);
1772
1779
  }, y = () => {
1773
- v && C(!1);
1780
+ _ && C(!1);
1774
1781
  }, D = (L) => {
1775
1782
  (L.key === "Enter" || L.key === " ") && T(L);
1776
1783
  }, R = {
@@ -1778,7 +1785,7 @@ const G = (e) => u("button", {
1778
1785
  onKeyPress: (L) => D(L)
1779
1786
  };
1780
1787
  "ontouchstart" in x.documentElement ? (R.onTouchStart = y, R.onTouchCancel = y, R.onTouchEnd = y) : (R.onMouseDown = g, R.onMouseLeave = y);
1781
- const S = d ? `radio-${a}` : `checkbox-${a}`, N = r || v ? [Fe] : [], A = [...p ? [So] : [], ...N], I = o ? {
1788
+ const S = d ? `radio-${a}` : `checkbox-${a}`, N = r || _ ? [Fe] : [], A = [...p ? [Eo] : [], ...N], I = o ? {
1782
1789
  "aria-labelledby": `label-${a}`
1783
1790
  } : {
1784
1791
  "aria-label": e
@@ -1834,7 +1841,7 @@ const G = (e) => u("button", {
1834
1841
  })]
1835
1842
  }), c && r && u("div", {
1836
1843
  className: M([E.ChoiceTextEntryContainer, ...N]),
1837
- children: u(ri, {
1844
+ children: u(ii, {
1838
1845
  onTextChange: (L) => k({
1839
1846
  isSelected: r,
1840
1847
  userText: L
@@ -1845,7 +1852,7 @@ const G = (e) => u("button", {
1845
1852
  })
1846
1853
  })]
1847
1854
  });
1848
- }, ri = ({
1855
+ }, ii = ({
1849
1856
  promptText: e,
1850
1857
  textValue: t,
1851
1858
  onTextChange: n,
@@ -1855,7 +1862,7 @@ const G = (e) => u("button", {
1855
1862
  update: i
1856
1863
  } = $((a) => ({
1857
1864
  update: a.update
1858
- })), s = wo(r, () => i());
1865
+ })), s = So(r, () => i());
1859
1866
  return Y(() => {
1860
1867
  r.current && r.current.focus();
1861
1868
  }, []), u("textarea", {
@@ -1881,10 +1888,10 @@ const G = (e) => u("button", {
1881
1888
  rows: 1,
1882
1889
  value: t
1883
1890
  });
1884
- }, pn = "ul-select-style-element", Fe = "ul-select-active-dynamic-style", So = "ul-select-error-dynamic-style", ii = (e) => e.tagName.toLowerCase() === "style", si = (e, t, n) => {
1885
- let o = e.getElementById(pn), r = !1;
1886
- o || (o = e.createElement("style"), r = !0), ii(o) && (o.id = pn, n && (o.nonce = n), o.textContent = ai(t), r && e.head.appendChild(o));
1887
- }, ai = (e) => `
1891
+ }, hn = "ul-select-style-element", Fe = "ul-select-active-dynamic-style", Eo = "ul-select-error-dynamic-style", si = (e) => e.tagName.toLowerCase() === "style", ai = (e, t, n) => {
1892
+ let o = e.getElementById(hn), r = !1;
1893
+ o || (o = e.createElement("style"), r = !0), si(o) && (o.id = hn, n && (o.nonce = n), o.textContent = li(t), r && e.head.appendChild(o));
1894
+ }, li = (e) => `
1888
1895
  .${Fe} {
1889
1896
  border-color: ${e};
1890
1897
  }
@@ -1892,10 +1899,10 @@ const G = (e) => u("button", {
1892
1899
  border: 6px solid ${e};
1893
1900
  box-shadow: none;
1894
1901
  }
1895
- .${So} {
1902
+ .${Eo} {
1896
1903
  border-color: ${Ie};
1897
1904
  }
1898
- `, ye = (e) => (e == null ? void 0 : e.buttonText) || "Next", Dt = (e) => (e == null ? void 0 : e.skipButtonText) || "Skip", li = ({
1905
+ `, ye = (e) => (e == null ? void 0 : e.buttonText) || "Next", Nt = (e) => (e == null ? void 0 : e.skipButtonText) || "Skip", ci = ({
1899
1906
  className: e,
1900
1907
  message: t,
1901
1908
  next: n,
@@ -1909,7 +1916,7 @@ const G = (e) => u("button", {
1909
1916
  } = $((S) => ({
1910
1917
  useMobileStyling: S.useMobileStyling,
1911
1918
  border: S.border
1912
- })), [d, l] = z(!1), [p, c] = z(""), [h, f] = z(!1), _ = o == null ? void 0 : o.collectName, m = (o == null ? void 0 : o.nameLabelText) || "Full Name", x = (o == null ? void 0 : o.consentText) || "I agree to the stated conditions", v = (o == null ? void 0 : o.submitButtonText) || "Submit", C = !!p.trim(), k = d && (!_ || C), T = (S, N = !1) => {
1919
+ })), [d, l] = z(!1), [p, c] = z(""), [h, f] = z(!1), v = o == null ? void 0 : o.collectName, m = (o == null ? void 0 : o.nameLabelText) || "Full Name", x = (o == null ? void 0 : o.consentText) || "I agree to the stated conditions", _ = (o == null ? void 0 : o.submitButtonText) || "Submit", C = !!p.trim(), k = d && (!v || C), T = (S, N = !1) => {
1913
1920
  S.preventDefault(), S.stopPropagation();
1914
1921
  let A = null;
1915
1922
  if (!N) {
@@ -1919,7 +1926,7 @@ const G = (e) => u("button", {
1919
1926
  }
1920
1927
  A = {
1921
1928
  submitted: !0
1922
- }, _ && (A.name = p);
1929
+ }, v && (A.name = p);
1923
1930
  }
1924
1931
  n({
1925
1932
  value: A,
@@ -1931,9 +1938,9 @@ const G = (e) => u("button", {
1931
1938
  }, y = (S) => {
1932
1939
  S.currentTarget.style.borderColor = h && !C ? Ie : a;
1933
1940
  }, D = (S) => {
1934
- S.currentTarget.style.borderColor = h && !C ? Ie : kt;
1941
+ S.currentTarget.style.borderColor = h && !C ? Ie : wt;
1935
1942
  }, R = () => u("div", {
1936
- children: [u(Lt, {
1943
+ children: [u(Dt, {
1937
1944
  allowTextEntry: !1,
1938
1945
  border: a,
1939
1946
  error: h && !d,
@@ -1946,7 +1953,7 @@ const G = (e) => u("button", {
1946
1953
  S !== d && l(!d);
1947
1954
  },
1948
1955
  useMobileStyling: s
1949
- }), _ && u("input", {
1956
+ }), v && u("input", {
1950
1957
  "aria-label": m,
1951
1958
  "aria-placeholder": m,
1952
1959
  className: M(H(E.ConsentLegalNameInput, s)),
@@ -1964,14 +1971,14 @@ const G = (e) => u("button", {
1964
1971
  value: p
1965
1972
  }), u("div", {
1966
1973
  className: "ul-card__button-wrapper ul-card-vertical__button-wrapper",
1967
- children: [u(G, {
1974
+ children: [u(Z, {
1968
1975
  className: k ? "" : E.ButtonDisabled,
1969
1976
  onClick: T,
1970
- children: v
1977
+ children: _
1971
1978
  }), o.required === !1 && u("button", {
1972
1979
  className: E.SkipButton,
1973
1980
  onClick: (S) => T(S, !0),
1974
- children: Dt(o)
1981
+ children: Nt(o)
1975
1982
  })]
1976
1983
  })]
1977
1984
  });
@@ -1991,7 +1998,7 @@ const G = (e) => u("button", {
1991
1998
  embeddedType: "pdf"
1992
1999
  })]
1993
2000
  }, r);
1994
- }, ci = ({
2001
+ }, di = ({
1995
2002
  activeValue: e,
1996
2003
  border: t,
1997
2004
  icon: n,
@@ -2004,7 +2011,7 @@ const G = (e) => u("button", {
2004
2011
  useMobileStyling: l,
2005
2012
  value: p
2006
2013
  }) => {
2007
- const c = `option-${p}`, h = s === be.Number, f = s === be.Star, _ = h && p === e, [m, x] = p <= e && f || p === e ? o ? [t, 1] : [t, 0.3] : ["", 1], v = () => {
2014
+ const c = `option-${p}`, h = s === be.Number, f = s === be.Star, v = h && p === e, [m, x] = p <= e && f || p === e ? o ? [t, 1] : [t, 0.3] : ["", 1], _ = () => {
2008
2015
  switch (s) {
2009
2016
  case be.Star:
2010
2017
  return M([...H(E.LikertStar, l), ...H(`${E.LikertStar}-${p}`, l)]);
@@ -2018,7 +2025,7 @@ const G = (e) => u("button", {
2018
2025
  };
2019
2026
  return u("div", {
2020
2027
  "aria-label": h ? void 0 : String(p),
2021
- className: v(),
2028
+ className: _(),
2022
2029
  dangerouslySetInnerHTML: {
2023
2030
  __html: n
2024
2031
  },
@@ -2030,13 +2037,13 @@ const G = (e) => u("button", {
2030
2037
  role: "radio",
2031
2038
  style: {
2032
2039
  color: h ? "" : m,
2033
- borderColor: _ ? m : "",
2034
- fillOpacity: _ ? "" : x,
2035
- zIndex: _ ? 3 : "auto"
2040
+ borderColor: v ? m : "",
2041
+ fillOpacity: v ? "" : x,
2042
+ zIndex: v ? 3 : "auto"
2036
2043
  },
2037
2044
  tabIndex: 0
2038
2045
  });
2039
- }, di = ({
2046
+ }, ui = ({
2040
2047
  className: e,
2041
2048
  labels: t,
2042
2049
  message: n,
@@ -2051,17 +2058,17 @@ const G = (e) => u("button", {
2051
2058
  } = $((R) => ({
2052
2059
  border: R.border,
2053
2060
  useMobileStyling: R.useMobileStyling
2054
- })), [l, p] = z(-1), [c, h] = z(!1), f = t && t.left, _ = t && t.right;
2061
+ })), [l, p] = z(-1), [c, h] = z(!1), f = t && t.left, v = t && t.right;
2055
2062
  let m;
2056
2063
  const {
2057
2064
  range: x,
2058
- scaleLabelType: v,
2065
+ scaleLabelType: _,
2059
2066
  ratingIcons: C
2060
2067
  } = r;
2061
2068
  x && (m = Number(x));
2062
2069
  const k = m || 5, T = (R) => {
2063
2070
  var S, N;
2064
- switch (v) {
2071
+ switch (_) {
2065
2072
  case be.Star:
2066
2073
  return (S = C[0]) == null ? void 0 : S.svg;
2067
2074
  case be.Smiley:
@@ -2071,7 +2078,7 @@ const G = (e) => u("button", {
2071
2078
  }
2072
2079
  }, g = [...Array(k)].map((R, S) => {
2073
2080
  const N = S + 1;
2074
- return u(ci, {
2081
+ return u(di, {
2075
2082
  activeValue: l,
2076
2083
  border: a,
2077
2084
  icon: T(S),
@@ -2082,7 +2089,7 @@ const G = (e) => u("button", {
2082
2089
  type: s
2083
2090
  }),
2084
2091
  range: k,
2085
- scaleLabelType: v,
2092
+ scaleLabelType: _,
2086
2093
  setActiveValue: p,
2087
2094
  setIsPressed: h,
2088
2095
  useMobileStyling: d,
@@ -2094,7 +2101,7 @@ const G = (e) => u("button", {
2094
2101
  questionId: i,
2095
2102
  type: s
2096
2103
  });
2097
- }, D = () => u(W, {
2104
+ }, D = () => u(G, {
2098
2105
  children: [u("div", {
2099
2106
  "aria-label": `Rating (1 - ${k})`,
2100
2107
  className: "ul-card--likert__numbers",
@@ -2105,11 +2112,11 @@ const G = (e) => u("button", {
2105
2112
  children: [u("span", {
2106
2113
  children: f
2107
2114
  }), u("span", {
2108
- children: _
2115
+ children: v
2109
2116
  })]
2110
2117
  }), !r.required && u("div", {
2111
2118
  className: "ul-vertical-centered-container",
2112
- children: u(G, {
2119
+ children: u(Z, {
2113
2120
  onClick: y,
2114
2121
  children: ye(r)
2115
2122
  })
@@ -2125,7 +2132,7 @@ const G = (e) => u("button", {
2125
2132
  defaultBody: D
2126
2133
  })]
2127
2134
  }, i);
2128
- }, ui = ({
2135
+ }, pi = ({
2129
2136
  className: e,
2130
2137
  message: t,
2131
2138
  next: n,
@@ -2146,12 +2153,12 @@ const G = (e) => u("button", {
2146
2153
  questionId: i,
2147
2154
  type: s
2148
2155
  });
2149
- }, _ = o.reduce((g, y) => (g[y.id] = null, g), {}), [m, x] = z(_), v = (g, y) => {
2156
+ }, v = o.reduce((g, y) => (g[y.id] = null, g), {}), [m, x] = z(v), _ = (g, y) => {
2150
2157
  x((D) => ({
2151
2158
  ...D,
2152
2159
  [g]: y
2153
2160
  }));
2154
- }, C = h && Object.values(m).every((g) => g == null), k = o.map((g) => u(W, {
2161
+ }, C = h && Object.values(m).every((g) => g == null), k = o.map((g) => u(G, {
2155
2162
  children: [u("div", {
2156
2163
  "aria-label": g.label,
2157
2164
  className: "ul-matrix-row-label",
@@ -2163,7 +2170,7 @@ const G = (e) => u("button", {
2163
2170
  const R = D === c - 1;
2164
2171
  return u("div", {
2165
2172
  className: M("ul-matrix-option-wrapper", R && "ul-matrix-last-option"),
2166
- children: u(Lt, {
2173
+ children: u(Dt, {
2167
2174
  allowTextEntry: !1,
2168
2175
  ariaLabel: `${g.label}-${y.label}`,
2169
2176
  border: a,
@@ -2177,7 +2184,7 @@ const G = (e) => u("button", {
2177
2184
  id: `${g.id}-${y.value}`,
2178
2185
  isRadio: !0,
2179
2186
  isSelected: m[g.id] === y.value,
2180
- onUserInputChanged: () => v(g.id, y.value),
2187
+ onUserInputChanged: () => _(g.id, y.value),
2181
2188
  useMobileStyling: d
2182
2189
  })
2183
2190
  }, y.value);
@@ -2186,7 +2193,6 @@ const G = (e) => u("button", {
2186
2193
  })), T = () => u("div", {
2187
2194
  children: [u("div", {
2188
2195
  className: "ul-card--matrix_container",
2189
- style: `--maxWidth: ${Yo() - 74}px`,
2190
2196
  children: u("div", {
2191
2197
  className: "ul-card--matrix_grid",
2192
2198
  style: `--numColumns: ${c}; --numRows: ${p + 1}`,
@@ -2197,7 +2203,7 @@ const G = (e) => u("button", {
2197
2203
  })
2198
2204
  }), u("div", {
2199
2205
  className: "ul-card__button-wrapper",
2200
- children: u(G, {
2206
+ children: u(Z, {
2201
2207
  disabled: C,
2202
2208
  children: ye(r)
2203
2209
  })
@@ -2215,7 +2221,7 @@ const G = (e) => u("button", {
2215
2221
  defaultBody: T
2216
2222
  })]
2217
2223
  }, i);
2218
- }, Eo = ({
2224
+ }, To = ({
2219
2225
  className: e,
2220
2226
  message: t,
2221
2227
  onSubmit: n,
@@ -2232,14 +2238,14 @@ const G = (e) => u("button", {
2232
2238
  useMobileStyling: y.useMobileStyling
2233
2239
  })), l = o.reduce((y, D) => (y[D.id] = {
2234
2240
  isSelected: !1
2235
- }, y), {}), [p, c] = z(l), h = s === b.MultipleChoice, f = r.required, _ = o.find((y) => {
2241
+ }, y), {}), [p, c] = z(l), h = s === b.MultipleChoice, f = r.required, v = o.find((y) => {
2236
2242
  var D;
2237
2243
  return (D = y.optionProperties) == null ? void 0 : D.noneOfTheAbove;
2238
2244
  }), m = Object.entries(p).some(([y, D]) => {
2239
2245
  var N;
2240
2246
  const R = o.find((A) => `${A.id}` === y), S = D.userText === void 0 || D.userText.trim() === "";
2241
2247
  return ((N = R == null ? void 0 : R.optionProperties) == null ? void 0 : N.allowsTextEntry) && S && D.isSelected;
2242
- }), x = Object.values(p).some((y) => y.isSelected), v = m || f && !x, C = o.map(({
2248
+ }), x = Object.values(p).some((y) => y.isSelected), _ = m || f && !x, C = o.map(({
2243
2249
  id: y,
2244
2250
  label: D,
2245
2251
  value: R,
@@ -2254,7 +2260,7 @@ const G = (e) => u("button", {
2254
2260
  noneOfTheAbove: !1,
2255
2261
  ...S
2256
2262
  };
2257
- return u(Lt, {
2263
+ return u(Dt, {
2258
2264
  allowTextEntry: A,
2259
2265
  border: a,
2260
2266
  error: !1,
@@ -2277,7 +2283,7 @@ const G = (e) => u("button", {
2277
2283
  for (const A of Object.values(N))
2278
2284
  A.isSelected = !1, delete A.userText;
2279
2285
  else
2280
- _ && !S && p[_.id].isSelected && (N[_.id].isSelected = !1);
2286
+ v && !S && p[v.id].isSelected && (N[v.id].isSelected = !1);
2281
2287
  N[y] = {
2282
2288
  isSelected: D,
2283
2289
  userText: R
@@ -2289,8 +2295,8 @@ const G = (e) => u("button", {
2289
2295
  children: C
2290
2296
  }), u("div", {
2291
2297
  className: "ul-card__button-wrapper",
2292
- children: u(G, {
2293
- disabled: v,
2298
+ children: u(Z, {
2299
+ disabled: _,
2294
2300
  onClick: k,
2295
2301
  children: ye(r)
2296
2302
  })
@@ -2308,14 +2314,14 @@ const G = (e) => u("button", {
2308
2314
  defaultBody: g
2309
2315
  })]
2310
2316
  }, i);
2311
- }, pi = (e) => {
2317
+ }, hi = (e) => {
2312
2318
  const {
2313
2319
  questionId: t,
2314
2320
  type: n,
2315
2321
  next: o,
2316
2322
  options: r
2317
2323
  } = e;
2318
- return u(Eo, {
2324
+ return u(To, {
2319
2325
  ...e,
2320
2326
  onSubmit: (s) => {
2321
2327
  const a = Object.entries(s).find(([, h]) => h.isSelected) || [void 0, void 0], [d, l] = a, p = r.find((h) => `${h.id}` === d), c = l != null && l.userText ? {
@@ -2333,13 +2339,13 @@ const G = (e) => u("button", {
2333
2339
  });
2334
2340
  }
2335
2341
  });
2336
- }, hi = (e) => {
2342
+ }, fi = (e) => {
2337
2343
  const {
2338
2344
  questionId: t,
2339
2345
  type: n,
2340
2346
  next: o
2341
2347
  } = e;
2342
- return u(Eo, {
2348
+ return u(To, {
2343
2349
  ...e,
2344
2350
  onSubmit: (i) => {
2345
2351
  const s = {}, a = Object.entries(i).reduce((l, [p, c]) => (l[p] = c.isSelected, l), s), d = Object.entries(i).reduce((l, [p, c]) => {
@@ -2358,7 +2364,7 @@ const G = (e) => u("button", {
2358
2364
  });
2359
2365
  }
2360
2366
  });
2361
- }, fi = ({
2367
+ }, mi = ({
2362
2368
  className: e,
2363
2369
  props: {
2364
2370
  labels: t,
@@ -2372,10 +2378,10 @@ const G = (e) => u("button", {
2372
2378
  const {
2373
2379
  border: a,
2374
2380
  useMobileStyling: d
2375
- } = $((_) => ({
2376
- border: _.border,
2377
- useMobileStyling: _.useMobileStyling
2378
- })), l = t && t.left, p = t && t.right, c = [...Array(11)].map((_, m) => u("div", {
2381
+ } = $((v) => ({
2382
+ border: v.border,
2383
+ useMobileStyling: v.useMobileStyling
2384
+ })), l = t && t.left, p = t && t.right, c = [...Array(11)].map((v, m) => u("div", {
2379
2385
  className: M([...H(E.NPSNumber, d), ...H(`${E.NPSNumber}-${m}`, d)]),
2380
2386
  id: `option-${m}`,
2381
2387
  onClick: () => r({
@@ -2394,13 +2400,13 @@ const G = (e) => u("button", {
2394
2400
  x.currentTarget.style.zIndex = "2", x.currentTarget.style.borderColor = a;
2395
2401
  },
2396
2402
  onPointerLeave: (x) => {
2397
- x.currentTarget.style.zIndex = "auto", x.currentTarget.style.borderColor = kt;
2403
+ x.currentTarget.style.zIndex = "auto", x.currentTarget.style.borderColor = wt;
2398
2404
  },
2399
2405
  role: "radio",
2400
2406
  tabIndex: 0,
2401
2407
  children: m
2402
- }, m)), h = (_) => {
2403
- _.preventDefault(), _.stopPropagation(), r({
2408
+ }, m)), h = (v) => {
2409
+ v.preventDefault(), v.stopPropagation(), r({
2404
2410
  value: null,
2405
2411
  questionId: i,
2406
2412
  type: s
@@ -2418,7 +2424,7 @@ const G = (e) => u("button", {
2418
2424
  })]
2419
2425
  }), !o.required && u("div", {
2420
2426
  className: "ul-vertical-centered-container",
2421
- children: u(G, {
2427
+ children: u(Z, {
2422
2428
  onClick: h,
2423
2429
  children: ye(o)
2424
2430
  })
@@ -2434,7 +2440,7 @@ const G = (e) => u("button", {
2434
2440
  defaultBody: f
2435
2441
  })]
2436
2442
  }, i);
2437
- }, mi = ({
2443
+ }, vi = ({
2438
2444
  className: e,
2439
2445
  message: t,
2440
2446
  next: n,
@@ -2450,27 +2456,27 @@ const G = (e) => u("button", {
2450
2456
  border: g.border,
2451
2457
  useMobileStyling: g.useMobileStyling,
2452
2458
  update: g.update
2453
- })), [l, p] = z(""), c = me(null), h = l.trim(), f = o.required === !0 && !h, _ = wo(c, () => d()), m = (g) => {
2454
- _(), g.preventDefault(), g.stopPropagation(), p(g.currentTarget.value);
2459
+ })), [l, p] = z(""), c = me(null), h = l.trim(), f = o.required === !0 && !h, v = So(c, () => d()), m = (g) => {
2460
+ v(), g.preventDefault(), g.stopPropagation(), p(g.currentTarget.value);
2455
2461
  }, x = (g) => {
2456
2462
  g.preventDefault(), g.stopPropagation(), n({
2457
2463
  value: l,
2458
2464
  questionId: r,
2459
2465
  type: i
2460
2466
  });
2461
- }, v = o && o.openTextPlaceholder ? o.openTextPlaceholder : "", C = (g) => {
2467
+ }, _ = o && o.openTextPlaceholder ? o.openTextPlaceholder : "", C = (g) => {
2462
2468
  g.currentTarget.style.borderColor = s;
2463
2469
  }, k = (g) => {
2464
- g.currentTarget.style.borderColor = kt;
2470
+ g.currentTarget.style.borderColor = wt;
2465
2471
  }, T = () => u("div", {
2466
2472
  className: "ul-card-text",
2467
2473
  children: [u("div", {
2468
2474
  className: "ul-card-text__container",
2469
2475
  children: u("textarea", {
2470
- "aria-label": v,
2476
+ "aria-label": _,
2471
2477
  "aria-labelledby": E.QuestionHeader,
2472
2478
  "aria-multiline": "true",
2473
- "aria-placeholder": v,
2479
+ "aria-placeholder": _,
2474
2480
  className: M(H(E.OpenTextInput, a)),
2475
2481
  "data-gramm": "false",
2476
2482
  maxLength: 5e3,
@@ -2478,12 +2484,12 @@ const G = (e) => u("button", {
2478
2484
  onBlur: k,
2479
2485
  onChange: m,
2480
2486
  onFocus: C,
2481
- placeholder: v,
2487
+ placeholder: _,
2482
2488
  ref: c,
2483
2489
  role: "textbox",
2484
2490
  tabIndex: 0
2485
2491
  })
2486
- }), u(G, {
2492
+ }), u(Z, {
2487
2493
  disabled: f,
2488
2494
  onClick: x,
2489
2495
  style: {
@@ -2505,7 +2511,7 @@ const G = (e) => u("button", {
2505
2511
  }, r);
2506
2512
  };
2507
2513
  var fe = /* @__PURE__ */ ((e) => (e[e.RequestNeeded = 1] = "RequestNeeded", e[e.TryAgain = 2] = "TryAgain", e[e.Ready = 3] = "Ready", e))(fe || {});
2508
- const Xe = (e) => e.type === Z.AvPermission, To = (e) => e.type === Z.ScreenPermission, _i = (e, t) => !(Xe(t) ? t.permissionDescriptors : []).includes(we.Camera) || e.getVideoTracks().length > 0, Po = (e, t) => {
2514
+ const Xe = (e) => e.type === W.AvPermission, Po = (e) => e.type === W.ScreenPermission, _i = (e, t) => !(Xe(t) ? t.permissionDescriptors : []).includes(we.Camera) || e.getVideoTracks().length > 0, jo = (e, t) => {
2509
2515
  if (e === void 0)
2510
2516
  return fe.RequestNeeded;
2511
2517
  if (e) {
@@ -2514,7 +2520,7 @@ const Xe = (e) => e.type === Z.AvPermission, To = (e) => e.type === Z.ScreenPerm
2514
2520
  } else
2515
2521
  return fe.TryAgain;
2516
2522
  return fe.Ready;
2517
- }, hn = {
2523
+ }, fn = {
2518
2524
  avStream: null,
2519
2525
  currentPage: null,
2520
2526
  mediaRecordingUids: null,
@@ -2524,16 +2530,16 @@ const Xe = (e) => e.type === Z.AvPermission, To = (e) => e.type === Z.ScreenPerm
2524
2530
  recordingMediaTypes: void 0,
2525
2531
  screenPermissionRequested: !1,
2526
2532
  type: void 0
2527
- }, ie = yo((e) => ({
2528
- ...hn,
2533
+ }, ie = Co((e) => ({
2534
+ ...fn,
2529
2535
  reset: () => {
2530
- e(hn);
2536
+ e(fn);
2531
2537
  },
2532
2538
  updatePage: (t) => {
2533
2539
  e(t);
2534
2540
  }
2535
2541
  }));
2536
- function xt({
2542
+ function yt({
2537
2543
  currentPage: e,
2538
2544
  pages: t
2539
2545
  }) {
@@ -2566,7 +2572,7 @@ function xt({
2566
2572
  }
2567
2573
  });
2568
2574
  }
2569
- function vi({
2575
+ function gi({
2570
2576
  pages: e,
2571
2577
  userId: t,
2572
2578
  responseGroupUid: n,
@@ -2587,9 +2593,9 @@ function vi({
2587
2593
  };
2588
2594
  let p = 0;
2589
2595
  d.emit(ce.RecordedTaskPermissionScreen), a(ce.RecordedTaskPermissionScreen), d.emit(q.PermissionStatus, {
2590
- [U.PermissionStatusCallback]: (h, f, _, m) => {
2596
+ [U.PermissionStatusCallback]: (h, f, v, m) => {
2591
2597
  const x = e[p], {
2592
- type: v
2598
+ type: _
2593
2599
  } = x, C = [re.Screen];
2594
2600
  if (Xe(x)) {
2595
2601
  const {
@@ -2599,7 +2605,7 @@ function vi({
2599
2605
  const y = (h == null ? void 0 : h.active) && !g, D = (h == null ? void 0 : h.active) && f;
2600
2606
  (y || D) && p++;
2601
2607
  }
2602
- To(e[p]) && _ && (p++, d.emit(q.BeginRecording, {
2608
+ Po(e[p]) && v && (p++, d.emit(q.BeginRecording, {
2603
2609
  [U.RecordingMediaTypes]: C,
2604
2610
  [U.StartRecordingCallback]: (k) => s({
2605
2611
  mediaRecordingUids: k
@@ -2607,9 +2613,9 @@ function vi({
2607
2613
  })), s({
2608
2614
  currentPage: e[p],
2609
2615
  avStream: h,
2610
- screenPermissionRequested: _,
2616
+ screenPermissionRequested: v,
2611
2617
  nextQuestion: i,
2612
- type: v,
2618
+ type: _,
2613
2619
  passthroughData: l,
2614
2620
  recordingMediaTypes: C,
2615
2621
  captureStream: m
@@ -2617,12 +2623,12 @@ function vi({
2617
2623
  }
2618
2624
  });
2619
2625
  const c = e[p];
2620
- return c.type === Z.AvPermission && xt({
2626
+ return c.type === W.AvPermission && yt({
2621
2627
  currentPage: c,
2622
2628
  pages: e
2623
2629
  }), c;
2624
2630
  }
2625
- function yt({
2631
+ function Ct({
2626
2632
  status: e
2627
2633
  }) {
2628
2634
  const {
@@ -2674,7 +2680,7 @@ function yt({
2674
2680
  }
2675
2681
  });
2676
2682
  }
2677
- function Nt({
2683
+ function Ot({
2678
2684
  pages: e,
2679
2685
  setIsRequestingPermission: t
2680
2686
  }) {
@@ -2691,7 +2697,7 @@ function Nt({
2691
2697
  return;
2692
2698
  const d = e.indexOf(i);
2693
2699
  switch (i.type) {
2694
- case Z.AvPermission: {
2700
+ case W.AvPermission: {
2695
2701
  const l = a ? d + 2 : d + 1;
2696
2702
  a && s && n.emit(q.BeginRecording, {
2697
2703
  [U.RecordingMediaTypes]: s,
@@ -2705,7 +2711,7 @@ function Nt({
2705
2711
  });
2706
2712
  return;
2707
2713
  }
2708
- case Z.ScreenPermission:
2714
+ case W.ScreenPermission:
2709
2715
  n.emit(q.ScreenPermission, {
2710
2716
  [U.ScreenPermissionRequested]: t,
2711
2717
  [U.StreamReadyCallback]: (l, p) => {
@@ -2726,17 +2732,17 @@ function Nt({
2726
2732
  }
2727
2733
  });
2728
2734
  return;
2729
- case Z.StartTask:
2735
+ case W.StartTask:
2730
2736
  o(ce.RecordedTaskStart), n.emit(ce.RecordedTaskStart), n.emit(q.StartTask), r({
2731
2737
  currentPage: e[d + 1],
2732
2738
  screenPermissionRequested: !0
2733
2739
  });
2734
2740
  return;
2735
- case Z.CompleteTask:
2741
+ case W.CompleteTask:
2736
2742
  return;
2737
2743
  }
2738
2744
  }
2739
- const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M([jo, "ul_recorded-task-inset-spacing"]), et = M(["ul-horizontal-button-container", "ul-horizontal-button-container-left"]), Lo = ({
2745
+ const Ro = "ul-permission-graphics-container", Io = "ul-permission-body", Lo = M([Ro, "ul_recorded-task-inset-spacing"]), et = M(["ul-horizontal-button-container", "ul-horizontal-button-container-left"]), Do = ({
2740
2746
  richTextBody: e
2741
2747
  }) => u("div", {
2742
2748
  className: "ul-rich-text-body",
@@ -2748,13 +2754,13 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2748
2754
  required: e,
2749
2755
  skipButtonText: t,
2750
2756
  bottom: n = !1
2751
- }) => e ? null : u(G, {
2757
+ }) => e ? null : u(Z, {
2752
2758
  className: M([n && "ul-skip-button-below", E.InactiveButton]),
2753
- onClick: yt.bind(null, {
2759
+ onClick: Ct.bind(null, {
2754
2760
  status: X.Abandoned
2755
2761
  }),
2756
2762
  children: t || "Skip"
2757
- }), Ot = (e) => {
2763
+ }), Mt = (e) => {
2758
2764
  const {
2759
2765
  avStream: t,
2760
2766
  captureStream: n,
@@ -2773,7 +2779,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2773
2779
  }, 1e3);
2774
2780
  return () => clearInterval(s);
2775
2781
  }, [t, n, i, e, o, r]);
2776
- }, gi = ({
2782
+ }, bi = ({
2777
2783
  content: e,
2778
2784
  pages: t,
2779
2785
  required: n
@@ -2783,14 +2789,14 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2783
2789
  skipButtonText: r,
2784
2790
  taskDetail: i
2785
2791
  } = e;
2786
- return Ot(t), u("div", {
2792
+ return Mt(t), u("div", {
2787
2793
  className: "ul-task-page",
2788
- children: [u(Lo, {
2794
+ children: [i && u(Do, {
2789
2795
  richTextBody: i
2790
2796
  }), u("div", {
2791
2797
  className: et,
2792
- children: [u(G, {
2793
- onClick: Nt.bind(null, {
2798
+ children: [u(Z, {
2799
+ onClick: Ot.bind(null, {
2794
2800
  pages: t
2795
2801
  }),
2796
2802
  children: o
@@ -2800,7 +2806,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2800
2806
  })]
2801
2807
  })]
2802
2808
  }, "start-task");
2803
- }, bi = ({
2809
+ }, xi = ({
2804
2810
  content: e,
2805
2811
  pages: t,
2806
2812
  properties: n
@@ -2809,20 +2815,20 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2809
2815
  buttonText: o,
2810
2816
  skipButtonText: r
2811
2817
  } = e;
2812
- Ot(t);
2818
+ Mt(t);
2813
2819
  const s = u(ue, {
2814
2820
  properties: n,
2815
2821
  defaultBody: () => u("div", {
2816
2822
  className: et,
2817
- children: [u(G, {
2823
+ children: [u(Z, {
2818
2824
  className: "ul-complete-task-button",
2819
- onClick: yt.bind(null, {
2825
+ onClick: Ct.bind(null, {
2820
2826
  status: X.Completed
2821
2827
  }),
2822
2828
  children: o
2823
- }), u(G, {
2829
+ }), u(Z, {
2824
2830
  className: M([E.InactiveButton]),
2825
- onClick: yt.bind(null, {
2831
+ onClick: Ct.bind(null, {
2826
2832
  status: X.GivenUp
2827
2833
  }),
2828
2834
  children: r
@@ -2831,11 +2837,11 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2831
2837
  });
2832
2838
  return u("div", {
2833
2839
  className: "ul-task-page",
2834
- children: [u(Lo, {
2840
+ children: [e.taskDetail && u(Do, {
2835
2841
  richTextBody: e.taskDetail
2836
2842
  }), s]
2837
2843
  }, "complete-task");
2838
- }, xi = ({
2844
+ }, yi = ({
2839
2845
  content: e,
2840
2846
  pages: t,
2841
2847
  required: n
@@ -2846,7 +2852,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2846
2852
  } = e, [i] = $((d) => [d.tabTitle]), [s, a] = z(!1);
2847
2853
  return u("div", {
2848
2854
  children: [u("div", {
2849
- className: Io,
2855
+ className: Lo,
2850
2856
  children: [u("p", {
2851
2857
  style: {
2852
2858
  marginTop: "auto"
@@ -2855,15 +2861,15 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2855
2861
  }), u("div", {
2856
2862
  className: "ul-select-tab-container",
2857
2863
  children: u("p", {
2858
- className: Ro,
2864
+ className: Io,
2859
2865
  children: i
2860
2866
  })
2861
2867
  })]
2862
2868
  }), u("div", {
2863
2869
  className: n ? "" : et,
2864
- children: [u(G, {
2870
+ children: [u(Z, {
2865
2871
  disabled: s,
2866
- onClick: Nt.bind(null, {
2872
+ onClick: Ot.bind(null, {
2867
2873
  pages: t,
2868
2874
  setIsRequestingPermission: a
2869
2875
  }),
@@ -2874,14 +2880,14 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2874
2880
  })]
2875
2881
  })]
2876
2882
  });
2877
- }, yi = ({
2883
+ }, Ci = ({
2878
2884
  content: e
2879
2885
  }) => u("div", {
2880
- className: M([jo, "ul_permission_svg_container", "ul_recorded-task-inset-spacing", "ul-center-horizontally"]),
2886
+ className: M([Ro, "ul_permission_svg_container", "ul_recorded-task-inset-spacing", "ul-center-horizontally"]),
2881
2887
  dangerouslySetInnerHTML: {
2882
2888
  __html: e.svg
2883
2889
  }
2884
- }, "ul-permission-request-graphic"), Ci = ({
2890
+ }, "ul-permission-request-graphic"), ki = ({
2885
2891
  content: e,
2886
2892
  pages: t,
2887
2893
  required: n
@@ -2894,7 +2900,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2894
2900
  } = e, a = Xe(t[0]) ? t[0] : null;
2895
2901
  return Y(() => {
2896
2902
  const d = setInterval(() => {
2897
- a !== null && xt({
2903
+ a !== null && yt({
2898
2904
  currentPage: a,
2899
2905
  pages: t
2900
2906
  });
@@ -2902,21 +2908,21 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2902
2908
  return () => clearInterval(d);
2903
2909
  }, [a, t]), a ? u("div", {
2904
2910
  children: [u("div", {
2905
- className: Io,
2911
+ className: Lo,
2906
2912
  children: u("p", {
2907
2913
  className: "ul-av-permission-denied-paragraph",
2908
2914
  children: [u("span", {
2909
2915
  className: "ul-av-permission-denied-headline",
2910
2916
  children: o
2911
2917
  }), u("span", {
2912
- className: Ro,
2918
+ className: Io,
2913
2919
  children: r
2914
2920
  })]
2915
2921
  })
2916
2922
  }), u("div", {
2917
2923
  className: et,
2918
- children: [u(G, {
2919
- onClick: xt.bind(null, {
2924
+ children: [u(Z, {
2925
+ onClick: yt.bind(null, {
2920
2926
  currentPage: a,
2921
2927
  pages: t
2922
2928
  }),
@@ -2927,7 +2933,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2927
2933
  })]
2928
2934
  })]
2929
2935
  }) : null;
2930
- }, ki = ({
2936
+ }, wi = ({
2931
2937
  stream: e
2932
2938
  }) => u("video", {
2933
2939
  autoPlay: !0,
@@ -2937,7 +2943,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2937
2943
  ref: (t) => {
2938
2944
  t && (t.srcObject = e || null);
2939
2945
  }
2940
- }), wi = ({
2946
+ }), Si = ({
2941
2947
  content: e,
2942
2948
  pages: t,
2943
2949
  required: n
@@ -2947,13 +2953,13 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2947
2953
  } = e, {
2948
2954
  avStream: r
2949
2955
  } = ie.getState();
2950
- return Ot(t), u("div", {
2951
- children: [u(ki, {
2956
+ return Mt(t), u("div", {
2957
+ children: [u(wi, {
2952
2958
  stream: r
2953
2959
  }), u("div", {
2954
2960
  className: "ul-vertical-button-container-center",
2955
- children: [u(G, {
2956
- onClick: Nt.bind(null, {
2961
+ children: [u(Z, {
2962
+ onClick: Ot.bind(null, {
2957
2963
  pages: t
2958
2964
  }),
2959
2965
  children: e.buttonText
@@ -2964,7 +2970,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2964
2970
  })]
2965
2971
  })]
2966
2972
  });
2967
- }, Si = ({
2973
+ }, Ei = ({
2968
2974
  properties: e
2969
2975
  }) => {
2970
2976
  const {
@@ -2977,34 +2983,34 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
2977
2983
  if (r === void 0)
2978
2984
  return null;
2979
2985
  switch (r == null ? void 0 : r.type) {
2980
- case Z.AvPermission: {
2981
- const i = Po(o, r);
2982
- return i === fe.RequestNeeded ? u(yi, {
2986
+ case W.AvPermission: {
2987
+ const i = jo(o, r);
2988
+ return i === fe.RequestNeeded ? u(Ci, {
2983
2989
  content: r
2984
- }) : i === fe.TryAgain ? u(Ci, {
2990
+ }) : i === fe.TryAgain ? u(ki, {
2985
2991
  content: r,
2986
2992
  pages: t,
2987
2993
  required: n
2988
- }) : u(wi, {
2994
+ }) : u(Si, {
2989
2995
  content: r,
2990
2996
  pages: t,
2991
2997
  required: n
2992
2998
  });
2993
2999
  }
2994
- case Z.ScreenPermission:
2995
- return u(xi, {
3000
+ case W.ScreenPermission:
3001
+ return u(yi, {
2996
3002
  content: r,
2997
3003
  pages: t,
2998
3004
  required: n
2999
3005
  });
3000
- case Z.StartTask:
3001
- return u(gi, {
3006
+ case W.StartTask:
3007
+ return u(bi, {
3002
3008
  content: r,
3003
3009
  pages: t,
3004
3010
  required: n
3005
3011
  });
3006
- case Z.CompleteTask:
3007
- return u(bi, {
3012
+ case W.CompleteTask:
3013
+ return u(xi, {
3008
3014
  content: r,
3009
3015
  pages: t,
3010
3016
  properties: e
@@ -3012,7 +3018,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
3012
3018
  default:
3013
3019
  return null;
3014
3020
  }
3015
- }, Ei = ({
3021
+ }, Ti = ({
3016
3022
  className: e,
3017
3023
  properties: t,
3018
3024
  next: n,
@@ -3026,7 +3032,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
3026
3032
  screenPermissionRequested: l
3027
3033
  } = d, p = ie((m) => m.avStream);
3028
3034
  let c = ie((m) => m.currentPage);
3029
- c || (c = vi({
3035
+ c || (c = gi({
3030
3036
  questionId: o,
3031
3037
  surveyId: i,
3032
3038
  next: (m) => {
@@ -3037,27 +3043,27 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
3037
3043
  userId: a
3038
3044
  }));
3039
3045
  let h = c.headline, f = c.captionText;
3040
- const _ = Po(p, c);
3041
- return To(c) && l && (h = c.permissionDeniedHeadline, f = c.permissionDeniedCaptionText), Xe(c) && _ === fe.Ready && (h = c.permissionGrantedHeadline, f = c.permissionGrantedCaptionText), u("div", {
3046
+ const v = jo(p, c);
3047
+ return Po(c) && l && (h = c.permissionDeniedHeadline, f = c.permissionDeniedCaptionText), Xe(c) && v === fe.Ready && (h = c.permissionGrantedHeadline, f = c.permissionGrantedCaptionText), u("div", {
3042
3048
  className: M([e, "ul-center-horizontally", E.FadeInTransition]),
3043
3049
  children: [u(te, {
3044
3050
  message: h,
3045
3051
  properties: {
3046
3052
  captionText: f
3047
3053
  }
3048
- }), u(Si, {
3054
+ }), u(Ei, {
3049
3055
  properties: t
3050
3056
  })]
3051
3057
  });
3052
- }, Ti = {
3058
+ }, Pi = {
3053
3059
  "{{user_id}}": "externalUserId",
3054
3060
  "{{email}}": "email"
3055
- }, Pi = (e = void 0, t = {}) => {
3061
+ }, ji = (e = void 0, t = {}) => {
3056
3062
  if (!e)
3057
3063
  return e;
3058
3064
  let n = e;
3059
3065
  const o = [];
3060
- for (const [d, l] of Object.entries(Ti))
3066
+ for (const [d, l] of Object.entries(Pi))
3061
3067
  if (n.toLowerCase().includes(d))
3062
3068
  if (t[l]) {
3063
3069
  const p = new RegExp(d, "gi");
@@ -3071,7 +3077,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
3071
3077
  return r;
3072
3078
  const a = s.map((d) => d.join("=")).join("&");
3073
3079
  return `${r}?${a}`;
3074
- }, ji = ({
3080
+ }, Ri = ({
3075
3081
  className: e,
3076
3082
  message: t,
3077
3083
  next: n,
@@ -3098,7 +3104,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
3098
3104
  type: i
3099
3105
  });
3100
3106
  }, l = () => {
3101
- const c = Pi(o && o.buttonUrl, s);
3107
+ const c = ji(o && o.buttonUrl, s);
3102
3108
  return u("div", {
3103
3109
  className: "ul-card-button-group",
3104
3110
  children: [u("a", {
@@ -3115,7 +3121,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
3115
3121
  }), o.required === !1 && u("button", {
3116
3122
  className: E.SkipButton,
3117
3123
  onClick: (h) => a(h, !0),
3118
- children: Dt(o)
3124
+ children: Nt(o)
3119
3125
  })]
3120
3126
  });
3121
3127
  }, p = (c, h) => c ? u("div", {
@@ -3127,9 +3133,9 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
3127
3133
  }) : u("div", {
3128
3134
  className: "ul-rich-text-body",
3129
3135
  id: "ul-card__text-url-body-container",
3130
- children: (h ? h.split(/\n\s*\n/g) : []).map((f, _) => u("p", {
3136
+ children: (h ? h.split(/\n\s*\n/g) : []).map((f, v) => u("p", {
3131
3137
  children: f
3132
- }, _))
3138
+ }, v))
3133
3139
  });
3134
3140
  return u("div", {
3135
3141
  className: M([e, "ul-card__text-url-prompt", E.FadeInTransition]),
@@ -3140,7 +3146,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
3140
3146
  properties: o
3141
3147
  })]
3142
3148
  }, r);
3143
- }, Ri = ({
3149
+ }, Ii = ({
3144
3150
  className: e,
3145
3151
  questionId: t
3146
3152
  }) => {
@@ -3203,7 +3209,7 @@ const jo = "ul-permission-graphics-container", Ro = "ul-permission-body", Io = M
3203
3209
  }, ge = "https://cdn.sprig.com", j = {
3204
3210
  document: void 0,
3205
3211
  videojs: void 0
3206
- }, Ii = `/* progress control styles */
3212
+ }, Li = `/* progress control styles */
3207
3213
  .video-js .vjs-control {
3208
3214
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
3209
3215
  }
@@ -3860,24 +3866,24 @@ span.ul-button-text {
3860
3866
  .vjs-poster {
3861
3867
  background-size: cover;
3862
3868
  }
3863
- `, Li = (e) => {
3869
+ `, Di = (e) => {
3864
3870
  const t = j.document.createElement("div");
3865
- return t.className = "ul-video-player-loading", t.id = Mt(e), ["first", "second", "third", "fourth"].map((n) => {
3871
+ return t.className = "ul-video-player-loading", t.id = At(e), ["first", "second", "third", "fourth"].map((n) => {
3866
3872
  const o = j.document.createElement("div");
3867
3873
  o.className = n, t.appendChild(o);
3868
3874
  }), t;
3869
- }, Mt = (e) => e + "-loading-spiner", F = "hidden", fn = ".m3u8", at = "questionId", lt = "ul-video-recorder-camera-off-button", ct = "ul-recording-in-session", Di = [
3875
+ }, At = (e) => e + "-loading-spiner", F = "hidden", mn = ".m3u8", lt = "questionId", ct = "ul-video-recorder-camera-off-button", dt = "ul-recording-in-session", Ni = [
3870
3876
  { type: "link", content: `${ge}/dependencies/videojs-record-4.5.0.min.css` },
3871
3877
  { type: "script", content: `${ge}/dependencies/RecordRTC-5.6.2.js` },
3872
3878
  { type: "script", content: `${ge}/dependencies/adapter.8.0.0.min.js` },
3873
3879
  { type: "script", content: `${ge}/dependencies/videojs-record-4.5.0.min.js` },
3874
3880
  { type: "script", content: `${ge}/userleap-web-upchunk-v2.2.2.js` }
3875
- ], Do = [
3881
+ ], No = [
3876
3882
  { type: "link", content: `${ge}/dependencies/video-js-7.18.0.min.css` },
3877
3883
  { type: "script", content: `${ge}/dependencies/video-js-7.18.0.min.js` },
3878
- { type: "style", content: Ii }
3879
- ], No = "-video-player", Oo = "-secondary-video-player", Mo = "-video-recorder";
3880
- let oe, mn;
3884
+ { type: "style", content: Li }
3885
+ ], Oo = "-video-player", Mo = "-secondary-video-player", Ao = "-video-recorder";
3886
+ let oe, vn;
3881
3887
  const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, metadata: i }) => {
3882
3888
  const s = j.document.documentElement;
3883
3889
  if (!o || !r)
@@ -3935,18 +3941,18 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
3935
3941
  },
3936
3942
  body: JSON.stringify(d)
3937
3943
  })).ok || console.warn("[Sprig] (ERR-444) Failed to report error to API", e);
3938
- }, Ni = (e, { type: t, content: n }) => new Promise(function(o, r) {
3944
+ }, Oi = (e, { type: t, content: n }) => new Promise(function(o, r) {
3939
3945
  let i;
3940
3946
  t === "script" ? (i = j.document.createElement("script"), i.src = n) : t === "link" ? (i = j.document.createElement("link"), i.rel = "stylesheet", i.href = n, i.type = "text/css") : (i = j.document.createElement("style"), i.innerHTML = n), i.onload = function() {
3941
3947
  o(n);
3942
3948
  }, i.onerror = function() {
3943
3949
  r(n);
3944
3950
  }, i.async = !1, i.id = btoa(n), e.appendChild(i);
3945
- }), Ao = (e, t) => {
3951
+ }), Uo = (e, t) => {
3946
3952
  if (e.length === 0)
3947
3953
  return t && t();
3948
3954
  Promise.all(
3949
- e.reduce((n, o) => (n.push(Ni(j.document.head, o)), n), [])
3955
+ e.reduce((n, o) => (n.push(Oi(j.document.head, o)), n), [])
3950
3956
  ).then(() => {
3951
3957
  j.videojs = j.document.defaultView.videojs, t && t();
3952
3958
  }).catch(function(n) {
@@ -3961,10 +3967,10 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
3961
3967
  const o = Math.round(parseFloat(n));
3962
3968
  e.innerHTML = `Uploading <span class="ul-upload-progress-label__time">${o}%</span>`, e.style.background = `linear-gradient(to right, #E0E0EB 0%, #E0E0EB ${o}%, #FCFCFD ${o}%, #FCFCFD 100%)`;
3963
3969
  }
3964
- }, dt = (e, t) => {
3970
+ }, ut = (e, t) => {
3965
3971
  const n = j.videojs(e.id());
3966
3972
  return n == null ? void 0 : n.payload[t];
3967
- }, Oi = (e, t, n, o, r) => {
3973
+ }, Mi = (e, t, n, o, r) => {
3968
3974
  const { surveyId: i, responseGroupUid: s, visitorId: a, envId: d } = e.payload;
3969
3975
  e.on("deviceError", function() {
3970
3976
  console.warn("device error: ", e.deviceErrorCode), e.deviceErrorCode.message === "Permission denied" ? (e.deviceButton.addClass("permission-denied"), n && n(O.ERROR, { type: O.PERMISSION_DENIED }), he({
@@ -3973,7 +3979,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
3973
3979
  headers: r,
3974
3980
  visitorId: a,
3975
3981
  envId: d,
3976
- metadata: { questionId: dt(e, at), responseGroupUid: s, surveyId: i }
3982
+ metadata: { questionId: ut(e, lt), responseGroupUid: s, surveyId: i }
3977
3983
  })) : (n && n(O.ERROR, { type: O.OTHER }), se(new Error(e.deviceErrorCode.message), "recorderDeviceError", t, r, a, d));
3978
3984
  }), e.on("error", function(l, p) {
3979
3985
  se(p || e.error(), "recorderError", t, r, a, d);
@@ -3984,17 +3990,17 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
3984
3990
  headers: r,
3985
3991
  visitorId: a,
3986
3992
  envId: d,
3987
- metadata: { questionId: dt(e, at), responseGroupUid: s, surveyId: i }
3993
+ metadata: { questionId: ut(e, lt), responseGroupUid: s, surveyId: i }
3988
3994
  });
3989
3995
  }), e.on("finishRecord", async function() {
3990
3996
  o(e.uploadProgressLabel, "start", 0);
3991
- const l = dt(e, at);
3997
+ const l = ut(e, lt);
3992
3998
  if (!i) {
3993
3999
  const m = "internal error: missing fields in payload";
3994
4000
  return n && n(O.ERROR, { type: O.OTHER }), se(new Error(m), "finishRecord", t, r, a, d), null;
3995
4001
  }
3996
4002
  e.record().stopDevice();
3997
- const p = e.cameraOff ? O.MEDIA_TYPE_AUDIO : O.MEDIA_TYPE_VIDEO, c = ht();
4003
+ const p = e.cameraOff ? O.MEDIA_TYPE_AUDIO : O.MEDIA_TYPE_VIDEO, c = ft();
3998
4004
  he({
3999
4005
  event: "Video Record Finish",
4000
4006
  apiBase: t,
@@ -4010,7 +4016,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4010
4016
  mediaRecordingUid: c
4011
4017
  };
4012
4018
  l && (h.questionId = l), s && (h.responseGroupUid = s), a && (h.visitorId = a);
4013
- const _ = await (async () => {
4019
+ const v = await (async () => {
4014
4020
  const m = await fetch(`${t}/2/environments/integrations/upload`, {
4015
4021
  method: "POST",
4016
4022
  cache: "no-cache",
@@ -4034,9 +4040,9 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4034
4040
  d
4035
4041
  ), null;
4036
4042
  })();
4037
- _ && (oe = j.document.defaultView.UpChunk.createUpload({
4043
+ v && (oe = j.document.defaultView.UpChunk.createUpload({
4038
4044
  // endpoint computed from backend separately and hacked together
4039
- endpoint: _,
4045
+ endpoint: v,
4040
4046
  file: new j.document.defaultView.File(
4041
4047
  [e.recordedData],
4042
4048
  `recording ${p} ${Date.now()}`
@@ -4049,7 +4055,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4049
4055
  headers: r,
4050
4056
  visitorId: a,
4051
4057
  envId: d,
4052
- metadata: { mediaRecordingUid: c, questionId: l, responseGroupUid: s, surveyId: i, mediaType: p, url: _ }
4058
+ metadata: { mediaRecordingUid: c, questionId: l, responseGroupUid: s, surveyId: i, mediaType: p, url: v }
4053
4059
  }), oe.on("error", (m) => {
4054
4060
  o(e.uploadProgressLabel, "none"), n && n(O.UPLOAD_FINISHED, { [O.MEDIA_RECORDING_UID]: c }), se(m, "finishRecord", t, r, a, d);
4055
4061
  }), oe.on("progress", (m) => {
@@ -4070,18 +4076,18 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4070
4076
  responseGroupUid: s,
4071
4077
  surveyId: i,
4072
4078
  mediaType: p,
4073
- url: _,
4079
+ url: v,
4074
4080
  elapsedMs: oe.startTime && Date.now() - oe.startTime
4075
4081
  }
4076
4082
  });
4077
4083
  }));
4078
4084
  });
4079
- }, Uo = (e, t) => {
4085
+ }, Vo = (e, t) => {
4080
4086
  const n = new (j.videojs.getComponent("Component"))(e);
4081
4087
  return n.addClass("ul-buttons-panel"), t.map((o) => {
4082
4088
  n.addChild(o);
4083
- }), Mi(n), n;
4084
- }, Mi = (e) => {
4089
+ }), Ai(n), n;
4090
+ }, Ai = (e) => {
4085
4091
  e.children().forEach((t) => {
4086
4092
  if (K[t.name_]) {
4087
4093
  const n = ze(K[t.name_], `ul-${K[t.name_]}`);
@@ -4091,13 +4097,13 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4091
4097
  }, ze = (e, t = "") => {
4092
4098
  const n = j.document.createElement("span");
4093
4099
  return n.className = "ul-button-text", n.innerHTML = e, n.id = t, n;
4094
- }, Vo = (e, t, n, o, r = !1, i) => {
4100
+ }, $o = (e, t, n, o, r = !1, i) => {
4095
4101
  e.addClass("ul-video-player");
4096
4102
  const s = new (j.videojs.getComponent("Component"))(e);
4097
4103
  s.addClass("ul-control-panel"), e.progressBar = s.addChild("ProgressControl"), n && e.src(n), e.audioPlayerPlaceholder = new (j.videojs.getComponent("Component"))(e), e.audioPlayerPlaceholder.addClass("ul-audio-recorder-placeholder");
4098
- const a = n && n.src ? zi(n.src) : null;
4104
+ const a = n && n.src ? qi(n.src) : null;
4099
4105
  n && (r || !a) ? (e.children()[0].classList.add("vjs-hidden"), j.document.getElementById(`${e.id()}_html5_api`).style.height = "0px") : (e.audioPlayerPlaceholder.hide(), j.document.getElementById(`${e.id()}_html5_api`).style.height = "100%", a && e.poster(a)), e.on("play", () => {
4100
- !r && n && !a && Vi(e, !1), i == null || i.play();
4106
+ !r && n && !a && $i(e, !1), i == null || i.play();
4101
4107
  }), e.on("pause", () => {
4102
4108
  i == null || i.pause();
4103
4109
  }), e.on("seeked", () => {
@@ -4105,12 +4111,12 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4105
4111
  }), e.on("ratechange", () => {
4106
4112
  i == null || i.playbackRate(e.playbackRate());
4107
4113
  }), e.addChild(e.audioPlayerPlaceholder, {}, 1), s.addChild(t), e.addChild(s), o && o(e);
4108
- }, Ai = (e, t, n) => {
4109
- e.addClass(`ul${Oo}`);
4114
+ }, Ui = (e, t, n) => {
4115
+ e.addClass(`ul${Mo}`);
4110
4116
  const o = new (j.videojs.getComponent("Component"))(e);
4111
4117
  t && e.src(t), e.addChild(o), n && n(e);
4112
- }, Ui = (e, t, n, o, r, i, s, a = !1) => {
4113
- mn = Date.now();
4118
+ }, Vi = (e, t, n, o, r, i, s, a = !1) => {
4119
+ vn = Date.now();
4114
4120
  const l = Ye(t, {
4115
4121
  controls: !1,
4116
4122
  bigPlayButton: !1,
@@ -4140,11 +4146,11 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4140
4146
  if (!l)
4141
4147
  return;
4142
4148
  l.payload = n;
4143
- const { surveyId: p, questionId: c, responseGroupUid: h, visitorId: f, envId: _ } = n;
4149
+ const { surveyId: p, questionId: c, responseGroupUid: h, visitorId: f, envId: v } = n;
4144
4150
  let m;
4145
4151
  const x = (A) => {
4146
- const I = lt, L = lt + "-audio-only";
4147
- _n(l.uploadProgressLabel, "none"), oe && oe.startTime >= mn && oe.abort();
4152
+ const I = ct, L = ct + "-audio-only";
4153
+ _n(l.uploadProgressLabel, "none"), oe && oe.startTime >= vn && oe.abort();
4148
4154
  const Q = j.document.getElementById("ul-camera-button");
4149
4155
  A ? (l.children()[0].classList.add("vjs-hidden"), T.removeClass(I), T.addClass(L), Q.innerHTML = K.TurnOnCamera, l.audioPlayerPlaceholder.removeClass("vjs-hidden"), m == null || m.getTracks().forEach((P) => {
4150
4156
  P.stop();
@@ -4155,19 +4161,19 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4155
4161
  }).catch(l.record().onDeviceError.bind(l.record()))) : (m == null || m.getVideoTracks().forEach((P) => {
4156
4162
  P.enabled = !0;
4157
4163
  }), l.children()[0].classList.remove("vjs-hidden"), l.record().getDevice(), T.removeClass(L), T.addClass(I), Q.innerHTML = K.TurnOffCamera, l.audioPlayerPlaceholder.addClass("vjs-hidden"));
4158
- }, v = new (j.videojs.getComponent("Button"))(l, {
4164
+ }, _ = new (j.videojs.getComponent("Button"))(l, {
4159
4165
  clickHandler: () => {
4160
- v.hasClass(F) || (he({
4166
+ _.hasClass(F) || (he({
4161
4167
  event: "Video Delete Button Clicked",
4162
4168
  apiBase: o,
4163
4169
  headers: s,
4164
4170
  visitorId: f,
4165
- envId: _,
4171
+ envId: v,
4166
4172
  metadata: { questionId: c, responseGroupUid: h, surveyId: p }
4167
- }), x(l.cameraOff), r(O.DELETE, {}), T.removeClass(F), v.addClass(F));
4173
+ }), x(l.cameraOff), r(O.DELETE, {}), T.removeClass(F), _.addClass(F));
4168
4174
  }
4169
4175
  });
4170
- v.addClass("ul-video-recorder-delete-button"), v.el_.appendChild(ze(K.DeleteButton, "ul-delete-button"));
4176
+ _.addClass("ul-video-recorder-delete-button"), _.el_.appendChild(ze(K.DeleteButton, "ul-delete-button"));
4171
4177
  const C = j.document.getElementById(t), k = () => {
4172
4178
  C.classList.contains("vjs-fullscreen") && l.cameraOff ? C.style.display = "table" : C.style.display = "flex";
4173
4179
  };
@@ -4181,23 +4187,23 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4181
4187
  visitorId: n.visitorId,
4182
4188
  envId: n.envId,
4183
4189
  metadata: { questionId: c, responseGroupUid: h, surveyId: p, cameraOff: l.cameraOff }
4184
- }), x(l.cameraOff), !v.hasClass(F) && v.addClass(F), r(O.DELETE, {}), k());
4190
+ }), x(l.cameraOff), !_.hasClass(F) && _.addClass(F), r(O.DELETE, {}), k());
4185
4191
  }
4186
4192
  });
4187
- T.addClass(lt), T.el_.appendChild(ze(K.TurnOffCamera, "ul-camera-button"));
4193
+ T.addClass(ct), T.el_.appendChild(ze(K.TurnOffCamera, "ul-camera-button"));
4188
4194
  const g = new (j.videojs.getComponent("Button"))(l, {
4189
4195
  clickHandler: () => {
4190
4196
  const A = j.document.getElementById("ul-recorder-toggle");
4191
4197
  if (l.record().isRecording())
4192
- l.record().stop(), A && (A.innerHTML = K.RecordButton), g.removeClass(ct), v.removeClass(F);
4198
+ l.record().stop(), A && (A.innerHTML = K.RecordButton), g.removeClass(dt), _.removeClass(F);
4193
4199
  else {
4194
4200
  const I = j.document.getElementById("ul-recording-countdown-screen");
4195
4201
  if (I)
4196
- I.remove(), A && (A.innerHTML = K.RecordButton), x(l.cameraOff), r(O.DELETE, {}), T.removeClass(F), v.addClass(F), g.removeClass(ct), R.show();
4202
+ I.remove(), A && (A.innerHTML = K.RecordButton), x(l.cameraOff), r(O.DELETE, {}), T.removeClass(F), _.addClass(F), g.removeClass(dt), R.show();
4197
4203
  else {
4198
- g.addClass(ct), R.hide(), T.addClass(F), v.addClass(F), A && (A.innerHTML = K.StopButton);
4204
+ g.addClass(dt), R.hide(), T.addClass(F), _.addClass(F), A && (A.innerHTML = K.StopButton);
4199
4205
  const L = j.document.createElement("div");
4200
- L.id = "ul-recording-countdown-screen", C.insertBefore(L, C.children[1]), L.style.height = `${C.offsetHeight}px`, $o(l, 3);
4206
+ L.id = "ul-recording-countdown-screen", C.insertBefore(L, C.children[1]), L.style.height = `${C.offsetHeight}px`, Bo(l, 3);
4201
4207
  }
4202
4208
  }
4203
4209
  }
@@ -4205,8 +4211,8 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4205
4211
  g.addClass("ul-video-recorder-toggle-button"), g.el_.appendChild(ze(K.RecordButton, "ul-recorder-toggle"));
4206
4212
  const y = j.document.createElement("p");
4207
4213
  y.style.visibility = "hidden", y.className = "ul-upload-progress-label", e.appendChild(y), l.uploadProgressLabel = y;
4208
- const D = Uo(l, [
4209
- v,
4214
+ const D = Vo(l, [
4215
+ _,
4210
4216
  T,
4211
4217
  "PlayToggle",
4212
4218
  g,
@@ -4214,11 +4220,11 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4214
4220
  ]), R = D.children().find((A) => A.name_ === "FullscreenToggle");
4215
4221
  R.hasClass("vjs-disabled") && R.hide();
4216
4222
  const S = D.children().find((A) => A.name_ === "PlayToggle");
4217
- S.hide(), i && T.addClass(F), !i && v.addClass(F), Vo(l, D, i, !1, a), l.on("stopRecord", () => {
4218
- g.hide(), S.show(), R.show(), v.removeClass(F);
4223
+ S.hide(), i && T.addClass(F), !i && _.addClass(F), $o(l, D, i, !1, a), l.on("stopRecord", () => {
4224
+ g.hide(), S.show(), R.show(), _.removeClass(F);
4219
4225
  }), l.on("deviceReady", () => {
4220
- g.show(), S.hide(), v.addClass(F);
4221
- }), Oi(l, o, r, _n, s), i && (l.deviceButton && l.deviceButton.hide(), l.src(i), S.show(), g.hide(), v.removeClass(F));
4226
+ g.show(), S.hide(), _.addClass(F);
4227
+ }), Mi(l, o, r, _n, s), i && (l.deviceButton && l.deviceButton.hide(), l.src(i), S.show(), g.hide(), _.removeClass(F));
4222
4228
  const N = [{ name: "microphone" }];
4223
4229
  !l.cameraOff && N.push({ name: "camera" }), Promise.all(N.map((A) => {
4224
4230
  var I;
@@ -4227,26 +4233,26 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4227
4233
  A.reduce((L, Q) => L & Q.state === "granted", !0) && l && (l.deviceButton && l.deviceButton.hide(), !i && l.record().getDevice());
4228
4234
  }).catch((A) => {
4229
4235
  });
4230
- }, $o = (e, t = 3) => {
4236
+ }, Bo = (e, t = 3) => {
4231
4237
  const n = j.document.getElementById("ul-recording-countdown-screen");
4232
4238
  n && t === 0 ? (n.remove(), e.record().start()) : n && (n.innerHTML = `<span class='ul-countdown-text'>Recording in... ${t}</span>`, setTimeout(() => {
4233
- $o(e, t - 1);
4239
+ Bo(e, t - 1);
4234
4240
  }, 1e3));
4235
- }, Bo = (e) => {
4241
+ }, Ho = (e) => {
4236
4242
  const t = j.document.createElement("div");
4237
- return t.className = "ul-video-container", t.appendChild(Li(e)), t;
4238
- }, Ct = (e, t) => {
4243
+ return t.className = "ul-video-container", t.appendChild(Di(e)), t;
4244
+ }, kt = (e, t) => {
4239
4245
  const n = j.document.createElement("video");
4240
4246
  n.id = e, n.className = "video-js vjs-default-skin ul-video-player-video";
4241
4247
  const o = j.document.createElement("p");
4242
4248
  o.className = "vjs-no-js", o.innerHTML = "To view this video please enable JavaScript, and consider upgrading to a web browser that";
4243
4249
  const r = j.document.createElement("a");
4244
4250
  return r.href = "https://videojs.com/html5-video-support/", r.target = "_blank", r.innerHTML = "supports HTML5 video", o.appendChild(r), n.appendChild(o), t.appendChild(n), t;
4245
- }, Vi = (e, t) => {
4251
+ }, $i = (e, t) => {
4246
4252
  t ? (e.children()[0].classList.add("vjs-hidden"), e.audioPlayerPlaceholder.show(), j.document.getElementById(`${e.id()}_html5_api`).style.height = "0px") : (e.children()[0].classList.remove("vjs-hidden"), e.audioPlayerPlaceholder.hide(), j.document.getElementById(`${e.id()}_html5_api`).style.height = "100%");
4247
- }, Ye = (e, t) => j.document.getElementById(e) ? t ? j.videojs(e, t) : j.videojs(e) : (console.error(`Error in finding player element with ID, ${e}`), null), $i = (e, t, n, o = !1, r = "https://api.sprig.com", i = document, s = null, a = null) => {
4253
+ }, Ye = (e, t) => j.document.getElementById(e) ? t ? j.videojs(e, t) : j.videojs(e) : (console.error(`Error in finding player element with ID, ${e}`), null), Bi = (e, t, n, o = !1, r = "https://api.sprig.com", i = document, s = null, a = null) => {
4248
4254
  j.document = i;
4249
- const d = e + No, l = Bo(d);
4255
+ const d = e + Oo, l = Ho(d);
4250
4256
  return j.document.addEventListener("securitypolicyviolation", (p) => {
4251
4257
  se(
4252
4258
  new Error(`Voice & Video feature violates ${p.violatedDirective} web page CSP policies for the question player.`),
@@ -4254,30 +4260,30 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4254
4260
  r,
4255
4261
  {}
4256
4262
  );
4257
- }), Ao(Do, () => {
4258
- j.document.getElementById(Mt(d)).remove(), Ct(d, l);
4263
+ }), Uo(No, () => {
4264
+ j.document.getElementById(At(d)).remove(), kt(d, l);
4259
4265
  const p = {
4260
4266
  playsinline: !0,
4261
4267
  playbackRates: [0.5, 1, 1.5, 2],
4262
4268
  fill: !0
4263
4269
  };
4264
4270
  try {
4265
- const c = e + Oo;
4266
- Ct(c, l);
4271
+ const c = e + Mo;
4272
+ kt(c, l);
4267
4273
  const h = Ye(d, p), f = Ye(c, { muted: !0, ...p });
4268
4274
  if (!h || !f)
4269
4275
  return;
4270
- Ai(f, s, a), s || f.addClass(F);
4271
- const _ = Uo(h, ["PlaybackRateMenuButton", "PlayToggle", "FullscreenToggle"]), m = _.children().find((x) => x.name_ === "FullscreenToggle");
4272
- m.hasClass("vjs-disabled") && m.hide(), Vo(h, _, t, n, o, f);
4276
+ Ui(f, s, a), s || f.addClass(F);
4277
+ const v = Vo(h, ["PlaybackRateMenuButton", "PlayToggle", "FullscreenToggle"]), m = v.children().find((x) => x.name_ === "FullscreenToggle");
4278
+ m.hasClass("vjs-disabled") && m.hide(), $o(h, v, t, n, o, f);
4273
4279
  } catch (c) {
4274
4280
  se(new Error(`Error when creating video player object ${c}`), "playerDeviceError", r, {});
4275
4281
  return;
4276
4282
  }
4277
4283
  }), l;
4278
- }, Bi = (e, t = {}, n = "https://api.userleap.com", o, r, i, s = !1, a = document) => {
4284
+ }, Hi = (e, t = {}, n = "https://api.userleap.com", o, r, i, s = !1, a = document) => {
4279
4285
  j.document = a;
4280
- const d = e + Mo, l = Bo(d);
4286
+ const d = e + Ao, l = Ho(d);
4281
4287
  return j.document.addEventListener("securitypolicyviolation", (p) => {
4282
4288
  se(
4283
4289
  new Error(`Voice & Video feature violates ${p.violatedDirective} web page CSP policies for the recorder player.`),
@@ -4287,10 +4293,10 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4287
4293
  t.visitorId,
4288
4294
  t.envId
4289
4295
  );
4290
- }), Ao(Do.concat(Di), () => {
4291
- Ct(d, l), j.document.getElementById(Mt(d)).remove();
4296
+ }), Uo(No.concat(Ni), () => {
4297
+ kt(d, l), j.document.getElementById(At(d)).remove();
4292
4298
  try {
4293
- Ui(
4299
+ Vi(
4294
4300
  l,
4295
4301
  d,
4296
4302
  t,
@@ -4312,8 +4318,8 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4312
4318
  return;
4313
4319
  }
4314
4320
  }), l;
4315
- }, Hi = (e) => {
4316
- const t = e + Mo;
4321
+ }, Fi = (e) => {
4322
+ const t = e + Ao;
4317
4323
  if (j.document.getElementById(t) && j.videojs) {
4318
4324
  try {
4319
4325
  if (!j.videojs(t).record().stream)
@@ -4323,15 +4329,15 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4323
4329
  }
4324
4330
  j.videojs(t).record().stop(), j.videojs(t).record().stopDevice();
4325
4331
  }
4326
- }, Fi = (e) => {
4327
- const t = Ye(e + No);
4328
- t == null || t.pause();
4329
4332
  }, zi = (e) => {
4333
+ const t = Ye(e + Oo);
4334
+ t == null || t.pause();
4335
+ }, qi = (e) => {
4330
4336
  if (!e)
4331
4337
  return null;
4332
4338
  const t = e.match(/https:\/\/stream.mux.com\/(.*)/);
4333
4339
  let n = t ? t[1] : null;
4334
- return n.includes(fn) && (n = n.replace(fn, "")), n ? `https://image.mux.com/${n}/thumbnail.jpg?time=0` : null;
4340
+ return n.includes(mn) && (n = n.replace(mn, "")), n ? `https://image.mux.com/${n}/thumbnail.jpg?time=0` : null;
4335
4341
  }, O = {
4336
4342
  // events
4337
4343
  UPLOAD_STARTED: "upload.started",
@@ -4359,7 +4365,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4359
4365
  RecordButton: "Record",
4360
4366
  StopButton: "Stop",
4361
4367
  PauseButton: "Pause"
4362
- }, je = "ul-card-video__player_recorder", qi = "ul-card-video__skip_button", Wi = "ul-video-interview-form", vn = "ul-video-btn", Gi = ({
4368
+ }, je = "ul-card-video__player_recorder", Gi = "ul-card-video__skip_button", Zi = "ul-video-interview-form", gn = "ul-video-btn", Wi = ({
4363
4369
  className: e,
4364
4370
  message: t,
4365
4371
  next: n,
@@ -4385,11 +4391,11 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4385
4391
  surveyId: I.surveyId,
4386
4392
  viewDocument: I.viewDocument,
4387
4393
  visitorId: I.userId
4388
- })), [_, m] = z(!1), [x, v] = z(null), [C, k] = z(null), [T, g] = z(
4394
+ })), [v, m] = z(!1), [x, _] = z(null), [C, k] = z(null), [T, g] = z(
4389
4395
  0
4390
4396
  /* Question */
4391
4397
  ), y = o && o.videoUrl, D = (I, L) => {
4392
- I === O.UPLOAD_STARTED ? (v(L[O.UPLOAD_ID]), k(L[O.MEDIA_RECORDING_UID]), m(!0)) : I === O.DELETE ? (v(null), k(null), m(!1)) : I === O.UPLOAD_PROGRESS ? isNaN(L[O.UPLOAD_PROGRESS_PCT]) ? d({
4398
+ I === O.UPLOAD_STARTED ? (_(L[O.UPLOAD_ID]), k(L[O.MEDIA_RECORDING_UID]), m(!0)) : I === O.DELETE ? (_(null), k(null), m(!1)) : I === O.UPLOAD_PROGRESS ? isNaN(L[O.UPLOAD_PROGRESS_PCT]) ? d({
4393
4399
  mediaRecordingUid: L[O.MEDIA_RECORDING_UID],
4394
4400
  isComplete: !0
4395
4401
  }) : d({
@@ -4401,7 +4407,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4401
4407
  });
4402
4408
  }, R = (I) => {
4403
4409
  if (I && I.children.length === 0) {
4404
- const L = $i(je, {
4410
+ const L = Bi(je, {
4405
4411
  src: y,
4406
4412
  type: "application/x-mpegURL"
4407
4413
  }, void 0, o.mediaType === O.MEDIA_TYPE_AUDIO, s, h);
@@ -4409,7 +4415,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4409
4415
  }
4410
4416
  }, S = (I) => {
4411
4417
  if (I && I.children.length === 0) {
4412
- const L = Bi(je, {
4418
+ const L = Hi(je, {
4413
4419
  surveyId: c,
4414
4420
  responseGroupUid: p,
4415
4421
  questionId: r,
@@ -4422,7 +4428,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4422
4428
  I.appendChild(L);
4423
4429
  }
4424
4430
  }, N = (I) => {
4425
- I.preventDefault(), I.stopPropagation(), Hi(je), x && C ? (d({
4431
+ I.preventDefault(), I.stopPropagation(), Fi(je), x && C ? (d({
4426
4432
  mediaRecordingUid: C,
4427
4433
  isSubmitted: !0
4428
4434
  }), n({
@@ -4438,9 +4444,9 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4438
4444
  });
4439
4445
  }, A = () => u(ue, {
4440
4446
  defaultBody: () => u("button", {
4441
- className: `${vn} ul-record-response-btn`,
4447
+ className: `${gn} ul-record-response-btn`,
4442
4448
  onClick: (I) => {
4443
- I.preventDefault(), I.stopPropagation(), Fi(je), g(
4449
+ I.preventDefault(), I.stopPropagation(), zi(je), g(
4444
4450
  1
4445
4451
  /* Answer */
4446
4452
  );
@@ -4450,7 +4456,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4450
4456
  });
4451
4457
  return u("form", {
4452
4458
  className: M([e, E.VideoCard, E.FadeInTransition]),
4453
- id: Wi,
4459
+ id: Zi,
4454
4460
  children: [u(te, {
4455
4461
  message: t,
4456
4462
  properties: o
@@ -4471,7 +4477,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4471
4477
  display: T === 1 ? "block" : "none"
4472
4478
  },
4473
4479
  children: [u("button", {
4474
- className: `${vn} ul-back-question-btn`,
4480
+ className: `${gn} ul-back-question-btn`,
4475
4481
  onClick: (I) => {
4476
4482
  I.preventDefault(), I.stopPropagation(), g(
4477
4483
  0
@@ -4483,25 +4489,25 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4483
4489
  ref: S
4484
4490
  })]
4485
4491
  })]
4486
- }), u(G, {
4487
- disabled: !_,
4492
+ }), u(Z, {
4493
+ disabled: !v,
4488
4494
  onClick: N,
4489
4495
  children: ye(o)
4490
4496
  }), u("button", {
4491
4497
  className: `ul-card-text__button ${E.InactiveButton} ${E.SkipButton}`,
4492
- id: qi,
4498
+ id: Gi,
4493
4499
  onClick: N,
4494
4500
  style: {
4495
4501
  display: o.required ? "none" : "block",
4496
- ..._ ? {
4502
+ ...v ? {
4497
4503
  display: "none"
4498
4504
  } : {}
4499
4505
  },
4500
- children: Dt(o)
4506
+ children: Nt(o)
4501
4507
  })]
4502
4508
  })]
4503
4509
  });
4504
- }, Zi = ({
4510
+ }, Yi = ({
4505
4511
  className: e
4506
4512
  }) => {
4507
4513
  const {
@@ -4539,7 +4545,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4539
4545
  children: o
4540
4546
  })]
4541
4547
  });
4542
- }, gn = ({
4548
+ }, bn = ({
4543
4549
  logoOnly: e = !1,
4544
4550
  style: t = {}
4545
4551
  }) => u("svg", {
@@ -4578,7 +4584,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4578
4584
  fill: "black",
4579
4585
  fillOpacity: "0.7"
4580
4586
  })]
4581
- }), Yi = () => {
4587
+ }), Qi = () => {
4582
4588
  const {
4583
4589
  border: e,
4584
4590
  cards: t,
@@ -4601,11 +4607,11 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4601
4607
  slugName: k.slugName,
4602
4608
  surveyId: k.surveyId,
4603
4609
  viewedCardCount: k.viewedCardCount
4604
- })), p = me(null), c = t.filter((k) => k.type !== b.Uploading && k.type !== b.Thanks), h = ti(t, r), f = l + 1, _ = f / (f + h), m = `${i}?utm_source=survey_branding&utm_medium=website&utm_campaign=${a}&utm_content=${d}${n && "&utm_term=poweredby_pill"}`;
4610
+ })), p = me(null), c = t.filter((k) => k.type !== b.Uploading && k.type !== b.Thanks), h = ni(t, r), f = l + 1, v = f / (f + h), m = `${i}?utm_source=survey_branding&utm_medium=website&utm_campaign=${a}&utm_content=${d}${n && "&utm_term=poweredby_pill"}`;
4605
4611
  Y(() => {
4606
- p.current && (p.current.style.width = `${_ * 100}%`);
4607
- }, [_]);
4608
- const x = () => u(W, {
4612
+ p.current && (p.current.style.width = `${v * 100}%`);
4613
+ }, [v]);
4614
+ const x = () => u(G, {
4609
4615
  children: [c.length > 1 && u("div", {
4610
4616
  id: "ul-progress-bar-container",
4611
4617
  children: u("div", {
@@ -4628,9 +4634,9 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4628
4634
  style: {
4629
4635
  display: "flex"
4630
4636
  },
4631
- children: [u(gn, {
4637
+ children: [u(bn, {
4632
4638
  logoOnly: !1
4633
- }), n && u(bn, {
4639
+ }), n && u(xn, {
4634
4640
  style: {
4635
4641
  display: "block",
4636
4642
  margin: "auto 0 auto 4px",
@@ -4640,7 +4646,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4640
4646
  })
4641
4647
  })
4642
4648
  }) : null]
4643
- }), v = () => u("a", {
4649
+ }), _ = () => u("a", {
4644
4650
  dir: "ltr",
4645
4651
  href: m,
4646
4652
  rel: "noreferrer",
@@ -4649,7 +4655,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4649
4655
  className: "thank-you-card-link",
4650
4656
  children: [u("div", {
4651
4657
  className: "sprig-box-logo",
4652
- children: u(gn, {
4658
+ children: u(bn, {
4653
4659
  logoOnly: !0,
4654
4660
  style: {
4655
4661
  margin: "auto"
@@ -4657,7 +4663,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4657
4663
  })
4658
4664
  }), u("div", {
4659
4665
  children: u("p", {
4660
- children: ["Capture insights about your own product", u(bn, {
4666
+ children: ["Capture insights about your own product", u(xn, {
4661
4667
  style: {
4662
4668
  display: "inline-flex",
4663
4669
  marginInlineStart: "4px",
@@ -4673,9 +4679,9 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4673
4679
  style: s ? {} : {
4674
4680
  marginBottom: "10px"
4675
4681
  },
4676
- children: C && n ? v() : x()
4682
+ children: C && n ? _() : x()
4677
4683
  });
4678
- }, bn = ({
4684
+ }, xn = ({
4679
4685
  style: e
4680
4686
  }) => u("svg", {
4681
4687
  fill: "none",
@@ -4697,7 +4703,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4697
4703
  strokeLinejoin: "round",
4698
4704
  strokeWidth: "1.35"
4699
4705
  })]
4700
- }), Qi = () => {
4706
+ }), Ki = () => {
4701
4707
  const {
4702
4708
  answers: e,
4703
4709
  border: t,
@@ -4713,7 +4719,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4713
4719
  next: c,
4714
4720
  showStripes: h,
4715
4721
  surveyId: f,
4716
- update: _,
4722
+ update: v,
4717
4723
  useMobileStyling: m,
4718
4724
  viewDocument: x
4719
4725
  } = $((P) => ({
@@ -4734,19 +4740,19 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4734
4740
  update: P.update,
4735
4741
  useMobileStyling: P.useMobileStyling,
4736
4742
  viewDocument: P.viewDocument
4737
- })), v = me(null), C = me(!1), k = l["userleap-platform"], {
4743
+ })), _ = me(null), C = me(!1), k = l["userleap-platform"], {
4738
4744
  props: T,
4739
4745
  type: g,
4740
4746
  name: y
4741
4747
  } = n[p], D = n.length;
4742
4748
  Y(() => {
4743
- v.current && (v.current.classList.contains("ul-app--visible") || v.current.classList.add("ul-app--visible"), !C.current && a && (C.current = !0, a(pe.SurveyAppeared, {
4749
+ _.current && (_.current.classList.contains("ul-app--visible") || _.current.classList.add("ul-app--visible"), !C.current && a && (C.current = !0, a(pe.SurveyAppeared, {
4744
4750
  name: pe.SurveyAppeared,
4745
- [Ko.SurveyId]: f
4751
+ [Jo.SurveyId]: f
4746
4752
  })));
4747
4753
  }, [a, f]), Y(() => {
4748
- _();
4749
- }, [p, _]), Y(() => {
4754
+ v();
4755
+ }, [p, v]), Y(() => {
4750
4756
  r(() => o());
4751
4757
  }, [o, r]);
4752
4758
  const R = () => o(ke), S = (P) => {
@@ -4758,20 +4764,20 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4758
4764
  i(ke);
4759
4765
  },
4760
4766
  endCard: s
4761
- }), Jo(x);
4767
+ }), Xo(x);
4762
4768
  };
4763
4769
  if (e) {
4764
4770
  for (const P of e)
4765
4771
  if (P.questionId === y) {
4766
4772
  let ne;
4767
4773
  if (g === b.MultipleChoice) {
4768
- const _e = T.options.find(({
4774
+ const ve = T.options.find(({
4769
4775
  value: nt
4770
4776
  }) => nt === P.value);
4771
- if (!_e)
4777
+ if (!ve)
4772
4778
  break;
4773
4779
  ne = {
4774
- [_e.id]: _e.value
4780
+ [ve.id]: ve.value
4775
4781
  };
4776
4782
  } else
4777
4783
  ne = P.value;
@@ -4783,7 +4789,7 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4783
4789
  break;
4784
4790
  }
4785
4791
  }
4786
- const A = () => [ut.Email, ut.Link].includes(l["userleap-platform"]) ? !1 : !s || p + 1 !== D, I = () => m ? {
4792
+ const A = () => [pt.Email, pt.Link].includes(l["userleap-platform"]) ? !1 : !s || p + 1 !== D, I = () => m ? {
4787
4793
  borderColor: t
4788
4794
  } : {
4789
4795
  borderColor: t,
@@ -4797,73 +4803,73 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4797
4803
  };
4798
4804
  switch (g) {
4799
4805
  case b.ConsentLegal:
4800
- return B(li, {
4806
+ return B(ci, {
4801
4807
  ...P,
4802
4808
  ...T,
4803
4809
  key: y
4804
4810
  });
4805
4811
  case b.Likert:
4806
- return B(di, {
4812
+ return B(ui, {
4807
4813
  ...P,
4808
4814
  ...T,
4809
4815
  key: y
4810
4816
  });
4811
4817
  case b.Matrix:
4812
- return B(ui, {
4818
+ return B(pi, {
4813
4819
  ...P,
4814
4820
  ...T,
4815
4821
  key: y
4816
4822
  });
4817
4823
  case b.MultipleChoice:
4818
- return B(pi, {
4824
+ return B(hi, {
4819
4825
  ...P,
4820
4826
  ...T,
4821
4827
  key: y
4822
4828
  });
4823
4829
  case b.MultipleSelect:
4824
- return B(hi, {
4830
+ return B(fi, {
4825
4831
  ...P,
4826
4832
  ...T,
4827
4833
  key: y
4828
4834
  });
4829
4835
  case b.NPS:
4830
- return B(fi, {
4836
+ return B(mi, {
4831
4837
  ...P,
4832
4838
  key: y,
4833
4839
  props: T
4834
4840
  });
4835
4841
  case b.Open:
4836
- return B(mi, {
4842
+ return B(vi, {
4837
4843
  ...P,
4838
4844
  ...T,
4839
4845
  key: y
4840
4846
  });
4841
4847
  case b.RecordedTask:
4842
- return B(Ei, {
4848
+ return B(Ti, {
4843
4849
  ...P,
4844
4850
  ...T,
4845
4851
  key: y
4846
4852
  });
4847
4853
  case b.TextUrlPrompt:
4848
- return B(ji, {
4854
+ return B(Ri, {
4849
4855
  ...P,
4850
4856
  ...T,
4851
4857
  key: y
4852
4858
  });
4853
4859
  case b.Thanks:
4854
- return B(Ri, {
4860
+ return B(Ii, {
4855
4861
  ...P,
4856
4862
  ...T,
4857
4863
  key: y
4858
4864
  });
4859
4865
  case b.Uploading:
4860
- return B(Zi, {
4866
+ return B(Yi, {
4861
4867
  ...P,
4862
4868
  ...T,
4863
4869
  key: y
4864
4870
  });
4865
4871
  case b.VideoVoice:
4866
- return B(Gi, {
4872
+ return B(Wi, {
4867
4873
  ...P,
4868
4874
  ...T,
4869
4875
  key: y
@@ -4872,23 +4878,23 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4872
4878
  return null;
4873
4879
  }
4874
4880
  }, Q = (P) => {
4875
- var At;
4876
- const ne = window.sprigAPI, _e = P.target;
4877
- if (!ne || !_e)
4881
+ var Ut;
4882
+ const ne = window.sprigAPI, ve = P.target;
4883
+ if (!ne || !ve)
4878
4884
  return;
4879
- const nt = [_e, _e.parentElement];
4885
+ const nt = [ve, ve.parentElement];
4880
4886
  for (const Ue of nt)
4881
- if (((At = Ue == null ? void 0 : Ue.tagName) == null ? void 0 : At.toLowerCase()) === "a") {
4887
+ if (((Ut = Ue == null ? void 0 : Ue.tagName) == null ? void 0 : Ut.toLowerCase()) === "a") {
4882
4888
  P.preventDefault(), ne == null || ne.openUrl(Ue.href);
4883
4889
  return;
4884
4890
  }
4885
4891
  };
4886
4892
  return u("div", {
4887
- className: M("ul-app", We(l) ? "ul-app--visible" : "ul-app--overlay"),
4893
+ className: M("ul-app", Ge(l) ? "ul-app--visible" : "ul-app--overlay"),
4888
4894
  dir: "auto",
4889
4895
  id: ke,
4890
4896
  onClick: Q,
4891
- ref: v,
4897
+ ref: _,
4892
4898
  style: {
4893
4899
  "--theme": t,
4894
4900
  ...d ? {
@@ -4929,13 +4935,13 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4929
4935
  children: "For development purposes only"
4930
4936
  })
4931
4937
  }), u("div", {
4932
- className: M(Qo(E.CardMainContent, k)),
4938
+ className: M(Ko(E.CardMainContent, k)),
4933
4939
  children: L()
4934
- }), u(Yi, {})]
4940
+ }), u(Qi, {})]
4935
4941
  })
4936
4942
  })
4937
4943
  });
4938
- }, Ki = 'html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}ol,ul{padding-inline-start:1em}.ul-card{flex:1 1 auto;border-radius:2px;display:flex;flex-direction:column;font-size:17px;line-height:19px;text-align:start;margin:auto}.ul-card__container--desktop{border:2px solid #fff;box-shadow:0 0 15px #00000026}.ul-card__container--mobile{border-width:0;box-shadow:0 0 5px #00000040;margin-top:5px}.ul-card__container{background:#fff;border-radius:6px;display:flex;flex-direction:column;flex-grow:1;flex:1 1 auto;font-size:17px;line-height:23px;overflow:auto;padding:20px 20px 5px;position:relative;text-align:center;word-break:break-word}.ul-card-vertical__button-wrapper{flex-direction:column;align-items:center}.ul-card__button-wrapper{margin-top:4px;margin-bottom:3px;display:flex;gap:16px;justify-content:center}.ul-rich-text-body{min-height:2em}.ul-rich-text-body,.ul-rich-text-body p{margin-top:10px;margin-bottom:10px}.ul-rich-text-body li{margin:5px 0}.ul-rich-text-body p,.ul-rich-text-body li{font-size:15px;line-height:130.35%;letter-spacing:.02em;color:#343442;text-align:start;white-space:pre-line}.ul-rich-text-body:last-child,.ul-rich-text-body li:last-child{margin-bottom:15px}.ul-card-main-content__link,.ul-card-main-content__email{flex-grow:55;display:flex}.ul-card-main-content__web,.ul-card-main-content__android,.ul-card-main-content__ios{margin-bottom:5px}.ul-question{color:#343442;display:block;font-size:20px;line-height:125%;font-weight:500;cursor:default;text-align:start}.ul-caption{flex:1 0 auto;margin-top:8px;margin-bottom:15px;font-size:15px;line-height:130.35%;letter-spacing:.02em;color:#6c6c6e;text-align:start}.ul-card__choices{margin:5px 0 0;flex:1 0}.choice--mobile{border:2px solid #e6e6e6}.choice--desktop{border:1px solid #e6e6e6}.choice{align-items:flex-start;color:#262136;cursor:pointer;display:flex;justify-content:flex-start;flex-direction:column;box-sizing:border-box;border-radius:3px;margin-bottom:7px;font-size:15px;line-height:20px;padding:10px 20px 10px 15px;background-color:#00000003}.choice--desktop:hover,.choice--desktop:active,.choice--mobile:active{background-color:#0000000d}.choice-label-container{align-items:center;display:flex;flex-direction:row;flex:0 0 fit-content;gap:15px;height:fit-content;justify-content:flex-start;width:100%}.choice-text-entry-container{width:100%;height:fit-content;flex:0 1 fit-content;overflow:hidden}.choice .choice-text-input--mobile{max-height:63px}.choice .choice-text-input--desktop{max-height:150px}.choice .choice-text-input{box-sizing:border-box;background-color:transparent;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;min-height:20px;max-height:60px;padding:0;margin-top:8px;resize:none;width:100%;font-size:14px;line-height:20px;outline:none;border:none;overflow-wrap:break-word}.choice .choice-text-input::placeholder{color:#6c6c6e80}.ul-thanks-check{text-align:center;margin-bottom:20px}.ul-card--thanks-content{padding:20px 0 10px}.ul-card--thanks .ul-question{padding-top:0;text-align:center}.ul-card--thanks .ul-caption{padding-top:0;text-align:center;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-lines:no-limit}.ul-card--uploading .ul-question{padding-top:15px;text-align:center}.ul-card--uploading .ul-caption{padding-top:5px;text-align:center;overflow-wrap:break-word}.ul-loading-spinner-container{font-size:1.8rem;flex-grow:1;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ul-loading-spinner{display:inline-block;position:relative;width:6rem;height:6rem}.ul-loading-spinner div{box-sizing:border-box;display:block;position:absolute;width:80%;height:80%;margin:5px;border:5px solid #152e3e;border-radius:50%;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#152e3e transparent transparent transparent}.ul-loading-spinner .first{animation-delay:-.45s}.ul-loading-spinner .second{animation-delay:-.3s}.ul-loading-spinner .third{animation-delay:-.15s}@keyframes lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.select-checkbox{height:16px;width:16px;border-radius:3px;border:1px solid #323232;display:flex;box-sizing:border-box;box-shadow:inset 3px 3px #0000001a;background-color:"transparent";align-items:center;justify-content:center}.select-radio{height:16px;width:16px;border-radius:16px;border:1px solid #323232;display:flex;box-sizing:border-box;box-shadow:inset 2px 2px #0000001a;background-color:"transparent";align-items:center;justify-content:center}.fade-in-transition{animation:fadeIn .4s ease-in;-webkit-animation:fadeIn .4s ease-in;-moz-animation:fadeIn .4s ease-in;-o-animation:fadeIn .4s ease-in;-ms-animation:fadeIn .4s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-ms-keyframes fadeIn{0%{opacity:0}to{opacity:1}}[class^=CenteredSurveyLayout] .ul-header__container,[class^=QuestionConceptTestLayout] .ul-header__container,.ul-websurvey-frame .ul-card__container,.ul-websurvey-frame-mobile .ul-card__container{margin-bottom:unset}[class^=CenteredSurveyLayout] .ul-card__container,[class^=QuestionConceptTestLayout] .ul-card__container,.ul-websurvey-frame .ul-card__container,.ul-websurvey-frame-mobile .ul-card__container{align-self:center;box-shadow:unset;border-radius:unset;border:none!important;position:unset;width:100%}@media only screen and (min-height: 600px) and (width: 600px){.ul-card{position:relative;top:-20px}}.ul-vertical-centered-container{display:flex;flex-direction:column;align-items:center}.ul-consent-legal__name-input--mobile{border:2px solid #e6e6e6}.ul-consent-legal__name-input--desktop{border:1px solid #e6e6e6}.ul-consent-legal__name-input{background:#00000003;box-sizing:border-box;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;padding:10px 20px 10px 15px;border-radius:3px;font-size:15px;line-height:20px;margin-bottom:7px;width:100%}.ul-consent-legal__name-input::placeholder{color:#6c6c6e80}.ul-consent-legal__name-input:focus{outline:none;background:#fff}.ul-consent-legal__name-input--desktop:hover:not(:focus){background-color:#0000000d}.ul-card__consent-legal .choice{font-size:15px;padding:10px 15px;background-color:#00000003}.ul-card__consent-legal .choice--desktop:hover,.ul-card__consent-legal .choice--desktop:active,.ul-card__consent-legal .choice--mobile:active{background-color:#0000000d}.ul-card--likert__numbers{align-items:center;border-radius:5px;display:flex;flex-direction:row;flex:1 0;justify-content:center;margin:5px 0 0}.likert-number--mobile{border:2px solid #e6e6e6}.likert-number--mobile:not(:first-child){margin-inline-start:-2px}.likert-number--desktop{border:1px solid #e6e6e6}.likert-number--desktop:not(:first-child){margin-inline-start:-1px}.likert-number{align-items:center;cursor:pointer;display:flex;justify-content:center;flex:1 0;background-color:#00000003;font-size:18px;line-height:24px;height:67px}.likert-number:first-child{border-start-start-radius:5px;border-end-start-radius:5px}.likert-number:last-child{border-start-end-radius:5px;border-end-end-radius:5px}.likert-number:active,.likert-number--desktop:hover{background-color:#0000000d;font-weight:500}.likert-star--mobile:not(:first-child){margin-inline-start:-2px}.likert-star--desktop:not(:first-child){margin-inline-start:-1px}.likert-star{align-items:center;cursor:pointer;display:flex;justify-content:space-between;flex:1 0;color:transparent;font-size:18px;line-height:24px;height:67px}.likert-smiley--mobile:not(:first-child){margin-inline-start:-2px}.likert-smiley--desktop:not(:first-child){margin-inline-start:-1px}.likert-smiley{align-items:center;cursor:pointer;display:flex;justify-content:space-between;flex:1 0;color:transparent;line-height:24px;height:67px}.likert-smiley circle:not(:first-child){fill-opacity:1}.ul-card--likert__labels{align-items:center;color:#262136;display:flex;flex-direction:row;flex:1 0;font-weight:500;font-size:13px;line-height:15px;justify-content:space-between;margin:7px 0 10px}.ul-card--matrix_grid{display:grid;grid-template-columns:max-content repeat(var(--numColumns),minmax(93px,1fr));grid-template-rows:repeat(var(--numRows),min-content);margin:0 auto;row-gap:4px;width:max-content}.ul-matrix-row-options{display:grid;grid-column:2/-1;grid-template-columns:subgrid}.ul-matrix-column-label{font-size:15px;max-width:150px;padding:10px 12px;text-align:center}.ul-card--matrix_container{margin-bottom:16px;max-width:var(--maxWidth);overflow:auto}.ul-matrix-option-wrapper{align-items:center;background:#f9f9f8;display:flex;justify-content:center;padding:10px 12px}.ul-matrix-last-option{border-start-end-radius:4px;border-end-end-radius:4px}.ul-matrix-row-label{align-items:center;background:#f9f9f8;border-end-start-radius:4px;border-start-start-radius:4px;display:flex;font-size:15px;left:0;right:0;max-width:200px;min-width:100px;padding:10px 12px;position:sticky}.ul-matrix-option-selected{border:6px solid var(--border);box-shadow:none}.ul-card__matrix{min-width:min-content;padding-right:20px}.select-label{cursor:pointer;flex:1;overflow-wrap:anywhere;text-align:start}.ul-card--nps__numbers{align-items:center;border-radius:5px;display:flex;flex-direction:row;flex:1 0;justify-content:center;margin:5px 0 0}.nps-number--mobile{border:2px solid #e6e6e6}.nps-number--mobile:not(:first-child){margin-inline-start:-2px}.nps-number--desktop{border:1px solid #e6e6e6}.nps-number--desktop:not(:first-child){margin-inline-start:-1px}.nps-number{align-items:center;cursor:pointer;display:flex;justify-content:center;flex:1 0;background-color:#00000003;font-size:18px;line-height:24px;height:67px}.nps-number:first-child{border-start-start-radius:5px;border-end-start-radius:5px}.nps-number:last-child{border-start-end-radius:5px;border-end-end-radius:5px}.nps-number:active,.nps-number--desktop:hover{background-color:#0000000d;font-weight:500}.ul-card--nps__labels{align-items:center;color:#262136;display:flex;flex-direction:row;flex:1 0;font-weight:500;font-size:13px;line-height:15px;justify-content:space-between;margin:7px 0 10px}.ul-card-text{flex:1 0 auto;margin-top:2px;margin-bottom:3px;align-items:center;display:flex;flex-wrap:wrap;justify-content:center;padding:0}.ul-card-text__container{align-items:center;box-sizing:border-box;border-radius:3px;display:flex;justify-content:center;margin-bottom:12px;flex:1 0 100%}.ul-card-text__input--mobile{border:2px solid #e6e6e6;max-height:63px}.ul-card-text__input--desktop{border:1px solid #e6e6e6;max-height:150px}.ul-card-text__input{background:#00000003;box-sizing:border-box;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;min-height:63px;overflow:auto;padding:12px;resize:none;width:100%;border-radius:3px;font-size:15px;line-height:20px;overflow-wrap:break-word}.ul-card-text__input::placeholder{color:#6c6c6e80}.ul-card-text__input:focus{outline:none;background:#fff}.ul-card-text__input--desktop:hover:not(:focus){background-color:#0000000d}.ul-card__text-url-prompt-button{text-decoration:none;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:-webkit-fill-available}#ul-card-voice__video{align-items:center;display:flex;flex-direction:column}#ul-card-voice__video>div{margin-bottom:10px;width:100%}#ul-card-video__player_recorder{width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}.ul-card-record__task{flex:1 0 auto;margin-top:2px;margin-bottom:3px;align-items:center;display:flex;flex-wrap:wrap;justify-content:center;padding:0}#ul-record-task-upload-progress,#ul-record-task-video-preview{width:100%;height:150px}.ul-permission-graphics-container{width:100%;height:150px;background-color:#0000000d;text-align:center;flex-direction:column;margin-left:auto;margin-right:auto;border-radius:5px;display:flex;align-items:center;font-size:15px;color:#000000b3}.ul-av-permission-denied-paragraph{margin:auto 15px;font-size:12px}.ul-av-permission-denied-headline{font-size:14px;color:#262136;text-decoration:underline;font-size:12px}.ul-permission-body{color:#000;margin:5px auto 5px 5px;line-height:135%;text-align:center}.ul-select-tab-container{width:240px;height:46px;background:#fff;border-radius:5px;text-align:start;align-items:center;display:flex;padding:0 5px;margin-top:20px;margin-bottom:auto}.ul-select-tab-text{color:#4b575d;margin:5px;line-height:135%;text-align:center}button.ul-task-skip-button{color:#000;background-color:#fff}#ul-task-detail-container{margin-top:0;margin-bottom:0;overflow:auto}#ul-task-detail-container.ul-rich-text-body p,#ul-task-detail-container.ul-rich-text-body li,#ul-task-detail-container.ul-rich-text-body{color:#4c4c4c}#ul-task-detail-container :first-child{margin-top:0}#ul-task-detail-container :last-child{margin-bottom:20px}.ul-horizontal-button-container{width:100%;display:flex;flex-direction:row}.ul-skip-button-below{margin-top:5px}.ul-horizontal-button-container-center{justify-content:center}.ul-vertical-button-container-center{display:flex;flex-direction:column;align-items:center}.ul-horizontal-button-container-left{justify-content:flex-start}.ul_recorded-task-inset-spacing{margin-top:5px;margin-bottom:24px}.ul_permission_svg_container{justify-content:center}.ul-card-text__button{background-color:var(--theme);border-radius:3px;border:none;color:#fff;cursor:pointer;font-size:15px;font-weight:500;line-height:18px;padding:10.5px 21px}.ul-card-text__button:disabled,.ul-card-text__button.sprig-button-disabled{background-color:#0000001a;color:#0003}.ul-card-text__button.ul-button-inactive{background-color:#fff!important;color:#5d696f!important}.ul-card-skip__button{color:#00000080;background:none;border:none;font-size:15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;cursor:pointer}.ul-card-button-group{align-items:center;display:flex;gap:15px;justify-content:center;flex-direction:column}html,body{cursor:default;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;height:100%;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-webkit-touch-callout:none}b{font-weight:500}#ul-app{opacity:0;width:100%;flex-grow:2;display:flex}#ul-app.ul-app--overlay{position:absolute;bottom:0;transition:opacity .1s ease-out;transition-delay:.1s}#ul-app.ul-app--visible{opacity:1;bottom:0}.ul-app__container{width:100%;display:flex;flex-direction:column;max-height:100vh}.ul-header__container{margin-bottom:15px}.ul-header{align-items:center;background:repeating-linear-gradient(120deg,#ebebeb,#ebebeb 24px,#fff 24px,#fff 48px);border-bottom:2px solid #ebebeb;display:flex;font-size:14px;font-weight:500;height:40px;justify-content:center;left:0;position:absolute;top:0;width:100%}.ul-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:auto;flex-grow:1;width:100%}.ul-footer>.yellow-footer-logo{background:#fad133;border:1px solid #f9c600;border-radius:14px;padding:6px 12px}.ul-footer>.yellow-footer-logo:hover{background:#f9c600}.ul-footer .thank-you-card-link{background:#00000003;border:1px solid #e6e6e6;border-radius:8px;cursor:pointer;display:inline-flex;font-size:14px;gap:12px;margin-bottom:15px;padding:12px;text-align:initial;width:280px}.ul-footer .thank-you-card-link:hover{background:#00000008}.ul-footer>a{color:inherit}.ul-footer-bubble{display:inline-block;margin:0 3px;width:7px;height:7px;border-radius:3px;border:1px solid transparent}.sprig-box-logo{background:#f9c600;border-radius:5px;display:flex;padding:4px}.close-container{display:flex;justify-content:flex-end;width:100%}.close-btn{cursor:pointer;height:18px;margin-inline-end:-10px;position:relative;top:-10px;width:18px;z-index:1}.ul-app__container{transition:opacity .3s ease-out}.ul-center-horizontally{text-align:center}#ul-progress-bar-container{width:100%;height:2px;background-color:#0000001a;border-radius:2px;max-width:250px;margin:25px 0}#ul-progress-bar-current{transition:width 1s ease;width:0%;height:0;border-radius:2px}.prototype-button{width:100%;background:#00000003;border:1.5px solid #e6e6e6;border-radius:4px 0 0 4px;flex:none;flex-grow:1;margin:0;padding:20px 0;font-size:14px;font-family:inherit;text-decoration:underline}.prototype-button:hover{cursor:pointer}', Ji = async (e, t) => {
4944
+ }, Ji = 'html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}ol,ul{padding-inline-start:1em}.ul-card{flex:1 1 auto;border-radius:2px;display:flex;flex-direction:column;font-size:17px;line-height:19px;margin:auto;text-align:start;min-width:200px}.ul-card__container--desktop{border:2px solid #fff;box-shadow:0 0 15px #00000026}.ul-card__container--mobile{border-width:0;box-shadow:0 0 5px #00000040;margin-top:5px}.ul-card__container{background:#fff;border-radius:6px;display:flex;flex-direction:column;flex-grow:1;flex:1 1 auto;font-size:17px;line-height:23px;overflow:auto;padding:20px 20px 5px;position:relative;text-align:center;word-break:break-word}.ul-card-vertical__button-wrapper{flex-direction:column;align-items:center}.ul-card__button-wrapper{margin-top:4px;margin-bottom:3px;display:flex;gap:16px;justify-content:center}.ul-rich-text-body{min-height:2em}.ul-rich-text-body,.ul-rich-text-body p{margin-top:10px;margin-bottom:10px}.ul-rich-text-body li{margin:5px 0}.ul-rich-text-body p,.ul-rich-text-body li{font-size:15px;line-height:130.35%;letter-spacing:.02em;color:#343442;text-align:start;white-space:pre-line}.ul-rich-text-body:last-child,.ul-rich-text-body li:last-child{margin-bottom:15px}.ul-card-main-content__link,.ul-card-main-content__email{flex-grow:55;display:flex}.ul-card-main-content__web,.ul-card-main-content__android,.ul-card-main-content__ios{margin-bottom:5px}.ul-question{color:#343442;display:block;font-size:20px;line-height:125%;font-weight:500;cursor:default;text-align:start}.ul-caption{flex:1 0 auto;margin-top:8px;margin-bottom:15px;font-size:15px;line-height:130.35%;letter-spacing:.02em;color:#6c6c6e;text-align:start}.ul-card__choices{margin:5px 0 0;flex:1 0}.choice--mobile{border:2px solid #e6e6e6}.choice--desktop{border:1px solid #e6e6e6}.choice{align-items:flex-start;color:#262136;cursor:pointer;display:flex;justify-content:flex-start;flex-direction:column;box-sizing:border-box;border-radius:3px;margin-bottom:7px;font-size:15px;line-height:20px;padding:10px 20px 10px 15px;background-color:#00000003}.choice--desktop:hover,.choice--desktop:active,.choice--mobile:active{background-color:#0000000d}.choice-label-container{align-items:center;display:flex;flex-direction:row;flex:0 0 fit-content;gap:15px;height:fit-content;justify-content:flex-start;width:100%}.choice-text-entry-container{width:100%;height:fit-content;flex:0 1 fit-content;overflow:hidden}.choice .choice-text-input--mobile{max-height:63px}.choice .choice-text-input--desktop{max-height:150px}.choice .choice-text-input{box-sizing:border-box;background-color:transparent;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;min-height:20px;max-height:60px;padding:0;margin-top:8px;resize:none;width:100%;font-size:14px;line-height:20px;outline:none;border:none;overflow-wrap:break-word}.choice .choice-text-input::placeholder{color:#6c6c6e80}.ul-thanks-check{text-align:center;margin-bottom:20px}.ul-card--thanks-content{padding:20px 0 10px}.ul-card--thanks .ul-question{padding-top:0;text-align:center}.ul-card--thanks .ul-caption{padding-top:0;text-align:center;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-lines:no-limit}.ul-card--uploading .ul-question{padding-top:15px;text-align:center}.ul-card--uploading .ul-caption{padding-top:5px;text-align:center;overflow-wrap:break-word}.ul-loading-spinner-container{font-size:1.8rem;flex-grow:1;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ul-loading-spinner{display:inline-block;position:relative;width:6rem;height:6rem}.ul-loading-spinner div{box-sizing:border-box;display:block;position:absolute;width:80%;height:80%;margin:5px;border:5px solid #152e3e;border-radius:50%;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#152e3e transparent transparent transparent}.ul-loading-spinner .first{animation-delay:-.45s}.ul-loading-spinner .second{animation-delay:-.3s}.ul-loading-spinner .third{animation-delay:-.15s}@keyframes lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.select-checkbox{height:16px;width:16px;border-radius:3px;border:1px solid #323232;display:flex;box-sizing:border-box;box-shadow:inset 3px 3px #0000001a;background-color:"transparent";align-items:center;justify-content:center}.select-radio{height:16px;width:16px;border-radius:16px;border:1px solid #323232;display:flex;box-sizing:border-box;box-shadow:inset 2px 2px #0000001a;background-color:"transparent";align-items:center;justify-content:center}.fade-in-transition{animation:fadeIn .4s ease-in;-webkit-animation:fadeIn .4s ease-in;-moz-animation:fadeIn .4s ease-in;-o-animation:fadeIn .4s ease-in;-ms-animation:fadeIn .4s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-ms-keyframes fadeIn{0%{opacity:0}to{opacity:1}}[class^=CenteredSurveyLayout] .ul-header__container,[class^=QuestionConceptTestLayout] .ul-header__container,.ul-websurvey-frame .ul-card__container,.ul-websurvey-frame-mobile .ul-card__container{margin-bottom:unset}[class^=CenteredSurveyLayout] .ul-card__container,[class^=QuestionConceptTestLayout] .ul-card__container,.ul-websurvey-frame .ul-card__container,.ul-websurvey-frame-mobile .ul-card__container{align-self:center;box-shadow:unset;border-radius:unset;border:none!important;position:unset;width:100%}@media only screen and (min-height: 600px) and (width: 600px){.ul-card{position:relative;top:-20px}}.ul-vertical-centered-container{display:flex;flex-direction:column;align-items:center}.ul-consent-legal__name-input--mobile{border:2px solid #e6e6e6}.ul-consent-legal__name-input--desktop{border:1px solid #e6e6e6}.ul-consent-legal__name-input{background:#00000003;box-sizing:border-box;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;padding:10px 20px 10px 15px;border-radius:3px;font-size:15px;line-height:20px;margin-bottom:7px;width:100%}.ul-consent-legal__name-input::placeholder{color:#6c6c6e80}.ul-consent-legal__name-input:focus{outline:none;background:#fff}.ul-consent-legal__name-input--desktop:hover:not(:focus){background-color:#0000000d}.ul-card__consent-legal .choice{font-size:15px;padding:10px 15px;background-color:#00000003}.ul-card__consent-legal .choice--desktop:hover,.ul-card__consent-legal .choice--desktop:active,.ul-card__consent-legal .choice--mobile:active{background-color:#0000000d}.ul-card--likert__numbers{align-items:center;border-radius:5px;display:flex;flex-direction:row;flex:1 0;justify-content:center;margin:5px 0 0}.likert-number--mobile{border:2px solid #e6e6e6}.likert-number--mobile:not(:first-child){margin-inline-start:-2px}.likert-number--desktop{border:1px solid #e6e6e6}.likert-number--desktop:not(:first-child){margin-inline-start:-1px}.likert-number{align-items:center;cursor:pointer;display:flex;justify-content:center;flex:1 0;background-color:#00000003;font-size:18px;line-height:24px;height:67px}.likert-number:first-child{border-start-start-radius:5px;border-end-start-radius:5px}.likert-number:last-child{border-start-end-radius:5px;border-end-end-radius:5px}.likert-number:active,.likert-number--desktop:hover{background-color:#0000000d;font-weight:500}.likert-star--mobile:not(:first-child){margin-inline-start:-2px}.likert-star--desktop:not(:first-child){margin-inline-start:-1px}.likert-star{align-items:center;cursor:pointer;display:flex;justify-content:space-between;flex:1 0;color:transparent;font-size:18px;line-height:24px;height:67px}.likert-smiley--mobile:not(:first-child){margin-inline-start:-2px}.likert-smiley--desktop:not(:first-child){margin-inline-start:-1px}.likert-smiley{align-items:center;cursor:pointer;display:flex;justify-content:space-between;flex:1 0;color:transparent;line-height:24px;height:67px}.likert-smiley circle:not(:first-child){fill-opacity:1}.ul-card--likert__labels{align-items:center;color:#262136;display:flex;flex-direction:row;flex:1 0;font-weight:500;font-size:13px;line-height:15px;justify-content:space-between;margin:7px 0 10px}.ul-card--matrix_grid{display:grid;grid-template-columns:max-content repeat(var(--numColumns),minmax(93px,1fr));grid-template-rows:repeat(var(--numRows),min-content);margin:0 auto;row-gap:4px;width:max-content}.ul-matrix-row-options{display:grid;grid-column:2/-1;grid-template-columns:subgrid}.ul-matrix-column-label{font-size:15px;max-width:150px;padding:10px 12px;text-align:center}.ul-card--matrix_container{margin-bottom:16px;overflow:auto}.ul-matrix-option-wrapper{align-items:center;background:#f9f9f8;display:flex;justify-content:center;padding:10px 12px}.ul-matrix-last-option{border-start-end-radius:4px;border-end-end-radius:4px}.ul-matrix-row-label{align-items:center;background:#f9f9f8;border-end-start-radius:4px;border-start-start-radius:4px;display:flex;font-size:15px;left:0;right:0;max-width:200px;min-width:100px;padding:10px 12px;position:sticky}.ul-matrix-option-selected{border:6px solid var(--border);box-shadow:none}.ul-card__matrix{max-width:100%}.select-label{cursor:pointer;flex:1;overflow-wrap:anywhere;text-align:start}.ul-card--nps__numbers{align-items:center;border-radius:5px;display:flex;flex-direction:row;flex:1 0;justify-content:center;margin:5px 0 0}.nps-number--mobile{border:2px solid #e6e6e6}.nps-number--mobile:not(:first-child){margin-inline-start:-2px}.nps-number--desktop{border:1px solid #e6e6e6}.nps-number--desktop:not(:first-child){margin-inline-start:-1px}.nps-number{align-items:center;cursor:pointer;display:flex;justify-content:center;flex:1 0;background-color:#00000003;font-size:18px;line-height:24px;height:67px}.nps-number:first-child{border-start-start-radius:5px;border-end-start-radius:5px}.nps-number:last-child{border-start-end-radius:5px;border-end-end-radius:5px}.nps-number:active,.nps-number--desktop:hover{background-color:#0000000d;font-weight:500}.ul-card--nps__labels{align-items:center;color:#262136;display:flex;flex-direction:row;flex:1 0;font-weight:500;font-size:13px;line-height:15px;justify-content:space-between;margin:7px 0 10px}.ul-card-text{flex:1 0 auto;margin-top:2px;margin-bottom:3px;align-items:center;display:flex;flex-wrap:wrap;justify-content:center;padding:0}.ul-card-text__container{align-items:center;box-sizing:border-box;border-radius:3px;display:flex;justify-content:center;margin-bottom:12px;flex:1 0 100%}.ul-card-text__input--mobile{border:2px solid #e6e6e6;max-height:63px}.ul-card-text__input--desktop{border:1px solid #e6e6e6;max-height:150px}.ul-card-text__input{background:#00000003;box-sizing:border-box;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;min-height:63px;overflow:auto;padding:12px;resize:none;width:100%;border-radius:3px;font-size:15px;line-height:20px;overflow-wrap:break-word}.ul-card-text__input::placeholder{color:#6c6c6e80}.ul-card-text__input:focus{outline:none;background:#fff}.ul-card-text__input--desktop:hover:not(:focus){background-color:#0000000d}.ul-card__text-url-prompt-button{text-decoration:none;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:-webkit-fill-available}#ul-card-voice__video{align-items:center;display:flex;flex-direction:column}#ul-card-voice__video>div{margin-bottom:10px;width:100%}#ul-card-video__player_recorder{width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}.ul-card-record__task{flex:1 0 auto;margin-top:2px;margin-bottom:3px;align-items:center;display:flex;flex-wrap:wrap;justify-content:center;padding:0}#ul-record-task-upload-progress,#ul-record-task-video-preview{width:100%;height:150px}.ul-permission-graphics-container{width:100%;height:150px;background-color:#0000000d;text-align:center;flex-direction:column;margin-left:auto;margin-right:auto;border-radius:5px;display:flex;align-items:center;font-size:15px;color:#000000b3}.ul-av-permission-denied-paragraph{margin:auto 15px;font-size:12px}.ul-av-permission-denied-headline{font-size:14px;color:#262136;text-decoration:underline;font-size:12px}.ul-permission-body{color:#000;margin:5px auto 5px 5px;line-height:135%;text-align:center}.ul-select-tab-container{width:240px;height:46px;background:#fff;border-radius:5px;text-align:start;align-items:center;display:flex;padding:0 5px;margin-top:20px;margin-bottom:auto}.ul-select-tab-text{color:#4b575d;margin:5px;line-height:135%;text-align:center}button.ul-task-skip-button{color:#000;background-color:#fff}#ul-task-detail-container{margin-top:0;margin-bottom:0;overflow:auto}#ul-task-detail-container.ul-rich-text-body p,#ul-task-detail-container.ul-rich-text-body li,#ul-task-detail-container.ul-rich-text-body{color:#4c4c4c}#ul-task-detail-container :first-child{margin-top:0}#ul-task-detail-container :last-child{margin-bottom:20px}.ul-horizontal-button-container{width:100%;display:flex;flex-direction:row}.ul-skip-button-below{margin-top:5px}.ul-horizontal-button-container-center{justify-content:center}.ul-vertical-button-container-center{display:flex;flex-direction:column;align-items:center}.ul-horizontal-button-container-left{justify-content:flex-start}.ul_recorded-task-inset-spacing{margin-top:5px;margin-bottom:24px}.ul_permission_svg_container{justify-content:center}.ul-card-text__button{background-color:var(--theme);border-radius:3px;border:none;color:#fff;cursor:pointer;font-size:15px;font-weight:500;line-height:18px;padding:10.5px 21px}.ul-card-text__button:disabled,.ul-card-text__button.sprig-button-disabled{background-color:#0000001a;color:#0003}.ul-card-text__button.ul-button-inactive{background-color:#fff!important;color:#5d696f!important}.ul-card-skip__button{color:#00000080;background:none;border:none;font-size:15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;cursor:pointer}.ul-card-button-group{align-items:center;display:flex;gap:15px;justify-content:center;flex-direction:column}html,body{cursor:default;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;height:100%;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-webkit-touch-callout:none}b{font-weight:500}#ul-app{opacity:0;width:100%;flex-grow:2;display:flex}#ul-app.ul-app--overlay{position:absolute;bottom:0;transition:opacity .1s ease-out;transition-delay:.1s}#ul-app.ul-app--visible{opacity:1;bottom:0}.ul-app__container{width:100%;display:flex;flex-direction:column;max-height:100vh}.ul-header__container{margin-bottom:15px}.ul-header{align-items:center;background:repeating-linear-gradient(120deg,#ebebeb,#ebebeb 24px,#fff 24px,#fff 48px);border-bottom:2px solid #ebebeb;display:flex;font-size:14px;font-weight:500;height:40px;justify-content:center;left:0;position:absolute;top:0;width:100%}.ul-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:auto;flex-grow:1;width:100%}.ul-footer>.yellow-footer-logo{background:#fad133;border:1px solid #f9c600;border-radius:14px;padding:6px 12px}.ul-footer>.yellow-footer-logo:hover{background:#f9c600}.ul-footer .thank-you-card-link{background:#00000003;border:1px solid #e6e6e6;border-radius:8px;cursor:pointer;display:inline-flex;font-size:14px;gap:12px;margin-bottom:15px;padding:12px;text-align:initial;width:280px}.ul-footer .thank-you-card-link:hover{background:#00000008}.ul-footer>a{color:inherit}.ul-footer-bubble{display:inline-block;margin:0 3px;width:7px;height:7px;border-radius:3px;border:1px solid transparent}.sprig-box-logo{background:#f9c600;border-radius:5px;display:flex;padding:4px}.close-container{display:flex;justify-content:flex-end;width:100%}.close-btn{cursor:pointer;height:18px;margin-inline-end:-10px;position:relative;top:-10px;width:18px;z-index:1}.ul-app__container{transition:opacity .3s ease-out}.ul-center-horizontally{text-align:center}#ul-progress-bar-container{width:100%;height:2px;background-color:#0000001a;border-radius:2px;max-width:250px;margin:25px 0}#ul-progress-bar-current{transition:width 1s ease;width:0%;height:0;border-radius:2px}.prototype-button{width:100%;background:#00000003;border:1.5px solid #e6e6e6;border-radius:4px 0 0 4px;flex:none;flex-grow:1;margin:0;padding:20px 0;font-size:14px;font-family:inherit;text-decoration:underline}.prototype-button:hover{cursor:pointer}', Xi = async (e, t) => {
4939
4945
  var o;
4940
4946
  const n = await fetch(t, {
4941
4947
  method: "POST",
@@ -4950,33 +4956,33 @@ const he = async ({ event: e, apiBase: t, headers: n, visitorId: o, envId: r, me
4950
4956
  return (o = r == null ? void 0 : r.upload) == null ? void 0 : o.url;
4951
4957
  } else
4952
4958
  return null;
4953
- }, Ho = () => MediaRecorder.isTypeSupported(
4959
+ }, Fo = () => MediaRecorder.isTypeSupported(
4954
4960
  "video/webm"
4955
4961
  /* Webm */
4956
- ) ? "video/webm" : "video/mp4", xn = (e) => {
4962
+ ) ? "video/webm" : "video/mp4", yn = (e) => {
4957
4963
  const t = {
4958
4964
  audioBitsPerSecond: 128e3,
4959
4965
  //standard setting based on documentation's example
4960
4966
  videoBitsPerSecond: 25e5,
4961
- mimeType: Ho()
4967
+ mimeType: Fo()
4962
4968
  };
4963
4969
  return new MediaRecorder(e, t);
4964
- }, yn = (e, t, n) => {
4970
+ }, Cn = (e, t, n) => {
4965
4971
  n[t] = [], e.ondataavailable = function(o) {
4966
4972
  n[t].push(o.data);
4967
4973
  }, e.currentMediaRecordingUid = t, e.start();
4968
4974
  };
4969
- function Cn(e, t, n, o, r, i) {
4975
+ function kn(e, t, n, o, r, i) {
4970
4976
  if (e && e.state !== "inactive") {
4971
4977
  const {
4972
4978
  [U.BeginCallback]: s
4973
4979
  } = o, a = e.currentMediaRecordingUid;
4974
4980
  if (!a)
4975
4981
  return;
4976
- s && s(a), e.onstop = () => Xi(t, e, n, o, a, r, i), e.stop();
4982
+ s && s(a), e.onstop = () => es(t, e, n, o, a, r, i), e.stop();
4977
4983
  }
4978
4984
  }
4979
- async function Xi(e, t, n, o, r, i, s) {
4985
+ async function es(e, t, n, o, r, i, s) {
4980
4986
  const a = $.getState().viewDocument, {
4981
4987
  [U.UploadCallback]: d,
4982
4988
  [U.ProgressCallback]: l
@@ -4985,7 +4991,7 @@ async function Xi(e, t, n, o, r, i, s) {
4985
4991
  updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
4986
4992
  mediaRecordingUid: r,
4987
4993
  ...o[U.PassthroughData]
4988
- }, c = await Ji(p, e);
4994
+ }, c = await Xi(p, e);
4989
4995
  if (!c) {
4990
4996
  d && d(null, {
4991
4997
  message: "failed to get upload url"
@@ -4993,30 +4999,30 @@ async function Xi(e, t, n, o, r, i, s) {
4993
4999
  return;
4994
5000
  }
4995
5001
  const h = new Blob(s, {
4996
- type: Ho()
5002
+ type: Fo()
4997
5003
  });
4998
5004
  if (!a.defaultView)
4999
5005
  return;
5000
- const f = new a.defaultView.File([h], `recording video ${Date.now()}`), _ = i.createUpload({
5006
+ const f = new a.defaultView.File([h], `recording video ${Date.now()}`), v = i.createUpload({
5001
5007
  // endpoint computed from backend separately and hacked together
5002
5008
  endpoint: c,
5003
5009
  file: f,
5004
5010
  chunkSize: 5120
5005
5011
  // Uploads the file in ~5mb chunks
5006
5012
  });
5007
- _.on("error", (m) => {
5013
+ v.on("error", (m) => {
5008
5014
  d && d(null, m);
5009
- }), _.on("progress", (m) => {
5015
+ }), v.on("progress", (m) => {
5010
5016
  l && l(r, m);
5011
- }), _.on("success", () => {
5017
+ }), v.on("success", () => {
5012
5018
  d && d(r, !0);
5013
5019
  });
5014
5020
  }
5015
- const es = {
5021
+ const ts = {
5016
5022
  chunks: {}
5017
- }, ts = {
5023
+ }, ns = {
5018
5024
  state: {
5019
- ...es
5025
+ ...ts
5020
5026
  },
5021
5027
  stopRecording(e) {
5022
5028
  const {
@@ -5025,7 +5031,7 @@ const es = {
5025
5031
  screenRecorder: o,
5026
5032
  UpChunk: r
5027
5033
  } = this.state, i = this.state.avStream && this.state.avStream.getVideoTracks().length > 0 ? re.Video : re.Audio;
5028
- this.state.chunks && t && r && (n != null && n.currentMediaRecordingUid && Cn(n, t, i, e, r, this.state.chunks[n == null ? void 0 : n.currentMediaRecordingUid]), o != null && o.currentMediaRecordingUid && Cn(o, t, re.Screen, e, r, this.state.chunks[o == null ? void 0 : o.currentMediaRecordingUid]));
5034
+ this.state.chunks && t && r && (n != null && n.currentMediaRecordingUid && kn(n, t, i, e, r, this.state.chunks[n == null ? void 0 : n.currentMediaRecordingUid]), o != null && o.currentMediaRecordingUid && kn(o, t, re.Screen, e, r, this.state.chunks[o == null ? void 0 : o.currentMediaRecordingUid]));
5029
5035
  },
5030
5036
  handleCancelledStream(e) {
5031
5037
  const t = e.getVideoTracks(), n = e.getAudioTracks();
@@ -5103,14 +5109,14 @@ const es = {
5103
5109
  return;
5104
5110
  const o = [];
5105
5111
  if (t.includes(re.Video) && this.state.avStream) {
5106
- this.state.avRecorder = xn(this.state.avStream);
5107
- const r = ht();
5108
- yn(this.state.avRecorder, r, this.state.chunks), o.push(r);
5112
+ this.state.avRecorder = yn(this.state.avStream);
5113
+ const r = ft();
5114
+ Cn(this.state.avRecorder, r, this.state.chunks), o.push(r);
5109
5115
  }
5110
5116
  if (t.includes(re.Screen) && this.state.captureStream) {
5111
- this.state.screenRecorder = xn(this.state.captureStream);
5112
- const r = ht();
5113
- yn(this.state.screenRecorder, r, this.state.chunks), o.push(r);
5117
+ this.state.screenRecorder = yn(this.state.captureStream);
5118
+ const r = ft();
5119
+ Cn(this.state.screenRecorder, r, this.state.chunks), o.push(r);
5114
5120
  }
5115
5121
  o && n && n(o);
5116
5122
  },
@@ -5138,7 +5144,7 @@ const es = {
5138
5144
  screenRecorder: i
5139
5145
  } = this.state, {
5140
5146
  allResponses: s
5141
- } = $.getState(), a = ko({
5147
+ } = $.getState(), a = wo({
5142
5148
  cards: n,
5143
5149
  index: e,
5144
5150
  hasEndCard: o,
@@ -5150,9 +5156,9 @@ const es = {
5150
5156
  }));
5151
5157
  });
5152
5158
  }
5153
- }, qe = Object.create(ts);
5159
+ }, qe = Object.create(ns);
5154
5160
  Object.freeze(qe);
5155
- const ns = (e, t) => {
5161
+ const os = (e, t) => {
5156
5162
  const n = [...e], o = /* @__PURE__ */ new Set([b.VideoVoice, b.RecordedTask]);
5157
5163
  return e.some((r) => o.has(r.type)) && n.push({
5158
5164
  name: -2,
@@ -5167,7 +5173,7 @@ const ns = (e, t) => {
5167
5173
  },
5168
5174
  type: b.Thanks
5169
5175
  }), n;
5170
- }, os = ({
5176
+ }, rs = ({
5171
5177
  mode: e = null,
5172
5178
  viewWindow: t,
5173
5179
  viewDocument: n
@@ -5189,7 +5195,7 @@ const ns = (e, t) => {
5189
5195
  l: t.navigator.language
5190
5196
  };
5191
5197
  };
5192
- function rs(e, t = !0) {
5198
+ function is(e, t = !0) {
5193
5199
  var g;
5194
5200
  const {
5195
5201
  answers: n,
@@ -5202,8 +5208,8 @@ function rs(e, t = !0) {
5202
5208
  previewKey: l,
5203
5209
  viewDocument: p,
5204
5210
  viewWindow: c
5205
- } = e, h = We(e.headers) ? e.frame : p.body, f = e.UpChunk || window.UpChunk, _ = $e, m = ns(e.cards, !!i);
5206
- qe.configure(_, {
5211
+ } = e, h = Ge(e.headers) ? e.frame : p.body, f = e.UpChunk || window.UpChunk, v = $e, m = os(e.cards, !!i);
5212
+ qe.configure(v, {
5207
5213
  cards: m,
5208
5214
  hasEndCard: !!i,
5209
5215
  apiURL: o,
@@ -5226,7 +5232,7 @@ function rs(e, t = !0) {
5226
5232
  hasViewedEmbed: !1,
5227
5233
  isPreview: e.isPreview,
5228
5234
  marketingUrl: "https://sprig.com",
5229
- meta: os({
5235
+ meta: rs({
5230
5236
  mode: e.mode,
5231
5237
  viewWindow: c,
5232
5238
  viewDocument: p
@@ -5234,7 +5240,7 @@ function rs(e, t = !0) {
5234
5240
  mode: e.mode,
5235
5241
  previewKey: l,
5236
5242
  recorder: qe,
5237
- recorderEventEmitter: _,
5243
+ recorderEventEmitter: v,
5238
5244
  responseGroupUid: e.responseGroupUid,
5239
5245
  showStripes: e.showStripes,
5240
5246
  showSurveyBrand: e.showSurveyBrand,
@@ -5256,30 +5262,30 @@ function rs(e, t = !0) {
5256
5262
  } = $.getState();
5257
5263
  x();
5258
5264
  const {
5259
- head: v
5265
+ head: _
5260
5266
  } = p, C = p.createElement("style");
5261
- if (C.id = "sprig-style", C.textContent = Ki, C.nonce = e.styleNonce, v.appendChild(C), e.fontFamily && a && parent) {
5267
+ if (C.id = "sprig-style", C.textContent = Ji, C.nonce = e.styleNonce, _.appendChild(C), e.fontFamily && a && parent) {
5262
5268
  const y = p.createElement("link");
5263
- y.rel = "stylesheet", y.href = a, v.appendChild(y);
5269
+ y.rel = "stylesheet", y.href = a, _.appendChild(y);
5264
5270
  }
5265
- if (e.customStyles && Xo(p, r, e.styleNonce), !f)
5266
- if (e.installationMethod !== kn.Npm) {
5271
+ if (e.customStyles && er(p, r, e.styleNonce), !f)
5272
+ if (e.installationMethod !== wn.Npm) {
5267
5273
  const y = p.createElement("script");
5268
5274
  y.src = "https://cdn.sprig.com/userleap-web-upchunk-v2.2.2.js", y.onload = () => {
5269
5275
  qe.setUpChunk(c.UpChunk);
5270
5276
  }, y.onerror = () => {
5271
5277
  console.warn("[Sprig] - recording functionality not configured due to UpChunk library load failure");
5272
- }, v.appendChild(y);
5278
+ }, _.appendChild(y);
5273
5279
  } else
5274
5280
  console.warn("[Sprig] - recording functionality not configured due to missing UpChunk dependency");
5275
- const k = "2.26.2", T = s || ((g = d.eventEmitter) == null ? void 0 : g.emit);
5281
+ const k = "2.26.3", T = s || ((g = d.eventEmitter) == null ? void 0 : g.emit);
5276
5282
  T == null || T(ce.VerifyViewVersion, {
5277
5283
  [Re.ViewVersion]: k
5278
- }), h && t && Ee(u(Qi, {}), h);
5284
+ }), h && t && Ee(u(Ki, {}), h);
5279
5285
  }
5280
- const ss = {
5281
- configure: rs
5286
+ const as = {
5287
+ configure: is
5282
5288
  };
5283
5289
  export {
5284
- ss as default
5290
+ as as default
5285
5291
  };