@factorialco/f0-react 11.11.0 → 11.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/assets/fonts/INTER-LICENSE.txt +92 -0
- package/assets/fonts/InterVariable-cyrillic-ext-italic.woff2 +0 -0
- package/assets/fonts/InterVariable-cyrillic-ext-normal.woff2 +0 -0
- package/assets/fonts/InterVariable-cyrillic-italic.woff2 +0 -0
- package/assets/fonts/InterVariable-cyrillic-normal.woff2 +0 -0
- package/assets/fonts/InterVariable-greek-ext-italic.woff2 +0 -0
- package/assets/fonts/InterVariable-greek-ext-normal.woff2 +0 -0
- package/assets/fonts/InterVariable-greek-italic.woff2 +0 -0
- package/assets/fonts/InterVariable-greek-normal.woff2 +0 -0
- package/assets/fonts/InterVariable-latin-ext-italic.woff2 +0 -0
- package/assets/fonts/InterVariable-latin-ext-normal.woff2 +0 -0
- package/assets/fonts/InterVariable-latin-italic.woff2 +0 -0
- package/assets/fonts/InterVariable-latin-normal.woff2 +0 -0
- package/assets/fonts/InterVariable-symbols-italic.woff2 +0 -0
- package/assets/fonts/InterVariable-symbols-normal.woff2 +0 -0
- package/assets/fonts/InterVariable-vietnamese-italic.woff2 +0 -0
- package/assets/fonts/InterVariable-vietnamese-normal.woff2 +0 -0
- package/assets/fonts/README.md +19 -0
- package/assets/fonts/style.css +135 -30
- package/dist/{ChatPostComposerDialog-BqAJZqD9.js → ChatPostComposerDialog-3j5zits7.js} +2 -2
- package/dist/{CoachmarkProvider-DCHKWnIq.js → CoachmarkProvider-BqDQTbBm.js} +2 -2
- package/dist/{DocumentToolbar-BU9PTMlI.js → DocumentToolbar-BVXSCk6Q.js} +2 -2
- package/dist/{DocxViewer-8FiXi45s.js → DocxViewer-CJW0E-Dc.js} +1 -1
- package/dist/{F0AiProcessingOverlay-L6LooNzN.js → F0AiProcessingOverlay-C4TJg7Ty.js} +1 -1
- package/dist/{F0CanvasPanel-D--qira6.js → F0CanvasPanel-LsH7koo5.js} +64 -59
- package/dist/{F0DocumentViewer-C7Wv7NTY.js → F0DocumentViewer-C559_ubP.js} +3 -3
- package/dist/F0DocumentViewer-DGjeNx30.js +3 -0
- package/dist/{F0Map-DbbjpLjI.js → F0Map-CQndAu_Q.js} +3 -3
- package/dist/{F0VideoPlayer-BFo3wQQU.js → F0VideoPlayer-BQG87AwT.js} +1 -1
- package/dist/F0VideoPlayer-iQW4yQlk.js +1 -0
- package/dist/{Map-BfheF0i_.js → Map-DrtKJWqp.js} +3 -3
- package/dist/{PdfThumbnail-B8kgKi-5.js → PdfThumbnail-V-2qCeAL.js} +1 -1
- package/dist/{SheetViewer-Dy1cNTbd.js → SheetViewer-nMaleah4.js} +3 -3
- package/dist/{TextViewer-DSec8GUk.js → TextViewer-DktXuGxN.js} +1 -1
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +1695 -1695
- package/dist/{exports-CJtG_boZ.d.ts → exports-YFGEaBWt.d.ts} +1 -1
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +6 -6
- package/dist/{index-DGmIutN2.d.ts → index-Br3UrbPk.d.ts} +17 -0
- package/dist/{maplibre-Dg0SWOg-.js → maplibre-BaPc6h37.js} +1 -1
- package/dist/{pdfWorker-CK_VPj2f.js → pdfWorker-Di6OBsJs.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-BkW50Whp.d.ts → types-CpvhOpCV.d.ts} +1 -1
- package/package.json +1 -1
- package/assets/fonts/Inter-Italic.woff +0 -0
- package/assets/fonts/Inter-Medium.woff +0 -0
- package/assets/fonts/Inter-MediumItalic.woff +0 -0
- package/assets/fonts/Inter-Regular.woff +0 -0
- package/assets/fonts/Inter-SemiBold.woff +0 -0
- package/assets/fonts/Inter-SemiBoldItalic.woff +0 -0
- package/dist/F0DocumentViewer-DACK-OvI.js +0 -3
- package/dist/F0VideoPlayer-D7RCk_24.js +0 -1
package/README.md
CHANGED
|
@@ -79,6 +79,13 @@ Import its styles in your application (typically in main.tsx or similar):
|
|
|
79
79
|
import "@factorialco/f0-react/dist/styles.css"
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
+
F0 is designed with Inter. If your app does not serve Inter already, import
|
|
83
|
+
F0's copy too:
|
|
84
|
+
|
|
85
|
+
```tsx
|
|
86
|
+
import "@factorialco/f0-react/assets/fonts/style.css"
|
|
87
|
+
```
|
|
88
|
+
|
|
82
89
|
You can then utilize any of its components:
|
|
83
90
|
|
|
84
91
|
```tsx
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
-----------------------------------------------------------
|
|
8
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
|
|
11
|
+
PREAMBLE
|
|
12
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
13
|
+
development of collaborative font projects, to support the font creation
|
|
14
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
15
|
+
open framework in which fonts may be shared and improved in partnership
|
|
16
|
+
with others.
|
|
17
|
+
|
|
18
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
19
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
20
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
21
|
+
redistributed and/or sold with any software provided that any reserved
|
|
22
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
23
|
+
however, cannot be released under any other type of license. The
|
|
24
|
+
requirement for fonts to remain under this license does not apply
|
|
25
|
+
to any document created using the fonts or their derivatives.
|
|
26
|
+
|
|
27
|
+
DEFINITIONS
|
|
28
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
29
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
30
|
+
include source files, build scripts and documentation.
|
|
31
|
+
|
|
32
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
33
|
+
copyright statement(s).
|
|
34
|
+
|
|
35
|
+
"Original Version" refers to the collection of Font Software components as
|
|
36
|
+
distributed by the Copyright Holder(s).
|
|
37
|
+
|
|
38
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
39
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
40
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
41
|
+
new environment.
|
|
42
|
+
|
|
43
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
44
|
+
writer or other person who contributed to the Font Software.
|
|
45
|
+
|
|
46
|
+
PERMISSION AND CONDITIONS
|
|
47
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
48
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
49
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
50
|
+
Software, subject to the following conditions:
|
|
51
|
+
|
|
52
|
+
1) Neither the Font Software nor any of its individual components,
|
|
53
|
+
in Original or Modified Versions, may be sold by itself.
|
|
54
|
+
|
|
55
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
56
|
+
redistributed and/or sold with any software, provided that each copy
|
|
57
|
+
contains the above copyright notice and this license. These can be
|
|
58
|
+
included either as stand-alone text files, human-readable headers or
|
|
59
|
+
in the appropriate machine-readable metadata fields within text or
|
|
60
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
61
|
+
|
|
62
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
63
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
64
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
65
|
+
presented to the users.
|
|
66
|
+
|
|
67
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
68
|
+
Software shall not be used to promote, endorse or advertise any
|
|
69
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
70
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
71
|
+
permission.
|
|
72
|
+
|
|
73
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
74
|
+
must be distributed entirely under this license, and must not be
|
|
75
|
+
distributed under any other license. The requirement for fonts to
|
|
76
|
+
remain under this license does not apply to any document created
|
|
77
|
+
using the Font Software.
|
|
78
|
+
|
|
79
|
+
TERMINATION
|
|
80
|
+
This license becomes null and void if any of the above conditions are
|
|
81
|
+
not met.
|
|
82
|
+
|
|
83
|
+
DISCLAIMER
|
|
84
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
85
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
86
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
87
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
88
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
89
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
90
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
91
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
92
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Inter webfonts
|
|
2
|
+
|
|
3
|
+
These files are derived from the official Inter 4.1 web release:
|
|
4
|
+
https://github.com/rsms/inter/releases/tag/v4.1
|
|
5
|
+
|
|
6
|
+
The source files are `InterVariable.woff2` and
|
|
7
|
+
`InterVariable-Italic.woff2`. Their SHA-256 checksums are:
|
|
8
|
+
|
|
9
|
+
- `693b77d4f32ee9b8bfc995589b5fad5e99adf2832738661f5402f9978429a8e3`
|
|
10
|
+
- `e564f652916db6c139570fefb9524a77c4d48f30c92928de9db19b6b5c7a262a`
|
|
11
|
+
|
|
12
|
+
The published WOFF2 files retain the `opsz` axis from 14 to 32 and restrict
|
|
13
|
+
the `wght` axis to the 400–700 range used by F0. FontTools 4.64.0 was used to
|
|
14
|
+
split each style into the language subsets declared in `style.css`, while
|
|
15
|
+
retaining applicable OpenType layout features. Remaining source codepoints are
|
|
16
|
+
retained in the `symbols` subset.
|
|
17
|
+
|
|
18
|
+
The fonts remain licensed under the SIL Open Font License 1.1; see
|
|
19
|
+
`INTER-LICENSE.txt`.
|
package/assets/fonts/style.css
CHANGED
|
@@ -1,68 +1,173 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* Inter 4.1 variable fonts, split by unicode-range: a page downloads only the
|
|
2
|
+
subsets its text uses. Not part of dist/styles.css; apps import this file
|
|
3
|
+
themselves, so an app that serves its own Inter does not load it twice. */
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: "Inter";
|
|
7
|
+
font-style: normal;
|
|
8
|
+
font-weight: 400 700;
|
|
9
|
+
font-display: swap;
|
|
10
|
+
src: url("InterVariable-cyrillic-ext-normal.woff2") format("woff2");
|
|
11
|
+
unicode-range:
|
|
12
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
13
|
+
}
|
|
6
14
|
|
|
7
15
|
@font-face {
|
|
8
16
|
font-family: "Inter";
|
|
9
17
|
font-style: normal;
|
|
10
|
-
font-weight: 400;
|
|
18
|
+
font-weight: 400 700;
|
|
11
19
|
font-display: swap;
|
|
12
|
-
src: url("
|
|
20
|
+
src: url("InterVariable-cyrillic-normal.woff2") format("woff2");
|
|
21
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
13
22
|
}
|
|
14
23
|
|
|
15
24
|
@font-face {
|
|
16
25
|
font-family: "Inter";
|
|
17
|
-
font-style:
|
|
18
|
-
font-weight: 400;
|
|
26
|
+
font-style: normal;
|
|
27
|
+
font-weight: 400 700;
|
|
19
28
|
font-display: swap;
|
|
20
|
-
src: url("
|
|
29
|
+
src: url("InterVariable-greek-ext-normal.woff2") format("woff2");
|
|
30
|
+
unicode-range: U+1F00-1FFF;
|
|
21
31
|
}
|
|
22
32
|
|
|
23
33
|
@font-face {
|
|
24
34
|
font-family: "Inter";
|
|
25
35
|
font-style: normal;
|
|
26
|
-
font-weight:
|
|
36
|
+
font-weight: 400 700;
|
|
27
37
|
font-display: swap;
|
|
28
|
-
src: url("
|
|
38
|
+
src: url("InterVariable-greek-normal.woff2") format("woff2");
|
|
39
|
+
unicode-range:
|
|
40
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
29
41
|
}
|
|
30
42
|
|
|
31
43
|
@font-face {
|
|
32
44
|
font-family: "Inter";
|
|
33
|
-
font-style:
|
|
34
|
-
font-weight:
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-weight: 400 700;
|
|
35
47
|
font-display: swap;
|
|
36
|
-
src: url("
|
|
48
|
+
src: url("InterVariable-symbols-normal.woff2") format("woff2");
|
|
49
|
+
unicode-range:
|
|
50
|
+
U+0200-0300, U+0302-036F, U+0E3F, U+1D00-1DFF, U+2000-2FFF, U+A000-AFFF,
|
|
51
|
+
U+E000-F8FF, U+1F100-1F8FF;
|
|
37
52
|
}
|
|
38
53
|
|
|
39
54
|
@font-face {
|
|
40
55
|
font-family: "Inter";
|
|
41
56
|
font-style: normal;
|
|
42
|
-
font-weight:
|
|
57
|
+
font-weight: 400 700;
|
|
43
58
|
font-display: swap;
|
|
44
|
-
src: url("
|
|
59
|
+
src: url("InterVariable-vietnamese-normal.woff2") format("woff2");
|
|
60
|
+
unicode-range:
|
|
61
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
62
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
63
|
+
U+1EA0-1EF9, U+20AB;
|
|
45
64
|
}
|
|
46
65
|
|
|
47
66
|
@font-face {
|
|
48
67
|
font-family: "Inter";
|
|
49
|
-
font-style:
|
|
50
|
-
font-weight:
|
|
68
|
+
font-style: normal;
|
|
69
|
+
font-weight: 400 700;
|
|
51
70
|
font-display: swap;
|
|
52
|
-
src: url("
|
|
71
|
+
src: url("InterVariable-latin-ext-normal.woff2") format("woff2");
|
|
72
|
+
unicode-range:
|
|
73
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
74
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
75
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
53
76
|
}
|
|
54
77
|
|
|
55
|
-
/* Arial adjusted to Inter's metrics (same overrides next/font computes), so
|
|
56
|
-
text laid out before the webfont arrives wraps at the same points and the
|
|
57
|
-
swap does not reflow already-measured content. Not part of the global
|
|
58
|
-
`font-sans` token — applied only where measured layout must survive the
|
|
59
|
-
swap (the chat shell rule in src/styles.css). */
|
|
60
78
|
@font-face {
|
|
61
|
-
font-family: "Inter
|
|
79
|
+
font-family: "Inter";
|
|
62
80
|
font-style: normal;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
81
|
+
font-weight: 400 700;
|
|
82
|
+
font-display: swap;
|
|
83
|
+
src: url("InterVariable-latin-normal.woff2") format("woff2");
|
|
84
|
+
unicode-range:
|
|
85
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
86
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
87
|
+
U+2215, U+FEFF, U+FFFD;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@font-face {
|
|
91
|
+
font-family: "Inter";
|
|
92
|
+
font-style: italic;
|
|
93
|
+
font-weight: 400 700;
|
|
94
|
+
font-display: swap;
|
|
95
|
+
src: url("InterVariable-cyrillic-ext-italic.woff2") format("woff2");
|
|
96
|
+
unicode-range:
|
|
97
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@font-face {
|
|
101
|
+
font-family: "Inter";
|
|
102
|
+
font-style: italic;
|
|
103
|
+
font-weight: 400 700;
|
|
104
|
+
font-display: swap;
|
|
105
|
+
src: url("InterVariable-cyrillic-italic.woff2") format("woff2");
|
|
106
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@font-face {
|
|
110
|
+
font-family: "Inter";
|
|
111
|
+
font-style: italic;
|
|
112
|
+
font-weight: 400 700;
|
|
113
|
+
font-display: swap;
|
|
114
|
+
src: url("InterVariable-greek-ext-italic.woff2") format("woff2");
|
|
115
|
+
unicode-range: U+1F00-1FFF;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@font-face {
|
|
119
|
+
font-family: "Inter";
|
|
120
|
+
font-style: italic;
|
|
121
|
+
font-weight: 400 700;
|
|
122
|
+
font-display: swap;
|
|
123
|
+
src: url("InterVariable-greek-italic.woff2") format("woff2");
|
|
124
|
+
unicode-range:
|
|
125
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@font-face {
|
|
129
|
+
font-family: "Inter";
|
|
130
|
+
font-style: italic;
|
|
131
|
+
font-weight: 400 700;
|
|
132
|
+
font-display: swap;
|
|
133
|
+
src: url("InterVariable-symbols-italic.woff2") format("woff2");
|
|
134
|
+
unicode-range:
|
|
135
|
+
U+0200-0300, U+0302-036F, U+0E3F, U+1D00-1DFF, U+2000-2FFF, U+A000-AFFF,
|
|
136
|
+
U+E000-F8FF, U+1F100-1F8FF;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@font-face {
|
|
140
|
+
font-family: "Inter";
|
|
141
|
+
font-style: italic;
|
|
142
|
+
font-weight: 400 700;
|
|
143
|
+
font-display: swap;
|
|
144
|
+
src: url("InterVariable-vietnamese-italic.woff2") format("woff2");
|
|
145
|
+
unicode-range:
|
|
146
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
147
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
148
|
+
U+1EA0-1EF9, U+20AB;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@font-face {
|
|
152
|
+
font-family: "Inter";
|
|
153
|
+
font-style: italic;
|
|
154
|
+
font-weight: 400 700;
|
|
155
|
+
font-display: swap;
|
|
156
|
+
src: url("InterVariable-latin-ext-italic.woff2") format("woff2");
|
|
157
|
+
unicode-range:
|
|
158
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
159
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
160
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@font-face {
|
|
164
|
+
font-family: "Inter";
|
|
165
|
+
font-style: italic;
|
|
166
|
+
font-weight: 400 700;
|
|
167
|
+
font-display: swap;
|
|
168
|
+
src: url("InterVariable-latin-italic.woff2") format("woff2");
|
|
169
|
+
unicode-range:
|
|
170
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
171
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
172
|
+
U+2215, U+FEFF, U+FFFD;
|
|
68
173
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as e } from "./CoachmarkProvider-
|
|
1
|
+
import { j as e } from "./CoachmarkProvider-BqDQTbBm.js";
|
|
2
2
|
import { on as t } from "./popover-C8rmkngm.js";
|
|
3
|
-
import { ir as n } from "./F0CanvasPanel-
|
|
3
|
+
import { ir as n } from "./F0CanvasPanel-LsH7koo5.js";
|
|
4
4
|
import { a as r, f as i, i as a, u as o } from "./posts-DGtDUrKT.js";
|
|
5
5
|
import { useCallback as s, useRef as c, useState as l } from "react";
|
|
6
6
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
@@ -2,7 +2,7 @@ import { o as e, r as t, t as n } from "./rolldown-runtime-BItFwnF5.js";
|
|
|
2
2
|
import { $t as r, A as i, At as a, B as o, Bt as s, En as c, F as l, Ft as u, G as d, Gn as f, Gt as p, Ht as m, It as h, Jn as g, Jt as _, Kt as v, Ln as y, M as b, N as x, P as S, Qn as C, R as w, St as T, Tn as E, U as D, Un as O, V as k, Vn as A, Vt as j, Wt as M, Xn as N, Yn as P, Yt as F, Zn as ee, a as te, b as I, bt as L, c as ne, cn as re, cr as ie, dr as ae, er as oe, fn as R, gt as se, hn as ce, i as le, ir as ue, j as de, l as fe, ln as pe, mt as me, n as he, nr as ge, o as _e, on as ve, or as ye, pn as be, qn as xe, r as Se, rr as Ce, s as we, sn as Te, sr as Ee, st as De, t as Oe, tn as ke, tr as Ae, u as je, ur as Me, vn as Ne, wn as Pe, x as Fe, xt as Ie, yn as Le, z as Re } from "./popover-C8rmkngm.js";
|
|
3
3
|
import { L as z, R as ze, i as Be, r as Ve, t as He, u as Ue, z as We } from "./tooltip-BX4dSfeL.js";
|
|
4
4
|
import { i as Ge, r as Ke, t as qe } from "./F0Text-MLpPbWjh.js";
|
|
5
|
-
import { $i as Je, $n as Ye, $o as Xe, $r as Ze, $s as Qe, $t as $e, Aa as et, Ai as tt, An as nt, Ao as rt, As as it, At as at, Ba as ot, Bs as st, Bt as ct, Ca as lt, Ci as ut, Cn as dt, Cs as ft, Da as pt, Di as mt, Dn as ht, Ds as gt, Ea as _t, Ei as vt, En as yt, Eo as bt, Es as xt, Fa as St, Fi as Ct, Fn as wt, Fo as Tt, Ft as Et, Gi as Dt, Go as Ot, Gt as kt, Ha as At, Hi as jt, Ho as Mt, Hr as Nt, Ht as Pt, Ia as Ft, Ii as It, In as Lt, Ir as Rt, Is as zt, Ji as Bt, Jn as Vt, Jr as Ht, Js as Ut, Ki as Wt, Kr as Gt, Kt, La as qt, Li as Jt, Ln as Yt, Lr as Xt, Ma as Zt, Mi as Qt, Mn as $t, Mr as en, Ms as tn, Na as nn, Ni as rn, Nn as an, Nr as on, Ns as sn, Nt as cn, On as ln, Or as un, Pa as dn, Pi as fn, Pn as pn, Po as mn, Pr as hn, Qa as gn, Qi as _n, Qn as vn, Qr as yn, Qs as bn, Qt as xn, Ra as Sn, Ri as Cn, Rn as eee, Rs as wn, Rt as tee, Sa as nee, Si as Tn, Sn as En, Ss as ree, Ta as iee, Ti as aee, Tn as Dn, To as oee, Tr as see, Ts as cee, Uo as On, Ur as lee, Ut as kn, Vi as uee, Vt as An, Wi as dee, Wn as jn, Wr as fee, Wt as pee, Xa as Mn, Xi as Nn, Xn as mee, Xo as hee, Xr as gee, Xs as _ee, Xt as Pn, Ya as vee, Yi as Fn, Yo as yee, Yr as In, Ys as bee, Yt as xee, Za as See, Zi as Cee, Zn as wee, Zo as Ln, Zr as Rn, Zt as zn, _a as Bn, _i as Tee, _n as Eee, _o as Dee, _r as Oee, _s as kee, aa as Aee, ac as jee, ai as Mee, ba as Nee, bi as Pee, bn as Fee, bo as Vn, ci as Hn, cn as Iee, co as Lee, cs as Un, di as Wn, dn as Ree, do as zee, dr as Bee, ea as Gn, ei as Vee, en as Hee, es as Kn, fi as qn, fn as Uee, fr as Jn, fs as Yn, gi as Xn, gn as Wee, hi as Zn, hn as Gee, ho as Kee, ia as Qn, ic as $n, ii as qee, io as Jee, ir as Yee, is as Xee, ji as er, jn as Zee, jo as Qee, jr as tr, ka as nr, ki as $ee, kn as rr, ks as ete, kt as tte, lc as nte, li as ir, ln as ar, lr as rte, ls as or, mi as ite, mn as sr, mo as ate, mr as ote, na as cr, nc as lr, ni as ur, nn as dr, ns as ste, oa as cte, oc as lte, oi as ute, on as fr, oo as dte, os as fte, pi as pr, pn as mr, ps as pte, qi as hr, qn as gr, qr as mte, qt as _r, ra as vr, rc as hte, ri as gte, rn as _te, rs as vte, si as yte, sn as yr, sr as bte, ta as br, tc as xte, ti as Ste, tn as Cte, tr as wte, uc as Tte, ui as xr, un as Ete, ur as Dte, us as Ote, va as Sr, vi as Cr, vn as kte, wa as wr, wi as Tr, wn as Ate, wr as jte, ws as Mte, xa as Nte, xi as Er, xn as Pte, xs as Fte, ya as Ite, yi as Dr, yn as Lte, yo as Rte, za as zte, zi as Bte, zn as Vte, zt as Hte } from "./F0CanvasPanel-
|
|
5
|
+
import { $i as Je, $n as Ye, $o as Xe, $r as Ze, $s as Qe, $t as $e, Aa as et, Ai as tt, An as nt, Ao as rt, As as it, At as at, Ba as ot, Bs as st, Bt as ct, Ca as lt, Ci as ut, Cn as dt, Cs as ft, Da as pt, Di as mt, Dn as ht, Ds as gt, Ea as _t, Ei as vt, En as yt, Eo as bt, Es as xt, Fa as St, Fi as Ct, Fn as wt, Fo as Tt, Ft as Et, Gi as Dt, Go as Ot, Gt as kt, Ha as At, Hi as jt, Ho as Mt, Hr as Nt, Ht as Pt, Ia as Ft, Ii as It, In as Lt, Ir as Rt, Is as zt, Ji as Bt, Jn as Vt, Jr as Ht, Js as Ut, Ki as Wt, Kr as Gt, Kt, La as qt, Li as Jt, Ln as Yt, Lr as Xt, Ma as Zt, Mi as Qt, Mn as $t, Mr as en, Ms as tn, Na as nn, Ni as rn, Nn as an, Nr as on, Ns as sn, Nt as cn, On as ln, Or as un, Pa as dn, Pi as fn, Pn as pn, Po as mn, Pr as hn, Qa as gn, Qi as _n, Qn as vn, Qr as yn, Qs as bn, Qt as xn, Ra as Sn, Ri as Cn, Rn as eee, Rs as wn, Rt as tee, Sa as nee, Si as Tn, Sn as En, Ss as ree, Ta as iee, Ti as aee, Tn as Dn, To as oee, Tr as see, Ts as cee, Uo as On, Ur as lee, Ut as kn, Vi as uee, Vt as An, Wi as dee, Wn as jn, Wr as fee, Wt as pee, Xa as Mn, Xi as Nn, Xn as mee, Xo as hee, Xr as gee, Xs as _ee, Xt as Pn, Ya as vee, Yi as Fn, Yo as yee, Yr as In, Ys as bee, Yt as xee, Za as See, Zi as Cee, Zn as wee, Zo as Ln, Zr as Rn, Zt as zn, _a as Bn, _i as Tee, _n as Eee, _o as Dee, _r as Oee, _s as kee, aa as Aee, ac as jee, ai as Mee, ba as Nee, bi as Pee, bn as Fee, bo as Vn, ci as Hn, cn as Iee, co as Lee, cs as Un, di as Wn, dn as Ree, do as zee, dr as Bee, ea as Gn, ei as Vee, en as Hee, es as Kn, fi as qn, fn as Uee, fr as Jn, fs as Yn, gi as Xn, gn as Wee, hi as Zn, hn as Gee, ho as Kee, ia as Qn, ic as $n, ii as qee, io as Jee, ir as Yee, is as Xee, ji as er, jn as Zee, jo as Qee, jr as tr, ka as nr, ki as $ee, kn as rr, ks as ete, kt as tte, lc as nte, li as ir, ln as ar, lr as rte, ls as or, mi as ite, mn as sr, mo as ate, mr as ote, na as cr, nc as lr, ni as ur, nn as dr, ns as ste, oa as cte, oc as lte, oi as ute, on as fr, oo as dte, os as fte, pi as pr, pn as mr, ps as pte, qi as hr, qn as gr, qr as mte, qt as _r, ra as vr, rc as hte, ri as gte, rn as _te, rs as vte, si as yte, sn as yr, sr as bte, ta as br, tc as xte, ti as Ste, tn as Cte, tr as wte, uc as Tte, ui as xr, un as Ete, ur as Dte, us as Ote, va as Sr, vi as Cr, vn as kte, wa as wr, wi as Tr, wn as Ate, wr as jte, ws as Mte, xa as Nte, xi as Er, xn as Pte, xs as Fte, ya as Ite, yi as Dr, yn as Lte, yo as Rte, za as zte, zi as Bte, zn as Vte, zt as Hte } from "./F0CanvasPanel-LsH7koo5.js";
|
|
6
6
|
import { B as Or, C as kr, D as Ar, E as jr, F as Ute, G as Mr, H as Wte, J as Nr, K as Pr, O as Fr, P as Ir, S as Lr, T as Gte, U as Kte, V as Rr, X as zr, Y as Br, c as qte, d as Vr, f as Jte, i as Hr, n as Ur, o as Yte, q as Xte, r as Zte, w as Wr, y as Gr, z as Qte } from "./useData-DqN-h3iG.js";
|
|
7
7
|
import { $ as $te, $t as ene, At as Kr, B as qr, C as tne, Cn as nne, D as Jr, Dn as Yr, Dr as Xr, E as rne, Er as Zr, G as ine, Gt as Qr, H as $r, Ht as ane, I as one, In as sne, Jt as cne, K as lne, Kt as ei, L as ti, Ln as une, M as dne, Mr as fne, Nr as ni, Nt as pne, O as mne, On as hne, Or as ri, Ot as ii, Pr as ai, Q as oi, Qt as gne, R as si, S as _ne, St as vne, T as yne, Ut as bne, V as xne, Vt as Sne, Wt as ci, X as li, Xt as Cne, Y as wne, Yt as Tne, Z as ui, Zt as Ene, _t as Dne, an as One, at as kne, b as Ane, br as jne, bt as Mne, ct as di, d as Nne, dr as fi, dt as Pne, en as pi, et as mi, f as hi, fr as gi, g as Fne, gt as _i, hn as Ine, ht as vi, in as yi, it as Lne, j as Rne, jn as zne, jr as Bne, k as Vne, kr as bi, l as Hne, ln as xi, lr as Si, lt as Une, m as Wne, mr as Ci, n as Gne, nn as wi, nt as Ti, on as Ei, ot as Kne, p as Di, pn as Oi, qt as ki, r as qne, rr as Jne, rt as Yne, t as Ai, tn as ji, tt as Mi, un as Ni, vn as Pi, x as Fi, xt as Ii, yn as Li, yr as Xne, zt as Zne } from "./F0Select-CY_CcXQ2.js";
|
|
8
8
|
import { t as Ri } from "./Check-DAp9gCRh.js";
|
|
@@ -82413,7 +82413,7 @@ var aY = ({ lanes: e, renderCard: t, getKey: n, onCreate: r, onMove: i, idProvid
|
|
|
82413
82413
|
})]
|
|
82414
82414
|
})
|
|
82415
82415
|
});
|
|
82416
|
-
}, L7e = tre(() => import("./Map-
|
|
82416
|
+
}, L7e = tre(() => import("./Map-DrtKJWqp.js").then((e) => ({ default: e.MapCollection }))), hY = {
|
|
82417
82417
|
table: {
|
|
82418
82418
|
name: "Table",
|
|
82419
82419
|
icon: dte,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { on as e } from "./popover-C8rmkngm.js";
|
|
2
|
-
import { ks as t } from "./F0CanvasPanel-
|
|
2
|
+
import { ks as t } from "./F0CanvasPanel-LsH7koo5.js";
|
|
3
3
|
import { K as n } from "./useData-DqN-h3iG.js";
|
|
4
4
|
import { dr as r, t as i } from "./F0Select-CY_CcXQ2.js";
|
|
5
|
-
import { a, c as o, i as s, l as c, o as l, r as u, s as d } from "./F0DocumentViewer-
|
|
5
|
+
import { a, c as o, i as s, l as c, o as l, r as u, s as d } from "./F0DocumentViewer-C559_ubP.js";
|
|
6
6
|
import { useCallback as f, useMemo as p, useState as m } from "react";
|
|
7
7
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
8
8
|
//#region src/addons/documents/F0DocumentViewer/components/DocumentToolbar.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { fn as e, on as t } from "./popover-C8rmkngm.js";
|
|
2
2
|
import { t as n } from "./renderDocx-_UmnE-yc.js";
|
|
3
|
-
import { n as r, t as i } from "./DocumentToolbar-
|
|
3
|
+
import { n as r, t as i } from "./DocumentToolbar-BVXSCk6Q.js";
|
|
4
4
|
import { useEffect as a, useRef as o, useState as s } from "react";
|
|
5
5
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
6
6
|
//#region src/addons/documents/F0DocumentViewer/components/DocxViewer.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ft as e, Gt as t, St as n, a as r, b as i, bt as a, cr as o, er as s, fn as c, i as l, n as u, on as d, or as f, pn as p, sn as m, t as h, vn as g, xt as _, yn as v } from "./popover-C8rmkngm.js";
|
|
2
2
|
import { L as y, R as b } from "./tooltip-BX4dSfeL.js";
|
|
3
3
|
import { n as x, r as S } from "./F0Text-MLpPbWjh.js";
|
|
4
|
-
import { $ as C, At as w, B as T, C as E, Co as D, Ct as O, Ds as ee, Et as k, F as A, Gr as j, H as M, I as N, Ir as P, Jn as F, Kr as te, N as ne, Ns as re, Nt as I, Ot as ie, P as L, Q as ae, Qr as R, Ro as z, Rt as oe, S as se, So as ce, St as le, T as ue, Ua as de, Uo as fe, Ur as pe, V as me, Vo as he, Wr as ge, Xa as _e, Xo as ve, Xr as ye, a as be, bo as xe, bt as Se, d as Ce, dt as we, ei as Te, eo as Ee, er as De, g as Oe, h as ke, i as Ae, ir as je, jo as Me, ka as Ne, ks as B, l as Pe, lc as Fe, lt as Ie, m as Le, ma as Re, mo as ze, mr as Be, mt as Ve, no as He, nt as Ue, o as We, ot as Ge, pa as Ke, pr as qe, r as Je, ro as Ye, rt as Xe, st as Ze, to as Qe, ts as $e, tt as et, u as tt, uc as nt, ut as rt, va as it, vo as at, w as ot, x as st, xt as ct, yt as lt, z as V, za as ut, zi as dt } from "./F0CanvasPanel-
|
|
4
|
+
import { $ as C, At as w, B as T, C as E, Co as D, Ct as O, Ds as ee, Et as k, F as A, Gr as j, H as M, I as N, Ir as P, Jn as F, Kr as te, N as ne, Ns as re, Nt as I, Ot as ie, P as L, Q as ae, Qr as R, Ro as z, Rt as oe, S as se, So as ce, St as le, T as ue, Ua as de, Uo as fe, Ur as pe, V as me, Vo as he, Wr as ge, Xa as _e, Xo as ve, Xr as ye, a as be, bo as xe, bt as Se, d as Ce, dt as we, ei as Te, eo as Ee, er as De, g as Oe, h as ke, i as Ae, ir as je, jo as Me, ka as Ne, ks as B, l as Pe, lc as Fe, lt as Ie, m as Le, ma as Re, mo as ze, mr as Be, mt as Ve, no as He, nt as Ue, o as We, ot as Ge, pa as Ke, pr as qe, r as Je, ro as Ye, rt as Xe, st as Ze, to as Qe, ts as $e, tt as et, u as tt, uc as nt, ut as rt, va as it, vo as at, w as ot, x as st, xt as ct, yt as lt, z as V, za as ut, zi as dt } from "./F0CanvasPanel-LsH7koo5.js";
|
|
5
5
|
import { t as ft } from "./i18n-provider-defaults-DD76Cjbd.js";
|
|
6
6
|
import { C as pt, D as mt, F as ht, S as gt, U as _t, X as vt, Y as yt, k as bt, l as xt, x as St } from "./useData-DqN-h3iG.js";
|
|
7
7
|
import { Dn as Ct, Dr as wt, Er as Tt, Ft as Et, Nr as Dt, On as Ot, Or as kt, Ot as At, _t as jt, cn as Mt, ct as Nt, gt as Pt, ht as Ft, jr as It, nn as Lt, sn as Rt, un as zt } from "./F0Select-CY_CcXQ2.js";
|
|
@@ -40662,7 +40662,7 @@ var e1 = ze("F0FileItem", Se($$)), t1 = e1, n1 = 2, r1 = 70, i1 = .08, a1 = 6, o
|
|
|
40662
40662
|
let e = R1();
|
|
40663
40663
|
if (!e) throw Error("useAttachmentDocumentPreview must be used within an AttachmentPreviewProvider");
|
|
40664
40664
|
return e;
|
|
40665
|
-
}, V1 = Lr(() => import("./F0DocumentViewer-
|
|
40665
|
+
}, V1 = Lr(() => import("./F0DocumentViewer-DGjeNx30.js").then((e) => ({ default: e.F0DocumentViewer }))), H1 = (e) => {
|
|
40666
40666
|
let t = e.lastIndexOf(".");
|
|
40667
40667
|
return `${t > 0 ? e.slice(0, t) : e}.pdf`;
|
|
40668
40668
|
}, U1 = () => {
|
|
@@ -43033,57 +43033,60 @@ var w4 = Pr(null), T4 = () => {}, E4 = [{
|
|
|
43033
43033
|
defaultLayout: e.defaultVisualizationMode === "fullscreen" ? "fullscreen" : "sidepanel",
|
|
43034
43034
|
children: /* @__PURE__ */ U(k4, { ...e })
|
|
43035
43035
|
}), k4 = ({ children: e, enabled: t, agent: n, initialMessage: r, chatHeader: i, chatMessages: a, chatInput: o, chatOverlay: s, welcomeScreenSuggestions: c = [], welcomeScreenCards: l = [], disclaimer: u, lockVisualizationMode: d = !1, historyEnabled: f = !1, footer: p, VoiceMode: m, entityRefs: h, canvasActions: g, canvasEntities: _, credits: v, employeeCredits: y, creditWarning: b, fileAttachments: x, filePreviews: S, onTranscribe: C, onThumbsDown: w, onThumbsUp: T, tracking: E }) => {
|
|
43036
|
-
let [D, O] = H(p), [k, A] = H(t), j = r2(), { open: M, setOpen: N, layout: ee, setLayout: te } = j, [ne, re] = H("chat"), [ie, ae] = H(n), [oe, se] = H(c), [ce, le] = H(l), ue = Re(), { currentPath: de } = De(), [fe, pe] = H([ue.t("ai.inputPlaceholder")]), [P, me] = H(r), [he, ge] = H(null), _e = he
|
|
43037
|
-
|
|
43038
|
-
|
|
43039
|
-
|
|
43040
|
-
let
|
|
43041
|
-
|
|
43042
|
-
|
|
43043
|
-
|
|
43036
|
+
let [D, O] = H(p), [k, A] = H(t), j = r2(), { open: M, setOpen: N, layout: ee, setLayout: te } = j, [ne, re] = H("chat"), [ie, ae] = H(n), [oe, se] = H(c), [ce, le] = H(l), ue = Re(), { currentPath: de } = De(), [fe, pe] = H([ue.t("ai.inputPlaceholder")]), [P, me] = H(r), [he, ge] = H(null), [_e, ve] = H(null), ye = he !== null && _e === he, be = V(null), xe = z((e) => {
|
|
43037
|
+
be.current = e, ve(e);
|
|
43038
|
+
}, []), Se = he && !ye ? "canvas" : ee, Ce = V(he);
|
|
43039
|
+
Ce.current = he;
|
|
43040
|
+
let we = V(ee);
|
|
43041
|
+
we.current = ee;
|
|
43042
|
+
let Te = z((e) => {
|
|
43043
|
+
let t = Ce.current, n = t !== null && be.current === t, r = typeof e == "function" ? e(t && !n ? "canvas" : we.current) : e;
|
|
43044
|
+
r !== "canvas" && (t && t.keepsUnderFullscreen === !0 && t.coversChat !== !0 && (r === "fullscreen" || n) ? (xe(r === "fullscreen" ? t : null), te(r)) : (ge(null), te(r)));
|
|
43045
|
+
}, [xe, te]), Ee = V(de);
|
|
43044
43046
|
B(() => {
|
|
43045
|
-
let e =
|
|
43046
|
-
|
|
43047
|
-
}, [de,
|
|
43048
|
-
let [
|
|
43049
|
-
|
|
43050
|
-
}, []),
|
|
43051
|
-
if (
|
|
43052
|
-
let t =
|
|
43053
|
-
|
|
43054
|
-
}
|
|
43055
|
-
}, []),
|
|
43056
|
-
|
|
43047
|
+
let e = Ee.current;
|
|
43048
|
+
Ee.current = de, de !== void 0 && e !== void 0 && e !== de && Te((e) => e === "fullscreen" ? "sidepanel" : e);
|
|
43049
|
+
}, [de, Te]);
|
|
43050
|
+
let [Oe, ke] = H(!1), [Ae, je] = H(!1), [Me, Ne] = H(null), [Pe, Fe] = H(null), Ie = V(null), Le = V([]), ze = z((e) => {
|
|
43051
|
+
Ie.current ? Ie.current(e) : Le.current.push(e);
|
|
43052
|
+
}, []), Be = z((e) => {
|
|
43053
|
+
if (Ie.current = e, e && Le.current.length > 0) {
|
|
43054
|
+
let t = Le.current;
|
|
43055
|
+
Le.current = [], t.forEach((t) => e(t));
|
|
43056
|
+
}
|
|
43057
|
+
}, []), Ve = V(null), He = V(!1), Ue = z(() => Ve.current ? (Ve.current(), !0) : (He.current = !0, !1), []), We = z((e) => {
|
|
43058
|
+
Ve.current = e, e && He.current && (He.current = !1, e());
|
|
43057
43059
|
}, []);
|
|
43058
43060
|
B(() => {
|
|
43059
43061
|
A(t);
|
|
43060
43062
|
}, [t]), B(() => {
|
|
43061
|
-
M || (
|
|
43063
|
+
M || (He.current = !1, ge(null));
|
|
43062
43064
|
}, [M]);
|
|
43063
|
-
let
|
|
43064
|
-
|
|
43065
|
-
let
|
|
43066
|
-
|
|
43065
|
+
let Ge = V(!1);
|
|
43066
|
+
Ge.current = j.activeContent !== null || j.restoringViewId !== null;
|
|
43067
|
+
let Ke = z((e) => {
|
|
43068
|
+
Ge.current || (ge(e), xe(null), e.coversChat !== !0 && we.current === "fullscreen" && te("sidepanel"), M || N(!0));
|
|
43067
43069
|
}, [
|
|
43068
43070
|
M,
|
|
43069
43071
|
N,
|
|
43070
|
-
te
|
|
43071
|
-
|
|
43072
|
-
|
|
43073
|
-
|
|
43072
|
+
te,
|
|
43073
|
+
xe
|
|
43074
|
+
]), qe = z(() => {
|
|
43075
|
+
ge(null), xe(null);
|
|
43076
|
+
}, [xe]), [Je, Ye] = H(null), Xe = z((e) => Ye(e), []), Ze = z(() => Ye(null), []), { activeContent: Qe, restoringViewId: $e } = j, et = V(!1);
|
|
43074
43077
|
B(() => {
|
|
43075
|
-
let e = k && M &&
|
|
43076
|
-
e && !
|
|
43078
|
+
let e = k && M && Qe === null && $e === null;
|
|
43079
|
+
e && !et.current && E?.onVisibility?.(), et.current = e;
|
|
43077
43080
|
}, [
|
|
43078
43081
|
k,
|
|
43079
43082
|
M,
|
|
43080
|
-
|
|
43081
|
-
|
|
43083
|
+
Qe,
|
|
43084
|
+
$e,
|
|
43082
43085
|
E
|
|
43083
43086
|
]), B(() => {
|
|
43084
|
-
(
|
|
43085
|
-
}, [
|
|
43086
|
-
let
|
|
43087
|
+
(Qe !== null || $e !== null) && ge(null);
|
|
43088
|
+
}, [Qe, $e]);
|
|
43089
|
+
let tt = z((e) => {
|
|
43087
43090
|
e && ge(null), j.present(e);
|
|
43088
43091
|
}, [j]);
|
|
43089
43092
|
return /* @__PURE__ */ U(w4.Provider, {
|
|
@@ -43092,8 +43095,8 @@ var w4 = Pr(null), T4 = () => {}, E4 = [{
|
|
|
43092
43095
|
setEnabled: A,
|
|
43093
43096
|
mode: ne,
|
|
43094
43097
|
setMode: re,
|
|
43095
|
-
visualizationMode:
|
|
43096
|
-
setVisualizationMode:
|
|
43098
|
+
visualizationMode: Se,
|
|
43099
|
+
setVisualizationMode: Te,
|
|
43097
43100
|
lockVisualizationMode: d,
|
|
43098
43101
|
historyEnabled: f,
|
|
43099
43102
|
footer: D,
|
|
@@ -43127,29 +43130,31 @@ var w4 = Pr(null), T4 = () => {}, E4 = [{
|
|
|
43127
43130
|
filePreviews: S,
|
|
43128
43131
|
onTranscribe: C,
|
|
43129
43132
|
canvasContent: he,
|
|
43130
|
-
|
|
43131
|
-
|
|
43132
|
-
|
|
43133
|
-
|
|
43134
|
-
|
|
43135
|
-
|
|
43136
|
-
|
|
43137
|
-
|
|
43138
|
-
|
|
43139
|
-
|
|
43140
|
-
|
|
43141
|
-
|
|
43142
|
-
|
|
43143
|
-
|
|
43144
|
-
|
|
43145
|
-
|
|
43146
|
-
|
|
43147
|
-
|
|
43133
|
+
isCanvasCovered: ye,
|
|
43134
|
+
openCanvas: Ke,
|
|
43135
|
+
closeCanvas: qe,
|
|
43136
|
+
activeGame: Je,
|
|
43137
|
+
openGame: Xe,
|
|
43138
|
+
closeGame: Ze,
|
|
43139
|
+
isClarifying: Oe,
|
|
43140
|
+
setIsClarifying: ke,
|
|
43141
|
+
fileDragOver: Ae,
|
|
43142
|
+
setFileDragOver: je,
|
|
43143
|
+
processDroppedFiles: ze,
|
|
43144
|
+
setProcessDroppedFilesFunction: Be,
|
|
43145
|
+
focusChatInput: Ue,
|
|
43146
|
+
setFocusChatInputFunction: We,
|
|
43147
|
+
pendingContext: Me,
|
|
43148
|
+
setPendingContext: Ne,
|
|
43149
|
+
pendingQuote: Pe,
|
|
43150
|
+
setPendingQuote: Fe,
|
|
43151
|
+
setPanelContent: tt
|
|
43148
43152
|
},
|
|
43149
43153
|
children: e
|
|
43150
43154
|
});
|
|
43151
43155
|
}, A4 = /* @__PURE__ */ new Set([
|
|
43152
43156
|
"enabled",
|
|
43157
|
+
"isCanvasCovered",
|
|
43153
43158
|
"fileDragOver",
|
|
43154
43159
|
"lockVisualizationMode",
|
|
43155
43160
|
"historyEnabled",
|
|
@@ -43232,7 +43237,7 @@ var I4 = () => {
|
|
|
43232
43237
|
title: e,
|
|
43233
43238
|
className: F("block min-w-0 max-w-full overflow-hidden text-ellipsis whitespace-nowrap", t),
|
|
43234
43239
|
children: e
|
|
43235
|
-
}), R4 = () => import("./PdfThumbnail-
|
|
43240
|
+
}), R4 = () => import("./PdfThumbnail-V-2qCeAL.js"), z4 = () => import("./SheetThumbnail-HtGezPp4.js"), B4 = () => import("./DocxThumbnail-kHTNnwW0.js"), V4 = () => import("./TextThumbnail-X04JgaNI.js"), H4 = Lr(R4), U4 = Lr(z4), W4 = Lr(B4), G4 = Lr(V4), K4 = 384, q4 = 160, J4 = ({ kind: e, url: t, width: n, onError: r, onRendered: i }) => e === "pdf" ? /* @__PURE__ */ U(H4, {
|
|
43236
43241
|
url: t,
|
|
43237
43242
|
width: n,
|
|
43238
43243
|
onError: r,
|
|
@@ -45124,7 +45129,7 @@ var e8 = ze("DataList", $6), t8 = Object.assign(e8, {
|
|
|
45124
45129
|
s
|
|
45125
45130
|
]
|
|
45126
45131
|
});
|
|
45127
|
-
}, l8 = "w-[24rem] max-w-full", u8 = "w-[32rem] max-w-full", d8 = "gap-0.5", f8 = "pointer-events-none absolute inset-x-0 bottom-0 h-[46%] bg-[linear-gradient(to_top,rgba(0,0,0,0.5),rgba(0,0,0,0.18)_45%,transparent)]", p8 = "bg-[hsl(222_31%_11%)]", m8 = "bg-[hsl(220_39%_6%/0.72)]", h8 = "bg-[hsl(220_39%_6%/0.6)]", g8 = "bg-[hsl(220_39%_6%/0.55)]", _8 = Lr(() => import("./F0VideoPlayer-
|
|
45132
|
+
}, l8 = "w-[24rem] max-w-full", u8 = "w-[32rem] max-w-full", d8 = "gap-0.5", f8 = "pointer-events-none absolute inset-x-0 bottom-0 h-[46%] bg-[linear-gradient(to_top,rgba(0,0,0,0.5),rgba(0,0,0,0.18)_45%,transparent)]", p8 = "bg-[hsl(222_31%_11%)]", m8 = "bg-[hsl(220_39%_6%/0.72)]", h8 = "bg-[hsl(220_39%_6%/0.6)]", g8 = "bg-[hsl(220_39%_6%/0.55)]", _8 = Lr(() => import("./F0VideoPlayer-iQW4yQlk.js").then((e) => ({ default: e.F0VideoPlayer }))), v8 = ({ file: e, cornerClass: t, className: n, surfaceClassName: r, meta: i, onDownloaded: a, testIdPrefix: o = "chat" }) => {
|
|
45128
45133
|
let s = Re(), { urlCache: c } = b1(), l = P1(), [u, d] = H(!1), [f, p] = H(!1), m = c !== null && !g1(e.url), [h, g] = H(!1), _ = M1(e.url, { enabled: !m || h }), v = M1(e.thumbnailUrl), y = v.status === "ready" ? v.url : void 0, b = e.size == null ? null : $1(e.size), x = {
|
|
45129
45134
|
label: s.t("chat.downloadNamedFile", { name: e.name }),
|
|
45130
45135
|
icon: Ja,
|