rotion 1.0.0 → 1.1.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.
Files changed (44) hide show
  1. package/README.md +2 -1
  2. package/dist/exporter/api.d.ts +4 -0
  3. package/dist/exporter/api.js +22 -0
  4. package/dist/exporter/api.js.map +1 -1
  5. package/dist/exporter/blocks.js +30 -1
  6. package/dist/exporter/blocks.js.map +1 -1
  7. package/dist/exporter/files.d.ts +2 -1
  8. package/dist/exporter/files.js +18 -6
  9. package/dist/exporter/files.js.map +1 -1
  10. package/dist/exporter/github.d.ts +242 -0
  11. package/dist/exporter/github.js +44 -0
  12. package/dist/exporter/github.js.map +1 -0
  13. package/dist/exporter/types.d.ts +17 -1
  14. package/dist/exporter/types.js.map +1 -1
  15. package/dist/ui/cjs/index.css +1 -1
  16. package/dist/ui/cjs/index.js +1 -1
  17. package/dist/ui/cjs/index.js.map +1 -1
  18. package/dist/ui/cjs/types/exporter/api.d.ts +4 -0
  19. package/dist/ui/cjs/types/exporter/files.d.ts +2 -1
  20. package/dist/ui/cjs/types/exporter/github.d.ts +242 -0
  21. package/dist/ui/cjs/types/exporter/types.d.ts +17 -1
  22. package/dist/ui/cjs/types/ui/components/Icon/Icon.d.ts +1 -1
  23. package/dist/ui/cjs/types/ui/components/Page/LinkPreviewBlock/LinkPreviewBlock.types.d.ts +2 -2
  24. package/dist/ui/esm/index.css +1 -1
  25. package/dist/ui/esm/index.js +1 -1
  26. package/dist/ui/esm/index.js.map +1 -1
  27. package/dist/ui/esm/types/exporter/api.d.ts +4 -0
  28. package/dist/ui/esm/types/exporter/files.d.ts +2 -1
  29. package/dist/ui/esm/types/exporter/github.d.ts +242 -0
  30. package/dist/ui/esm/types/exporter/types.d.ts +17 -1
  31. package/dist/ui/esm/types/ui/components/Icon/Icon.d.ts +1 -1
  32. package/dist/ui/esm/types/ui/components/Page/LinkPreviewBlock/LinkPreviewBlock.types.d.ts +2 -2
  33. package/dist/ui/style-without-dark.css +1 -1
  34. package/dist/ui/types.d.ts +38 -4
  35. package/dist/ui/umd/index.css +1 -1
  36. package/dist/ui/umd/index.js +1 -1
  37. package/dist/ui/umd/index.js.map +1 -1
  38. package/dist/ui/umd/types/exporter/api.d.ts +4 -0
  39. package/dist/ui/umd/types/exporter/files.d.ts +2 -1
  40. package/dist/ui/umd/types/exporter/github.d.ts +242 -0
  41. package/dist/ui/umd/types/exporter/types.d.ts +17 -1
  42. package/dist/ui/umd/types/ui/components/Icon/Icon.d.ts +1 -1
  43. package/dist/ui/umd/types/ui/components/Page/LinkPreviewBlock/LinkPreviewBlock.types.d.ts +2 -2
  44. package/package.json +16 -21
@@ -13,3 +13,7 @@ export interface reqAPIWithBackoffAndCacheArgs {
13
13
  count: number;
14
14
  }
15
15
  export declare function reqAPIWithBackoffAndCache<T>({ name, func, args, count }: reqAPIWithBackoffAndCacheArgs): Promise<T>;
16
+ export interface FetchOptions extends RequestInit {
17
+ timeout?: number;
18
+ }
19
+ export declare function fetchWithTimeout(url: string | URL | Request, options?: FetchOptions): Promise<Response>;
@@ -6,7 +6,8 @@ export declare const atoh: (a: string) => string;
6
6
  export declare const createDirWhenNotfound: (dir: string) => Promise<void>;
7
7
  export declare function readCache<T>(f: string): Promise<T>;
8
8
  export declare function writeCache(f: string, data: unknown): Promise<void>;
