@pie-element/hotspot 11.1.2-next.1 → 11.1.2-next.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,5 +1,5 @@
1
1
  import { s as e } from "../browser-CfnAFove.js";
2
- import { D as t, E as n, Et as r, Gt as i, Jt as a, Kt as o, L as s, O as c, Ot as l, W as u, a as d, b as f, c as p, i as m, k as h, l as g, n as _, o as v, r as y, s as b, t as x } from "../ReactKonva-Z9-1H-UZ.js";
2
+ import { D as t, E as n, Et as r, Gt as i, Kt as a, L as o, O as s, Ot as c, W as l, Yt as u, a as d, b as f, c as p, i as m, k as h, l as g, n as _, o as v, r as y, s as b, t as x } from "../ReactKonva-CFo7dxdy.js";
3
3
  import S, { useRef as C } from "react";
4
4
  import { createRoot as w } from "react-dom/client";
5
5
  import { jsx as T, jsxs as E } from "react/jsx-runtime";
@@ -75,7 +75,7 @@ k.propTypes = {
75
75
  fgFill: D.default.string.isRequired,
76
76
  borderFill: D.default.string.isRequired
77
77
  };
78
- var ee = l("div")(({ size: e }) => ({
78
+ var ee = c("div")(({ size: e }) => ({
79
79
  width: e || "25px",
80
80
  height: e || "25px"
81
81
  })), A = ({ open: e, size: t }) => /* @__PURE__ */ T(ee, {
@@ -124,7 +124,7 @@ var te = class e extends CustomEvent {
124
124
  }
125
125
  }), this.component = t, this.complete = n;
126
126
  }
127
- }, re = "height ease-in 300ms, opacity ease-in 300ms", ie = l("div")(() => ({
127
+ }, re = "height ease-in 300ms, opacity ease-in 300ms", ie = c("div")(() => ({
128
128
  position: "relative",
129
129
  height: 0,
130
130
  overflow: "hidden",
@@ -1615,29 +1615,29 @@ function V(e) {
1615
1615
  function et(e, t) {
1616
1616
  return !e || V(e) ? e : V(e.default) ? e.default : t && V(e[t]) ? e[t] : t && V(e[t]?.default) ? e[t].default : e;
1617
1617
  }
1618
- var tt = et(c, "Readable") || et(it.Readable, "Readable"), nt = f, rt = nt.default, it = rt && typeof rt == "object" ? rt : nt, { translator: H } = $e, at = {
1618
+ var tt = et(s, "Readable") || et(it.Readable, "Readable"), nt = f, rt = nt.default, it = rt && typeof rt == "object" ? rt : nt, { translator: H } = $e, at = {
1619
1619
  WebkitTouchCallout: "none",
1620
1620
  WebkitUserSelect: "none",
1621
1621
  KhtmlUserSelect: "none",
1622
1622
  MozUserSelect: "none",
1623
1623
  msUserSelect: "none",
1624
1624
  userSelect: "none"
1625
- }, ot = l("div")(() => ({
1625
+ }, ot = c("div")(() => ({
1626
1626
  width: "100%",
1627
1627
  cursor: "pointer"
1628
- })), st = l("div")(() => ({
1628
+ })), st = c("div")(() => ({
1629
1629
  margin: "0 auto",
1630
1630
  textAlign: "center",
1631
1631
  display: "flex"
1632
- })), ct = l("div")(() => ({
1632
+ })), ct = c("div")(() => ({
1633
1633
  width: "fit-content",
1634
1634
  minWidth: "140px",
1635
1635
  alignSelf: "center",
1636
1636
  verticalAlign: "middle",
1637
- color: `var(--correct-answer-toggle-label-color, ${o.text()})`,
1637
+ color: `var(--correct-answer-toggle-label-color, ${a.text()})`,
1638
1638
  fontWeight: "normal",
1639
1639
  ...at
1640
- })), lt = l("div")(() => ({
1640
+ })), lt = c("div")(() => ({
1641
1641
  position: "absolute",
1642
1642
  width: "25px",
1643
1643
  "&.enter": { opacity: "0" },
@@ -1650,7 +1650,7 @@ var tt = et(c, "Readable") || et(it.Readable, "Readable"), nt = f, rt = nt.defau
1650
1650
  opacity: "0",
1651
1651
  transition: "opacity 0.3s ease-in"
1652
1652
  }
1653
- })), ut = l("div")(() => ({
1653
+ })), ut = c("div")(() => ({
1654
1654
  width: "25px",
1655
1655
  marginRight: "5px",
1656
1656
  display: "flex",
@@ -2105,21 +2105,21 @@ function Z(e) {
2105
2105
  function jt(e, t) {
2106
2106
  return !e || Z(e) ? e : Z(e.default) ? e.default : t && Z(e[t]) ? e[t] : t && Z(e[t]?.default) ? e[t].default : e;
2107
2107
  }
2108
- var Mt = jt(p, "Stage"), Nt = jt(d, "Layer"), Pt = l("div")(({ theme: e }) => ({
2108
+ var Mt = jt(p, "Stage"), Nt = jt(d, "Layer"), Pt = c("div")(({ theme: e }) => ({
2109
2109
  marginTop: e.spacing(2),
2110
2110
  marginBottom: e.spacing(2),
2111
2111
  position: "relative",
2112
2112
  background: e.palette.common.white,
2113
2113
  border: `${e.spacing(1)} solid ${e.palette.common.white}`,
2114
2114
  width: "fit-content"
2115
- })), Ft = l("div")({
2115
+ })), Ft = c("div")({
2116
2116
  position: "relative",
2117
2117
  width: "fit-content"
2118
- }), It = l("img")({
2118
+ }), It = c("img")({
2119
2119
  alignItems: "center",
2120
2120
  display: "flex",
2121
2121
  justifyContent: "center"
2122
- }), Lt = l(Mt)({
2122
+ }), Lt = c(Mt)({
2123
2123
  left: 0,
2124
2124
  top: 0,
2125
2125
  position: "absolute"
@@ -2246,11 +2246,11 @@ function Q(e) {
2246
2246
  function $(e, t) {
2247
2247
  return !e || Q(e) ? e : Q(e.default) ? e.default : t && Q(e[t]) ? e[t] : t && Q(e[t]?.default) ? e[t].default : e;
2248
2248
  }
2249
- var zt = $(s, "UiLayout") || $(Wt.UiLayout, "UiLayout"), Bt = $(h, "PreviewPrompt") || $(Wt.PreviewPrompt, "PreviewPrompt"), Vt = $(u, "Collapsible") || $(Wt.Collapsible, "Collapsible"), Ht = f, Ut = Ht.default, Wt = Ut && typeof Ut == "object" ? Ut : Ht, Gt = l(zt)({
2250
- color: o.text(),
2251
- backgroundColor: o.background(),
2249
+ var zt = $(o, "UiLayout") || $(Wt.UiLayout, "UiLayout"), Bt = $(h, "PreviewPrompt") || $(Wt.PreviewPrompt, "PreviewPrompt"), Vt = $(l, "Collapsible") || $(Wt.Collapsible, "Collapsible"), Ht = f, Ut = Ht.default, Wt = Ut && typeof Ut == "object" ? Ut : Ht, Gt = c(zt)({
2250
+ color: a.text(),
2251
+ backgroundColor: a.background(),
2252
2252
  position: "relative"
2253
- }), Kt = l(Vt)(({ theme: e }) => ({ marginBottom: e.spacing(2) })), qt = class extends S.Component {
2253
+ }), Kt = c(Vt)(({ theme: e }) => ({ marginBottom: e.spacing(2) })), qt = class extends S.Component {
2254
2254
  constructor(e) {
2255
2255
  super(e), this.state = {
2256
2256
  showCorrect: !1,
@@ -2446,7 +2446,7 @@ var Qt = Zt("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMC
2446
2446
  onSelectChoice: this.onSelectChoice.bind(this)
2447
2447
  });
2448
2448
  this._root ||= w(this), this._root.render(e), queueMicrotask(() => {
2449
- a(this);
2449
+ u(this);
2450
2450
  });
2451
2451
  }
2452
2452
  }