@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.
@@ -107,196 +107,9 @@ var require_env = __commonJS({
107
107
  }
108
108
  });
109
109
 
110
- // ../../node_modules/@domql/tags/dist/cjs/htmlTags.js
111
- var require_htmlTags = __commonJS({
112
- "../../node_modules/@domql/tags/dist/cjs/htmlTags.js"(exports, module2) {
113
- "use strict";
114
- var __defProp2 = Object.defineProperty;
115
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
116
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
117
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
118
- var __export2 = (target, all) => {
119
- for (var name in all)
120
- __defProp2(target, name, { get: all[name], enumerable: true });
121
- };
122
- var __copyProps2 = (to, from, except, desc) => {
123
- if (from && typeof from === "object" || typeof from === "function") {
124
- for (let key of __getOwnPropNames2(from))
125
- if (!__hasOwnProp2.call(to, key) && key !== except)
126
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
127
- }
128
- return to;
129
- };
130
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
131
- var htmlTags_exports = {};
132
- __export2(htmlTags_exports, {
133
- HTML_TAGS: () => HTML_TAGS
134
- });
135
- module2.exports = __toCommonJS2(htmlTags_exports);
136
- var HTML_TAGS = {
137
- root: [
138
- "body",
139
- "html"
140
- ],
141
- head: [
142
- "title",
143
- "base",
144
- "meta",
145
- "style"
146
- ],
147
- body: [
148
- "string",
149
- "fragment",
150
- "a",
151
- "abbr",
152
- "acronym",
153
- "address",
154
- "applet",
155
- "area",
156
- "article",
157
- "aside",
158
- "audio",
159
- "b",
160
- "basefont",
161
- "bdi",
162
- "bdo",
163
- "big",
164
- "blockquote",
165
- "br",
166
- "button",
167
- "canvas",
168
- "caption",
169
- "center",
170
- "cite",
171
- "code",
172
- "col",
173
- "colgroup",
174
- "data",
175
- "datalist",
176
- "dd",
177
- "del",
178
- "details",
179
- "dfn",
180
- "dialog",
181
- "dir",
182
- "div",
183
- "dl",
184
- "dt",
185
- "em",
186
- "embed",
187
- "fieldset",
188
- "figcaption",
189
- "figure",
190
- "font",
191
- "footer",
192
- "form",
193
- "frame",
194
- "frameset",
195
- "h1",
196
- "h2",
197
- "h3",
198
- "h4",
199
- "h5",
200
- "h6",
201
- "head",
202
- "header",
203
- "hr",
204
- "i",
205
- "iframe",
206
- "img",
207
- "input",
208
- "ins",
209
- "kbd",
210
- "label",
211
- "legend",
212
- "li",
213
- "link",
214
- "main",
215
- "map",
216
- "mark",
217
- "meter",
218
- "nav",
219
- "noframes",
220
- "noscript",
221
- "object",
222
- "ol",
223
- "optgroup",
224
- "option",
225
- "output",
226
- "p",
227
- "param",
228
- "picture",
229
- "pre",
230
- "progress",
231
- "q",
232
- "rp",
233
- "rt",
234
- "ruby",
235
- "s",
236
- "samp",
237
- "script",
238
- "section",
239
- "select",
240
- "small",
241
- "source",
242
- "span",
243
- "strike",
244
- "strong",
245
- "sub",
246
- "summary",
247
- "sup",
248
- "table",
249
- "tbody",
250
- "td",
251
- "template",
252
- "textarea",
253
- "tfoot",
254
- "th",
255
- "thead",
256
- "time",
257
- "tr",
258
- "track",
259
- "tt",
260
- "u",
261
- "ul",
262
- "var",
263
- "video",
264
- "wbr",
265
- // SVG
266
- "svg",
267
- "path"
268
- ]
269
- };
270
- }
271
- });
272
-
273
- // ../../node_modules/@domql/tags/dist/cjs/index.js
274
- var require_cjs = __commonJS({
275
- "../../node_modules/@domql/tags/dist/cjs/index.js"(exports, module2) {
276
- "use strict";
277
- var __defProp2 = Object.defineProperty;
278
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
279
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
280
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
281
- var __copyProps2 = (to, from, except, desc) => {
282
- if (from && typeof from === "object" || typeof from === "function") {
283
- for (let key of __getOwnPropNames2(from))
284
- if (!__hasOwnProp2.call(to, key) && key !== except)
285
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
286
- }
287
- return to;
288
- };
289
- var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
290
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
291
- var tags_exports = {};
292
- module2.exports = __toCommonJS2(tags_exports);
293
- __reExport(tags_exports, require_htmlTags(), module2.exports);
294
- }
295
- });
296
-
297
- // ../../node_modules/@domql/globals/dist/cjs/index.js
298
- var require_cjs2 = __commonJS({
299
- "../../node_modules/@domql/globals/dist/cjs/index.js"(exports, module2) {
110
+ // ../../node_modules/@domql/utils/dist/cjs/globals.js
111
+ var require_globals = __commonJS({
112
+ "../../node_modules/@domql/utils/dist/cjs/globals.js"(exports, module2) {
300
113
  "use strict";
301
114
  var __defProp2 = Object.defineProperty;
302
115
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -357,7 +170,7 @@ var require_node = __commonJS({
357
170
  isNode: () => isNode
358
171
  });
359
172
  module2.exports = __toCommonJS2(node_exports);
360
- var import_globals2 = require_cjs2();
173
+ var import_globals2 = require_globals();
361
174
  var isNode = (obj) => {
362
175
  return (typeof Node === "object" ? obj instanceof import_globals2.window.Node : obj && typeof obj === "object" && typeof obj.nodeType === "number" && typeof obj.nodeName === "string") || false;
363
176
  };
@@ -402,13 +215,10 @@ var require_types = __commonJS({
402
215
  isObject: () => isObject4,
403
216
  isObjectLike: () => isObjectLike2,
404
217
  isString: () => isString5,
405
- isUndefined: () => isUndefined,
406
- isValidHtmlTag: () => isValidHtmlTag
218
+ isUndefined: () => isUndefined
407
219
  });
408
220
  module2.exports = __toCommonJS2(types_exports);
409
- var import_tags = require_cjs();
410
221
  var import_node = require_node();
411
- var isValidHtmlTag = (arg) => import_tags.HTML_TAGS.body.includes(arg);
412
222
  var isObject4 = (arg) => {
413
223
  if (arg === null)
414
224
  return false;
@@ -664,7 +474,7 @@ var require_object = __commonJS({
664
474
  stringToObject: () => stringToObject
665
475
  });
666
476
  module2.exports = __toCommonJS2(object_exports);
667
- var import_globals2 = require_cjs2();
477
+ var import_globals2 = require_globals();
668
478
  var import_types = require_types();
669
479
  var import_array = require_array();
670
480
  var import_string = require_string();
@@ -1129,42 +939,6 @@ var require_log = __commonJS({
1129
939
  }
1130
940
  });
1131
941
 
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: () => document3,
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 document3 = window2.document;
1165
- }
1166
- });
1167
-
1168
942
  // ../../node_modules/@domql/utils/dist/cjs/cookie.js
1169
943
  var require_cookie = __commonJS({
1170
944
  "../../node_modules/@domql/utils/dist/cjs/cookie.js"(exports, module2) {
@@ -1221,8 +995,173 @@ var require_cookie = __commonJS({
1221
995
  }
1222
996
  });
1223
997
 
998
+ // ../../node_modules/@domql/utils/dist/cjs/tags.js
999
+ var require_tags = __commonJS({
1000
+ "../../node_modules/@domql/utils/dist/cjs/tags.js"(exports, module2) {
1001
+ "use strict";
1002
+ var __defProp2 = Object.defineProperty;
1003
+ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
1004
+ var __getOwnPropNames2 = Object.getOwnPropertyNames;
1005
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
1006
+ var __export2 = (target, all) => {
1007
+ for (var name in all)
1008
+ __defProp2(target, name, { get: all[name], enumerable: true });
1009
+ };
1010
+ var __copyProps2 = (to, from, except, desc) => {
1011
+ if (from && typeof from === "object" || typeof from === "function") {
1012
+ for (let key of __getOwnPropNames2(from))
1013
+ if (!__hasOwnProp2.call(to, key) && key !== except)
1014
+ __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
1015
+ }
1016
+ return to;
1017
+ };
1018
+ var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
1019
+ var tags_exports = {};
1020
+ __export2(tags_exports, {
1021
+ HTML_TAGS: () => HTML_TAGS,
1022
+ isValidHtmlTag: () => isValidHtmlTag
1023
+ });
1024
+ module2.exports = __toCommonJS2(tags_exports);
1025
+ var HTML_TAGS = {
1026
+ root: [
1027
+ "body",
1028
+ "html"
1029
+ ],
1030
+ head: [
1031
+ "title",
1032
+ "base",
1033
+ "meta",
1034
+ "style"
1035
+ ],
1036
+ body: [
1037
+ "string",
1038
+ "fragment",
1039
+ "a",
1040
+ "abbr",
1041
+ "acronym",
1042
+ "address",
1043
+ "applet",
1044
+ "area",
1045
+ "article",
1046
+ "aside",
1047
+ "audio",
1048
+ "b",
1049
+ "basefont",
1050
+ "bdi",
1051
+ "bdo",
1052
+ "big",
1053
+ "blockquote",
1054
+ "br",
1055
+ "button",
1056
+ "canvas",
1057
+ "caption",
1058
+ "center",
1059
+ "cite",
1060
+ "code",
1061
+ "col",
1062
+ "colgroup",
1063
+ "data",
1064
+ "datalist",
1065
+ "dd",
1066
+ "del",
1067
+ "details",
1068
+ "dfn",
1069
+ "dialog",
1070
+ "dir",
1071
+ "div",
1072
+ "dl",
1073
+ "dt",
1074
+ "em",
1075
+ "embed",
1076
+ "fieldset",
1077
+ "figcaption",
1078
+ "figure",
1079
+ "font",
1080
+ "footer",
1081
+ "form",
1082
+ "frame",
1083
+ "frameset",
1084
+ "h1",
1085
+ "h2",
1086
+ "h3",
1087
+ "h4",
1088
+ "h5",
1089
+ "h6",
1090
+ "head",
1091
+ "header",
1092
+ "hr",
1093
+ "i",
1094
+ "iframe",
1095
+ "img",
1096
+ "input",
1097
+ "ins",
1098
+ "kbd",
1099
+ "label",
1100
+ "legend",
1101
+ "li",
1102
+ "link",
1103
+ "main",
1104
+ "map",
1105
+ "mark",
1106
+ "meter",
1107
+ "nav",
1108
+ "noframes",
1109
+ "noscript",
1110
+ "object",
1111
+ "ol",
1112
+ "optgroup",
1113
+ "option",
1114
+ "output",
1115
+ "p",
1116
+ "param",
1117
+ "picture",
1118
+ "pre",
1119
+ "progress",
1120
+ "q",
1121
+ "rp",
1122
+ "rt",
1123
+ "ruby",
1124
+ "s",
1125
+ "samp",
1126
+ "script",
1127
+ "section",
1128
+ "select",
1129
+ "small",
1130
+ "source",
1131
+ "span",
1132
+ "strike",
1133
+ "strong",
1134
+ "sub",
1135
+ "summary",
1136
+ "sup",
1137
+ "table",
1138
+ "tbody",
1139
+ "td",
1140
+ "template",
1141
+ "textarea",
1142
+ "tfoot",
1143
+ "th",
1144
+ "thead",
1145
+ "time",
1146
+ "tr",
1147
+ "track",
1148
+ "tt",
1149
+ "u",
1150
+ "ul",
1151
+ "var",
1152
+ "video",
1153
+ "wbr",
1154
+ // SVG
1155
+ "svg",
1156
+ "path"
1157
+ ]
1158
+ };
1159
+ var isValidHtmlTag = (arg) => HTML_TAGS.body.includes(arg);
1160
+ }
1161
+ });
1162
+
1224
1163
  // ../../node_modules/@domql/utils/dist/cjs/index.js
1225
- var require_cjs3 = __commonJS({
1164
+ var require_cjs = __commonJS({
1226
1165
  "../../node_modules/@domql/utils/dist/cjs/index.js"(exports, module2) {
1227
1166
  "use strict";
1228
1167
  var __defProp2 = Object.defineProperty;
@@ -1252,6 +1191,43 @@ var require_cjs3 = __commonJS({
1252
1191
  __reExport(utils_exports, require_string(), module2.exports);
1253
1192
  __reExport(utils_exports, require_globals(), module2.exports);
1254
1193
  __reExport(utils_exports, require_cookie(), module2.exports);
1194
+ __reExport(utils_exports, require_tags(), module2.exports);
1195
+ }
1196
+ });
1197
+
1198
+ // ../../node_modules/@domql/globals/dist/cjs/index.js
1199
+ var require_cjs2 = __commonJS({
1200
+ "../../node_modules/@domql/globals/dist/cjs/index.js"(exports, module2) {
1201
+ "use strict";
1202
+ var __defProp2 = Object.defineProperty;
1203
+ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
1204
+ var __getOwnPropNames2 = Object.getOwnPropertyNames;
1205
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
1206
+ var __export2 = (target, all) => {
1207
+ for (var name in all)
1208
+ __defProp2(target, name, { get: all[name], enumerable: true });
1209
+ };
1210
+ var __copyProps2 = (to, from, except, desc) => {
1211
+ if (from && typeof from === "object" || typeof from === "function") {
1212
+ for (let key of __getOwnPropNames2(from))
1213
+ if (!__hasOwnProp2.call(to, key) && key !== except)
1214
+ __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
1215
+ }
1216
+ return to;
1217
+ };
1218
+ var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
1219
+ var globals_exports = {};
1220
+ __export2(globals_exports, {
1221
+ document: () => document3,
1222
+ global: () => global,
1223
+ self: () => self,
1224
+ window: () => window2
1225
+ });
1226
+ module2.exports = __toCommonJS2(globals_exports);
1227
+ var global = globalThis;
1228
+ var self = globalThis;
1229
+ var window2 = globalThis;
1230
+ var document3 = window2.document;
1255
1231
  }
1256
1232
  });
1257
1233
 
@@ -1261,10 +1237,10 @@ __export(document_exports, {
1261
1237
  applyDocument: () => applyDocument
1262
1238
  });
1263
1239
  module.exports = __toCommonJS(document_exports);
1264
- var import_utils9 = __toESM(require_cjs3(), 1);
1240
+ var import_utils9 = __toESM(require_cjs(), 1);
1265
1241
 
1266
1242
  // src/factory.js
1267
- var import_utils = __toESM(require_cjs3(), 1);
1243
+ var import_utils = __toESM(require_cjs(), 1);
1268
1244
 
1269
1245
  // src/defaultConfig/index.js
1270
1246
  var defaultConfig_exports = {};
@@ -1488,7 +1464,7 @@ var getActiveConfig = (def) => {
1488
1464
 
1489
1465
  // src/utils/color.js
1490
1466
  var import_globals = __toESM(require_cjs2(), 1);
1491
- var import_utils2 = __toESM(require_cjs3(), 1);
1467
+ var import_utils2 = __toESM(require_cjs(), 1);
1492
1468
 
1493
1469
  // src/utils/font.js
1494
1470
  var getDefaultOrFirstKey = (LIBRARY, key) => {
@@ -1501,19 +1477,19 @@ var getDefaultOrFirstKey = (LIBRARY, key) => {
1501
1477
  };
1502
1478
 
1503
1479
  // src/utils/sequence.js
1504
- var import_utils5 = __toESM(require_cjs3(), 1);
1480
+ var import_utils5 = __toESM(require_cjs(), 1);
1505
1481
 
1506
1482
  // ../utils/src/index.js
1507
- var import_utils4 = __toESM(require_cjs3());
1483
+ var import_utils4 = __toESM(require_cjs());
1508
1484
 
1509
1485
  // ../utils/src/scaling.js
1510
- var import_utils3 = __toESM(require_cjs3());
1486
+ var import_utils3 = __toESM(require_cjs());
1511
1487
 
1512
1488
  // src/utils/var.js
1513
- var import_utils7 = __toESM(require_cjs3(), 1);
1489
+ var import_utils7 = __toESM(require_cjs(), 1);
1514
1490
 
1515
1491
  // src/utils/sprite.js
1516
- var import_utils8 = __toESM(require_cjs3(), 1);
1492
+ var import_utils8 = __toESM(require_cjs(), 1);
1517
1493
 
1518
1494
  // src/system/document.js
1519
1495
  var applyDocument = () => {