9
- export declare function isAvailableCache(f: string): Promise<boolean>;
9
+ export declare function isAvailableCache(f: string, d?: number): Promise<boolean>;
10
+ export declare const sleep: (m: number) => Promise<unknown>;
10
11
  export declare function saveFile(fileUrl: string, prefix: string): Promise<{
11
12
  src: string;
12
13
  size: number;
@@ -0,0 +1,242 @@
1
+ interface FetchFunc<T> {
2
+ (input: RequestInfo, init?: RequestInit): Promise<T>;
3
+ }
4
+ export interface GithubRepoArgs {
5
+ owner: string;
6
+ repo: string;
7
+ }
8
+ export interface GithubRepoResponse {
9
+ id: number;
10
+ node_id: string;
11
+ name: string;
12
+ full_name: string;
13
+ private: boolean;
14
+ owner: {
15
+ login: string;
16
+ id: number;
17
+ node_id: string;
18
+ avatar_url: string;
19
+ gravatar_id: string;
20
+ url: string;
21
+ html_url: string;
22
+ followers_url: string;
23
+ following_url: string;
24
+ gists_url: string;
25
+ starred_url: string;
26
+ subscriptions_url: string;
27
+ organizations_url: string;
28
+ repos_url: string;
29
+ events_url: string;
30
+ received_events_url: string;
31
+ type: string;
32
+ site_admin: boolean;
33
+ };
34
+ html_url: string;
35
+ description: string;
36
+ fork: boolean;
37
+ url: string;
38
+ forks_url: string;
39
+ keys_url: string;
40
+ collaborators_url: string;
41
+ teams_url: string;
42
+ hooks_url: string;
43
+ issue_events_url: string;
44
+ events_url: string;
45
+ assignees_url: string;
46
+ branches_url: string;
47
+ tags_url: string;
48
+ blobs_url: string;
49
+ git_tags_url: string;
50
+ git_refs_url: string;
51
+ trees_url: string;
52
+ statuses_url: string;
53
+ languages_url: string;
54
+ stargazers_url: string;
55
+ contributors_url: string;
56
+ subscribers_url: string;
57
+ subscription_url: string;
58
+ commits_url: string;
59
+ git_commits_url: string;
60
+ comments_url: string;
61
+ issue_comment_url: string;
62
+ contents_url: string;
63
+ compare_url: string;
64
+ merges_url: string;
65
+ archive_url: string;
66
+ downloads_url: string;
67
+ issues_url: string;
68
+ pulls_url: string;
69
+ milestones_url: string;
70
+ notifications_url: string;
71
+ labels_url: string;
72
+ releases_url: string;
73
+ deployments_url: string;
74
+ created_at: string;
75
+ updated_at: string;
76
+ pushed_at: string;
77
+ git_url: string;
78
+ ssh_url: string;
79
+ clone_url: string;
80
+ svn_url: string;
81
+ homepage: string;
82
+ size: number;
83
+ stargazers_count: number;
84
+ watchers_count: number;
85
+ language: string;
86
+ has_issues: boolean;
87
+ has_projects: boolean;
88
+ has_downloads: boolean;
89
+ has_wiki: boolean;
90
+ has_pages: boolean;
91
+ has_discussions: boolean;
92
+ forks_count: number;
93
+ mirror_url: string;
94
+ archived: boolean;
95
+ disabled: boolean;
96
+ open_issues_count: number;
97
+ license: {
98
+ key: string;
99
+ name: string;
100
+ spdx_id: string;
101
+ url: string;
102
+ node_id: string;
103
+ };
104
+ allow_forking: boolean;
105
+ is_template: boolean;
106
+ web_commits_signoff_required: boolean;
107
+ topics: string[];
108
+ visibility: string;
109
+ forks: number;
110
+ open_issues: number;
111
+ watchers: number;
112
+ default_branch: string;
113
+ temp_clone_token: string;
114
+ network_count: number;
115
+ subscribers_count: number;
116
+ }
117
+ export declare function getRepo({ owner, repo }: GithubRepoArgs, func?: FetchFunc<GithubRepoResponse>): Promise<GithubRepoResponse>;
118
+ export interface LinkPreviewGithubRepo {
119
+ name: string;
120
+ login: string;
121
+ avatar_url: string;
122
+ avatar_src: string;
123
+ updated_at: string;
124
+ }
125
+ export declare function getRepoForLinkPreview({ owner, repo }: GithubRepoArgs, func?: FetchFunc<GithubRepoResponse>): Promise<LinkPreviewGithubRepo>;
126
+ export interface GithubIssueArgs {
127
+ owner: string;
128
+ repo: string;
129
+ number: string;
130
+ }
131
+ export interface GithubIssueResponse {
132
+ url: string;
133
+ repository_url: string;
134
+ labels_url: string;
135
+ comments_url: string;
136
+ events_url: string;
137
+ html_url: string;
138
+ id: number;
139
+ node_id: string;
140
+ number: number;
141
+ title: string;
142
+ user: {
143
+ login: string;
144
+ id: number;
145
+ node_id: string;
146
+ avatar_url: string;
147
+ glavatar_id: string;
148
+ url: string;
149
+ html_url: string;
150
+ followers_url: string;
151
+ following_url: string;
152
+ gist_url: string;
153
+ starred_url: string;
154
+ subscriptions_url: string;
155
+ organizations_url: string;
156
+ repos_url: string;
157
+ events_url: string;
158
+ received_events_url: string;
159
+ type: string;
160
+ site_admin: boolean;
161
+ };
162
+ labels: [
163
+ {
164
+ id: number;
165
+ node_id: string;
166
+ url: string;
167
+ name: string;
168
+ color: string;
169
+ default: boolean;
170
+ description: string;
171
+ }
172
+ ];
173
+ state: 'open' | 'closed';
174
+ locked: boolean;
175
+ assignee: string;
176
+ assignees: string[];
177
+ milestone: string;
178
+ comments: number;
179
+ created_at: string;
180
+ updated_at: string;
181
+ closed_at: string | null;
182
+ author_association: string;
183
+ active_lock_reason: string;
184
+ draft: boolean;
185
+ pull_request?: {
186
+ url: string;
187
+ html_url: string;
188
+ diff_url: string;
189
+ patch_url: string;
190
+ merged_at: string;
191
+ };
192
+ body: string;
193
+ closed_by: {
194
+ login: string;
195
+ id: number;
196
+ node_id: string;
197
+ avatar_url: string;
198
+ glavatar_id: string;
199
+ url: string;
200
+ html_url: string;
201
+ followers_url: string;
202
+ following_url: string;
203
+ gist_url: string;
204
+ starred_url: string;
205
+ subscriptions_url: string;
206
+ organizations_url: string;
207
+ repos_url: string;
208
+ events_url: string;
209
+ received_events_url: string;
210
+ type: string;
211
+ site_admin: boolean;
212
+ };
213
+ reactions: {
214
+ url: string;
215
+ total_count: number;
216
+ '+1': number;
217
+ '-1': number;
218
+ laugh: number;
219
+ hooray: number;
220
+ confused: number;
221
+ heart: number;
222
+ rocket: number;
223
+ eyes: number;
224
+ };
225
+ timeline_url: string;
226
+ performed_via_github_app: string;
227
+ state_reason: string;
228
+ }
229
+ export declare function getIssue({ owner, repo, number }: GithubIssueArgs, func?: FetchFunc<GithubIssueResponse>): Promise<GithubIssueResponse>;
230
+ export interface LinkPreviewGithubIssue {
231
+ title: string;
232
+ login: string;
233
+ avatar_url: string;
234
+ avatar_src: string;
235
+ created_at: string;
236
+ closed_at: string | null;
237
+ merged_at: string | null;
238
+ state: 'open' | 'closed' | 'merged';
239
+ number: number;
240
+ }
241
+ export declare function getIssueForLinkPreview({ owner, repo, number }: GithubIssueArgs, func?: FetchFunc<GithubIssueResponse>): Promise<LinkPreviewGithubIssue>;
242
+ export {};
@@ -1,4 +1,5 @@
1
1
  import type { QueryDatabaseResponse, ListBlockChildrenResponse, GetSelfResponse, ParagraphBlockObjectResponse, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, BulletedListItemBlockObjectResponse, NumberedListItemBlockObjectResponse, QuoteBlockObjectResponse, ToDoBlockObjectResponse, ToggleBlockObjectResponse, TemplateBlockObjectResponse, SyncedBlockBlockObjectResponse, ChildPageBlockObjectResponse, ChildDatabaseBlockObjectResponse, EquationBlockObjectResponse, CodeBlockObjectResponse, CalloutBlockObjectResponse, DividerBlockObjectResponse, BreadcrumbBlockObjectResponse, TableOfContentsBlockObjectResponse, ColumnListBlockObjectResponse, ColumnBlockObjectResponse, LinkToPageBlockObjectResponse, TableBlockObjectResponse, TableRowBlockObjectResponse, EmbedBlockObjectResponse, BookmarkBlockObjectResponse, ImageBlockObjectResponse, VideoBlockObjectResponse, PdfBlockObjectResponse, FileBlockObjectResponse, AudioBlockObjectResponse, LinkPreviewBlockObjectResponse, UnsupportedBlockObjectResponse, RichTextItemResponse, GetPagePropertyResponse, PageObjectResponse, PersonUserObjectResponse, DatabaseObjectResponse, MentionRichTextItemResponse, TextRichTextItemResponse, EquationRichTextItemResponse } from '@notionhq/client/build/src/api-endpoints.js';
2
+ import { LinkPreviewGithubRepo, LinkPreviewGithubIssue } from './github.js';
2
3
  export * from '@notionhq/client/build/src/api-endpoints.js';
3
4
  export type IdRequest = string | string;
4
5
  export type EmptyObject = Record<string, never>;
@@ -259,12 +260,27 @@ export type PdfBlockObjectResponseEx = PdfBlockObjectResponse & {
259
260
  export type SyncedBlockBlockObjectResponseEx = SyncedBlockBlockObjectResponse & {
260
261
  children?: ListBlockChildrenResponseEx;
261
262
  };
262
- export type BlockObjectResponse = ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | BulletedListItemBlockObjectResponseEx | NumberedListItemBlockObjectResponseEx | QuoteBlockObjectResponse | ToDoBlockObjectResponse | ToggleBlockObjectResponseEx | TemplateBlockObjectResponse | SyncedBlockBlockObjectResponseEx | ChildPageBlockObjectResponseEx | ChildDatabaseBlockObjectResponseEx | EquationBlockObjectResponse | CodeBlockObjectResponse | CalloutBlockObjectResponseEx | DividerBlockObjectResponse | BreadcrumbBlockObjectResponseEx | TableOfContentsBlockObjectResponse | ColumnListBlockObjectResponseEx | ColumnBlockObjectResponse | LinkToPageBlockObjectResponse | TableBlockObjectResponseEx | TableRowBlockObjectResponse | EmbedBlockObjectResponseEx | BookmarkBlockObjectResponseEx | ImageBlockObjectResponseEx | VideoBlockObjectResponseEx | PdfBlockObjectResponseEx | FileBlockObjectResponseEx | AudioBlockObjectResponse | LinkPreviewBlockObjectResponse | UnsupportedBlockObjectResponse;
263
+ export type BlockObjectResponse = ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | BulletedListItemBlockObjectResponseEx | NumberedListItemBlockObjectResponseEx | QuoteBlockObjectResponse | ToDoBlockObjectResponse | ToggleBlockObjectResponseEx | TemplateBlockObjectResponse | SyncedBlockBlockObjectResponseEx | ChildPageBlockObjectResponseEx | ChildDatabaseBlockObjectResponseEx | EquationBlockObjectResponse | CodeBlockObjectResponse | CalloutBlockObjectResponseEx | DividerBlockObjectResponse | BreadcrumbBlockObjectResponseEx | TableOfContentsBlockObjectResponse | ColumnListBlockObjectResponseEx | ColumnBlockObjectResponse | LinkToPageBlockObjectResponse | TableBlockObjectResponseEx | TableRowBlockObjectResponse | EmbedBlockObjectResponseEx | BookmarkBlockObjectResponseEx | ImageBlockObjectResponseEx | VideoBlockObjectResponseEx | PdfBlockObjectResponseEx | FileBlockObjectResponseEx | AudioBlockObjectResponse | LinkPreviewBlockObjectResponseEx | UnsupportedBlockObjectResponse;
263
264
  export type ListBlockChildrenResponseEx = ListBlockChildrenResponse & {
264
265
  results: Array<BlockObjectResponse>;
265
266
  children?: ListBlockChildrenResponse;
266
267
  last_edited_time?: string;
267
268
  };
269
+ export type LinkPreviewBlockObjectResponseEx = LinkPreviewBlockObjectResponse & {
270
+ link_preview: {
271
+ url: string;
272
+ github?: {
273
+ type: 'issue';
274
+ issue: LinkPreviewGithubIssue;
275
+ } | {
276
+ type: 'repo';
277
+ repo: LinkPreviewGithubRepo;
278
+ };
279
+ figma?: {
280
+ html: string;
281
+ };
282
+ };
283
+ };
268
284
  export type GetPageResponseEx = PageObjectResponse & {
269
285
  cover: {
270
286
  src: string;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import './Icon.css';
3
3
  export interface IconProps {
4
- name: 'figma' | 'slack' | 'github' | 'file' | 'link';
4
+ name: 'figma' | 'slack' | 'github' | 'file' | 'link' | 'codemerge' | 'circlecheck' | 'circledot';
5
5
  width?: string;
6
6
  height?: string;
7
7
  className?: string;
@@ -1,4 +1,4 @@
1
- import type { LinkPreviewBlockObjectResponse } from '../../../../exporter';
1
+ import type { LinkPreviewBlockObjectResponseEx } from '../../../../exporter';
2
2
  export type LinkPreviewBlockProps = {
3
- block: LinkPreviewBlockObjectResponse;
3
+ block: LinkPreviewBlockObjectResponseEx;
4
4
  };
@@ -1 +1 @@
1
- :root{--rotion-font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,"Apple Color Emoji",Arial,sans-serif,"Segoe UI Emoji","Segoe UI Symbol";--rotion-border-radius:4px;--rotion-line-height:1.5;--rotion-primary-text:#232d37;--rotion-dark-primary-text:#e6e6e6;--rotion-secondary-text:#828c96;--rotion-dark-secondary-text:#828282;--rotion-tertiary-text:#a0aab4;--rotion-dark-tertiary-text:#646464;--rotion-border-color:hsla(0,0%,86%,.8);--rotion-dark-border-color:rgba(80,80,80,.8);--rotion-border:1px solid var(--rotion-border-color);--rotion-dark-border:1px solid var(--rotion-dark-border-color);--rotion-code-bg-color:hsla(44,6%,50%,.15);--rotion-dark-code-bg-color:hsla(44,6%,50%,.3);--rotion-table-header-bg-color:hsla(0,0%,59%,.1);--rotion-dark-table-header-bg-color:hsla(0,0%,100%,.15);--rotion-toggle-hover-bg-color:#f5f2f0;--rotion-dark-toggle-hover-bg-color:#2d2d2d;--rotion-quote-border-color:#2d2d2d;--rotion-dark-quote-border-color:#f5f2f0;--rotion-link-text-decoration:none;--rotion-link-cursor:pointer;--rotion-link-color:#32302c;--rotion-dark-link-color:#e1dfdb;--rotion-link-hover-color:rgba(50,48,44,.6);--rotion-dark-link-hover-color:hsla(40,9%,87%,.6);--rotion-link-border-bottom:1px solid rgba(50,48,44,.4);--rotion-dark-link-border-bottom:1px solid hsla(40,6%,79%,.4);--rotion-link-hover-border-bottom:1px solid rgba(50,48,44,.2);--rotion-dark-link-hover-border-bottom:1px solid hsla(40,6%,79%,.2);--rotion-link-bg-color:inherit;--rotion-dark-link-bg-color:inherit;--rotion-link-hover-bg-color:hsla(0,0%,59%,.1);--rotion-dark-link-hover-bg-color:hsla(0,0%,100%,.15);--rotion-annot-default:#32302c;--rotion-dark-annot-default:#ebe9e4;--rotion-annot-bg-default:hsla(40,5%,88%,.5);--rotion-dark-annot-bg-default:#373737;--rotion-annot-gray:#787774;--rotion-dark-annot-gray:#9b9b9b;--rotion-annot-bg-gray:#f1f1ef;--rotion-dark-annot-bg-gray:#2f2f2f;--rotion-annot-brown:#9f6b53;--rotion-dark-annot-brown:#ba856f;--rotion-annot-bg-brown:#eee0da;--rotion-dark-annot-bg-brown:#4a3228;--rotion-annot-orange:#d9730d;--rotion-dark-annot-orange:#c77d48;--rotion-annot-bg-orange:#fadec9;--rotion-dark-annot-bg-orange:#5c3b23;--rotion-annot-yellow:#cb912f;--rotion-dark-annot-yellow:#ca9849;--rotion-annot-bg-yellow:#fdecc8;--rotion-dark-annot-bg-yellow:#564328;--rotion-annot-green:#448361;--rotion-dark-annot-green:#529e72;--rotion-annot-bg-green:#edf3ec;--rotion-dark-annot-bg-green:#243d30;--rotion-annot-blue:#337ea9;--rotion-dark-annot-blue:#5e87c9;--rotion-annot-bg-blue:#d3e5ef;--rotion-dark-annot-bg-blue:#143a4e;--rotion-annot-purple:#9065b0;--rotion-dark-annot-purple:#9d68d3;--rotion-annot-bg-purple:#e8deee;--rotion-dark-annot-bg-purple:#3c2d49;--rotion-annot-pink:#c14c8a;--rotion-dark-annot-pink:#d15796;--rotion-annot-bg-pink:#f5e0e9;--rotion-dark-annot-bg-pink:#4e2c3c;--rotion-annot-red:#d44c47;--rotion-dark-annot-red:#df5452;--rotion-annot-bg-red:#ffe2dd;--rotion-dark-annot-bg-red:#522e2a;--rotion-annot-border:1px solid rgba(50,48,44,.3);--rotion-dark-annot-border:1px solid hsla(40,6%,79%,.3);--rotion-gallery-box-shadow:hsla(0,0%,6%,.1) 0px 0px 0px 1px,hsla(0,0%,6%,.1) 0px 2px 4px;--rotion-dark-gallery-box-shadow:hsla(0,0%,6%,.2) 0px 0px 0px 1px,hsla(0,0%,6%,.2) 0px 2px 4px;--rotion-gallery-bg:rgba(55,53,47,.005);--rotion-dark-gallery-bg:hsla(0,0%,100%,.1);--rotion-gallery-hover-bg:rgba(55,53,47,.03);--rotion-dark-gallery-hover-bg:#2f2f2f;--rotion-gallery-image-border-bottom:1px solid rgba(55,53,47,.1);--rotion-dark-gallery-image-border-bottom:1px solid hsla(0,0%,100%,.1);--rotion-gallery-grid-template-columns-small:repeat(auto-fill,minmax(180px,1fr));--rotion-gallery-grid-template-columns-medium:repeat(auto-fill,minmax(260px,1fr));--rotion-gallery-grid-template-columns-large:repeat(auto-fill,minmax(320px,1fr));--rotion-tag-default:#32302c;--rotion-dark-tag-default:hsla(0,0%,100%,.804);--rotion-tag-bg-default:hsla(40,5%,88%,.5);--rotion-dark-tag-bg-default:#373737;--rotion-tag-gray:#32302c;--rotion-dark-tag-gray:hsla(0,0%,100%,.804);--rotion-tag-bg-gray:#e3e2e0;--rotion-dark-tag-bg-gray:#5a5a5a;--rotion-tag-brown:#442a1e;--rotion-dark-tag-brown:hsla(0,0%,100%,.804);--rotion-tag-bg-brown:#eee0da;--rotion-dark-tag-bg-brown:#603b2c;--rotion-tag-orange:#49290e;--rotion-dark-tag-orange:hsla(0,0%,100%,.804);--rotion-tag-bg-orange:#fadec9;--rotion-dark-tag-bg-orange:#854c1d;--rotion-tag-yellow:#402c1b;--rotion-dark-tag-yellow:hsla(0,0%,100%,.804);--rotion-tag-bg-yellow:#fdecc8;--rotion-dark-tag-bg-yellow:#89632a;--rotion-tag-green:#1c3829;--rotion-dark-tag-green:hsla(0,0%,100%,.804);--rotion-tag-bg-green:#dbeddb;--rotion-dark-tag-bg-green:#2b593f;--rotion-tag-blue:#183347;--rotion-dark-tag-blue:hsla(0,0%,100%,.804);--rotion-tag-bg-blue:#d3e5ef;--rotion-dark-tag-bg-blue:#28456c;--rotion-tag-purple:#412454;--rotion-dark-tag-purple:hsla(0,0%,100%,.804);--rotion-tag-bg-purple:#e8deee;--rotion-dark-tag-bg-purple:#492f64;--rotion-tag-pink:#4c2337;--rotion-dark-tag-pink:hsla(0,0%,100%,.804);--rotion-tag-bg-pink:#f5e0e9;--rotion-dark-tag-bg-pink:#69314c;--rotion-tag-red:#5d1715;--rotion-dark-tag-red:hsla(0,0%,100%,.804);--rotion-tag-bg-red:#ffe2dd;--rotion-dark-tag-bg-red:#6e3630;--rotion-table-border:1px solid rgba(55,53,47,.09);--rotion-dark-table-border:1px solid #2f2f2f;--rotion-table-icon-fill:rgba(55,53,47,.45);--rotion-dark-table-icon-fill:rgba(255,253,247,.45);--rotion-table-box-shadow:#fff -3px 0px 0px,#e9e9e7 0px 1px 0px;--rotion-dark-table-box-shadow:#191919 -3px 0px 0px,#2f2f2f 0px 1px 0px;--rotion-table-link-hover-bg:#e3e2e0 none repeat scroll 0% 0%;--rotion-dark-table-link-hover-bg:#1c1d1f none repeat scroll 0% 0%}.rotion-gallery{font-family:var(--rotion-font-family)}.rotion-gallery-inner{display:grid;gap:16px;padding-bottom:1rem;position:relative}.rotion-gallery-small{grid-template-columns:var(--rotion-gallery-grid-template-columns-small)}.rotion-gallery-medium{grid-template-columns:var(--rotion-gallery-grid-template-columns-medium)}.rotion-gallery-large{grid-template-columns:var(--rotion-gallery-grid-template-columns-large)}.rotion-gallery-card{background:var(--rotion-gallery-bg);border-radius:var(--rotion-border-radius);box-shadow:var(--rotion-gallery-box-shadow);color:var(--rotion-primary-text);display:block;font-family:var(--rotion-font-family);height:100%;overflow:hidden;position:static;text-decoration:none;transition:background .1s ease-out 0s}.rotion-gallery-link{cursor:pointer}.rotion-gallery-link:hover{background:var(--rotion-gallery-hover-bg)}.rotion-gallery-card-inner{display:grid;gap:16px;padding-bottom:1rem;position:relative}.rotion-gallery-card-small{grid-template-columns:var(--rotion-gallery-grid-template-columns-small)}.rotion-gallery-card-medium{grid-template-columns:var(--rotion-gallery-grid-template-columns-medium)}.rotion-gallery-card-large{grid-template-columns:var(--rotion-gallery-grid-template-columns-large)}.rotion-gallery-card-text{padding-bottom:1rem}.rotion-gallery-checkbox{display:flex;padding:5px 10px 0}.rotion-gallery-checkbox .rotion-prefix,.rotion-gallery-checkbox .rotion-suffix{padding-top:1px}.rotion-gallery-checkbox .rotion-prefix{padding-right:6px}.rotion-gallery-checkbox .rotion-suffix{padding-left:6px}.rotion-gallery-date{font-size:.8rem;padding:5px 10px 0}.rotion-gallery-date,.rotion-gallery-multiselect{align-items:center;display:flex;font-family:var(--rotion-font-family);white-space:nowrap;width:100%}.rotion-gallery-multiselect{font-size:12px;padding:8px 10px}.rotion-gallery-multiselect-ul{align-items:center;display:flex;flex-shrink:0;list-style-type:none;margin:8px 0 0 7px;overflow:hidden;padding:0;text-overflow:ellipsis}.rotion-gallery-multiselect-li{align-items:center;background:#d3e5ef none repeat scroll 0 0;border-radius:3px;color:#183347;display:flex;flex-shrink:0;font-size:.75rem;margin:0 6px 0 0;min-width:0;padding:0}.rotion-gallery-multiselect-link{color:inherit;cursor:var(--rotion-link-cursor);padding:2px 10px;text-decoration:var(--rotion-link-text-decoration)}.rotion-gallery-multiselect-default{background-color:var(--rotion-tag-bg-default);color:var(--rotion-tag-default)}.rotion-gallery-multiselect-gray{background-color:var(--rotion-tag-bg-gray);color:var(--rotion-tag-gray)}.rotion-gallery-multiselect-brown{background-color:var(--rotion-tag-bg-brown);color:var(--rotion-tag-brown)}.rotion-gallery-multiselect-orange{background-color:var(--rotion-tag-bg-orange);color:var(--rotion-tag-orange)}.rotion-gallery-multiselect-yellow{background-color:var(--rotion-tag-bg-yellow);color:var(--rotion-tag-yellow)}.rotion-gallery-multiselect-green{background-color:var(--rotion-tag-bg-green);color:var(--rotion-tag-green)}.rotion-gallery-multiselect-blue{background-color:var(--rotion-tag-bg-blue);color:var(--rotion-tag-blue)}.rotion-gallery-multiselect-purple{background-color:var(--rotion-tag-bg-purple);color:var(--rotion-tag-purple)}.rotion-gallery-multiselect-pink{background-color:var(--rotion-tag-bg-pink);color:var(--rotion-tag-pink)}.rotion-gallery-multiselect-red{background-color:var(--rotion-tag-bg-red);color:var(--rotion-tag-red)}.rotion-gallery-select{align-items:center;display:flex;font-family:var(--rotion-font-family);font-size:12px;padding:8px 7px;white-space:nowrap;width:100%}.rotion-gallery-select-wrapper{align-items:center;border-radius:3px;display:flex;flex-shrink:0;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis}.rotion-gallery-select-link{color:inherit;cursor:var(--rotion-link-cursor);padding:2px 10px;text-decoration:var(--rotion-link-text-decoration)}.rotion-gallery-select-default{background-color:var(--rotion-tag-bg-default);color:var(--rotion-tag-default)}.rotion-gallery-select-gray{background-color:var(--rotion-tag-bg-gray);color:var(--rotion-tag-gray)}.rotion-gallery-select-brown{background-color:var(--rotion-tag-bg-brown);color:var(--rotion-tag-brown)}.rotion-gallery-select-orange{background-color:var(--rotion-tag-bg-orange);color:var(--rotion-tag-orange)}.rotion-gallery-select-yellow{background-color:var(--rotion-tag-bg-yellow);color:var(--rotion-tag-yellow)}.rotion-gallery-select-green{background-color:var(--rotion-tag-bg-green);color:var(--rotion-tag-green)}.rotion-gallery-select-blue{background-color:var(--rotion-tag-bg-blue);color:var(--rotion-tag-blue)}.rotion-gallery-select-purple{background-color:var(--rotion-tag-bg-purple);color:var(--rotion-tag-purple)}.rotion-gallery-select-pink{background-color:var(--rotion-tag-bg-pink);color:var(--rotion-tag-pink)}.rotion-gallery-select-red{background-color:var(--rotion-tag-bg-red);color:var(--rotion-tag-red)}.rotion-gallery-number{align-items:center;display:flex;font-size:.8rem;width:100%}.rotion-gallery-number,.rotion-gallery-richtext{font-family:var(--rotion-font-family);padding:5px 10px 0;white-space:nowrap}.rotion-gallery-richtext{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis}.rotion-gallery-richtext-small{width:180px}.rotion-gallery-richtext-medium{width:260px}.rotion-gallery-richtext-large{width:320px}.rotion-gallery-title{font-family:var(--rotion-font-family);font-size:.9rem;padding:10px 10px 0;width:100%}.rotion-gallery-url{display:flex;font-family:var(--rotion-font-family);margin:4px 7px 0;white-space:nowrap}.rotion-gallery-url-link{background:inherit;border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);cursor:var(--rotion-link-cursor);display:block;margin-bottom:0;padding:0 2px 3px;text-decoration:var(--rotion-link-text-decoration)}.rotion-gallery-url-link:hover{background:var(--rotion-link-hover-bg-color);color:var(--rotion-link-hover-color)}.rotion-gallery-url-chain{display:inline;height:12px;margin-right:4px;margin-top:2px;vertical-align:middle;width:12px}.rotion-gallery-url-domain,.rotion-gallery-url-path{display:inline;font-size:.7rem;line-height:1.2;white-space:nowrap}.rotion-gallery-url-path{color:var(--rotion-tertiary-text)}.rotion-gallery-formula{align-items:center;display:flex;font-size:.8rem;padding:5px 10px 0;white-space:nowrap;width:100%}.rotion-gallery-formula,.rotion-list{font-family:var(--rotion-font-family)}.rotion-list{color:var(--rotion-primary-text);margin:0;overflow-x:scroll;padding:0}.rotion-list-inner{margin:0;max-width:100%;min-width:1200px;padding:0 0 .8rem}.rotion-list-line{align-items:center;background-color:var(--rotion-link-bg-color);display:flex;justify-content:flex-start;margin:4px 0;overflow:hidden;padding:4px 0;transition:background 20ms ease-in 0s;user-select:none;width:100%}.rotion-list-line:hover{background-color:var(--rotion-link-hover-bg-color);border-radius:var(--rotion-border-radius)}.rotion-list-dashed,.rotion-list-spacer{display:block;flex-shrink:10;margin-left:14px;width:100%}.rotion-list-dashed{border-top:1px dashed var(--rotion-tertiary-text)}.rotion-list-checkbox{background-color:var(--rotion-link-bg-color);display:flex;margin:0 .3rem;padding:0 .3rem}.rotion-list-checkbox .rotion-prefix,.rotion-list-checkbox .rotion-suffix{padding-top:1px}.rotion-list-checkbox .rotion-prefix{padding-right:6px}.rotion-list-checkbox .rotion-suffix{padding-left:6px}.rotion-list-date{color:var(--rotion-tertiary-text);font-size:.85rem;min-width:20px;white-space:nowrap}.rotion-list-date,.rotion-list-multiselect-ul{display:flex;font-family:var(--rotion-font-family);margin:0 7px;overflow:hidden;text-overflow:ellipsis}.rotion-list-multiselect-ul{align-items:center;flex-shrink:0;list-style-type:none;max-width:400px;padding:0}.rotion-list-multiselect-li{margin:0 6px 0 0;min-width:0}.rotion-list-multiselect-li,.rotion-list-select{align-items:center;display:flex;flex-shrink:0;font-size:.75rem;padding:0}.rotion-list-select{border-radius:3px;font-family:var(--rotion-font-family);margin:0 7px;max-width:400px;overflow:hidden;text-overflow:ellipsis}.rotion-list-number{align-items:center;display:flex;margin:0 7px;min-width:20px}.rotion-list-number,.rotion-list-richtext{font-family:var(--rotion-font-family);font-size:.85rem;white-space:nowrap}.rotion-list-richtext{color:var(--rotion-tertiary-text);margin:0 .5rem;max-width:25rem;padding:0 .5rem}.rotion-list-richtext,.rotion-list-title{display:block;overflow:hidden;text-overflow:ellipsis}.rotion-list-title{line-height:1.4;max-width:500px}.rotion-list-title,.rotion-list-url{font-family:var(--rotion-font-family);margin:0 7px;white-space:nowrap}.rotion-list-url{display:flex}.rotion-list-url-link{background:inherit;border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);cursor:var(--rotion-link-cursor);display:block;padding:0 5px 4px;text-decoration:var(--rotion-link-text-decoration)}.rotion-list-url-link:hover{background:var(--rotion-link-hover-bg-color);color:var(--rotion-link-hover-color)}.rotion-list-url-chain{display:inline;height:12px;margin-right:4px;vertical-align:middle;width:12px}.rotion-list-url-domain,.rotion-list-url-path{display:inline;font-size:.7rem;line-height:1.2;white-space:nowrap}.rotion-list-url-path{color:var(--rotion-tertiary-text)}.rotion-list-formula{align-items:center;display:flex;font-family:var(--rotion-font-family);font-size:.85rem;margin:0 7px;min-width:20px;white-space:nowrap}.rotion-table{margin:0;overflow-x:scroll;padding:0 0 10px;width:100%}.rotion-table-inner{border-right:none;float:left;min-width:100%;position:relative}.rotion-table-row{background:inherit;border-top:var(--rotion-table-border);color:var(--rotion-secondary-text);display:flex;height:33px}.rotion-table-row:last-child{border-bottom:var(--rotion-table-border)}.rotion-table-cell{display:flex;flex-direction:row;line-height:1.5}.rotion-table-verticallines .rotion-table-cell{border-right:var(--rotion-table-border)}.rotion-table-verticallines .rotion-table-cell:last-child{border-right:none}.rotion-table-cell-inner{display:flex;flex-shrink:0;font-size:14px;overflow:hidden;padding:5px 8px;width:220px}.rotion-table-header-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rotion-table-header-icon{fill:var(--rotion-table-icon-fill);backface-visibility:hidden;display:block;flex-shrink:0;height:14px;margin-right:7px;margin-top:4px;width:14px}.rotion-table-checkbox{display:flex;margin:3px 0}.rotion-table-checkbox .rotion-prefix,.rotion-table-checkbox .rotion-suffix{padding-top:1px}.rotion-table-checkbox .rotion-prefix{padding-right:6px}.rotion-table-checkbox .rotion-suffix{padding-left:6px}.rotion-table-date{align-items:center;color:var(--rotion-primary-text);display:flex;font-family:var(--rotion-font-family);font-size:.85rem;min-width:20px;white-space:nowrap}.rotion-table-multiselect-ul{align-items:center;display:flex;flex-shrink:0;font-family:var(--rotion-font-family);list-style-type:none;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis}.rotion-table-multiselect-li{align-items:center;display:flex;flex-shrink:0;font-size:.75rem;margin:0 6px 0 0;min-width:0;padding:0}.rotion-table-number{text-align:right;width:100%}.rotion-table-number,.rotion-table-richtext{color:var(--rotion-primary-text);display:block;font-family:var(--rotion-font-family);font-size:.85rem;white-space:nowrap}.rotion-table-richtext{margin:0;overflow:hidden;padding:0;text-overflow:ellipsis}.rotion-table-select{align-items:center;border-radius:3px;color:#183347;display:flex;flex-shrink:0;font-size:.75rem;margin:0 6px 0 0;min-width:0;padding:0}.rotion-table-select,.rotion-table-title,.rotion-table-url{font-family:var(--rotion-font-family)}.rotion-table-url{display:flex;margin:0;white-space:nowrap}.rotion-table-url-link{background:inherit;border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);cursor:var(--rotion-link-cursor);display:block;padding:0 5px 2px;text-decoration:var(--rotion-link-text-decoration)}.rotion-table-url-link:hover{background:var(--rotion-link-hover-bg-color);color:var(--rotion-link-hover-color)}.rotion-table-url-domain,.rotion-table-url-path{display:inline;font-size:.8rem;white-space:nowrap}.rotion-table-url-path{color:var(--rotion-tertiary-text)}.rotion-table-formula{color:var(--rotion-primary-text);display:block;font-family:var(--rotion-font-family);font-size:.85rem;text-align:right;white-space:nowrap;width:100%}.rotion-bookmark{color:var(--rotion-secondary-text);font-family:var(--rotion-font-family);line-height:1;margin-top:.4rem;padding:.5rem 0}.rotion-bookmark-area{background-color:var(--rotion-link-bg-color);border:var(--rotion-border);border-radius:var(--rotion-border-radius);cursor:pointer;display:flex;font-size:.75rem;overflow:hidden;padding:0;position:relative}.rotion-bookmark-area:hover{background-color:var(--rotion-link-hover-bg-color)}.rotion-bookmark-text{align-self:start;flex:4 1 180px;line-height:1.7;overflow:hidden;padding:.7rem 1rem 0}.rotion-bookmark-image{display:block;flex:1 1 180px;height:108px;line-height:1;margin:0;overflow:hidden;padding:0}.rotion-bookmark-img{background:#191919;border-radius:1px;display:block;height:100%;object-fit:cover;width:100%}.rotion-bookmark-title{color:var(--rotion-primary-text);display:block;font-size:.9rem;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.rotion-bookmark-desc{font-size:12px;height:32px;line-height:16px;overflow:hidden}.rotion-bookmark-url{color:var(--rotion-primary-text);font-size:12px;margin-top:8px;overflow:hidden;padding:0;position:relative;text-overflow:ellipsis;white-space:nowrap}.rotion-bookmark-favicon{display:inline;margin-bottom:1px;margin-right:10px;vertical-align:bottom}.rotion-bookmark-caption{color:var(--rotion-tertiary-text);font-size:.8rem;margin:.3rem .3rem 0;text-align:left}@media (max-width:580px){.rotion-bookmark-area{display:block}.rotion-bookmark-image{display:none}.rotion-bookmark-url{padding:1rem 0 .85rem;position:static}}.rotion-breadcrumb{font-family:var(--rotion-font-family)}.rotion-breadcrumb-icon{padding-bottom:.2rem;padding-right:.29rem;vertical-align:middle}.rotion-breadcrumb-emoji{display:inline-block;margin-top:-4px;padding-bottom:.2rem;padding-right:.4rem;vertical-align:middle}.rotion-breadcrumb-slash{color:var(--rotion-secondary-text);font-size:.9rem;opacity:.5;padding:0 .3rem}.rotion-breadcrumb-text{color:var(--rotion-primary-text)}.rotion-bulleted-list{margin:0;padding:.2rem 0 .2rem .3rem}.rotion-bulleted-list,.rotion-callout{font-family:var(--rotion-font-family);line-height:var(--rotion-line-height)}.rotion-callout{border-radius:var(--rotion-border-radius);box-sizing:border-box;display:flex;margin:4px 0;padding:1.2rem 1.2rem 1.2rem 1rem;width:100%}.rotion-callout-icon{box-sizing:border-box;display:block;overflow:hidden}.rotion-callout-icon,.rotion-callout-img{height:24px;width:24px}.rotion-callout-text{display:block;margin-left:8px;white-space:pre-wrap;width:100%;word-break:break-word}.rotion-callout-default,.rotion-callout-default-background{border:var(--rotion-annot-border);color:inherit}.rotion-callout-gray{border:var(--rotion-annot-border);color:var(--rotion-annot-gray)}.rotion-callout-gray-bg{background-color:var(--rotion-annot-bg-default);color:var(--rotion-annot-default)}.rotion-callout-brown{border:var(--rotion-annot-border);color:var(--rotion-annot-brown)}.rotion-callout-brown-bg{background-color:var(--rotion-annot-bg-brown);color:var(--rotion-annot-default)}.rotion-callout-orange{border:var(--rotion-annot-border);color:var(--rotion-annot-orange)}.rotion-callout-orange-bg{background-color:var(--rotion-annot-bg-orange);color:var(--rotion-annot-default)}.rotion-callout-yellow{border:var(--rotion-annot-border);color:var(--rotion-annot-yellow)}.rotion-callout-yellow-bg{background-color:var(--rotion-annot-bg-yellow);color:var(--rotion-annot-default)}.rotion-callout-green{border:var(--rotion-annot-border);color:var(--rotion-annot-green)}.rotion-callout-green-bg{background-color:var(--rotion-annot-bg-green);color:var(--rotion-annot-default)}.rotion-callout-blue{border:var(--rotion-annot-border);color:var(--rotion-annot-blue)}.rotion-callout-blue-bg{background-color:var(--rotion-annot-bg-blue);color:var(--rotion-annot-default)}.rotion-callout-purple{border:var(--rotion-annot-border);color:var(--rotion-annot-purple)}.rotion-callout-purple-bg{background-color:var(--rotion-annot-bg-purple);color:var(--rotion-annot-default)}.rotion-callout-pink{border:var(--rotion-annot-border);color:var(--rotion-annot-pink)}.rotion-callout-pink-bg{background-color:var(--rotion-annot-bg-pink);color:var(--rotion-annot-default)}.rotion-callout-red{border:var(--rotion-annot-border);color:var(--rotion-annot-red)}.rotion-callout-red-bg{background-color:var(--rotion-annot-bg-red);color:var(--rotion-annot-default)}.rotion-childdb{font-family:var(--rotion-font-family);width:100%}.rotion-childdb-link{align-items:top;background-color:var(--rotion-link-bg-color);border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);display:grid;gap:.4rem;grid-template:repeat(1,1fr) /1.5rem 1fr;margin:.2rem 0 0;padding:.1rem 0;text-decoration:var(--rotion-link-text-decoration)}.rotion-childdb-link:hover{background-color:var(--rotion-link-hover-bg-color)}.rotion-childdb-title{border-bottom:var(--rotion-link-border-bottom);line-height:var(--rotion-line-height);vertical-align:top}.rotion-childdb-emoji{font-size:.95rem;margin-left:3px;margin-top:-2px;overflow:hidden}.rotion-childdb-icon{overflow:hidden}.rotion-childpage{font-family:var(--rotion-font-family);width:100%}.rotion-childpage-link{align-items:top;background-color:var(--rotion-link-bg-color);border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);display:grid;gap:.4rem;grid-template:repeat(1,1fr) /1.5rem 1fr;margin:.2rem 0 0;padding:.1rem 0;text-decoration:var(--rotion-link-text-decoration)}.rotion-childpage-link:hover{background-color:var(--rotion-link-hover-bg-color)}.rotion-childpage-title{border-bottom:var(--rotion-link-border-bottom);line-height:var(--rotion-line-height);vertical-align:top}.rotion-childpage-emoji{font-size:.95rem;margin-left:3px;margin-top:-2px;overflow:hidden}.rotion-childpage-icon{overflow:hidden}.rotion-code{font-family:var(--rotion-font-family);width:100%}.rotion-code-caption{color:var(--rotion-secondary-text);font-size:.95rem;margin:.3rem .3rem 0;text-align:left}.rotion-columnlist{display:grid;font-family:var(--rotion-font-family);gap:5%;margin:1rem 0;width:100%}.rotion-columnlist-column{margin:0 0 1rem}@media (max-width:580px){.rotion-columnlist{display:block}}.rotion-embed{font-family:var(--rotion-font-family);text-align:center;width:100%}.rotion-embed-html{position:relative;text-align:center;width:100%}.rotion-embed-caption{color:var(--rotion-tertiary-text);font-size:.95rem;margin:.3rem .3rem 0;text-align:left}.rotion-embed-instagram{margin:0 auto;max-width:540px}.rotion-embed-instagram iframe{max-height:590px;overflow:hidden}.rotion-embed-twitter{margin:0 auto;max-width:550px}.rotion-embed-applemusic{margin:0 auto;max-width:660px}.rotion-embed-speakerdeck{height:0;margin:0 auto .8rem;padding-bottom:56.25%;width:100%}.rotion-embed-speakerdeck iframe{height:56.25%;width:100%}.rotion-embed-googlemap{height:90vh;margin:0 auto .8rem;width:100%}.rotion-embed-googlemap iframe{height:90vh}.rotion-equation{color:var(--rotion-primary-text);font-family:var(--rotion-font-family);text-align:center;width:100%}.rotion-equation-html{font-size:1.7rem;margin:.5rem auto}.rotion-file{font-family:var(--rotion-font-family)}.rotion-file-link{align-items:top;background-color:var(--rotion-link-bg-color);border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);display:grid;gap:.1rem;grid-template:repeat(1,1fr) /1.5rem 1fr;margin:.2rem 0 0;padding:.6rem .3rem;text-decoration:var(--rotion-link-text-decoration)}.rotion-file-link:hover{background-color:var(--rotion-link-hover-bg-color)}.rotion-file-size{color:var(--rotion-tertiary-text);font-size:.8rem;padding-left:.5rem}.rotion-file-caption{color:var(--rotion-tertiary-text);font-size:.9rem;padding-left:.4rem;padding-top:.2rem}.rotion-icon-file,.rotion-icon-github{fill:var(--rotion-primary-text)}.rotion-image{font-family:var(--rotion-font-family);margin:0;padding:0 0 .5rem;text-align:center}.rotion-image-area{display:flex}.rotion-image-img{margin-left:auto;margin-right:auto;width:100%}.rotion-image-caption{color:var(--rotion-tertiary-text);font-size:.95rem;margin:.3rem .3rem 0;text-align:left}.rotion-linkpreview{font-family:var(--rotion-font-family);margin:1rem 0}.rotion-linkpreview-link{background-color:var(--rotion-link-bg-color);border:var(--rotion-border);border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);display:block;overflow:hidden;padding:.7rem 1rem;text-decoration:var(--rotion-link-text-decoration)}.rotion-linkpreview-link:hover{background-color:var(--rotion-link-hover-bg-color);color:var(--rotion-link-hover-color)}.rotion-linkpreview-area{display:grid;gap:10px;grid-template-columns:32px 1fr}.rotion-linkpreview-icon{height:100%}.rotion-linkpreview-slack .rotion-linkpreview-icon{margin-bottom:-3px;padding-top:3px}.rotion-linkpreview-figma .rotion-linkpreview-icon{padding-left:6px}.rotion-linkpreview-title{display:block;font-size:.85rem}.rotion-linkpreview-desc{color:var(--rotion-tertiary-text);display:block;font-size:.8rem;padding-top:3px}.rotion-numbered-list{line-height:var(--rotion-line-height);margin:0;padding:.2rem 0 .2rem .3rem}.rotion-numbered-list,.rotion-pdf{font-family:var(--rotion-font-family)}.rotion-pdf-link{align-items:top;background-color:var(--rotion-link-bg-color);border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);display:grid;gap:.1rem;grid-template:repeat(1,1fr) /1.5rem 1fr;margin:.2rem 0 0;padding:.6rem .3rem;text-decoration:var(--rotion-link-text-decoration)}.rotion-pdf-link:hover{background-color:var(--rotion-link-hover-bg-color)}.rotion-pdf-size{color:var(--rotion-tertiary-text);font-size:.8rem;padding-left:.5rem}.rotion-pdf-caption{color:var(--rotion-tertiary-text);font-size:.9rem;padding-left:.4rem;padding-top:.2rem}.rotion-syncedblock{padding:.5rem 0}.rotion-syncedblock,.rotion-table{color:var(--rotion-primary-text);font-family:var(--rotion-font-family)}.rotion-table{padding-top:.6rem}.rotion-table-area{border-collapse:collapse;border-spacing:0;font-size:.9rem;width:100%}.rotion-table-td{border:var(--rotion-border);margin:0;padding:.3rem}.rotion-table-td-inner{padding:.2rem .4rem}.rotion-table-td-header{background-color:var(--rotion-table-header-bg-color);border:var(--rotion-border);font-weight:500;margin:0;padding:.3rem;text-align:left}.rotion-table-td-header-inner{padding:.2rem .4rem}.rotion-table-tr{margin:0}.rotion-text{color:var(--rotion-primary-text);font-family:var(--rotion-font-family)}.rotion-text-hr{border-top:var(--rotion-border);height:1px;margin:1rem 0;width:100%}.rotion-text-h1{line-height:1.3;margin:0;padding:3rem 0 3px}.rotion-text-h2{line-height:1.3;margin:0;padding:2rem 0 3px}.rotion-text-h3{line-height:1.3;margin:0;padding:1.6rem 0 3px}.rotion-text-p{margin:0;padding:.6rem 0}.rotion-text-p,.rotion-text-quote{line-height:var(--rotion-line-height)}.rotion-text-quote{border-left:3px solid var(--rotion-quote-border-color);margin-left:0;margin-right:0;padding-left:1rem}.rotion-todo{align-items:flex-start;display:flex;font-family:var(--rotion-font-family);line-height:1.7;padding:4px 0 1px 2px;width:100%}.rotion-todo-checkbox{align-items:center;display:flex;flex-grow:0;flex-shrink:0;justify-content:center;margin-right:4px;min-height:calc(1.5em + 6px);user-select:none;width:22px}.rotion-todo-text{color:var(--rotion-primary-text);display:flex;flex:1 1 0;flex-direction:column;min-width:1px}.rotion-todo-text-inner{flex-grow:1;max-width:100%;padding:1px 2px;text-align:left;white-space:pre-wrap;word-break:break-word}.rotion-todo-text-inner-checked{color:var(--rotion-secondary-text);text-decoration-color:var(--rotion-tertiary-text);text-decoration-line:line-through}.rotion-toggle{align-items:flex-start;color:var(--rotion-primary-text);display:flex;font-family:var(--rotion-font-family);line-height:1.8;margin-top:.6rem;width:100%}.rotion-toggle-triangle{align-items:center;background-color:inherit;border-radius:var(--rotion-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;margin-right:4px;margin-top:0;padding:2px;position:relative;transition:background 20ms ease-in 0s;width:24px}.rotion-toggle-triangle:hover{background-color:var(--rotion-toggle-hover-bg-color)}.rotion-toggle-text{width:100%}.rotion-toggle-icon{fill:var(--rotion-primary-text);backface-visibility:hidden;display:block;flex-shrink:0;height:.6875em;opacity:1;transition:"transform 200ms ease-out 0s";width:.6875em}.rotion-video{font-family:var(--rotion-font-family);width:100%}.rotion-video-inner{margin:auto}.rotion-video-html{height:0,;margin:auto;padding-bottom:56.25%;position:relative;width:100%}.rotion-video-caption{color:var(--rotion-tertiary-text);font-size:.95rem;margin:.3rem .3rem 0;text-align:left}.rotion-video-youtube{margin:auto}.rotion-prefix,.rotion-suffix{color:var(--rotion-tertiary-text);display:inline;font-size:.7rem;line-height:1.2;white-space:nowrap}.rotion-prefix{padding-right:3px}.rotion-suffix{padding-left:3px}.rotion-checkbox-checked{align-items:stretch;background:#2383e2;display:flex;flex-grow:0;flex-shrink:0;height:16px;justify-content:stretch;transition:background .2s ease-out 0s;width:16px}.rotion-checkbox-checked-inner{align-items:center;display:flex;justify-content:center;position:relative;transition:background 20ms ease-in 0s;user-select:none;width:100%}.rotion-checkbox-checked-checkbox{fill:#fff;backface-visibility:hidden;display:block;flex-shrink:0;height:12px;width:12px}.rotion-checkbox-unchecked{align-items:center;display:flex;height:16px;justify-content:center;position:relative;transition:background 20ms ease-in 0s;user-select:none;width:16px}.rotion-checkbox-unchecked-checkbox{fill:var(--rotion-primary-text);backface-visibility:hidden;display:block;flex-shrink:0;height:100%;width:100%}
1
+ :root{--rotion-font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,"Apple Color Emoji",Arial,sans-serif,"Segoe UI Emoji","Segoe UI Symbol";--rotion-border-radius:4px;--rotion-line-height:1.5;--rotion-primary-text:#232d37;--rotion-dark-primary-text:#e6e6e6;--rotion-secondary-text:#828c96;--rotion-dark-secondary-text:#828282;--rotion-tertiary-text:#a0aab4;--rotion-dark-tertiary-text:#646464;--rotion-border-color:hsla(0,0%,86%,.8);--rotion-dark-border-color:rgba(80,80,80,.8);--rotion-border:1px solid var(--rotion-border-color);--rotion-dark-border:1px solid var(--rotion-dark-border-color);--rotion-code-bg-color:hsla(44,6%,50%,.15);--rotion-dark-code-bg-color:hsla(44,6%,50%,.3);--rotion-table-header-bg-color:hsla(0,0%,59%,.1);--rotion-dark-table-header-bg-color:hsla(0,0%,100%,.15);--rotion-toggle-hover-bg-color:#f5f2f0;--rotion-dark-toggle-hover-bg-color:#2d2d2d;--rotion-quote-border-color:#2d2d2d;--rotion-dark-quote-border-color:#f5f2f0;--rotion-link-text-decoration:none;--rotion-link-cursor:pointer;--rotion-link-color:#32302c;--rotion-dark-link-color:#e1dfdb;--rotion-link-hover-color:rgba(50,48,44,.6);--rotion-dark-link-hover-color:hsla(40,9%,87%,.6);--rotion-link-border-bottom:1px solid rgba(50,48,44,.4);--rotion-dark-link-border-bottom:1px solid hsla(40,6%,79%,.4);--rotion-link-hover-border-bottom:1px solid rgba(50,48,44,.2);--rotion-dark-link-hover-border-bottom:1px solid hsla(40,6%,79%,.2);--rotion-link-bg-color:inherit;--rotion-dark-link-bg-color:inherit;--rotion-link-hover-bg-color:hsla(0,0%,59%,.1);--rotion-dark-link-hover-bg-color:hsla(0,0%,100%,.15);--rotion-annot-default:#32302c;--rotion-dark-annot-default:#ebe9e4;--rotion-annot-bg-default:hsla(40,5%,88%,.5);--rotion-dark-annot-bg-default:#373737;--rotion-annot-gray:#787774;--rotion-dark-annot-gray:#9b9b9b;--rotion-annot-bg-gray:#f1f1ef;--rotion-dark-annot-bg-gray:#2f2f2f;--rotion-annot-brown:#9f6b53;--rotion-dark-annot-brown:#ba856f;--rotion-annot-bg-brown:#eee0da;--rotion-dark-annot-bg-brown:#4a3228;--rotion-annot-orange:#d9730d;--rotion-dark-annot-orange:#c77d48;--rotion-annot-bg-orange:#fadec9;--rotion-dark-annot-bg-orange:#5c3b23;--rotion-annot-yellow:#cb912f;--rotion-dark-annot-yellow:#ca9849;--rotion-annot-bg-yellow:#fdecc8;--rotion-dark-annot-bg-yellow:#564328;--rotion-annot-green:#448361;--rotion-dark-annot-green:#529e72;--rotion-annot-bg-green:#edf3ec;--rotion-dark-annot-bg-green:#243d30;--rotion-annot-blue:#337ea9;--rotion-dark-annot-blue:#5e87c9;--rotion-annot-bg-blue:#d3e5ef;--rotion-dark-annot-bg-blue:#143a4e;--rotion-annot-purple:#9065b0;--rotion-dark-annot-purple:#9d68d3;--rotion-annot-bg-purple:#e8deee;--rotion-dark-annot-bg-purple:#3c2d49;--rotion-annot-pink:#c14c8a;--rotion-dark-annot-pink:#d15796;--rotion-annot-bg-pink:#f5e0e9;--rotion-dark-annot-bg-pink:#4e2c3c;--rotion-annot-red:#d44c47;--rotion-dark-annot-red:#df5452;--rotion-annot-bg-red:#ffe2dd;--rotion-dark-annot-bg-red:#522e2a;--rotion-annot-border:1px solid rgba(50,48,44,.3);--rotion-dark-annot-border:1px solid hsla(40,6%,79%,.3);--rotion-gallery-box-shadow:hsla(0,0%,6%,.1) 0px 0px 0px 1px,hsla(0,0%,6%,.1) 0px 2px 4px;--rotion-dark-gallery-box-shadow:hsla(0,0%,6%,.2) 0px 0px 0px 1px,hsla(0,0%,6%,.2) 0px 2px 4px;--rotion-gallery-bg:rgba(55,53,47,.005);--rotion-dark-gallery-bg:hsla(0,0%,100%,.1);--rotion-gallery-hover-bg:rgba(55,53,47,.03);--rotion-dark-gallery-hover-bg:#2f2f2f;--rotion-gallery-image-border-bottom:1px solid rgba(55,53,47,.1);--rotion-dark-gallery-image-border-bottom:1px solid hsla(0,0%,100%,.1);--rotion-gallery-grid-template-columns-small:repeat(auto-fill,minmax(180px,1fr));--rotion-gallery-grid-template-columns-medium:repeat(auto-fill,minmax(260px,1fr));--rotion-gallery-grid-template-columns-large:repeat(auto-fill,minmax(320px,1fr));--rotion-tag-default:#32302c;--rotion-dark-tag-default:hsla(0,0%,100%,.804);--rotion-tag-bg-default:hsla(40,5%,88%,.5);--rotion-dark-tag-bg-default:#373737;--rotion-tag-gray:#32302c;--rotion-dark-tag-gray:hsla(0,0%,100%,.804);--rotion-tag-bg-gray:#e3e2e0;--rotion-dark-tag-bg-gray:#5a5a5a;--rotion-tag-brown:#442a1e;--rotion-dark-tag-brown:hsla(0,0%,100%,.804);--rotion-tag-bg-brown:#eee0da;--rotion-dark-tag-bg-brown:#603b2c;--rotion-tag-orange:#49290e;--rotion-dark-tag-orange:hsla(0,0%,100%,.804);--rotion-tag-bg-orange:#fadec9;--rotion-dark-tag-bg-orange:#854c1d;--rotion-tag-yellow:#402c1b;--rotion-dark-tag-yellow:hsla(0,0%,100%,.804);--rotion-tag-bg-yellow:#fdecc8;--rotion-dark-tag-bg-yellow:#89632a;--rotion-tag-green:#1c3829;--rotion-dark-tag-green:hsla(0,0%,100%,.804);--rotion-tag-bg-green:#dbeddb;--rotion-dark-tag-bg-green:#2b593f;--rotion-tag-blue:#183347;--rotion-dark-tag-blue:hsla(0,0%,100%,.804);--rotion-tag-bg-blue:#d3e5ef;--rotion-dark-tag-bg-blue:#28456c;--rotion-tag-purple:#412454;--rotion-dark-tag-purple:hsla(0,0%,100%,.804);--rotion-tag-bg-purple:#e8deee;--rotion-dark-tag-bg-purple:#492f64;--rotion-tag-pink:#4c2337;--rotion-dark-tag-pink:hsla(0,0%,100%,.804);--rotion-tag-bg-pink:#f5e0e9;--rotion-dark-tag-bg-pink:#69314c;--rotion-tag-red:#5d1715;--rotion-dark-tag-red:hsla(0,0%,100%,.804);--rotion-tag-bg-red:#ffe2dd;--rotion-dark-tag-bg-red:#6e3630;--rotion-table-border:1px solid rgba(55,53,47,.09);--rotion-dark-table-border:1px solid #2f2f2f;--rotion-table-icon-fill:rgba(55,53,47,.45);--rotion-dark-table-icon-fill:rgba(255,253,247,.45);--rotion-table-box-shadow:#fff -3px 0px 0px,#e9e9e7 0px 1px 0px;--rotion-dark-table-box-shadow:#191919 -3px 0px 0px,#2f2f2f 0px 1px 0px;--rotion-table-link-hover-bg:#e3e2e0 none repeat scroll 0% 0%;--rotion-dark-table-link-hover-bg:#1c1d1f none repeat scroll 0% 0%}.rotion-gallery{font-family:var(--rotion-font-family)}.rotion-gallery-inner{display:grid;gap:16px;padding-bottom:1rem;position:relative}.rotion-gallery-small{grid-template-columns:var(--rotion-gallery-grid-template-columns-small)}.rotion-gallery-medium{grid-template-columns:var(--rotion-gallery-grid-template-columns-medium)}.rotion-gallery-large{grid-template-columns:var(--rotion-gallery-grid-template-columns-large)}.rotion-gallery-card{background:var(--rotion-gallery-bg);border-radius:var(--rotion-border-radius);box-shadow:var(--rotion-gallery-box-shadow);color:var(--rotion-primary-text);display:block;font-family:var(--rotion-font-family);height:100%;overflow:hidden;position:static;text-decoration:none;transition:background .1s ease-out 0s}.rotion-gallery-link{cursor:pointer}.rotion-gallery-link:hover{background:var(--rotion-gallery-hover-bg)}.rotion-gallery-card-inner{display:grid;gap:16px;padding-bottom:1rem;position:relative}.rotion-gallery-card-small{grid-template-columns:var(--rotion-gallery-grid-template-columns-small)}.rotion-gallery-card-medium{grid-template-columns:var(--rotion-gallery-grid-template-columns-medium)}.rotion-gallery-card-large{grid-template-columns:var(--rotion-gallery-grid-template-columns-large)}.rotion-gallery-card-text{padding-bottom:1rem}.rotion-gallery-checkbox{display:flex;padding:5px 10px 0}.rotion-gallery-checkbox .rotion-prefix,.rotion-gallery-checkbox .rotion-suffix{padding-top:1px}.rotion-gallery-checkbox .rotion-prefix{padding-right:6px}.rotion-gallery-checkbox .rotion-suffix{padding-left:6px}.rotion-gallery-date{font-size:.8rem;padding:5px 10px 0}.rotion-gallery-date,.rotion-gallery-multiselect{align-items:center;display:flex;font-family:var(--rotion-font-family);white-space:nowrap;width:100%}.rotion-gallery-multiselect{font-size:12px;padding:8px 10px}.rotion-gallery-multiselect-ul{align-items:center;display:flex;flex-shrink:0;list-style-type:none;margin:8px 0 0 7px;overflow:hidden;padding:0;text-overflow:ellipsis}.rotion-gallery-multiselect-li{align-items:center;background:#d3e5ef none repeat scroll 0 0;border-radius:3px;color:#183347;display:flex;flex-shrink:0;font-size:.75rem;margin:0 6px 0 0;min-width:0;padding:0}.rotion-gallery-multiselect-link{color:inherit;cursor:var(--rotion-link-cursor);padding:2px 10px;text-decoration:var(--rotion-link-text-decoration)}.rotion-gallery-multiselect-default{background-color:var(--rotion-tag-bg-default);color:var(--rotion-tag-default)}.rotion-gallery-multiselect-gray{background-color:var(--rotion-tag-bg-gray);color:var(--rotion-tag-gray)}.rotion-gallery-multiselect-brown{background-color:var(--rotion-tag-bg-brown);color:var(--rotion-tag-brown)}.rotion-gallery-multiselect-orange{background-color:var(--rotion-tag-bg-orange);color:var(--rotion-tag-orange)}.rotion-gallery-multiselect-yellow{background-color:var(--rotion-tag-bg-yellow);color:var(--rotion-tag-yellow)}.rotion-gallery-multiselect-green{background-color:var(--rotion-tag-bg-green);color:var(--rotion-tag-green)}.rotion-gallery-multiselect-blue{background-color:var(--rotion-tag-bg-blue);color:var(--rotion-tag-blue)}.rotion-gallery-multiselect-purple{background-color:var(--rotion-tag-bg-purple);color:var(--rotion-tag-purple)}.rotion-gallery-multiselect-pink{background-color:var(--rotion-tag-bg-pink);color:var(--rotion-tag-pink)}.rotion-gallery-multiselect-red{background-color:var(--rotion-tag-bg-red);color:var(--rotion-tag-red)}.rotion-gallery-select{align-items:center;display:flex;font-family:var(--rotion-font-family);font-size:12px;padding:8px 7px;white-space:nowrap;width:100%}.rotion-gallery-select-wrapper{align-items:center;border-radius:3px;display:flex;flex-shrink:0;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis}.rotion-gallery-select-link{color:inherit;cursor:var(--rotion-link-cursor);padding:2px 10px;text-decoration:var(--rotion-link-text-decoration)}.rotion-gallery-select-default{background-color:var(--rotion-tag-bg-default);color:var(--rotion-tag-default)}.rotion-gallery-select-gray{background-color:var(--rotion-tag-bg-gray);color:var(--rotion-tag-gray)}.rotion-gallery-select-brown{background-color:var(--rotion-tag-bg-brown);color:var(--rotion-tag-brown)}.rotion-gallery-select-orange{background-color:var(--rotion-tag-bg-orange);color:var(--rotion-tag-orange)}.rotion-gallery-select-yellow{background-color:var(--rotion-tag-bg-yellow);color:var(--rotion-tag-yellow)}.rotion-gallery-select-green{background-color:var(--rotion-tag-bg-green);color:var(--rotion-tag-green)}.rotion-gallery-select-blue{background-color:var(--rotion-tag-bg-blue);color:var(--rotion-tag-blue)}.rotion-gallery-select-purple{background-color:var(--rotion-tag-bg-purple);color:var(--rotion-tag-purple)}.rotion-gallery-select-pink{background-color:var(--rotion-tag-bg-pink);color:var(--rotion-tag-pink)}.rotion-gallery-select-red{background-color:var(--rotion-tag-bg-red);color:var(--rotion-tag-red)}.rotion-gallery-number{align-items:center;display:flex;font-size:.8rem;width:100%}.rotion-gallery-number,.rotion-gallery-richtext{font-family:var(--rotion-font-family);padding:5px 10px 0;white-space:nowrap}.rotion-gallery-richtext{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis}.rotion-gallery-richtext-small{width:180px}.rotion-gallery-richtext-medium{width:260px}.rotion-gallery-richtext-large{width:320px}.rotion-gallery-title{font-family:var(--rotion-font-family);font-size:.9rem;padding:10px 10px 0;width:100%}.rotion-gallery-url{display:flex;font-family:var(--rotion-font-family);margin:4px 7px 0;white-space:nowrap}.rotion-gallery-url-link{background:inherit;border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);cursor:var(--rotion-link-cursor);display:block;margin-bottom:0;padding:0 2px 3px;text-decoration:var(--rotion-link-text-decoration)}.rotion-gallery-url-link:hover{background:var(--rotion-link-hover-bg-color);color:var(--rotion-link-hover-color)}.rotion-gallery-url-chain{display:inline;height:12px;margin-right:4px;margin-top:2px;vertical-align:middle;width:12px}.rotion-gallery-url-domain,.rotion-gallery-url-path{display:inline;font-size:.7rem;line-height:1.2;white-space:nowrap}.rotion-gallery-url-path{color:var(--rotion-tertiary-text)}.rotion-gallery-formula{align-items:center;display:flex;font-size:.8rem;padding:5px 10px 0;white-space:nowrap;width:100%}.rotion-gallery-formula,.rotion-list{font-family:var(--rotion-font-family)}.rotion-list{color:var(--rotion-primary-text);margin:0;overflow-x:scroll;padding:0}.rotion-list-inner{margin:0;max-width:100%;min-width:1200px;padding:0 0 .8rem}.rotion-list-line{align-items:center;background-color:var(--rotion-link-bg-color);display:flex;justify-content:flex-start;margin:4px 0;overflow:hidden;padding:4px 0;transition:background 20ms ease-in 0s;user-select:none;width:100%}.rotion-list-line:hover{background-color:var(--rotion-link-hover-bg-color);border-radius:var(--rotion-border-radius)}.rotion-list-dashed,.rotion-list-spacer{display:block;flex-shrink:10;margin-left:14px;width:100%}.rotion-list-dashed{border-top:1px dashed var(--rotion-tertiary-text)}.rotion-list-checkbox{background-color:var(--rotion-link-bg-color);display:flex;margin:0 .3rem;padding:0 .3rem}.rotion-list-checkbox .rotion-prefix,.rotion-list-checkbox .rotion-suffix{padding-top:1px}.rotion-list-checkbox .rotion-prefix{padding-right:6px}.rotion-list-checkbox .rotion-suffix{padding-left:6px}.rotion-list-date{color:var(--rotion-tertiary-text);font-size:.85rem;min-width:20px;white-space:nowrap}.rotion-list-date,.rotion-list-multiselect-ul{display:flex;font-family:var(--rotion-font-family);margin:0 7px;overflow:hidden;text-overflow:ellipsis}.rotion-list-multiselect-ul{align-items:center;flex-shrink:0;list-style-type:none;max-width:400px;padding:0}.rotion-list-multiselect-li{margin:0 6px 0 0;min-width:0}.rotion-list-multiselect-li,.rotion-list-select{align-items:center;display:flex;flex-shrink:0;font-size:.75rem;padding:0}.rotion-list-select{border-radius:3px;font-family:var(--rotion-font-family);margin:0 7px;max-width:400px;overflow:hidden;text-overflow:ellipsis}.rotion-list-number{align-items:center;display:flex;margin:0 7px;min-width:20px}.rotion-list-number,.rotion-list-richtext{font-family:var(--rotion-font-family);font-size:.85rem;white-space:nowrap}.rotion-list-richtext{color:var(--rotion-tertiary-text);margin:0 .5rem;max-width:25rem;padding:0 .5rem}.rotion-list-richtext,.rotion-list-title{display:block;overflow:hidden;text-overflow:ellipsis}.rotion-list-title{line-height:1.4;max-width:500px}.rotion-list-title,.rotion-list-url{font-family:var(--rotion-font-family);margin:0 7px;white-space:nowrap}.rotion-list-url{display:flex}.rotion-list-url-link{background:inherit;border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);cursor:var(--rotion-link-cursor);display:block;padding:0 5px 4px;text-decoration:var(--rotion-link-text-decoration)}.rotion-list-url-link:hover{background:var(--rotion-link-hover-bg-color);color:var(--rotion-link-hover-color)}.rotion-list-url-chain{display:inline;height:12px;margin-right:4px;vertical-align:middle;width:12px}.rotion-list-url-domain,.rotion-list-url-path{display:inline;font-size:.7rem;line-height:1.2;white-space:nowrap}.rotion-list-url-path{color:var(--rotion-tertiary-text)}.rotion-list-formula{align-items:center;display:flex;font-family:var(--rotion-font-family);font-size:.85rem;margin:0 7px;min-width:20px;white-space:nowrap}.rotion-table{margin:0;overflow-x:scroll;padding:0 0 10px;width:100%}.rotion-table-inner{border-right:none;float:left;min-width:100%;position:relative}.rotion-table-row{background:inherit;border-top:var(--rotion-table-border);color:var(--rotion-secondary-text);display:flex;height:33px}.rotion-table-row:last-child{border-bottom:var(--rotion-table-border)}.rotion-table-cell{display:flex;flex-direction:row;line-height:1.5}.rotion-table-verticallines .rotion-table-cell{border-right:var(--rotion-table-border)}.rotion-table-verticallines .rotion-table-cell:last-child{border-right:none}.rotion-table-cell-inner{display:flex;flex-shrink:0;font-size:14px;overflow:hidden;padding:5px 8px;width:220px}.rotion-table-header-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rotion-table-header-icon{fill:var(--rotion-table-icon-fill);backface-visibility:hidden;display:block;flex-shrink:0;height:14px;margin-right:7px;margin-top:4px;width:14px}.rotion-table-checkbox{display:flex;margin:3px 0}.rotion-table-checkbox .rotion-prefix,.rotion-table-checkbox .rotion-suffix{padding-top:1px}.rotion-table-checkbox .rotion-prefix{padding-right:6px}.rotion-table-checkbox .rotion-suffix{padding-left:6px}.rotion-table-date{align-items:center;color:var(--rotion-primary-text);display:flex;font-family:var(--rotion-font-family);font-size:.85rem;min-width:20px;white-space:nowrap}.rotion-table-multiselect-ul{align-items:center;display:flex;flex-shrink:0;font-family:var(--rotion-font-family);list-style-type:none;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis}.rotion-table-multiselect-li{align-items:center;display:flex;flex-shrink:0;font-size:.75rem;margin:0 6px 0 0;min-width:0;padding:0}.rotion-table-number{text-align:right;width:100%}.rotion-table-number,.rotion-table-richtext{color:var(--rotion-primary-text);display:block;font-family:var(--rotion-font-family);font-size:.85rem;white-space:nowrap}.rotion-table-richtext{margin:0;overflow:hidden;padding:0;text-overflow:ellipsis}.rotion-table-select{align-items:center;border-radius:3px;color:#183347;display:flex;flex-shrink:0;font-size:.75rem;margin:0 6px 0 0;min-width:0;padding:0}.rotion-table-select,.rotion-table-title,.rotion-table-url{font-family:var(--rotion-font-family)}.rotion-table-url{display:flex;margin:0;white-space:nowrap}.rotion-table-url-link{background:inherit;border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);cursor:var(--rotion-link-cursor);display:block;padding:0 5px 2px;text-decoration:var(--rotion-link-text-decoration)}.rotion-table-url-link:hover{background:var(--rotion-link-hover-bg-color);color:var(--rotion-link-hover-color)}.rotion-table-url-domain,.rotion-table-url-path{display:inline;font-size:.8rem;white-space:nowrap}.rotion-table-url-path{color:var(--rotion-tertiary-text)}.rotion-table-formula{color:var(--rotion-primary-text);display:block;font-family:var(--rotion-font-family);font-size:.85rem;text-align:right;white-space:nowrap;width:100%}.rotion-bookmark{color:var(--rotion-secondary-text);font-family:var(--rotion-font-family);line-height:1;margin-top:.4rem;padding:.5rem 0}.rotion-bookmark-area{background-color:var(--rotion-link-bg-color);border:var(--rotion-border);border-radius:var(--rotion-border-radius);cursor:pointer;display:flex;font-size:.75rem;overflow:hidden;padding:0;position:relative}.rotion-bookmark-area:hover{background-color:var(--rotion-link-hover-bg-color)}.rotion-bookmark-text{align-self:start;flex:4 1 180px;line-height:1.7;overflow:hidden;padding:.7rem 1rem 0}.rotion-bookmark-image{display:block;flex:1 1 180px;height:108px;line-height:1;margin:0;overflow:hidden;padding:0}.rotion-bookmark-img{background:#191919;border-radius:1px;display:block;height:100%;object-fit:cover;width:100%}.rotion-bookmark-title{color:var(--rotion-primary-text);display:block;font-size:.9rem;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.rotion-bookmark-desc{font-size:12px;height:32px;line-height:16px;overflow:hidden}.rotion-bookmark-url{color:var(--rotion-primary-text);font-size:12px;margin-top:8px;overflow:hidden;padding:0;position:relative;text-overflow:ellipsis;white-space:nowrap}.rotion-bookmark-favicon{display:inline;margin-bottom:1px;margin-right:10px;vertical-align:bottom}.rotion-bookmark-caption{color:var(--rotion-tertiary-text);font-size:.8rem;margin:.3rem .3rem 0;text-align:left}@media (max-width:580px){.rotion-bookmark-area{display:block}.rotion-bookmark-image{display:none}.rotion-bookmark-url{padding:1rem 0 .85rem;position:static}}.rotion-breadcrumb{font-family:var(--rotion-font-family)}.rotion-breadcrumb-icon{padding-bottom:.2rem;padding-right:.29rem;vertical-align:middle}.rotion-breadcrumb-emoji{display:inline-block;margin-top:-4px;padding-bottom:.2rem;padding-right:.4rem;vertical-align:middle}.rotion-breadcrumb-slash{color:var(--rotion-secondary-text);font-size:.9rem;opacity:.5;padding:0 .3rem}.rotion-breadcrumb-text{color:var(--rotion-primary-text)}.rotion-bulleted-list{margin:0;padding:.2rem 0 .2rem .3rem}.rotion-bulleted-list,.rotion-callout{font-family:var(--rotion-font-family);line-height:var(--rotion-line-height)}.rotion-callout{border-radius:var(--rotion-border-radius);box-sizing:border-box;display:flex;margin:4px 0;padding:1.2rem 1.2rem 1.2rem 1rem;width:100%}.rotion-callout-icon{box-sizing:border-box;display:block;overflow:hidden}.rotion-callout-icon,.rotion-callout-img{height:24px;width:24px}.rotion-callout-text{display:block;margin-left:8px;white-space:pre-wrap;width:100%;word-break:break-word}.rotion-callout-default,.rotion-callout-default-background{border:var(--rotion-annot-border);color:inherit}.rotion-callout-gray{border:var(--rotion-annot-border);color:var(--rotion-annot-gray)}.rotion-callout-gray-bg{background-color:var(--rotion-annot-bg-default);color:var(--rotion-annot-default)}.rotion-callout-brown{border:var(--rotion-annot-border);color:var(--rotion-annot-brown)}.rotion-callout-brown-bg{background-color:var(--rotion-annot-bg-brown);color:var(--rotion-annot-default)}.rotion-callout-orange{border:var(--rotion-annot-border);color:var(--rotion-annot-orange)}.rotion-callout-orange-bg{background-color:var(--rotion-annot-bg-orange);color:var(--rotion-annot-default)}.rotion-callout-yellow{border:var(--rotion-annot-border);color:var(--rotion-annot-yellow)}.rotion-callout-yellow-bg{background-color:var(--rotion-annot-bg-yellow);color:var(--rotion-annot-default)}.rotion-callout-green{border:var(--rotion-annot-border);color:var(--rotion-annot-green)}.rotion-callout-green-bg{background-color:var(--rotion-annot-bg-green);color:var(--rotion-annot-default)}.rotion-callout-blue{border:var(--rotion-annot-border);color:var(--rotion-annot-blue)}.rotion-callout-blue-bg{background-color:var(--rotion-annot-bg-blue);color:var(--rotion-annot-default)}.rotion-callout-purple{border:var(--rotion-annot-border);color:var(--rotion-annot-purple)}.rotion-callout-purple-bg{background-color:var(--rotion-annot-bg-purple);color:var(--rotion-annot-default)}.rotion-callout-pink{border:var(--rotion-annot-border);color:var(--rotion-annot-pink)}.rotion-callout-pink-bg{background-color:var(--rotion-annot-bg-pink);color:var(--rotion-annot-default)}.rotion-callout-red{border:var(--rotion-annot-border);color:var(--rotion-annot-red)}.rotion-callout-red-bg{background-color:var(--rotion-annot-bg-red);color:var(--rotion-annot-default)}.rotion-childdb{font-family:var(--rotion-font-family);width:100%}.rotion-childdb-link{align-items:top;background-color:var(--rotion-link-bg-color);border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);display:grid;gap:.4rem;grid-template:repeat(1,1fr) /1.5rem 1fr;margin:.2rem 0 0;padding:.1rem 0;text-decoration:var(--rotion-link-text-decoration)}.rotion-childdb-link:hover{background-color:var(--rotion-link-hover-bg-color)}.rotion-childdb-title{border-bottom:var(--rotion-link-border-bottom);line-height:var(--rotion-line-height);vertical-align:top}.rotion-childdb-emoji{font-size:.95rem;margin-left:3px;margin-top:-2px;overflow:hidden}.rotion-childdb-icon{overflow:hidden}.rotion-childpage{font-family:var(--rotion-font-family);width:100%}.rotion-childpage-link{align-items:top;background-color:var(--rotion-link-bg-color);border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);display:grid;gap:.4rem;grid-template:repeat(1,1fr) /1.5rem 1fr;margin:.2rem 0 0;padding:.1rem 0;text-decoration:var(--rotion-link-text-decoration)}.rotion-childpage-link:hover{background-color:var(--rotion-link-hover-bg-color)}.rotion-childpage-title{border-bottom:var(--rotion-link-border-bottom);line-height:var(--rotion-line-height);vertical-align:top}.rotion-childpage-emoji{font-size:.95rem;margin-left:3px;margin-top:-2px;overflow:hidden}.rotion-childpage-icon{overflow:hidden}.rotion-code{font-family:var(--rotion-font-family);width:100%}.rotion-code-caption{color:var(--rotion-secondary-text);font-size:.95rem;margin:.3rem .3rem 0;text-align:left}.rotion-columnlist{display:grid;font-family:var(--rotion-font-family);gap:5%;margin:1rem 0;width:100%}.rotion-columnlist-column{margin:0 0 1rem}@media (max-width:580px){.rotion-columnlist{display:block}}.rotion-embed{font-family:var(--rotion-font-family);text-align:center;width:100%}.rotion-embed-html{position:relative;text-align:center;width:100%}.rotion-embed-caption{color:var(--rotion-tertiary-text);font-size:.95rem;margin:.3rem .3rem 0;text-align:left}.rotion-embed-instagram{margin:0 auto;max-width:540px}.rotion-embed-instagram iframe{max-height:590px;overflow:hidden}.rotion-embed-twitter{margin:0 auto;max-width:550px}.rotion-embed-applemusic{margin:0 auto;max-width:660px}.rotion-embed-speakerdeck{height:0;margin:0 auto .8rem;padding-bottom:56.25%;width:100%}.rotion-embed-speakerdeck iframe{height:56.25%;width:100%}.rotion-embed-googlemap{height:90vh;margin:0 auto .8rem;width:100%}.rotion-embed-googlemap iframe{height:90vh}.rotion-equation{color:var(--rotion-primary-text);font-family:var(--rotion-font-family);text-align:center;width:100%}.rotion-equation-html{font-size:1.7rem;margin:.5rem auto}.rotion-file{font-family:var(--rotion-font-family)}.rotion-file-link{align-items:top;background-color:var(--rotion-link-bg-color);border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);display:grid;gap:.1rem;grid-template:repeat(1,1fr) /1.5rem 1fr;margin:.2rem 0 0;padding:.6rem .3rem;text-decoration:var(--rotion-link-text-decoration)}.rotion-file-link:hover{background-color:var(--rotion-link-hover-bg-color)}.rotion-file-size{color:var(--rotion-tertiary-text);font-size:.8rem;padding-left:.5rem}.rotion-file-caption{color:var(--rotion-tertiary-text);font-size:.9rem;padding-left:.4rem;padding-top:.2rem}.rotion-icon-file,.rotion-icon-github{fill:var(--rotion-primary-text)}.rotion-image{font-family:var(--rotion-font-family);margin:0;padding:0 0 .5rem;text-align:center}.rotion-image-area{display:flex}.rotion-image-img{margin-left:auto;margin-right:auto;width:100%}.rotion-image-caption{color:var(--rotion-tertiary-text);font-size:.95rem;margin:.3rem .3rem 0;text-align:left}.rotion-linkpreview{font-family:var(--rotion-font-family);margin:1rem 0}.rotion-linkpreview-link{background-color:var(--rotion-link-bg-color);border:var(--rotion-border);border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);display:block;overflow:hidden;padding:.7rem 1rem;text-decoration:var(--rotion-link-text-decoration)}.rotion-linkpreview-link:hover{background-color:var(--rotion-link-hover-bg-color);color:var(--rotion-link-hover-color)}.rotion-linkpreview-area{display:grid;gap:10px;grid-template-columns:32px 1fr}.rotion-linkpreview-icon{height:100%}.rotion-linkpreview-slack .rotion-linkpreview-icon{margin-bottom:-3px;padding-top:3px}.rotion-linkpreview-figma .rotion-linkpreview-icon{padding-left:6px}.rotion-linkpreview-title{display:block;font-size:.85rem}.rotion-linkpreview-desc{color:var(--rotion-tertiary-text);display:block;font-size:.8rem;padding-top:3px}.rotion-linkpreview-githubicon{margin-left:-3px;position:relative}.rotion-linkpreview-githubicon-user{border-radius:15px}.rotion-linkpreview-dot{margin-left:3px;margin-right:3px}.rotion-linkpreview-github-state{color:var(--rotion-secondary-text);margin-left:.6rem}.rotion-linkpreview-github-state-icon{margin-right:3px;margin-top:-1px;vertical-align:middle}.rotion-linkpreview-github-state .rotion-linkpreview-github-state-icon{margin-right:5px;margin-top:-2px}.rotion-linkpreview-issue-open{fill:rgba(30,130,10,.8)}.rotion-linkpreview-issue-closed{fill:rgba(200,30,80,.8)}.rotion-linkpreview-issue-merged{fill:rgba(130,60,180,.8)}.rotion-linkpreview-state{text-transform:capitalize}.rotion-linkpreview-githubicon-octocat{background-color:#fff;border-radius:15px;bottom:-2px;padding:1px;position:absolute;right:-4px}.rotion-linkpreview-figma iframe{border:var(--rotion-border);border-radius:var(--rotion-border-radius)}.rotion-numbered-list{line-height:var(--rotion-line-height);margin:0;padding:.2rem 0 .2rem .3rem}.rotion-numbered-list,.rotion-pdf{font-family:var(--rotion-font-family)}.rotion-pdf-link{align-items:top;background-color:var(--rotion-link-bg-color);border-radius:var(--rotion-border-radius);color:var(--rotion-link-color);display:grid;gap:.1rem;grid-template:repeat(1,1fr) /1.5rem 1fr;margin:.2rem 0 0;padding:.6rem .3rem;text-decoration:var(--rotion-link-text-decoration)}.rotion-pdf-link:hover{background-color:var(--rotion-link-hover-bg-color)}.rotion-pdf-size{color:var(--rotion-tertiary-text);font-size:.8rem;padding-left:.5rem}.rotion-pdf-caption{color:var(--rotion-tertiary-text);font-size:.9rem;padding-left:.4rem;padding-top:.2rem}.rotion-syncedblock{padding:.5rem 0}.rotion-syncedblock,.rotion-table{color:var(--rotion-primary-text);font-family:var(--rotion-font-family)}.rotion-table{padding-top:.6rem}.rotion-table-area{border-collapse:collapse;border-spacing:0;font-size:.9rem;width:100%}.rotion-table-td{border:var(--rotion-border);margin:0;padding:.3rem}.rotion-table-td-inner{padding:.2rem .4rem}.rotion-table-td-header{background-color:var(--rotion-table-header-bg-color);border:var(--rotion-border);font-weight:500;margin:0;padding:.3rem;text-align:left}.rotion-table-td-header-inner{padding:.2rem .4rem}.rotion-table-tr{margin:0}.rotion-text{color:var(--rotion-primary-text);font-family:var(--rotion-font-family)}.rotion-text-hr{border-top:var(--rotion-border);height:1px;margin:1rem 0;width:100%}.rotion-text-h1{line-height:1.3;margin:0;padding:3rem 0 3px}.rotion-text-h2{line-height:1.3;margin:0;padding:2rem 0 3px}.rotion-text-h3{line-height:1.3;margin:0;padding:1.6rem 0 3px}.rotion-text-p{margin:0;padding:.6rem 0}.rotion-text-p,.rotion-text-quote{line-height:var(--rotion-line-height)}.rotion-text-quote{border-left:3px solid var(--rotion-quote-border-color);margin-left:0;margin-right:0;padding-left:1rem}.rotion-todo{align-items:flex-start;display:flex;font-family:var(--rotion-font-family);line-height:1.7;padding:4px 0 1px 2px;width:100%}.rotion-todo-checkbox{align-items:center;display:flex;flex-grow:0;flex-shrink:0;justify-content:center;margin-right:4px;min-height:calc(1.5em + 6px);user-select:none;width:22px}.rotion-todo-text{color:var(--rotion-primary-text);display:flex;flex:1 1 0;flex-direction:column;min-width:1px}.rotion-todo-text-inner{flex-grow:1;max-width:100%;padding:1px 2px;text-align:left;white-space:pre-wrap;word-break:break-word}.rotion-todo-text-inner-checked{color:var(--rotion-secondary-text);text-decoration-color:var(--rotion-tertiary-text);text-decoration-line:line-through}.rotion-toggle{align-items:flex-start;color:var(--rotion-primary-text);display:flex;font-family:var(--rotion-font-family);line-height:1.8;margin-top:.6rem;width:100%}.rotion-toggle-triangle{align-items:center;background-color:inherit;border-radius:var(--rotion-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;margin-right:4px;margin-top:0;padding:2px;position:relative;transition:background 20ms ease-in 0s;width:24px}.rotion-toggle-triangle:hover{background-color:var(--rotion-toggle-hover-bg-color)}.rotion-toggle-text{width:100%}.rotion-toggle-icon{fill:var(--rotion-primary-text);backface-visibility:hidden;display:block;flex-shrink:0;height:.6875em;opacity:1;transition:"transform 200ms ease-out 0s";width:.6875em}.rotion-video{font-family:var(--rotion-font-family);width:100%}.rotion-video-inner{margin:auto}.rotion-video-html{height:0,;margin:auto;padding-bottom:56.25%;position:relative;width:100%}.rotion-video-caption{color:var(--rotion-tertiary-text);font-size:.95rem;margin:.3rem .3rem 0;text-align:left}.rotion-video-youtube{margin:auto}.rotion-prefix,.rotion-suffix{color:var(--rotion-tertiary-text);display:inline;font-size:.7rem;line-height:1.2;white-space:nowrap}.rotion-prefix{padding-right:3px}.rotion-suffix{padding-left:3px}.rotion-checkbox-checked{align-items:stretch;background:#2383e2;display:flex;flex-grow:0;flex-shrink:0;height:16px;justify-content:stretch;transition:background .2s ease-out 0s;width:16px}.rotion-checkbox-checked-inner{align-items:center;display:flex;justify-content:center;position:relative;transition:background 20ms ease-in 0s;user-select:none;width:100%}.rotion-checkbox-checked-checkbox{fill:#fff;backface-visibility:hidden;display:block;flex-shrink:0;height:12px;width:12px}.rotion-checkbox-unchecked{align-items:center;display:flex;height:16px;justify-content:center;position:relative;transition:background 20ms ease-in 0s;user-select:none;width:16px}.rotion-checkbox-unchecked-checkbox{fill:var(--rotion-primary-text);backface-visibility:hidden;display:block;flex-shrink:0;height:100%;width:100%}
@@ -1,8 +1,27 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { ListBlockChildrenResponse, BulletedListItemBlockObjectResponse, NumberedListItemBlockObjectResponse, TableBlockObjectResponse, ToggleBlockObjectResponse, ColumnListBlockObjectResponse, ChildPageBlockObjectResponse, ChildDatabaseBlockObjectResponse, BookmarkBlockObjectResponse, RichTextItemResponse, CalloutBlockObjectResponse, ImageBlockObjectResponse, VideoBlockObjectResponse, EmbedBlockObjectResponse, TextRichTextItemResponse, EquationRichTextItemResponse, ParagraphBlockObjectResponse, BreadcrumbBlockObjectResponse, FileBlockObjectResponse, PdfBlockObjectResponse, SyncedBlockBlockObjectResponse, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, ToDoBlockObjectResponse, TemplateBlockObjectResponse, EquationBlockObjectResponse, CodeBlockObjectResponse, DividerBlockObjectResponse, TableOfContentsBlockObjectResponse, ColumnBlockObjectResponse, LinkToPageBlockObjectResponse, TableRowBlockObjectResponse, AudioBlockObjectResponse, LinkPreviewBlockObjectResponse, UnsupportedBlockObjectResponse, PageObjectResponse, GetPagePropertyResponse, DatabaseObjectResponse, QueryDatabaseResponse, MentionRichTextItemResponse, GetSelfResponse, GetPageResponse } from '@notionhq/client/build/src/api-endpoints.js';
2
+ import { ListBlockChildrenResponse, BulletedListItemBlockObjectResponse, NumberedListItemBlockObjectResponse, TableBlockObjectResponse, ToggleBlockObjectResponse, ColumnListBlockObjectResponse, ChildPageBlockObjectResponse, ChildDatabaseBlockObjectResponse, BookmarkBlockObjectResponse, RichTextItemResponse, CalloutBlockObjectResponse, ImageBlockObjectResponse, VideoBlockObjectResponse, EmbedBlockObjectResponse, TextRichTextItemResponse, EquationRichTextItemResponse, ParagraphBlockObjectResponse, BreadcrumbBlockObjectResponse, FileBlockObjectResponse, PdfBlockObjectResponse, SyncedBlockBlockObjectResponse, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, ToDoBlockObjectResponse, TemplateBlockObjectResponse, EquationBlockObjectResponse, CodeBlockObjectResponse, DividerBlockObjectResponse, TableOfContentsBlockObjectResponse, ColumnBlockObjectResponse, LinkToPageBlockObjectResponse, TableRowBlockObjectResponse, AudioBlockObjectResponse, UnsupportedBlockObjectResponse, LinkPreviewBlockObjectResponse, PageObjectResponse, GetPagePropertyResponse, DatabaseObjectResponse, QueryDatabaseResponse, MentionRichTextItemResponse, GetSelfResponse, GetPageResponse } from '@notionhq/client/build/src/api-endpoints.js';
3
3
  import { ParsedUrlQueryInput } from 'node:querystring';
4
4
  import { UrlObject } from 'node:url';
5
5
 
6
+ interface LinkPreviewGithubRepo {
7
+ name: string;
8
+ login: string;
9
+ avatar_url: string;
10
+ avatar_src: string;
11
+ updated_at: string;
12
+ }
13
+ interface LinkPreviewGithubIssue {
14
+ title: string;
15
+ login: string;
16
+ avatar_url: string;
17
+ avatar_src: string;
18
+ created_at: string;
19
+ closed_at: string | null;
20
+ merged_at: string | null;
21
+ state: 'open' | 'closed' | 'merged';
22
+ number: number;
23
+ }
24
+
6
25
  type IdRequest = string | string;
7
26
  type TextRequest = string;
8
27
  type StringRequest = string;
@@ -231,12 +250,27 @@ type PdfBlockObjectResponseEx = PdfBlockObjectResponse & {
231
250
  type SyncedBlockBlockObjectResponseEx = SyncedBlockBlockObjectResponse & {
232
251
  children?: ListBlockChildrenResponseEx;
233
252
  };
234
- type BlockObjectResponse = ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | BulletedListItemBlockObjectResponseEx | NumberedListItemBlockObjectResponseEx | QuoteBlockObjectResponse | ToDoBlockObjectResponse | ToggleBlockObjectResponseEx | TemplateBlockObjectResponse | SyncedBlockBlockObjectResponseEx | ChildPageBlockObjectResponseEx | ChildDatabaseBlockObjectResponseEx | EquationBlockObjectResponse | CodeBlockObjectResponse | CalloutBlockObjectResponseEx | DividerBlockObjectResponse | BreadcrumbBlockObjectResponseEx | TableOfContentsBlockObjectResponse | ColumnListBlockObjectResponseEx | ColumnBlockObjectResponse | LinkToPageBlockObjectResponse | TableBlockObjectResponseEx | TableRowBlockObjectResponse | EmbedBlockObjectResponseEx | BookmarkBlockObjectResponseEx | ImageBlockObjectResponseEx | VideoBlockObjectResponseEx | PdfBlockObjectResponseEx | FileBlockObjectResponseEx | AudioBlockObjectResponse | LinkPreviewBlockObjectResponse | UnsupportedBlockObjectResponse;
253
+ type BlockObjectResponse = ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | BulletedListItemBlockObjectResponseEx | NumberedListItemBlockObjectResponseEx | QuoteBlockObjectResponse | ToDoBlockObjectResponse | ToggleBlockObjectResponseEx | TemplateBlockObjectResponse | SyncedBlockBlockObjectResponseEx | ChildPageBlockObjectResponseEx | ChildDatabaseBlockObjectResponseEx | EquationBlockObjectResponse | CodeBlockObjectResponse | CalloutBlockObjectResponseEx | DividerBlockObjectResponse | BreadcrumbBlockObjectResponseEx | TableOfContentsBlockObjectResponse | ColumnListBlockObjectResponseEx | ColumnBlockObjectResponse | LinkToPageBlockObjectResponse | TableBlockObjectResponseEx | TableRowBlockObjectResponse | EmbedBlockObjectResponseEx | BookmarkBlockObjectResponseEx | ImageBlockObjectResponseEx | VideoBlockObjectResponseEx | PdfBlockObjectResponseEx | FileBlockObjectResponseEx | AudioBlockObjectResponse | LinkPreviewBlockObjectResponseEx | UnsupportedBlockObjectResponse;
235
254
  type ListBlockChildrenResponseEx = ListBlockChildrenResponse & {
236
255
  results: Array<BlockObjectResponse>;
237
256
  children?: ListBlockChildrenResponse;
238
257
  last_edited_time?: string;
239
258
  };
259
+ type LinkPreviewBlockObjectResponseEx = LinkPreviewBlockObjectResponse & {
260
+ link_preview: {
261
+ url: string;
262
+ github?: {
263
+ type: 'issue';
264
+ issue: LinkPreviewGithubIssue;
265
+ } | {
266
+ type: 'repo';
267
+ repo: LinkPreviewGithubRepo;
268
+ };
269
+ figma?: {
270
+ html: string;
271
+ };
272
+ };
273
+ };
240
274
  type GetPageResponseEx = PageObjectResponse & {
241
275
  cover: {
242
276
  src: string;
@@ -760,7 +794,7 @@ interface ImageBlockProps {
760
794
  declare const ImageBlock: ({ block }: ImageBlockProps) => React.JSX.Element;
761
795
 
762
796
  type LinkPreviewBlockProps = {
763
- block: LinkPreviewBlockObjectResponse;
797
+ block: LinkPreviewBlockObjectResponseEx;
764
798
  };
765
799
 
766
800
  declare const LinkPreviewBlock: ({ block }: LinkPreviewBlockProps) => React.JSX.Element;
@@ -824,7 +858,7 @@ interface VideoBlockProps {
824
858
  declare const VideoBlock: ({ block }: VideoBlockProps) => React.JSX.Element;
825
859
 
826
860
  interface IconProps {
827
- name: 'figma' | 'slack' | 'github' | 'file' | 'link';
861
+ name: 'figma' | 'slack' | 'github' | 'file' | 'link' | 'codemerge' | 'circlecheck' | 'circledot';
828
862
  width?: string;
829
863
  height?: string;
830
864
  className?: string;