enjanga-components-library 1.0.4 → 1.0.12
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/README.md +48 -6
- package/dist/index.js +2901 -91
- package/dist/index.mjs +2837 -53
- package/package.json +46 -118
- package/dist/styles.css +0 -1
package/dist/index.js
CHANGED
|
@@ -30,6 +30,847 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
+
// node_modules/is-plain-obj/index.js
|
|
34
|
+
var require_is_plain_obj = __commonJS({
|
|
35
|
+
"node_modules/is-plain-obj/index.js"(exports2, module2) {
|
|
36
|
+
"use strict";
|
|
37
|
+
module2.exports = (value) => {
|
|
38
|
+
if (Object.prototype.toString.call(value) !== "[object Object]") {
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
const prototype = Object.getPrototypeOf(value);
|
|
42
|
+
return prototype === null || prototype === Object.prototype;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
// node_modules/moo/moo.js
|
|
48
|
+
var require_moo = __commonJS({
|
|
49
|
+
"node_modules/moo/moo.js"(exports2, module2) {
|
|
50
|
+
"use strict";
|
|
51
|
+
(function(root, factory) {
|
|
52
|
+
if (typeof define === "function" && define.amd) {
|
|
53
|
+
define([], factory);
|
|
54
|
+
} else if (typeof module2 === "object" && module2.exports) {
|
|
55
|
+
module2.exports = factory();
|
|
56
|
+
} else {
|
|
57
|
+
root.moo = factory();
|
|
58
|
+
}
|
|
59
|
+
})(exports2, function() {
|
|
60
|
+
"use strict";
|
|
61
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
62
|
+
var toString = Object.prototype.toString;
|
|
63
|
+
var hasSticky = typeof new RegExp().sticky === "boolean";
|
|
64
|
+
function isRegExp(o) {
|
|
65
|
+
return o && toString.call(o) === "[object RegExp]";
|
|
66
|
+
}
|
|
67
|
+
function isObject(o) {
|
|
68
|
+
return o && typeof o === "object" && !isRegExp(o) && !Array.isArray(o);
|
|
69
|
+
}
|
|
70
|
+
function reEscape(s) {
|
|
71
|
+
return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
72
|
+
}
|
|
73
|
+
function reGroups(s) {
|
|
74
|
+
var re = new RegExp("|" + s);
|
|
75
|
+
return re.exec("").length - 1;
|
|
76
|
+
}
|
|
77
|
+
function reCapture(s) {
|
|
78
|
+
return "(" + s + ")";
|
|
79
|
+
}
|
|
80
|
+
function reUnion(regexps) {
|
|
81
|
+
if (!regexps.length) return "(?!)";
|
|
82
|
+
var source = regexps.map(function(s) {
|
|
83
|
+
return "(?:" + s + ")";
|
|
84
|
+
}).join("|");
|
|
85
|
+
return "(?:" + source + ")";
|
|
86
|
+
}
|
|
87
|
+
function regexpOrLiteral(obj) {
|
|
88
|
+
if (typeof obj === "string") {
|
|
89
|
+
return "(?:" + reEscape(obj) + ")";
|
|
90
|
+
} else if (isRegExp(obj)) {
|
|
91
|
+
if (obj.ignoreCase) throw new Error("RegExp /i flag not allowed");
|
|
92
|
+
if (obj.global) throw new Error("RegExp /g flag is implied");
|
|
93
|
+
if (obj.sticky) throw new Error("RegExp /y flag is implied");
|
|
94
|
+
if (obj.multiline) throw new Error("RegExp /m flag is implied");
|
|
95
|
+
return obj.source;
|
|
96
|
+
} else {
|
|
97
|
+
throw new Error("Not a pattern: " + obj);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
function pad(s, length) {
|
|
101
|
+
if (s.length > length) {
|
|
102
|
+
return s;
|
|
103
|
+
}
|
|
104
|
+
return Array(length - s.length + 1).join(" ") + s;
|
|
105
|
+
}
|
|
106
|
+
function lastNLines(string, numLines) {
|
|
107
|
+
var position = string.length;
|
|
108
|
+
var lineBreaks = 0;
|
|
109
|
+
while (true) {
|
|
110
|
+
var idx = string.lastIndexOf("\n", position - 1);
|
|
111
|
+
if (idx === -1) {
|
|
112
|
+
break;
|
|
113
|
+
} else {
|
|
114
|
+
lineBreaks++;
|
|
115
|
+
}
|
|
116
|
+
position = idx;
|
|
117
|
+
if (lineBreaks === numLines) {
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
if (position === 0) {
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
var startPosition = lineBreaks < numLines ? 0 : position + 1;
|
|
125
|
+
return string.substring(startPosition).split("\n");
|
|
126
|
+
}
|
|
127
|
+
function objectToRules(object) {
|
|
128
|
+
var keys = Object.getOwnPropertyNames(object);
|
|
129
|
+
var result = [];
|
|
130
|
+
for (var i = 0; i < keys.length; i++) {
|
|
131
|
+
var key = keys[i];
|
|
132
|
+
var thing = object[key];
|
|
133
|
+
var rules = [].concat(thing);
|
|
134
|
+
if (key === "include") {
|
|
135
|
+
for (var j = 0; j < rules.length; j++) {
|
|
136
|
+
result.push({ include: rules[j] });
|
|
137
|
+
}
|
|
138
|
+
continue;
|
|
139
|
+
}
|
|
140
|
+
var match = [];
|
|
141
|
+
rules.forEach(function(rule) {
|
|
142
|
+
if (isObject(rule)) {
|
|
143
|
+
if (match.length) result.push(ruleOptions(key, match));
|
|
144
|
+
result.push(ruleOptions(key, rule));
|
|
145
|
+
match = [];
|
|
146
|
+
} else {
|
|
147
|
+
match.push(rule);
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
if (match.length) result.push(ruleOptions(key, match));
|
|
151
|
+
}
|
|
152
|
+
return result;
|
|
153
|
+
}
|
|
154
|
+
function arrayToRules(array) {
|
|
155
|
+
var result = [];
|
|
156
|
+
for (var i = 0; i < array.length; i++) {
|
|
157
|
+
var obj = array[i];
|
|
158
|
+
if (obj.include) {
|
|
159
|
+
var include = [].concat(obj.include);
|
|
160
|
+
for (var j = 0; j < include.length; j++) {
|
|
161
|
+
result.push({ include: include[j] });
|
|
162
|
+
}
|
|
163
|
+
continue;
|
|
164
|
+
}
|
|
165
|
+
if (!obj.type) {
|
|
166
|
+
throw new Error("Rule has no type: " + JSON.stringify(obj));
|
|
167
|
+
}
|
|
168
|
+
result.push(ruleOptions(obj.type, obj));
|
|
169
|
+
}
|
|
170
|
+
return result;
|
|
171
|
+
}
|
|
172
|
+
function ruleOptions(type, obj) {
|
|
173
|
+
if (!isObject(obj)) {
|
|
174
|
+
obj = { match: obj };
|
|
175
|
+
}
|
|
176
|
+
if (obj.include) {
|
|
177
|
+
throw new Error("Matching rules cannot also include states");
|
|
178
|
+
}
|
|
179
|
+
var options = {
|
|
180
|
+
defaultType: type,
|
|
181
|
+
lineBreaks: !!obj.error || !!obj.fallback,
|
|
182
|
+
pop: false,
|
|
183
|
+
next: null,
|
|
184
|
+
push: null,
|
|
185
|
+
error: false,
|
|
186
|
+
fallback: false,
|
|
187
|
+
value: null,
|
|
188
|
+
type: null,
|
|
189
|
+
shouldThrow: false
|
|
190
|
+
};
|
|
191
|
+
for (var key in obj) {
|
|
192
|
+
if (hasOwnProperty.call(obj, key)) {
|
|
193
|
+
options[key] = obj[key];
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
if (typeof options.type === "string" && type !== options.type) {
|
|
197
|
+
throw new Error("Type transform cannot be a string (type '" + options.type + "' for token '" + type + "')");
|
|
198
|
+
}
|
|
199
|
+
var match = options.match;
|
|
200
|
+
options.match = Array.isArray(match) ? match : match ? [match] : [];
|
|
201
|
+
options.match.sort(function(a, b) {
|
|
202
|
+
return isRegExp(a) && isRegExp(b) ? 0 : isRegExp(b) ? -1 : isRegExp(a) ? 1 : b.length - a.length;
|
|
203
|
+
});
|
|
204
|
+
return options;
|
|
205
|
+
}
|
|
206
|
+
function toRules(spec) {
|
|
207
|
+
return Array.isArray(spec) ? arrayToRules(spec) : objectToRules(spec);
|
|
208
|
+
}
|
|
209
|
+
var defaultErrorRule = ruleOptions("error", { lineBreaks: true, shouldThrow: true });
|
|
210
|
+
function compileRules(rules, hasStates) {
|
|
211
|
+
var errorRule = null;
|
|
212
|
+
var fast = /* @__PURE__ */ Object.create(null);
|
|
213
|
+
var fastAllowed = true;
|
|
214
|
+
var unicodeFlag = null;
|
|
215
|
+
var groups = [];
|
|
216
|
+
var parts = [];
|
|
217
|
+
for (var i = 0; i < rules.length; i++) {
|
|
218
|
+
if (rules[i].fallback) {
|
|
219
|
+
fastAllowed = false;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
for (var i = 0; i < rules.length; i++) {
|
|
223
|
+
var options = rules[i];
|
|
224
|
+
if (options.include) {
|
|
225
|
+
throw new Error("Inheritance is not allowed in stateless lexers");
|
|
226
|
+
}
|
|
227
|
+
if (options.error || options.fallback) {
|
|
228
|
+
if (errorRule) {
|
|
229
|
+
if (!options.fallback === !errorRule.fallback) {
|
|
230
|
+
throw new Error("Multiple " + (options.fallback ? "fallback" : "error") + " rules not allowed (for token '" + options.defaultType + "')");
|
|
231
|
+
} else {
|
|
232
|
+
throw new Error("fallback and error are mutually exclusive (for token '" + options.defaultType + "')");
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
errorRule = options;
|
|
236
|
+
}
|
|
237
|
+
var match = options.match.slice();
|
|
238
|
+
if (fastAllowed) {
|
|
239
|
+
while (match.length && typeof match[0] === "string" && match[0].length === 1) {
|
|
240
|
+
var word = match.shift();
|
|
241
|
+
fast[word.charCodeAt(0)] = options;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
if (options.pop || options.push || options.next) {
|
|
245
|
+
if (!hasStates) {
|
|
246
|
+
throw new Error("State-switching options are not allowed in stateless lexers (for token '" + options.defaultType + "')");
|
|
247
|
+
}
|
|
248
|
+
if (options.fallback) {
|
|
249
|
+
throw new Error("State-switching options are not allowed on fallback tokens (for token '" + options.defaultType + "')");
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
if (match.length === 0) {
|
|
253
|
+
continue;
|
|
254
|
+
}
|
|
255
|
+
fastAllowed = false;
|
|
256
|
+
groups.push(options);
|
|
257
|
+
for (var j = 0; j < match.length; j++) {
|
|
258
|
+
var obj = match[j];
|
|
259
|
+
if (!isRegExp(obj)) {
|
|
260
|
+
continue;
|
|
261
|
+
}
|
|
262
|
+
if (unicodeFlag === null) {
|
|
263
|
+
unicodeFlag = obj.unicode;
|
|
264
|
+
} else if (unicodeFlag !== obj.unicode && options.fallback === false) {
|
|
265
|
+
throw new Error("If one rule is /u then all must be");
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
var pat = reUnion(match.map(regexpOrLiteral));
|
|
269
|
+
var regexp = new RegExp(pat);
|
|
270
|
+
if (regexp.test("")) {
|
|
271
|
+
throw new Error("RegExp matches empty string: " + regexp);
|
|
272
|
+
}
|
|
273
|
+
var groupCount = reGroups(pat);
|
|
274
|
+
if (groupCount > 0) {
|
|
275
|
+
throw new Error("RegExp has capture groups: " + regexp + "\nUse (?: \u2026 ) instead");
|
|
276
|
+
}
|
|
277
|
+
if (!options.lineBreaks && regexp.test("\n")) {
|
|
278
|
+
throw new Error("Rule should declare lineBreaks: " + regexp);
|
|
279
|
+
}
|
|
280
|
+
parts.push(reCapture(pat));
|
|
281
|
+
}
|
|
282
|
+
var fallbackRule = errorRule && errorRule.fallback;
|
|
283
|
+
var flags = hasSticky && !fallbackRule ? "ym" : "gm";
|
|
284
|
+
var suffix = hasSticky || fallbackRule ? "" : "|";
|
|
285
|
+
if (unicodeFlag === true) flags += "u";
|
|
286
|
+
var combined = new RegExp(reUnion(parts) + suffix, flags);
|
|
287
|
+
return { regexp: combined, groups, fast, error: errorRule || defaultErrorRule };
|
|
288
|
+
}
|
|
289
|
+
function compile(rules) {
|
|
290
|
+
var result = compileRules(toRules(rules));
|
|
291
|
+
return new Lexer({ start: result }, "start");
|
|
292
|
+
}
|
|
293
|
+
function checkStateGroup(g, name, map) {
|
|
294
|
+
var state = g && (g.push || g.next);
|
|
295
|
+
if (state && !map[state]) {
|
|
296
|
+
throw new Error("Missing state '" + state + "' (in token '" + g.defaultType + "' of state '" + name + "')");
|
|
297
|
+
}
|
|
298
|
+
if (g && g.pop && +g.pop !== 1) {
|
|
299
|
+
throw new Error("pop must be 1 (in token '" + g.defaultType + "' of state '" + name + "')");
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
function compileStates(states, start) {
|
|
303
|
+
var all = states.$all ? toRules(states.$all) : [];
|
|
304
|
+
delete states.$all;
|
|
305
|
+
var keys = Object.getOwnPropertyNames(states);
|
|
306
|
+
if (!start) start = keys[0];
|
|
307
|
+
var ruleMap = /* @__PURE__ */ Object.create(null);
|
|
308
|
+
for (var i = 0; i < keys.length; i++) {
|
|
309
|
+
var key = keys[i];
|
|
310
|
+
ruleMap[key] = toRules(states[key]).concat(all);
|
|
311
|
+
}
|
|
312
|
+
for (var i = 0; i < keys.length; i++) {
|
|
313
|
+
var key = keys[i];
|
|
314
|
+
var rules = ruleMap[key];
|
|
315
|
+
var included = /* @__PURE__ */ Object.create(null);
|
|
316
|
+
for (var j = 0; j < rules.length; j++) {
|
|
317
|
+
var rule = rules[j];
|
|
318
|
+
if (!rule.include) continue;
|
|
319
|
+
var splice = [j, 1];
|
|
320
|
+
if (rule.include !== key && !included[rule.include]) {
|
|
321
|
+
included[rule.include] = true;
|
|
322
|
+
var newRules = ruleMap[rule.include];
|
|
323
|
+
if (!newRules) {
|
|
324
|
+
throw new Error("Cannot include nonexistent state '" + rule.include + "' (in state '" + key + "')");
|
|
325
|
+
}
|
|
326
|
+
for (var k = 0; k < newRules.length; k++) {
|
|
327
|
+
var newRule = newRules[k];
|
|
328
|
+
if (rules.indexOf(newRule) !== -1) continue;
|
|
329
|
+
splice.push(newRule);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
rules.splice.apply(rules, splice);
|
|
333
|
+
j--;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
var map = /* @__PURE__ */ Object.create(null);
|
|
337
|
+
for (var i = 0; i < keys.length; i++) {
|
|
338
|
+
var key = keys[i];
|
|
339
|
+
map[key] = compileRules(ruleMap[key], true);
|
|
340
|
+
}
|
|
341
|
+
for (var i = 0; i < keys.length; i++) {
|
|
342
|
+
var name = keys[i];
|
|
343
|
+
var state = map[name];
|
|
344
|
+
var groups = state.groups;
|
|
345
|
+
for (var j = 0; j < groups.length; j++) {
|
|
346
|
+
checkStateGroup(groups[j], name, map);
|
|
347
|
+
}
|
|
348
|
+
var fastKeys = Object.getOwnPropertyNames(state.fast);
|
|
349
|
+
for (var j = 0; j < fastKeys.length; j++) {
|
|
350
|
+
checkStateGroup(state.fast[fastKeys[j]], name, map);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
return new Lexer(map, start);
|
|
354
|
+
}
|
|
355
|
+
function keywordTransform(map) {
|
|
356
|
+
var isMap = typeof Map !== "undefined";
|
|
357
|
+
var reverseMap = isMap ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null);
|
|
358
|
+
var types = Object.getOwnPropertyNames(map);
|
|
359
|
+
for (var i = 0; i < types.length; i++) {
|
|
360
|
+
var tokenType = types[i];
|
|
361
|
+
var item = map[tokenType];
|
|
362
|
+
var keywordList = Array.isArray(item) ? item : [item];
|
|
363
|
+
keywordList.forEach(function(keyword) {
|
|
364
|
+
if (typeof keyword !== "string") {
|
|
365
|
+
throw new Error("keyword must be string (in keyword '" + tokenType + "')");
|
|
366
|
+
}
|
|
367
|
+
if (isMap) {
|
|
368
|
+
reverseMap.set(keyword, tokenType);
|
|
369
|
+
} else {
|
|
370
|
+
reverseMap[keyword] = tokenType;
|
|
371
|
+
}
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
return function(k) {
|
|
375
|
+
return isMap ? reverseMap.get(k) : reverseMap[k];
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
var Lexer = function(states, state) {
|
|
379
|
+
this.startState = state;
|
|
380
|
+
this.states = states;
|
|
381
|
+
this.buffer = "";
|
|
382
|
+
this.stack = [];
|
|
383
|
+
this.reset();
|
|
384
|
+
};
|
|
385
|
+
Lexer.prototype.reset = function(data, info) {
|
|
386
|
+
this.buffer = data || "";
|
|
387
|
+
this.index = 0;
|
|
388
|
+
this.line = info ? info.line : 1;
|
|
389
|
+
this.col = info ? info.col : 1;
|
|
390
|
+
this.queuedToken = info ? info.queuedToken : null;
|
|
391
|
+
this.queuedText = info ? info.queuedText : "";
|
|
392
|
+
this.queuedThrow = info ? info.queuedThrow : null;
|
|
393
|
+
this.setState(info ? info.state : this.startState);
|
|
394
|
+
this.stack = info && info.stack ? info.stack.slice() : [];
|
|
395
|
+
return this;
|
|
396
|
+
};
|
|
397
|
+
Lexer.prototype.save = function() {
|
|
398
|
+
return {
|
|
399
|
+
line: this.line,
|
|
400
|
+
col: this.col,
|
|
401
|
+
state: this.state,
|
|
402
|
+
stack: this.stack.slice(),
|
|
403
|
+
queuedToken: this.queuedToken,
|
|
404
|
+
queuedText: this.queuedText,
|
|
405
|
+
queuedThrow: this.queuedThrow
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
Lexer.prototype.setState = function(state) {
|
|
409
|
+
if (!state || this.state === state) return;
|
|
410
|
+
this.state = state;
|
|
411
|
+
var info = this.states[state];
|
|
412
|
+
this.groups = info.groups;
|
|
413
|
+
this.error = info.error;
|
|
414
|
+
this.re = info.regexp;
|
|
415
|
+
this.fast = info.fast;
|
|
416
|
+
};
|
|
417
|
+
Lexer.prototype.popState = function() {
|
|
418
|
+
this.setState(this.stack.pop());
|
|
419
|
+
};
|
|
420
|
+
Lexer.prototype.pushState = function(state) {
|
|
421
|
+
this.stack.push(this.state);
|
|
422
|
+
this.setState(state);
|
|
423
|
+
};
|
|
424
|
+
var eat = hasSticky ? function(re, buffer) {
|
|
425
|
+
return re.exec(buffer);
|
|
426
|
+
} : function(re, buffer) {
|
|
427
|
+
var match = re.exec(buffer);
|
|
428
|
+
if (match[0].length === 0) {
|
|
429
|
+
return null;
|
|
430
|
+
}
|
|
431
|
+
return match;
|
|
432
|
+
};
|
|
433
|
+
Lexer.prototype._getGroup = function(match) {
|
|
434
|
+
var groupCount = this.groups.length;
|
|
435
|
+
for (var i = 0; i < groupCount; i++) {
|
|
436
|
+
if (match[i + 1] !== void 0) {
|
|
437
|
+
return this.groups[i];
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
throw new Error("Cannot find token type for matched text");
|
|
441
|
+
};
|
|
442
|
+
function tokenToString() {
|
|
443
|
+
return this.value;
|
|
444
|
+
}
|
|
445
|
+
Lexer.prototype.next = function() {
|
|
446
|
+
var index = this.index;
|
|
447
|
+
if (this.queuedGroup) {
|
|
448
|
+
var token = this._token(this.queuedGroup, this.queuedText, index);
|
|
449
|
+
this.queuedGroup = null;
|
|
450
|
+
this.queuedText = "";
|
|
451
|
+
return token;
|
|
452
|
+
}
|
|
453
|
+
var buffer = this.buffer;
|
|
454
|
+
if (index === buffer.length) {
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
var group = this.fast[buffer.charCodeAt(index)];
|
|
458
|
+
if (group) {
|
|
459
|
+
return this._token(group, buffer.charAt(index), index);
|
|
460
|
+
}
|
|
461
|
+
var re = this.re;
|
|
462
|
+
re.lastIndex = index;
|
|
463
|
+
var match = eat(re, buffer);
|
|
464
|
+
var error = this.error;
|
|
465
|
+
if (match == null) {
|
|
466
|
+
return this._token(error, buffer.slice(index, buffer.length), index);
|
|
467
|
+
}
|
|
468
|
+
var group = this._getGroup(match);
|
|
469
|
+
var text = match[0];
|
|
470
|
+
if (error.fallback && match.index !== index) {
|
|
471
|
+
this.queuedGroup = group;
|
|
472
|
+
this.queuedText = text;
|
|
473
|
+
return this._token(error, buffer.slice(index, match.index), index);
|
|
474
|
+
}
|
|
475
|
+
return this._token(group, text, index);
|
|
476
|
+
};
|
|
477
|
+
Lexer.prototype._token = function(group, text, offset) {
|
|
478
|
+
var lineBreaks = 0;
|
|
479
|
+
if (group.lineBreaks) {
|
|
480
|
+
var matchNL = /\n/g;
|
|
481
|
+
var nl = 1;
|
|
482
|
+
if (text === "\n") {
|
|
483
|
+
lineBreaks = 1;
|
|
484
|
+
} else {
|
|
485
|
+
while (matchNL.exec(text)) {
|
|
486
|
+
lineBreaks++;
|
|
487
|
+
nl = matchNL.lastIndex;
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
var token = {
|
|
492
|
+
type: typeof group.type === "function" && group.type(text) || group.defaultType,
|
|
493
|
+
value: typeof group.value === "function" ? group.value(text) : text,
|
|
494
|
+
text,
|
|
495
|
+
toString: tokenToString,
|
|
496
|
+
offset,
|
|
497
|
+
lineBreaks,
|
|
498
|
+
line: this.line,
|
|
499
|
+
col: this.col
|
|
500
|
+
};
|
|
501
|
+
var size = text.length;
|
|
502
|
+
this.index += size;
|
|
503
|
+
this.line += lineBreaks;
|
|
504
|
+
if (lineBreaks !== 0) {
|
|
505
|
+
this.col = size - nl + 1;
|
|
506
|
+
} else {
|
|
507
|
+
this.col += size;
|
|
508
|
+
}
|
|
509
|
+
if (group.shouldThrow) {
|
|
510
|
+
var err = new Error(this.formatError(token, "invalid syntax"));
|
|
511
|
+
throw err;
|
|
512
|
+
}
|
|
513
|
+
if (group.pop) this.popState();
|
|
514
|
+
else if (group.push) this.pushState(group.push);
|
|
515
|
+
else if (group.next) this.setState(group.next);
|
|
516
|
+
return token;
|
|
517
|
+
};
|
|
518
|
+
if (typeof Symbol !== "undefined" && Symbol.iterator) {
|
|
519
|
+
var LexerIterator = function(lexer) {
|
|
520
|
+
this.lexer = lexer;
|
|
521
|
+
};
|
|
522
|
+
LexerIterator.prototype.next = function() {
|
|
523
|
+
var token = this.lexer.next();
|
|
524
|
+
return { value: token, done: !token };
|
|
525
|
+
};
|
|
526
|
+
LexerIterator.prototype[Symbol.iterator] = function() {
|
|
527
|
+
return this;
|
|
528
|
+
};
|
|
529
|
+
Lexer.prototype[Symbol.iterator] = function() {
|
|
530
|
+
return new LexerIterator(this);
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
Lexer.prototype.formatError = function(token, message) {
|
|
534
|
+
if (token == null) {
|
|
535
|
+
var text = this.buffer.slice(this.index);
|
|
536
|
+
var token = {
|
|
537
|
+
text,
|
|
538
|
+
offset: this.index,
|
|
539
|
+
lineBreaks: text.indexOf("\n") === -1 ? 0 : 1,
|
|
540
|
+
line: this.line,
|
|
541
|
+
col: this.col
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
var numLinesAround = 2;
|
|
545
|
+
var firstDisplayedLine = Math.max(token.line - numLinesAround, 1);
|
|
546
|
+
var lastDisplayedLine = token.line + numLinesAround;
|
|
547
|
+
var lastLineDigits = String(lastDisplayedLine).length;
|
|
548
|
+
var displayedLines = lastNLines(
|
|
549
|
+
this.buffer,
|
|
550
|
+
this.line - token.line + numLinesAround + 1
|
|
551
|
+
).slice(0, 5);
|
|
552
|
+
var errorLines = [];
|
|
553
|
+
errorLines.push(message + " at line " + token.line + " col " + token.col + ":");
|
|
554
|
+
errorLines.push("");
|
|
555
|
+
for (var i = 0; i < displayedLines.length; i++) {
|
|
556
|
+
var line = displayedLines[i];
|
|
557
|
+
var lineNo = firstDisplayedLine + i;
|
|
558
|
+
errorLines.push(pad(String(lineNo), lastLineDigits) + " " + line);
|
|
559
|
+
if (lineNo === token.line) {
|
|
560
|
+
errorLines.push(pad("", lastLineDigits + token.col + 1) + "^");
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
return errorLines.join("\n");
|
|
564
|
+
};
|
|
565
|
+
Lexer.prototype.clone = function() {
|
|
566
|
+
return new Lexer(this.states, this.state);
|
|
567
|
+
};
|
|
568
|
+
Lexer.prototype.has = function(tokenType) {
|
|
569
|
+
return true;
|
|
570
|
+
};
|
|
571
|
+
return {
|
|
572
|
+
compile,
|
|
573
|
+
states: compileStates,
|
|
574
|
+
error: Object.freeze({ error: true }),
|
|
575
|
+
fallback: Object.freeze({ fallback: true }),
|
|
576
|
+
keywords: keywordTransform
|
|
577
|
+
};
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
|
|
582
|
+
// node_modules/@messageformat/parser/lib/lexer.js
|
|
583
|
+
var require_lexer = __commonJS({
|
|
584
|
+
"node_modules/@messageformat/parser/lib/lexer.js"(exports2) {
|
|
585
|
+
"use strict";
|
|
586
|
+
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
587
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
588
|
+
};
|
|
589
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
590
|
+
exports2.lexer = exports2.states = void 0;
|
|
591
|
+
var moo_1 = __importDefault(require_moo());
|
|
592
|
+
exports2.states = {
|
|
593
|
+
body: {
|
|
594
|
+
doubleapos: { match: "''", value: () => "'" },
|
|
595
|
+
quoted: {
|
|
596
|
+
lineBreaks: true,
|
|
597
|
+
match: /'[{}#](?:[^']|'')*'(?!')/u,
|
|
598
|
+
value: (src) => src.slice(1, -1).replace(/''/g, "'")
|
|
599
|
+
},
|
|
600
|
+
argument: {
|
|
601
|
+
lineBreaks: true,
|
|
602
|
+
match: /\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,
|
|
603
|
+
push: "arg",
|
|
604
|
+
value: (src) => src.substring(1).trim()
|
|
605
|
+
},
|
|
606
|
+
octothorpe: "#",
|
|
607
|
+
end: { match: "}", pop: 1 },
|
|
608
|
+
content: { lineBreaks: true, match: /[^][^{}#']*/u }
|
|
609
|
+
},
|
|
610
|
+
arg: {
|
|
611
|
+
select: {
|
|
612
|
+
lineBreaks: true,
|
|
613
|
+
match: /,\s*(?:plural|select|selectordinal)\s*,\s*/u,
|
|
614
|
+
next: "select",
|
|
615
|
+
value: (src) => src.split(",")[1].trim()
|
|
616
|
+
},
|
|
617
|
+
"func-args": {
|
|
618
|
+
lineBreaks: true,
|
|
619
|
+
match: /,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,
|
|
620
|
+
next: "body",
|
|
621
|
+
value: (src) => src.split(",")[1].trim()
|
|
622
|
+
},
|
|
623
|
+
"func-simple": {
|
|
624
|
+
lineBreaks: true,
|
|
625
|
+
match: /,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,
|
|
626
|
+
value: (src) => src.substring(1).trim()
|
|
627
|
+
},
|
|
628
|
+
end: { match: "}", pop: 1 }
|
|
629
|
+
},
|
|
630
|
+
select: {
|
|
631
|
+
offset: {
|
|
632
|
+
lineBreaks: true,
|
|
633
|
+
match: /\s*offset\s*:\s*\d+\s*/u,
|
|
634
|
+
value: (src) => src.split(":")[1].trim()
|
|
635
|
+
},
|
|
636
|
+
case: {
|
|
637
|
+
lineBreaks: true,
|
|
638
|
+
match: /\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,
|
|
639
|
+
push: "body",
|
|
640
|
+
value: (src) => src.substring(0, src.indexOf("{")).trim()
|
|
641
|
+
},
|
|
642
|
+
end: { match: /\s*\}/u, pop: 1 }
|
|
643
|
+
}
|
|
644
|
+
};
|
|
645
|
+
exports2.lexer = moo_1.default.states(exports2.states);
|
|
646
|
+
}
|
|
647
|
+
});
|
|
648
|
+
|
|
649
|
+
// node_modules/@messageformat/parser/lib/parser.js
|
|
650
|
+
var require_parser = __commonJS({
|
|
651
|
+
"node_modules/@messageformat/parser/lib/parser.js"(exports2) {
|
|
652
|
+
"use strict";
|
|
653
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
654
|
+
exports2.ParseError = void 0;
|
|
655
|
+
exports2.parse = parse2;
|
|
656
|
+
var lexer_js_1 = require_lexer();
|
|
657
|
+
var getContext = (lt) => ({
|
|
658
|
+
offset: lt.offset,
|
|
659
|
+
line: lt.line,
|
|
660
|
+
col: lt.col,
|
|
661
|
+
text: lt.text,
|
|
662
|
+
lineBreaks: lt.lineBreaks
|
|
663
|
+
});
|
|
664
|
+
var isSelectType = (type) => type === "plural" || type === "select" || type === "selectordinal";
|
|
665
|
+
function strictArgStyleParam(lt, param) {
|
|
666
|
+
let value = "";
|
|
667
|
+
let text = "";
|
|
668
|
+
for (const p of param) {
|
|
669
|
+
const pText = p.ctx.text;
|
|
670
|
+
text += pText;
|
|
671
|
+
switch (p.type) {
|
|
672
|
+
case "content":
|
|
673
|
+
value += p.value;
|
|
674
|
+
break;
|
|
675
|
+
case "argument":
|
|
676
|
+
case "function":
|
|
677
|
+
case "octothorpe":
|
|
678
|
+
value += pText;
|
|
679
|
+
break;
|
|
680
|
+
default:
|
|
681
|
+
throw new ParseError(lt, `Unsupported part in strict mode function arg style: ${pText}`);
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
const c = {
|
|
685
|
+
type: "content",
|
|
686
|
+
value: value.trim(),
|
|
687
|
+
ctx: Object.assign({}, param[0].ctx, { text })
|
|
688
|
+
};
|
|
689
|
+
return [c];
|
|
690
|
+
}
|
|
691
|
+
var strictArgTypes = [
|
|
692
|
+
"number",
|
|
693
|
+
"date",
|
|
694
|
+
"time",
|
|
695
|
+
"spellout",
|
|
696
|
+
"ordinal",
|
|
697
|
+
"duration"
|
|
698
|
+
];
|
|
699
|
+
var defaultPluralKeys = ["zero", "one", "two", "few", "many", "other"];
|
|
700
|
+
var ParseError = class extends Error {
|
|
701
|
+
/** @internal */
|
|
702
|
+
constructor(lt, msg) {
|
|
703
|
+
super(lexer_js_1.lexer.formatError(lt, msg));
|
|
704
|
+
}
|
|
705
|
+
};
|
|
706
|
+
exports2.ParseError = ParseError;
|
|
707
|
+
var Parser = class {
|
|
708
|
+
constructor(src, opt) {
|
|
709
|
+
var _a, _b, _c, _d;
|
|
710
|
+
this.lexer = lexer_js_1.lexer.reset(src);
|
|
711
|
+
this.cardinalKeys = (_a = opt === null || opt === void 0 ? void 0 : opt.cardinal) !== null && _a !== void 0 ? _a : defaultPluralKeys;
|
|
712
|
+
this.ordinalKeys = (_b = opt === null || opt === void 0 ? void 0 : opt.ordinal) !== null && _b !== void 0 ? _b : defaultPluralKeys;
|
|
713
|
+
this.strict = (_c = opt === null || opt === void 0 ? void 0 : opt.strict) !== null && _c !== void 0 ? _c : false;
|
|
714
|
+
this.strictPluralKeys = (_d = opt === null || opt === void 0 ? void 0 : opt.strictPluralKeys) !== null && _d !== void 0 ? _d : true;
|
|
715
|
+
}
|
|
716
|
+
parse() {
|
|
717
|
+
return this.parseBody(false, true);
|
|
718
|
+
}
|
|
719
|
+
checkSelectKey(lt, type, key) {
|
|
720
|
+
if (key[0] === "=") {
|
|
721
|
+
if (type === "select") {
|
|
722
|
+
throw new ParseError(lt, `The case ${key} is not valid with select`);
|
|
723
|
+
}
|
|
724
|
+
} else if (type !== "select") {
|
|
725
|
+
const keys = type === "plural" ? this.cardinalKeys : this.ordinalKeys;
|
|
726
|
+
if (this.strictPluralKeys && keys.length > 0 && !keys.includes(key)) {
|
|
727
|
+
const msg = `The ${type} case ${key} is not valid in this locale`;
|
|
728
|
+
throw new ParseError(lt, msg);
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
parseSelect({ value: arg }, inPlural, ctx, type) {
|
|
733
|
+
const sel = { type, arg, cases: [], ctx };
|
|
734
|
+
if (type === "plural" || type === "selectordinal")
|
|
735
|
+
inPlural = true;
|
|
736
|
+
else if (this.strict)
|
|
737
|
+
inPlural = false;
|
|
738
|
+
for (const lt of this.lexer) {
|
|
739
|
+
switch (lt.type) {
|
|
740
|
+
case "offset":
|
|
741
|
+
if (type === "select") {
|
|
742
|
+
throw new ParseError(lt, "Unexpected plural offset for select");
|
|
743
|
+
}
|
|
744
|
+
if (sel.cases.length > 0) {
|
|
745
|
+
throw new ParseError(lt, "Plural offset must be set before cases");
|
|
746
|
+
}
|
|
747
|
+
sel.pluralOffset = Number(lt.value);
|
|
748
|
+
ctx.text += lt.text;
|
|
749
|
+
ctx.lineBreaks += lt.lineBreaks;
|
|
750
|
+
break;
|
|
751
|
+
case "case": {
|
|
752
|
+
this.checkSelectKey(lt, type, lt.value);
|
|
753
|
+
sel.cases.push({
|
|
754
|
+
key: lt.value,
|
|
755
|
+
tokens: this.parseBody(inPlural),
|
|
756
|
+
ctx: getContext(lt)
|
|
757
|
+
});
|
|
758
|
+
break;
|
|
759
|
+
}
|
|
760
|
+
case "end":
|
|
761
|
+
return sel;
|
|
762
|
+
/* istanbul ignore next: never happens */
|
|
763
|
+
default:
|
|
764
|
+
throw new ParseError(lt, `Unexpected lexer token: ${lt.type}`);
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
throw new ParseError(null, "Unexpected message end");
|
|
768
|
+
}
|
|
769
|
+
parseArgToken(lt, inPlural) {
|
|
770
|
+
const ctx = getContext(lt);
|
|
771
|
+
const argType = this.lexer.next();
|
|
772
|
+
if (!argType)
|
|
773
|
+
throw new ParseError(null, "Unexpected message end");
|
|
774
|
+
ctx.text += argType.text;
|
|
775
|
+
ctx.lineBreaks += argType.lineBreaks;
|
|
776
|
+
if (this.strict && (argType.type === "func-simple" || argType.type === "func-args") && !strictArgTypes.includes(argType.value)) {
|
|
777
|
+
const msg = `Invalid strict mode function arg type: ${argType.value}`;
|
|
778
|
+
throw new ParseError(lt, msg);
|
|
779
|
+
}
|
|
780
|
+
switch (argType.type) {
|
|
781
|
+
case "end":
|
|
782
|
+
return { type: "argument", arg: lt.value, ctx };
|
|
783
|
+
case "func-simple": {
|
|
784
|
+
const end = this.lexer.next();
|
|
785
|
+
if (!end)
|
|
786
|
+
throw new ParseError(null, "Unexpected message end");
|
|
787
|
+
if (end.type !== "end") {
|
|
788
|
+
throw new ParseError(end, `Unexpected lexer token: ${end.type}`);
|
|
789
|
+
}
|
|
790
|
+
ctx.text += end.text;
|
|
791
|
+
if (isSelectType(argType.value.toLowerCase())) {
|
|
792
|
+
throw new ParseError(argType, `Invalid type identifier: ${argType.value}`);
|
|
793
|
+
}
|
|
794
|
+
return {
|
|
795
|
+
type: "function",
|
|
796
|
+
arg: lt.value,
|
|
797
|
+
key: argType.value,
|
|
798
|
+
ctx
|
|
799
|
+
};
|
|
800
|
+
}
|
|
801
|
+
case "func-args": {
|
|
802
|
+
if (isSelectType(argType.value.toLowerCase())) {
|
|
803
|
+
const msg = `Invalid type identifier: ${argType.value}`;
|
|
804
|
+
throw new ParseError(argType, msg);
|
|
805
|
+
}
|
|
806
|
+
let param = this.parseBody(this.strict ? false : inPlural);
|
|
807
|
+
if (this.strict && param.length > 0) {
|
|
808
|
+
param = strictArgStyleParam(lt, param);
|
|
809
|
+
}
|
|
810
|
+
return {
|
|
811
|
+
type: "function",
|
|
812
|
+
arg: lt.value,
|
|
813
|
+
key: argType.value,
|
|
814
|
+
param,
|
|
815
|
+
ctx
|
|
816
|
+
};
|
|
817
|
+
}
|
|
818
|
+
case "select":
|
|
819
|
+
if (isSelectType(argType.value)) {
|
|
820
|
+
return this.parseSelect(lt, inPlural, ctx, argType.value);
|
|
821
|
+
} else {
|
|
822
|
+
throw new ParseError(argType, `Unexpected select type ${argType.value}`);
|
|
823
|
+
}
|
|
824
|
+
/* istanbul ignore next: never happens */
|
|
825
|
+
default:
|
|
826
|
+
throw new ParseError(argType, `Unexpected lexer token: ${argType.type}`);
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
parseBody(inPlural, atRoot) {
|
|
830
|
+
const tokens = [];
|
|
831
|
+
let content = null;
|
|
832
|
+
for (const lt of this.lexer) {
|
|
833
|
+
if (lt.type === "argument") {
|
|
834
|
+
if (content)
|
|
835
|
+
content = null;
|
|
836
|
+
tokens.push(this.parseArgToken(lt, inPlural));
|
|
837
|
+
} else if (lt.type === "octothorpe" && inPlural) {
|
|
838
|
+
if (content)
|
|
839
|
+
content = null;
|
|
840
|
+
tokens.push({ type: "octothorpe", ctx: getContext(lt) });
|
|
841
|
+
} else if (lt.type === "end" && !atRoot) {
|
|
842
|
+
return tokens;
|
|
843
|
+
} else {
|
|
844
|
+
let value = lt.value;
|
|
845
|
+
if (!inPlural && lt.type === "quoted" && value[0] === "#") {
|
|
846
|
+
if (value.includes("{")) {
|
|
847
|
+
const errMsg = `Unsupported escape pattern: ${value}`;
|
|
848
|
+
throw new ParseError(lt, errMsg);
|
|
849
|
+
}
|
|
850
|
+
value = lt.text;
|
|
851
|
+
}
|
|
852
|
+
if (content) {
|
|
853
|
+
content.value += value;
|
|
854
|
+
content.ctx.text += lt.text;
|
|
855
|
+
content.ctx.lineBreaks += lt.lineBreaks;
|
|
856
|
+
} else {
|
|
857
|
+
content = { type: "content", value, ctx: getContext(lt) };
|
|
858
|
+
tokens.push(content);
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
if (atRoot)
|
|
863
|
+
return tokens;
|
|
864
|
+
throw new ParseError(null, "Unexpected message end");
|
|
865
|
+
}
|
|
866
|
+
};
|
|
867
|
+
function parse2(src, options = {}) {
|
|
868
|
+
const parser = new Parser(src, options);
|
|
869
|
+
return parser.parse();
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
});
|
|
873
|
+
|
|
33
874
|
// node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js
|
|
34
875
|
var require_react_is_production_min = __commonJS({
|
|
35
876
|
"node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"(exports2) {
|
|
@@ -549,13 +1390,13 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
|
549
1390
|
err.name = "Invariant Violation";
|
|
550
1391
|
throw err;
|
|
551
1392
|
} else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
|
|
552
|
-
var
|
|
553
|
-
if (!manualPropTypeCallCache[
|
|
1393
|
+
var cacheKey2 = componentName + ":" + propName;
|
|
1394
|
+
if (!manualPropTypeCallCache[cacheKey2] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
554
1395
|
manualPropTypeWarningCount < 3) {
|
|
555
1396
|
printWarning(
|
|
556
1397
|
"You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
557
1398
|
);
|
|
558
|
-
manualPropTypeCallCache[
|
|
1399
|
+
manualPropTypeCallCache[cacheKey2] = true;
|
|
559
1400
|
manualPropTypeWarningCount++;
|
|
560
1401
|
}
|
|
561
1402
|
}
|
|
@@ -999,7 +1840,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
999
1840
|
|
|
1000
1841
|
// src/components/AppHeader/AppHeader.tsx
|
|
1001
1842
|
var import_react = require("@carbon/react");
|
|
1002
|
-
var
|
|
1843
|
+
var import_next = require("enjanga-core-setup/next");
|
|
1003
1844
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
1004
1845
|
var AppHeader = ({
|
|
1005
1846
|
brand,
|
|
@@ -1022,7 +1863,7 @@ var AppHeader = ({
|
|
|
1022
1863
|
isActive: isSideNavExpanded
|
|
1023
1864
|
}
|
|
1024
1865
|
),
|
|
1025
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.HeaderName, { prefix: "", as:
|
|
1866
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.HeaderName, { prefix: "", as: import_next.Link, href: brandRoute, passHref: true, children: brand }),
|
|
1026
1867
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.HeaderNavigation, { "aria-label": brandLabel, children: navigation }),
|
|
1027
1868
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1028
1869
|
import_react.SideNav,
|
|
@@ -1112,42 +1953,1711 @@ var BrandLogo = ({
|
|
|
1112
1953
|
className,
|
|
1113
1954
|
style,
|
|
1114
1955
|
value,
|
|
1115
|
-
role
|
|
1956
|
+
role
|
|
1957
|
+
}
|
|
1958
|
+
);
|
|
1959
|
+
}
|
|
1960
|
+
if (import_react2.default.isValidElement(value)) {
|
|
1961
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
1962
|
+
BrandLogoComponents,
|
|
1963
|
+
{
|
|
1964
|
+
className,
|
|
1965
|
+
style,
|
|
1966
|
+
value,
|
|
1967
|
+
alt,
|
|
1968
|
+
role
|
|
1969
|
+
}
|
|
1970
|
+
);
|
|
1971
|
+
}
|
|
1972
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
1973
|
+
BrandLogoFallback,
|
|
1974
|
+
{
|
|
1975
|
+
className,
|
|
1976
|
+
style,
|
|
1977
|
+
value,
|
|
1978
|
+
role
|
|
1979
|
+
}
|
|
1980
|
+
);
|
|
1981
|
+
};
|
|
1982
|
+
var BrandLogo_default = BrandLogo;
|
|
1983
|
+
|
|
1984
|
+
// src/components/Banner/Banner.tsx
|
|
1985
|
+
var import_clsx5 = __toESM(require("clsx"));
|
|
1986
|
+
|
|
1987
|
+
// src/components/FeatureText/FeatureText.tsx
|
|
1988
|
+
var import_clsx4 = __toESM(require("clsx"));
|
|
1989
|
+
|
|
1990
|
+
// node_modules/@contentful/rich-text-types/dist/esm/blocks.js
|
|
1991
|
+
var BLOCKS = /* @__PURE__ */ (function(BLOCKS2) {
|
|
1992
|
+
BLOCKS2["DOCUMENT"] = "document";
|
|
1993
|
+
BLOCKS2["PARAGRAPH"] = "paragraph";
|
|
1994
|
+
BLOCKS2["HEADING_1"] = "heading-1";
|
|
1995
|
+
BLOCKS2["HEADING_2"] = "heading-2";
|
|
1996
|
+
BLOCKS2["HEADING_3"] = "heading-3";
|
|
1997
|
+
BLOCKS2["HEADING_4"] = "heading-4";
|
|
1998
|
+
BLOCKS2["HEADING_5"] = "heading-5";
|
|
1999
|
+
BLOCKS2["HEADING_6"] = "heading-6";
|
|
2000
|
+
BLOCKS2["OL_LIST"] = "ordered-list";
|
|
2001
|
+
BLOCKS2["UL_LIST"] = "unordered-list";
|
|
2002
|
+
BLOCKS2["LIST_ITEM"] = "list-item";
|
|
2003
|
+
BLOCKS2["HR"] = "hr";
|
|
2004
|
+
BLOCKS2["QUOTE"] = "blockquote";
|
|
2005
|
+
BLOCKS2["EMBEDDED_ENTRY"] = "embedded-entry-block";
|
|
2006
|
+
BLOCKS2["EMBEDDED_ASSET"] = "embedded-asset-block";
|
|
2007
|
+
BLOCKS2["EMBEDDED_RESOURCE"] = "embedded-resource-block";
|
|
2008
|
+
BLOCKS2["TABLE"] = "table";
|
|
2009
|
+
BLOCKS2["TABLE_ROW"] = "table-row";
|
|
2010
|
+
BLOCKS2["TABLE_CELL"] = "table-cell";
|
|
2011
|
+
BLOCKS2["TABLE_HEADER_CELL"] = "table-header-cell";
|
|
2012
|
+
return BLOCKS2;
|
|
2013
|
+
})({});
|
|
2014
|
+
|
|
2015
|
+
// node_modules/@contentful/rich-text-types/dist/esm/inlines.js
|
|
2016
|
+
var INLINES = /* @__PURE__ */ (function(INLINES2) {
|
|
2017
|
+
INLINES2["ASSET_HYPERLINK"] = "asset-hyperlink";
|
|
2018
|
+
INLINES2["EMBEDDED_ENTRY"] = "embedded-entry-inline";
|
|
2019
|
+
INLINES2["EMBEDDED_RESOURCE"] = "embedded-resource-inline";
|
|
2020
|
+
INLINES2["ENTRY_HYPERLINK"] = "entry-hyperlink";
|
|
2021
|
+
INLINES2["HYPERLINK"] = "hyperlink";
|
|
2022
|
+
INLINES2["RESOURCE_HYPERLINK"] = "resource-hyperlink";
|
|
2023
|
+
return INLINES2;
|
|
2024
|
+
})({});
|
|
2025
|
+
|
|
2026
|
+
// node_modules/@contentful/rich-text-types/dist/esm/marks.js
|
|
2027
|
+
var MARKS = /* @__PURE__ */ (function(MARKS2) {
|
|
2028
|
+
MARKS2["BOLD"] = "bold";
|
|
2029
|
+
MARKS2["ITALIC"] = "italic";
|
|
2030
|
+
MARKS2["UNDERLINE"] = "underline";
|
|
2031
|
+
MARKS2["CODE"] = "code";
|
|
2032
|
+
MARKS2["SUPERSCRIPT"] = "superscript";
|
|
2033
|
+
MARKS2["SUBSCRIPT"] = "subscript";
|
|
2034
|
+
MARKS2["STRIKETHROUGH"] = "strikethrough";
|
|
2035
|
+
return MARKS2;
|
|
2036
|
+
})({});
|
|
2037
|
+
|
|
2038
|
+
// node_modules/@contentful/rich-text-types/dist/esm/schemaConstraints.js
|
|
2039
|
+
function _array_like_to_array(arr, len) {
|
|
2040
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
2041
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
2042
|
+
return arr2;
|
|
2043
|
+
}
|
|
2044
|
+
function _array_without_holes(arr) {
|
|
2045
|
+
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
2046
|
+
}
|
|
2047
|
+
function _define_property(obj, key, value) {
|
|
2048
|
+
if (key in obj) {
|
|
2049
|
+
Object.defineProperty(obj, key, {
|
|
2050
|
+
value,
|
|
2051
|
+
enumerable: true,
|
|
2052
|
+
configurable: true,
|
|
2053
|
+
writable: true
|
|
2054
|
+
});
|
|
2055
|
+
} else {
|
|
2056
|
+
obj[key] = value;
|
|
2057
|
+
}
|
|
2058
|
+
return obj;
|
|
2059
|
+
}
|
|
2060
|
+
function _iterable_to_array(iter) {
|
|
2061
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
2062
|
+
}
|
|
2063
|
+
function _non_iterable_spread() {
|
|
2064
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2065
|
+
}
|
|
2066
|
+
function _to_consumable_array(arr) {
|
|
2067
|
+
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
2068
|
+
}
|
|
2069
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
2070
|
+
if (!o) return;
|
|
2071
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
2072
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2073
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2074
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2075
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
2076
|
+
}
|
|
2077
|
+
var TOP_LEVEL_BLOCKS = [
|
|
2078
|
+
BLOCKS.PARAGRAPH,
|
|
2079
|
+
BLOCKS.HEADING_1,
|
|
2080
|
+
BLOCKS.HEADING_2,
|
|
2081
|
+
BLOCKS.HEADING_3,
|
|
2082
|
+
BLOCKS.HEADING_4,
|
|
2083
|
+
BLOCKS.HEADING_5,
|
|
2084
|
+
BLOCKS.HEADING_6,
|
|
2085
|
+
BLOCKS.OL_LIST,
|
|
2086
|
+
BLOCKS.UL_LIST,
|
|
2087
|
+
BLOCKS.HR,
|
|
2088
|
+
BLOCKS.QUOTE,
|
|
2089
|
+
BLOCKS.EMBEDDED_ENTRY,
|
|
2090
|
+
BLOCKS.EMBEDDED_ASSET,
|
|
2091
|
+
BLOCKS.EMBEDDED_RESOURCE,
|
|
2092
|
+
BLOCKS.TABLE
|
|
2093
|
+
];
|
|
2094
|
+
var LIST_ITEM_BLOCKS = [
|
|
2095
|
+
BLOCKS.PARAGRAPH,
|
|
2096
|
+
BLOCKS.HEADING_1,
|
|
2097
|
+
BLOCKS.HEADING_2,
|
|
2098
|
+
BLOCKS.HEADING_3,
|
|
2099
|
+
BLOCKS.HEADING_4,
|
|
2100
|
+
BLOCKS.HEADING_5,
|
|
2101
|
+
BLOCKS.HEADING_6,
|
|
2102
|
+
BLOCKS.OL_LIST,
|
|
2103
|
+
BLOCKS.UL_LIST,
|
|
2104
|
+
BLOCKS.HR,
|
|
2105
|
+
BLOCKS.QUOTE,
|
|
2106
|
+
BLOCKS.EMBEDDED_ENTRY,
|
|
2107
|
+
BLOCKS.EMBEDDED_ASSET,
|
|
2108
|
+
BLOCKS.EMBEDDED_RESOURCE
|
|
2109
|
+
];
|
|
2110
|
+
var TABLE_BLOCKS = [
|
|
2111
|
+
BLOCKS.TABLE,
|
|
2112
|
+
BLOCKS.TABLE_ROW,
|
|
2113
|
+
BLOCKS.TABLE_CELL,
|
|
2114
|
+
BLOCKS.TABLE_HEADER_CELL
|
|
2115
|
+
];
|
|
2116
|
+
var VOID_BLOCKS = [
|
|
2117
|
+
BLOCKS.HR,
|
|
2118
|
+
BLOCKS.EMBEDDED_ENTRY,
|
|
2119
|
+
BLOCKS.EMBEDDED_ASSET,
|
|
2120
|
+
BLOCKS.EMBEDDED_RESOURCE
|
|
2121
|
+
];
|
|
2122
|
+
var _obj;
|
|
2123
|
+
var CONTAINERS = (_obj = {}, _define_property(_obj, BLOCKS.OL_LIST, [
|
|
2124
|
+
BLOCKS.LIST_ITEM
|
|
2125
|
+
]), _define_property(_obj, BLOCKS.UL_LIST, [
|
|
2126
|
+
BLOCKS.LIST_ITEM
|
|
2127
|
+
]), _define_property(_obj, BLOCKS.LIST_ITEM, LIST_ITEM_BLOCKS), _define_property(_obj, BLOCKS.QUOTE, [
|
|
2128
|
+
BLOCKS.PARAGRAPH
|
|
2129
|
+
]), _define_property(_obj, BLOCKS.TABLE, [
|
|
2130
|
+
BLOCKS.TABLE_ROW
|
|
2131
|
+
]), _define_property(_obj, BLOCKS.TABLE_ROW, [
|
|
2132
|
+
BLOCKS.TABLE_CELL,
|
|
2133
|
+
BLOCKS.TABLE_HEADER_CELL
|
|
2134
|
+
]), _define_property(_obj, BLOCKS.TABLE_CELL, [
|
|
2135
|
+
BLOCKS.PARAGRAPH,
|
|
2136
|
+
BLOCKS.UL_LIST,
|
|
2137
|
+
BLOCKS.OL_LIST
|
|
2138
|
+
]), _define_property(_obj, BLOCKS.TABLE_HEADER_CELL, [
|
|
2139
|
+
BLOCKS.PARAGRAPH
|
|
2140
|
+
]), _obj);
|
|
2141
|
+
var HEADINGS = [
|
|
2142
|
+
BLOCKS.HEADING_1,
|
|
2143
|
+
BLOCKS.HEADING_2,
|
|
2144
|
+
BLOCKS.HEADING_3,
|
|
2145
|
+
BLOCKS.HEADING_4,
|
|
2146
|
+
BLOCKS.HEADING_5,
|
|
2147
|
+
BLOCKS.HEADING_6
|
|
2148
|
+
];
|
|
2149
|
+
var TEXT_CONTAINERS = [
|
|
2150
|
+
BLOCKS.PARAGRAPH
|
|
2151
|
+
].concat(_to_consumable_array(HEADINGS));
|
|
2152
|
+
var V1_NODE_TYPES = [
|
|
2153
|
+
BLOCKS.DOCUMENT,
|
|
2154
|
+
BLOCKS.PARAGRAPH,
|
|
2155
|
+
BLOCKS.HEADING_1,
|
|
2156
|
+
BLOCKS.HEADING_2,
|
|
2157
|
+
BLOCKS.HEADING_3,
|
|
2158
|
+
BLOCKS.HEADING_4,
|
|
2159
|
+
BLOCKS.HEADING_5,
|
|
2160
|
+
BLOCKS.HEADING_6,
|
|
2161
|
+
BLOCKS.OL_LIST,
|
|
2162
|
+
BLOCKS.UL_LIST,
|
|
2163
|
+
BLOCKS.LIST_ITEM,
|
|
2164
|
+
BLOCKS.HR,
|
|
2165
|
+
BLOCKS.QUOTE,
|
|
2166
|
+
BLOCKS.EMBEDDED_ENTRY,
|
|
2167
|
+
BLOCKS.EMBEDDED_ASSET,
|
|
2168
|
+
INLINES.HYPERLINK,
|
|
2169
|
+
INLINES.ENTRY_HYPERLINK,
|
|
2170
|
+
INLINES.ASSET_HYPERLINK,
|
|
2171
|
+
INLINES.EMBEDDED_ENTRY,
|
|
2172
|
+
"text"
|
|
2173
|
+
];
|
|
2174
|
+
var V1_MARKS = [
|
|
2175
|
+
MARKS.BOLD,
|
|
2176
|
+
MARKS.CODE,
|
|
2177
|
+
MARKS.ITALIC,
|
|
2178
|
+
MARKS.UNDERLINE
|
|
2179
|
+
];
|
|
2180
|
+
|
|
2181
|
+
// node_modules/@contentful/rich-text-types/dist/esm/emptyDocument.js
|
|
2182
|
+
var EMPTY_DOCUMENT = {
|
|
2183
|
+
nodeType: BLOCKS.DOCUMENT,
|
|
2184
|
+
data: {},
|
|
2185
|
+
content: [
|
|
2186
|
+
{
|
|
2187
|
+
nodeType: BLOCKS.PARAGRAPH,
|
|
2188
|
+
data: {},
|
|
2189
|
+
content: [
|
|
2190
|
+
{
|
|
2191
|
+
nodeType: "text",
|
|
2192
|
+
value: "",
|
|
2193
|
+
marks: [],
|
|
2194
|
+
data: {}
|
|
2195
|
+
}
|
|
2196
|
+
]
|
|
2197
|
+
}
|
|
2198
|
+
]
|
|
2199
|
+
};
|
|
2200
|
+
|
|
2201
|
+
// node_modules/@contentful/rich-text-types/dist/esm/validator/assert.js
|
|
2202
|
+
var import_is_plain_obj = __toESM(require_is_plain_obj());
|
|
2203
|
+
|
|
2204
|
+
// node_modules/@lingui/message-utils/dist/compileMessage.mjs
|
|
2205
|
+
var import_parser = __toESM(require_parser(), 1);
|
|
2206
|
+
var DateFormatError = class extends Error {
|
|
2207
|
+
/** @internal */
|
|
2208
|
+
constructor(msg, token, type) {
|
|
2209
|
+
super(msg);
|
|
2210
|
+
this.token = token;
|
|
2211
|
+
this.type = type || "error";
|
|
2212
|
+
}
|
|
2213
|
+
};
|
|
2214
|
+
var alpha = (width) => width < 4 ? "short" : width === 4 ? "long" : "narrow";
|
|
2215
|
+
var numeric = (width) => width % 2 === 0 ? "2-digit" : "numeric";
|
|
2216
|
+
function yearOptions(token, onError) {
|
|
2217
|
+
switch (token.char) {
|
|
2218
|
+
case "y":
|
|
2219
|
+
return { year: numeric(token.width) };
|
|
2220
|
+
case "r":
|
|
2221
|
+
return { calendar: "gregory", year: "numeric" };
|
|
2222
|
+
case "u":
|
|
2223
|
+
case "U":
|
|
2224
|
+
case "Y":
|
|
2225
|
+
default:
|
|
2226
|
+
onError(`${token.desc} is not supported; falling back to year:numeric`, DateFormatError.WARNING);
|
|
2227
|
+
return { year: "numeric" };
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
function monthStyle(token, onError) {
|
|
2231
|
+
switch (token.width) {
|
|
2232
|
+
case 1:
|
|
2233
|
+
return "numeric";
|
|
2234
|
+
case 2:
|
|
2235
|
+
return "2-digit";
|
|
2236
|
+
case 3:
|
|
2237
|
+
return "short";
|
|
2238
|
+
case 4:
|
|
2239
|
+
return "long";
|
|
2240
|
+
case 5:
|
|
2241
|
+
return "narrow";
|
|
2242
|
+
default:
|
|
2243
|
+
onError(`${token.desc} is not supported with width ${token.width}`);
|
|
2244
|
+
return void 0;
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
function dayStyle(token, onError) {
|
|
2248
|
+
const { char, desc, width } = token;
|
|
2249
|
+
if (char === "d") {
|
|
2250
|
+
return numeric(width);
|
|
2251
|
+
} else {
|
|
2252
|
+
onError(`${desc} is not supported`);
|
|
2253
|
+
return void 0;
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
function weekdayStyle(token, onError) {
|
|
2257
|
+
const { char, desc, width } = token;
|
|
2258
|
+
if ((char === "c" || char === "e") && width < 3) {
|
|
2259
|
+
const msg = `Numeric value is not supported for ${desc}; falling back to weekday:short`;
|
|
2260
|
+
onError(msg, DateFormatError.WARNING);
|
|
2261
|
+
}
|
|
2262
|
+
return alpha(width);
|
|
2263
|
+
}
|
|
2264
|
+
function hourOptions(token) {
|
|
2265
|
+
const hour = numeric(token.width);
|
|
2266
|
+
let hourCycle;
|
|
2267
|
+
switch (token.char) {
|
|
2268
|
+
case "h":
|
|
2269
|
+
hourCycle = "h12";
|
|
2270
|
+
break;
|
|
2271
|
+
case "H":
|
|
2272
|
+
hourCycle = "h23";
|
|
2273
|
+
break;
|
|
2274
|
+
case "k":
|
|
2275
|
+
hourCycle = "h24";
|
|
2276
|
+
break;
|
|
2277
|
+
case "K":
|
|
2278
|
+
hourCycle = "h11";
|
|
2279
|
+
break;
|
|
2280
|
+
}
|
|
2281
|
+
return hourCycle ? { hour, hourCycle } : { hour };
|
|
2282
|
+
}
|
|
2283
|
+
function timeZoneNameStyle(token, onError) {
|
|
2284
|
+
const { char, desc, width } = token;
|
|
2285
|
+
switch (char) {
|
|
2286
|
+
case "v":
|
|
2287
|
+
case "z":
|
|
2288
|
+
return width === 4 ? "long" : "short";
|
|
2289
|
+
case "V":
|
|
2290
|
+
if (width === 4)
|
|
2291
|
+
return "long";
|
|
2292
|
+
onError(`${desc} is not supported with width ${width}`);
|
|
2293
|
+
return void 0;
|
|
2294
|
+
case "X":
|
|
2295
|
+
onError(`${desc} is not supported`);
|
|
2296
|
+
return void 0;
|
|
2297
|
+
}
|
|
2298
|
+
return "short";
|
|
2299
|
+
}
|
|
2300
|
+
function compileOptions(token, onError) {
|
|
2301
|
+
switch (token.field) {
|
|
2302
|
+
case "era":
|
|
2303
|
+
return { era: alpha(token.width) };
|
|
2304
|
+
case "year":
|
|
2305
|
+
return yearOptions(token, onError);
|
|
2306
|
+
case "month":
|
|
2307
|
+
return { month: monthStyle(token, onError) };
|
|
2308
|
+
case "day":
|
|
2309
|
+
return { day: dayStyle(token, onError) };
|
|
2310
|
+
case "weekday":
|
|
2311
|
+
return { weekday: weekdayStyle(token, onError) };
|
|
2312
|
+
case "period":
|
|
2313
|
+
return void 0;
|
|
2314
|
+
case "hour":
|
|
2315
|
+
return hourOptions(token);
|
|
2316
|
+
case "min":
|
|
2317
|
+
return { minute: numeric(token.width) };
|
|
2318
|
+
case "sec":
|
|
2319
|
+
return { second: numeric(token.width) };
|
|
2320
|
+
case "tz":
|
|
2321
|
+
return { timeZoneName: timeZoneNameStyle(token, onError) };
|
|
2322
|
+
case "quarter":
|
|
2323
|
+
case "week":
|
|
2324
|
+
case "sec-frac":
|
|
2325
|
+
case "ms":
|
|
2326
|
+
onError(`${token.desc} is not supported`);
|
|
2327
|
+
}
|
|
2328
|
+
return void 0;
|
|
2329
|
+
}
|
|
2330
|
+
function getDateFormatOptions(tokens, timeZone, onError = (error) => {
|
|
2331
|
+
throw error;
|
|
2332
|
+
}) {
|
|
2333
|
+
const options = {
|
|
2334
|
+
timeZone
|
|
2335
|
+
};
|
|
2336
|
+
const fields2 = [];
|
|
2337
|
+
for (const token of tokens) {
|
|
2338
|
+
const { error, field, str } = token;
|
|
2339
|
+
if (error) {
|
|
2340
|
+
const dte = new DateFormatError(error.message, token);
|
|
2341
|
+
dte.stack = error.stack;
|
|
2342
|
+
onError(dte);
|
|
2343
|
+
}
|
|
2344
|
+
if (str) {
|
|
2345
|
+
const msg = `Ignoring string part: ${str}`;
|
|
2346
|
+
onError(new DateFormatError(msg, token, DateFormatError.WARNING));
|
|
2347
|
+
}
|
|
2348
|
+
if (field) {
|
|
2349
|
+
if (fields2.indexOf(field) === -1)
|
|
2350
|
+
fields2.push(field);
|
|
2351
|
+
else
|
|
2352
|
+
onError(new DateFormatError(`Duplicate ${field} token`, token));
|
|
2353
|
+
}
|
|
2354
|
+
const opt = compileOptions(token, (msg, isWarning) => onError(new DateFormatError(msg, token, isWarning)));
|
|
2355
|
+
if (opt)
|
|
2356
|
+
Object.assign(options, opt);
|
|
2357
|
+
}
|
|
2358
|
+
return options;
|
|
2359
|
+
}
|
|
2360
|
+
var fields = {
|
|
2361
|
+
G: { field: "era", desc: "Era" },
|
|
2362
|
+
y: { field: "year", desc: "Year" },
|
|
2363
|
+
Y: { field: "year", desc: 'Year of "Week of Year"' },
|
|
2364
|
+
u: { field: "year", desc: "Extended year" },
|
|
2365
|
+
U: { field: "year", desc: "Cyclic year name" },
|
|
2366
|
+
r: { field: "year", desc: "Related Gregorian year" },
|
|
2367
|
+
Q: { field: "quarter", desc: "Quarter" },
|
|
2368
|
+
q: { field: "quarter", desc: "Stand-alone quarter" },
|
|
2369
|
+
M: { field: "month", desc: "Month in year" },
|
|
2370
|
+
L: { field: "month", desc: "Stand-alone month in year" },
|
|
2371
|
+
w: { field: "week", desc: "Week of year" },
|
|
2372
|
+
W: { field: "week", desc: "Week of month" },
|
|
2373
|
+
d: { field: "day", desc: "Day in month" },
|
|
2374
|
+
D: { field: "day", desc: "Day of year" },
|
|
2375
|
+
F: { field: "day", desc: "Day of week in month" },
|
|
2376
|
+
g: { field: "day", desc: "Modified julian day" },
|
|
2377
|
+
E: { field: "weekday", desc: "Day of week" },
|
|
2378
|
+
e: { field: "weekday", desc: "Local day of week" },
|
|
2379
|
+
c: { field: "weekday", desc: "Stand-alone local day of week" },
|
|
2380
|
+
a: { field: "period", desc: "AM/PM marker" },
|
|
2381
|
+
b: { field: "period", desc: "AM/PM/noon/midnight marker" },
|
|
2382
|
+
B: { field: "period", desc: "Flexible day period" },
|
|
2383
|
+
h: { field: "hour", desc: "Hour in AM/PM (1~12)" },
|
|
2384
|
+
H: { field: "hour", desc: "Hour in day (0~23)" },
|
|
2385
|
+
k: { field: "hour", desc: "Hour in day (1~24)" },
|
|
2386
|
+
K: { field: "hour", desc: "Hour in AM/PM (0~11)" },
|
|
2387
|
+
j: { field: "hour", desc: "Hour in preferred cycle" },
|
|
2388
|
+
J: { field: "hour", desc: "Hour in preferred cycle without marker" },
|
|
2389
|
+
C: { field: "hour", desc: "Hour in preferred cycle with flexible marker" },
|
|
2390
|
+
m: { field: "min", desc: "Minute in hour" },
|
|
2391
|
+
s: { field: "sec", desc: "Second in minute" },
|
|
2392
|
+
S: { field: "sec-frac", desc: "Fractional second" },
|
|
2393
|
+
A: { field: "ms", desc: "Milliseconds in day" },
|
|
2394
|
+
z: { field: "tz", desc: "Time Zone: specific non-location" },
|
|
2395
|
+
Z: { field: "tz", desc: "Time Zone" },
|
|
2396
|
+
O: { field: "tz", desc: "Time Zone: localized" },
|
|
2397
|
+
v: { field: "tz", desc: "Time Zone: generic non-location" },
|
|
2398
|
+
V: { field: "tz", desc: "Time Zone: ID" },
|
|
2399
|
+
X: { field: "tz", desc: "Time Zone: ISO8601 with Z" },
|
|
2400
|
+
x: { field: "tz", desc: "Time Zone: ISO8601" }
|
|
2401
|
+
};
|
|
2402
|
+
var isLetter = (char) => char >= "A" && char <= "Z" || char >= "a" && char <= "z";
|
|
2403
|
+
function readFieldToken(src, pos) {
|
|
2404
|
+
const char = src[pos];
|
|
2405
|
+
let width = 1;
|
|
2406
|
+
while (src[++pos] === char)
|
|
2407
|
+
++width;
|
|
2408
|
+
const field = fields[char];
|
|
2409
|
+
if (!field) {
|
|
2410
|
+
const msg = `The letter ${char} is not a valid field identifier`;
|
|
2411
|
+
return { char, error: new Error(msg), width };
|
|
2412
|
+
}
|
|
2413
|
+
return { char, field: field.field, desc: field.desc, width };
|
|
2414
|
+
}
|
|
2415
|
+
function readQuotedToken(src, pos) {
|
|
2416
|
+
let str = src[++pos];
|
|
2417
|
+
let width = 2;
|
|
2418
|
+
if (str === "'")
|
|
2419
|
+
return { char: "'", str, width };
|
|
2420
|
+
while (true) {
|
|
2421
|
+
const next = src[++pos];
|
|
2422
|
+
++width;
|
|
2423
|
+
if (next === void 0) {
|
|
2424
|
+
const msg = `Unterminated quoted literal in pattern: ${str || src}`;
|
|
2425
|
+
return { char: "'", error: new Error(msg), str, width };
|
|
2426
|
+
} else if (next === "'") {
|
|
2427
|
+
if (src[++pos] !== "'")
|
|
2428
|
+
return { char: "'", str, width };
|
|
2429
|
+
else
|
|
2430
|
+
++width;
|
|
2431
|
+
}
|
|
2432
|
+
str += next;
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
function readToken(src, pos) {
|
|
2436
|
+
const char = src[pos];
|
|
2437
|
+
if (!char)
|
|
2438
|
+
return null;
|
|
2439
|
+
if (isLetter(char))
|
|
2440
|
+
return readFieldToken(src, pos);
|
|
2441
|
+
if (char === "'")
|
|
2442
|
+
return readQuotedToken(src, pos);
|
|
2443
|
+
let str = char;
|
|
2444
|
+
let width = 1;
|
|
2445
|
+
while (true) {
|
|
2446
|
+
const next = src[++pos];
|
|
2447
|
+
if (!next || isLetter(next) || next === "'")
|
|
2448
|
+
return { char, str, width };
|
|
2449
|
+
str += next;
|
|
2450
|
+
width += 1;
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
function parseDateTokens(src) {
|
|
2454
|
+
const tokens = [];
|
|
2455
|
+
let pos = 0;
|
|
2456
|
+
while (true) {
|
|
2457
|
+
const token = readToken(src, pos);
|
|
2458
|
+
if (!token)
|
|
2459
|
+
return tokens;
|
|
2460
|
+
tokens.push(token);
|
|
2461
|
+
pos += token.width;
|
|
2462
|
+
}
|
|
2463
|
+
}
|
|
2464
|
+
function processTokens(tokens, mapText) {
|
|
2465
|
+
if (!tokens.filter((token) => token.type !== "content").length) {
|
|
2466
|
+
return tokens.map((token) => mapText(token.value));
|
|
2467
|
+
}
|
|
2468
|
+
return tokens.map((token) => {
|
|
2469
|
+
if (token.type === "content") {
|
|
2470
|
+
return mapText(token.value);
|
|
2471
|
+
} else if (token.type === "octothorpe") {
|
|
2472
|
+
return "#";
|
|
2473
|
+
} else if (token.type === "argument") {
|
|
2474
|
+
return [token.arg];
|
|
2475
|
+
} else if (token.type === "function") {
|
|
2476
|
+
const _param = token?.param?.[0];
|
|
2477
|
+
if (token.key === "date" && _param) {
|
|
2478
|
+
const opts = compileDateExpression(_param.value.trim(), (e) => {
|
|
2479
|
+
throw new Error(`Unable to compile date expression: ${e.message}`);
|
|
2480
|
+
});
|
|
2481
|
+
return [token.arg, token.key, opts];
|
|
2482
|
+
}
|
|
2483
|
+
if (_param) {
|
|
2484
|
+
return [token.arg, token.key, _param.value.trim()];
|
|
2485
|
+
} else {
|
|
2486
|
+
return [token.arg, token.key];
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2489
|
+
const offset = token.pluralOffset;
|
|
2490
|
+
const formatProps = {};
|
|
2491
|
+
token.cases.forEach(({ key, tokens: tokens2 }) => {
|
|
2492
|
+
const prop = key[0] === "=" ? key.slice(1) : key;
|
|
2493
|
+
formatProps[prop] = processTokens(tokens2, mapText);
|
|
2494
|
+
});
|
|
2495
|
+
return [
|
|
2496
|
+
token.arg,
|
|
2497
|
+
token.type,
|
|
2498
|
+
{
|
|
2499
|
+
offset,
|
|
2500
|
+
...formatProps
|
|
2501
|
+
}
|
|
2502
|
+
];
|
|
2503
|
+
});
|
|
2504
|
+
}
|
|
2505
|
+
function compileDateExpression(format, onError) {
|
|
2506
|
+
if (/^::/.test(format)) {
|
|
2507
|
+
const tokens = parseDateTokens(format.substring(2));
|
|
2508
|
+
return getDateFormatOptions(tokens, void 0, onError);
|
|
2509
|
+
}
|
|
2510
|
+
return format;
|
|
2511
|
+
}
|
|
2512
|
+
function compileMessageOrThrow(message, mapText = (v) => v) {
|
|
2513
|
+
return processTokens((0, import_parser.parse)(message), mapText);
|
|
2514
|
+
}
|
|
2515
|
+
function compileMessage(message, mapText = (v) => v) {
|
|
2516
|
+
try {
|
|
2517
|
+
return compileMessageOrThrow(message, mapText);
|
|
2518
|
+
} catch (e) {
|
|
2519
|
+
console.error(`${e.message}
|
|
2520
|
+
|
|
2521
|
+
Message: ${message}`);
|
|
2522
|
+
return [message];
|
|
2523
|
+
}
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
// node_modules/@lingui/core/dist/index.mjs
|
|
2527
|
+
var isString = (s) => typeof s === "string";
|
|
2528
|
+
var isFunction = (f) => typeof f === "function";
|
|
2529
|
+
var cache = /* @__PURE__ */ new Map();
|
|
2530
|
+
var defaultLocale = "en";
|
|
2531
|
+
function normalizeLocales(locales) {
|
|
2532
|
+
const out = Array.isArray(locales) ? locales : [locales];
|
|
2533
|
+
return [...out, defaultLocale];
|
|
2534
|
+
}
|
|
2535
|
+
function date(locales, value, format) {
|
|
2536
|
+
const _locales = normalizeLocales(locales);
|
|
2537
|
+
if (!format) {
|
|
2538
|
+
format = "default";
|
|
2539
|
+
}
|
|
2540
|
+
let o;
|
|
2541
|
+
if (typeof format === "string") {
|
|
2542
|
+
o = {
|
|
2543
|
+
day: "numeric",
|
|
2544
|
+
month: "short",
|
|
2545
|
+
year: "numeric"
|
|
2546
|
+
};
|
|
2547
|
+
switch (format) {
|
|
2548
|
+
case "full":
|
|
2549
|
+
o.weekday = "long";
|
|
2550
|
+
case "long":
|
|
2551
|
+
o.month = "long";
|
|
2552
|
+
break;
|
|
2553
|
+
case "short":
|
|
2554
|
+
o.month = "numeric";
|
|
2555
|
+
break;
|
|
2556
|
+
}
|
|
2557
|
+
} else {
|
|
2558
|
+
o = format;
|
|
2559
|
+
}
|
|
2560
|
+
const formatter = getMemoized(
|
|
2561
|
+
() => cacheKey("date", _locales, format),
|
|
2562
|
+
() => new Intl.DateTimeFormat(_locales, o)
|
|
2563
|
+
);
|
|
2564
|
+
return formatter.format(isString(value) ? new Date(value) : value);
|
|
2565
|
+
}
|
|
2566
|
+
function time(locales, value, format) {
|
|
2567
|
+
let o;
|
|
2568
|
+
if (!format) {
|
|
2569
|
+
format = "default";
|
|
2570
|
+
}
|
|
2571
|
+
if (typeof format === "string") {
|
|
2572
|
+
o = {
|
|
2573
|
+
second: "numeric",
|
|
2574
|
+
minute: "numeric",
|
|
2575
|
+
hour: "numeric"
|
|
2576
|
+
};
|
|
2577
|
+
switch (format) {
|
|
2578
|
+
case "full":
|
|
2579
|
+
case "long":
|
|
2580
|
+
o.timeZoneName = "short";
|
|
2581
|
+
break;
|
|
2582
|
+
case "short":
|
|
2583
|
+
delete o.second;
|
|
2584
|
+
}
|
|
2585
|
+
} else {
|
|
2586
|
+
o = format;
|
|
2587
|
+
}
|
|
2588
|
+
return date(locales, value, o);
|
|
2589
|
+
}
|
|
2590
|
+
function number(locales, value, format) {
|
|
2591
|
+
const _locales = normalizeLocales(locales);
|
|
2592
|
+
const formatter = getMemoized(
|
|
2593
|
+
() => cacheKey("number", _locales, format),
|
|
2594
|
+
() => new Intl.NumberFormat(_locales, format)
|
|
2595
|
+
);
|
|
2596
|
+
return formatter.format(value);
|
|
2597
|
+
}
|
|
2598
|
+
function plural(locales, ordinal, value, { offset = 0, ...rules }) {
|
|
2599
|
+
const _locales = normalizeLocales(locales);
|
|
2600
|
+
const plurals = ordinal ? getMemoized(
|
|
2601
|
+
() => cacheKey("plural-ordinal", _locales),
|
|
2602
|
+
() => new Intl.PluralRules(_locales, { type: "ordinal" })
|
|
2603
|
+
) : getMemoized(
|
|
2604
|
+
() => cacheKey("plural-cardinal", _locales),
|
|
2605
|
+
() => new Intl.PluralRules(_locales, { type: "cardinal" })
|
|
2606
|
+
);
|
|
2607
|
+
return rules[value] ?? rules[plurals.select(value - offset)] ?? rules.other;
|
|
2608
|
+
}
|
|
2609
|
+
function getMemoized(getKey, construct) {
|
|
2610
|
+
const key = getKey();
|
|
2611
|
+
let formatter = cache.get(key);
|
|
2612
|
+
if (!formatter) {
|
|
2613
|
+
formatter = construct();
|
|
2614
|
+
cache.set(key, formatter);
|
|
2615
|
+
}
|
|
2616
|
+
return formatter;
|
|
2617
|
+
}
|
|
2618
|
+
function cacheKey(type, locales, options) {
|
|
2619
|
+
const localeKey = locales.join("-");
|
|
2620
|
+
return `${type}-${localeKey}-${JSON.stringify(options)}`;
|
|
2621
|
+
}
|
|
2622
|
+
var ESCAPE_SEQUENCE_REGEX = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/;
|
|
2623
|
+
var decodeEscapeSequences = (str) => {
|
|
2624
|
+
return str.replace(
|
|
2625
|
+
// Same pattern but with capturing groups for extracting values during replacement
|
|
2626
|
+
/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,
|
|
2627
|
+
(_, unicode, hex) => {
|
|
2628
|
+
if (unicode) {
|
|
2629
|
+
const codePoint = parseInt(unicode, 16);
|
|
2630
|
+
return String.fromCharCode(codePoint);
|
|
2631
|
+
} else {
|
|
2632
|
+
const codePoint = parseInt(hex, 16);
|
|
2633
|
+
return String.fromCharCode(codePoint);
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
);
|
|
2637
|
+
};
|
|
2638
|
+
var OCTOTHORPE_PH = "%__lingui_octothorpe__%";
|
|
2639
|
+
var getDefaultFormats = (locale, passedLocales, formats = {}) => {
|
|
2640
|
+
const locales = passedLocales || locale;
|
|
2641
|
+
const style = (format) => {
|
|
2642
|
+
if (typeof format === "object")
|
|
2643
|
+
return format;
|
|
2644
|
+
return formats[format];
|
|
2645
|
+
};
|
|
2646
|
+
const replaceOctothorpe = (value, message) => {
|
|
2647
|
+
const numberFormat = Object.keys(formats).length ? style("number") : void 0;
|
|
2648
|
+
const valueStr = number(locales, value, numberFormat);
|
|
2649
|
+
return message.replace(new RegExp(OCTOTHORPE_PH, "g"), valueStr);
|
|
2650
|
+
};
|
|
2651
|
+
return {
|
|
2652
|
+
plural: (value, cases) => {
|
|
2653
|
+
const { offset = 0 } = cases;
|
|
2654
|
+
const message = plural(locales, false, value, cases);
|
|
2655
|
+
return replaceOctothorpe(value - offset, message);
|
|
2656
|
+
},
|
|
2657
|
+
selectordinal: (value, cases) => {
|
|
2658
|
+
const { offset = 0 } = cases;
|
|
2659
|
+
const message = plural(locales, true, value, cases);
|
|
2660
|
+
return replaceOctothorpe(value - offset, message);
|
|
2661
|
+
},
|
|
2662
|
+
select: selectFormatter,
|
|
2663
|
+
number: (value, format) => number(
|
|
2664
|
+
locales,
|
|
2665
|
+
value,
|
|
2666
|
+
style(format) || { style: format }
|
|
2667
|
+
),
|
|
2668
|
+
date: (value, format) => date(locales, value, style(format) || format),
|
|
2669
|
+
time: (value, format) => time(locales, value, style(format) || format)
|
|
2670
|
+
};
|
|
2671
|
+
};
|
|
2672
|
+
var selectFormatter = (value, rules) => rules[value] ?? rules.other;
|
|
2673
|
+
function interpolate(translation, locale, locales) {
|
|
2674
|
+
return (values = {}, formats) => {
|
|
2675
|
+
const formatters = getDefaultFormats(locale, locales, formats);
|
|
2676
|
+
const formatMessage = (tokens, replaceOctothorpe = false) => {
|
|
2677
|
+
if (!Array.isArray(tokens))
|
|
2678
|
+
return tokens;
|
|
2679
|
+
return tokens.reduce((message, token) => {
|
|
2680
|
+
if (token === "#" && replaceOctothorpe) {
|
|
2681
|
+
return message + OCTOTHORPE_PH;
|
|
2682
|
+
}
|
|
2683
|
+
if (isString(token)) {
|
|
2684
|
+
return message + token;
|
|
2685
|
+
}
|
|
2686
|
+
const [name, type, format] = token;
|
|
2687
|
+
let interpolatedFormat = {};
|
|
2688
|
+
if (type === "plural" || type === "selectordinal" || type === "select") {
|
|
2689
|
+
Object.entries(format).forEach(
|
|
2690
|
+
([key, value2]) => {
|
|
2691
|
+
interpolatedFormat[key] = formatMessage(
|
|
2692
|
+
value2,
|
|
2693
|
+
type === "plural" || type === "selectordinal"
|
|
2694
|
+
);
|
|
2695
|
+
}
|
|
2696
|
+
);
|
|
2697
|
+
} else {
|
|
2698
|
+
interpolatedFormat = format;
|
|
2699
|
+
}
|
|
2700
|
+
let value;
|
|
2701
|
+
if (type) {
|
|
2702
|
+
const formatter = formatters[type];
|
|
2703
|
+
value = formatter(values[name], interpolatedFormat);
|
|
2704
|
+
} else {
|
|
2705
|
+
value = values[name];
|
|
2706
|
+
}
|
|
2707
|
+
if (value == null) {
|
|
2708
|
+
return message;
|
|
2709
|
+
}
|
|
2710
|
+
return message + value;
|
|
2711
|
+
}, "");
|
|
2712
|
+
};
|
|
2713
|
+
const result = formatMessage(translation);
|
|
2714
|
+
if (isString(result) && ESCAPE_SEQUENCE_REGEX.test(result)) {
|
|
2715
|
+
return decodeEscapeSequences(result);
|
|
2716
|
+
}
|
|
2717
|
+
if (isString(result))
|
|
2718
|
+
return result;
|
|
2719
|
+
return result ? String(result) : "";
|
|
2720
|
+
};
|
|
2721
|
+
}
|
|
2722
|
+
var __defProp$1 = Object.defineProperty;
|
|
2723
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2724
|
+
var __publicField$1 = (obj, key, value) => {
|
|
2725
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2726
|
+
return value;
|
|
2727
|
+
};
|
|
2728
|
+
var EventEmitter = class {
|
|
2729
|
+
constructor() {
|
|
2730
|
+
__publicField$1(this, "_events", {});
|
|
2731
|
+
}
|
|
2732
|
+
on(event, listener) {
|
|
2733
|
+
var _a;
|
|
2734
|
+
(_a = this._events)[event] ?? (_a[event] = []);
|
|
2735
|
+
this._events[event].push(listener);
|
|
2736
|
+
return () => this.removeListener(event, listener);
|
|
2737
|
+
}
|
|
2738
|
+
removeListener(event, listener) {
|
|
2739
|
+
const maybeListeners = this._getListeners(event);
|
|
2740
|
+
if (!maybeListeners)
|
|
2741
|
+
return;
|
|
2742
|
+
const index = maybeListeners.indexOf(listener);
|
|
2743
|
+
if (~index)
|
|
2744
|
+
maybeListeners.splice(index, 1);
|
|
2745
|
+
}
|
|
2746
|
+
emit(event, ...args) {
|
|
2747
|
+
const maybeListeners = this._getListeners(event);
|
|
2748
|
+
if (!maybeListeners)
|
|
2749
|
+
return;
|
|
2750
|
+
maybeListeners.map((listener) => listener.apply(this, args));
|
|
2751
|
+
}
|
|
2752
|
+
_getListeners(event) {
|
|
2753
|
+
const maybeListeners = this._events[event];
|
|
2754
|
+
return Array.isArray(maybeListeners) ? maybeListeners : false;
|
|
2755
|
+
}
|
|
2756
|
+
};
|
|
2757
|
+
var __defProp2 = Object.defineProperty;
|
|
2758
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2759
|
+
var __publicField = (obj, key, value) => {
|
|
2760
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2761
|
+
return value;
|
|
2762
|
+
};
|
|
2763
|
+
var I18n = class extends EventEmitter {
|
|
2764
|
+
constructor(params) {
|
|
2765
|
+
super();
|
|
2766
|
+
__publicField(this, "_locale", "");
|
|
2767
|
+
__publicField(this, "_locales");
|
|
2768
|
+
__publicField(this, "_localeData", {});
|
|
2769
|
+
__publicField(this, "_messages", {});
|
|
2770
|
+
__publicField(this, "_missing");
|
|
2771
|
+
__publicField(this, "_messageCompiler");
|
|
2772
|
+
__publicField(this, "t", this._.bind(this));
|
|
2773
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2774
|
+
this.setMessagesCompiler(compileMessage);
|
|
2775
|
+
}
|
|
2776
|
+
if (params.missing != null)
|
|
2777
|
+
this._missing = params.missing;
|
|
2778
|
+
if (params.messages != null)
|
|
2779
|
+
this.load(params.messages);
|
|
2780
|
+
if (params.localeData != null)
|
|
2781
|
+
this.loadLocaleData(params.localeData);
|
|
2782
|
+
if (typeof params.locale === "string" || params.locales) {
|
|
2783
|
+
this.activate(params.locale ?? defaultLocale, params.locales);
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
get locale() {
|
|
2787
|
+
return this._locale;
|
|
2788
|
+
}
|
|
2789
|
+
get locales() {
|
|
2790
|
+
return this._locales;
|
|
2791
|
+
}
|
|
2792
|
+
get messages() {
|
|
2793
|
+
return this._messages[this._locale] ?? {};
|
|
2794
|
+
}
|
|
2795
|
+
/**
|
|
2796
|
+
* @deprecated this has no effect. Please remove this from the code. Deprecated in v4
|
|
2797
|
+
*/
|
|
2798
|
+
get localeData() {
|
|
2799
|
+
return this._localeData[this._locale] ?? {};
|
|
2800
|
+
}
|
|
2801
|
+
_loadLocaleData(locale, localeData) {
|
|
2802
|
+
const maybeLocaleData = this._localeData[locale];
|
|
2803
|
+
if (!maybeLocaleData) {
|
|
2804
|
+
this._localeData[locale] = localeData;
|
|
2805
|
+
} else {
|
|
2806
|
+
Object.assign(maybeLocaleData, localeData);
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
/**
|
|
2810
|
+
* Registers a `MessageCompiler` to enable the use of uncompiled catalogs at runtime.
|
|
2811
|
+
*
|
|
2812
|
+
* In production builds, the `MessageCompiler` is typically excluded to reduce bundle size.
|
|
2813
|
+
* By default, message catalogs should be precompiled during the build process. However,
|
|
2814
|
+
* if you need to compile catalogs at runtime, you can use this method to set a message compiler.
|
|
2815
|
+
*
|
|
2816
|
+
* Example usage:
|
|
2817
|
+
*
|
|
2818
|
+
* ```ts
|
|
2819
|
+
* import { compileMessage } from "@lingui/message-utils/compileMessage";
|
|
2820
|
+
*
|
|
2821
|
+
* i18n.setMessagesCompiler(compileMessage);
|
|
2822
|
+
* ```
|
|
2823
|
+
*/
|
|
2824
|
+
setMessagesCompiler(compiler) {
|
|
2825
|
+
this._messageCompiler = compiler;
|
|
2826
|
+
return this;
|
|
2827
|
+
}
|
|
2828
|
+
/**
|
|
2829
|
+
* @deprecated Plurals automatically used from Intl.PluralRules you can safely remove this call. Deprecated in v4
|
|
2830
|
+
*/
|
|
2831
|
+
loadLocaleData(localeOrAllData, localeData) {
|
|
2832
|
+
if (typeof localeOrAllData === "string") {
|
|
2833
|
+
this._loadLocaleData(localeOrAllData, localeData);
|
|
2834
|
+
} else {
|
|
2835
|
+
Object.keys(localeOrAllData).forEach(
|
|
2836
|
+
(locale) => this._loadLocaleData(locale, localeOrAllData[locale])
|
|
2837
|
+
);
|
|
2838
|
+
}
|
|
2839
|
+
this.emit("change");
|
|
2840
|
+
}
|
|
2841
|
+
_load(locale, messages) {
|
|
2842
|
+
const maybeMessages = this._messages[locale];
|
|
2843
|
+
if (!maybeMessages) {
|
|
2844
|
+
this._messages[locale] = messages;
|
|
2845
|
+
} else {
|
|
2846
|
+
Object.assign(maybeMessages, messages);
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
load(localeOrMessages, messages) {
|
|
2850
|
+
if (typeof localeOrMessages == "string" && typeof messages === "object") {
|
|
2851
|
+
this._load(localeOrMessages, messages);
|
|
2852
|
+
} else {
|
|
2853
|
+
Object.entries(localeOrMessages).forEach(
|
|
2854
|
+
([locale, messages2]) => this._load(locale, messages2)
|
|
2855
|
+
);
|
|
2856
|
+
}
|
|
2857
|
+
this.emit("change");
|
|
2858
|
+
}
|
|
2859
|
+
/**
|
|
2860
|
+
* @param options {@link LoadAndActivateOptions}
|
|
2861
|
+
*/
|
|
2862
|
+
loadAndActivate({ locale, locales, messages }) {
|
|
2863
|
+
this._locale = locale;
|
|
2864
|
+
this._locales = locales || void 0;
|
|
2865
|
+
this._messages[this._locale] = messages;
|
|
2866
|
+
this.emit("change");
|
|
2867
|
+
}
|
|
2868
|
+
activate(locale, locales) {
|
|
2869
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2870
|
+
if (!this._messages[locale]) {
|
|
2871
|
+
console.warn(`Messages for locale "${locale}" not loaded.`);
|
|
2872
|
+
}
|
|
2873
|
+
}
|
|
2874
|
+
this._locale = locale;
|
|
2875
|
+
this._locales = locales;
|
|
2876
|
+
this.emit("change");
|
|
2877
|
+
}
|
|
2878
|
+
_(id, values, options) {
|
|
2879
|
+
if (!this.locale) {
|
|
2880
|
+
throw new Error(
|
|
2881
|
+
"Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic."
|
|
2882
|
+
);
|
|
2883
|
+
}
|
|
2884
|
+
let message = options?.message;
|
|
2885
|
+
if (!id) {
|
|
2886
|
+
id = "";
|
|
2887
|
+
}
|
|
2888
|
+
if (!isString(id)) {
|
|
2889
|
+
values = id.values || values;
|
|
2890
|
+
message = id.message;
|
|
2891
|
+
id = id.id;
|
|
2892
|
+
}
|
|
2893
|
+
const messageForId = this.messages[id];
|
|
2894
|
+
const messageMissing = messageForId === void 0;
|
|
2895
|
+
const missing = this._missing;
|
|
2896
|
+
if (missing && messageMissing) {
|
|
2897
|
+
return isFunction(missing) ? missing(this._locale, id) : missing;
|
|
2898
|
+
}
|
|
2899
|
+
if (messageMissing) {
|
|
2900
|
+
this.emit("missing", { id, locale: this._locale });
|
|
2901
|
+
}
|
|
2902
|
+
let translation = messageForId || message || id;
|
|
2903
|
+
if (isString(translation)) {
|
|
2904
|
+
if (this._messageCompiler) {
|
|
2905
|
+
translation = this._messageCompiler(translation);
|
|
2906
|
+
} else {
|
|
2907
|
+
console.warn(`Uncompiled message detected! Message:
|
|
2908
|
+
|
|
2909
|
+
> ${translation}
|
|
2910
|
+
|
|
2911
|
+
That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
|
|
2912
|
+
ICU features such as interpolation and plurals will not work properly for that message.
|
|
2913
|
+
|
|
2914
|
+
Please compile your catalog first.
|
|
2915
|
+
`);
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
if (isString(translation) && ESCAPE_SEQUENCE_REGEX.test(translation))
|
|
2919
|
+
return decodeEscapeSequences(translation);
|
|
2920
|
+
if (isString(translation))
|
|
2921
|
+
return translation;
|
|
2922
|
+
return interpolate(
|
|
2923
|
+
translation,
|
|
2924
|
+
this._locale,
|
|
2925
|
+
this._locales
|
|
2926
|
+
)(values, options?.formats);
|
|
2927
|
+
}
|
|
2928
|
+
date(value, format) {
|
|
2929
|
+
return date(this._locales || this._locale, value, format);
|
|
2930
|
+
}
|
|
2931
|
+
number(value, format) {
|
|
2932
|
+
return number(this._locales || this._locale, value, format);
|
|
2933
|
+
}
|
|
2934
|
+
};
|
|
2935
|
+
function setupI18n(params = {}) {
|
|
2936
|
+
return new I18n(params);
|
|
2937
|
+
}
|
|
2938
|
+
var i18n = setupI18n();
|
|
2939
|
+
|
|
2940
|
+
// node_modules/@contentful/rich-text-types/dist/esm/validator/errors.js
|
|
2941
|
+
function _array_like_to_array2(arr, len) {
|
|
2942
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
2943
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
2944
|
+
return arr2;
|
|
2945
|
+
}
|
|
2946
|
+
function _array_without_holes2(arr) {
|
|
2947
|
+
if (Array.isArray(arr)) return _array_like_to_array2(arr);
|
|
2948
|
+
}
|
|
2949
|
+
function _iterable_to_array2(iter) {
|
|
2950
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
2951
|
+
}
|
|
2952
|
+
function _non_iterable_spread2() {
|
|
2953
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2954
|
+
}
|
|
2955
|
+
function _to_consumable_array2(arr) {
|
|
2956
|
+
return _array_without_holes2(arr) || _iterable_to_array2(arr) || _unsupported_iterable_to_array2(arr) || _non_iterable_spread2();
|
|
2957
|
+
}
|
|
2958
|
+
function _unsupported_iterable_to_array2(o, minLen) {
|
|
2959
|
+
if (!o) return;
|
|
2960
|
+
if (typeof o === "string") return _array_like_to_array2(o, minLen);
|
|
2961
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2962
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2963
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2964
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array2(o, minLen);
|
|
2965
|
+
}
|
|
2966
|
+
var typeMismatchError = function(param) {
|
|
2967
|
+
var path = param.path, property = param.property, typeName = param.typeName, value = param.value;
|
|
2968
|
+
return {
|
|
2969
|
+
details: i18n._({
|
|
2970
|
+
id: "RichText.RichTextTypes.Validator.TypeMismatchErrorMessage",
|
|
2971
|
+
message: 'The type of "{property}" is incorrect, expected type: {typeName}',
|
|
2972
|
+
values: {
|
|
2973
|
+
property,
|
|
2974
|
+
typeName
|
|
2975
|
+
}
|
|
2976
|
+
}),
|
|
2977
|
+
name: "type",
|
|
2978
|
+
path: path.toArray(),
|
|
2979
|
+
type: typeName,
|
|
2980
|
+
value
|
|
2981
|
+
};
|
|
2982
|
+
};
|
|
2983
|
+
var minSizeError = function(param) {
|
|
2984
|
+
var min = param.min, value = param.value, path = param.path;
|
|
2985
|
+
return {
|
|
2986
|
+
name: "size",
|
|
2987
|
+
min,
|
|
2988
|
+
path: path.toArray(),
|
|
2989
|
+
details: i18n._({
|
|
2990
|
+
id: "RichText.RichTextTypes.Validator.MinSizeErrorMessage",
|
|
2991
|
+
message: "Size must be at least {min}",
|
|
2992
|
+
values: {
|
|
2993
|
+
min
|
|
2994
|
+
}
|
|
2995
|
+
}),
|
|
2996
|
+
value
|
|
2997
|
+
};
|
|
2998
|
+
};
|
|
2999
|
+
var maxSizeError = function(param) {
|
|
3000
|
+
var max = param.max, value = param.value, path = param.path;
|
|
3001
|
+
return {
|
|
3002
|
+
name: "size",
|
|
3003
|
+
max,
|
|
3004
|
+
path: path.toArray(),
|
|
3005
|
+
details: i18n._({
|
|
3006
|
+
id: "RichText.RichTextTypes.Validator.MaxSizeErrorMessage",
|
|
3007
|
+
message: "Size must be at most {max}",
|
|
3008
|
+
values: {
|
|
3009
|
+
max
|
|
3010
|
+
}
|
|
3011
|
+
}),
|
|
3012
|
+
value
|
|
3013
|
+
};
|
|
3014
|
+
};
|
|
3015
|
+
var enumError = function(param) {
|
|
3016
|
+
var expected = param.expected, value = param.value, path = param.path;
|
|
3017
|
+
return {
|
|
3018
|
+
details: i18n._({
|
|
3019
|
+
id: "RichText.RichTextTypes.Validator.EnumErrorMessage",
|
|
3020
|
+
message: "Value must be one of expected values"
|
|
3021
|
+
}),
|
|
3022
|
+
name: "in",
|
|
3023
|
+
expected: _to_consumable_array2(expected).sort(),
|
|
3024
|
+
path: path.toArray(),
|
|
3025
|
+
value
|
|
3026
|
+
};
|
|
3027
|
+
};
|
|
3028
|
+
var unknownPropertyError = function(param) {
|
|
3029
|
+
var property = param.property, path = param.path;
|
|
3030
|
+
return {
|
|
3031
|
+
details: i18n._({
|
|
3032
|
+
id: "RichText.RichTextTypes.Validator.UnknownPropertyErrorMessage",
|
|
3033
|
+
message: 'The property "{property}" is not expected',
|
|
3034
|
+
values: {
|
|
3035
|
+
property
|
|
3036
|
+
}
|
|
3037
|
+
}),
|
|
3038
|
+
name: "unexpected",
|
|
3039
|
+
path: path.toArray()
|
|
3040
|
+
};
|
|
3041
|
+
};
|
|
3042
|
+
var requiredPropertyError = function(param) {
|
|
3043
|
+
var property = param.property, path = param.path;
|
|
3044
|
+
return {
|
|
3045
|
+
details: i18n._({
|
|
3046
|
+
id: "RichText.RichTextTypes.Validator.RequiredPropertyErrorMessage",
|
|
3047
|
+
message: 'The property "{property}" is required here',
|
|
3048
|
+
values: {
|
|
3049
|
+
property
|
|
3050
|
+
}
|
|
3051
|
+
}),
|
|
3052
|
+
name: "required",
|
|
3053
|
+
path: path.toArray()
|
|
3054
|
+
};
|
|
3055
|
+
};
|
|
3056
|
+
|
|
3057
|
+
// node_modules/@contentful/rich-text-types/dist/esm/validator/assert.js
|
|
3058
|
+
function _array_like_to_array3(arr, len) {
|
|
3059
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3060
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
3061
|
+
return arr2;
|
|
3062
|
+
}
|
|
3063
|
+
function _array_without_holes3(arr) {
|
|
3064
|
+
if (Array.isArray(arr)) return _array_like_to_array3(arr);
|
|
3065
|
+
}
|
|
3066
|
+
function _class_call_check(instance, Constructor) {
|
|
3067
|
+
if (!(instance instanceof Constructor)) {
|
|
3068
|
+
throw new TypeError("Cannot call a class as a function");
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
3071
|
+
function _defineProperties(target, props) {
|
|
3072
|
+
for (var i = 0; i < props.length; i++) {
|
|
3073
|
+
var descriptor = props[i];
|
|
3074
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
3075
|
+
descriptor.configurable = true;
|
|
3076
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
3077
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
3078
|
+
}
|
|
3079
|
+
}
|
|
3080
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
3081
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3082
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3083
|
+
return Constructor;
|
|
3084
|
+
}
|
|
3085
|
+
function _define_property2(obj, key, value) {
|
|
3086
|
+
if (key in obj) {
|
|
3087
|
+
Object.defineProperty(obj, key, {
|
|
3088
|
+
value,
|
|
3089
|
+
enumerable: true,
|
|
3090
|
+
configurable: true,
|
|
3091
|
+
writable: true
|
|
3092
|
+
});
|
|
3093
|
+
} else {
|
|
3094
|
+
obj[key] = value;
|
|
3095
|
+
}
|
|
3096
|
+
return obj;
|
|
3097
|
+
}
|
|
3098
|
+
function _iterable_to_array3(iter) {
|
|
3099
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
3100
|
+
}
|
|
3101
|
+
function _non_iterable_spread3() {
|
|
3102
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3103
|
+
}
|
|
3104
|
+
function _to_consumable_array3(arr) {
|
|
3105
|
+
return _array_without_holes3(arr) || _iterable_to_array3(arr) || _unsupported_iterable_to_array3(arr) || _non_iterable_spread3();
|
|
3106
|
+
}
|
|
3107
|
+
function _unsupported_iterable_to_array3(o, minLen) {
|
|
3108
|
+
if (!o) return;
|
|
3109
|
+
if (typeof o === "string") return _array_like_to_array3(o, minLen);
|
|
3110
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3111
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
3112
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
3113
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array3(o, minLen);
|
|
3114
|
+
}
|
|
3115
|
+
var ObjectAssertion = /* @__PURE__ */ (function() {
|
|
3116
|
+
"use strict";
|
|
3117
|
+
function ObjectAssertion2(obj, path) {
|
|
3118
|
+
var _this = this;
|
|
3119
|
+
var _this1 = this;
|
|
3120
|
+
_class_call_check(this, ObjectAssertion2);
|
|
3121
|
+
_define_property2(this, "obj", void 0);
|
|
3122
|
+
_define_property2(this, "path", void 0);
|
|
3123
|
+
_define_property2(this, "_errors", void 0);
|
|
3124
|
+
_define_property2(this, "catch", void 0);
|
|
3125
|
+
_define_property2(this, "exists", void 0);
|
|
3126
|
+
_define_property2(this, "object", void 0);
|
|
3127
|
+
_define_property2(this, "string", void 0);
|
|
3128
|
+
_define_property2(this, "number", void 0);
|
|
3129
|
+
_define_property2(this, "array", void 0);
|
|
3130
|
+
_define_property2(this, "enum", void 0);
|
|
3131
|
+
_define_property2(this, "empty", void 0);
|
|
3132
|
+
_define_property2(this, "minLength", void 0);
|
|
3133
|
+
_define_property2(this, "noAdditionalProperties", void 0);
|
|
3134
|
+
_define_property2(this, "each", void 0);
|
|
3135
|
+
this.obj = obj;
|
|
3136
|
+
this.path = path;
|
|
3137
|
+
this._errors = [];
|
|
3138
|
+
this.catch = function() {
|
|
3139
|
+
for (var _len = arguments.length, errors = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
3140
|
+
errors[_key] = arguments[_key];
|
|
3141
|
+
}
|
|
3142
|
+
var _this__errors;
|
|
3143
|
+
(_this__errors = _this1._errors).push.apply(_this__errors, _to_consumable_array3(errors));
|
|
3144
|
+
};
|
|
3145
|
+
this.exists = function(key) {
|
|
3146
|
+
if (key in _this.obj) {
|
|
3147
|
+
return true;
|
|
3148
|
+
}
|
|
3149
|
+
_this.catch(requiredPropertyError({
|
|
3150
|
+
property: key,
|
|
3151
|
+
path: _this.path.of(key)
|
|
3152
|
+
}));
|
|
3153
|
+
return false;
|
|
3154
|
+
};
|
|
3155
|
+
this.object = function(key) {
|
|
3156
|
+
var value = key ? _this.obj[key] : _this.obj;
|
|
3157
|
+
if (key) {
|
|
3158
|
+
if (!_this.exists(key)) {
|
|
3159
|
+
return false;
|
|
3160
|
+
}
|
|
3161
|
+
}
|
|
3162
|
+
if ((0, import_is_plain_obj.default)(value)) {
|
|
3163
|
+
return true;
|
|
3164
|
+
}
|
|
3165
|
+
var _$path = key ? _this.path.of(key) : _this.path;
|
|
3166
|
+
var _ref;
|
|
3167
|
+
var property = (_ref = key !== null && key !== void 0 ? key : _this.path.last()) !== null && _ref !== void 0 ? _ref : "value";
|
|
3168
|
+
_this.catch(typeMismatchError({
|
|
3169
|
+
typeName: "Object",
|
|
3170
|
+
property,
|
|
3171
|
+
path: _$path,
|
|
3172
|
+
value
|
|
3173
|
+
}));
|
|
3174
|
+
return false;
|
|
3175
|
+
};
|
|
3176
|
+
this.string = function(key) {
|
|
3177
|
+
var value = _this.obj[key];
|
|
3178
|
+
if (key && !_this.exists(key)) {
|
|
3179
|
+
return false;
|
|
3180
|
+
}
|
|
3181
|
+
if (typeof value === "string") {
|
|
3182
|
+
return true;
|
|
3183
|
+
}
|
|
3184
|
+
_this.catch(typeMismatchError({
|
|
3185
|
+
typeName: "String",
|
|
3186
|
+
property: key,
|
|
3187
|
+
path: _this.path.of(key),
|
|
3188
|
+
value
|
|
3189
|
+
}));
|
|
3190
|
+
return false;
|
|
3191
|
+
};
|
|
3192
|
+
this.number = function(key, optional) {
|
|
3193
|
+
var value = _this.obj[key];
|
|
3194
|
+
if (optional && !(key in _this.obj)) {
|
|
3195
|
+
return true;
|
|
3196
|
+
}
|
|
3197
|
+
if (!_this.exists(key)) {
|
|
3198
|
+
return false;
|
|
3199
|
+
}
|
|
3200
|
+
if (typeof value === "number" && !Number.isNaN(value)) {
|
|
3201
|
+
return true;
|
|
3202
|
+
}
|
|
3203
|
+
_this.catch(typeMismatchError({
|
|
3204
|
+
typeName: "Number",
|
|
3205
|
+
property: key,
|
|
3206
|
+
path: _this.path.of(key),
|
|
3207
|
+
value
|
|
3208
|
+
}));
|
|
3209
|
+
return false;
|
|
3210
|
+
};
|
|
3211
|
+
this.array = function(key) {
|
|
3212
|
+
var value = _this.obj[key];
|
|
3213
|
+
if (key && !_this.exists(key)) {
|
|
3214
|
+
return false;
|
|
3215
|
+
}
|
|
3216
|
+
if (Array.isArray(value)) {
|
|
3217
|
+
return true;
|
|
3218
|
+
}
|
|
3219
|
+
_this.catch(typeMismatchError({
|
|
3220
|
+
typeName: "Array",
|
|
3221
|
+
property: key,
|
|
3222
|
+
path: _this.path.of(key),
|
|
3223
|
+
value
|
|
3224
|
+
}));
|
|
3225
|
+
return false;
|
|
3226
|
+
};
|
|
3227
|
+
this.enum = function(key, expected) {
|
|
3228
|
+
var value = _this.obj[key];
|
|
3229
|
+
if (typeof value === "string" && expected.includes(value)) {
|
|
3230
|
+
return true;
|
|
3231
|
+
}
|
|
3232
|
+
_this.catch(enumError({
|
|
3233
|
+
expected,
|
|
3234
|
+
value,
|
|
3235
|
+
path: _this.path.of(key)
|
|
3236
|
+
}));
|
|
3237
|
+
return false;
|
|
3238
|
+
};
|
|
3239
|
+
this.empty = function(key) {
|
|
3240
|
+
if (!_this.array(key)) {
|
|
3241
|
+
return false;
|
|
1116
3242
|
}
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
className,
|
|
1124
|
-
style,
|
|
3243
|
+
var value = _this.obj[key];
|
|
3244
|
+
if (value.length === 0) {
|
|
3245
|
+
return true;
|
|
3246
|
+
}
|
|
3247
|
+
_this.catch(maxSizeError({
|
|
3248
|
+
max: 0,
|
|
1125
3249
|
value,
|
|
1126
|
-
|
|
1127
|
-
|
|
3250
|
+
path: _this.path.of(key)
|
|
3251
|
+
}));
|
|
3252
|
+
return false;
|
|
3253
|
+
};
|
|
3254
|
+
this.minLength = function(key, min) {
|
|
3255
|
+
if (!_this.array(key)) {
|
|
3256
|
+
return false;
|
|
1128
3257
|
}
|
|
1129
|
-
|
|
3258
|
+
var value = _this.obj[key];
|
|
3259
|
+
if (value.length >= min) {
|
|
3260
|
+
return true;
|
|
3261
|
+
}
|
|
3262
|
+
_this.catch(minSizeError({
|
|
3263
|
+
min,
|
|
3264
|
+
value,
|
|
3265
|
+
path: _this.path.of(key)
|
|
3266
|
+
}));
|
|
3267
|
+
return false;
|
|
3268
|
+
};
|
|
3269
|
+
this.noAdditionalProperties = function(properties) {
|
|
3270
|
+
var unknowns = Object.keys(_this.obj).sort().filter(function(key) {
|
|
3271
|
+
return !properties.includes(key);
|
|
3272
|
+
});
|
|
3273
|
+
unknowns.forEach(function(property) {
|
|
3274
|
+
return _this.catch(unknownPropertyError({
|
|
3275
|
+
property,
|
|
3276
|
+
path: _this.path.of(property)
|
|
3277
|
+
}));
|
|
3278
|
+
});
|
|
3279
|
+
return unknowns.length === 0;
|
|
3280
|
+
};
|
|
3281
|
+
this.each = function(key, assert2) {
|
|
3282
|
+
if (!_this.array(key)) {
|
|
3283
|
+
return;
|
|
3284
|
+
}
|
|
3285
|
+
var value = _this.obj[key];
|
|
3286
|
+
var foundErrors = false;
|
|
3287
|
+
value.forEach(function(item, index) {
|
|
3288
|
+
if (foundErrors) {
|
|
3289
|
+
return;
|
|
3290
|
+
}
|
|
3291
|
+
var errors = assert2(item, _this.path.of(key).of(index));
|
|
3292
|
+
if (errors.length > 0) {
|
|
3293
|
+
foundErrors = true;
|
|
3294
|
+
}
|
|
3295
|
+
_this.catch.apply(_this, _to_consumable_array3(errors));
|
|
3296
|
+
});
|
|
3297
|
+
};
|
|
1130
3298
|
}
|
|
1131
|
-
|
|
1132
|
-
BrandLogoFallback,
|
|
3299
|
+
_create_class(ObjectAssertion2, [
|
|
1133
3300
|
{
|
|
1134
|
-
|
|
1135
|
-
|
|
3301
|
+
key: "errors",
|
|
3302
|
+
get: function get() {
|
|
3303
|
+
var _this = this;
|
|
3304
|
+
var serializeError = function(error) {
|
|
3305
|
+
return JSON.stringify({
|
|
3306
|
+
details: error.details,
|
|
3307
|
+
path: error.path
|
|
3308
|
+
});
|
|
3309
|
+
};
|
|
3310
|
+
return this._errors.filter(function(error, index) {
|
|
3311
|
+
return _this._errors.findIndex(function(step) {
|
|
3312
|
+
return serializeError(error) === serializeError(step);
|
|
3313
|
+
}) === index;
|
|
3314
|
+
});
|
|
3315
|
+
}
|
|
3316
|
+
}
|
|
3317
|
+
]);
|
|
3318
|
+
return ObjectAssertion2;
|
|
3319
|
+
})();
|
|
3320
|
+
|
|
3321
|
+
// node_modules/@contentful/rich-text-types/dist/esm/validator/node.js
|
|
3322
|
+
function _array_like_to_array4(arr, len) {
|
|
3323
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3324
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
3325
|
+
return arr2;
|
|
3326
|
+
}
|
|
3327
|
+
function _array_without_holes4(arr) {
|
|
3328
|
+
if (Array.isArray(arr)) return _array_like_to_array4(arr);
|
|
3329
|
+
}
|
|
3330
|
+
function _assert_this_initialized(self) {
|
|
3331
|
+
if (self === void 0) {
|
|
3332
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3333
|
+
}
|
|
3334
|
+
return self;
|
|
3335
|
+
}
|
|
3336
|
+
function _call_super(_this, derived, args) {
|
|
3337
|
+
derived = _get_prototype_of(derived);
|
|
3338
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
3339
|
+
}
|
|
3340
|
+
function _class_call_check2(instance, Constructor) {
|
|
3341
|
+
if (!(instance instanceof Constructor)) {
|
|
3342
|
+
throw new TypeError("Cannot call a class as a function");
|
|
3343
|
+
}
|
|
3344
|
+
}
|
|
3345
|
+
function _defineProperties2(target, props) {
|
|
3346
|
+
for (var i = 0; i < props.length; i++) {
|
|
3347
|
+
var descriptor = props[i];
|
|
3348
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
3349
|
+
descriptor.configurable = true;
|
|
3350
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
3351
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
function _create_class2(Constructor, protoProps, staticProps) {
|
|
3355
|
+
if (protoProps) _defineProperties2(Constructor.prototype, protoProps);
|
|
3356
|
+
if (staticProps) _defineProperties2(Constructor, staticProps);
|
|
3357
|
+
return Constructor;
|
|
3358
|
+
}
|
|
3359
|
+
function _define_property3(obj, key, value) {
|
|
3360
|
+
if (key in obj) {
|
|
3361
|
+
Object.defineProperty(obj, key, {
|
|
1136
3362
|
value,
|
|
1137
|
-
|
|
3363
|
+
enumerable: true,
|
|
3364
|
+
configurable: true,
|
|
3365
|
+
writable: true
|
|
3366
|
+
});
|
|
3367
|
+
} else {
|
|
3368
|
+
obj[key] = value;
|
|
3369
|
+
}
|
|
3370
|
+
return obj;
|
|
3371
|
+
}
|
|
3372
|
+
function _get_prototype_of(o) {
|
|
3373
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o2) {
|
|
3374
|
+
return o2.__proto__ || Object.getPrototypeOf(o2);
|
|
3375
|
+
};
|
|
3376
|
+
return _get_prototype_of(o);
|
|
3377
|
+
}
|
|
3378
|
+
function _inherits(subClass, superClass) {
|
|
3379
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
3380
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
3381
|
+
}
|
|
3382
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
3383
|
+
constructor: {
|
|
3384
|
+
value: subClass,
|
|
3385
|
+
writable: true,
|
|
3386
|
+
configurable: true
|
|
1138
3387
|
}
|
|
1139
|
-
);
|
|
3388
|
+
});
|
|
3389
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
3390
|
+
}
|
|
3391
|
+
function _iterable_to_array4(iter) {
|
|
3392
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
3393
|
+
}
|
|
3394
|
+
function _non_iterable_spread4() {
|
|
3395
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3396
|
+
}
|
|
3397
|
+
function _possible_constructor_return(self, call) {
|
|
3398
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
3399
|
+
return call;
|
|
3400
|
+
}
|
|
3401
|
+
return _assert_this_initialized(self);
|
|
3402
|
+
}
|
|
3403
|
+
function _set_prototype_of(o, p) {
|
|
3404
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o2, p2) {
|
|
3405
|
+
o2.__proto__ = p2;
|
|
3406
|
+
return o2;
|
|
3407
|
+
};
|
|
3408
|
+
return _set_prototype_of(o, p);
|
|
3409
|
+
}
|
|
3410
|
+
function _to_consumable_array4(arr) {
|
|
3411
|
+
return _array_without_holes4(arr) || _iterable_to_array4(arr) || _unsupported_iterable_to_array4(arr) || _non_iterable_spread4();
|
|
3412
|
+
}
|
|
3413
|
+
function _type_of(obj) {
|
|
3414
|
+
"@swc/helpers - typeof";
|
|
3415
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
3416
|
+
}
|
|
3417
|
+
function _unsupported_iterable_to_array4(o, minLen) {
|
|
3418
|
+
if (!o) return;
|
|
3419
|
+
if (typeof o === "string") return _array_like_to_array4(o, minLen);
|
|
3420
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3421
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
3422
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
3423
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array4(o, minLen);
|
|
3424
|
+
}
|
|
3425
|
+
function _is_native_reflect_construct() {
|
|
3426
|
+
try {
|
|
3427
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
3428
|
+
}));
|
|
3429
|
+
} catch (_) {
|
|
3430
|
+
}
|
|
3431
|
+
return (_is_native_reflect_construct = function() {
|
|
3432
|
+
return !!result;
|
|
3433
|
+
})();
|
|
3434
|
+
}
|
|
3435
|
+
var VOID_CONTENT = [];
|
|
3436
|
+
var NodeAssertion = /* @__PURE__ */ (function() {
|
|
3437
|
+
"use strict";
|
|
3438
|
+
function NodeAssertion2(contentRule, validateData) {
|
|
3439
|
+
_class_call_check2(this, NodeAssertion2);
|
|
3440
|
+
_define_property3(this, "contentRule", void 0);
|
|
3441
|
+
_define_property3(this, "validateData", void 0);
|
|
3442
|
+
this.contentRule = contentRule;
|
|
3443
|
+
this.validateData = validateData;
|
|
3444
|
+
}
|
|
3445
|
+
_create_class2(NodeAssertion2, [
|
|
3446
|
+
{
|
|
3447
|
+
key: "assert",
|
|
3448
|
+
value: function assert2(node, path) {
|
|
3449
|
+
var $ = new ObjectAssertion(node, path);
|
|
3450
|
+
if (!$.object()) {
|
|
3451
|
+
return $.errors;
|
|
3452
|
+
}
|
|
3453
|
+
$.noAdditionalProperties([
|
|
3454
|
+
"nodeType",
|
|
3455
|
+
"data",
|
|
3456
|
+
"content"
|
|
3457
|
+
]);
|
|
3458
|
+
var _ref = Array.isArray(this.contentRule) ? {
|
|
3459
|
+
nodeTypes: this.contentRule
|
|
3460
|
+
} : this.contentRule(node, path), nodeTypes = _ref.nodeTypes, _ref_min = _ref.min, min = _ref_min === void 0 ? 0 : _ref_min;
|
|
3461
|
+
if (nodeTypes.length === 0 && min > 0) {
|
|
3462
|
+
throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(min, " with no nodeTypes"));
|
|
3463
|
+
}
|
|
3464
|
+
$.minLength("content", min);
|
|
3465
|
+
if (nodeTypes.length === 0) {
|
|
3466
|
+
$.empty("content");
|
|
3467
|
+
} else {
|
|
3468
|
+
$.each("content", function(item, path2) {
|
|
3469
|
+
var item$ = new ObjectAssertion(item, path2);
|
|
3470
|
+
if (!item$.object()) {
|
|
3471
|
+
return item$.errors;
|
|
3472
|
+
}
|
|
3473
|
+
item$.enum("nodeType", nodeTypes);
|
|
3474
|
+
return item$.errors;
|
|
3475
|
+
});
|
|
3476
|
+
}
|
|
3477
|
+
if ($.object("data")) {
|
|
3478
|
+
var _$;
|
|
3479
|
+
var _this_validateData, _this;
|
|
3480
|
+
var _this_validateData1;
|
|
3481
|
+
var dataErrors = (_this_validateData1 = (_this_validateData = (_this = this).validateData) === null || _this_validateData === void 0 ? void 0 : _this_validateData.call(_this, node.data, path.of("data"))) !== null && _this_validateData1 !== void 0 ? _this_validateData1 : [];
|
|
3482
|
+
(_$ = $).catch.apply(_$, _to_consumable_array4(dataErrors));
|
|
3483
|
+
}
|
|
3484
|
+
return $.errors;
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
3487
|
+
]);
|
|
3488
|
+
return NodeAssertion2;
|
|
3489
|
+
})();
|
|
3490
|
+
var EntityLinkAssertion = /* @__PURE__ */ (function(NodeAssertion2) {
|
|
3491
|
+
"use strict";
|
|
3492
|
+
_inherits(EntityLinkAssertion2, NodeAssertion2);
|
|
3493
|
+
function EntityLinkAssertion2(linkType, contentNodeTypes) {
|
|
3494
|
+
_class_call_check2(this, EntityLinkAssertion2);
|
|
3495
|
+
var _this;
|
|
3496
|
+
_this = _call_super(this, EntityLinkAssertion2, [
|
|
3497
|
+
contentNodeTypes,
|
|
3498
|
+
function(data, path) {
|
|
3499
|
+
return _assert_this_initialized(_this).assertLink(data, path);
|
|
3500
|
+
}
|
|
3501
|
+
]), _define_property3(_this, "linkType", void 0), _define_property3(_this, "type", void 0), _define_property3(_this, "assertLink", void 0), _this.linkType = linkType, _this.assertLink = function(data, path) {
|
|
3502
|
+
var $ = new ObjectAssertion(data, path);
|
|
3503
|
+
if ($.object("target")) {
|
|
3504
|
+
var _$;
|
|
3505
|
+
var sys$ = new ObjectAssertion(data.target.sys, path.of("target").of("sys"));
|
|
3506
|
+
if (sys$.object()) {
|
|
3507
|
+
sys$.enum("type", [
|
|
3508
|
+
_this.type
|
|
3509
|
+
]);
|
|
3510
|
+
sys$.enum("linkType", [
|
|
3511
|
+
_this.linkType
|
|
3512
|
+
]);
|
|
3513
|
+
if (_this.type === "Link") {
|
|
3514
|
+
sys$.string("id");
|
|
3515
|
+
sys$.noAdditionalProperties([
|
|
3516
|
+
"type",
|
|
3517
|
+
"linkType",
|
|
3518
|
+
"id"
|
|
3519
|
+
]);
|
|
3520
|
+
} else if (_this.type === "ResourceLink") {
|
|
3521
|
+
sys$.string("urn");
|
|
3522
|
+
sys$.noAdditionalProperties([
|
|
3523
|
+
"type",
|
|
3524
|
+
"linkType",
|
|
3525
|
+
"urn"
|
|
3526
|
+
]);
|
|
3527
|
+
}
|
|
3528
|
+
}
|
|
3529
|
+
(_$ = $).catch.apply(_$, _to_consumable_array4(sys$.errors));
|
|
3530
|
+
}
|
|
3531
|
+
$.noAdditionalProperties([
|
|
3532
|
+
"target"
|
|
3533
|
+
]);
|
|
3534
|
+
return $.errors;
|
|
3535
|
+
};
|
|
3536
|
+
_this.type = _this.linkType.startsWith("Contentful:") ? "ResourceLink" : "Link";
|
|
3537
|
+
return _this;
|
|
3538
|
+
}
|
|
3539
|
+
return EntityLinkAssertion2;
|
|
3540
|
+
})(NodeAssertion);
|
|
3541
|
+
var HyperLinkAssertion = /* @__PURE__ */ (function(NodeAssertion2) {
|
|
3542
|
+
"use strict";
|
|
3543
|
+
_inherits(HyperLinkAssertion2, NodeAssertion2);
|
|
3544
|
+
function HyperLinkAssertion2() {
|
|
3545
|
+
_class_call_check2(this, HyperLinkAssertion2);
|
|
3546
|
+
var _this;
|
|
3547
|
+
_this = _call_super(this, HyperLinkAssertion2, [
|
|
3548
|
+
[
|
|
3549
|
+
"text"
|
|
3550
|
+
],
|
|
3551
|
+
function(data, path) {
|
|
3552
|
+
return _assert_this_initialized(_this).assertLink(data, path);
|
|
3553
|
+
}
|
|
3554
|
+
]), _define_property3(_this, "assertLink", function(data, path) {
|
|
3555
|
+
var $ = new ObjectAssertion(data, path);
|
|
3556
|
+
$.string("uri");
|
|
3557
|
+
$.noAdditionalProperties([
|
|
3558
|
+
"uri"
|
|
3559
|
+
]);
|
|
3560
|
+
return $.errors;
|
|
3561
|
+
});
|
|
3562
|
+
return _this;
|
|
3563
|
+
}
|
|
3564
|
+
return HyperLinkAssertion2;
|
|
3565
|
+
})(NodeAssertion);
|
|
3566
|
+
var assert = function(contentRule, validateData) {
|
|
3567
|
+
return new NodeAssertion(contentRule, validateData);
|
|
3568
|
+
};
|
|
3569
|
+
var assertLink = function(linkType, contentRule) {
|
|
3570
|
+
return new EntityLinkAssertion(linkType, contentRule);
|
|
1140
3571
|
};
|
|
1141
|
-
var BrandLogo_default = BrandLogo;
|
|
1142
|
-
|
|
1143
|
-
// src/components/Banner/Banner.tsx
|
|
1144
|
-
var import_clsx5 = __toESM(require("clsx"));
|
|
1145
3572
|
|
|
1146
|
-
//
|
|
1147
|
-
|
|
3573
|
+
// node_modules/@contentful/rich-text-types/dist/esm/validator/index.js
|
|
3574
|
+
function _array_like_to_array5(arr, len) {
|
|
3575
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3576
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
3577
|
+
return arr2;
|
|
3578
|
+
}
|
|
3579
|
+
function _array_without_holes5(arr) {
|
|
3580
|
+
if (Array.isArray(arr)) return _array_like_to_array5(arr);
|
|
3581
|
+
}
|
|
3582
|
+
function _define_property4(obj, key, value) {
|
|
3583
|
+
if (key in obj) {
|
|
3584
|
+
Object.defineProperty(obj, key, {
|
|
3585
|
+
value,
|
|
3586
|
+
enumerable: true,
|
|
3587
|
+
configurable: true,
|
|
3588
|
+
writable: true
|
|
3589
|
+
});
|
|
3590
|
+
} else {
|
|
3591
|
+
obj[key] = value;
|
|
3592
|
+
}
|
|
3593
|
+
return obj;
|
|
3594
|
+
}
|
|
3595
|
+
function _iterable_to_array5(iter) {
|
|
3596
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
3597
|
+
}
|
|
3598
|
+
function _non_iterable_spread5() {
|
|
3599
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3600
|
+
}
|
|
3601
|
+
function _to_consumable_array5(arr) {
|
|
3602
|
+
return _array_without_holes5(arr) || _iterable_to_array5(arr) || _unsupported_iterable_to_array5(arr) || _non_iterable_spread5();
|
|
3603
|
+
}
|
|
3604
|
+
function _unsupported_iterable_to_array5(o, minLen) {
|
|
3605
|
+
if (!o) return;
|
|
3606
|
+
if (typeof o === "string") return _array_like_to_array5(o, minLen);
|
|
3607
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3608
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
3609
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
3610
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array5(o, minLen);
|
|
3611
|
+
}
|
|
3612
|
+
var assertInlineOrText = assert(_to_consumable_array5(Object.values(INLINES)).concat([
|
|
3613
|
+
"text"
|
|
3614
|
+
]).sort());
|
|
3615
|
+
var assertList = assert([
|
|
3616
|
+
BLOCKS.LIST_ITEM
|
|
3617
|
+
]);
|
|
3618
|
+
var assertVoidEntryLink = assertLink("Entry", VOID_CONTENT);
|
|
3619
|
+
var assertTableCell = assert(function() {
|
|
3620
|
+
return {
|
|
3621
|
+
nodeTypes: [
|
|
3622
|
+
BLOCKS.PARAGRAPH
|
|
3623
|
+
],
|
|
3624
|
+
min: 1
|
|
3625
|
+
};
|
|
3626
|
+
}, function(data, path) {
|
|
3627
|
+
var $ = new ObjectAssertion(data, path);
|
|
3628
|
+
$.noAdditionalProperties([
|
|
3629
|
+
"colspan",
|
|
3630
|
+
"rowspan"
|
|
3631
|
+
]);
|
|
3632
|
+
$.number("colspan", true);
|
|
3633
|
+
$.number("rowspan", true);
|
|
3634
|
+
return $.errors;
|
|
3635
|
+
});
|
|
3636
|
+
var _obj2;
|
|
3637
|
+
var nodeValidator = (_obj2 = {}, _define_property4(_obj2, BLOCKS.DOCUMENT, assert(TOP_LEVEL_BLOCKS)), _define_property4(_obj2, BLOCKS.PARAGRAPH, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_1, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_2, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_3, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_4, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_5, assertInlineOrText), _define_property4(_obj2, BLOCKS.HEADING_6, assertInlineOrText), _define_property4(_obj2, BLOCKS.QUOTE, assert(CONTAINERS[BLOCKS.QUOTE])), _define_property4(_obj2, BLOCKS.EMBEDDED_ENTRY, assertVoidEntryLink), _define_property4(_obj2, BLOCKS.EMBEDDED_ASSET, assertLink("Asset", VOID_CONTENT)), _define_property4(_obj2, BLOCKS.EMBEDDED_RESOURCE, assertLink("Contentful:Entry", VOID_CONTENT)), _define_property4(_obj2, BLOCKS.HR, assert(VOID_CONTENT)), _define_property4(_obj2, BLOCKS.OL_LIST, assertList), _define_property4(_obj2, BLOCKS.UL_LIST, assertList), _define_property4(_obj2, BLOCKS.LIST_ITEM, assert(_to_consumable_array5(LIST_ITEM_BLOCKS).sort())), _define_property4(_obj2, BLOCKS.TABLE, assert(function() {
|
|
3638
|
+
return {
|
|
3639
|
+
nodeTypes: [
|
|
3640
|
+
BLOCKS.TABLE_ROW
|
|
3641
|
+
],
|
|
3642
|
+
min: 1
|
|
3643
|
+
};
|
|
3644
|
+
})), _define_property4(_obj2, BLOCKS.TABLE_ROW, assert(function() {
|
|
3645
|
+
return {
|
|
3646
|
+
nodeTypes: [
|
|
3647
|
+
BLOCKS.TABLE_CELL,
|
|
3648
|
+
BLOCKS.TABLE_HEADER_CELL
|
|
3649
|
+
],
|
|
3650
|
+
min: 1
|
|
3651
|
+
};
|
|
3652
|
+
})), _define_property4(_obj2, BLOCKS.TABLE_CELL, assertTableCell), _define_property4(_obj2, BLOCKS.TABLE_HEADER_CELL, assertTableCell), _define_property4(_obj2, INLINES.HYPERLINK, new HyperLinkAssertion()), _define_property4(_obj2, INLINES.EMBEDDED_ENTRY, assertVoidEntryLink), _define_property4(_obj2, INLINES.EMBEDDED_RESOURCE, assertLink("Contentful:Entry", VOID_CONTENT)), _define_property4(_obj2, INLINES.ENTRY_HYPERLINK, assertLink("Entry", [
|
|
3653
|
+
"text"
|
|
3654
|
+
])), _define_property4(_obj2, INLINES.ASSET_HYPERLINK, assertLink("Asset", [
|
|
3655
|
+
"text"
|
|
3656
|
+
])), _define_property4(_obj2, INLINES.RESOURCE_HYPERLINK, assertLink("Contentful:Entry", [
|
|
3657
|
+
"text"
|
|
3658
|
+
])), _obj2);
|
|
1148
3659
|
|
|
1149
3660
|
// src/utils/renderContentfulNode.tsx
|
|
1150
|
-
var import_rich_text_types = require("@contentful/rich-text-types");
|
|
1151
3661
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
1152
3662
|
var isExternalLink = (url) => {
|
|
1153
3663
|
const appDomain = "enjanga.com";
|
|
@@ -1155,48 +3665,48 @@ var isExternalLink = (url) => {
|
|
|
1155
3665
|
};
|
|
1156
3666
|
var renderContentfulNode = (node, key, options = {}) => {
|
|
1157
3667
|
switch (node.nodeType) {
|
|
1158
|
-
case
|
|
3668
|
+
case BLOCKS.PARAGRAPH: {
|
|
1159
3669
|
const paragraph = node;
|
|
1160
3670
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { children: paragraph.content.map(
|
|
1161
3671
|
(child, i) => renderContentfulNode(child, `${key}-p-${i}`, options)
|
|
1162
3672
|
) }, key);
|
|
1163
3673
|
}
|
|
1164
|
-
case
|
|
1165
|
-
case
|
|
1166
|
-
case
|
|
1167
|
-
const HeadingTag = node.nodeType ===
|
|
3674
|
+
case BLOCKS.HEADING_1:
|
|
3675
|
+
case BLOCKS.HEADING_2:
|
|
3676
|
+
case BLOCKS.HEADING_3: {
|
|
3677
|
+
const HeadingTag = node.nodeType === BLOCKS.HEADING_1 ? "h1" : node.nodeType === BLOCKS.HEADING_2 ? "h2" : "h3";
|
|
1168
3678
|
const heading = node;
|
|
1169
3679
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(HeadingTag, { children: heading.content.map(
|
|
1170
3680
|
(child, i) => renderContentfulNode(child, `${key}-h-${i}`, options)
|
|
1171
3681
|
) }, key);
|
|
1172
3682
|
}
|
|
1173
|
-
case
|
|
3683
|
+
case BLOCKS.UL_LIST: {
|
|
1174
3684
|
const list = node;
|
|
1175
3685
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { children: list.content.map(
|
|
1176
3686
|
(child, i) => renderContentfulNode(child, `${key}-ul-${i}`, options)
|
|
1177
3687
|
) }, key);
|
|
1178
3688
|
}
|
|
1179
|
-
case
|
|
3689
|
+
case BLOCKS.OL_LIST: {
|
|
1180
3690
|
const list = node;
|
|
1181
3691
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ol", { children: list.content.map(
|
|
1182
3692
|
(child, i) => renderContentfulNode(child, `${key}-ol-${i}`, options)
|
|
1183
3693
|
) }, key);
|
|
1184
3694
|
}
|
|
1185
|
-
case
|
|
3695
|
+
case BLOCKS.LIST_ITEM: {
|
|
1186
3696
|
const listItem = node;
|
|
1187
3697
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("li", { children: listItem.content.map(
|
|
1188
3698
|
(child, i) => renderContentfulNode(child, `${key}-li-${i}`, options)
|
|
1189
3699
|
) }, key);
|
|
1190
3700
|
}
|
|
1191
|
-
case
|
|
3701
|
+
case BLOCKS.QUOTE: {
|
|
1192
3702
|
const blockquote = node;
|
|
1193
3703
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("blockquote", { children: blockquote.content.map(
|
|
1194
3704
|
(child, i) => renderContentfulNode(child, `${key}-quote-${i}`, options)
|
|
1195
3705
|
) }, key);
|
|
1196
3706
|
}
|
|
1197
|
-
case
|
|
3707
|
+
case BLOCKS.HR:
|
|
1198
3708
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("hr", {}, key);
|
|
1199
|
-
case
|
|
3709
|
+
case BLOCKS.EMBEDDED_ASSET: {
|
|
1200
3710
|
const assetId = node.data?.target?.sys?.id || "";
|
|
1201
3711
|
const asset = options.assets?.[assetId];
|
|
1202
3712
|
if (!asset) return null;
|
|
@@ -1205,7 +3715,7 @@ var renderContentfulNode = (node, key, options = {}) => {
|
|
|
1205
3715
|
asset.title && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("figcaption", { children: asset.title })
|
|
1206
3716
|
] }, key);
|
|
1207
3717
|
}
|
|
1208
|
-
case
|
|
3718
|
+
case INLINES.HYPERLINK: {
|
|
1209
3719
|
const link = node;
|
|
1210
3720
|
const uri = link.data.uri;
|
|
1211
3721
|
const isExternal = isExternalLink(uri);
|
|
@@ -1234,13 +3744,13 @@ var renderContentfulNode = (node, key, options = {}) => {
|
|
|
1234
3744
|
if (textNode.marks?.length) {
|
|
1235
3745
|
textNode.marks.forEach((mark) => {
|
|
1236
3746
|
switch (mark.type) {
|
|
1237
|
-
case
|
|
3747
|
+
case MARKS.BOLD:
|
|
1238
3748
|
textElement = /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("strong", { children: textElement }, `${key}-bold`);
|
|
1239
3749
|
break;
|
|
1240
|
-
case
|
|
3750
|
+
case MARKS.ITALIC:
|
|
1241
3751
|
textElement = /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("em", { children: textElement }, `${key}-italic`);
|
|
1242
3752
|
break;
|
|
1243
|
-
case
|
|
3753
|
+
case MARKS.UNDERLINE:
|
|
1244
3754
|
textElement = /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("u", { children: textElement }, `${key}-underline`);
|
|
1245
3755
|
break;
|
|
1246
3756
|
}
|
|
@@ -1559,7 +4069,7 @@ var Banner_default = Banner;
|
|
|
1559
4069
|
var import_react14 = require("react");
|
|
1560
4070
|
var import_react15 = require("@carbon/react");
|
|
1561
4071
|
|
|
1562
|
-
// node_modules/@carbon/
|
|
4072
|
+
// node_modules/@carbon/icon-helpers/es/index.js
|
|
1563
4073
|
function _defineProperty(e, r, t) {
|
|
1564
4074
|
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
1565
4075
|
value: t,
|
|
@@ -6903,7 +9413,7 @@ var BookmarkFilled = /* @__PURE__ */ import_react7.default.forwardRef(function B
|
|
|
6903
9413
|
if (process.env.NODE_ENV !== "production") {
|
|
6904
9414
|
BookmarkFilled.propTypes = iconPropTypes;
|
|
6905
9415
|
}
|
|
6906
|
-
var
|
|
9416
|
+
var Boolean2 = /* @__PURE__ */ import_react7.default.forwardRef(function Boolean3({
|
|
6907
9417
|
children,
|
|
6908
9418
|
size = 16,
|
|
6909
9419
|
...rest
|
|
@@ -6925,7 +9435,7 @@ var Boolean = /* @__PURE__ */ import_react7.default.forwardRef(function Boolean2
|
|
|
6925
9435
|
})), children);
|
|
6926
9436
|
});
|
|
6927
9437
|
if (process.env.NODE_ENV !== "production") {
|
|
6928
|
-
|
|
9438
|
+
Boolean2.propTypes = iconPropTypes;
|
|
6929
9439
|
}
|
|
6930
9440
|
var Boot = /* @__PURE__ */ import_react7.default.forwardRef(function Boot2({
|
|
6931
9441
|
children,
|
|
@@ -21056,8 +23566,308 @@ var ContactButton_default = ContactButton;
|
|
|
21056
23566
|
// src/components/CustomPictogram/CustomPictogram.tsx
|
|
21057
23567
|
var import_clsx6 = __toESM(require("clsx"));
|
|
21058
23568
|
|
|
21059
|
-
//
|
|
21060
|
-
var
|
|
23569
|
+
// node_modules/@carbon/pictograms-react/es/Icon.js
|
|
23570
|
+
var import_prop_types3 = __toESM(require_prop_types());
|
|
23571
|
+
var import_react16 = __toESM(require("react"));
|
|
23572
|
+
var Icon3 = /* @__PURE__ */ import_react16.default.forwardRef(function Icon4({
|
|
23573
|
+
className,
|
|
23574
|
+
children,
|
|
23575
|
+
tabIndex,
|
|
23576
|
+
xmlns = "http://www.w3.org/2000/svg",
|
|
23577
|
+
preserveAspectRatio = "xMidYMid meet",
|
|
23578
|
+
...rest
|
|
23579
|
+
}, ref) {
|
|
23580
|
+
const {
|
|
23581
|
+
tabindex,
|
|
23582
|
+
...attrs
|
|
23583
|
+
} = getAttributes({
|
|
23584
|
+
...rest,
|
|
23585
|
+
tabindex: tabIndex
|
|
23586
|
+
});
|
|
23587
|
+
const props = attrs;
|
|
23588
|
+
if (className) {
|
|
23589
|
+
props.className = className;
|
|
23590
|
+
}
|
|
23591
|
+
if (tabindex !== void 0 && tabindex !== null) {
|
|
23592
|
+
if (typeof tabindex === "number") {
|
|
23593
|
+
props.tabIndex = tabindex;
|
|
23594
|
+
} else {
|
|
23595
|
+
props.tabIndex = Number(tabIndex);
|
|
23596
|
+
}
|
|
23597
|
+
}
|
|
23598
|
+
if (ref) {
|
|
23599
|
+
props.ref = ref;
|
|
23600
|
+
}
|
|
23601
|
+
if (xmlns) {
|
|
23602
|
+
props.xmlns = xmlns;
|
|
23603
|
+
}
|
|
23604
|
+
if (preserveAspectRatio) {
|
|
23605
|
+
props.preserveAspectRatio = preserveAspectRatio;
|
|
23606
|
+
}
|
|
23607
|
+
return /* @__PURE__ */ import_react16.default.createElement("svg", props, children);
|
|
23608
|
+
});
|
|
23609
|
+
Icon3.displayName = "Icon";
|
|
23610
|
+
Icon3.propTypes = {
|
|
23611
|
+
"aria-hidden": import_prop_types3.default.oneOfType([import_prop_types3.default.bool, import_prop_types3.default.oneOf(["true", "false"])]),
|
|
23612
|
+
"aria-label": import_prop_types3.default.string,
|
|
23613
|
+
"aria-labelledby": import_prop_types3.default.string,
|
|
23614
|
+
children: import_prop_types3.default.node,
|
|
23615
|
+
className: import_prop_types3.default.string,
|
|
23616
|
+
height: import_prop_types3.default.oneOfType([import_prop_types3.default.number, import_prop_types3.default.string]),
|
|
23617
|
+
preserveAspectRatio: import_prop_types3.default.string,
|
|
23618
|
+
tabIndex: import_prop_types3.default.oneOfType([import_prop_types3.default.number, import_prop_types3.default.string]),
|
|
23619
|
+
viewBox: import_prop_types3.default.string,
|
|
23620
|
+
width: import_prop_types3.default.oneOfType([import_prop_types3.default.number, import_prop_types3.default.string]),
|
|
23621
|
+
xmlns: import_prop_types3.default.string
|
|
23622
|
+
};
|
|
23623
|
+
|
|
23624
|
+
// node_modules/@carbon/pictograms-react/es/_rollupPluginBabelHelpers-CuCmpz4u.js
|
|
23625
|
+
function _extends() {
|
|
23626
|
+
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
23627
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
23628
|
+
var t = arguments[e];
|
|
23629
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
23630
|
+
}
|
|
23631
|
+
return n;
|
|
23632
|
+
}, _extends.apply(null, arguments);
|
|
23633
|
+
}
|
|
23634
|
+
|
|
23635
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-0.js
|
|
23636
|
+
var import_react17 = __toESM(require("react"));
|
|
23637
|
+
var _path547;
|
|
23638
|
+
var _path687;
|
|
23639
|
+
var _path1487;
|
|
23640
|
+
var AppDeveloper = /* @__PURE__ */ import_react17.default.forwardRef(function AppDeveloper2({ children, ...rest }, ref) {
|
|
23641
|
+
return /* @__PURE__ */ import_react17.default.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path547 || (_path547 = /* @__PURE__ */ import_react17.default.createElement("path", { d: "M3.254,9.254L2.746,8.746L3.991,7.5L2.746,6.254l0.509-0.509L5.009,7.5L3.254,9.254z M3,2 C2.724,2,2.5,2.224,2.5,2.5S2.724,3,3,3s0.5-0.224,0.5-0.5S3.276,2,3,2z M5.5,2.5C5.5,2.776,5.276,3,5,3S4.5,2.776,4.5,2.5 S4.724,2,5,2S5.5,2.224,5.5,2.5z M7.5,2.5C7.5,2.776,7.276,3,7,3S6.5,2.776,6.5,2.5S6.724,2,7,2S7.5,2.224,7.5,2.5z M18.5,6.5 C18.5,6.776,18.276,7,18,7s-0.5-0.224-0.5-0.5S17.724,6,18,6S18.5,6.224,18.5,6.5z M20.5,6.5C20.5,6.776,20.276,7,20,7 s-0.5-0.224-0.5-0.5S19.724,6,20,6S20.5,6.224,20.5,6.5z M22.5,6.5C22.5,6.776,22.276,7,22,7s-0.5-0.224-0.5-0.5S21.724,6,22,6 S22.5,6.224,22.5,6.5z M5.5,24.5C5.5,24.776,5.276,25,5,25s-0.5-0.224-0.5-0.5S4.724,24,5,24S5.5,24.224,5.5,24.5z M13,14.36H1 c-0.199,0-0.36-0.161-0.36-0.36V1c0-0.199,0.161-0.36,0.36-0.36h12c0.199,0,0.36,0.161,0.36,0.36v13 C13.36,14.199,13.199,14.36,13,14.36z M12.64,4.36H1.36v9.28h11.28C12.64,13.64,12.64,4.36,12.64,4.36z M12.64,1.36H1.36v2.281 h11.28C12.64,3.641,12.64,1.36,12.64,1.36z M31.36,5v17c0,0.199-0.161,0.36-0.36,0.36H19.691c-0.301,0.471-0.69,0.885-1.152,1.215 c2.875,1.05,4.819,3.778,4.819,6.902l0.002,0.521L22.639,31l-0.002-0.522c0-3.078-2.09-5.729-5.083-6.45 c-0.15-0.035-0.26-0.163-0.274-0.316s0.07-0.299,0.211-0.361c1.315-0.592,2.165-1.9,2.165-3.334c0-2.017-1.64-3.657-3.656-3.657 c-2.018,0-3.66,1.64-3.66,3.657c0,1.434,0.85,2.742,2.166,3.334c0.141,0.062,0.225,0.208,0.211,0.361s-0.125,0.281-0.274,0.316 c-2.993,0.721-5.084,3.372-5.084,6.449l0.001,0.521L8.64,31l-0.001-0.522c0-3.125,1.943-5.854,4.819-6.903 c-1.138-0.812-1.838-2.134-1.838-3.559c0-2.292,1.772-4.178,4.02-4.362V5c0-0.199,0.161-0.36,0.36-0.36h15 C31.199,4.64,31.36,4.801,31.36,5z M30.64,8.36H16.36v7.295c2.246,0.184,4.017,2.07,4.017,4.362c0,0.566-0.11,1.115-0.315,1.623 H30.64V8.36z M30.64,5.36H16.36v2.28h14.28V5.36z M22,11.64h-4v0.72h4V11.64z M23.64,17.5c0-1.577,1.283-2.86,2.86-2.86 s2.86,1.283,2.86,2.86s-1.283,2.86-2.86,2.86S23.64,19.077,23.64,17.5z M28.242,16.266l-1.383,1.383l-0.004,1.955 c1.01-0.171,1.784-1.046,1.784-2.104C28.64,17.04,28.49,16.615,28.242,16.266z M24.36,17.5c0,1.055,0.769,1.928,1.774,2.103 l0.006-2.253l1.592-1.593c-0.349-0.248-0.773-0.397-1.233-0.397C25.32,15.36,24.36,16.32,24.36,17.5z M8,9.64H5v0.72h3V9.64z M3.5,21.36h3v-0.72h-3V21.36z M3.5,19.36h3v-0.72h-3V19.36z M22,13.64h-4v0.72h4V13.64z M29,11.64h-4v0.72h4V11.64z M29,9.64h-4 v0.72h4V9.64z M22,9.64h-4v0.72h4V9.64z M8.36,17.584v7.832c0,0.521-0.423,0.944-0.944,0.944H2.584 c-0.521,0-0.944-0.424-0.944-0.944v-7.832c0-0.521,0.423-0.944,0.944-0.944h4.832C7.937,16.64,8.36,17.063,8.36,17.584z M7.64,23.36 H2.36v2.056c0,0.123,0.101,0.224,0.224,0.224h4.832c0.124,0,0.224-0.101,0.224-0.224C7.64,25.416,7.64,23.36,7.64,23.36z M7.64,17.584c0-0.123-0.101-0.224-0.224-0.224H2.584c-0.124,0-0.224,0.101-0.224,0.224v5.056h5.28 C7.64,22.64,7.64,17.584,7.64,17.584z" })), children);
|
|
23642
|
+
});
|
|
23643
|
+
var AssetManagement = /* @__PURE__ */ import_react17.default.forwardRef(function AssetManagement2({ children, ...rest }, ref) {
|
|
23644
|
+
return /* @__PURE__ */ import_react17.default.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path687 || (_path687 = /* @__PURE__ */ import_react17.default.createElement("path", { d: "M13.254,31.255l-0.509-0.51l1-1 c0.057-0.057,0.13-0.093,0.21-0.103l7.32-0.915c0.36-0.045,0.699-0.21,0.954-0.466l6.102-6.103c0.411-0.41,0.411-1.079,0-1.491 c-0.411-0.411-1.081-0.41-1.49,0.001l-6.207,5.046c-0.426,0.404-1.001,0.652-1.634,0.652h-5v-0.721h5 c0.397,0,0.763-0.141,1.048-0.374l-0.004-0.006l0.116-0.095c0.302-0.297,0.488-0.709,0.488-1.163c0-0.354-0.291-0.642-0.648-0.642 h-7.741v-0.721H20c0.755,0,1.369,0.61,1.369,1.36c0,0.063-0.003,0.127-0.008,0.188l4.998-4.061c0.663-0.666,1.79-0.667,2.48,0.024 c0.692,0.692,0.691,1.818,0.001,2.51l-6.102,6.102c-0.368,0.368-0.856,0.607-1.375,0.672l-7.197,0.899L13.254,31.255z M4.255,31.254 l-0.51-0.508l2.904-2.91c0.213-2.925,2.651-5.196,5.61-5.196v0.721c-2.622,0-4.774,2.043-4.9,4.651 c-0.004,0.089-0.042,0.174-0.104,0.236L4.255,31.254z M21,19.36H9c-0.199,0-0.36-0.161-0.36-0.36V4c0-0.199,0.161-0.36,0.36-0.36 h2.64V1c0-0.199,0.161-0.36,0.36-0.36h12c0.199,0,0.36,0.161,0.36,0.36v15c0,0.199-0.161,0.36-0.36,0.36h-2.64V19 C21.36,19.199,21.199,19.36,21,19.36z M9.36,18.64h11.28V8.36H17c-0.199,0-0.36-0.161-0.36-0.36V4.36H9.36V18.64z M21.36,15.64 h2.279V1.36H12.36v2.28H17c0.096,0,0.188,0.038,0.255,0.105l4,4C21.322,7.813,21.36,7.904,21.36,8V15.64z M17.36,7.64h2.771 L17.36,4.869V7.64z M19,15.36h-8v-0.72h8V15.36z M19,13.36h-8v-0.72h8V13.36z M19,11.36h-8v-0.72h8V11.36z" })), children);
|
|
23645
|
+
});
|
|
23646
|
+
var Carbon = /* @__PURE__ */ import_react17.default.forwardRef(function Carbon2({ children, ...rest }, ref) {
|
|
23647
|
+
return /* @__PURE__ */ import_react17.default.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path1487 || (_path1487 = /* @__PURE__ */ import_react17.default.createElement("path", { d: "M14,31.36c-0.062,0-0.124-0.017-0.18-0.048l-10-5.75 c-0.111-0.064-0.18-0.184-0.18-0.312v-11.5c0-0.129,0.069-0.248,0.18-0.312l10-5.75c0.111-0.064,0.248-0.064,0.359,0l10,5.75 c0.111,0.064,0.181,0.183,0.181,0.312v11.5c0,0.129-0.069,0.248-0.181,0.312l-10,5.75C14.124,31.344,14.062,31.36,14,31.36z M4.36,25.042L14,30.585l9.64-5.543V13.958L14,8.415l-9.64,5.543C4.36,13.958,4.36,25.042,4.36,25.042z M28.36,18h-0.72V6.958 L18,1.415L8.18,7.062L7.82,6.438l10-5.75c0.111-0.064,0.248-0.064,0.359,0l10,5.75C28.29,6.502,28.36,6.621,28.36,6.75 C28.36,6.75,28.36,18,28.36,18z" })), children);
|
|
23648
|
+
});
|
|
23649
|
+
|
|
23650
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-1.js
|
|
23651
|
+
var import_react18 = __toESM(require("react"));
|
|
23652
|
+
var _path920;
|
|
23653
|
+
var _path1520;
|
|
23654
|
+
var _path1307;
|
|
23655
|
+
var CodeExplanation = /* @__PURE__ */ import_react18.default.forwardRef(function CodeExplanation2({
|
|
23656
|
+
children,
|
|
23657
|
+
...rest
|
|
23658
|
+
}, ref) {
|
|
23659
|
+
return /* @__PURE__ */ import_react18.default.createElement(Icon3, _extends({
|
|
23660
|
+
width: 64,
|
|
23661
|
+
height: 64,
|
|
23662
|
+
viewBox: "0 0 32 32",
|
|
23663
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23664
|
+
fill: "currentColor",
|
|
23665
|
+
ref
|
|
23666
|
+
}, rest), _path920 || (_path920 = /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
23667
|
+
d: "M27,31.36H5c-0.199,0-0.36-0.161-0.36-0.36 v-4.162C3.232,26.66,2.14,25.455,2.14,24s1.092-2.66,2.5-2.838V17c0-0.199,0.161-0.36,0.36-0.36h1.817 c1.49-2,3.536-3.508,5.732-4.243C10.735,11.249,9.64,9.253,9.64,7c0-3.566,2.793-6.36,6.36-6.36S22.36,3.434,22.36,7 c0,2.253-1.095,4.249-2.909,5.397c2.195,0.734,4.242,2.242,5.731,4.243H27c0.199,0,0.36,0.161,0.36,0.36v4.162 c1.407,0.178,2.5,1.383,2.5,2.838s-1.093,2.66-2.5,2.838V31C27.36,31.199,27.199,31.36,27,31.36z M5.36,30.64h21.28v-3.802 c-1.407-0.178-2.5-1.383-2.5-2.838s1.093-2.66,2.5-2.838V17.36H5.36v3.802c1.408,0.178,2.5,1.383,2.5,2.838s-1.092,2.66-2.5,2.838 V30.64z M27,21.86c-1.18,0-2.14,0.96-2.14,2.14s0.96,2.14,2.14,2.14s2.14-0.96,2.14-2.14S28.18,21.86,27,21.86z M5,21.86 c-1.18,0-2.14,0.96-2.14,2.14S3.82,26.14,5,26.14S7.14,25.18,7.14,24S6.18,21.86,5,21.86z M7.731,16.64H24.27 c-1.558-1.904-3.657-3.27-5.853-3.79c-0.15-0.035-0.261-0.163-0.275-0.316c-0.015-0.154,0.07-0.3,0.211-0.363 C20.381,11.263,21.64,9.281,21.64,7c0-3.163-2.477-5.64-5.64-5.64S10.36,3.838,10.36,7c0,2.281,1.26,4.263,3.288,5.171 c0.141,0.063,0.226,0.209,0.211,0.363c-0.015,0.153-0.125,0.281-0.275,0.316C11.388,13.37,9.289,14.736,7.731,16.64z M14.322,28.161 l-0.644-0.322l4-8l0.645,0.322L14.322,28.161z M19.255,27.255l-0.51-0.51L21.491,24l-2.746-2.745l0.51-0.51L22.509,24L19.255,27.255 z M12.746,27.255L9.491,24l3.255-3.255l0.509,0.51L10.509,24l2.745,2.745L12.746,27.255z"
|
|
23668
|
+
})), children);
|
|
23669
|
+
});
|
|
23670
|
+
var Collaboration = /* @__PURE__ */ import_react18.default.forwardRef(function Collaboration2({
|
|
23671
|
+
children,
|
|
23672
|
+
...rest
|
|
23673
|
+
}, ref) {
|
|
23674
|
+
return /* @__PURE__ */ import_react18.default.createElement(Icon3, _extends({
|
|
23675
|
+
width: 64,
|
|
23676
|
+
height: 64,
|
|
23677
|
+
viewBox: "0 0 32 32",
|
|
23678
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23679
|
+
fill: "currentColor",
|
|
23680
|
+
ref
|
|
23681
|
+
}, rest), _path1520 || (_path1520 = /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
23682
|
+
d: "M1.36,11.318V16H0.64v-4.683c0-2.221,1.342-4.163,3.347-4.969C3.242,5.749,2.79,4.834,2.79,3.85 c0-1.77,1.44-3.21,3.21-3.21s3.21,1.44,3.21,3.21c0,0.984-0.452,1.898-1.197,2.499c2.005,0.806,3.347,2.748,3.347,4.969V16h-0.72 v-4.683c0-2.16-1.467-4.016-3.566-4.514C6.924,6.768,6.813,6.64,6.799,6.487c-0.014-0.154,0.071-0.3,0.212-0.363 c0.899-0.4,1.48-1.293,1.48-2.275c0-1.373-1.117-2.49-2.49-2.49S3.51,2.477,3.51,3.85c0,0.982,0.581,1.875,1.48,2.275 c0.141,0.063,0.226,0.209,0.212,0.362C5.188,6.641,5.077,6.769,4.926,6.804C2.827,7.302,1.36,9.158,1.36,11.318z M28.014,21.349 c0.745-0.601,1.197-1.516,1.197-2.499c0-1.771-1.44-3.21-3.211-3.21s-3.211,1.439-3.211,3.21c0,0.983,0.452,1.898,1.197,2.499 c-2.005,0.806-3.347,2.748-3.347,4.969V31h0.721v-4.683c0-2.16,1.466-4.016,3.565-4.514c0.15-0.036,0.261-0.163,0.275-0.317 c0.015-0.153-0.071-0.3-0.212-0.362c-0.899-0.399-1.479-1.292-1.479-2.274c0-1.373,1.117-2.49,2.49-2.49s2.49,1.117,2.49,2.49 c0,0.982-0.58,1.875-1.479,2.274c-0.141,0.062-0.227,0.209-0.212,0.362c0.015,0.154,0.125,0.281,0.275,0.317 c2.1,0.498,3.565,2.354,3.565,4.514V31h0.721v-4.683C31.36,24.097,30.019,22.154,28.014,21.349z M6.36,23v-5.131l2.386,2.386 l0.509-0.51L6,16.491l-3.254,3.254l0.509,0.51l2.386-2.386V23c0,2.404,1.956,4.36,4.36,4.36h9v-0.72h-9 C7.993,26.64,6.36,25.007,6.36,23z M25.64,8v5.13l-2.385-2.385l-0.51,0.509L26,14.509l3.255-3.255l-0.51-0.509L26.36,13.13V8 c0-2.404-1.956-4.36-4.36-4.36H11v0.72h11C24.007,4.36,25.64,5.993,25.64,8z"
|
|
23683
|
+
})), children);
|
|
23684
|
+
});
|
|
23685
|
+
var DevicePairing = /* @__PURE__ */ import_react18.default.forwardRef(function DevicePairing2({
|
|
23686
|
+
children,
|
|
23687
|
+
...rest
|
|
23688
|
+
}, ref) {
|
|
23689
|
+
return /* @__PURE__ */ import_react18.default.createElement(Icon3, _extends({
|
|
23690
|
+
width: 64,
|
|
23691
|
+
height: 64,
|
|
23692
|
+
viewBox: "0 0 32 32",
|
|
23693
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23694
|
+
fill: "currentColor",
|
|
23695
|
+
ref
|
|
23696
|
+
}, rest), _path1307 || (_path1307 = /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
23697
|
+
d: "M31,29.36h-9c-0.199,0-0.36-0.161-0.36-0.36v-6.64H1v-0.72h20.64v-1.28H4 c-0.75,0-1.36-0.61-1.36-1.36V4c0-0.749,0.61-1.359,1.36-1.36h22c0.75,0,1.36,0.61,1.36,1.36v8.64H31c0.199,0,0.36,0.161,0.36,0.36 v16C31.36,29.199,31.199,29.36,31,29.36z M22.36,28.64h8.279v-2.28H22.36V28.64z M22.36,25.64h8.279V13.36H22.36V25.64z M4,3.36 C3.647,3.361,3.36,3.648,3.36,4v15c0,0.353,0.287,0.64,0.64,0.64h17.64V13c0-0.199,0.161-0.36,0.36-0.36h4.64V4 c0-0.353-0.287-0.64-0.64-0.64C26,3.36,4,3.36,4,3.36z"
|
|
23698
|
+
})), children);
|
|
23699
|
+
});
|
|
23700
|
+
|
|
23701
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-2.js
|
|
23702
|
+
var import_react19 = __toESM(require("react"));
|
|
23703
|
+
var _path707;
|
|
23704
|
+
var _path1197;
|
|
23705
|
+
var _path2362;
|
|
23706
|
+
var Goals = /* @__PURE__ */ import_react19.default.forwardRef(function Goals2({
|
|
23707
|
+
children,
|
|
23708
|
+
...rest
|
|
23709
|
+
}, ref) {
|
|
23710
|
+
return /* @__PURE__ */ import_react19.default.createElement(Icon3, _extends({
|
|
23711
|
+
width: 64,
|
|
23712
|
+
height: 64,
|
|
23713
|
+
viewBox: "0 0 32 32",
|
|
23714
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23715
|
+
fill: "currentColor",
|
|
23716
|
+
ref
|
|
23717
|
+
}, rest), _path707 || (_path707 = /* @__PURE__ */ import_react19.default.createElement("path", {
|
|
23718
|
+
d: "M31,10.36h-9.36V1h0.721v8.131l8.385-8.385l0.51,0.509L22.869,9.64H31V10.36z M21.36,16 c0-2.956-2.405-5.36-5.36-5.36c-2.956,0-5.36,2.404-5.36,5.36c0,2.955,2.404,5.36,5.36,5.36C18.955,21.36,21.36,18.955,21.36,16z M20.64,16c0,2.559-2.081,4.64-4.64,4.64s-4.64-2.081-4.64-4.64s2.082-4.64,4.64-4.64S20.64,13.441,20.64,16z M31.36,16 c0-1.353-0.191-2.731-0.569-4.096l-0.693,0.191c0.359,1.303,0.542,2.616,0.542,3.904c0,8.072-6.567,14.64-14.64,14.64 C7.927,30.64,1.36,24.072,1.36,16C1.36,7.927,7.927,1.36,16,1.36c1.287,0,2.601,0.183,3.904,0.543l0.191-0.694 C18.729,0.832,17.352,0.64,16,0.64C7.53,0.64,0.64,7.53,0.64,16S7.53,31.36,16,31.36S31.36,24.47,31.36,16z M26.36,16 c0-1.433-0.292-2.828-0.868-4.144l-0.66,0.288C25.368,13.37,25.64,14.667,25.64,16c0,5.315-4.324,9.64-9.64,9.64 S6.36,21.315,6.36,16S10.685,6.36,16,6.36c1.333,0,2.631,0.272,3.855,0.808l0.289-0.659C18.827,5.932,17.434,5.64,16,5.64 C10.288,5.64,5.64,10.288,5.64,16c0,5.713,4.647,10.36,10.36,10.36S26.36,21.713,26.36,16z M16,15c-0.552,0-1,0.448-1,1s0.448,1,1,1 s1-0.448,1-1S16.552,15,16,15z"
|
|
23719
|
+
})), children);
|
|
23720
|
+
});
|
|
23721
|
+
var Hills = /* @__PURE__ */ import_react19.default.forwardRef(function Hills2({
|
|
23722
|
+
children,
|
|
23723
|
+
...rest
|
|
23724
|
+
}, ref) {
|
|
23725
|
+
return /* @__PURE__ */ import_react19.default.createElement(Icon3, _extends({
|
|
23726
|
+
width: 64,
|
|
23727
|
+
height: 64,
|
|
23728
|
+
viewBox: "0 0 32 32",
|
|
23729
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23730
|
+
fill: "currentColor",
|
|
23731
|
+
ref
|
|
23732
|
+
}, rest), _path1197 || (_path1197 = /* @__PURE__ */ import_react19.default.createElement("path", {
|
|
23733
|
+
d: "M30.192,29.64L16.36,8.891V5.36h4.509l-1.86-1.86l1.86-1.86H15.64v7.251L1.807,29.64H1v0.721h30V29.64H30.192 z M16.36,2.36h2.771l-1.14,1.14l1.14,1.14H16.36V2.36z M2.673,29.64L8,21.649l5.327,7.99L2.673,29.64L2.673,29.64z M14.193,29.64 L8.433,21L12,15.649l9.327,13.991H14.193z M22.192,29.64L12.433,15L16,9.649L29.327,29.64H22.192z"
|
|
23734
|
+
})), children);
|
|
23735
|
+
});
|
|
23736
|
+
var Leadership = /* @__PURE__ */ import_react19.default.forwardRef(function Leadership2({
|
|
23737
|
+
children,
|
|
23738
|
+
...rest
|
|
23739
|
+
}, ref) {
|
|
23740
|
+
return /* @__PURE__ */ import_react19.default.createElement(Icon3, _extends({
|
|
23741
|
+
width: 64,
|
|
23742
|
+
height: 64,
|
|
23743
|
+
viewBox: "0 0 32 32",
|
|
23744
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23745
|
+
fill: "currentColor",
|
|
23746
|
+
ref
|
|
23747
|
+
}, rest), _path2362 || (_path2362 = /* @__PURE__ */ import_react19.default.createElement("path", {
|
|
23748
|
+
d: "M31.36,31h-0.72c0-6.587-4.825-12.394-11.475-13.809 c-0.153-0.032-0.268-0.161-0.283-0.317c-0.016-0.156,0.072-0.304,0.217-0.366c2.91-1.246,4.791-4.095,4.791-7.258 c0-4.351-3.539-7.89-7.89-7.89S8.11,4.9,8.11,9.25c0,3.165,1.881,6.014,4.792,7.258c0.144,0.062,0.232,0.21,0.217,0.366 s-0.13,0.285-0.283,0.317C6.186,18.607,1.36,24.414,1.36,31H0.64c0-6.601,4.604-12.456,11.082-14.275 C9.062,15.203,7.39,12.366,7.39,9.25c0-4.748,3.862-8.61,8.61-8.61s8.61,3.862,8.61,8.61c0,3.116-1.672,5.951-4.333,7.473 C26.755,18.543,31.36,24.398,31.36,31z M19,29.36c-0.072,0-0.146-0.022-0.208-0.066L16,27.319l-2.792,1.975 c-0.127,0.091-0.299,0.089-0.424-0.006c-0.125-0.095-0.175-0.258-0.124-0.406l1.104-3.182l-2.725-1.969 c-0.126-0.092-0.18-0.254-0.131-0.402c0.048-0.149,0.186-0.25,0.342-0.25h3.371l1.037-3.19C15.706,19.74,15.844,19.64,16,19.64l0,0 c0.156,0,0.294,0.101,0.342,0.249l1.037,3.19h3.371c0.156,0,0.295,0.101,0.343,0.25c0.048,0.148-0.005,0.311-0.132,0.402 L18.236,25.7l1.104,3.182c0.052,0.148,0.002,0.312-0.123,0.406C19.152,29.336,19.076,29.36,19,29.36z M16,26.519 c0.073,0,0.146,0.022,0.208,0.066l2.085,1.474l-0.824-2.375c-0.053-0.15,0-0.316,0.129-0.41l2.04-1.474h-2.521 c-0.156,0-0.294-0.101-0.342-0.249L16,21.165l-0.775,2.386c-0.048,0.148-0.187,0.249-0.342,0.249h-2.52l2.04,1.474 c0.129,0.094,0.181,0.26,0.129,0.41l-0.824,2.375l2.084-1.474C15.854,26.541,15.927,26.519,16,26.519z"
|
|
23749
|
+
})), children);
|
|
23750
|
+
});
|
|
23751
|
+
|
|
23752
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-3.js
|
|
23753
|
+
var import_react20 = __toESM(require("react"));
|
|
23754
|
+
var _path2314;
|
|
23755
|
+
var _path947;
|
|
23756
|
+
var _path11110;
|
|
23757
|
+
var _path2017;
|
|
23758
|
+
var _path2144;
|
|
23759
|
+
var _path2154;
|
|
23760
|
+
var _path2452;
|
|
23761
|
+
var MagicWand = /* @__PURE__ */ import_react20.default.forwardRef(function MagicWand2({ children, ...rest }, ref) {
|
|
23762
|
+
return /* @__PURE__ */ import_react20.default.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path2314 || (_path2314 = /* @__PURE__ */ import_react20.default.createElement("path", { d: "M3.754,10.246c-0.141-0.141-0.368-0.141-0.509,0 l-1.5,1.5c-0.141,0.141-0.141,0.368,0,0.509l1.5,1.5c0.07,0.07,0.162,0.105,0.254,0.105s0.184-0.035,0.254-0.105l1.5-1.5 c0.141-0.141,0.141-0.368,0-0.509L3.754,10.246z M3.5,12.991L2.509,12L3.5,11.009L4.491,12L3.5,12.991z M4.746,5.254 C4.816,5.325,4.908,5.36,5,5.36s0.184-0.035,0.254-0.105l1.5-1.5c0.141-0.141,0.141-0.368,0-0.509l-1.5-1.5 c-0.141-0.141-0.368-0.141-0.509,0l-1.5,1.5c-0.141,0.141-0.141,0.368,0,0.509L4.746,5.254z M5,2.509L5.991,3.5L5,4.491L4.009,3.5 L5,2.509z M10.972,4.864C11.954,5.109,12.64,5.988,12.64,7c0,0.199,0.161,0.36,0.36,0.36S13.36,7.199,13.36,7 c0-1.012,0.686-1.891,1.729-2.151c0.159-0.04,0.271-0.184,0.271-0.349s-0.112-0.309-0.271-0.349l-0.06-0.015h-0.001 C14.046,3.891,13.36,3.012,13.36,2c0-0.199-0.161-0.36-0.36-0.36S12.64,1.801,12.64,2c0,1.012-0.686,1.891-1.729,2.151 c-0.16,0.041-0.242,0.192-0.241,0.357C10.67,4.673,10.812,4.825,10.972,4.864z M13,3.407c0.246,0.447,0.606,0.826,1.048,1.093 c-0.443,0.268-0.804,0.647-1.05,1.095c-0.245-0.443-0.606-0.82-1.055-1.09C12.39,4.237,12.753,3.857,13,3.407z M10.089,16.151 l-0.06-0.015h-0.001C9.046,15.891,8.36,15.012,8.36,14c0-0.199-0.161-0.36-0.36-0.36S7.64,13.801,7.64,14 c0,1.012-0.686,1.891-1.729,2.151c-0.16,0.041-0.242,0.192-0.241,0.357c0,0.165,0.143,0.316,0.302,0.356 C6.954,17.109,7.64,17.987,7.64,19c0,0.199,0.161,0.36,0.36,0.36S8.36,19.199,8.36,19c0-1.013,0.686-1.891,1.729-2.151 c0.159-0.041,0.271-0.185,0.271-0.349S10.248,16.191,10.089,16.151z M7.999,17.595c-0.245-0.442-0.606-0.819-1.055-1.09 C7.39,16.237,7.753,15.857,8,15.407c0.246,0.447,0.606,0.826,1.048,1.093C8.605,16.768,8.244,17.146,7.999,17.595z M30.255,28.245 l-22-22c-0.141-0.141-0.368-0.141-0.509,0l-1.5,1.5c-0.141,0.141-0.141,0.368,0,0.509l22,22c0.07,0.07,0.163,0.105,0.255,0.105 s0.185-0.035,0.255-0.105l1.5-1.5C30.396,28.614,30.396,28.386,30.255,28.245z M8,7.009l5.741,5.741l-0.991,0.991L7.009,8L8,7.009z M28.5,29.491L13.259,14.25l0.991-0.991L29.491,28.5L28.5,29.491z" })), children);
|
|
23763
|
+
});
|
|
23764
|
+
var Multitask = /* @__PURE__ */ import_react20.default.forwardRef(function Multitask2({ children, ...rest }, ref) {
|
|
23765
|
+
return /* @__PURE__ */ import_react20.default.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path947 || (_path947 = /* @__PURE__ */ import_react20.default.createElement("path", { d: "M23.61,31h-0.72c0-3.114-2.104-5.849-5.115-6.65c-0.145-0.038-0.25-0.162-0.266-0.312 c-0.015-0.149,0.064-0.292,0.198-0.358c1.331-0.661,2.157-1.982,2.157-3.449c0-2.132-1.733-3.866-3.864-3.866 s-3.865,1.734-3.865,3.866c0,1.466,0.827,2.788,2.158,3.449c0.134,0.066,0.213,0.209,0.198,0.358s-0.121,0.273-0.266,0.312 C11.213,25.151,9.11,27.886,9.11,31H8.39c0-3.17,1.973-5.984,4.886-7.1c-1.165-0.855-1.861-2.201-1.861-3.67 c0-2.528,2.057-4.585,4.585-4.585s4.585,2.057,4.585,4.585c0,1.469-0.697,2.815-1.861,3.67C21.637,25.016,23.61,27.83,23.61,31z M27,17.36c-2.404,0-4.36-1.956-4.36-4.36S24.596,8.64,27,8.64s4.36,1.956,4.36,4.36S29.404,17.36,27,17.36z M27,9.36 c-2.007,0-3.64,1.633-3.64,3.64s1.633,3.64,3.64,3.64s3.64-1.633,3.64-3.64S29.007,9.36,27,9.36z M5,17.36 c-2.404,0-4.36-1.956-4.36-4.36S2.596,8.64,5,8.64S9.36,10.596,9.36,13S7.404,17.36,5,17.36z M5,9.36c-2.007,0-3.64,1.633-3.64,3.64 S2.993,16.64,5,16.64S8.64,15.007,8.64,13S7.007,9.36,5,9.36z M16,9.36c-2.404,0-4.36-1.956-4.36-4.36S13.596,0.64,16,0.64 S20.36,2.596,20.36,5S18.404,9.36,16,9.36z M16,1.36c-2.007,0-3.64,1.633-3.64,3.64S13.993,8.64,16,8.64S19.64,7.007,19.64,5 S18.007,1.36,16,1.36z" })), children);
|
|
23766
|
+
});
|
|
23767
|
+
var Networking_04 = /* @__PURE__ */ import_react20.default.forwardRef(function Networking_042({ children, ...rest }, ref) {
|
|
23768
|
+
return /* @__PURE__ */ import_react20.default.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path11110 || (_path11110 = /* @__PURE__ */ import_react20.default.createElement("path", { d: "M13,18.64H1c-0.199,0-0.36,0.161-0.36,0.36v12c0,0.199,0.161,0.36,0.36,0.36h12 c0.199,0,0.36-0.161,0.36-0.36V19C13.36,18.801,13.199,18.64,13,18.64z M12.64,30.64H1.36V19.36h11.28 C12.64,19.36,12.64,30.64,12.64,30.64z M25,0.64c-3.507,0-6.36,2.853-6.36,6.36s2.854,6.36,6.36,6.36s6.36-2.853,6.36-6.36 S28.507,0.64,25,0.64z M25,12.64c-3.11,0-5.64-2.53-5.64-5.64S21.89,1.36,25,1.36S30.64,3.89,30.64,7S28.11,12.64,25,12.64z M9.36,26.5c0-0.615-0.3-1.161-0.761-1.5c0.461-0.339,0.761-0.885,0.761-1.5c0-1.025-0.834-1.86-1.86-1.86H4.641v6.721H7.5 C8.525,28.36,9.36,27.525,9.36,26.5z M5.36,22.36H7.5c0.628,0,1.14,0.511,1.14,1.14s-0.512,1.14-1.14,1.14H5.36V22.36z M5.36,25.36 H7.5c0.628,0,1.14,0.511,1.14,1.14s-0.512,1.14-1.14,1.14H5.36V25.36z M24.64,15h0.721v8c0,1.302-1.059,2.36-2.36,2.36H16.37 l2.214,2.213l-0.51,0.51L14.991,25l3.083-3.083l0.51,0.51L16.37,24.64H23c0.904,0,1.64-0.735,1.64-1.64V15z M17.009,7l-3.083,3.083 l-0.509-0.509l2.214-2.214H9C8.096,7.36,7.36,8.096,7.36,9v8H6.64V9c0-1.301,1.059-2.36,2.36-2.36h6.631l-2.214-2.214l0.509-0.509 L17.009,7z M24.671,3.862l-2.386,6l0.67,0.266l0.705-1.773h2.691l0.705,1.773l0.67-0.266l-2.385-6 C25.341,3.862,24.671,3.862,24.671,3.862z M23.946,7.635l1.06-2.666l1.059,2.666H23.946z" })), children);
|
|
23769
|
+
});
|
|
23770
|
+
var PoughkeepsieBridge = /* @__PURE__ */ import_react20.default.forwardRef(function PoughkeepsieBridge2({ children, ...rest }, ref) {
|
|
23771
|
+
return /* @__PURE__ */ import_react20.default.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path2017 || (_path2017 = /* @__PURE__ */ import_react20.default.createElement("path", { d: "M22,25.36h-4 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36h4c0.199,0,0.36,0.161,0.36,0.36S22.199,25.36,22,25.36z M14,25.36h-4 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36h4c0.199,0,0.36,0.161,0.36,0.36S14.199,25.36,14,25.36z M26,23.36H6 c-0.199,0-0.36-0.161-0.36-0.36S5.801,22.64,6,22.64h20c0.199,0,0.36,0.161,0.36,0.36S26.199,23.36,26,23.36z M30,21.36h-9 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36h9c0.199,0,0.36,0.161,0.36,0.36S30.199,21.36,30,21.36z M18,21.36h-4 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36h4c0.199,0,0.36,0.161,0.36,0.36S18.199,21.36,18,21.36z M11,21.36H2 c-0.199,0-0.36-0.161-0.36-0.36S1.801,20.64,2,20.64h9c0.199,0,0.36,0.161,0.36,0.36S11.199,21.36,11,21.36z M25.36,21h-0.72v-1.64 h-1.28V21h-0.72v-8.64h-2.639H20h-0.001h-3.998c-0.001,0-0.002,0-0.003,0h-3.997c-0.001,0-0.002,0-0.003,0H9.36V21H8.64v-1.64H7.36 V21H6.64v-8.77l-2.697-0.87H1v-0.72h2.131L0.746,8.254L1,8V7.64h2.997c0.002,0,0.004,0,0.006,0h3.994c0.002,0,0.004,0,0.006,0h3.996 c0.001,0,0.002,0,0.003,0h3.997c0.001,0,0.002,0,0.003,0H20h0h0.001h3.996c0.002,0,0.004,0,0.006,0h3.994c0.002,0,0.004,0,0.006,0 H31V8l0.255,0.254l-2.386,2.386H31v0.72h-2.943l-2.696,0.87L25.36,21L25.36,21z M23.36,18.64h1.279v-6.28H24l0,0h-0.001H23.36V18.64 z M7.36,18.64h1.28v-6.28H8.001c-0.001,0-0.002,0-0.003,0H7.36V18.64z M20.869,11.64h2.262L22,10.509L20.869,11.64z M16.869,11.64 h2.262L18,10.509L16.869,11.64z M12.869,11.64h2.262L14,10.509L12.869,11.64z M8.869,11.64h2.262L10,10.509L8.869,11.64z M27.64,8.869l-2.759,2.759l2.759-0.89V8.869z M4.36,10.738l2.759,0.89L4.36,8.869V10.738z M18.509,10L20,11.491L21.491,10L20,8.509 L18.509,10z M14.509,10L16,11.491L17.491,10L16,8.509L14.509,10z M10.509,10L12,11.491L13.491,10L12,8.509L10.509,10z M24.36,8.36 v2.771l2.771-2.771H24.36z M22.509,10l1.131,1.131V8.869L22.509,10z M8.36,8.869v2.262L9.491,10L8.36,8.869z M4.869,8.36 l2.771,2.771V8.36H4.869z M28.36,8.36v1.771l1.771-1.771H28.36z M1.869,8.36l1.771,1.771V8.36H1.869z M20.869,8.36L22,9.491 l1.131-1.131C23.131,8.36,20.869,8.36,20.869,8.36z M16.869,8.36L18,9.491l1.131-1.131C19.131,8.36,16.869,8.36,16.869,8.36z M12.869,8.36L14,9.491l1.131-1.131C15.131,8.36,12.869,8.36,12.869,8.36z M8.869,8.36L10,9.491l1.131-1.131 C11.131,8.36,8.869,8.36,8.869,8.36z" })), children);
|
|
23772
|
+
});
|
|
23773
|
+
var Presentation = /* @__PURE__ */ import_react20.default.forwardRef(function Presentation2({ children, ...rest }, ref) {
|
|
23774
|
+
return /* @__PURE__ */ import_react20.default.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path2144 || (_path2144 = /* @__PURE__ */ import_react20.default.createElement("path", { d: "M21.36,31h-0.72l-0.001-1.572c0-1.952-1.254-3.704-3.121-4.36c-0.136-0.048-0.229-0.171-0.24-0.314 c-0.01-0.143,0.065-0.278,0.193-0.345c1.073-0.559,1.739-1.646,1.739-2.837c0-1.771-1.44-3.211-3.211-3.211s-3.212,1.44-3.212,3.211 c0,1.191,0.667,2.279,1.74,2.838c0.127,0.066,0.203,0.202,0.193,0.345c-0.01,0.144-0.104,0.267-0.239,0.314 c-1.866,0.656-3.12,2.408-3.12,4.359L11.359,31h-0.72v-1.572c0-1.952-1.255-3.704-3.122-4.36c-0.135-0.048-0.229-0.171-0.239-0.314 c-0.01-0.143,0.065-0.278,0.192-0.345c1.073-0.559,1.739-1.646,1.739-2.837c0-1.771-1.441-3.211-3.211-3.211 c-1.771,0-3.212,1.44-3.212,3.211c0,1.191,0.667,2.279,1.74,2.838c0.127,0.066,0.203,0.202,0.193,0.345 c-0.01,0.144-0.104,0.267-0.239,0.314c-1.866,0.656-3.12,2.408-3.12,4.359V31H0.64v-1.572c0-2.022,1.162-3.858,2.954-4.763 c-0.956-0.737-1.527-1.87-1.527-3.094c0-2.168,1.764-3.932,3.932-3.932c2.167,0,3.931,1.764,3.931,3.932 c0,1.223-0.571,2.354-1.526,3.092c1.202,0.607,2.122,1.633,2.596,2.854c0.475-1.22,1.393-2.245,2.595-2.852 c-0.956-0.737-1.527-1.87-1.527-3.094c0-2.168,1.764-3.932,3.932-3.932s3.932,1.764,3.932,3.932c0,1.223-0.571,2.354-1.527,3.092 c1.203,0.607,2.122,1.634,2.597,2.854c0.475-1.221,1.394-2.246,2.595-2.853c-0.956-0.737-1.527-1.87-1.527-3.094 c0-2.168,1.764-3.932,3.932-3.932s3.932,1.764,3.932,3.932c0,1.223-0.571,2.354-1.526,3.092c1.793,0.905,2.956,2.742,2.956,4.765V31 H30.64v-1.572c0-1.952-1.254-3.704-3.121-4.36c-0.136-0.048-0.229-0.171-0.24-0.314c-0.01-0.143,0.065-0.278,0.193-0.345 c1.072-0.559,1.738-1.646,1.738-2.837c0-1.771-1.44-3.211-3.211-3.211s-3.211,1.44-3.211,3.211c0,1.192,0.666,2.279,1.739,2.838 c0.128,0.066,0.203,0.202,0.193,0.345c-0.011,0.144-0.104,0.267-0.24,0.314c-1.866,0.656-3.119,2.408-3.119,4.359L21.36,31z M31,15.36H16v-0.72h14.64V1.36H14.36v6.008h2.679c0.75,0,1.36,0.61,1.36,1.36s-0.61,1.36-1.36,1.36H10.36V15H9.64V9.728 c0-0.199,0.161-0.36,0.36-0.36h7.039c0.353,0,0.64-0.287,0.64-0.64s-0.287-0.64-0.64-0.64H7.616c-0.166,0-0.31-0.113-0.35-0.274 C7.227,7.652,7.303,7.485,7.45,7.408C8.519,6.85,9.184,5.763,9.184,4.572C9.184,2.801,7.755,1.36,6,1.36 c-1.774,0-3.218,1.441-3.218,3.212c0,1.192,0.665,2.279,1.735,2.837C4.644,7.475,4.72,7.611,4.709,7.754 C4.699,7.897,4.605,8.021,4.47,8.068c-1.86,0.656-3.11,2.408-3.11,4.36V15H0.64v-2.572c0-2.022,1.159-3.858,2.945-4.763 c-0.953-0.737-1.523-1.87-1.523-3.093C2.062,2.404,3.829,0.64,6,0.64c2.152,0,3.903,1.764,3.903,3.932 c0,1.069-0.435,2.069-1.181,2.796h4.918V1c0-0.199,0.161-0.36,0.36-0.36h17c0.199,0,0.36,0.161,0.36,0.36v14 C31.36,15.199,31.199,15.36,31,15.36z M26,11.36c-0.897,0-1.741-0.35-2.376-0.984C22.989,9.741,22.64,8.897,22.64,8 s0.35-1.741,0.984-2.375c1.27-1.27,3.482-1.27,4.752,0C29.011,6.259,29.36,7.103,29.36,8s-0.35,1.741-0.984,2.375l0,0l0,0l0,0 C27.741,11.01,26.897,11.36,26,11.36z M25.695,10.623c0.791,0.092,1.601-0.185,2.171-0.756l0,0C28.365,9.368,28.64,8.705,28.64,8 c0-0.58-0.186-1.131-0.528-1.586l-1.787,1.772L25.695,10.623z M23.562,6.984C23.43,7.302,23.36,7.646,23.36,8 c0,0.705,0.274,1.368,0.773,1.867c0.251,0.251,0.545,0.446,0.864,0.577l0.586-2.271L23.562,6.984z M23.928,6.364l2.016,1.185 l1.661-1.646c-1.009-0.775-2.558-0.684-3.471,0.23C24.06,6.207,23.991,6.284,23.928,6.364z M20,5.36h-4V4.64h4V5.36z M21,3.36h-5 V2.64h5V3.36z" })), children);
|
|
23775
|
+
});
|
|
23776
|
+
var Presenter = /* @__PURE__ */ import_react20.default.forwardRef(function Presenter2({ children, ...rest }, ref) {
|
|
23777
|
+
return /* @__PURE__ */ import_react20.default.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path2154 || (_path2154 = /* @__PURE__ */ import_react20.default.createElement("path", { d: "M16,19.14c-1.298,0-2.519,0.506-3.437,1.424C11.646,21.481,11.14,22.702,11.14,24 s0.506,2.519,1.424,3.437c0.917,0.918,2.138,1.424,3.437,1.424c1.298,0,2.519-0.506,3.437-1.424S20.86,25.298,20.86,24 s-0.506-2.519-1.424-3.437S17.298,19.14,16,19.14z M13.072,21.073c0.782-0.782,1.822-1.213,2.928-1.213 c0.989,0,1.926,0.345,2.672,0.978l-2.729,2.711l-3.319-1.946C12.757,21.415,12.907,21.238,13.072,21.073z M13.072,26.927 C12.291,26.146,11.86,25.105,11.86,24c0-0.625,0.138-1.229,0.398-1.777l3.325,1.95l-0.968,3.73 C14.041,27.7,13.515,27.37,13.072,26.927z M18.927,26.927c-0.945,0.947-2.318,1.377-3.615,1.156l1.012-3.897l2.856-2.837 c0.622,0.742,0.96,1.671,0.96,2.651C20.14,25.105,19.709,26.146,18.927,26.927z M29.86,24c0-1.454-1.094-2.644-2.5-2.824V17 c0-0.199-0.161-0.36-0.36-0.36h-1.817c-1.433-1.915-3.49-3.378-5.761-4.116c1.855-1.171,3.014-3.221,3.014-5.444 c0-3.551-2.89-6.44-6.44-6.44c-3.551,0-6.44,2.889-6.44,6.44c0,2.223,1.158,4.274,3.013,5.445c-2.265,0.736-4.319,2.2-5.75,4.115H5 c-0.199,0-0.36,0.161-0.36,0.36v4.176c-1.406,0.179-2.5,1.37-2.5,2.824s1.094,2.645,2.5,2.824V31c0,0.199,0.161,0.36,0.36,0.36h22 c0.199,0,0.36-0.161,0.36-0.36v-4.176C28.766,26.644,29.86,25.454,29.86,24z M13.608,12.98c0.15-0.035,0.261-0.163,0.275-0.316 c0.015-0.153-0.07-0.299-0.211-0.362c-2.063-0.924-3.397-2.974-3.397-5.221c0-3.154,2.566-5.72,5.72-5.72s5.72,2.566,5.72,5.72 c0,2.247-1.333,4.297-3.397,5.221c-0.141,0.063-0.226,0.209-0.211,0.362c0.015,0.154,0.125,0.281,0.275,0.316 c2.273,0.538,4.381,1.856,5.883,3.66H7.734C9.236,14.835,11.34,13.517,13.608,12.98z M2.86,24c0-1.18,0.96-2.14,2.14-2.14 S7.14,22.82,7.14,24S6.18,26.14,5,26.14S2.86,25.18,2.86,24z M5.36,30.64v-3.816c1.406-0.179,2.5-1.37,2.5-2.824 s-1.094-2.645-2.5-2.824V17.36h21.28v3.816c-1.406,0.179-2.5,1.37-2.5,2.824s1.094,2.644,2.5,2.824v3.816H5.36z M27,26.14 c-1.18,0-2.14-0.96-2.14-2.14s0.96-2.14,2.14-2.14s2.14,0.96,2.14,2.14S28.18,26.14,27,26.14z" })), children);
|
|
23778
|
+
});
|
|
23779
|
+
var Question = /* @__PURE__ */ import_react20.default.forwardRef(function Question2({ children, ...rest }, ref) {
|
|
23780
|
+
return /* @__PURE__ */ import_react20.default.createElement(Icon3, _extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref }, rest), _path2452 || (_path2452 = /* @__PURE__ */ import_react20.default.createElement("path", { d: "M23.668,29.312l-0.359-0.623c4.522-2.61,7.331-7.473,7.331-12.688c0-8.073-6.567-14.64-14.64-14.64 C7.927,1.36,1.36,7.927,1.36,16c0,5.216,2.81,10.078,7.332,12.688l-0.36,0.623C3.587,26.573,0.64,21.473,0.64,16 C0.64,7.53,7.53,0.64,16,0.64S31.36,7.53,31.36,16C31.36,21.473,28.413,26.573,23.668,29.312z M16.355,23.995h-0.72 c0-3.844,1.823-5.201,3.585-6.515c1.599-1.19,3.108-2.315,3.108-5.41c0-3.308-2.657-5.709-6.319-5.709 c-3.485,0-6.32,2.849-6.32,6.35H8.97c0-3.898,3.158-7.07,7.04-7.07c4.079,0,7.04,2.704,7.04,6.429c0,3.456-1.729,4.743-3.398,5.987 C17.956,19.32,16.355,20.513,16.355,23.995z M16,28.5c-0.552,0-1,0.448-1,1s0.448,1,1,1s1-0.448,1-1S16.552,28.5,16,28.5z" })), children);
|
|
23781
|
+
});
|
|
23782
|
+
|
|
23783
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-4.js
|
|
23784
|
+
var import_react21 = __toESM(require("react"));
|
|
23785
|
+
var _path2094;
|
|
23786
|
+
var Teacher = /* @__PURE__ */ import_react21.default.forwardRef(function Teacher2({
|
|
23787
|
+
children,
|
|
23788
|
+
...rest
|
|
23789
|
+
}, ref) {
|
|
23790
|
+
return /* @__PURE__ */ import_react21.default.createElement(Icon3, _extends({
|
|
23791
|
+
width: 64,
|
|
23792
|
+
height: 64,
|
|
23793
|
+
viewBox: "0 0 32 32",
|
|
23794
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23795
|
+
fill: "currentColor",
|
|
23796
|
+
ref
|
|
23797
|
+
}, rest), _path2094 || (_path2094 = /* @__PURE__ */ import_react21.default.createElement("path", {
|
|
23798
|
+
d: "M21.813,31.36c-0.582,0-0.888-0.196-1.091-0.326 c-0.242-0.156-0.203-0.156-0.445,0c-0.203,0.13-0.509,0.326-1.091,0.326c-1.523,0-2.546-1.959-2.546-3.789 c0-1.836,0.789-2.932,2.11-2.932c0.501,0,0.804,0.136,1.071,0.254c0.111,0.05,0.211,0.094,0.318,0.126V24 c0-0.199,0.161-0.36,0.36-0.36c0.353,0,0.64-0.287,0.64-0.64h0.721c0,0.625-0.425,1.153-1,1.312v0.708 c0.107-0.032,0.207-0.076,0.318-0.126c0.268-0.118,0.57-0.254,1.071-0.254c1.321,0,2.11,1.096,2.11,2.932 c0,0.569-0.099,1.155-0.283,1.695C23.627,30.577,22.781,31.36,21.813,31.36z M20.5,30.211c0.273,0,0.461,0.12,0.611,0.217 c0.17,0.109,0.331,0.212,0.702,0.212c0.76,0,1.315-0.83,1.582-1.607c0.16-0.465,0.244-0.971,0.244-1.461 c0-0.826-0.181-2.211-1.39-2.211c-0.348,0-0.548,0.089-0.779,0.191c-0.249,0.111-0.532,0.237-0.971,0.237s-0.722-0.126-0.971-0.237 c-0.231-0.103-0.432-0.191-0.779-0.191c-1.209,0-1.39,1.385-1.39,2.211c0,1.448,0.781,3.068,1.826,3.068 c0.371,0,0.532-0.103,0.702-0.212C20.039,30.331,20.227,30.211,20.5,30.211z M31.36,31h-0.72c0-6.432-4.777-12.232-11.359-13.792 c-0.15-0.036-0.261-0.163-0.275-0.317s0.071-0.3,0.212-0.363c2.861-1.274,4.71-4.116,4.71-7.241c0-0.313-0.018-0.623-0.054-0.927 h-3.519c0.004,0.046,0.006,0.093,0.006,0.14c0,1.025-0.835,1.86-1.86,1.86s-1.86-0.834-1.86-1.86c0-0.353-0.287-0.64-0.64-0.64 s-0.64,0.287-0.64,0.64c0,1.025-0.834,1.86-1.86,1.86s-1.86-0.834-1.86-1.86c0-0.047,0.001-0.094,0.005-0.14h-3.52 C8.09,8.664,8.072,8.974,8.072,9.287c0,3.125,1.849,5.967,4.71,7.241c0.141,0.063,0.226,0.209,0.212,0.363s-0.125,0.281-0.275,0.317 C6.137,18.768,1.36,24.568,1.36,31H0.64c0-6.46,4.574-12.312,11.002-14.248c-2.634-1.539-4.29-4.375-4.29-7.465 c0-4.768,3.879-8.647,8.648-8.647c4.768,0,8.647,3.879,8.647,8.647c0,3.089-1.657,5.926-4.291,7.465 C26.785,18.688,31.36,24.54,31.36,31z M18.5,7.36c-0.629,0-1.14,0.512-1.14,1.14s0.511,1.14,1.14,1.14s1.14-0.512,1.14-1.14 S19.129,7.36,18.5,7.36z M13.5,7.36c-0.628,0-1.14,0.512-1.14,1.14s0.512,1.14,1.14,1.14s1.14-0.512,1.14-1.14 S14.128,7.36,13.5,7.36z M20.149,7.64h3.605C22.995,4.057,19.807,1.36,16,1.36S9.004,4.057,8.244,7.64h3.607 c0.311-0.594,0.934-1,1.649-1c0.661,0,1.242,0.346,1.572,0.867c0.486-0.455,1.37-0.455,1.856,0C17.258,6.986,17.84,6.64,18.5,6.64 C19.216,6.64,19.838,7.046,20.149,7.64z"
|
|
23799
|
+
})), children);
|
|
23800
|
+
});
|
|
23801
|
+
|
|
23802
|
+
// node_modules/@carbon/pictograms-react/es/__generated__/bucket-5.js
|
|
23803
|
+
var import_react22 = __toESM(require("react"));
|
|
23804
|
+
var _path1521;
|
|
23805
|
+
var _path1620;
|
|
23806
|
+
var _path637;
|
|
23807
|
+
var _path677;
|
|
23808
|
+
var TransactionalTrust = /* @__PURE__ */ import_react22.default.forwardRef(function TransactionalTrust2({
|
|
23809
|
+
children,
|
|
23810
|
+
...rest
|
|
23811
|
+
}, ref) {
|
|
23812
|
+
return /* @__PURE__ */ import_react22.default.createElement(Icon3, _extends({
|
|
23813
|
+
width: 64,
|
|
23814
|
+
height: 64,
|
|
23815
|
+
viewBox: "0 0 32 32",
|
|
23816
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23817
|
+
fill: "currentColor",
|
|
23818
|
+
ref
|
|
23819
|
+
}, rest), _path1521 || (_path1521 = /* @__PURE__ */ import_react22.default.createElement("path", {
|
|
23820
|
+
d: "M30.082,9.856l-0.66,0.288c0.761,1.74,1.154,3.589,1.2,5.496H13.86v-1.386 c0-1.765-1.042-3.314-2.613-3.996c0.558-0.493,0.893-1.209,0.893-1.978c0-1.456-1.184-2.64-2.64-2.64S6.86,6.824,6.86,8.28 c0,0.768,0.335,1.484,0.893,1.978c-1.57,0.682-2.613,2.231-2.613,3.996v1.386H1.378C1.569,7.855,7.855,1.569,15.64,1.378V13h0.72 V1.381c4.255,0.102,8.152,1.999,10.867,5.26H24v0.72h4.36V3h-0.72v3.015C24.716,2.599,20.539,0.64,16,0.64 C7.53,0.64,0.64,7.53,0.64,16c0,2.136,0.43,4.203,1.278,6.145l0.66-0.289c-0.761-1.739-1.154-3.588-1.2-5.496h29.243 c-0.091,3.722-1.576,7.098-3.954,9.635c-0.37-1.217-1.257-2.224-2.422-2.735c0.56-0.494,0.896-1.211,0.896-1.979 c0-1.456-1.185-2.641-2.641-2.641s-2.641,1.185-2.641,2.641c0,0.768,0.335,1.484,0.894,1.978c-1.57,0.681-2.613,2.23-2.613,3.996 v3.211c-0.584,0.086-1.176,0.141-1.78,0.156V19h-0.72v11.619c-4.255-0.102-8.152-1.998-10.867-5.259H8v-0.72H3.64V29h0.72v-3.017 C7.283,29.401,11.461,31.36,16,31.36c8.47,0,15.36-6.891,15.36-15.36C31.36,13.864,30.93,11.797,30.082,9.856z M18.86,27.254 c0-1.695,1.149-3.15,2.797-3.54c0.15-0.036,0.261-0.163,0.275-0.317c0.015-0.153-0.071-0.299-0.212-0.362 c-0.693-0.309-1.141-0.997-1.141-1.754c0-1.059,0.861-1.92,1.92-1.92s1.92,0.861,1.92,1.92c0,0.757-0.447,1.445-1.141,1.754 c-0.142,0.063-0.227,0.209-0.212,0.362c0.015,0.154,0.125,0.281,0.275,0.317c1.401,0.332,2.47,1.479,2.728,2.884 c-1.968,1.871-4.446,3.207-7.21,3.757L18.86,27.254L18.86,27.254z M5.86,14.254c0-1.694,1.15-3.15,2.797-3.541 c0.15-0.036,0.261-0.163,0.275-0.317c0.014-0.153-0.071-0.299-0.212-0.362C8.027,9.726,7.58,9.037,7.58,8.28 c0-1.059,0.861-1.92,1.92-1.92s1.92,0.861,1.92,1.92c0,0.757-0.448,1.445-1.142,1.753c-0.141,0.063-0.226,0.208-0.212,0.362 s0.125,0.281,0.275,0.317c1.647,0.391,2.798,1.847,2.798,3.541v1.386H5.86V14.254z"
|
|
23821
|
+
})), children);
|
|
23822
|
+
});
|
|
23823
|
+
var Transform_01 = /* @__PURE__ */ import_react22.default.forwardRef(function Transform_012({
|
|
23824
|
+
children,
|
|
23825
|
+
...rest
|
|
23826
|
+
}, ref) {
|
|
23827
|
+
return /* @__PURE__ */ import_react22.default.createElement(Icon3, _extends({
|
|
23828
|
+
width: 64,
|
|
23829
|
+
height: 64,
|
|
23830
|
+
viewBox: "0 0 32 32",
|
|
23831
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23832
|
+
fill: "currentColor",
|
|
23833
|
+
ref
|
|
23834
|
+
}, rest), _path1620 || (_path1620 = /* @__PURE__ */ import_react22.default.createElement("path", {
|
|
23835
|
+
d: "M13,31.36H1c-0.199,0-0.36-0.161-0.36-0.36V19c0-0.199,0.161-0.36,0.36-0.36h12 c0.199,0,0.36,0.161,0.36,0.36v12C13.36,31.199,13.199,31.36,13,31.36z M1.36,30.64h11.28V19.36H1.36V30.64z M25,20.528 c-0.139,0-0.271-0.081-0.33-0.216c-0.079-0.183,0.004-0.395,0.186-0.475c3.514-1.535,5.784-5.004,5.784-8.838 c0-5.315-4.324-9.64-9.64-9.64c-3.833,0-7.303,2.271-8.838,5.784c-0.081,0.182-0.293,0.265-0.474,0.186 c-0.182-0.08-0.266-0.292-0.186-0.474C13.152,3.08,16.88,0.64,21,0.64c5.713,0,10.36,4.647,10.36,10.36 c0,4.12-2.44,7.849-6.216,9.498C25.098,20.519,25.048,20.528,25,20.528z M7.36,16.99c0-0.199-0.161-0.36-0.36-0.36 s-0.36,0.161-0.36,0.36V17c0,0.199,0.161,0.355,0.36,0.355S7.36,17.189,7.36,16.99z M17.089,25.36h-0.021 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36c0.199,0,0.37,0.161,0.37,0.36S17.288,25.36,17.089,25.36z M19.122,25.36 h-0.021c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.36,0.36-0.36c0.199,0,0.37,0.161,0.37,0.36S19.321,25.36,19.122,25.36z M21.042,24.797c-0.132,0-0.259-0.073-0.322-0.199c-0.089-0.178-0.017-0.395,0.161-0.483c0.163-0.11,0.377-0.062,0.489,0.106 c0.109,0.165,0.055,0.395-0.111,0.505c-0.012,0.008-0.042,0.026-0.056,0.033C21.151,24.784,21.097,24.797,21.042,24.797z M22.459,23.363c-0.069,0-0.139-0.02-0.199-0.061c-0.166-0.11-0.211-0.334-0.101-0.499c0.089-0.18,0.302-0.238,0.477-0.151 c0.178,0.09,0.244,0.316,0.155,0.494c-0.007,0.014-0.024,0.044-0.032,0.056C22.689,23.307,22.575,23.363,22.459,23.363z M23,21.421 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.37,0.36-0.37s0.36,0.15,0.36,0.35v0.021C23.36,21.26,23.199,21.421,23,21.421z M23,19.382 c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.37,0.36-0.37s0.36,0.151,0.36,0.351v0.02C23.36,19.221,23.199,19.382,23,19.382z M23,17.344 c-0.199,0-0.36-0.161-0.36-0.36c0-0.199,0.161-0.37,0.36-0.37s0.36,0.151,0.36,0.35v0.02C23.36,17.183,23.199,17.344,23,17.344z M7,15.322c-0.199,0-0.36-0.151-0.36-0.35v-0.02c0-0.199,0.161-0.36,0.36-0.36s0.36,0.161,0.36,0.36S7.199,15.322,7,15.322z M23,15.305c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.37,0.36-0.37s0.36,0.151,0.36,0.35v0.02C23.36,15.144,23.199,15.305,23,15.305z M7,13.283c-0.004,0-0.009,0-0.013,0c-0.193-0.007-0.346-0.156-0.346-0.35c0-0.009,0-0.039,0.001-0.048 c0.016-0.197,0.183-0.345,0.387-0.331c0.198,0.015,0.346,0.188,0.331,0.387C7.345,13.129,7.188,13.283,7,13.283z M7.542,11.342 c-0.06,0-0.12-0.015-0.175-0.047c-0.172-0.1-0.235-0.312-0.135-0.483l0.01-0.018c0.101-0.171,0.323-0.229,0.492-0.129 c0.172,0.1,0.23,0.321,0.13,0.492C7.797,11.273,7.67,11.342,7.542,11.342z M22.442,11.329c-0.127,0-0.251-0.068-0.316-0.188 c-0.092-0.169-0.04-0.389,0.125-0.489c0.165-0.099,0.374-0.062,0.48,0.1c0.006,0.009,0.021,0.035,0.027,0.044 c0.095,0.174,0.03,0.393-0.144,0.488C22.56,11.315,22.501,11.329,22.442,11.329z M21.014,9.907c-0.062,0-0.124-0.016-0.182-0.049 c-0.172-0.1-0.238-0.326-0.138-0.498c0.1-0.171,0.311-0.235,0.483-0.135l0.018,0.01c0.172,0.1,0.229,0.321,0.129,0.493 C21.258,9.843,21.137,9.907,21.014,9.907z M8.964,9.561h0.009H8.964z M19.074,9.361c-0.008,0-0.017,0-0.025-0.001 c-0.193-0.014-0.352-0.178-0.345-0.372c0.007-0.202,0.217-0.366,0.396-0.346c0.198,0.014,0.348,0.186,0.334,0.385 C19.42,9.216,19.262,9.361,19.074,9.361z M17.035,9.36c-0.199,0-0.37-0.161-0.37-0.36s0.151-0.36,0.35-0.36h0.021 c0.199,0,0.36,0.161,0.36,0.36S17.234,9.36,17.035,9.36z M14.997,9.36c-0.199,0-0.37-0.161-0.37-0.36s0.151-0.36,0.35-0.36h0.02 c0.199,0,0.36,0.161,0.36,0.36S15.195,9.36,14.997,9.36z M12.958,9.36c-0.199,0-0.37-0.161-0.37-0.36s0.151-0.36,0.35-0.36h0.021 c0.199,0,0.36,0.161,0.36,0.36S13.157,9.36,12.958,9.36z M15.37,25c0-0.199-0.167-0.36-0.365-0.36s-0.36,0.161-0.36,0.36 s0.161,0.36,0.36,0.36h0.01C15.213,25.36,15.37,25.199,15.37,25z M10.905,9.36c-0.199,0-0.37-0.161-0.37-0.36s0.151-0.36,0.35-0.36 h0.021c0.199,0,0.36,0.161,0.36,0.36S11.104,9.36,10.905,9.36z M8.978,9.92c-0.199,0-0.37-0.161-0.37-0.36S8.759,9.2,8.958,9.2 h0.021c0.199,0,0.36,0.161,0.36,0.36S9.177,9.92,8.978,9.92z M23,13.294c-0.199,0-0.36-0.161-0.36-0.36s0.161-0.37,0.36-0.37 s0.36,0.151,0.36,0.35v0.02C23.36,13.133,23.199,13.294,23,13.294z"
|
|
23836
|
+
})), children);
|
|
23837
|
+
});
|
|
23838
|
+
var User = /* @__PURE__ */ import_react22.default.forwardRef(function User2({
|
|
23839
|
+
children,
|
|
23840
|
+
...rest
|
|
23841
|
+
}, ref) {
|
|
23842
|
+
return /* @__PURE__ */ import_react22.default.createElement(Icon3, _extends({
|
|
23843
|
+
width: 64,
|
|
23844
|
+
height: 64,
|
|
23845
|
+
viewBox: "0 0 32 32",
|
|
23846
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23847
|
+
fill: "currentColor",
|
|
23848
|
+
ref
|
|
23849
|
+
}, rest), _path637 || (_path637 = /* @__PURE__ */ import_react22.default.createElement("path", {
|
|
23850
|
+
d: "M31.36,31h-0.72c0-6.432-4.777-12.232-11.359-13.792c-0.15-0.036-0.261-0.163-0.275-0.317 c-0.015-0.153,0.071-0.299,0.212-0.362c2.861-1.273,4.71-4.116,4.71-7.241c0-4.371-3.556-7.927-7.927-7.927 c-4.372,0-7.928,3.556-7.928,7.927c0,3.125,1.849,5.968,4.711,7.241c0.141,0.063,0.226,0.209,0.212,0.362 c-0.014,0.154-0.125,0.281-0.275,0.317C6.137,18.768,1.36,24.568,1.36,31H0.64c0-6.46,4.574-12.312,11.002-14.248 c-2.634-1.539-4.291-4.375-4.291-7.465c0-4.768,3.879-8.647,8.648-8.647c4.768,0,8.647,3.879,8.647,8.647 c0,3.09-1.656,5.926-4.29,7.465C26.786,18.688,31.36,24.54,31.36,31z"
|
|
23851
|
+
})), children);
|
|
23852
|
+
});
|
|
23853
|
+
var UserInterface = /* @__PURE__ */ import_react22.default.forwardRef(function UserInterface2({
|
|
23854
|
+
children,
|
|
23855
|
+
...rest
|
|
23856
|
+
}, ref) {
|
|
23857
|
+
return /* @__PURE__ */ import_react22.default.createElement(Icon3, _extends({
|
|
23858
|
+
width: 64,
|
|
23859
|
+
height: 64,
|
|
23860
|
+
viewBox: "0 0 32 32",
|
|
23861
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23862
|
+
fill: "currentColor",
|
|
23863
|
+
ref
|
|
23864
|
+
}, rest), _path677 || (_path677 = /* @__PURE__ */ import_react22.default.createElement("path", {
|
|
23865
|
+
d: "M29,3.5C29,3.776,28.776,4,28.5,4S28,3.776,28,3.5S28.224,3,28.5,3S29,3.224,29,3.5 M26.5,3 C26.224,3,26,3.224,26,3.5S26.224,4,26.5,4S27,3.776,27,3.5S26.776,3,26.5,3 M24.5,3C24.224,3,24,3.224,24,3.5S24.224,4,24.5,4 S25,3.776,25,3.5S24.776,3,24.5,3 M31,30.36H1c-0.199,0-0.36-0.161-0.36-0.36V2c0-0.199,0.161-0.36,0.36-0.36h30 c0.199,0,0.36,0.161,0.36,0.36v28C31.36,30.199,31.199,30.36,31,30.36z M1.36,29.64h29.28V5.36H1.36V29.64z M1.36,4.64h29.28V2.36 H1.36V4.64z M15,25.36h-5c-0.199,0-0.36-0.161-0.36-0.36v-3c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3 C15.36,25.199,15.199,25.36,15,25.36z M10.36,24.64h4.28v-2.28h-4.28C10.36,22.36,10.36,24.64,10.36,24.64z M22,20.36h-5 c-0.199,0-0.36-0.161-0.36-0.36v-3c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3 C22.36,20.199,22.199,20.36,22,20.36z M17.36,19.64h4.279v-2.28H17.36V19.64z M15,20.36h-5c-0.199,0-0.36-0.161-0.36-0.36v-3 c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3C15.36,20.199,15.199,20.36,15,20.36z M10.36,19.64h4.28v-2.28 h-4.28C10.36,17.36,10.36,19.64,10.36,19.64z M22,15.36h-5c-0.199,0-0.36-0.161-0.36-0.36v-3c0-0.199,0.161-0.36,0.36-0.36h5 c0.199,0,0.36,0.161,0.36,0.36v3C22.36,15.199,22.199,15.36,22,15.36z M17.36,14.64h4.279v-2.28H17.36V14.64z M15,15.36h-5 c-0.199,0-0.36-0.161-0.36-0.36v-3c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3 C15.36,15.199,15.199,15.36,15,15.36z M10.36,14.64h4.28v-2.28h-4.28C10.36,12.36,10.36,14.64,10.36,14.64z M8,15.36H3 c-0.199,0-0.36-0.161-0.36-0.36v-3c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3C8.36,15.199,8.199,15.36,8,15.36 z M3.36,14.64h4.28v-2.28H3.36V14.64z M29,10.36h-5c-0.199,0-0.36-0.161-0.36-0.36V7c0-0.199,0.161-0.36,0.36-0.36h5 c0.199,0,0.36,0.161,0.36,0.36v3C29.36,10.199,29.199,10.36,29,10.36z M24.36,9.64h4.279V7.36H24.36V9.64z M22,10.36h-5 c-0.199,0-0.36-0.161-0.36-0.36V7c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3 C22.36,10.199,22.199,10.36,22,10.36z M17.36,9.64h4.279V7.36H17.36V9.64z M15,10.36h-5c-0.199,0-0.36-0.161-0.36-0.36V7 c0-0.199,0.161-0.36,0.36-0.36h5c0.199,0,0.36,0.161,0.36,0.36v3C15.36,10.199,15.199,10.36,15,10.36z M10.36,9.64h4.28V7.36h-4.28 C10.36,7.36,10.36,9.64,10.36,9.64z M8,10.36H3c-0.199,0-0.36-0.161-0.36-0.36V7c0-0.199,0.161-0.36,0.36-0.36h5 c0.199,0,0.36,0.161,0.36,0.36v3C8.36,10.199,8.199,10.36,8,10.36z M3.36,9.64h4.28V7.36H3.36V9.64z"
|
|
23866
|
+
})), children);
|
|
23867
|
+
});
|
|
23868
|
+
|
|
23869
|
+
// node_modules/@carbon/pictograms-react/es/index.js
|
|
23870
|
+
var import_react23 = require("react");
|
|
21061
23871
|
|
|
21062
23872
|
// src/components/CustomPictogram/libs/types.ts
|
|
21063
23873
|
var CP_nameOpt = [
|
|
@@ -21092,27 +23902,27 @@ var isValidPictogramName = (name) => {
|
|
|
21092
23902
|
return name in CP_pictogramMap;
|
|
21093
23903
|
};
|
|
21094
23904
|
var CP_pictogramMap = {
|
|
21095
|
-
Question
|
|
21096
|
-
Hills
|
|
21097
|
-
"App Developer":
|
|
21098
|
-
Leadership
|
|
21099
|
-
DevicePairing
|
|
21100
|
-
CodeExplanation
|
|
21101
|
-
MagicWand
|
|
21102
|
-
User
|
|
21103
|
-
UserInterface
|
|
21104
|
-
Collaboration
|
|
21105
|
-
Presentation
|
|
21106
|
-
Transform_01
|
|
21107
|
-
Networking_04
|
|
21108
|
-
Goals
|
|
21109
|
-
TransactionalTrust
|
|
21110
|
-
Teacher
|
|
21111
|
-
Carbon
|
|
21112
|
-
Multitask
|
|
21113
|
-
PoughkeepsieBridge
|
|
21114
|
-
AssetManagement
|
|
21115
|
-
Presenter
|
|
23905
|
+
Question,
|
|
23906
|
+
Hills,
|
|
23907
|
+
"App Developer": AppDeveloper,
|
|
23908
|
+
Leadership,
|
|
23909
|
+
DevicePairing,
|
|
23910
|
+
CodeExplanation,
|
|
23911
|
+
MagicWand,
|
|
23912
|
+
User,
|
|
23913
|
+
UserInterface,
|
|
23914
|
+
Collaboration,
|
|
23915
|
+
Presentation,
|
|
23916
|
+
Transform_01,
|
|
23917
|
+
Networking_04,
|
|
23918
|
+
Goals,
|
|
23919
|
+
TransactionalTrust,
|
|
23920
|
+
Teacher,
|
|
23921
|
+
Carbon,
|
|
23922
|
+
Multitask,
|
|
23923
|
+
PoughkeepsieBridge,
|
|
23924
|
+
AssetManagement,
|
|
23925
|
+
Presenter
|
|
21116
23926
|
};
|
|
21117
23927
|
var CP_getPictogram = ({
|
|
21118
23928
|
name
|
|
@@ -21159,12 +23969,12 @@ var CustomPictogram = ({ name, size = "md", className }) => {
|
|
|
21159
23969
|
var CustomPictogram_default = CustomPictogram;
|
|
21160
23970
|
|
|
21161
23971
|
// src/components/CustomTile/index.ts
|
|
21162
|
-
var
|
|
23972
|
+
var import_react29 = require("react");
|
|
21163
23973
|
|
|
21164
23974
|
// src/components/CustomTile/CustomTile.tsx
|
|
21165
|
-
var
|
|
21166
|
-
var
|
|
21167
|
-
var
|
|
23975
|
+
var import_react26 = require("react");
|
|
23976
|
+
var import_react27 = __toESM(require("react"));
|
|
23977
|
+
var import_react28 = require("@carbon/react");
|
|
21168
23978
|
|
|
21169
23979
|
// src/components/CustomTile/lib/getCustomTileCSSClasses.tsx
|
|
21170
23980
|
var import_clsx7 = __toESM(require("clsx"));
|
|
@@ -21250,7 +24060,7 @@ var getTileContent = ({
|
|
|
21250
24060
|
};
|
|
21251
24061
|
|
|
21252
24062
|
// src/components/ContentModal/ContentModal.tsx
|
|
21253
|
-
var
|
|
24063
|
+
var import_react24 = require("@carbon/react");
|
|
21254
24064
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
21255
24065
|
var ContentModal = ({
|
|
21256
24066
|
isOpen,
|
|
@@ -21266,26 +24076,26 @@ var ContentModal = ({
|
|
|
21266
24076
|
setIsOpen(false);
|
|
21267
24077
|
};
|
|
21268
24078
|
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_jsx_runtime16.Fragment, { children: setIsOpen !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
21269
|
-
|
|
24079
|
+
import_react24.ComposedModal,
|
|
21270
24080
|
{
|
|
21271
24081
|
open: isOpen,
|
|
21272
24082
|
onClose: handleClose,
|
|
21273
24083
|
size: "md",
|
|
21274
24084
|
children: [
|
|
21275
24085
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
21276
|
-
|
|
24086
|
+
import_react24.ModalHeader,
|
|
21277
24087
|
{
|
|
21278
24088
|
label: modalLabel,
|
|
21279
24089
|
title: modalHeading,
|
|
21280
24090
|
closeModal: handleClose
|
|
21281
24091
|
}
|
|
21282
24092
|
),
|
|
21283
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
24093
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_react24.ModalBody, { children: [
|
|
21284
24094
|
modalSubHeading && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { style: { marginBottom: "1rem" }, children: modalSubHeading }),
|
|
21285
24095
|
children
|
|
21286
24096
|
] }),
|
|
21287
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
21288
|
-
|
|
24097
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_react24.ModalFooter, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
24098
|
+
import_react24.Button,
|
|
21289
24099
|
{
|
|
21290
24100
|
kind: "secondary",
|
|
21291
24101
|
onClick: () => {
|
|
@@ -21324,7 +24134,7 @@ function validateCTL_propsType({
|
|
|
21324
24134
|
}
|
|
21325
24135
|
|
|
21326
24136
|
// src/components/CustomTile/lib/getHeadingContent.ts
|
|
21327
|
-
var
|
|
24137
|
+
var import_react25 = __toESM(require("react"));
|
|
21328
24138
|
var getHeadingContent = (featuredText) => stripNonAlphanumeric(featuredText?.heading?.children);
|
|
21329
24139
|
var stripNonAlphanumeric = (prop) => {
|
|
21330
24140
|
const extractTextFromNode = (node) => {
|
|
@@ -21334,7 +24144,7 @@ var stripNonAlphanumeric = (prop) => {
|
|
|
21334
24144
|
if (typeof node === "number" || typeof node === "boolean") {
|
|
21335
24145
|
return String(node);
|
|
21336
24146
|
}
|
|
21337
|
-
if (
|
|
24147
|
+
if (import_react25.default.isValidElement(node)) {
|
|
21338
24148
|
if (node.props.children) {
|
|
21339
24149
|
if (Array.isArray(node.props.children)) {
|
|
21340
24150
|
return node.props.children.map(extractTextFromNode).join("");
|
|
@@ -21414,7 +24224,7 @@ var CustomTile = ({
|
|
|
21414
24224
|
linksTo,
|
|
21415
24225
|
linkTarget = "_self"
|
|
21416
24226
|
}) => {
|
|
21417
|
-
const [modalIsOpen, setModalIsOpen] = (0,
|
|
24227
|
+
const [modalIsOpen, setModalIsOpen] = (0, import_react26.useState)(
|
|
21418
24228
|
modalIsAvailable !== void 0 ? false : void 0
|
|
21419
24229
|
);
|
|
21420
24230
|
validateCTL_propsType({ linksTo, linkTarget, modalIsAvailable });
|
|
@@ -21459,13 +24269,13 @@ var CustomTile = ({
|
|
|
21459
24269
|
} = useContainerSize();
|
|
21460
24270
|
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "enj-CustomTile-wrapper", ref: containerRef, children: [
|
|
21461
24271
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
21462
|
-
|
|
24272
|
+
import_react28.Tile,
|
|
21463
24273
|
{
|
|
21464
24274
|
className: `${wrapperClassNames} ${className} enj-CustomTile-${activeBreakpoint}`,
|
|
21465
24275
|
"aria-label": `${componentTitle} tile`,
|
|
21466
24276
|
role: ctl_role,
|
|
21467
24277
|
onClick: () => handleCustomTileClick({ modalIsAvailable, setModalIsOpen }),
|
|
21468
|
-
children: linksTo ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, { children:
|
|
24278
|
+
children: linksTo ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, { children: import_react27.default.cloneElement(LinkWrapper, {}, tileContent) }) : tileContent
|
|
21469
24279
|
}
|
|
21470
24280
|
),
|
|
21471
24281
|
modalIsAvailable && modalIsOpen !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
@@ -21489,10 +24299,10 @@ var CustomTile = ({
|
|
|
21489
24299
|
var CustomTile_default = CustomTile;
|
|
21490
24300
|
|
|
21491
24301
|
// src/components/CustomTile/index.ts
|
|
21492
|
-
var MemoizedCustomTile = (0,
|
|
24302
|
+
var MemoizedCustomTile = (0, import_react29.memo)(CustomTile_default);
|
|
21493
24303
|
|
|
21494
24304
|
// src/components/HeadlinedList/index.ts
|
|
21495
|
-
var
|
|
24305
|
+
var import_react30 = require("react");
|
|
21496
24306
|
|
|
21497
24307
|
// src/components/HeadlinedList/HeadlinedList.tsx
|
|
21498
24308
|
var import_clsx11 = __toESM(require("clsx"));
|
|
@@ -21552,11 +24362,11 @@ var HeadlinedList = ({
|
|
|
21552
24362
|
var HeadlinedList_default = HeadlinedList;
|
|
21553
24363
|
|
|
21554
24364
|
// src/components/HeadlinedList/index.ts
|
|
21555
|
-
var MemoizedHeadlinedList = (0,
|
|
24365
|
+
var MemoizedHeadlinedList = (0, import_react30.memo)(HeadlinedList_default);
|
|
21556
24366
|
|
|
21557
24367
|
// src/components/List/index.ts
|
|
21558
|
-
var
|
|
21559
|
-
var MemoizedList = (0,
|
|
24368
|
+
var import_react31 = require("react");
|
|
24369
|
+
var MemoizedList = (0, import_react31.memo)(List_default);
|
|
21560
24370
|
// Annotate the CommonJS export names for ESM import in node:
|
|
21561
24371
|
0 && (module.exports = {
|
|
21562
24372
|
AppHeader,
|