@digipair/skill-web-editor 0.136.3 → 0.136.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -481,7 +481,7 @@ var _Symbol, _a, _a1;
481
481
  }
482
482
  }, f$1 = function(t, s) {
483
483
  return !i$2(t, s);
484
- }, b$1 = {
484
+ }, b = {
485
485
  attribute: true,
486
486
  type: String,
487
487
  converter: u$1,
@@ -624,12 +624,11 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
624
624
  {
625
625
  key: "requestUpdate",
626
626
  value: function requestUpdate(t, s, i) {
627
- var e = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false, h = arguments.length > 4 ? arguments[4] : void 0;
628
627
  if (void 0 !== t) {
629
628
  var _this__$Ej;
630
- var r = this.constructor;
629
+ var e = this.constructor, h = this[t];
631
630
  var _i_hasChanged;
632
- if (false === e && (h = this[t]), i !== null && i !== void 0 ? i : i = r.getPropertyOptions(t), !(((_i_hasChanged = i.hasChanged) !== null && _i_hasChanged !== void 0 ? _i_hasChanged : f$1)(h, s) || i.useDefault && i.reflect && h === ((_this__$Ej = this._$Ej) === null || _this__$Ej === void 0 ? void 0 : _this__$Ej.get(t)) && !this.hasAttribute(r._$Eu(t, i)))) return;
631
+ if (i !== null && i !== void 0 ? i : i = e.getPropertyOptions(t), !(((_i_hasChanged = i.hasChanged) !== null && _i_hasChanged !== void 0 ? _i_hasChanged : f$1)(h, s) || i.useDefault && i.reflect && h === ((_this__$Ej = this._$Ej) === null || _this__$Ej === void 0 ? void 0 : _this__$Ej.get(t)) && !this.hasAttribute(e._$Eu(t, i)))) return;
633
632
  this.C(t, s, i);
634
633
  }
635
634
  false === this.isUpdatePending && (this._$ES = this._$EP());
@@ -846,7 +845,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
846
845
  {
847
846
  key: "createProperty",
848
847
  value: function createProperty(t) {
849
- var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b$1;
848
+ var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b;
850
849
  if (s.state && (s.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t) && ((s = Object.create(s)).wrapped = true), this.elementProperties.set(t, s), !s.noAccessor) {
851
850
  var i = Symbol(), h = this.getPropertyDescriptor(t, i, s);
852
851
  void 0 !== h && e$1(this.prototype, t, h);
@@ -880,7 +879,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
880
879
  key: "getPropertyOptions",
881
880
  value: function getPropertyOptions(t) {
882
881
  var _this_elementProperties_get;
883
- return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b$1;
882
+ return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b;
884
883
  }
885
884
  },
886
885
  {
@@ -1012,7 +1011,7 @@ y$1.elementStyles = [], y$1.shadowRootOptions = {
1012
1011
  mode: "open"
1013
1012
  }, y$1[d$1("elementProperties")] = new Map, y$1[d$1("finalized")] = new Map, p$1 === null || p$1 === void 0 ? void 0 : p$1({
1014
1013
  ReactiveElement: y$1
1015
- }), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.2");
1014
+ }), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.1");
1016
1015
 
1017
1016
  /**
1018
1017
  * @license
@@ -1162,19 +1161,17 @@ function _create_super$1(Derived) {
1162
1161
  };
1163
1162
  }
1164
1163
  var _t;
1165
- var t$1 = globalThis, i$1 = function(t) {
1166
- return t;
1167
- }, s$1 = t$1.trustedTypes, e = s$1 ? s$1.createPolicy("lit-html", {
1164
+ var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-html", {
1168
1165
  createHTML: function(t) {
1169
1166
  return t;
1170
1167
  }
1171
- }) : void 0, h = "$lit$", o$2 = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), n$1 = "?" + o$2, r$1 = "<".concat(n$1, ">"), l = document, c = function() {
1172
- return l.createComment("");
1173
- }, a = function(t) {
1168
+ }) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$2 = "?" + h, n$1 = "<".concat(o$2, ">"), r$1 = document, l = function() {
1169
+ return r$1.createComment("");
1170
+ }, c = function(t) {
1174
1171
  return null === t || "object" != (typeof t === "undefined" ? "undefined" : _type_of$2(t)) && "function" != typeof t;
1175
- }, u = Array.isArray, d = function(t) {
1176
- return u(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
1177
- }, f = "[ \t\n\f\r]", v = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _ = /-->/g, m = />/g, p = RegExp(">|".concat(f, "(?:([^\\s\"'>=/]+)(").concat(f, "*=").concat(f, "*(?:[^ \n\f\r\"'`<>=]|(\"|')|))|$)"), "g"), g = /'/g, $ = /"/g, y = /^(?:script|style|textarea|title)$/i, x = function(t) {
1172
+ }, a = Array.isArray, u = function(t) {
1173
+ return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
1174
+ }, d = "[ \t\n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, v = /-->/g, _ = />/g, m = RegExp(">|".concat(d, "(?:([^\\s\"'>=/]+)(").concat(d, "*=").concat(d, "*(?:[^ \n\f\r\"'`<>=]|(\"|')|))|$)"), "g"), p = /'/g, g = /"/g, $ = /^(?:script|style|textarea|title)$/i, y = function(t) {
1178
1175
  return function(i) {
1179
1176
  for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
1180
1177
  s[_key - 1] = arguments[_key];
@@ -1185,57 +1182,57 @@ var t$1 = globalThis, i$1 = function(t) {
1185
1182
  values: s
1186
1183
  };
1187
1184
  };
1188
- }, b = x(1), E = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), C = new WeakMap, P = l.createTreeWalker(l, 129);
1189
- function V(t, i) {
1190
- if (!u(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
1191
- return void 0 !== e ? e.createHTML(i) : i;
1185
+ }, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$1.createTreeWalker(r$1, 129);
1186
+ function P(t, i) {
1187
+ if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
1188
+ return void 0 !== s$1 ? s$1.createHTML(i) : i;
1192
1189
  }
1193
- var N = function(t, i) {
1194
- var s = t.length - 1, e = [];
1195
- var n, l = 2 === i ? "<svg>" : 3 === i ? "<math>" : "", c = v;
1190
+ var V = function(t, i) {
1191
+ var s = t.length - 1, o = [];
1192
+ var r, l = 2 === i ? "<svg>" : 3 === i ? "<math>" : "", c = f;
1196
1193
  for(var _$i = 0; _$i < s; _$i++){
1197
1194
  var s1 = t[_$i];
1198
- var a = void 0, u = void 0, d = -1, f = 0;
1199
- for(; f < s1.length && (c.lastIndex = f, u = c.exec(s1), null !== u);)f = c.lastIndex, c === v ? "!--" === u[1] ? c = _ : void 0 !== u[1] ? c = m : void 0 !== u[2] ? (y.test(u[2]) && (n = RegExp("</" + u[2], "g")), c = p) : void 0 !== u[3] && (c = p) : c === p ? ">" === u[0] ? (c = n !== null && n !== void 0 ? n : v, d = -1) : void 0 === u[1] ? d = -2 : (d = c.lastIndex - u[2].length, a = u[1], c = void 0 === u[3] ? p : '"' === u[3] ? $ : g) : c === $ || c === g ? c = p : c === _ || c === m ? c = v : (c = p, n = void 0);
1200
- var x = c === p && t[_$i + 1].startsWith("/>") ? " " : "";
1201
- l += c === v ? s1 + r$1 : d >= 0 ? (e.push(a), s1.slice(0, d) + h + s1.slice(d) + o$2 + x) : s1 + o$2 + (-2 === d ? _$i : x);
1195
+ var a = void 0, u = void 0, d = -1, y = 0;
1196
+ for(; y < s1.length && (c.lastIndex = y, u = c.exec(s1), null !== u);)y = c.lastIndex, c === f ? "!--" === u[1] ? c = v : void 0 !== u[1] ? c = _ : void 0 !== u[2] ? ($.test(u[2]) && (r = RegExp("</" + u[2], "g")), c = m) : void 0 !== u[3] && (c = m) : c === m ? ">" === u[0] ? (c = r !== null && r !== void 0 ? r : f, d = -1) : void 0 === u[1] ? d = -2 : (d = c.lastIndex - u[2].length, a = u[1], c = void 0 === u[3] ? m : '"' === u[3] ? g : p) : c === g || c === p ? c = m : c === v || c === _ ? c = f : (c = m, r = void 0);
1197
+ var x = c === m && t[_$i + 1].startsWith("/>") ? " " : "";
1198
+ l += c === f ? s1 + n$1 : d >= 0 ? (o.push(a), s1.slice(0, d) + e + s1.slice(d) + h + x) : s1 + h + (-2 === d ? _$i : x);
1202
1199
  }
1203
1200
  return [
1204
- V(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : 3 === i ? "</math>" : "")),
1205
- e
1201
+ P(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : 3 === i ? "</math>" : "")),
1202
+ o
1206
1203
  ];
1207
1204
  };
1208
- var S = /*#__PURE__*/ function() {
1209
- function S(param, e) {
1210
- var t = param.strings, i = param._$litType$;
1211
- _class_call_check$1(this, S);
1205
+ var N = /*#__PURE__*/ function() {
1206
+ function N(param, n) {
1207
+ var t = param.strings, s = param._$litType$;
1208
+ _class_call_check$1(this, N);
1212
1209
  var r;
1213
1210
  this.parts = [];
1214
- var l = 0, a = 0;
1215
- var u = t.length - 1, d = this.parts, _N = _sliced_to_array(N(t, i), 2), f = _N[0], v = _N[1];
1216
- if (this.el = S.createElement(f, e), P.currentNode = this.el.content, 2 === i || 3 === i) {
1211
+ var c = 0, a = 0;
1212
+ var u = t.length - 1, d = this.parts, _V = _sliced_to_array(V(t, s), 2), f = _V[0], v = _V[1];
1213
+ if (this.el = N.createElement(f, n), C.currentNode = this.el.content, 2 === s || 3 === s) {
1217
1214
  var _t;
1218
1215
  var t1 = this.el.content.firstChild;
1219
1216
  (_t = t1).replaceWith.apply(_t, _to_consumable_array(t1.childNodes));
1220
1217
  }
1221
- for(; null !== (r = P.nextNode()) && d.length < u;){
1218
+ for(; null !== (r = C.nextNode()) && d.length < u;){
1222
1219
  if (1 === r.nodeType) {
1223
1220
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
1224
1221
  if (r.hasAttributes()) try {
1225
1222
  for(var _iterator = r.getAttributeNames()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
1226
1223
  var t2 = _step.value;
1227
- if (t2.endsWith(h)) {
1228
- var i1 = v[a++], s1 = r.getAttribute(t2).split(o$2), _$e = /([.?@])?(.*)/.exec(i1);
1224
+ if (t2.endsWith(e)) {
1225
+ var i1 = v[a++], s1 = r.getAttribute(t2).split(h), e1 = /([.?@])?(.*)/.exec(i1);
1229
1226
  d.push({
1230
1227
  type: 1,
1231
- index: l,
1232
- name: _$e[2],
1228
+ index: c,
1229
+ name: e1[2],
1233
1230
  strings: s1,
1234
- ctor: "." === _$e[1] ? I : "?" === _$e[1] ? L : "@" === _$e[1] ? z : H
1231
+ ctor: "." === e1[1] ? H : "?" === e1[1] ? I : "@" === e1[1] ? L : k
1235
1232
  }), r.removeAttribute(t2);
1236
- } else t2.startsWith(o$2) && (d.push({
1233
+ } else t2.startsWith(h) && (d.push({
1237
1234
  type: 6,
1238
- index: l
1235
+ index: c
1239
1236
  }), r.removeAttribute(t2));
1240
1237
  }
1241
1238
  } catch (err) {
@@ -1252,58 +1249,58 @@ var S = /*#__PURE__*/ function() {
1252
1249
  }
1253
1250
  }
1254
1251
  }
1255
- if (y.test(r.tagName)) {
1256
- var t3 = r.textContent.split(o$2), i2 = t3.length - 1;
1257
- if (i2 > 0) {
1258
- r.textContent = s$1 ? s$1.emptyScript : "";
1259
- for(var s2 = 0; s2 < i2; s2++)r.append(t3[s2], c()), P.nextNode(), d.push({
1252
+ if ($.test(r.tagName)) {
1253
+ var t3 = r.textContent.split(h), s2 = t3.length - 1;
1254
+ if (s2 > 0) {
1255
+ r.textContent = i$1 ? i$1.emptyScript : "";
1256
+ for(var i2 = 0; i2 < s2; i2++)r.append(t3[i2], l()), C.nextNode(), d.push({
1260
1257
  type: 2,
1261
- index: ++l
1258
+ index: ++c
1262
1259
  });
1263
- r.append(t3[i2], c());
1260
+ r.append(t3[s2], l());
1264
1261
  }
1265
1262
  }
1266
- } else if (8 === r.nodeType) if (r.data === n$1) d.push({
1263
+ } else if (8 === r.nodeType) if (r.data === o$2) d.push({
1267
1264
  type: 2,
1268
- index: l
1265
+ index: c
1269
1266
  });
1270
1267
  else {
1271
1268
  var t4 = -1;
1272
- for(; -1 !== (t4 = r.data.indexOf(o$2, t4 + 1));)d.push({
1269
+ for(; -1 !== (t4 = r.data.indexOf(h, t4 + 1));)d.push({
1273
1270
  type: 7,
1274
- index: l
1275
- }), t4 += o$2.length - 1;
1271
+ index: c
1272
+ }), t4 += h.length - 1;
1276
1273
  }
1277
- l++;
1274
+ c++;
1278
1275
  }
1279
1276
  }
1280
- _create_class$1(S, null, [
1277
+ _create_class$1(N, null, [
1281
1278
  {
1282
1279
  key: "createElement",
1283
1280
  value: function createElement(t, i) {
1284
- var s = l.createElement("template");
1281
+ var s = r$1.createElement("template");
1285
1282
  return s.innerHTML = t, s;
1286
1283
  }
1287
1284
  }
1288
1285
  ]);
1289
- return S;
1286
+ return N;
1290
1287
  }();
1291
- function M(t, i) {
1288
+ function S(t, i) {
1292
1289
  var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : t, e = arguments.length > 3 ? arguments[3] : void 0;
1293
1290
  var _s__$Co, _h__$AO;
1294
1291
  var _s;
1295
- if (i === E) return i;
1292
+ if (i === T) return i;
1296
1293
  var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
1297
- var o = a(i) ? void 0 : i._$litDirective$;
1294
+ var o = c(i) ? void 0 : i._$litDirective$;
1298
1295
  var __$Co;
1299
- return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h, false), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? ((__$Co = (_s = s)._$Co) !== null && __$Co !== void 0 ? __$Co : _s._$Co = [])[e] = h : s._$Cl = h), void 0 !== h && (i = M(t, h._$AS(t, i.values), h, e)), i;
1296
+ return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h, false), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? ((__$Co = (_s = s)._$Co) !== null && __$Co !== void 0 ? __$Co : _s._$Co = [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;
1300
1297
  }
1301
- var R = /*#__PURE__*/ function() {
1302
- function R(t, i) {
1303
- _class_call_check$1(this, R);
1298
+ var M = /*#__PURE__*/ function() {
1299
+ function M(t, i) {
1300
+ _class_call_check$1(this, M);
1304
1301
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1305
1302
  }
1306
- _create_class$1(R, [
1303
+ _create_class$1(M, [
1307
1304
  {
1308
1305
  key: "parentNode",
1309
1306
  get: function get() {
@@ -1320,17 +1317,17 @@ var R = /*#__PURE__*/ function() {
1320
1317
  key: "u",
1321
1318
  value: function u(t) {
1322
1319
  var _t_creationScope;
1323
- var _this__$AD = this._$AD, _this__$AD_el = _this__$AD.el, i = _this__$AD_el.content, s = _this__$AD.parts, e = ((_t_creationScope = t === null || t === void 0 ? void 0 : t.creationScope) !== null && _t_creationScope !== void 0 ? _t_creationScope : l).importNode(i, true);
1324
- P.currentNode = e;
1325
- var h = P.nextNode(), o = 0, n = 0, r = s[0];
1326
- for(; void 0 !== r;){
1327
- if (o === r.index) {
1320
+ var _this__$AD = this._$AD, _this__$AD_el = _this__$AD.el, i = _this__$AD_el.content, s = _this__$AD.parts, e = ((_t_creationScope = t === null || t === void 0 ? void 0 : t.creationScope) !== null && _t_creationScope !== void 0 ? _t_creationScope : r$1).importNode(i, true);
1321
+ C.currentNode = e;
1322
+ var h = C.nextNode(), o = 0, n = 0, l = s[0];
1323
+ for(; void 0 !== l;){
1324
+ if (o === l.index) {
1328
1325
  var i1 = void 0;
1329
- 2 === r.type ? i1 = new k(h, h.nextSibling, this, t) : 1 === r.type ? i1 = new r.ctor(h, r.name, r.strings, this, t) : 6 === r.type && (i1 = new Z(h, this, t)), this._$AV.push(i1), r = s[++n];
1326
+ 2 === l.type ? i1 = new R(h, h.nextSibling, this, t) : 1 === l.type ? i1 = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (i1 = new z(h, this, t)), this._$AV.push(i1), l = s[++n];
1330
1327
  }
1331
- o !== (r === null || r === void 0 ? void 0 : r.index) && (h = P.nextNode(), o++);
1328
+ o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
1332
1329
  }
1333
- return P.currentNode = l, e;
1330
+ return C.currentNode = r$1, e;
1334
1331
  }
1335
1332
  },
1336
1333
  {
@@ -1360,15 +1357,15 @@ var R = /*#__PURE__*/ function() {
1360
1357
  }
1361
1358
  }
1362
1359
  ]);
1363
- return R;
1360
+ return M;
1364
1361
  }();
1365
- var k = /*#__PURE__*/ function() {
1366
- function k(t, i, s, e) {
1367
- _class_call_check$1(this, k);
1362
+ var R = /*#__PURE__*/ function() {
1363
+ function R(t, i, s, e) {
1364
+ _class_call_check$1(this, R);
1368
1365
  var _e_isConnected;
1369
- this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected : true;
1366
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected : true;
1370
1367
  }
1371
- _create_class$1(k, [
1368
+ _create_class$1(R, [
1372
1369
  {
1373
1370
  key: "_$AU",
1374
1371
  get: function get() {
@@ -1401,7 +1398,7 @@ var k = /*#__PURE__*/ function() {
1401
1398
  key: "_$AI",
1402
1399
  value: function _$AI(t) {
1403
1400
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this;
1404
- t = M(this, t, i), a(t) ? t === A || null == t || "" === t ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== E && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : d(t) ? this.k(t) : this._(t);
1401
+ t = S(this, t, i), c(t) ? t === E || null == t || "" === t ? (this._$AH !== E && this._$AR(), this._$AH = E) : t !== this._$AH && t !== T && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);
1405
1402
  }
1406
1403
  },
1407
1404
  {
@@ -1419,17 +1416,17 @@ var k = /*#__PURE__*/ function() {
1419
1416
  {
1420
1417
  key: "_",
1421
1418
  value: function _(t) {
1422
- this._$AH !== A && a(this._$AH) ? this._$AA.nextSibling.data = t : this.T(l.createTextNode(t)), this._$AH = t;
1419
+ this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$1.createTextNode(t)), this._$AH = t;
1423
1420
  }
1424
1421
  },
1425
1422
  {
1426
1423
  key: "$",
1427
1424
  value: function $(t) {
1428
1425
  var _this__$AH;
1429
- var i = t.values, s = t._$litType$, e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = S.createElement(V(s.h, s.h[0]), this.options)), s);
1426
+ var i = t.values, s = t._$litType$, e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = N.createElement(P(s.h, s.h[0]), this.options)), s);
1430
1427
  if (((_this__$AH = this._$AH) === null || _this__$AH === void 0 ? void 0 : _this__$AH._$AD) === e) this._$AH.p(i);
1431
1428
  else {
1432
- var _$t = new R(e, this), s1 = _$t.u(this.options);
1429
+ var _$t = new M(e, this), s1 = _$t.u(this.options);
1433
1430
  _$t.p(i), this.T(s1), this._$AH = _$t;
1434
1431
  }
1435
1432
  }
@@ -1437,21 +1434,21 @@ var k = /*#__PURE__*/ function() {
1437
1434
  {
1438
1435
  key: "_$AC",
1439
1436
  value: function _$AC(t) {
1440
- var i = C.get(t.strings);
1441
- return void 0 === i && C.set(t.strings, i = new S(t)), i;
1437
+ var i = A.get(t.strings);
1438
+ return void 0 === i && A.set(t.strings, i = new N(t)), i;
1442
1439
  }
1443
1440
  },
1444
1441
  {
1445
1442
  key: "k",
1446
- value: function k1(t) {
1447
- u(this._$AH) || (this._$AH = [], this._$AR());
1443
+ value: function k(t) {
1444
+ a(this._$AH) || (this._$AH = [], this._$AR());
1448
1445
  var i = this._$AH;
1449
1446
  var s, e = 0;
1450
1447
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
1451
1448
  try {
1452
1449
  for(var _iterator = t[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
1453
1450
  var h = _step.value;
1454
- e === i.length ? i.push(s = new k(this.O(c()), this.O(c()), this, this.options)) : s = i[e], s._$AI(h), e++;
1451
+ e === i.length ? i.push(s = new R(this.O(l()), this.O(l()), this, this.options)) : s = i[e], s._$AI(h), e++;
1455
1452
  }
1456
1453
  } catch (err) {
1457
1454
  _didIteratorError = true;
@@ -1473,11 +1470,11 @@ var k = /*#__PURE__*/ function() {
1473
1470
  {
1474
1471
  key: "_$AR",
1475
1472
  value: function _$AR() {
1476
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, s = arguments.length > 1 ? arguments[1] : void 0;
1473
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
1477
1474
  var _this__$AP, _this;
1478
- for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, s); t !== this._$AB;){
1479
- var s1 = i$1(t).nextSibling;
1480
- i$1(t).remove(), t = s1;
1475
+ for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, i); t !== this._$AB;){
1476
+ var i1 = t.nextSibling;
1477
+ t.remove(), t = i1;
1481
1478
  }
1482
1479
  }
1483
1480
  },
@@ -1489,14 +1486,14 @@ var k = /*#__PURE__*/ function() {
1489
1486
  }
1490
1487
  }
1491
1488
  ]);
1492
- return k;
1489
+ return R;
1493
1490
  }();
1494
- var H = /*#__PURE__*/ function() {
1495
- function H(t, i, s, e, h) {
1496
- _class_call_check$1(this, H);
1497
- this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String), this.strings = s) : this._$AH = A;
1491
+ var k = /*#__PURE__*/ function() {
1492
+ function k(t, i, s, e, h) {
1493
+ _class_call_check$1(this, k);
1494
+ this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String), this.strings = s) : this._$AH = E;
1498
1495
  }
1499
- _create_class$1(H, [
1496
+ _create_class$1(k, [
1500
1497
  {
1501
1498
  key: "tagName",
1502
1499
  get: function get() {
@@ -1515,11 +1512,11 @@ var H = /*#__PURE__*/ function() {
1515
1512
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this, s = arguments.length > 2 ? arguments[2] : void 0, e = arguments.length > 3 ? arguments[3] : void 0;
1516
1513
  var h = this.strings;
1517
1514
  var o = false;
1518
- if (void 0 === h) t = M(this, t, i, 0), o = !a(t) || t !== this._$AH && t !== E, o && (this._$AH = t);
1515
+ if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
1519
1516
  else {
1520
1517
  var e1 = t;
1521
1518
  var n, r;
1522
- for(t = h[0], n = 0; n < h.length - 1; n++)r = M(this, e1[s + n], i, n), r === E && (r = this._$AH[n]), o || (o = !a(r) || r !== this._$AH[n]), r === A ? t = A : t !== A && (t += (r !== null && r !== void 0 ? r : "") + h[n + 1]), this._$AH[n] = r;
1519
+ for(t = h[0], n = 0; n < h.length - 1; n++)r = S(this, e1[s + n], i, n), r === T && (r = this._$AH[n]), o || (o = !c(r) || r !== this._$AH[n]), r === E ? t = E : t !== E && (t += (r !== null && r !== void 0 ? r : "") + h[n + 1]), this._$AH[n] = r;
1523
1520
  }
1524
1521
  o && !e && this.j(t);
1525
1522
  }
@@ -1527,71 +1524,71 @@ var H = /*#__PURE__*/ function() {
1527
1524
  {
1528
1525
  key: "j",
1529
1526
  value: function j(t) {
1530
- t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t !== null && t !== void 0 ? t : "");
1527
+ t === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t !== null && t !== void 0 ? t : "");
1531
1528
  }
1532
1529
  }
1533
1530
  ]);
1534
- return H;
1531
+ return k;
1535
1532
  }();
1536
- var I = /*#__PURE__*/ function(H) {
1537
- _inherits$1(I, H);
1538
- var _super = _create_super$1(I);
1539
- function I() {
1540
- _class_call_check$1(this, I);
1533
+ var H = /*#__PURE__*/ function(k) {
1534
+ _inherits$1(H, k);
1535
+ var _super = _create_super$1(H);
1536
+ function H() {
1537
+ _class_call_check$1(this, H);
1541
1538
  var _this;
1542
1539
  _this = _super.call.apply(_super, [
1543
1540
  this
1544
1541
  ].concat(Array.prototype.slice.call(arguments))), _this.type = 3;
1545
1542
  return _possible_constructor_return$1(_this);
1546
1543
  }
1547
- _create_class$1(I, [
1544
+ _create_class$1(H, [
1548
1545
  {
1549
1546
  key: "j",
1550
1547
  value: function j(t) {
1551
- this.element[this.name] = t === A ? void 0 : t;
1548
+ this.element[this.name] = t === E ? void 0 : t;
1552
1549
  }
1553
1550
  }
1554
1551
  ]);
1555
- return I;
1556
- }(H);
1557
- var L = /*#__PURE__*/ function(H) {
1558
- _inherits$1(L, H);
1559
- var _super = _create_super$1(L);
1560
- function L() {
1561
- _class_call_check$1(this, L);
1552
+ return H;
1553
+ }(k);
1554
+ var I = /*#__PURE__*/ function(k) {
1555
+ _inherits$1(I, k);
1556
+ var _super = _create_super$1(I);
1557
+ function I() {
1558
+ _class_call_check$1(this, I);
1562
1559
  var _this;
1563
1560
  _this = _super.call.apply(_super, [
1564
1561
  this
1565
1562
  ].concat(Array.prototype.slice.call(arguments))), _this.type = 4;
1566
1563
  return _possible_constructor_return$1(_this);
1567
1564
  }
1568
- _create_class$1(L, [
1565
+ _create_class$1(I, [
1569
1566
  {
1570
1567
  key: "j",
1571
1568
  value: function j(t) {
1572
- this.element.toggleAttribute(this.name, !!t && t !== A);
1569
+ this.element.toggleAttribute(this.name, !!t && t !== E);
1573
1570
  }
1574
1571
  }
1575
1572
  ]);
1576
- return L;
1577
- }(H);
1578
- var z = /*#__PURE__*/ function(H) {
1579
- _inherits$1(z, H);
1580
- var _super = _create_super$1(z);
1581
- function z(t, i, s, e, h) {
1582
- _class_call_check$1(this, z);
1573
+ return I;
1574
+ }(k);
1575
+ var L = /*#__PURE__*/ function(k) {
1576
+ _inherits$1(L, k);
1577
+ var _super = _create_super$1(L);
1578
+ function L(t, i, s, e, h) {
1579
+ _class_call_check$1(this, L);
1583
1580
  var _this;
1584
1581
  _this = _super.call(this, t, i, s, e, h), _this.type = 5;
1585
1582
  return _possible_constructor_return$1(_this);
1586
1583
  }
1587
- _create_class$1(z, [
1584
+ _create_class$1(L, [
1588
1585
  {
1589
1586
  key: "_$AI",
1590
1587
  value: function _$AI(t) {
1591
1588
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this;
1592
- var _M;
1593
- if ((t = (_M = M(this, t, i, 0)) !== null && _M !== void 0 ? _M : A) === E) return;
1594
- var s = this._$AH, e = t === A && s !== A || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, h = t !== A && (s === A || e);
1589
+ var _S;
1590
+ if ((t = (_S = S(this, t, i, 0)) !== null && _S !== void 0 ? _S : E) === T) return;
1591
+ var s = this._$AH, e = t === E && s !== E || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, h = t !== E && (s === E || e);
1595
1592
  e && this.element.removeEventListener(this.name, this, s), h && this.element.addEventListener(this.name, this, t), this._$AH = t;
1596
1593
  }
1597
1594
  },
@@ -1604,14 +1601,14 @@ var z = /*#__PURE__*/ function(H) {
1604
1601
  }
1605
1602
  }
1606
1603
  ]);
1607
- return z;
1608
- }(H);
1609
- var Z = /*#__PURE__*/ function() {
1610
- function Z(t, i, s) {
1611
- _class_call_check$1(this, Z);
1604
+ return L;
1605
+ }(k);
1606
+ var z = /*#__PURE__*/ function() {
1607
+ function z(t, i, s) {
1608
+ _class_call_check$1(this, z);
1612
1609
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
1613
1610
  }
1614
- _create_class$1(Z, [
1611
+ _create_class$1(z, [
1615
1612
  {
1616
1613
  key: "_$AU",
1617
1614
  get: function get() {
@@ -1621,23 +1618,23 @@ var Z = /*#__PURE__*/ function() {
1621
1618
  {
1622
1619
  key: "_$AI",
1623
1620
  value: function _$AI(t) {
1624
- M(this, t);
1621
+ S(this, t);
1625
1622
  }
1626
1623
  }
1627
1624
  ]);
1628
- return Z;
1625
+ return z;
1629
1626
  }();
1630
- var B = t$1.litHtmlPolyfillSupport;
1627
+ var j = t$1.litHtmlPolyfillSupport;
1631
1628
  var _litHtmlVersions;
1632
- B === null || B === void 0 ? void 0 : B(S, k), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.3.3");
1633
- var D = function(t, i, s) {
1629
+ j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.3.1");
1630
+ var B = function(t, i, s) {
1634
1631
  var _s_renderBefore;
1635
1632
  var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
1636
1633
  var h = e._$litPart$;
1637
1634
  if (void 0 === h) {
1638
1635
  var _s_renderBefore1;
1639
1636
  var _$t = (_s_renderBefore1 = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore1 !== void 0 ? _s_renderBefore1 : null;
1640
- e._$litPart$ = h = new k(i.insertBefore(c(), _$t), _$t, void 0, s !== null && s !== void 0 ? s : {});
1637
+ e._$litPart$ = h = new R(i.insertBefore(l(), _$t), _$t, void 0, s !== null && s !== void 0 ? s : {});
1641
1638
  }
1642
1639
  return h._$AI(t), h;
1643
1640
  };
@@ -1783,7 +1780,7 @@ var i = /*#__PURE__*/ function(t) {
1783
1780
  key: "update",
1784
1781
  value: function update(t) {
1785
1782
  var r = this.render();
1786
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(i.prototype), "update", this).call(this, t), this._$Do = D(r, this.renderRoot, this.renderOptions);
1783
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(i.prototype), "update", this).call(this, t), this._$Do = B(r, this.renderRoot, this.renderOptions);
1787
1784
  }
1788
1785
  },
1789
1786
  {
@@ -1803,7 +1800,7 @@ var i = /*#__PURE__*/ function(t) {
1803
1800
  {
1804
1801
  key: "render",
1805
1802
  value: function render() {
1806
- return E;
1803
+ return T;
1807
1804
  }
1808
1805
  }
1809
1806
  ]);
@@ -1817,7 +1814,7 @@ o$1 === null || o$1 === void 0 ? void 0 : o$1({
1817
1814
  LitElement: i
1818
1815
  });
1819
1816
  var _litElementVersions;
1820
- ((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.2");
1817
+ ((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.1");
1821
1818
 
1822
1819
  /**
1823
1820
  * @license
@@ -1854,7 +1851,7 @@ function _type_of(obj) {
1854
1851
  return {
1855
1852
  set: function set(r) {
1856
1853
  var n = _$e.get.call(this);
1857
- _$e.set.call(this, r), this.requestUpdate(o1, n, _$t, true, r);
1854
+ _$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
1858
1855
  },
1859
1856
  init: function init(e) {
1860
1857
  return void 0 !== e && this.C(o1, void 0, _$t, e), e;
@@ -1865,7 +1862,7 @@ function _type_of(obj) {
1865
1862
  var o2 = r.name;
1866
1863
  return function r(r) {
1867
1864
  var n = this[o2];
1868
- _$e.call(this, r), this.requestUpdate(o2, n, _$t, true, r);
1865
+ _$e.call(this, r), this.requestUpdate(o2, n, _$t);
1869
1866
  };
1870
1867
  }
1871
1868
  throw Error("Unsupported decorator location: " + n);
@@ -72454,7 +72451,7 @@ class EditorElement extends i {
72454
72451
  Blockly.Events.enable();
72455
72452
  }
72456
72453
  render() {
72457
- return b`
72454
+ return x`
72458
72455
  <style>
72459
72456
  @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
72460
72457