@myst-theme/frontmatter 0.2.8 → 0.2.10
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/dist/cjs/FrontmatterBlock.d.ts +12 -12
- package/dist/cjs/FrontmatterBlock.d.ts.map +1 -1
- package/dist/cjs/FrontmatterBlock.js +9 -4
- package/dist/cjs/downloads.d.ts +2 -3
- package/dist/cjs/downloads.d.ts.map +1 -1
- package/dist/cjs/licenses.d.ts +2 -3
- package/dist/cjs/licenses.d.ts.map +1 -1
- package/dist/esm/FrontmatterBlock.d.ts +12 -12
- package/dist/esm/FrontmatterBlock.d.ts.map +1 -1
- package/dist/esm/FrontmatterBlock.js +9 -4
- package/dist/esm/downloads.d.ts +2 -3
- package/dist/esm/downloads.d.ts.map +1 -1
- package/dist/esm/licenses.d.ts +2 -3
- package/dist/esm/licenses.d.ts.map +1 -1
- package/dist/types/FrontmatterBlock.d.ts +12 -12
- package/dist/types/FrontmatterBlock.d.ts.map +1 -1
- package/dist/types/downloads.d.ts +2 -3
- package/dist/types/downloads.d.ts.map +1 -1
- package/dist/types/licenses.d.ts +2 -3
- package/dist/types/licenses.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { PageFrontmatter } from 'myst-frontmatter';
|
|
3
2
|
import { SourceFileKind } from 'myst-common';
|
|
4
3
|
export declare function Author({ author, className, }: {
|
|
5
4
|
author: Required<PageFrontmatter>['authors'][0];
|
|
6
5
|
className?: string;
|
|
7
|
-
}): JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export declare function AuthorsList({ authors }: {
|
|
9
8
|
authors: PageFrontmatter['authors'];
|
|
10
|
-
}): JSX.Element | null;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
11
10
|
export declare function AuthorAndAffiliations({ authors }: {
|
|
12
11
|
authors: PageFrontmatter['authors'];
|
|
13
|
-
}): JSX.Element | null;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
14
13
|
export declare function DoiText({ doi: possibleLink, className }: {
|
|
15
14
|
doi?: string;
|
|
16
15
|
className?: string;
|
|
17
|
-
}): JSX.Element | null;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
18
17
|
export declare function DoiBadge({ doi: possibleLink, className }: {
|
|
19
18
|
doi?: string;
|
|
20
19
|
className?: string;
|
|
21
|
-
}): JSX.Element | null;
|
|
20
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
22
21
|
export declare function DateString({ date, format, spacer, }: {
|
|
23
22
|
date?: string;
|
|
24
23
|
format?: Intl.DateTimeFormatOptions;
|
|
25
24
|
spacer?: boolean;
|
|
26
|
-
}): JSX.Element | null;
|
|
25
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
27
26
|
export declare function GitHubLink({ github: possibleLink }: {
|
|
28
27
|
github?: string;
|
|
29
|
-
}): JSX.Element | null;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
30
29
|
export declare function OpenAccessBadge({ open_access }: {
|
|
31
30
|
open_access?: boolean;
|
|
32
|
-
}): JSX.Element | null;
|
|
31
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
33
32
|
export declare function Journal({ venue, biblio, }: {
|
|
34
33
|
venue?: Required<PageFrontmatter>['venue'];
|
|
35
34
|
biblio?: Required<PageFrontmatter>['biblio'];
|
|
36
|
-
}): JSX.Element | null;
|
|
37
|
-
export declare function FrontmatterBlock({ frontmatter, kind, authorStyle, }: {
|
|
35
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
36
|
+
export declare function FrontmatterBlock({ frontmatter, kind, authorStyle, className, }: {
|
|
38
37
|
frontmatter: PageFrontmatter;
|
|
39
38
|
kind?: SourceFileKind;
|
|
40
39
|
authorStyle?: 'block' | 'list';
|
|
41
|
-
|
|
40
|
+
className?: string;
|
|
41
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
42
42
|
//# sourceMappingURL=FrontmatterBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrontmatterBlock.d.ts","sourceRoot":"","sources":["../../src/FrontmatterBlock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FrontmatterBlock.d.ts","sourceRoot":"","sources":["../../src/FrontmatterBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AA8B7C,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CA4BA;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;CAAE,kDAgB/E;AAED,wBAAgB,qBAAqB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;CAAE,kDA4DzF;AAED,wBAAgB,OAAO,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,kDAe7F;AAED,wBAAgB,QAAQ,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,kDAgB9F;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,MAIC,EACD,MAAM,GACP,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,IAAI,CAAC,qBAAqB,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,kDAQA;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,kDAcvE;AAED,wBAAgB,eAAe,CAAC,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,kDAazE;AAED,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC9C,kDA0BA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,IAA6B,EAC7B,WAAqB,EACrB,SAAS,GACV,EAAE;IACD,WAAW,EAAE,eAAe,CAAC;IAC7B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAkEA"}
|
|
@@ -98,16 +98,21 @@ function Journal({ venue, biblio, }) {
|
|
|
98
98
|
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex-none mr-2" }, { children: [url ? ((0, jsx_runtime_1.jsx)(ExternalOrInternalLink, Object.assign({ className: "smallcaps font-semibold no-underline", to: url, title: title }, { children: title }))) : ((0, jsx_runtime_1.jsx)("span", Object.assign({ className: "smallcaps font-semibold" }, { children: title }))), volume != null && ((0, jsx_runtime_1.jsxs)("span", Object.assign({ className: "ml-2 pl-2 border-l" }, { children: ["Volume ", volume, issue != null && (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [", Issue ", issue] })] })))] })));
|
|
99
99
|
}
|
|
100
100
|
exports.Journal = Journal;
|
|
101
|
-
function FrontmatterBlock({ frontmatter, kind = myst_common_1.SourceFileKind.Article, authorStyle = 'block', }) {
|
|
101
|
+
function FrontmatterBlock({ frontmatter, kind = myst_common_1.SourceFileKind.Article, authorStyle = 'block', className, }) {
|
|
102
102
|
if (!frontmatter)
|
|
103
103
|
return null;
|
|
104
|
-
const { subject, doi, open_access, license, github, venue, biblio, exports, date } = frontmatter;
|
|
104
|
+
const { title, subtitle, subject, doi, open_access, license, github, venue, biblio, exports, date, authors, } = frontmatter;
|
|
105
105
|
const isJupyter = kind === myst_common_1.SourceFileKind.Notebook;
|
|
106
106
|
const hasExports = exports && exports.length > 0;
|
|
107
|
+
const hasAuthors = authors && authors.length > 0;
|
|
107
108
|
const hasHeaders = subject || github || venue || biblio || open_access || license || hasExports || isJupyter;
|
|
108
109
|
const hasDateOrDoi = doi || date;
|
|
109
|
-
|
|
110
|
+
if (!title && !subtitle && !hasHeaders && !hasAuthors && !hasDateOrDoi) {
|
|
111
|
+
// Nothing to show!
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: (0, classnames_1.default)('mb-8', className) }, { children: [hasHeaders && ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex mt-3 mb-5 text-sm font-light items-center h-6" }, { children: [subject && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: (0, classnames_1.default)('flex-none pr-2 smallcaps', {
|
|
110
115
|
'border-r mr-2': venue,
|
|
111
|
-
}) }, { children: subject }))), (0, jsx_runtime_1.jsx)(Journal, { venue: venue, biblio: biblio }), (0, jsx_runtime_1.jsx)("div", { className: "flex-grow" }), (0, jsx_runtime_1.jsx)(licenses_1.LicenseBadges, { license: license }), (0, jsx_runtime_1.jsx)(OpenAccessBadge, { open_access: open_access }), (0, jsx_runtime_1.jsx)(GitHubLink, { github: github }), isJupyter && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: "inline-block mr-1" }, { children: (0, jsx_runtime_1.jsx)(solid_1.JupyterIcon, { className: "h-5 w-5 inline-block" }) }))), (0, jsx_runtime_1.jsx)(downloads_1.DownloadsDropdown, { exports: exports })] }))),
|
|
116
|
+
}) }, { children: subject }))), (0, jsx_runtime_1.jsx)(Journal, { venue: venue, biblio: biblio }), (0, jsx_runtime_1.jsx)("div", { className: "flex-grow" }), (0, jsx_runtime_1.jsx)(licenses_1.LicenseBadges, { license: license }), (0, jsx_runtime_1.jsx)(OpenAccessBadge, { open_access: open_access }), (0, jsx_runtime_1.jsx)(GitHubLink, { github: github }), isJupyter && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: "inline-block mr-1" }, { children: (0, jsx_runtime_1.jsx)(solid_1.JupyterIcon, { className: "h-5 w-5 inline-block" }) }))), (0, jsx_runtime_1.jsx)(downloads_1.DownloadsDropdown, { exports: exports })] }))), title && (0, jsx_runtime_1.jsx)("h1", Object.assign({ className: "mb-0" }, { children: title })), subtitle && (0, jsx_runtime_1.jsx)("p", Object.assign({ className: "lead mt-2 mb-0 text-zinc-600 dark:text-zinc-400" }, { children: subtitle })), hasAuthors && authorStyle === 'list' && (0, jsx_runtime_1.jsx)(AuthorsList, { authors: frontmatter.authors }), hasAuthors && authorStyle === 'block' && ((0, jsx_runtime_1.jsx)(AuthorAndAffiliations, { authors: frontmatter.authors })), hasDateOrDoi && ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex mt-2 text-sm font-light" }, { children: [(0, jsx_runtime_1.jsx)(DateString, { date: date, spacer: !!doi }), (0, jsx_runtime_1.jsx)(DoiBadge, { doi: doi })] })))] })));
|
|
112
117
|
}
|
|
113
118
|
exports.FrontmatterBlock = FrontmatterBlock;
|
package/dist/cjs/downloads.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type HasExports = {
|
|
3
2
|
exports?: {
|
|
4
3
|
format: string;
|
|
@@ -27,7 +26,7 @@ export declare function Download({ url, filename, format, className, }: {
|
|
|
27
26
|
filename: string;
|
|
28
27
|
format: string;
|
|
29
28
|
className?: string;
|
|
30
|
-
}): JSX.Element;
|
|
31
|
-
export declare function DownloadsDropdown({ exports }: HasExports): JSX.Element | null;
|
|
29
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare function DownloadsDropdown({ exports }: HasExports): import("react/jsx-runtime").JSX.Element | null;
|
|
32
31
|
export {};
|
|
33
32
|
//# sourceMappingURL=downloads.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"downloads.d.ts","sourceRoot":"","sources":["../../src/downloads.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"downloads.d.ts","sourceRoot":"","sources":["../../src/downloads.tsx"],"names":[],"mappings":"AAMA,KAAK,UAAU,GAAG;IAChB,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC/D,CAAC;AAEF;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAKxE;AAED;;;;;;GAMG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gBA0BrE;AAED,wBAAgB,QAAQ,CAAC,EACvB,GAAG,EACH,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAeA;AAED,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,EAAE,UAAU,kDAsBxD"}
|
package/dist/cjs/licenses.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type License = {
|
|
3
2
|
name: string;
|
|
4
3
|
url: string;
|
|
@@ -11,13 +10,13 @@ export declare function CreativeCommonsBadge({ license, preamble, className, }:
|
|
|
11
10
|
license: License;
|
|
12
11
|
preamble?: string;
|
|
13
12
|
className?: string;
|
|
14
|
-
}): JSX.Element | null;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
15
14
|
export declare function LicenseBadges({ license, className, }: {
|
|
16
15
|
license?: string | License | {
|
|
17
16
|
code?: License | string;
|
|
18
17
|
content?: License | string;
|
|
19
18
|
};
|
|
20
19
|
className?: string;
|
|
21
|
-
}): JSX.Element | null;
|
|
20
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
22
21
|
export {};
|
|
23
22
|
//# sourceMappingURL=licenses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"licenses.d.ts","sourceRoot":"","sources":["../../src/licenses.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"licenses.d.ts","sourceRoot":"","sources":["../../src/licenses.tsx"],"names":[],"mappings":"AAYA,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,QAAa,EACb,SAAS,GACV,EAAE;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAiDA;AAgDD,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,SAAS,GACV,EAAE;IACD,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;KAAE,CAAC;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAmBA"}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { PageFrontmatter } from 'myst-frontmatter';
|
|
3
2
|
import { SourceFileKind } from 'myst-common';
|
|
4
3
|
export declare function Author({ author, className, }: {
|
|
5
4
|
author: Required<PageFrontmatter>['authors'][0];
|
|
6
5
|
className?: string;
|
|
7
|
-
}): JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export declare function AuthorsList({ authors }: {
|
|
9
8
|
authors: PageFrontmatter['authors'];
|
|
10
|
-
}): JSX.Element | null;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
11
10
|
export declare function AuthorAndAffiliations({ authors }: {
|
|
12
11
|
authors: PageFrontmatter['authors'];
|
|
13
|
-
}): JSX.Element | null;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
14
13
|
export declare function DoiText({ doi: possibleLink, className }: {
|
|
15
14
|
doi?: string;
|
|
16
15
|
className?: string;
|
|
17
|
-
}): JSX.Element | null;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
18
17
|
export declare function DoiBadge({ doi: possibleLink, className }: {
|
|
19
18
|
doi?: string;
|
|
20
19
|
className?: string;
|
|
21
|
-
}): JSX.Element | null;
|
|
20
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
22
21
|
export declare function DateString({ date, format, spacer, }: {
|
|
23
22
|
date?: string;
|
|
24
23
|
format?: Intl.DateTimeFormatOptions;
|
|
25
24
|
spacer?: boolean;
|
|
26
|
-
}): JSX.Element | null;
|
|
25
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
27
26
|
export declare function GitHubLink({ github: possibleLink }: {
|
|
28
27
|
github?: string;
|
|
29
|
-
}): JSX.Element | null;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
30
29
|
export declare function OpenAccessBadge({ open_access }: {
|
|
31
30
|
open_access?: boolean;
|
|
32
|
-
}): JSX.Element | null;
|
|
31
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
33
32
|
export declare function Journal({ venue, biblio, }: {
|
|
34
33
|
venue?: Required<PageFrontmatter>['venue'];
|
|
35
34
|
biblio?: Required<PageFrontmatter>['biblio'];
|
|
36
|
-
}): JSX.Element | null;
|
|
37
|
-
export declare function FrontmatterBlock({ frontmatter, kind, authorStyle, }: {
|
|
35
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
36
|
+
export declare function FrontmatterBlock({ frontmatter, kind, authorStyle, className, }: {
|
|
38
37
|
frontmatter: PageFrontmatter;
|
|
39
38
|
kind?: SourceFileKind;
|
|
40
39
|
authorStyle?: 'block' | 'list';
|
|
41
|
-
|
|
40
|
+
className?: string;
|
|
41
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
42
42
|
//# sourceMappingURL=FrontmatterBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrontmatterBlock.d.ts","sourceRoot":"","sources":["../../src/FrontmatterBlock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FrontmatterBlock.d.ts","sourceRoot":"","sources":["../../src/FrontmatterBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AA8B7C,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CA4BA;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;CAAE,kDAgB/E;AAED,wBAAgB,qBAAqB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;CAAE,kDA4DzF;AAED,wBAAgB,OAAO,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,kDAe7F;AAED,wBAAgB,QAAQ,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,kDAgB9F;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,MAIC,EACD,MAAM,GACP,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,IAAI,CAAC,qBAAqB,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,kDAQA;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,kDAcvE;AAED,wBAAgB,eAAe,CAAC,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,kDAazE;AAED,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC9C,kDA0BA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,IAA6B,EAC7B,WAAqB,EACrB,SAAS,GACV,EAAE;IACD,WAAW,EAAE,eAAe,CAAC;IAC7B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAkEA"}
|
|
@@ -83,15 +83,20 @@ export function Journal({ venue, biblio, }) {
|
|
|
83
83
|
const { volume, issue } = biblio !== null && biblio !== void 0 ? biblio : {};
|
|
84
84
|
return (_jsxs("div", Object.assign({ className: "flex-none mr-2" }, { children: [url ? (_jsx(ExternalOrInternalLink, Object.assign({ className: "smallcaps font-semibold no-underline", to: url, title: title }, { children: title }))) : (_jsx("span", Object.assign({ className: "smallcaps font-semibold" }, { children: title }))), volume != null && (_jsxs("span", Object.assign({ className: "ml-2 pl-2 border-l" }, { children: ["Volume ", volume, issue != null && _jsxs(_Fragment, { children: [", Issue ", issue] })] })))] })));
|
|
85
85
|
}
|
|
86
|
-
export function FrontmatterBlock({ frontmatter, kind = SourceFileKind.Article, authorStyle = 'block', }) {
|
|
86
|
+
export function FrontmatterBlock({ frontmatter, kind = SourceFileKind.Article, authorStyle = 'block', className, }) {
|
|
87
87
|
if (!frontmatter)
|
|
88
88
|
return null;
|
|
89
|
-
const { subject, doi, open_access, license, github, venue, biblio, exports, date } = frontmatter;
|
|
89
|
+
const { title, subtitle, subject, doi, open_access, license, github, venue, biblio, exports, date, authors, } = frontmatter;
|
|
90
90
|
const isJupyter = kind === SourceFileKind.Notebook;
|
|
91
91
|
const hasExports = exports && exports.length > 0;
|
|
92
|
+
const hasAuthors = authors && authors.length > 0;
|
|
92
93
|
const hasHeaders = subject || github || venue || biblio || open_access || license || hasExports || isJupyter;
|
|
93
94
|
const hasDateOrDoi = doi || date;
|
|
94
|
-
|
|
95
|
+
if (!title && !subtitle && !hasHeaders && !hasAuthors && !hasDateOrDoi) {
|
|
96
|
+
// Nothing to show!
|
|
97
|
+
return null;
|
|
98
|
+
}
|
|
99
|
+
return (_jsxs("div", Object.assign({ className: classNames('mb-8', className) }, { children: [hasHeaders && (_jsxs("div", Object.assign({ className: "flex mt-3 mb-5 text-sm font-light items-center h-6" }, { children: [subject && (_jsx("div", Object.assign({ className: classNames('flex-none pr-2 smallcaps', {
|
|
95
100
|
'border-r mr-2': venue,
|
|
96
|
-
}) }, { children: subject }))), _jsx(Journal, { venue: venue, biblio: biblio }), _jsx("div", { className: "flex-grow" }), _jsx(LicenseBadges, { license: license }), _jsx(OpenAccessBadge, { open_access: open_access }), _jsx(GitHubLink, { github: github }), isJupyter && (_jsx("div", Object.assign({ className: "inline-block mr-1" }, { children: _jsx(JupyterIcon, { className: "h-5 w-5 inline-block" }) }))), _jsx(DownloadsDropdown, { exports: exports })] }))),
|
|
101
|
+
}) }, { children: subject }))), _jsx(Journal, { venue: venue, biblio: biblio }), _jsx("div", { className: "flex-grow" }), _jsx(LicenseBadges, { license: license }), _jsx(OpenAccessBadge, { open_access: open_access }), _jsx(GitHubLink, { github: github }), isJupyter && (_jsx("div", Object.assign({ className: "inline-block mr-1" }, { children: _jsx(JupyterIcon, { className: "h-5 w-5 inline-block" }) }))), _jsx(DownloadsDropdown, { exports: exports })] }))), title && _jsx("h1", Object.assign({ className: "mb-0" }, { children: title })), subtitle && _jsx("p", Object.assign({ className: "lead mt-2 mb-0 text-zinc-600 dark:text-zinc-400" }, { children: subtitle })), hasAuthors && authorStyle === 'list' && _jsx(AuthorsList, { authors: frontmatter.authors }), hasAuthors && authorStyle === 'block' && (_jsx(AuthorAndAffiliations, { authors: frontmatter.authors })), hasDateOrDoi && (_jsxs("div", Object.assign({ className: "flex mt-2 text-sm font-light" }, { children: [_jsx(DateString, { date: date, spacer: !!doi }), _jsx(DoiBadge, { doi: doi })] })))] })));
|
|
97
102
|
}
|
package/dist/esm/downloads.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type HasExports = {
|
|
3
2
|
exports?: {
|
|
4
3
|
format: string;
|
|
@@ -27,7 +26,7 @@ export declare function Download({ url, filename, format, className, }: {
|
|
|
27
26
|
filename: string;
|
|
28
27
|
format: string;
|
|
29
28
|
className?: string;
|
|
30
|
-
}): JSX.Element;
|
|
31
|
-
export declare function DownloadsDropdown({ exports }: HasExports): JSX.Element | null;
|
|
29
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare function DownloadsDropdown({ exports }: HasExports): import("react/jsx-runtime").JSX.Element | null;
|
|
32
31
|
export {};
|
|
33
32
|
//# sourceMappingURL=downloads.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"downloads.d.ts","sourceRoot":"","sources":["../../src/downloads.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"downloads.d.ts","sourceRoot":"","sources":["../../src/downloads.tsx"],"names":[],"mappings":"AAMA,KAAK,UAAU,GAAG;IAChB,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC/D,CAAC;AAEF;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAKxE;AAED;;;;;;GAMG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gBA0BrE;AAED,wBAAgB,QAAQ,CAAC,EACvB,GAAG,EACH,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAeA;AAED,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,EAAE,UAAU,kDAsBxD"}
|
package/dist/esm/licenses.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type License = {
|
|
3
2
|
name: string;
|
|
4
3
|
url: string;
|
|
@@ -11,13 +10,13 @@ export declare function CreativeCommonsBadge({ license, preamble, className, }:
|
|
|
11
10
|
license: License;
|
|
12
11
|
preamble?: string;
|
|
13
12
|
className?: string;
|
|
14
|
-
}): JSX.Element | null;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
15
14
|
export declare function LicenseBadges({ license, className, }: {
|
|
16
15
|
license?: string | License | {
|
|
17
16
|
code?: License | string;
|
|
18
17
|
content?: License | string;
|
|
19
18
|
};
|
|
20
19
|
className?: string;
|
|
21
|
-
}): JSX.Element | null;
|
|
20
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
22
21
|
export {};
|
|
23
22
|
//# sourceMappingURL=licenses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"licenses.d.ts","sourceRoot":"","sources":["../../src/licenses.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"licenses.d.ts","sourceRoot":"","sources":["../../src/licenses.tsx"],"names":[],"mappings":"AAYA,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,QAAa,EACb,SAAS,GACV,EAAE;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAiDA;AAgDD,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,SAAS,GACV,EAAE;IACD,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;KAAE,CAAC;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAmBA"}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { PageFrontmatter } from 'myst-frontmatter';
|
|
3
2
|
import { SourceFileKind } from 'myst-common';
|
|
4
3
|
export declare function Author({ author, className, }: {
|
|
5
4
|
author: Required<PageFrontmatter>['authors'][0];
|
|
6
5
|
className?: string;
|
|
7
|
-
}): JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export declare function AuthorsList({ authors }: {
|
|
9
8
|
authors: PageFrontmatter['authors'];
|
|
10
|
-
}): JSX.Element | null;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
11
10
|
export declare function AuthorAndAffiliations({ authors }: {
|
|
12
11
|
authors: PageFrontmatter['authors'];
|
|
13
|
-
}): JSX.Element | null;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
14
13
|
export declare function DoiText({ doi: possibleLink, className }: {
|
|
15
14
|
doi?: string;
|
|
16
15
|
className?: string;
|
|
17
|
-
}): JSX.Element | null;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
18
17
|
export declare function DoiBadge({ doi: possibleLink, className }: {
|
|
19
18
|
doi?: string;
|
|
20
19
|
className?: string;
|
|
21
|
-
}): JSX.Element | null;
|
|
20
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
22
21
|
export declare function DateString({ date, format, spacer, }: {
|
|
23
22
|
date?: string;
|
|
24
23
|
format?: Intl.DateTimeFormatOptions;
|
|
25
24
|
spacer?: boolean;
|
|
26
|
-
}): JSX.Element | null;
|
|
25
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
27
26
|
export declare function GitHubLink({ github: possibleLink }: {
|
|
28
27
|
github?: string;
|
|
29
|
-
}): JSX.Element | null;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
30
29
|
export declare function OpenAccessBadge({ open_access }: {
|
|
31
30
|
open_access?: boolean;
|
|
32
|
-
}): JSX.Element | null;
|
|
31
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
33
32
|
export declare function Journal({ venue, biblio, }: {
|
|
34
33
|
venue?: Required<PageFrontmatter>['venue'];
|
|
35
34
|
biblio?: Required<PageFrontmatter>['biblio'];
|
|
36
|
-
}): JSX.Element | null;
|
|
37
|
-
export declare function FrontmatterBlock({ frontmatter, kind, authorStyle, }: {
|
|
35
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
36
|
+
export declare function FrontmatterBlock({ frontmatter, kind, authorStyle, className, }: {
|
|
38
37
|
frontmatter: PageFrontmatter;
|
|
39
38
|
kind?: SourceFileKind;
|
|
40
39
|
authorStyle?: 'block' | 'list';
|
|
41
|
-
|
|
40
|
+
className?: string;
|
|
41
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
42
42
|
//# sourceMappingURL=FrontmatterBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrontmatterBlock.d.ts","sourceRoot":"","sources":["../../src/FrontmatterBlock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FrontmatterBlock.d.ts","sourceRoot":"","sources":["../../src/FrontmatterBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AA8B7C,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CA4BA;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;CAAE,kDAgB/E;AAED,wBAAgB,qBAAqB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;CAAE,kDA4DzF;AAED,wBAAgB,OAAO,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,kDAe7F;AAED,wBAAgB,QAAQ,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,kDAgB9F;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,MAIC,EACD,MAAM,GACP,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,IAAI,CAAC,qBAAqB,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,kDAQA;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,kDAcvE;AAED,wBAAgB,eAAe,CAAC,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,kDAazE;AAED,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC9C,kDA0BA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,IAA6B,EAC7B,WAAqB,EACrB,SAAS,GACV,EAAE;IACD,WAAW,EAAE,eAAe,CAAC;IAC7B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAkEA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type HasExports = {
|
|
3
2
|
exports?: {
|
|
4
3
|
format: string;
|
|
@@ -27,7 +26,7 @@ export declare function Download({ url, filename, format, className, }: {
|
|
|
27
26
|
filename: string;
|
|
28
27
|
format: string;
|
|
29
28
|
className?: string;
|
|
30
|
-
}): JSX.Element;
|
|
31
|
-
export declare function DownloadsDropdown({ exports }: HasExports): JSX.Element | null;
|
|
29
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare function DownloadsDropdown({ exports }: HasExports): import("react/jsx-runtime").JSX.Element | null;
|
|
32
31
|
export {};
|
|
33
32
|
//# sourceMappingURL=downloads.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"downloads.d.ts","sourceRoot":"","sources":["../../src/downloads.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"downloads.d.ts","sourceRoot":"","sources":["../../src/downloads.tsx"],"names":[],"mappings":"AAMA,KAAK,UAAU,GAAG;IAChB,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC/D,CAAC;AAEF;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAKxE;AAED;;;;;;GAMG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gBA0BrE;AAED,wBAAgB,QAAQ,CAAC,EACvB,GAAG,EACH,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAeA;AAED,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,EAAE,UAAU,kDAsBxD"}
|
package/dist/types/licenses.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type License = {
|
|
3
2
|
name: string;
|
|
4
3
|
url: string;
|
|
@@ -11,13 +10,13 @@ export declare function CreativeCommonsBadge({ license, preamble, className, }:
|
|
|
11
10
|
license: License;
|
|
12
11
|
preamble?: string;
|
|
13
12
|
className?: string;
|
|
14
|
-
}): JSX.Element | null;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
15
14
|
export declare function LicenseBadges({ license, className, }: {
|
|
16
15
|
license?: string | License | {
|
|
17
16
|
code?: License | string;
|
|
18
17
|
content?: License | string;
|
|
19
18
|
};
|
|
20
19
|
className?: string;
|
|
21
|
-
}): JSX.Element | null;
|
|
20
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
22
21
|
export {};
|
|
23
22
|
//# sourceMappingURL=licenses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"licenses.d.ts","sourceRoot":"","sources":["../../src/licenses.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"licenses.d.ts","sourceRoot":"","sources":["../../src/licenses.tsx"],"names":[],"mappings":"AAYA,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,QAAa,EACb,SAAS,GACV,EAAE;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAiDA;AAgDD,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,SAAS,GACV,EAAE;IACD,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;KAAE,CAAC;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDAmBA"}
|