@sapia-ai/chatbot-v3 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{EmbeddedVideoPlayer-SaMMfDIW.js → EmbeddedVideoPlayer-CNcds-dW.js} +283 -282
  2. package/dist/Preview-Dmns6UWL.js +84 -0
  3. package/dist/api.js +1 -1
  4. package/dist/{dist-DGBYKC8c.js → dist-B9SbMqZU.js} +2693 -2693
  5. package/dist/embed/createChatbot.d.ts +2 -0
  6. package/dist/{fix-webm-duration-BW9Fbdzt.js → fix-webm-duration-BWL-ZRDX.js} +2 -2
  7. package/dist/index.d.ts +0 -1
  8. package/dist/index.js +15479 -2067
  9. package/dist/jsx-runtime-8QqjHL5t.js +24 -0
  10. package/dist/messages-Czlp86gl.js +1963 -0
  11. package/dist/react-B0K-sClg.js +295 -0
  12. package/dist/{react-Bujo1aK5.js → react-ChCcxVnw.js} +90 -89
  13. package/dist/{react-GXf8sbzf.js → react-DJysvNxz.js} +72 -71
  14. package/dist/{react-BVzcquey.js → react-Dbs-sPBo.js} +93 -92
  15. package/dist/{react-lp7yfM94.js → react-NauLB_WU.js} +91 -90
  16. package/dist/{react-BGJ7Szvq.js → react-QrtEtv1G.js} +76 -74
  17. package/dist/{react-BrCGR7Ca.js → react-be7q6yw_.js} +312 -310
  18. package/dist/{react-CRTg4gz8.js → react-czRIxT0g.js} +85 -84
  19. package/dist/{react-BMxM8TWJ.js → react-dE7BdGuR.js} +49 -48
  20. package/package.json +14 -25
  21. package/dist/EmbeddedVideoPlayer-SaMMfDIW.js.map +0 -1
  22. package/dist/Preview-Db-hgkTh.js +0 -83
  23. package/dist/Preview-Db-hgkTh.js.map +0 -1
  24. package/dist/dash.all.min-DZ1yEcJk.js.map +0 -1
  25. package/dist/dist-BSi28_cP.js.map +0 -1
  26. package/dist/dist-DGBYKC8c.js.map +0 -1
  27. package/dist/dist-FvHBWiRa.js.map +0 -1
  28. package/dist/fix-webm-duration-BW9Fbdzt.js.map +0 -1
  29. package/dist/hls-mBncGwsE.js.map +0 -1
  30. package/dist/index.js.map +0 -1
  31. package/dist/max-Btet1snX.js.map +0 -1
  32. package/dist/messages-C4jqrtSG.js +0 -187
  33. package/dist/messages-C4jqrtSG.js.map +0 -1
  34. package/dist/react-BGJ7Szvq.js.map +0 -1
  35. package/dist/react-BMxM8TWJ.js.map +0 -1
  36. package/dist/react-BVzcquey.js.map +0 -1
  37. package/dist/react-BrCGR7Ca.js.map +0 -1
  38. package/dist/react-Bujo1aK5.js.map +0 -1
  39. package/dist/react-CRTg4gz8.js.map +0 -1
  40. package/dist/react-GXf8sbzf.js.map +0 -1
  41. package/dist/react-lp7yfM94.js.map +0 -1
  42. package/dist/sapia-chatbot.css +0 -3
  43. package/dist-umd/sapia-chatbot.umd.js.map +0 -1
@@ -1,16 +1,17 @@
1
- import { a as e, i as t, n, r, t as i } from "./classPrivateFieldSet2-DtQPURVD.js";
2
- import { t as a } from "./defineProperty-DiFpLzd2.js";
3
- import o from "react";
1
+ import { b as e } from "./messages-Czlp86gl.js";
2
+ import { t } from "./react-B0K-sClg.js";
3
+ import { a as n, i as r, n as i, r as a, t as o } from "./classPrivateFieldSet2-DtQPURVD.js";
4
+ import { t as s } from "./defineProperty-DiFpLzd2.js";
4
5
  //#region ../../node_modules/.pnpm/super-media-element@1.4.2/node_modules/super-media-element/super-media-element.js
