@emblemvault/hustle-react 1.5.11 → 1.5.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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { createContext, useState, useEffect, useCallback, useRef, useMemo, useContext } from 'react';
|
|
2
3
|
import { HustleIncognitoClient } from 'hustle-incognito';
|
|
3
4
|
import { useEmblemAuthOptional } from '@emblemvault/emblem-auth-react';
|
|
@@ -31,9 +32,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
32
|
));
|
|
32
33
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
33
34
|
|
|
34
|
-
// node_modules
|
|
35
|
+
// node_modules/highlight.js/lib/core.js
|
|
35
36
|
var require_core = __commonJS({
|
|
36
|
-
"node_modules
|
|
37
|
+
"node_modules/highlight.js/lib/core.js"(exports$1, module) {
|
|
37
38
|
function deepFreeze(obj) {
|
|
38
39
|
if (obj instanceof Map) {
|
|
39
40
|
obj.clear = obj.delete = obj.set = function() {
|
|
@@ -4776,7 +4777,7 @@ var animations = `
|
|
|
4776
4777
|
}
|
|
4777
4778
|
`;
|
|
4778
4779
|
|
|
4779
|
-
// node_modules
|
|
4780
|
+
// node_modules/marked/lib/marked.esm.js
|
|
4780
4781
|
function L() {
|
|
4781
4782
|
return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
|
|
4782
4783
|
}
|
|
@@ -5951,11 +5952,11 @@ d.parseInline;
|
|
|
5951
5952
|
b.parse;
|
|
5952
5953
|
x.lex;
|
|
5953
5954
|
|
|
5954
|
-
// node_modules
|
|
5955
|
+
// node_modules/highlight.js/es/core.js
|
|
5955
5956
|
var import_core = __toESM(require_core());
|
|
5956
5957
|
var core_default = import_core.default;
|
|
5957
5958
|
|
|
5958
|
-
// node_modules
|
|
5959
|
+
// node_modules/highlight.js/es/languages/javascript.js
|
|
5959
5960
|
var IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*";
|
|
5960
5961
|
var KEYWORDS = [
|
|
5961
5962
|
"as",
|
|
@@ -6656,7 +6657,7 @@ function javascript(hljs) {
|
|
|
6656
6657
|
};
|
|
6657
6658
|
}
|
|
6658
6659
|
|
|
6659
|
-
// node_modules
|
|
6660
|
+
// node_modules/highlight.js/es/languages/typescript.js
|
|
6660
6661
|
var IDENT_RE2 = "[A-Za-z$_][0-9A-Za-z$_]*";
|
|
6661
6662
|
var KEYWORDS2 = [
|
|
6662
6663
|
"as",
|
|
@@ -7470,7 +7471,7 @@ function typescript(hljs) {
|
|
|
7470
7471
|
return tsLanguage;
|
|
7471
7472
|
}
|
|
7472
7473
|
|
|
7473
|
-
// node_modules
|
|
7474
|
+
// node_modules/highlight.js/es/languages/python.js
|
|
7474
7475
|
function python(hljs) {
|
|
7475
7476
|
const regex = hljs.regex;
|
|
7476
7477
|
const IDENT_RE3 = /[\p{XID_Start}_]\p{XID_Continue}*/u;
|
|
@@ -7885,7 +7886,7 @@ function python(hljs) {
|
|
|
7885
7886
|
};
|
|
7886
7887
|
}
|
|
7887
7888
|
|
|
7888
|
-
// node_modules
|
|
7889
|
+
// node_modules/highlight.js/es/languages/json.js
|
|
7889
7890
|
function json(hljs) {
|
|
7890
7891
|
const ATTRIBUTE = {
|
|
7891
7892
|
className: "attr",
|
|
@@ -7925,7 +7926,7 @@ function json(hljs) {
|
|
|
7925
7926
|
};
|
|
7926
7927
|
}
|
|
7927
7928
|
|
|
7928
|
-
// node_modules
|
|
7929
|
+
// node_modules/highlight.js/es/languages/bash.js
|
|
7929
7930
|
function bash(hljs) {
|
|
7930
7931
|
const regex = hljs.regex;
|
|
7931
7932
|
const VAR = {};
|
|
@@ -8319,7 +8320,7 @@ function bash(hljs) {
|
|
|
8319
8320
|
};
|
|
8320
8321
|
}
|
|
8321
8322
|
|
|
8322
|
-
// node_modules
|
|
8323
|
+
// node_modules/highlight.js/es/languages/shell.js
|
|
8323
8324
|
function shell(hljs) {
|
|
8324
8325
|
return {
|
|
8325
8326
|
name: "Shell Session",
|
|
@@ -8343,7 +8344,7 @@ function shell(hljs) {
|
|
|
8343
8344
|
};
|
|
8344
8345
|
}
|
|
8345
8346
|
|
|
8346
|
-
// node_modules
|
|
8347
|
+
// node_modules/highlight.js/es/languages/css.js
|
|
8347
8348
|
var MODES = (hljs) => {
|
|
8348
8349
|
return {
|
|
8349
8350
|
IMPORTANT: {
|
|
@@ -9280,7 +9281,7 @@ function css(hljs) {
|
|
|
9280
9281
|
};
|
|
9281
9282
|
}
|
|
9282
9283
|
|
|
9283
|
-
// node_modules
|
|
9284
|
+
// node_modules/highlight.js/es/languages/xml.js
|
|
9284
9285
|
function xml(hljs) {
|
|
9285
9286
|
const regex = hljs.regex;
|
|
9286
9287
|
const TAG_NAME_RE = regex.concat(/[\p{L}_]/u, regex.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u);
|
|
@@ -9506,7 +9507,7 @@ function xml(hljs) {
|
|
|
9506
9507
|
};
|
|
9507
9508
|
}
|
|
9508
9509
|
|
|
9509
|
-
// node_modules
|
|
9510
|
+
// node_modules/highlight.js/es/languages/markdown.js
|
|
9510
9511
|
function markdown(hljs) {
|
|
9511
9512
|
const regex = hljs.regex;
|
|
9512
9513
|
const INLINE_HTML = {
|
|
@@ -9738,7 +9739,7 @@ function markdown(hljs) {
|
|
|
9738
9739
|
};
|
|
9739
9740
|
}
|
|
9740
9741
|
|
|
9741
|
-
// node_modules
|
|
9742
|
+
// node_modules/highlight.js/es/languages/sql.js
|
|
9742
9743
|
function sql(hljs) {
|
|
9743
9744
|
const regex = hljs.regex;
|
|
9744
9745
|
const COMMENT_MODE = hljs.COMMENT("--", "$");
|
|
@@ -10381,7 +10382,7 @@ function sql(hljs) {
|
|
|
10381
10382
|
};
|
|
10382
10383
|
}
|
|
10383
10384
|
|
|
10384
|
-
// node_modules
|
|
10385
|
+
// node_modules/highlight.js/es/languages/yaml.js
|
|
10385
10386
|
function yaml(hljs) {
|
|
10386
10387
|
const LITERALS3 = "true false yes no null";
|
|
10387
10388
|
const URI_CHARACTERS = "[\\w#;/?:@&=+$,.~*'()[\\]]+";
|
|
@@ -10582,7 +10583,7 @@ function yaml(hljs) {
|
|
|
10582
10583
|
};
|
|
10583
10584
|
}
|
|
10584
10585
|
|
|
10585
|
-
// node_modules
|
|
10586
|
+
// node_modules/highlight.js/es/languages/rust.js
|
|
10586
10587
|
function rust(hljs) {
|
|
10587
10588
|
const regex = hljs.regex;
|
|
10588
10589
|
const RAW_IDENTIFIER = /(r#)?/;
|
|
@@ -10895,7 +10896,7 @@ function rust(hljs) {
|
|
|
10895
10896
|
};
|
|
10896
10897
|
}
|
|
10897
10898
|
|
|
10898
|
-
// node_modules
|
|
10899
|
+
// node_modules/highlight.js/es/languages/go.js
|
|
10899
10900
|
function go(hljs) {
|
|
10900
10901
|
const LITERALS3 = [
|
|
10901
10902
|
"true",
|
|
@@ -11049,7 +11050,7 @@ function go(hljs) {
|
|
|
11049
11050
|
};
|
|
11050
11051
|
}
|
|
11051
11052
|
|
|
11052
|
-
// node_modules
|
|
11053
|
+
// node_modules/highlight.js/es/languages/java.js
|
|
11053
11054
|
var decimalDigits = "[0-9](_*[0-9])*";
|
|
11054
11055
|
var frac = `\\.(${decimalDigits})`;
|
|
11055
11056
|
var hexDigits = "[0-9a-fA-F](_*[0-9a-fA-F])*";
|
|
@@ -11303,7 +11304,7 @@ function java(hljs) {
|
|
|
11303
11304
|
};
|
|
11304
11305
|
}
|
|
11305
11306
|
|
|
11306
|
-
// node_modules
|
|
11307
|
+
// node_modules/highlight.js/es/languages/cpp.js
|
|
11307
11308
|
function cpp(hljs) {
|
|
11308
11309
|
const regex = hljs.regex;
|
|
11309
11310
|
const C_LINE_COMMENT_MODE = hljs.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] });
|
|
@@ -11846,7 +11847,7 @@ function cpp(hljs) {
|
|
|
11846
11847
|
};
|
|
11847
11848
|
}
|
|
11848
11849
|
|
|
11849
|
-
// node_modules
|
|
11850
|
+
// node_modules/highlight.js/es/languages/csharp.js
|
|
11850
11851
|
function csharp(hljs) {
|
|
11851
11852
|
const BUILT_IN_KEYWORDS = [
|
|
11852
11853
|
"bool",
|
|
@@ -12246,7 +12247,7 @@ function csharp(hljs) {
|
|
|
12246
12247
|
};
|
|
12247
12248
|
}
|
|
12248
12249
|
|
|
12249
|
-
// node_modules
|
|
12250
|
+
// node_modules/highlight.js/es/languages/php.js
|
|
12250
12251
|
function php(hljs) {
|
|
12251
12252
|
const regex = hljs.regex;
|
|
12252
12253
|
const NOT_PERL_ETC = /(?![A-Za-z0-9])(?![$])/;
|
|
@@ -12847,7 +12848,7 @@ function php(hljs) {
|
|
|
12847
12848
|
};
|
|
12848
12849
|
}
|
|
12849
12850
|
|
|
12850
|
-
// node_modules
|
|
12851
|
+
// node_modules/highlight.js/es/languages/ruby.js
|
|
12851
12852
|
function ruby(hljs) {
|
|
12852
12853
|
const regex = hljs.regex;
|
|
12853
12854
|
const RUBY_METHOD_RE = "([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)";
|
|
@@ -13260,7 +13261,7 @@ function ruby(hljs) {
|
|
|
13260
13261
|
};
|
|
13261
13262
|
}
|
|
13262
13263
|
|
|
13263
|
-
// node_modules
|
|
13264
|
+
// node_modules/highlight.js/es/languages/swift.js
|
|
13264
13265
|
function source(re2) {
|
|
13265
13266
|
if (!re2) return null;
|
|
13266
13267
|
if (typeof re2 === "string") return re2;
|
|
@@ -14135,7 +14136,7 @@ function swift(hljs) {
|
|
|
14135
14136
|
};
|
|
14136
14137
|
}
|
|
14137
14138
|
|
|
14138
|
-
// node_modules
|
|
14139
|
+
// node_modules/highlight.js/es/languages/kotlin.js
|
|
14139
14140
|
var decimalDigits2 = "[0-9](_*[0-9])*";
|
|
14140
14141
|
var frac2 = `\\.(${decimalDigits2})`;
|
|
14141
14142
|
var hexDigits2 = "[0-9a-fA-F](_*[0-9a-fA-F])*";
|