hermium 0.1.9 → 0.2.0
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 +56 -0
- package/bin/hermium.mjs +185 -164
- package/dist/api.mjs +3513 -0
- package/dist/public/assets/css/index-Dfs9RUU9.css +1 -0
- package/dist/public/assets/css/styles-B8p6jk5Z.css +1 -0
- package/dist/public/assets/js/ChatInputBlock-Bw7AL70H.js +1 -0
- package/dist/public/assets/js/MarkdownMessage-8d7Y6VL-.js +1 -0
- package/dist/public/assets/js/base-ui-BvQbAt_1.js +1 -0
- package/dist/public/assets/js/chat._sessionId-BG6lVraH.js +1 -0
- package/dist/public/assets/js/chat.index-D2zdMPTT.js +1 -0
- package/dist/public/assets/js/index-C0AK45FU.js +60 -0
- package/dist/public/assets/js/index-Cx5En4FK.js +1 -0
- package/dist/public/assets/js/memory-CeSRdTkW.js +3 -0
- package/dist/public/assets/js/router-8uDKazL-.js +1 -0
- package/dist/public/assets/js/settings-Bc3Y5zXO.js +1 -0
- package/dist/public/assets/js/skills-DZv7sA_5.js +1 -0
- package/dist/public/assets/js/theme-CPkdkpaj.js +1 -0
- package/dist/public/assets/js/usage-DXQsT9_b.js +1 -0
- package/dist/public/assets/woff2/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
- package/dist/public/assets/woff2/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
- package/dist/public/assets/woff2/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
- package/dist/public/assets/woff2/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
- package/dist/public/assets/woff2/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
- package/dist/public/favicon.ico +0 -0
- package/dist/public/logo.png +0 -0
- package/package.json +1 -1
- package/dist/public/assets/IconAlertCircle-BHkmI3j7.js +0 -1
- package/dist/public/assets/IconAlertTriangle-wCJudlVg.js +0 -1
- package/dist/public/assets/IconCheck-CFuEh_p7.js +0 -1
- package/dist/public/assets/IconLoader2-BIx3OuF9.js +0 -1
- package/dist/public/assets/IconRefresh-Dgm93w3T.js +0 -1
- package/dist/public/assets/geist-cyrillic-wght-normal-CHSlOQsW.woff2 +0 -0
- package/dist/public/assets/geist-latin-ext-wght-normal-DMtmJ5ZE.woff2 +0 -0
- package/dist/public/assets/geist-latin-wght-normal-Dm3htQBi.woff2 +0 -0
- package/dist/public/assets/index-Bbz3abmO.js +0 -14
- package/dist/public/assets/index-CWUaRwcE.js +0 -1
- package/dist/public/assets/index-CinLq3cd.js +0 -1
- package/dist/public/assets/index-CrQs9n6q.js +0 -29
- package/dist/public/assets/index-CtacpN3I.js +0 -1
- package/dist/public/assets/index-DY7aE-9s.js +0 -2
- package/dist/public/assets/index-DkYGodJj.js +0 -94
- package/dist/public/assets/index-DvDLadUx.js +0 -1
- package/dist/public/assets/index-U6RcWedt.js +0 -1
- package/dist/public/assets/index-_6iFZ0fh.js +0 -1
- package/dist/public/assets/index-enFS26SU.js +0 -1
- package/dist/public/assets/input-eNcwlDHp.js +0 -1
- package/dist/public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/dist/public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/dist/public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/dist/public/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/dist/public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/dist/public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/dist/public/assets/queries-iHRgZzw2.js +0 -1
- package/dist/public/assets/styles-KcflDlA_.css +0 -1
- package/dist/public/assets/switch-B1DcZLwL.js +0 -1
- package/dist/public/assets/syntax-highlighter-DWPF-A_h.js +0 -6
- package/dist/public/assets/textarea-Di_syYTS.js +0 -1
- package/dist/public/favicon.png +0 -0
- package/dist/public/nous-logo.png +0 -0
- package/dist/server/index.mjs +0 -244
- package/dist/web-server/__23tanstack-start-plugin-adapters-Cwee5PKy.mjs +0 -6
- package/dist/web-server/_chunks/ssr-renderer.mjs +0 -22
- package/dist/web-server/_libs/babel__runtime.mjs +0 -237
- package/dist/web-server/_libs/bail.mjs +0 -8
- package/dist/web-server/_libs/base-ui__react.mjs +0 -9554
- package/dist/web-server/_libs/base-ui__utils.mjs +0 -1101
- package/dist/web-server/_libs/ccount.mjs +0 -16
- package/dist/web-server/_libs/character-entities-legacy.mjs +0 -111
- package/dist/web-server/_libs/character-entities.mjs +0 -2130
- package/dist/web-server/_libs/character-reference-invalid.mjs +0 -33
- package/dist/web-server/_libs/class-variance-authority.mjs +0 -44
- package/dist/web-server/_libs/clsx.mjs +0 -16
- package/dist/web-server/_libs/comma-separated-tokens.mjs +0 -31
- package/dist/web-server/_libs/cookie-es.mjs +0 -44
- package/dist/web-server/_libs/croner.mjs +0 -1
- package/dist/web-server/_libs/crossws.mjs +0 -1
- package/dist/web-server/_libs/decode-named-character-reference+[...].mjs +0 -8
- package/dist/web-server/_libs/devlop.mjs +0 -8
- package/dist/web-server/_libs/escape-string-regexp.mjs +0 -9
- package/dist/web-server/_libs/estree-util-is-identifier-name.mjs +0 -11
- package/dist/web-server/_libs/extend.mjs +0 -97
- package/dist/web-server/_libs/fault.mjs +0 -1
- package/dist/web-server/_libs/floating-ui__core.mjs +0 -663
- package/dist/web-server/_libs/floating-ui__dom.mjs +0 -624
- package/dist/web-server/_libs/floating-ui__react-dom.mjs +0 -279
- package/dist/web-server/_libs/floating-ui__utils.mjs +0 -322
- package/dist/web-server/_libs/format.mjs +0 -1
- package/dist/web-server/_libs/h3.mjs +0 -408
- package/dist/web-server/_libs/hast-util-parse-selector.mjs +0 -39
- package/dist/web-server/_libs/hast-util-to-jsx-runtime.mjs +0 -388
- package/dist/web-server/_libs/hast-util-whitespace.mjs +0 -10
- package/dist/web-server/_libs/hastscript.mjs +0 -200
- package/dist/web-server/_libs/highlight.js.mjs +0 -1
- package/dist/web-server/_libs/hookable.mjs +0 -1
- package/dist/web-server/_libs/html-url-attributes.mjs +0 -26
- package/dist/web-server/_libs/inline-style-parser.mjs +0 -142
- package/dist/web-server/_libs/is-alphabetical.mjs +0 -7
- package/dist/web-server/_libs/is-alphanumerical.mjs +0 -8
- package/dist/web-server/_libs/is-decimal.mjs +0 -7
- package/dist/web-server/_libs/is-hexadecimal.mjs +0 -7
- package/dist/web-server/_libs/is-plain-obj.mjs +0 -10
- package/dist/web-server/_libs/isbot.mjs +0 -21
- package/dist/web-server/_libs/longest-streak.mjs +0 -25
- package/dist/web-server/_libs/lowlight.mjs +0 -1
- package/dist/web-server/_libs/markdown-table.mjs +0 -142
- package/dist/web-server/_libs/mdast-util-find-and-replace.mjs +0 -109
- package/dist/web-server/_libs/mdast-util-from-markdown.mjs +0 -717
- package/dist/web-server/_libs/mdast-util-gfm-autolink-literal+[...].mjs +0 -156
- package/dist/web-server/_libs/mdast-util-gfm-footnote.mjs +0 -117
- package/dist/web-server/_libs/mdast-util-gfm-strikethrough.mjs +0 -54
- package/dist/web-server/_libs/mdast-util-gfm-table.mjs +0 -157
- package/dist/web-server/_libs/mdast-util-gfm-task-list-item.mjs +0 -77
- package/dist/web-server/_libs/mdast-util-gfm.mjs +0 -29
- package/dist/web-server/_libs/mdast-util-phrasing.mjs +0 -30
- package/dist/web-server/_libs/mdast-util-to-hast.mjs +0 -710
- package/dist/web-server/_libs/mdast-util-to-markdown.mjs +0 -798
- package/dist/web-server/_libs/mdast-util-to-string.mjs +0 -38
- package/dist/web-server/_libs/micromark-core-commonmark.mjs +0 -2259
- package/dist/web-server/_libs/micromark-extension-gfm-autolink-literal+[...].mjs +0 -344
- package/dist/web-server/_libs/micromark-extension-gfm-footnote+[...].mjs +0 -279
- package/dist/web-server/_libs/micromark-extension-gfm-strikethrough+[...].mjs +0 -98
- package/dist/web-server/_libs/micromark-extension-gfm-table.mjs +0 -491
- package/dist/web-server/_libs/micromark-extension-gfm-tagfilter+[...].mjs +0 -1
- package/dist/web-server/_libs/micromark-extension-gfm-task-list-item+[...].mjs +0 -77
- package/dist/web-server/_libs/micromark-extension-gfm.mjs +0 -18
- package/dist/web-server/_libs/micromark-factory-destination.mjs +0 -94
- package/dist/web-server/_libs/micromark-factory-label.mjs +0 -63
- package/dist/web-server/_libs/micromark-factory-space.mjs +0 -24
- package/dist/web-server/_libs/micromark-factory-title.mjs +0 -65
- package/dist/web-server/_libs/micromark-factory-whitespace.mjs +0 -22
- package/dist/web-server/_libs/micromark-util-character.mjs +0 -44
- package/dist/web-server/_libs/micromark-util-chunked.mjs +0 -36
- package/dist/web-server/_libs/micromark-util-classify-character+[...].mjs +0 -12
- package/dist/web-server/_libs/micromark-util-combine-extensions+[...].mjs +0 -41
- package/dist/web-server/_libs/micromark-util-decode-numeric-character-reference+[...].mjs +0 -19
- package/dist/web-server/_libs/micromark-util-decode-string.mjs +0 -21
- package/dist/web-server/_libs/micromark-util-encode.mjs +0 -1
- package/dist/web-server/_libs/micromark-util-html-tag-name.mjs +0 -69
- package/dist/web-server/_libs/micromark-util-normalize-identifier+[...].mjs +0 -6
- package/dist/web-server/_libs/micromark-util-resolve-all.mjs +0 -15
- package/dist/web-server/_libs/micromark-util-sanitize-uri.mjs +0 -41
- package/dist/web-server/_libs/micromark-util-subtokenize.mjs +0 -346
- package/dist/web-server/_libs/micromark.mjs +0 -906
- package/dist/web-server/_libs/ocache.mjs +0 -1
- package/dist/web-server/_libs/ohash.mjs +0 -1
- package/dist/web-server/_libs/parse-entities.mjs +0 -245
- package/dist/web-server/_libs/property-information.mjs +0 -1210
- package/dist/web-server/_libs/react-dom.mjs +0 -10779
- package/dist/web-server/_libs/react-markdown.mjs +0 -147
- package/dist/web-server/_libs/react-syntax-highlighter.mjs +0 -941
- package/dist/web-server/_libs/react.mjs +0 -513
- package/dist/web-server/_libs/refractor.mjs +0 -2425
- package/dist/web-server/_libs/remark-gfm.mjs +0 -20
- package/dist/web-server/_libs/remark-parse.mjs +0 -19
- package/dist/web-server/_libs/remark-rehype.mjs +0 -21
- package/dist/web-server/_libs/reselect.mjs +0 -1
- package/dist/web-server/_libs/rou3.mjs +0 -8
- package/dist/web-server/_libs/seroval-plugins.mjs +0 -58
- package/dist/web-server/_libs/seroval.mjs +0 -1775
- package/dist/web-server/_libs/space-separated-tokens.mjs +0 -11
- package/dist/web-server/_libs/srvx.mjs +0 -781
- package/dist/web-server/_libs/style-to-js.mjs +0 -72
- package/dist/web-server/_libs/style-to-object.mjs +0 -38
- package/dist/web-server/_libs/tabler__icons-react.mjs +0 -230
- package/dist/web-server/_libs/tanstack__history.mjs +0 -204
- package/dist/web-server/_libs/tanstack__query-core.mjs +0 -2552
- package/dist/web-server/_libs/tanstack__react-query.mjs +0 -190
- package/dist/web-server/_libs/tanstack__react-router.mjs +0 -1120
- package/dist/web-server/_libs/tanstack__react-store.mjs +0 -2
- package/dist/web-server/_libs/tanstack__router-core.mjs +0 -4288
- package/dist/web-server/_libs/tanstack__store.mjs +0 -1
- package/dist/web-server/_libs/trim-lines.mjs +0 -41
- package/dist/web-server/_libs/trough.mjs +0 -85
- package/dist/web-server/_libs/ufo.mjs +0 -54
- package/dist/web-server/_libs/unctx.mjs +0 -1
- package/dist/web-server/_libs/ungap__structured-clone.mjs +0 -224
- package/dist/web-server/_libs/unified.mjs +0 -661
- package/dist/web-server/_libs/unist-util-is.mjs +0 -100
- package/dist/web-server/_libs/unist-util-position.mjs +0 -27
- package/dist/web-server/_libs/unist-util-stringify-position.mjs +0 -27
- package/dist/web-server/_libs/unist-util-visit-parents.mjs +0 -83
- package/dist/web-server/_libs/unist-util-visit.mjs +0 -24
- package/dist/web-server/_libs/unstorage.mjs +0 -1
- package/dist/web-server/_libs/use-sync-external-store.mjs +0 -139
- package/dist/web-server/_libs/vfile-message.mjs +0 -138
- package/dist/web-server/_libs/vfile.mjs +0 -467
- package/dist/web-server/_libs/zod.mjs +0 -3915
- package/dist/web-server/_libs/zustand.mjs +0 -343
- package/dist/web-server/_libs/zwitch.mjs +0 -1
- package/dist/web-server/_ssr/index-0n2Z3BPQ.mjs +0 -369
- package/dist/web-server/_ssr/index-6itDALOw.mjs +0 -339
- package/dist/web-server/_ssr/index-BIRTrOmp.mjs +0 -449
- package/dist/web-server/_ssr/index-BPzfADac.mjs +0 -66
- package/dist/web-server/_ssr/index-BQE3bF14.mjs +0 -1870
- package/dist/web-server/_ssr/index-C5HpvlUP.mjs +0 -190
- package/dist/web-server/_ssr/index-C_ZxnypN.mjs +0 -213
- package/dist/web-server/_ssr/index-Ca8JFH8f.mjs +0 -612
- package/dist/web-server/_ssr/index-DNVESZiA.mjs +0 -513
- package/dist/web-server/_ssr/index.mjs +0 -1558
- package/dist/web-server/_ssr/input-CqXjTRQg.mjs +0 -20
- package/dist/web-server/_ssr/queries-3H_19mUt.mjs +0 -16
- package/dist/web-server/_ssr/router-sbsNus0Y.mjs +0 -2093
- package/dist/web-server/_ssr/start-HYkvq4Ni.mjs +0 -4
- package/dist/web-server/_ssr/switch-usf2F1UM.mjs +0 -33
- package/dist/web-server/_ssr/syntax-highlighter-5vezNTce.mjs +0 -62
- package/dist/web-server/_ssr/textarea-DfRheWY0.mjs +0 -18
- package/dist/web-server/_tanstack-start-manifest_v-DqW-pKEH.mjs +0 -4
- package/dist/web-server/index.mjs +0 -597
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
const characterReferenceInvalid = {
|
|
2
|
-
0: "�",
|
|
3
|
-
128: "€",
|
|
4
|
-
130: "‚",
|
|
5
|
-
131: "ƒ",
|
|
6
|
-
132: "„",
|
|
7
|
-
133: "…",
|
|
8
|
-
134: "†",
|
|
9
|
-
135: "‡",
|
|
10
|
-
136: "ˆ",
|
|
11
|
-
137: "‰",
|
|
12
|
-
138: "Š",
|
|
13
|
-
139: "‹",
|
|
14
|
-
140: "Œ",
|
|
15
|
-
142: "Ž",
|
|
16
|
-
145: "‘",
|
|
17
|
-
146: "’",
|
|
18
|
-
147: "“",
|
|
19
|
-
148: "”",
|
|
20
|
-
149: "•",
|
|
21
|
-
150: "–",
|
|
22
|
-
151: "—",
|
|
23
|
-
152: "˜",
|
|
24
|
-
153: "™",
|
|
25
|
-
154: "š",
|
|
26
|
-
155: "›",
|
|
27
|
-
156: "œ",
|
|
28
|
-
158: "ž",
|
|
29
|
-
159: "Ÿ"
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
characterReferenceInvalid as c
|
|
33
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { c as clsx } from "./clsx.mjs";
|
|
2
|
-
const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
3
|
-
const cx = clsx;
|
|
4
|
-
const cva = (base, config) => (props) => {
|
|
5
|
-
var _config_compoundVariants;
|
|
6
|
-
if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
7
|
-
const { variants, defaultVariants } = config;
|
|
8
|
-
const getVariantClassNames = Object.keys(variants).map((variant) => {
|
|
9
|
-
const variantProp = props === null || props === void 0 ? void 0 : props[variant];
|
|
10
|
-
const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
|
|
11
|
-
if (variantProp === null) return null;
|
|
12
|
-
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
13
|
-
return variants[variant][variantKey];
|
|
14
|
-
});
|
|
15
|
-
const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
|
|
16
|
-
let [key, value] = param;
|
|
17
|
-
if (value === void 0) {
|
|
18
|
-
return acc;
|
|
19
|
-
}
|
|
20
|
-
acc[key] = value;
|
|
21
|
-
return acc;
|
|
22
|
-
}, {});
|
|
23
|
-
const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
|
|
24
|
-
let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
|
|
25
|
-
return Object.entries(compoundVariantOptions).every((param2) => {
|
|
26
|
-
let [key, value] = param2;
|
|
27
|
-
return Array.isArray(value) ? value.includes({
|
|
28
|
-
...defaultVariants,
|
|
29
|
-
...propsWithoutUndefined
|
|
30
|
-
}[key]) : {
|
|
31
|
-
...defaultVariants,
|
|
32
|
-
...propsWithoutUndefined
|
|
33
|
-
}[key] === value;
|
|
34
|
-
}) ? [
|
|
35
|
-
...acc,
|
|
36
|
-
cvClass,
|
|
37
|
-
cvClassName
|
|
38
|
-
] : acc;
|
|
39
|
-
}, []);
|
|
40
|
-
return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
41
|
-
};
|
|
42
|
-
export {
|
|
43
|
-
cva as c
|
|
44
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
function r(e) {
|
|
2
|
-
var t, f, n = "";
|
|
3
|
-
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
4
|
-
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
5
|
-
var o = e.length;
|
|
6
|
-
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
7
|
-
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
8
|
-
return n;
|
|
9
|
-
}
|
|
10
|
-
function clsx() {
|
|
11
|
-
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
12
|
-
return n;
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
clsx as c
|
|
16
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
function parse(value) {
|
|
2
|
-
const tokens = [];
|
|
3
|
-
const input = String(value || "");
|
|
4
|
-
let index = input.indexOf(",");
|
|
5
|
-
let start = 0;
|
|
6
|
-
let end = false;
|
|
7
|
-
while (!end) {
|
|
8
|
-
if (index === -1) {
|
|
9
|
-
index = input.length;
|
|
10
|
-
end = true;
|
|
11
|
-
}
|
|
12
|
-
const token = input.slice(start, index).trim();
|
|
13
|
-
if (token || !end) {
|
|
14
|
-
tokens.push(token);
|
|
15
|
-
}
|
|
16
|
-
start = index + 1;
|
|
17
|
-
index = input.indexOf(",", start);
|
|
18
|
-
}
|
|
19
|
-
return tokens;
|
|
20
|
-
}
|
|
21
|
-
function stringify(values, options) {
|
|
22
|
-
const settings = {};
|
|
23
|
-
const input = values[values.length - 1] === "" ? [...values, ""] : values;
|
|
24
|
-
return input.join(
|
|
25
|
-
(settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
|
|
26
|
-
).trim();
|
|
27
|
-
}
|
|
28
|
-
export {
|
|
29
|
-
parse as p,
|
|
30
|
-
stringify as s
|
|
31
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
function splitSetCookieString(cookiesString) {
|
|
2
|
-
if (Array.isArray(cookiesString)) return cookiesString.flatMap((c) => splitSetCookieString(c));
|
|
3
|
-
if (typeof cookiesString !== "string") return [];
|
|
4
|
-
const cookiesStrings = [];
|
|
5
|
-
let pos = 0;
|
|
6
|
-
let start;
|
|
7
|
-
let ch;
|
|
8
|
-
let lastComma;
|
|
9
|
-
let nextStart;
|
|
10
|
-
let cookiesSeparatorFound;
|
|
11
|
-
const skipWhitespace = () => {
|
|
12
|
-
while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) pos += 1;
|
|
13
|
-
return pos < cookiesString.length;
|
|
14
|
-
};
|
|
15
|
-
const notSpecialChar = () => {
|
|
16
|
-
ch = cookiesString.charAt(pos);
|
|
17
|
-
return ch !== "=" && ch !== ";" && ch !== ",";
|
|
18
|
-
};
|
|
19
|
-
while (pos < cookiesString.length) {
|
|
20
|
-
start = pos;
|
|
21
|
-
cookiesSeparatorFound = false;
|
|
22
|
-
while (skipWhitespace()) {
|
|
23
|
-
ch = cookiesString.charAt(pos);
|
|
24
|
-
if (ch === ",") {
|
|
25
|
-
lastComma = pos;
|
|
26
|
-
pos += 1;
|
|
27
|
-
skipWhitespace();
|
|
28
|
-
nextStart = pos;
|
|
29
|
-
while (pos < cookiesString.length && notSpecialChar()) pos += 1;
|
|
30
|
-
if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
|
|
31
|
-
cookiesSeparatorFound = true;
|
|
32
|
-
pos = nextStart;
|
|
33
|
-
cookiesStrings.push(cookiesString.slice(start, lastComma));
|
|
34
|
-
start = pos;
|
|
35
|
-
} else pos = lastComma + 1;
|
|
36
|
-
} else pos += 1;
|
|
37
|
-
}
|
|
38
|
-
if (!cookiesSeparatorFound || pos >= cookiesString.length) cookiesStrings.push(cookiesString.slice(start));
|
|
39
|
-
}
|
|
40
|
-
return cookiesStrings;
|
|
41
|
-
}
|
|
42
|
-
export {
|
|
43
|
-
splitSetCookieString as s
|
|
44
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { c as characterEntities } from "./character-entities.mjs";
|
|
2
|
-
const own = {}.hasOwnProperty;
|
|
3
|
-
function decodeNamedCharacterReference(value) {
|
|
4
|
-
return own.call(characterEntities, value) ? characterEntities[value] : false;
|
|
5
|
-
}
|
|
6
|
-
export {
|
|
7
|
-
decodeNamedCharacterReference as d
|
|
8
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const nameRe = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u;
|
|
2
|
-
const nameReJsx = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u;
|
|
3
|
-
const emptyOptions = {};
|
|
4
|
-
function name(name2, options) {
|
|
5
|
-
const settings = emptyOptions;
|
|
6
|
-
const re = settings.jsx ? nameReJsx : nameRe;
|
|
7
|
-
return re.test(name2);
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
name as n
|
|
11
|
-
};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs } from "./react.mjs";
|
|
2
|
-
var extend$1;
|
|
3
|
-
var hasRequiredExtend;
|
|
4
|
-
function requireExtend() {
|
|
5
|
-
if (hasRequiredExtend) return extend$1;
|
|
6
|
-
hasRequiredExtend = 1;
|
|
7
|
-
var hasOwn = Object.prototype.hasOwnProperty;
|
|
8
|
-
var toStr = Object.prototype.toString;
|
|
9
|
-
var defineProperty = Object.defineProperty;
|
|
10
|
-
var gOPD = Object.getOwnPropertyDescriptor;
|
|
11
|
-
var isArray = function isArray2(arr) {
|
|
12
|
-
if (typeof Array.isArray === "function") {
|
|
13
|
-
return Array.isArray(arr);
|
|
14
|
-
}
|
|
15
|
-
return toStr.call(arr) === "[object Array]";
|
|
16
|
-
};
|
|
17
|
-
var isPlainObject = function isPlainObject2(obj) {
|
|
18
|
-
if (!obj || toStr.call(obj) !== "[object Object]") {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
var hasOwnConstructor = hasOwn.call(obj, "constructor");
|
|
22
|
-
var hasIsPrototypeOf = obj.constructor && obj.constructor.prototype && hasOwn.call(obj.constructor.prototype, "isPrototypeOf");
|
|
23
|
-
if (obj.constructor && !hasOwnConstructor && !hasIsPrototypeOf) {
|
|
24
|
-
return false;
|
|
25
|
-
}
|
|
26
|
-
var key;
|
|
27
|
-
for (key in obj) {
|
|
28
|
-
}
|
|
29
|
-
return typeof key === "undefined" || hasOwn.call(obj, key);
|
|
30
|
-
};
|
|
31
|
-
var setProperty = function setProperty2(target, options) {
|
|
32
|
-
if (defineProperty && options.name === "__proto__") {
|
|
33
|
-
defineProperty(target, options.name, {
|
|
34
|
-
enumerable: true,
|
|
35
|
-
configurable: true,
|
|
36
|
-
value: options.newValue,
|
|
37
|
-
writable: true
|
|
38
|
-
});
|
|
39
|
-
} else {
|
|
40
|
-
target[options.name] = options.newValue;
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
var getProperty = function getProperty2(obj, name) {
|
|
44
|
-
if (name === "__proto__") {
|
|
45
|
-
if (!hasOwn.call(obj, name)) {
|
|
46
|
-
return void 0;
|
|
47
|
-
} else if (gOPD) {
|
|
48
|
-
return gOPD(obj, name).value;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return obj[name];
|
|
52
|
-
};
|
|
53
|
-
extend$1 = function extend2() {
|
|
54
|
-
var options, name, src, copy, copyIsArray, clone;
|
|
55
|
-
var target = arguments[0];
|
|
56
|
-
var i = 1;
|
|
57
|
-
var length = arguments.length;
|
|
58
|
-
var deep = false;
|
|
59
|
-
if (typeof target === "boolean") {
|
|
60
|
-
deep = target;
|
|
61
|
-
target = arguments[1] || {};
|
|
62
|
-
i = 2;
|
|
63
|
-
}
|
|
64
|
-
if (target == null || typeof target !== "object" && typeof target !== "function") {
|
|
65
|
-
target = {};
|
|
66
|
-
}
|
|
67
|
-
for (; i < length; ++i) {
|
|
68
|
-
options = arguments[i];
|
|
69
|
-
if (options != null) {
|
|
70
|
-
for (name in options) {
|
|
71
|
-
src = getProperty(target, name);
|
|
72
|
-
copy = getProperty(options, name);
|
|
73
|
-
if (target !== copy) {
|
|
74
|
-
if (deep && copy && (isPlainObject(copy) || (copyIsArray = isArray(copy)))) {
|
|
75
|
-
if (copyIsArray) {
|
|
76
|
-
copyIsArray = false;
|
|
77
|
-
clone = src && isArray(src) ? src : [];
|
|
78
|
-
} else {
|
|
79
|
-
clone = src && isPlainObject(src) ? src : {};
|
|
80
|
-
}
|
|
81
|
-
setProperty(target, { name, newValue: extend2(deep, clone, copy) });
|
|
82
|
-
} else if (typeof copy !== "undefined") {
|
|
83
|
-
setProperty(target, { name, newValue: copy });
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
return target;
|
|
90
|
-
};
|
|
91
|
-
return extend$1;
|
|
92
|
-
}
|
|
93
|
-
var extendExports = requireExtend();
|
|
94
|
-
const extend = /* @__PURE__ */ getDefaultExportFromCjs(extendExports);
|
|
95
|
-
export {
|
|
96
|
-
extend as e
|
|
97
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|