@symbo.ls/scratch 2.11.125 → 2.11.132

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.
@@ -143,9 +143,9 @@ var require_env = __commonJS({
143
143
  }
144
144
  });
145
145
 
146
- // ../../node_modules/@domql/tags/dist/cjs/htmlTags.js
147
- var require_htmlTags = __commonJS({
148
- "../../node_modules/@domql/tags/dist/cjs/htmlTags.js"(exports, module2) {
146
+ // ../../node_modules/@domql/utils/dist/cjs/globals.js
147
+ var require_globals = __commonJS({
148
+ "../../node_modules/@domql/utils/dist/cjs/globals.js"(exports, module2) {
149
149
  "use strict";
150
150
  var __defProp2 = Object.defineProperty;
151
151
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -164,169 +164,18 @@ var require_htmlTags = __commonJS({
164
164
  return to;
165
165
  };
166
166
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
167
- var htmlTags_exports = {};
168
- __export2(htmlTags_exports, {
169
- HTML_TAGS: () => HTML_TAGS
167
+ var globals_exports = {};
168
+ __export2(globals_exports, {
169
+ document: () => document4,
170
+ global: () => global,
171
+ self: () => self,
172
+ window: () => window2
170
173
  });
171
- module2.exports = __toCommonJS2(htmlTags_exports);
172
- var HTML_TAGS = {
173
- root: [
174
- "body",
175
- "html"
176
- ],
177
- head: [
178
- "title",
179
- "base",
180
- "meta",
181
- "style"
182
- ],
183
- body: [
184
- "string",
185
- "fragment",
186
- "a",
187
- "abbr",
188
- "acronym",
189
- "address",
190
- "applet",
191
- "area",
192
- "article",
193
- "aside",
194
- "audio",
195
- "b",
196
- "basefont",
197
- "bdi",
198
- "bdo",
199
- "big",
200
- "blockquote",
201
- "br",
202
- "button",
203
- "canvas",
204
- "caption",
205
- "center",
206
- "cite",
207
- "code",
208
- "col",
209
- "colgroup",
210
- "data",
211
- "datalist",
212
- "dd",
213
- "del",
214
- "details",
215
- "dfn",
216
- "dialog",
217
- "dir",
218
- "div",
219
- "dl",
220
- "dt",
221
- "em",
222
- "embed",
223
- "fieldset",
224
- "figcaption",
225
- "figure",
226
- "font",
227
- "footer",
228
- "form",
229
- "frame",
230
- "frameset",
231
- "h1",
232
- "h2",
233
- "h3",
234
- "h4",
235
- "h5",
236
- "h6",
237
- "head",
238
- "header",
239
- "hr",
240
- "i",
241
- "iframe",
242
- "img",
243
- "input",
244
- "ins",
245
- "kbd",
246
- "label",
247
- "legend",
248
- "li",
249
- "link",
250
- "main",
251
- "map",
252
- "mark",
253
- "meter",
254
- "nav",
255
- "noframes",
256
- "noscript",
257
- "object",
258
- "ol",
259
- "optgroup",
260
- "option",
261
- "output",
262
- "p",
263
- "param",
264
- "picture",
265
- "pre",
266
- "progress",
267
- "q",
268
- "rp",
269
- "rt",
270
- "ruby",
271
- "s",
272
- "samp",
273
- "script",
274
- "section",
275
- "select",
276
- "small",
277
- "source",
278
- "span",
279
- "strike",
280
- "strong",
281
- "sub",
282
- "summary",
283
- "sup",
284
- "table",
285
- "tbody",
286
- "td",
287
- "template",
288
- "textarea",
289
- "tfoot",
290
- "th",
291
- "thead",
292
- "time",
293
- "tr",
294
- "track",
295
- "tt",
296
- "u",
297
- "ul",
298
- "var",
299
- "video",
300
- "wbr",
301
- // SVG
302
- "svg",
303
- "path"
304
- ]
305
- };
306
- }
307
- });
308
-
309
- // ../../node_modules/@domql/tags/dist/cjs/index.js
310
- var require_cjs2 = __commonJS({
311
- "../../node_modules/@domql/tags/dist/cjs/index.js"(exports, module2) {
312
- "use strict";
313
- var __defProp2 = Object.defineProperty;
314
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
315
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
316
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
317
- var __copyProps2 = (to, from, except, desc) => {
318
- if (from && typeof from === "object" || typeof from === "function") {
319
- for (let key of __getOwnPropNames2(from))
320
- if (!__hasOwnProp2.call(to, key) && key !== except)
321
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
322
- }
323
- return to;
324
- };
325
- var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
326
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
327
- var tags_exports = {};
328
- module2.exports = __toCommonJS2(tags_exports);
329
- __reExport(tags_exports, require_htmlTags(), module2.exports);
174
+ module2.exports = __toCommonJS2(globals_exports);
175
+ var global = globalThis;
176
+ var self = globalThis;
177
+ var window2 = globalThis;
178
+ var document4 = window2.document;
330
179
  }
331
180
  });
332
181
 
@@ -357,7 +206,7 @@ var require_node = __commonJS({
357
206
  isNode: () => isNode
358
207
  });
359
208
  module2.exports = __toCommonJS2(node_exports);
360
- var import_globals3 = require_cjs();
209
+ var import_globals3 = require_globals();
361
210
  var isNode = (obj) => {
362
211
  return (typeof Node === "object" ? obj instanceof import_globals3.window.Node : obj && typeof obj === "object" && typeof obj.nodeType === "number" && typeof obj.nodeName === "string") || false;
363
212
  };
@@ -402,13 +251,10 @@ var require_types = __commonJS({
402
251
  isObject: () => isObject4,
403
252
  isObjectLike: () => isObjectLike2,
404
253
  isString: () => isString5,
405
- isUndefined: () => isUndefined,
406
- isValidHtmlTag: () => isValidHtmlTag
254
+ isUndefined: () => isUndefined
407
255
  });
408
256
  module2.exports = __toCommonJS2(types_exports);
409
- var import_tags = require_cjs2();
410
257
  var import_node = require_node();
411
- var isValidHtmlTag = (arg) => import_tags.HTML_TAGS.body.includes(arg);
412
258
  var isObject4 = (arg) => {
413
259
  if (arg === null)
414
260
  return false;
@@ -664,7 +510,7 @@ var require_object = __commonJS({
664
510
  stringToObject: () => stringToObject
665
511
  });
666
512
  module2.exports = __toCommonJS2(object_exports);
667
- var import_globals3 = require_cjs();
513
+ var import_globals3 = require_globals();
668
514
  var import_types = require_types();
669
515
  var import_array = require_array();
670
516
  var import_string = require_string();
@@ -1129,42 +975,6 @@ var require_log = __commonJS({
1129
975
  }
1130
976
  });
1131
977
 
1132
- // ../../node_modules/@domql/utils/dist/cjs/globals.js
1133
- var require_globals = __commonJS({
1134
- "../../node_modules/@domql/utils/dist/cjs/globals.js"(exports, module2) {
1135
- "use strict";
1136
- var __defProp2 = Object.defineProperty;
1137
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
1138
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
1139
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
1140
- var __export2 = (target, all) => {
1141
- for (var name in all)
1142
- __defProp2(target, name, { get: all[name], enumerable: true });
1143
- };
1144
- var __copyProps2 = (to, from, except, desc) => {
1145
- if (from && typeof from === "object" || typeof from === "function") {
1146
- for (let key of __getOwnPropNames2(from))
1147
- if (!__hasOwnProp2.call(to, key) && key !== except)
1148
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
1149
- }
1150
- return to;
1151
- };
1152
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
1153
- var globals_exports = {};
1154
- __export2(globals_exports, {
1155
- document: () => document4,
1156
- global: () => global,
1157
- self: () => self,
1158
- window: () => window2
1159
- });
1160
- module2.exports = __toCommonJS2(globals_exports);
1161
- var global = globalThis;
1162
- var self = globalThis;
1163
- var window2 = globalThis;
1164
- var document4 = window2.document;
1165
- }
1166
- });
1167
-
1168
978
  // ../../node_modules/@domql/utils/dist/cjs/cookie.js
1169
979
  var require_cookie = __commonJS({
1170
980
  "../../node_modules/@domql/utils/dist/cjs/cookie.js"(exports, module2) {
@@ -1221,8 +1031,173 @@ var require_cookie = __commonJS({
1221
1031
  }
1222
1032
  });
1223
1033
 
1034
+ // ../../node_modules/@domql/utils/dist/cjs/tags.js
1035
+ var require_tags = __commonJS({
1036
+ "../../node_modules/@domql/utils/dist/cjs/tags.js"(exports, module2) {
1037
+ "use strict";
1038
+ var __defProp2 = Object.defineProperty;
1039
+ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
1040
+ var __getOwnPropNames2 = Object.getOwnPropertyNames;
1041
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
1042
+ var __export2 = (target, all) => {
1043
+ for (var name in all)
1044
+ __defProp2(target, name, { get: all[name], enumerable: true });
1045
+ };
1046
+ var __copyProps2 = (to, from, except, desc) => {
1047
+ if (from && typeof from === "object" || typeof from === "function") {
1048
+ for (let key of __getOwnPropNames2(from))
1049
+ if (!__hasOwnProp2.call(to, key) && key !== except)
1050
+ __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
1051
+ }
1052
+ return to;
1053
+ };
1054
+ var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
1055
+ var tags_exports = {};
1056
+ __export2(tags_exports, {
1057
+ HTML_TAGS: () => HTML_TAGS,
1058
+ isValidHtmlTag: () => isValidHtmlTag
1059
+ });
1060
+ module2.exports = __toCommonJS2(tags_exports);
1061
+ var HTML_TAGS = {
1062
+ root: [
1063
+ "body",
1064
+ "html"
1065
+ ],
1066
+ head: [
1067
+ "title",
1068
+ "base",
1069
+ "meta",
1070
+ "style"
1071
+ ],
1072
+ body: [
1073
+ "string",
1074
+ "fragment",
1075
+ "a",
1076
+ "abbr",
1077
+ "acronym",
1078
+ "address",
1079
+ "applet",
1080
+ "area",
1081
+ "article",
1082
+ "aside",
1083
+ "audio",
1084
+ "b",
1085
+ "basefont",
1086
+ "bdi",
1087
+ "bdo",
1088
+ "big",
1089
+ "blockquote",
1090
+ "br",
1091
+ "button",
1092
+ "canvas",
1093
+ "caption",
1094
+ "center",
1095
+ "cite",
1096
+ "code",
1097
+ "col",
1098
+ "colgroup",
1099
+ "data",
1100
+ "datalist",
1101
+ "dd",
1102
+ "del",
1103
+ "details",
1104
+ "dfn",
1105
+ "dialog",
1106
+ "dir",
1107
+ "div",
1108
+ "dl",
1109
+ "dt",
1110
+ "em",
1111
+ "embed",
1112
+ "fieldset",
1113
+ "figcaption",
1114
+ "figure",
1115
+ "font",
1116
+ "footer",
1117
+ "form",
1118
+ "frame",
1119
+ "frameset",
1120
+ "h1",
1121
+ "h2",
1122
+ "h3",
1123
+ "h4",
1124
+ "h5",
1125
+ "h6",
1126
+ "head",
1127
+ "header",
1128
+ "hr",
1129
+ "i",
1130
+ "iframe",
1131
+ "img",
1132
+ "input",
1133
+ "ins",
1134
+ "kbd",
1135
+ "label",
1136
+ "legend",
1137
+ "li",
1138
+ "link",
1139
+ "main",
1140
+ "map",
1141
+ "mark",
1142
+ "meter",
1143
+ "nav",
1144
+ "noframes",
1145
+ "noscript",
1146
+ "object",
1147
+ "ol",
1148
+ "optgroup",
1149
+ "option",
1150
+ "output",
1151
+ "p",
1152
+ "param",
1153
+ "picture",
1154
+ "pre",
1155
+ "progress",
1156
+ "q",
1157
+ "rp",
1158
+ "rt",
1159
+ "ruby",
1160
+ "s",
1161
+ "samp",
1162
+ "script",
1163
+ "section",
1164
+ "select",
1165
+ "small",
1166
+ "source",
1167
+ "span",
1168
+ "strike",
1169
+ "strong",
1170
+ "sub",
1171
+ "summary",
1172
+ "sup",
1173
+ "table",
1174
+ "tbody",
1175
+ "td",
1176
+ "template",
1177
+ "textarea",
1178
+ "tfoot",
1179
+ "th",
1180
+ "thead",
1181
+ "time",
1182
+ "tr",
1183
+ "track",
1184
+ "tt",
1185
+ "u",
1186
+ "ul",
1187
+ "var",
1188
+ "video",
1189
+ "wbr",
1190
+ // SVG
1191
+ "svg",
1192
+ "path"
1193
+ ]
1194
+ };
1195
+ var isValidHtmlTag = (arg) => HTML_TAGS.body.includes(arg);
1196
+ }
1197
+ });
1198
+
1224
1199
  // ../../node_modules/@domql/utils/dist/cjs/index.js
1225
- var require_cjs3 = __commonJS({
1200
+ var require_cjs2 = __commonJS({
1226
1201
  "../../node_modules/@domql/utils/dist/cjs/index.js"(exports, module2) {
1227
1202
  "use strict";
1228
1203
  var __defProp2 = Object.defineProperty;
@@ -1252,6 +1227,7 @@ var require_cjs3 = __commonJS({
1252
1227
  __reExport(utils_exports, require_string(), module2.exports);
1253
1228
  __reExport(utils_exports, require_globals(), module2.exports);
1254
1229
  __reExport(utils_exports, require_cookie(), module2.exports);
1230
+ __reExport(utils_exports, require_tags(), module2.exports);
1255
1231
  }
1256
1232
  });
1257
1233
 
@@ -1268,19 +1244,19 @@ var import_globals2 = __toESM(require_cjs(), 1);
1268
1244
 
1269
1245
  // src/utils/color.js
1270
1246
  var import_globals = __toESM(require_cjs(), 1);
1271
- var import_utils = __toESM(require_cjs3(), 1);
1247
+ var import_utils = __toESM(require_cjs2(), 1);
1272
1248
 
1273
1249
  // src/utils/sequence.js
1274
- var import_utils5 = __toESM(require_cjs3(), 1);
1250
+ var import_utils5 = __toESM(require_cjs2(), 1);
1275
1251
 
1276
1252
  // ../utils/src/index.js
1277
- var import_utils3 = __toESM(require_cjs3());
1253
+ var import_utils3 = __toESM(require_cjs2());
1278
1254
 
1279
1255
  // ../utils/src/scaling.js
1280
- var import_utils2 = __toESM(require_cjs3());
1256
+ var import_utils2 = __toESM(require_cjs2());
1281
1257
 
1282
1258
  // src/factory.js
1283
- var import_utils4 = __toESM(require_cjs3(), 1);
1259
+ var import_utils4 = __toESM(require_cjs2(), 1);
1284
1260
 
1285
1261
  // src/defaultConfig/index.js
1286
1262
  var defaultConfig_exports = {};
@@ -1503,10 +1479,10 @@ var getActiveConfig = (def) => {
1503
1479
  };
1504
1480
 
1505
1481
  // src/utils/var.js
1506
- var import_utils7 = __toESM(require_cjs3(), 1);
1482
+ var import_utils7 = __toESM(require_cjs2(), 1);
1507
1483
 
1508
1484
  // src/utils/sprite.js
1509
- var import_utils8 = __toESM(require_cjs3(), 1);
1485
+ var import_utils8 = __toESM(require_cjs2(), 1);
1510
1486
  var generateSprite = (icons) => {
1511
1487
  const CONFIG2 = getActiveConfig();
1512
1488
  let sprite = "";