5
- var s, c = /* @__PURE__ */ "abort.canplay.canplaythrough.durationchange.emptied.encrypted.ended.error.loadeddata.loadedmetadata.loadstart.pause.play.playing.progress.ratechange.seeked.seeking.stalled.suspend.timeupdate.volumechange.waiting.waitingforkey.resize.enterpictureinpicture.leavepictureinpicture.webkitbeginfullscreen.webkitendfullscreen.webkitpresentationmodechanged".split("."), l = (s = globalThis.document) == null ? void 0 : s.createElement("template");
6
- l && (l.innerHTML = "\n <style>\n :host {\n display: inline-block;\n line-height: 0;\n }\n\n video,\n audio {\n max-width: 100%;\n max-height: 100%;\n min-width: 100%;\n min-height: 100%;\n }\n </style>\n <slot></slot>\n ");
7
- var u = (o, { tag: s, is: u }) => {
8
- var p, m, h, g, _, v, y, b, x, S;
9
- let C = (p = globalThis.document) == null ? void 0 : p.createElement(s, { is: u }), w = C ? d(C) : [];
10
- return g = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), y = /* @__PURE__ */ new WeakMap(), b = /* @__PURE__ */ new WeakMap(), x = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakSet(), m = class a extends o {
6
+ var c = /* @__PURE__ */ e(t(), 1), l, u = /* @__PURE__ */ "abort.canplay.canplaythrough.durationchange.emptied.encrypted.ended.error.loadeddata.loadedmetadata.loadstart.pause.play.playing.progress.ratechange.seeked.seeking.stalled.suspend.timeupdate.volumechange.waiting.waitingforkey.resize.enterpictureinpicture.leavepictureinpicture.webkitbeginfullscreen.webkitendfullscreen.webkitpresentationmodechanged".split("."), d = (l = globalThis.document) == null ? void 0 : l.createElement("template");
7
+ d && (d.innerHTML = "\n <style>\n :host {\n display: inline-block;\n line-height: 0;\n }\n\n video,\n audio {\n max-width: 100%;\n max-height: 100%;\n min-width: 100%;\n min-height: 100%;\n }\n </style>\n <slot></slot>\n ");
8
+ var f = (e, { tag: t, is: c }) => {
9
+ var l, f, h, g, _, v, y, b, x, S;
10
+ let C = (l = globalThis.document) == null ? void 0 : l.createElement(t, { is: c }), w = C ? p(C) : [];
11
+ return g = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), y = /* @__PURE__ */ new WeakMap(), b = /* @__PURE__ */ new WeakMap(), x = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakSet(), f = class s extends e {
11
12
  static get observedAttributes() {
12
13
  var e, t;
13
- return r(m, a, T).call(a), [
14
+ return a(f, s, T).call(s), [
14
15
  ...(e = C == null || (t = C.constructor) == null ? void 0 : t.observedAttributes) == null ? [] : e,
15
16
  "autopictureinpicture",
16
17
  "disablepictureinpicture",
@@ -28,25 +29,25 @@ var u = (o, { tag: s, is: u }) => {
28
29
  ];
29
30
  }
30
31
  constructor() {
31
- super(), e(this, S), t(this, g, void 0), t(this, _, void 0), t(this, v, !1), t(this, y, !1), t(this, b, void 0), t(this, x, void 0), this.shadowRoot || (this.attachShadow({ mode: "open" }), this.shadowRoot.append(this.constructor.template.content.cloneNode(!0))), this.load !== a.prototype.load && (this.loadComplete = new f());
32
+ super(), n(this, S), r(this, g, void 0), r(this, _, void 0), r(this, v, !1), r(this, y, !1), r(this, b, void 0), r(this, x, void 0), this.shadowRoot || (this.attachShadow({ mode: "open" }), this.shadowRoot.append(this.constructor.template.content.cloneNode(!0))), this.load !== s.prototype.load && (this.loadComplete = new m());
32
33
  }
33
34
  get loadComplete() {
34
- return n(_, this);
35
+ return i(_, this);
35
36
  }
36
37
  set loadComplete(e) {
37
- i(y, this, !1), i(_, this, e), e == null || e.then(() => {
38
- i(y, this, !0);
38
+ o(y, this, !1), o(_, this, e), e == null || e.then(() => {
39
+ o(y, this, !0);
39
40
  });
40
41
  }
41
42
  get isLoaded() {
42
- return n(y, this);
43
+ return i(y, this);
43
44
  }
44
45
  get nativeEl() {
45
- var e, t;
46
- return (e = (t = n(b, this)) == null ? this.shadowRoot.querySelector(s) : t) == null ? this.querySelector(s) : e;
46
+ var e, n;
47
+ return (e = (n = i(b, this)) == null ? this.shadowRoot.querySelector(t) : n) == null ? this.querySelector(t) : e;
47
48
  }
48
49
  set nativeEl(e) {
49
- i(b, this, e);
50
+ o(b, this, e);
50
51
  }
51
52
  get defaultMuted() {
52
53
  return this.hasAttribute("muted");
@@ -68,38 +69,38 @@ var u = (o, { tag: s, is: u }) => {
68
69
  this.setAttribute("preload", `${e}`);
69
70
  }
70
71
  attributeChangedCallback(e, t, n) {
71
- r(S, this, E).call(this), e === "src" && this.load !== a.prototype.load && r(S, this, A).call(this), r(S, this, j).call(this, e, t, n);
72
+ a(S, this, E).call(this), e === "src" && this.load !== s.prototype.load && a(S, this, A).call(this), a(S, this, j).call(this, e, t, n);
72
73
  }
73
74
  connectedCallback() {
74
- r(S, this, E).call(this);
75
+ a(S, this, E).call(this);
75
76
  }
76
- }, a(m, "Events", c), a(m, "template", l), a(m, "skipAttributes", []), h = { _: void 0 }, m;
77
+ }, s(f, "Events", u), s(f, "template", d), s(f, "skipAttributes", []), h = { _: void 0 }, f;
77
78
  function T() {
78
- if (r(m, this, h)._) return;
79
- h._ = r(m, this, !0);
79
+ if (a(f, this, h)._) return;
80
+ h._ = a(f, this, !0);
80
81
  let e = new Set(this.observedAttributes);
81
82
  e.delete("muted");
82
83
  for (let t of w) if (!(t in this.prototype)) if (typeof C[t] == "function") this.prototype[t] = function(...e) {
83
- r(S, this, E).call(this);
84
+ a(S, this, E).call(this);
84
85
  let n = () => this.call ? this.call(t, ...e) : this.nativeEl[t].apply(this.nativeEl, e);
85
86
  return this.loadComplete && !this.isLoaded ? this.loadComplete.then(n) : n();
86
87
  };
87
88
  else {
88
- let i = { get() {
89
- var i, a, o, s;
90
- r(S, this, E).call(this);
89
+ let n = { get() {
90
+ var n, r, o, s;
91
+ a(S, this, E).call(this);
91
92
  let c = t.toLowerCase();
92
93
  if (e.has(c)) {
93
94
  let e = this.getAttribute(c);
94
95
  return e === null ? !1 : e === "" ? !0 : e;
95
96
  }
96
- return (i = (a = (o = this.get) == null ? void 0 : o.call(this, t)) == null ? (s = this.nativeEl) == null ? void 0 : s[t] : a) == null ? n(x, this)[t] : i;
97
+ return (n = (r = (o = this.get) == null ? void 0 : o.call(this, t)) == null ? (s = this.nativeEl) == null ? void 0 : s[t] : r) == null ? i(x, this)[t] : n;
97
98
  } };
98
- t !== t.toUpperCase() && (i.set = async function(n) {
99
- r(S, this, E).call(this);
100
- let i = t.toLowerCase();
101
- if (e.has(i)) {
102
- n === !0 || n === !1 || n == null ? this.toggleAttribute(i, !!n) : this.setAttribute(i, n);
99
+ t !== t.toUpperCase() && (n.set = async function(n) {
100
+ a(S, this, E).call(this);
101
+ let r = t.toLowerCase();
102
+ if (e.has(r)) {
103
+ n === !0 || n === !1 || n == null ? this.toggleAttribute(r, !!n) : this.setAttribute(r, n);
103
104
  return;
104
105
  }
105
106
  if (this.loadComplete && !this.isLoaded && await this.loadComplete, this.set) {
@@ -107,13 +108,13 @@ var u = (o, { tag: s, is: u }) => {
107
108
  return;
108
109
  }
109
110
  this.nativeEl[t] = n;
110
- }), Object.defineProperty(this.prototype, t, i);
111
+ }), Object.defineProperty(this.prototype, t, n);
111
112
  }
112
113
  }
113
114
  async function E() {
114
- if (n(g, this)) return;
115
- i(g, this, !0), r(S, this, O).call(this), r(S, this, k).call(this);
116
- for (let e of w) r(S, this, D).call(this, e);
115
+ if (i(g, this)) return;
116
+ o(g, this, !0), a(S, this, O).call(this), a(S, this, k).call(this);
117
+ for (let e of w) a(S, this, D).call(this, e);
117
118
  let e = /* @__PURE__ */ new Map(), t = this.shadowRoot.querySelector("slot:not([name])");
118
119
  t == null || t.addEventListener("slotchange", () => {
119
120
  let n = new Map(e);
@@ -125,8 +126,8 @@ var u = (o, { tag: s, is: u }) => {
125
126
  }), n.forEach((e) => e.remove());
126
127
  });
127
128
  for (let e of this.constructor.Events) {
128
- var a, o;
129
- (a = (o = this.shadowRoot).addEventListener) == null || a.call(o, e, (e) => {
129
+ var n, r;
130
+ (n = (r = this.shadowRoot).addEventListener) == null || n.call(r, e, (e) => {
130
131
  e.target === this.nativeEl && this.dispatchEvent(new CustomEvent(e.type, { detail: e.detail }));
131
132
  }, !0);
132
133
  }
@@ -138,23 +139,23 @@ var u = (o, { tag: s, is: u }) => {
138
139
  }
139
140
  }
140
141
  function O() {
141
- let e = document.createElement(s, { is: u });
142
+ let e = document.createElement(t, { is: c });
142
143
  e.muted = this.hasAttribute("muted");
143
144
  for (let { name: t, value: n } of this.attributes) e.setAttribute(t, n);
144
- i(x, this, {});
145
- for (let t of d(e)) n(x, this)[t] = e[t];
145
+ o(x, this, {});
146
+ for (let t of p(e)) i(x, this)[t] = e[t];
146
147
  e.removeAttribute("src"), e.load();
147
148
  }
148
149
  async function k() {
149
150
  if (this.loadComplete && !this.isLoaded && await this.loadComplete, !this.nativeEl) {
150
- let e = document.createElement(s, { is: u });
151
- e.part = s, this.shadowRoot.append(e);
151
+ let e = document.createElement(t, { is: c });
152
+ e.part = t, this.shadowRoot.append(e);
152
153
  }
153
154
  this.nativeEl.muted = this.hasAttribute("muted");
154
155
  }
155
156
  async function A() {
156
157
  var e;
157
- n(v, this) && (this.loadComplete = new f()), i(v, this, !0), await Promise.resolve(), await this.load(), (e = this.loadComplete) == null || e.resolve(), await this.loadComplete;
158
+ i(v, this) && (this.loadComplete = new m()), o(v, this, !0), await Promise.resolve(), await this.load(), (e = this.loadComplete) == null || e.resolve(), await this.loadComplete;
158
159
  }
159
160
  async function j(e, t, n) {
160
161
  if (this.loadComplete && !this.isLoaded && await this.loadComplete, ![
@@ -170,51 +171,51 @@ var u = (o, { tag: s, is: u }) => {
170
171
  }
171
172
  }
172
173
  };
173
- function d(e) {
174
+ function p(e) {
174
175
  let t = [];
175
176
  for (let n = Object.getPrototypeOf(e); n && n !== HTMLElement.prototype; n = Object.getPrototypeOf(n)) t.push(...Object.getOwnPropertyNames(n));
176
177
  return t;
177
178
  }
178
- var f = class extends Promise {
179
+ var m = class extends Promise {
179
180
  constructor(e = () => {}) {
180
181
  let t, n;
181
182
  super((r, i) => {
182
183
  e(r, i), t = r, n = i;
183
184
  }), this.resolve = t, this.reject = n;
184
185
  }
185
- }, p = globalThis.document ? u(HTMLElement, { tag: "video" }) : class {};
186
- globalThis.document && u(HTMLElement, { tag: "audio" });
186
+ }, h = globalThis.document ? f(HTMLElement, { tag: "video" }) : class {};
187
+ globalThis.document && f(HTMLElement, { tag: "audio" });
187
188
  //#endregion
188
189
  //#region ../../node_modules/.pnpm/wistia-video-element@1.4.0/node_modules/wistia-video-element/dist/wistia-video-element.js
189
- var m, h, g = (m = globalThis.document) == null ? void 0 : m.createElement("template");
190
- g && (g.innerHTML = "\n <div class=\"wistia_embed\"></div>\n ");
191
- var _ = (h = globalThis.document) == null ? void 0 : h.createElement("template");
192
- _ && (_.innerHTML = "\n <style>\n :host {\n display: inline-block;\n min-width: 300px;\n min-height: 150px;\n position: relative;\n }\n ::slotted(.wistia_embed) {\n position: absolute;\n width: 100%;\n height: 100%;\n }\n </style>\n <slot></slot>\n ");
193
- function v(e, t) {
190
+ var g, _, v = (g = globalThis.document) == null ? void 0 : g.createElement("template");
191
+ v && (v.innerHTML = "\n <div class=\"wistia_embed\"></div>\n ");
192
+ var y = (_ = globalThis.document) == null ? void 0 : _.createElement("template");
193
+ y && (y.innerHTML = "\n <style>\n :host {\n display: inline-block;\n min-width: 300px;\n min-height: 150px;\n position: relative;\n }\n ::slotted(.wistia_embed) {\n position: absolute;\n width: 100%;\n height: 100%;\n }\n </style>\n <slot></slot>\n ");
194
+ function b(e, t) {
194
195
  if (Object.hasOwn(e, t)) {
195
196
  let n = e[t];
196
197
  delete e[t], e[t] = n;
197
198
  }
198
199
  }
199
- var y = /* @__PURE__ */ new WeakMap(), b = class extends p {
200
+ var x = /* @__PURE__ */ new WeakMap(), S = class extends h {
200
201
  constructor() {
201
- super(), t(this, y, null), v(this, "config");
202
+ super(), r(this, x, null), b(this, "config");
202
203
  }
203
204
  get config() {
204
- return n(y, this);
205
+ return i(x, this);
205
206
  }
206
207
  set config(e) {
207
- i(y, this, e);
208
+ o(x, this, e);
208
209
  }
209
210
  get nativeEl() {
210
211
  var e, t;
211
212
  return (e = (t = this.api) == null ? void 0 : t.elem()) == null ? this.querySelector("video") : e;
212
213
  }
213
214
  async load() {
214
- var e, t, r;
215
- if ((r = this.querySelector(".wistia_embed")) == null || r.remove(), !this.src) return;
215
+ var e, t, n;
216
+ if ((n = this.querySelector(".wistia_embed")) == null || n.remove(), !this.src) return;
216
217
  await new Promise((e) => setTimeout(e, 50));
217
- let i = this.src.match(/(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/i)[1], a = {
218
+ let r = this.src.match(/(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/i)[1], a = {
218
219
  autoPlay: this.autoplay,
219
220
  silentAutoPlay: this.autoplay ? "allow" : void 0,
220
221
  preload: (e = this.preload) == null ? "metadata" : e,
@@ -223,11 +224,11 @@ var y = /* @__PURE__ */ new WeakMap(), b = class extends p {
223
224
  chromeless: !this.controls,
224
225
  playButton: this.controls,
225
226
  muted: this.defaultMuted,
226
- ...(t = n(y, this)) == null ? {} : t
227
+ ...(t = i(x, this)) == null ? {} : t
227
228
  };
228
- this.append(g.content.cloneNode(!0));
229
+ this.append(v.content.cloneNode(!0));
229
230
  let o = this.querySelector(".wistia_embed");
230
- o.id || (o.id = w(i)), o.classList.add(`wistia_async_${i}`), await S("https://fast.wistia.com/assets/external/E-v1.js", "Wistia"), this.api = await new Promise((e) => {
231
+ o.id || (o.id = E(r)), o.classList.add(`wistia_async_${r}`), await w("https://fast.wistia.com/assets/external/E-v1.js", "Wistia"), this.api = await new Promise((e) => {
231
232
  globalThis._wq.push({
232
233
  id: o.id,
233
234
  onReady: e,
@@ -254,27 +255,27 @@ var y = /* @__PURE__ */ new WeakMap(), b = class extends p {
254
255
  return await this.loadComplete, this.api.play(), new Promise((e) => this.addEventListener("playing", e));
255
256
  }
256
257
  };
257
- a(b, "template", _), a(b, "skipAttributes", ["src"]);
258
- var x = {};
259
- async function S(e, t) {
258
+ s(S, "template", y), s(S, "skipAttributes", ["src"]);
259
+ var C = {};
260
+ async function w(e, t) {
260
261
  if (!t) return import(
261
262
  /* webpackIgnore: true */
262
263
  e
263
264
  );
264
- if (x[e]) return x[e];
265
+ if (C[e]) return C[e];
265
266
  if (self[t]) return self[t];
266
267
  let n = new Promise((n, r) => {
267
268
  let i = document.createElement("script");
268
269
  i.defer = !0, i.src = e, i.onload = () => n(self[t]), i.onerror = r, document.head.append(i);
269
270
  });
270
- return x[e] = n, n;
271
+ return C[e] = n, n;
271
272
  }
272
- var C = 0;
273
- function w(e) {
274
- return `${e}${++C}`;
273
+ var T = 0;
274
+ function E(e) {
275
+ return `${e}${++T}`;
275
276
  }
276
- globalThis.customElements && !globalThis.customElements.get("wistia-video") && globalThis.customElements.define("wistia-video", b);
277
- var T = b, E = /* @__PURE__ */ new Set([
277
+ globalThis.customElements && !globalThis.customElements.get("wistia-video") && globalThis.customElements.define("wistia-video", S);
278
+ var D = S, O = /* @__PURE__ */ new Set([
278
279
  "style",
279
280
  "children",
280
281
  "ref",
@@ -282,28 +283,28 @@ var T = b, E = /* @__PURE__ */ new Set([
282
283
  "suppressContentEditableWarning",
283
284
  "suppressHydrationWarning",
284
285
  "dangerouslySetInnerHTML"
285
- ]), D = {
286
+ ]), k = {
286
287
  className: "class",
287
288
  htmlFor: "for"
288
289
  };
289
- function O(e) {
290
+ function A(e) {
290
291
  return e.toLowerCase();
291
292
  }
292
- function k(e) {
293
+ function j(e) {
293
294
  if (typeof e == "boolean") return e ? "" : void 0;
294
295
  if (typeof e != "function" && !(typeof e == "object" && e)) return e;
295
296
  }
296
- function A({ react: e, tagName: t, elementClass: n, events: r, displayName: i, defaultProps: a, toAttributeName: o = O, toAttributeValue: s = k }) {
297
+ function M({ react: e, tagName: t, elementClass: n, events: r, displayName: i, defaultProps: a, toAttributeName: o = A, toAttributeValue: s = j }) {
297
298
  let c = Number.parseInt(e.version) >= 19, l = e.forwardRef((i, l) => {
298
299
  var u, d;
299
300
  let f = e.useRef(null), p = e.useRef(/* @__PURE__ */ new Map()), m = {}, h = {}, g = {}, _ = {};
300
301
  for (let [e, t] of Object.entries(i)) {
301
302
  var v, y;
302
- if (E.has(e)) {
303
+ if (O.has(e)) {
303
304
  g[e] = t;
304
305
  continue;
305
306
  }
306
- let r = o((v = D[e]) == null ? e : v);
307
+ let r = o((v = k[e]) == null ? e : v);
307
308
  if (n.prototype && e in n.prototype && !(e in ((y = (u = globalThis.HTMLElement) == null ? void 0 : u.prototype) == null ? {} : y)) && !((d = n.observedAttributes) != null && d.some((e) => e === r))) {
308
309
  _[e] = t;
309
310
  continue;
@@ -313,7 +314,7 @@ function A({ react: e, tagName: t, elementClass: n, events: r, displayName: i, d
313
314
  continue;
314
315
  }
315
316
  let i = s(t);
316
- r && i != null && (h[r] = String(i), c || (g[r] = i)), r && c && (i === k(t) ? g[r] = t : g[r] = i);
317
+ r && i != null && (h[r] = String(i), c || (g[r] = i)), r && c && (i === j(t) ? g[r] = t : g[r] = i);
317
318
  }
318
319
  if (typeof window < "u") {
319
320
  for (let t in m) {
@@ -329,8 +330,8 @@ function A({ react: e, tagName: t, elementClass: n, events: r, displayName: i, d
329
330
  e.useLayoutEffect(() => {
330
331
  if (f.current === null) return;
331
332
  let e = /* @__PURE__ */ new Map();
332
- for (let t in _) j(f.current, t, _[t]), p.current.delete(t), e.set(t, _[t]);
333
- for (let [e, t] of p.current) j(f.current, e, void 0);
333
+ for (let t in _) N(f.current, t, _[t]), p.current.delete(t), e.set(t, _[t]);
334
+ for (let [e, t] of p.current) N(f.current, e, void 0);
334
335
  p.current = e;
335
336
  });
336
337
  }
@@ -353,19 +354,19 @@ function A({ react: e, tagName: t, elementClass: n, events: r, displayName: i, d
353
354
  });
354
355
  return l.displayName = i == null ? n.name : i, l;
355
356
  }
356
- function j(e, t, n) {
357
+ function N(e, t, n) {
357
358
  var r, i;
358
359
  e[t] = n, n == null && t in ((r = (i = globalThis.HTMLElement) == null ? void 0 : i.prototype) == null ? {} : r) && e.removeAttribute(t);
359
360
  }
360
- var M = A({
361
- react: o,
361
+ var P = M({
362
+ react: c.default,
362
363
  tagName: "wistia-video",
363
- elementClass: T,
364
+ elementClass: D,
364
365
  toAttributeName(e) {
365
- return e === "muted" ? "" : e === "defaultMuted" ? "muted" : O(e);
366
+ return e === "muted" ? "" : e === "defaultMuted" ? "muted" : A(e);
366
367
  }
367
368
  });
368
369
  //#endregion
369
- export { M as default };
370
+ export { P as default };
370
371
 
371
- //# sourceMappingURL=react-lp7yfM94.js.map
372
+ //# sourceMappingURL=react-NauLB_WU.js.map