@pollinations/ui 0.1.0-alpha.3 → 0.1.0-alpha.4
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 +21 -10
- package/dist/{Button-CO3Dpbkj.d.cts → Button-ByKwRtdw.d.cts} +1 -1
- package/dist/{Button-CO3Dpbkj.d.ts → Button-ByKwRtdw.d.ts} +1 -1
- package/dist/{Dialog-yXzIFrDg.d.cts → Dialog-D3Nqt8cE.d.cts} +4 -1
- package/dist/{Dialog-yXzIFrDg.d.ts → Dialog-D3Nqt8cE.d.ts} +4 -1
- package/dist/app-user-menu/sdk.cjs +193 -133
- package/dist/app-user-menu/sdk.cjs.map +1 -1
- package/dist/app-user-menu/sdk.d.cts +17 -1
- package/dist/app-user-menu/sdk.d.ts +17 -1
- package/dist/app-user-menu/sdk.js +182 -122
- package/dist/app-user-menu/sdk.js.map +1 -1
- package/dist/app.css +6 -0
- package/dist/auth/index.cjs +233 -223
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.cts +6 -3
- package/dist/auth/index.d.ts +6 -3
- package/dist/auth/index.js +226 -216
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/sdk.cjs +13 -8
- package/dist/auth/sdk.cjs.map +1 -1
- package/dist/auth/sdk.d.cts +1 -1
- package/dist/auth/sdk.d.ts +1 -1
- package/dist/auth/sdk.js +13 -8
- package/dist/auth/sdk.js.map +1 -1
- package/dist/brand/lockup-horizontal-black.png +0 -0
- package/dist/brand/lockup-horizontal-black.svg +3 -3
- package/dist/brand/lockup-horizontal-white.png +0 -0
- package/dist/brand/lockup-horizontal-white.svg +3 -3
- package/dist/brand/lockup-horizontal.svg +4 -1
- package/dist/brand/lockup-stacked-black.png +0 -0
- package/dist/brand/lockup-stacked-black.svg +1 -1
- package/dist/brand/lockup-stacked-white.png +0 -0
- package/dist/brand/lockup-stacked-white.svg +1 -1
- package/dist/brand/lockup-stacked.svg +1 -1
- package/dist/brand/mark-black.png +0 -0
- package/dist/brand/mark-black.svg +1 -3
- package/dist/brand/mark-white.png +0 -0
- package/dist/brand/mark-white.svg +1 -3
- package/dist/brand/mark.svg +1 -1
- package/dist/gen/index.cjs +47 -18
- package/dist/gen/index.cjs.map +1 -1
- package/dist/gen/index.d.cts +5 -1
- package/dist/gen/index.d.ts +5 -1
- package/dist/gen/index.js +57 -30
- package/dist/gen/index.js.map +1 -1
- package/dist/index.browser.min.js +1 -1
- package/dist/index.browser.min.js.map +1 -1
- package/dist/index.cjs +1032 -816
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +73 -27
- package/dist/index.d.ts +73 -27
- package/dist/index.js +1052 -841
- package/dist/index.js.map +1 -1
- package/dist/markdown.cjs +13 -8
- package/dist/markdown.cjs.map +1 -1
- package/dist/markdown.js +13 -8
- package/dist/markdown.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme.css +3 -8
- package/dist/wallet/index.cjs +45 -31
- package/dist/wallet/index.cjs.map +1 -1
- package/dist/wallet/index.d.cts +1 -0
- package/dist/wallet/index.d.ts +1 -0
- package/dist/wallet/index.js +45 -31
- package/dist/wallet/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -93,187 +93,8 @@ var Dropdown = ({
|
|
|
93
93
|
);
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
// src/compositions/AccountIdentity.tsx
|
|
97
|
-
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
98
|
-
function initials(name) {
|
|
99
|
-
const parts = name.trim().split(/\s+/).filter(Boolean);
|
|
100
|
-
if (parts.length === 0) return "?";
|
|
101
|
-
if (parts.length === 1) return parts[0].slice(0, 2).toUpperCase();
|
|
102
|
-
return `${parts[0][0] ?? ""}${parts.at(-1)?.[0] ?? ""}`.toUpperCase();
|
|
103
|
-
}
|
|
104
|
-
function AccountAvatar({
|
|
105
|
-
name,
|
|
106
|
-
avatarUrl,
|
|
107
|
-
secondaryContent,
|
|
108
|
-
dashboardHref
|
|
109
|
-
}) {
|
|
110
|
-
const large = secondaryContent != null;
|
|
111
|
-
const className = large ? "polli:h-11 polli:w-11" : "polli:h-8 polli:w-8";
|
|
112
|
-
const avatar = avatarUrl ? /* @__PURE__ */ jsx3(
|
|
113
|
-
"img",
|
|
114
|
-
{
|
|
115
|
-
src: avatarUrl,
|
|
116
|
-
alt: "",
|
|
117
|
-
className: cn(
|
|
118
|
-
className,
|
|
119
|
-
"polli:shrink-0 polli:rounded-full polli:object-cover"
|
|
120
|
-
)
|
|
121
|
-
}
|
|
122
|
-
) : /* @__PURE__ */ jsx3(
|
|
123
|
-
"span",
|
|
124
|
-
{
|
|
125
|
-
role: "img",
|
|
126
|
-
"aria-label": `${name} avatar`,
|
|
127
|
-
className: cn(
|
|
128
|
-
className,
|
|
129
|
-
"polli:flex polli:shrink-0 polli:items-center polli:justify-center polli:rounded-full polli:bg-theme-bg-pale polli:text-xs polli:font-semibold polli:text-theme-text-strong"
|
|
130
|
-
),
|
|
131
|
-
children: initials(name)
|
|
132
|
-
}
|
|
133
|
-
);
|
|
134
|
-
return dashboardHref ? /* @__PURE__ */ jsx3(
|
|
135
|
-
"a",
|
|
136
|
-
{
|
|
137
|
-
href: dashboardHref,
|
|
138
|
-
target: "_blank",
|
|
139
|
-
rel: "noopener noreferrer",
|
|
140
|
-
"aria-label": "Open dashboard",
|
|
141
|
-
title: "Open dashboard",
|
|
142
|
-
className: "polli:shrink-0 polli:rounded-full polli:cursor-pointer polli:transition-transform polli:hover:scale-105 polli:hover:brightness-110 polli:focus-visible:outline-2 polli:focus-visible:outline-offset-2 polli:focus-visible:outline-current polli:motion-reduce:transition-none polli:motion-reduce:hover:scale-100",
|
|
143
|
-
children: avatar
|
|
144
|
-
}
|
|
145
|
-
) : avatar;
|
|
146
|
-
}
|
|
147
|
-
function AccountIdentity({
|
|
148
|
-
name,
|
|
149
|
-
avatarUrl,
|
|
150
|
-
secondaryContent,
|
|
151
|
-
dashboardHref,
|
|
152
|
-
className
|
|
153
|
-
}) {
|
|
154
|
-
return /* @__PURE__ */ jsxs2(
|
|
155
|
-
"span",
|
|
156
|
-
{
|
|
157
|
-
className: cn(
|
|
158
|
-
"polli:flex polli:min-w-0 polli:items-center polli:gap-2 polli:rounded-full polli:bg-surface-opaque polli:p-1 polli:pr-3",
|
|
159
|
-
className
|
|
160
|
-
),
|
|
161
|
-
children: [
|
|
162
|
-
/* @__PURE__ */ jsx3(
|
|
163
|
-
AccountAvatar,
|
|
164
|
-
{
|
|
165
|
-
name,
|
|
166
|
-
avatarUrl,
|
|
167
|
-
dashboardHref,
|
|
168
|
-
secondaryContent
|
|
169
|
-
}
|
|
170
|
-
),
|
|
171
|
-
/* @__PURE__ */ jsx3(AccountDetails, { name, secondaryContent })
|
|
172
|
-
]
|
|
173
|
-
}
|
|
174
|
-
);
|
|
175
|
-
}
|
|
176
|
-
function AccountDetails({
|
|
177
|
-
name,
|
|
178
|
-
secondaryContent,
|
|
179
|
-
secondaryId
|
|
180
|
-
}) {
|
|
181
|
-
return /* @__PURE__ */ jsxs2("span", { className: "polli:flex polli:min-w-0 polli:flex-col polli:items-start polli:text-left", children: [
|
|
182
|
-
/* @__PURE__ */ jsx3(
|
|
183
|
-
"span",
|
|
184
|
-
{
|
|
185
|
-
title: name,
|
|
186
|
-
className: "polli:max-w-full polli:truncate polli:text-sm polli:font-medium polli:leading-5 polli:text-theme-text-strong",
|
|
187
|
-
children: name
|
|
188
|
-
}
|
|
189
|
-
),
|
|
190
|
-
secondaryContent != null && /* @__PURE__ */ jsx3(
|
|
191
|
-
"span",
|
|
192
|
-
{
|
|
193
|
-
id: secondaryId,
|
|
194
|
-
className: "polli:inline-flex polli:min-h-5 polli:items-center polli:whitespace-nowrap polli:text-xs polli:leading-4 polli:text-theme-text-base",
|
|
195
|
-
children: secondaryContent
|
|
196
|
-
}
|
|
197
|
-
)
|
|
198
|
-
] });
|
|
199
|
-
}
|
|
200
|
-
function AccountMenu({
|
|
201
|
-
name,
|
|
202
|
-
avatarUrl,
|
|
203
|
-
dashboardHref,
|
|
204
|
-
secondaryContent,
|
|
205
|
-
children,
|
|
206
|
-
className,
|
|
207
|
-
menuClassName,
|
|
208
|
-
side = "bottom",
|
|
209
|
-
menuLabel = `Account menu for ${name}`
|
|
210
|
-
}) {
|
|
211
|
-
const statusId = useId2();
|
|
212
|
-
const avatar = /* @__PURE__ */ jsx3(
|
|
213
|
-
AccountAvatar,
|
|
214
|
-
{
|
|
215
|
-
name,
|
|
216
|
-
avatarUrl,
|
|
217
|
-
dashboardHref,
|
|
218
|
-
secondaryContent
|
|
219
|
-
}
|
|
220
|
-
);
|
|
221
|
-
return /* @__PURE__ */ jsxs2(
|
|
222
|
-
"div",
|
|
223
|
-
{
|
|
224
|
-
"data-theme": "accent",
|
|
225
|
-
className: cn(
|
|
226
|
-
"polli:flex polli:min-w-0 polli:items-center polli:gap-2 polli:rounded-full polli:bg-theme-bg-active polli:p-1 polli:pr-3 polli:text-theme-text-strong polli:transition-colors polli:hover:bg-theme-bg-hover",
|
|
227
|
-
className
|
|
228
|
-
),
|
|
229
|
-
children: [
|
|
230
|
-
dashboardHref && avatar,
|
|
231
|
-
/* @__PURE__ */ jsx3(
|
|
232
|
-
Dropdown,
|
|
233
|
-
{
|
|
234
|
-
align: "end",
|
|
235
|
-
side,
|
|
236
|
-
className: cn(
|
|
237
|
-
"polli:w-max polli:min-w-[var(--reference-width)] polli:p-1",
|
|
238
|
-
menuClassName
|
|
239
|
-
),
|
|
240
|
-
trigger: (open) => /* @__PURE__ */ jsxs2(
|
|
241
|
-
"button",
|
|
242
|
-
{
|
|
243
|
-
type: "button",
|
|
244
|
-
"aria-label": menuLabel,
|
|
245
|
-
"aria-describedby": secondaryContent != null ? statusId : void 0,
|
|
246
|
-
className: "polli-control polli:flex polli:min-w-0 polli:flex-1 polli:items-center polli:gap-2 polli:self-stretch polli:rounded-full polli:text-theme-text-strong",
|
|
247
|
-
children: [
|
|
248
|
-
!dashboardHref && avatar,
|
|
249
|
-
/* @__PURE__ */ jsx3(
|
|
250
|
-
AccountDetails,
|
|
251
|
-
{
|
|
252
|
-
name,
|
|
253
|
-
secondaryContent,
|
|
254
|
-
secondaryId: statusId
|
|
255
|
-
}
|
|
256
|
-
),
|
|
257
|
-
/* @__PURE__ */ jsx3(
|
|
258
|
-
ChevronIcon,
|
|
259
|
-
{
|
|
260
|
-
expanded: open,
|
|
261
|
-
className: "polli:ml-auto polli:h-4 polli:w-4 polli:text-theme-text-strong"
|
|
262
|
-
}
|
|
263
|
-
)
|
|
264
|
-
]
|
|
265
|
-
}
|
|
266
|
-
),
|
|
267
|
-
children
|
|
268
|
-
}
|
|
269
|
-
)
|
|
270
|
-
]
|
|
271
|
-
}
|
|
272
|
-
);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
96
|
// src/primitives/icons/index.tsx
|
|
276
|
-
import { jsx as
|
|
97
|
+
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
277
98
|
var strokeProps = {
|
|
278
99
|
fill: "none",
|
|
279
100
|
stroke: "currentColor",
|
|
@@ -282,51 +103,51 @@ var strokeProps = {
|
|
|
282
103
|
strokeLinejoin: "round"
|
|
283
104
|
};
|
|
284
105
|
function AppIcon(props) {
|
|
285
|
-
return /* @__PURE__ */
|
|
286
|
-
/* @__PURE__ */
|
|
287
|
-
/* @__PURE__ */
|
|
106
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
107
|
+
/* @__PURE__ */ jsx3("rect", { x: "2", y: "4", width: "20", height: "14", rx: "2" }),
|
|
108
|
+
/* @__PURE__ */ jsx3("path", { d: "M2 20h20" })
|
|
288
109
|
] });
|
|
289
110
|
}
|
|
290
111
|
function AccountIcon(props) {
|
|
291
|
-
return /* @__PURE__ */
|
|
292
|
-
/* @__PURE__ */
|
|
293
|
-
/* @__PURE__ */
|
|
112
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
113
|
+
/* @__PURE__ */ jsx3("circle", { cx: "12", cy: "8", r: "4" }),
|
|
114
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 21a8 8 0 0 1 16 0" })
|
|
294
115
|
] });
|
|
295
116
|
}
|
|
296
117
|
function ArrowRightIcon(props) {
|
|
297
|
-
return /* @__PURE__ */
|
|
118
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M5 12h14M13 6l6 6-6 6" }) });
|
|
298
119
|
}
|
|
299
120
|
function BeakerIcon(props) {
|
|
300
|
-
return /* @__PURE__ */
|
|
301
|
-
/* @__PURE__ */
|
|
302
|
-
/* @__PURE__ */
|
|
303
|
-
/* @__PURE__ */
|
|
121
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
122
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 3h6" }),
|
|
123
|
+
/* @__PURE__ */ jsx3("path", { d: "M10 3v6.5L4.5 18a2 2 0 0 0 1.7 3h11.6a2 2 0 0 0 1.7-3L14 9.5V3" }),
|
|
124
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 14h10" })
|
|
304
125
|
] });
|
|
305
126
|
}
|
|
306
127
|
function BotIcon(props) {
|
|
307
|
-
return /* @__PURE__ */
|
|
308
|
-
/* @__PURE__ */
|
|
309
|
-
/* @__PURE__ */
|
|
310
|
-
/* @__PURE__ */
|
|
311
|
-
/* @__PURE__ */
|
|
128
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
129
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 8V4H8" }),
|
|
130
|
+
/* @__PURE__ */ jsx3("rect", { x: "4", y: "8", width: "16", height: "12", rx: "2" }),
|
|
131
|
+
/* @__PURE__ */ jsx3("path", { d: "M2 14h2M20 14h2" }),
|
|
132
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 13v2M15 13v2" })
|
|
312
133
|
] });
|
|
313
134
|
}
|
|
314
135
|
function BookIcon(props) {
|
|
315
|
-
return /* @__PURE__ */
|
|
316
|
-
/* @__PURE__ */
|
|
317
|
-
/* @__PURE__ */
|
|
136
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
137
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 4h5a3 3 0 0 1 3 3v13a2 2 0 0 0-2-2H4z" }),
|
|
138
|
+
/* @__PURE__ */ jsx3("path", { d: "M20 4h-5a3 3 0 0 0-3 3v13a2 2 0 0 1 2-2h6z" })
|
|
318
139
|
] });
|
|
319
140
|
}
|
|
320
141
|
function BugIcon(props) {
|
|
321
|
-
return /* @__PURE__ */
|
|
322
|
-
/* @__PURE__ */
|
|
323
|
-
/* @__PURE__ */
|
|
324
|
-
/* @__PURE__ */
|
|
325
|
-
/* @__PURE__ */
|
|
142
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
143
|
+
/* @__PURE__ */ jsx3("path", { d: "m8 2 1.9 1.9M14.1 3.9 16 2" }),
|
|
144
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 7V6a3 3 0 0 1 6 0v1" }),
|
|
145
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 20c-3.3 0-6-2.7-6-6v-3a6 6 0 0 1 12 0v3c0 3.3-2.7 6-6 6Z" }),
|
|
146
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 20v-9M6.5 9C4.6 8.8 3 7.1 3 5M6 13H2M3 21c0-2.1 1.7-3.9 3.8-4M17.5 9C19.4 8.8 21 7.1 21 5M18 13h4M21 21c0-2.1-1.7-3.9-3.8-4" })
|
|
326
147
|
] });
|
|
327
148
|
}
|
|
328
149
|
function CheckIcon(props) {
|
|
329
|
-
return /* @__PURE__ */
|
|
150
|
+
return /* @__PURE__ */ jsx3(
|
|
330
151
|
"svg",
|
|
331
152
|
{
|
|
332
153
|
"aria-hidden": "true",
|
|
@@ -334,24 +155,24 @@ function CheckIcon(props) {
|
|
|
334
155
|
...strokeProps,
|
|
335
156
|
strokeWidth: 2.5,
|
|
336
157
|
...props,
|
|
337
|
-
children: /* @__PURE__ */
|
|
158
|
+
children: /* @__PURE__ */ jsx3("polyline", { points: "20 6 9 17 4 12" })
|
|
338
159
|
}
|
|
339
160
|
);
|
|
340
161
|
}
|
|
341
162
|
function ClipboardIcon(props) {
|
|
342
|
-
return /* @__PURE__ */
|
|
343
|
-
/* @__PURE__ */
|
|
344
|
-
/* @__PURE__ */
|
|
163
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
164
|
+
/* @__PURE__ */ jsx3("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2" }),
|
|
165
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
|
|
345
166
|
] });
|
|
346
167
|
}
|
|
347
168
|
function ClockIcon(props) {
|
|
348
|
-
return /* @__PURE__ */
|
|
349
|
-
/* @__PURE__ */
|
|
350
|
-
/* @__PURE__ */
|
|
169
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
170
|
+
/* @__PURE__ */ jsx3("circle", { cx: "12", cy: "12", r: "9" }),
|
|
171
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 7v5l3 2" })
|
|
351
172
|
] });
|
|
352
173
|
}
|
|
353
174
|
function DiscordIcon(props) {
|
|
354
|
-
return /* @__PURE__ */
|
|
175
|
+
return /* @__PURE__ */ jsx3("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", ...props, children: /* @__PURE__ */ jsx3(
|
|
355
176
|
"path",
|
|
356
177
|
{
|
|
357
178
|
fill: "currentColor",
|
|
@@ -360,10 +181,10 @@ function DiscordIcon(props) {
|
|
|
360
181
|
) });
|
|
361
182
|
}
|
|
362
183
|
function InstagramIcon(props) {
|
|
363
|
-
return /* @__PURE__ */
|
|
364
|
-
/* @__PURE__ */
|
|
365
|
-
/* @__PURE__ */
|
|
366
|
-
/* @__PURE__ */
|
|
184
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
185
|
+
/* @__PURE__ */ jsx3("rect", { x: "3", y: "3", width: "18", height: "18", rx: "5" }),
|
|
186
|
+
/* @__PURE__ */ jsx3("circle", { cx: "12", cy: "12", r: "4" }),
|
|
187
|
+
/* @__PURE__ */ jsx3(
|
|
367
188
|
"circle",
|
|
368
189
|
{
|
|
369
190
|
cx: "17.5",
|
|
@@ -376,7 +197,7 @@ function InstagramIcon(props) {
|
|
|
376
197
|
] });
|
|
377
198
|
}
|
|
378
199
|
function XSocialIcon(props) {
|
|
379
|
-
return /* @__PURE__ */
|
|
200
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx3(
|
|
380
201
|
"path",
|
|
381
202
|
{
|
|
382
203
|
fill: "currentColor",
|
|
@@ -385,7 +206,7 @@ function XSocialIcon(props) {
|
|
|
385
206
|
) });
|
|
386
207
|
}
|
|
387
208
|
function LinkedInIcon(props) {
|
|
388
|
-
return /* @__PURE__ */
|
|
209
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx3(
|
|
389
210
|
"path",
|
|
390
211
|
{
|
|
391
212
|
fill: "currentColor",
|
|
@@ -394,63 +215,63 @@ function LinkedInIcon(props) {
|
|
|
394
215
|
) });
|
|
395
216
|
}
|
|
396
217
|
function DownloadIcon(props) {
|
|
397
|
-
return /* @__PURE__ */
|
|
398
|
-
/* @__PURE__ */
|
|
399
|
-
/* @__PURE__ */
|
|
400
|
-
/* @__PURE__ */
|
|
218
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
219
|
+
/* @__PURE__ */ jsx3("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
220
|
+
/* @__PURE__ */ jsx3("polyline", { points: "7 10 12 15 17 10" }),
|
|
221
|
+
/* @__PURE__ */ jsx3("line", { x1: "12", y1: "15", x2: "12", y2: "3" })
|
|
401
222
|
] });
|
|
402
223
|
}
|
|
403
224
|
function ExpandIcon(props) {
|
|
404
|
-
return /* @__PURE__ */
|
|
225
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M8 3H3v5M16 3h5v5M21 16v5h-5M3 16v5h5" }) });
|
|
405
226
|
}
|
|
406
227
|
function PlayIcon(props) {
|
|
407
|
-
return /* @__PURE__ */
|
|
228
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx3("path", { fill: "currentColor", d: "M7 4.5v15l12-7.5z" }) });
|
|
408
229
|
}
|
|
409
230
|
function PauseIcon(props) {
|
|
410
|
-
return /* @__PURE__ */
|
|
231
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx3("path", { fill: "currentColor", d: "M6 4h4v16H6zM14 4h4v16h-4z" }) });
|
|
411
232
|
}
|
|
412
233
|
function CloudUploadIcon(props) {
|
|
413
|
-
return /* @__PURE__ */
|
|
414
|
-
/* @__PURE__ */
|
|
415
|
-
/* @__PURE__ */
|
|
234
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
235
|
+
/* @__PURE__ */ jsx3("path", { d: "M17.5 19H19a4 4 0 0 0 .4-8A7.5 7.5 0 0 0 5 9.5 5 5 0 0 0 6 19h1.5" }),
|
|
236
|
+
/* @__PURE__ */ jsx3("path", { d: "m8.5 15.5 3.5-3.5 3.5 3.5M12 12v9" })
|
|
416
237
|
] });
|
|
417
238
|
}
|
|
418
239
|
function ExternalLinkIcon(props) {
|
|
419
|
-
return /* @__PURE__ */
|
|
240
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M7 17 17 7M9 7h8v8" }) });
|
|
420
241
|
}
|
|
421
242
|
function GenApiIcon(props) {
|
|
422
|
-
return /* @__PURE__ */
|
|
423
|
-
/* @__PURE__ */
|
|
424
|
-
/* @__PURE__ */
|
|
243
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
244
|
+
/* @__PURE__ */ jsx3("path", { d: "m8 3 4 1.5L16 3v18l-4-1.5L8 21z" }),
|
|
245
|
+
/* @__PURE__ */ jsx3("path", { d: "M8 3v18M16 3v18" })
|
|
425
246
|
] });
|
|
426
247
|
}
|
|
427
248
|
function GitBranchIcon(props) {
|
|
428
|
-
return /* @__PURE__ */
|
|
429
|
-
/* @__PURE__ */
|
|
430
|
-
/* @__PURE__ */
|
|
431
|
-
/* @__PURE__ */
|
|
432
|
-
/* @__PURE__ */
|
|
249
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
250
|
+
/* @__PURE__ */ jsx3("line", { x1: "6", y1: "3", x2: "6", y2: "15" }),
|
|
251
|
+
/* @__PURE__ */ jsx3("circle", { cx: "18", cy: "6", r: "3" }),
|
|
252
|
+
/* @__PURE__ */ jsx3("circle", { cx: "6", cy: "18", r: "3" }),
|
|
253
|
+
/* @__PURE__ */ jsx3("path", { d: "M18 9a9 9 0 0 1-9 9" })
|
|
433
254
|
] });
|
|
434
255
|
}
|
|
435
256
|
function GitPullRequestIcon(props) {
|
|
436
|
-
return /* @__PURE__ */
|
|
437
|
-
/* @__PURE__ */
|
|
438
|
-
/* @__PURE__ */
|
|
439
|
-
/* @__PURE__ */
|
|
257
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
258
|
+
/* @__PURE__ */ jsx3("circle", { cx: "6", cy: "6", r: "3" }),
|
|
259
|
+
/* @__PURE__ */ jsx3("circle", { cx: "18", cy: "18", r: "3" }),
|
|
260
|
+
/* @__PURE__ */ jsx3("path", { d: "M6 9v12M13 6h3a2 2 0 0 1 2 2v7" })
|
|
440
261
|
] });
|
|
441
262
|
}
|
|
442
263
|
function GraduationCapIcon(props) {
|
|
443
|
-
return /* @__PURE__ */
|
|
444
|
-
/* @__PURE__ */
|
|
445
|
-
/* @__PURE__ */
|
|
446
|
-
/* @__PURE__ */
|
|
264
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
265
|
+
/* @__PURE__ */ jsx3("path", { d: "M21.42 10.92a1 1 0 0 0-.02-1.84L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.83l8.57 3.91a2 2 0 0 0 1.66 0z" }),
|
|
266
|
+
/* @__PURE__ */ jsx3("path", { d: "M22 10v6" }),
|
|
267
|
+
/* @__PURE__ */ jsx3("path", { d: "M6 12.5V16a6 3 0 0 0 12 0v-3.5" })
|
|
447
268
|
] });
|
|
448
269
|
}
|
|
449
270
|
function SparklesIcon(props) {
|
|
450
|
-
return /* @__PURE__ */
|
|
271
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M12 3l1.9 5.8a2 2 0 0 0 1.3 1.3L21 12l-5.8 1.9a2 2 0 0 0-1.3 1.3L12 21l-1.9-5.8a2 2 0 0 0-1.3-1.3L3 12l5.8-1.9a2 2 0 0 0 1.3-1.3z" }) });
|
|
451
272
|
}
|
|
452
273
|
function GitHubIcon(props) {
|
|
453
|
-
return /* @__PURE__ */
|
|
274
|
+
return /* @__PURE__ */ jsx3("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", ...props, children: /* @__PURE__ */ jsx3(
|
|
454
275
|
"path",
|
|
455
276
|
{
|
|
456
277
|
fill: "currentColor",
|
|
@@ -459,243 +280,249 @@ function GitHubIcon(props) {
|
|
|
459
280
|
) });
|
|
460
281
|
}
|
|
461
282
|
function ImageIcon(props) {
|
|
462
|
-
return /* @__PURE__ */
|
|
463
|
-
/* @__PURE__ */
|
|
464
|
-
/* @__PURE__ */
|
|
465
|
-
/* @__PURE__ */
|
|
283
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
284
|
+
/* @__PURE__ */ jsx3("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
285
|
+
/* @__PURE__ */ jsx3("circle", { cx: "9", cy: "9", r: "2" }),
|
|
286
|
+
/* @__PURE__ */ jsx3("path", { d: "m21 15-5-5L5 21" })
|
|
466
287
|
] });
|
|
467
288
|
}
|
|
468
289
|
function CubeIcon(props) {
|
|
469
|
-
return /* @__PURE__ */
|
|
470
|
-
/* @__PURE__ */
|
|
471
|
-
/* @__PURE__ */
|
|
472
|
-
/* @__PURE__ */
|
|
290
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
291
|
+
/* @__PURE__ */ jsx3("path", { d: "m21 16-9 5-9-5V8l9-5 9 5z" }),
|
|
292
|
+
/* @__PURE__ */ jsx3("path", { d: "m3 8 9 5 9-5" }),
|
|
293
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 13v8" })
|
|
473
294
|
] });
|
|
474
295
|
}
|
|
475
296
|
function AudioIcon(props) {
|
|
476
|
-
return /* @__PURE__ */
|
|
477
|
-
/* @__PURE__ */
|
|
478
|
-
/* @__PURE__ */
|
|
479
|
-
/* @__PURE__ */
|
|
297
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
298
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 18V5l12-2v13" }),
|
|
299
|
+
/* @__PURE__ */ jsx3("circle", { cx: "6", cy: "18", r: "3" }),
|
|
300
|
+
/* @__PURE__ */ jsx3("circle", { cx: "18", cy: "16", r: "3" })
|
|
480
301
|
] });
|
|
481
302
|
}
|
|
482
303
|
function LockIcon(props) {
|
|
483
|
-
return /* @__PURE__ */
|
|
484
|
-
/* @__PURE__ */
|
|
485
|
-
/* @__PURE__ */
|
|
304
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
305
|
+
/* @__PURE__ */ jsx3("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }),
|
|
306
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })
|
|
486
307
|
] });
|
|
487
308
|
}
|
|
488
309
|
function LogInIcon(props) {
|
|
489
|
-
return /* @__PURE__ */
|
|
490
|
-
/* @__PURE__ */
|
|
491
|
-
/* @__PURE__ */
|
|
492
|
-
/* @__PURE__ */
|
|
310
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
311
|
+
/* @__PURE__ */ jsx3("path", { d: "M10 17l5-5-5-5" }),
|
|
312
|
+
/* @__PURE__ */ jsx3("path", { d: "M15 12H3" }),
|
|
313
|
+
/* @__PURE__ */ jsx3("path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" })
|
|
493
314
|
] });
|
|
494
315
|
}
|
|
495
316
|
function LogOutIcon(props) {
|
|
496
|
-
return /* @__PURE__ */
|
|
497
|
-
/* @__PURE__ */
|
|
498
|
-
/* @__PURE__ */
|
|
499
|
-
/* @__PURE__ */
|
|
317
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
318
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }),
|
|
319
|
+
/* @__PURE__ */ jsx3("path", { d: "m16 17 5-5-5-5" }),
|
|
320
|
+
/* @__PURE__ */ jsx3("path", { d: "M21 12H9" })
|
|
500
321
|
] });
|
|
501
322
|
}
|
|
502
323
|
function MailIcon(props) {
|
|
503
|
-
return /* @__PURE__ */
|
|
504
|
-
/* @__PURE__ */
|
|
505
|
-
/* @__PURE__ */
|
|
324
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
325
|
+
/* @__PURE__ */ jsx3("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }),
|
|
326
|
+
/* @__PURE__ */ jsx3("path", { d: "m3 7 9 7 9-7" })
|
|
506
327
|
] });
|
|
507
328
|
}
|
|
508
329
|
function McpIcon(props) {
|
|
509
|
-
return /* @__PURE__ */
|
|
510
|
-
/* @__PURE__ */
|
|
511
|
-
/* @__PURE__ */
|
|
512
|
-
/* @__PURE__ */
|
|
330
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
331
|
+
/* @__PURE__ */ jsx3("rect", { x: "2", y: "4", width: "8", height: "16", rx: "1.5" }),
|
|
332
|
+
/* @__PURE__ */ jsx3("rect", { x: "14", y: "4", width: "8", height: "16", rx: "1.5" }),
|
|
333
|
+
/* @__PURE__ */ jsx3("path", { d: "M10 12h4" })
|
|
513
334
|
] });
|
|
514
335
|
}
|
|
515
336
|
function MenuIcon(props) {
|
|
516
|
-
return /* @__PURE__ */
|
|
337
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M4 7h16M4 12h16M4 17h16" }) });
|
|
517
338
|
}
|
|
518
339
|
function NewspaperIcon(props) {
|
|
519
|
-
return /* @__PURE__ */
|
|
520
|
-
/* @__PURE__ */
|
|
521
|
-
/* @__PURE__ */
|
|
522
|
-
/* @__PURE__ */
|
|
340
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
341
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 4h12a1 1 0 0 1 1 1v14a1 1 0 0 0 1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1z" }),
|
|
342
|
+
/* @__PURE__ */ jsx3("path", { d: "M18 8h2a1 1 0 0 1 1 1v9a2 2 0 0 1-2 2" }),
|
|
343
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 8h7M7 12h7M7 16h4" })
|
|
523
344
|
] });
|
|
524
345
|
}
|
|
525
346
|
function PlusIcon(props) {
|
|
526
|
-
return /* @__PURE__ */
|
|
347
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M12 5v14M5 12h14" }) });
|
|
527
348
|
}
|
|
528
349
|
function TerminalIcon(props) {
|
|
529
|
-
return /* @__PURE__ */
|
|
530
|
-
/* @__PURE__ */
|
|
531
|
-
/* @__PURE__ */
|
|
350
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
351
|
+
/* @__PURE__ */ jsx3("polyline", { points: "4 8 8 12 4 16" }),
|
|
352
|
+
/* @__PURE__ */ jsx3("line", { x1: "12", y1: "20", x2: "20", y2: "20" })
|
|
532
353
|
] });
|
|
533
354
|
}
|
|
534
355
|
function ToolIcon(props) {
|
|
535
|
-
return /* @__PURE__ */
|
|
356
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M14.7 6.3a1 1 0 0 0 0 1.4l2.1 2.1a1 1 0 0 0 1.4 0l4-4a6 6 0 0 1-8 8l-8 8a2.8 2.8 0 0 1-4-4l8-8a6 6 0 0 1 8-8l-4 4Z" }) });
|
|
536
357
|
}
|
|
537
358
|
function TargetIcon(props) {
|
|
538
|
-
return /* @__PURE__ */
|
|
539
|
-
/* @__PURE__ */
|
|
540
|
-
/* @__PURE__ */
|
|
541
|
-
/* @__PURE__ */
|
|
359
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
360
|
+
/* @__PURE__ */ jsx3("circle", { cx: "12", cy: "12", r: "9" }),
|
|
361
|
+
/* @__PURE__ */ jsx3("circle", { cx: "12", cy: "12", r: "5" }),
|
|
362
|
+
/* @__PURE__ */ jsx3("circle", { cx: "12", cy: "12", r: "1.6", fill: "currentColor", stroke: "none" })
|
|
542
363
|
] });
|
|
543
364
|
}
|
|
544
365
|
function TokensIcon(props) {
|
|
545
|
-
return /* @__PURE__ */
|
|
366
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M4 9h16M4 15h16M10 3 8 21M16 3l-2 18" }) });
|
|
546
367
|
}
|
|
547
368
|
function UsageIcon(props) {
|
|
548
|
-
return /* @__PURE__ */
|
|
549
|
-
/* @__PURE__ */
|
|
550
|
-
/* @__PURE__ */
|
|
551
|
-
/* @__PURE__ */
|
|
552
|
-
/* @__PURE__ */
|
|
553
|
-
/* @__PURE__ */
|
|
369
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
370
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 18a8 8 0 1 1 16 0" }),
|
|
371
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 18l3.5-5" }),
|
|
372
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 18h10" }),
|
|
373
|
+
/* @__PURE__ */ jsx3("path", { d: "M7.5 12.5 6 11" }),
|
|
374
|
+
/* @__PURE__ */ jsx3("path", { d: "M16.5 12.5 18 11" })
|
|
554
375
|
] });
|
|
555
376
|
}
|
|
556
377
|
function WarningIcon(props) {
|
|
557
|
-
return /* @__PURE__ */
|
|
558
|
-
/* @__PURE__ */
|
|
559
|
-
/* @__PURE__ */
|
|
378
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
379
|
+
/* @__PURE__ */ jsx3("path", { d: "M10.3 3.1 1.8 17a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.1a2 2 0 0 0-3.4 0Z" }),
|
|
380
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 9v4M12 17h.01" })
|
|
560
381
|
] });
|
|
561
382
|
}
|
|
562
383
|
function TrendUpIcon(props) {
|
|
563
|
-
return /* @__PURE__ */
|
|
564
|
-
/* @__PURE__ */
|
|
565
|
-
/* @__PURE__ */
|
|
384
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
385
|
+
/* @__PURE__ */ jsx3("polyline", { points: "3 17 9 11 13 15 21 7" }),
|
|
386
|
+
/* @__PURE__ */ jsx3("polyline", { points: "15 7 21 7 21 13" })
|
|
566
387
|
] });
|
|
567
388
|
}
|
|
568
389
|
function EarningsIcon(props) {
|
|
569
|
-
return /* @__PURE__ */
|
|
570
|
-
/* @__PURE__ */
|
|
571
|
-
/* @__PURE__ */
|
|
572
|
-
/* @__PURE__ */
|
|
573
|
-
/* @__PURE__ */
|
|
574
|
-
/* @__PURE__ */
|
|
575
|
-
/* @__PURE__ */
|
|
390
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
391
|
+
/* @__PURE__ */ jsx3("ellipse", { cx: "10", cy: "6", rx: "6", ry: "3" }),
|
|
392
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 6v8c0 1.7 2.7 3 6 3 1.2 0 2.4-.2 3.3-.5" }),
|
|
393
|
+
/* @__PURE__ */ jsx3("path", { d: "M16 6v4" }),
|
|
394
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 10c0 1.7 2.7 3 6 3 1.1 0 2.1-.1 3-.4" }),
|
|
395
|
+
/* @__PURE__ */ jsx3("path", { d: "M18 14v6" }),
|
|
396
|
+
/* @__PURE__ */ jsx3("path", { d: "M15 17h6" })
|
|
576
397
|
] });
|
|
577
398
|
}
|
|
578
399
|
function WalletIcon(props) {
|
|
579
|
-
return /* @__PURE__ */
|
|
580
|
-
/* @__PURE__ */
|
|
581
|
-
/* @__PURE__ */
|
|
582
|
-
/* @__PURE__ */
|
|
400
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
401
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 7a2 2 0 0 1 2-2h13a2 2 0 0 1 2 2v2H5a2 2 0 0 0-2 2V7Z" }),
|
|
402
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 11a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-6Z" }),
|
|
403
|
+
/* @__PURE__ */ jsx3("circle", { cx: "17", cy: "14", r: "1.25", fill: "currentColor" })
|
|
404
|
+
] });
|
|
405
|
+
}
|
|
406
|
+
function ReceiptIcon(props) {
|
|
407
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
408
|
+
/* @__PURE__ */ jsx3("path", { d: "M6 3h12v18l-2-1.5-2 1.5-2-1.5-2 1.5-2-1.5L6 21Z" }),
|
|
409
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 8h6M9 12h6M9 16h3" })
|
|
583
410
|
] });
|
|
584
411
|
}
|
|
585
412
|
function MoonIcon(props) {
|
|
586
|
-
return /* @__PURE__ */
|
|
413
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8Z" }) });
|
|
587
414
|
}
|
|
588
415
|
function SunIcon(props) {
|
|
589
|
-
return /* @__PURE__ */
|
|
590
|
-
/* @__PURE__ */
|
|
591
|
-
/* @__PURE__ */
|
|
416
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
417
|
+
/* @__PURE__ */ jsx3("circle", { cx: "12", cy: "12", r: "4" }),
|
|
418
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4" })
|
|
592
419
|
] });
|
|
593
420
|
}
|
|
594
421
|
function XIcon(props) {
|
|
595
|
-
return /* @__PURE__ */
|
|
422
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M18 6 6 18M6 6l12 12" }) });
|
|
596
423
|
}
|
|
597
424
|
function TrashIcon(props) {
|
|
598
|
-
return /* @__PURE__ */
|
|
599
|
-
/* @__PURE__ */
|
|
600
|
-
/* @__PURE__ */
|
|
601
|
-
/* @__PURE__ */
|
|
602
|
-
/* @__PURE__ */
|
|
425
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
426
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 6h18" }),
|
|
427
|
+
/* @__PURE__ */ jsx3("path", { d: "M8 6V4h8v2" }),
|
|
428
|
+
/* @__PURE__ */ jsx3("path", { d: "m19 6-1 15H6L5 6" }),
|
|
429
|
+
/* @__PURE__ */ jsx3("path", { d: "M10 11v6M14 11v6" })
|
|
603
430
|
] });
|
|
604
431
|
}
|
|
605
432
|
function ChatIcon(props) {
|
|
606
|
-
return /* @__PURE__ */
|
|
433
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" }) });
|
|
607
434
|
}
|
|
608
435
|
function RobotIcon(props) {
|
|
609
|
-
return /* @__PURE__ */
|
|
610
|
-
/* @__PURE__ */
|
|
611
|
-
/* @__PURE__ */
|
|
612
|
-
/* @__PURE__ */
|
|
613
|
-
/* @__PURE__ */
|
|
436
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
437
|
+
/* @__PURE__ */ jsx3("rect", { x: "3", y: "6", width: "18", height: "15", rx: "3" }),
|
|
438
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 2v4M3 11H1v5h2M21 11h2v5h-2M8 17h8" }),
|
|
439
|
+
/* @__PURE__ */ jsx3("circle", { cx: "9", cy: "12", r: "1" }),
|
|
440
|
+
/* @__PURE__ */ jsx3("circle", { cx: "15", cy: "12", r: "1" })
|
|
614
441
|
] });
|
|
615
442
|
}
|
|
616
443
|
function EyeIcon(props) {
|
|
617
|
-
return /* @__PURE__ */
|
|
618
|
-
/* @__PURE__ */
|
|
619
|
-
/* @__PURE__ */
|
|
444
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
445
|
+
/* @__PURE__ */ jsx3("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7z" }),
|
|
446
|
+
/* @__PURE__ */ jsx3("circle", { cx: "12", cy: "12", r: "3" })
|
|
620
447
|
] });
|
|
621
448
|
}
|
|
622
449
|
function EyeOffIcon(props) {
|
|
623
|
-
return /* @__PURE__ */
|
|
624
|
-
/* @__PURE__ */
|
|
625
|
-
/* @__PURE__ */
|
|
626
|
-
/* @__PURE__ */
|
|
450
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
451
|
+
/* @__PURE__ */ jsx3("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7z" }),
|
|
452
|
+
/* @__PURE__ */ jsx3("circle", { cx: "12", cy: "12", r: "3" }),
|
|
453
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 3l18 18" })
|
|
627
454
|
] });
|
|
628
455
|
}
|
|
629
456
|
function VideoIcon(props) {
|
|
630
|
-
return /* @__PURE__ */
|
|
631
|
-
/* @__PURE__ */
|
|
632
|
-
/* @__PURE__ */
|
|
457
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
458
|
+
/* @__PURE__ */ jsx3("path", { d: "m22 8-6 4 6 4V8z" }),
|
|
459
|
+
/* @__PURE__ */ jsx3("rect", { x: "2", y: "6", width: "14", height: "12", rx: "2" })
|
|
633
460
|
] });
|
|
634
461
|
}
|
|
635
462
|
function MicIcon(props) {
|
|
636
|
-
return /* @__PURE__ */
|
|
637
|
-
/* @__PURE__ */
|
|
638
|
-
/* @__PURE__ */
|
|
639
|
-
/* @__PURE__ */
|
|
463
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
464
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z" }),
|
|
465
|
+
/* @__PURE__ */ jsx3("path", { d: "M19 10v2a7 7 0 0 1-14 0v-2" }),
|
|
466
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 19v3" })
|
|
640
467
|
] });
|
|
641
468
|
}
|
|
642
469
|
function SpeakerIcon(props) {
|
|
643
|
-
return /* @__PURE__ */
|
|
644
|
-
/* @__PURE__ */
|
|
645
|
-
/* @__PURE__ */
|
|
646
|
-
/* @__PURE__ */
|
|
470
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
471
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 5 6 9H2v6h4l5 4z" }),
|
|
472
|
+
/* @__PURE__ */ jsx3("path", { d: "M15.54 8.46a5 5 0 0 1 0 7.07" }),
|
|
473
|
+
/* @__PURE__ */ jsx3("path", { d: "M19.07 4.93a10 10 0 0 1 0 14.14" })
|
|
647
474
|
] });
|
|
648
475
|
}
|
|
649
476
|
function MegaphoneIcon(props) {
|
|
650
|
-
return /* @__PURE__ */
|
|
651
|
-
/* @__PURE__ */
|
|
652
|
-
/* @__PURE__ */
|
|
477
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
478
|
+
/* @__PURE__ */ jsx3("path", { d: "m3 11 18-5v12L3 14v-3z" }),
|
|
479
|
+
/* @__PURE__ */ jsx3("path", { d: "m7 15 1.5 6H14l-2-7" })
|
|
653
480
|
] });
|
|
654
481
|
}
|
|
655
482
|
function ReasoningIcon(props) {
|
|
656
|
-
return /* @__PURE__ */
|
|
483
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "M9 18h6M10 22h4M15.1 14c.2-1 .6-1.7 1.4-2.5A4.6 4.6 0 0 0 18 8 6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.8.8 1.2 1.5 1.4 2.5" }) });
|
|
657
484
|
}
|
|
658
485
|
function RocketIcon(props) {
|
|
659
|
-
return /* @__PURE__ */
|
|
660
|
-
/* @__PURE__ */
|
|
661
|
-
/* @__PURE__ */
|
|
662
|
-
/* @__PURE__ */
|
|
663
|
-
/* @__PURE__ */
|
|
486
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
487
|
+
/* @__PURE__ */ jsx3("path", { d: "M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z" }),
|
|
488
|
+
/* @__PURE__ */ jsx3("path", { d: "m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z" }),
|
|
489
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0" }),
|
|
490
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" })
|
|
664
491
|
] });
|
|
665
492
|
}
|
|
666
493
|
function SearchIcon(props) {
|
|
667
|
-
return /* @__PURE__ */
|
|
668
|
-
/* @__PURE__ */
|
|
669
|
-
/* @__PURE__ */
|
|
494
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
495
|
+
/* @__PURE__ */ jsx3("circle", { cx: "11", cy: "11", r: "7" }),
|
|
496
|
+
/* @__PURE__ */ jsx3("path", { d: "m21 21-4.3-4.3" })
|
|
670
497
|
] });
|
|
671
498
|
}
|
|
672
499
|
function SignOutIcon(props) {
|
|
673
|
-
return /* @__PURE__ */
|
|
674
|
-
/* @__PURE__ */
|
|
675
|
-
/* @__PURE__ */
|
|
676
|
-
/* @__PURE__ */
|
|
500
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
501
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }),
|
|
502
|
+
/* @__PURE__ */ jsx3("path", { d: "m16 17 5-5-5-5" }),
|
|
503
|
+
/* @__PURE__ */ jsx3("path", { d: "M21 12H9" })
|
|
677
504
|
] });
|
|
678
505
|
}
|
|
679
506
|
function PowerIcon(props) {
|
|
680
|
-
return /* @__PURE__ */
|
|
681
|
-
/* @__PURE__ */
|
|
682
|
-
/* @__PURE__ */
|
|
507
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
508
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 2v10" }),
|
|
509
|
+
/* @__PURE__ */ jsx3("path", { d: "M18.4 6.6a9 9 0 1 1-12.77.04" })
|
|
683
510
|
] });
|
|
684
511
|
}
|
|
685
512
|
function SparkleIcon(props) {
|
|
686
|
-
return /* @__PURE__ */
|
|
687
|
-
/* @__PURE__ */
|
|
688
|
-
/* @__PURE__ */
|
|
689
|
-
/* @__PURE__ */
|
|
690
|
-
/* @__PURE__ */
|
|
691
|
-
/* @__PURE__ */
|
|
513
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
514
|
+
/* @__PURE__ */ jsx3("path", { d: "M9.94 15.5A2 2 0 0 0 8.5 14.06l-6.14-1.58a.5.5 0 0 1 0-.96L8.5 9.94A2 2 0 0 0 9.94 8.5l1.58-6.14a.5.5 0 0 1 .96 0L14.06 8.5A2 2 0 0 0 15.5 9.94l6.14 1.58a.5.5 0 0 1 0 .96L15.5 14.06a2 2 0 0 0-1.44 1.44l-1.58 6.14a.5.5 0 0 1-.96 0z" }),
|
|
515
|
+
/* @__PURE__ */ jsx3("path", { d: "M20 3v4" }),
|
|
516
|
+
/* @__PURE__ */ jsx3("path", { d: "M22 5h-4" }),
|
|
517
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 17v2" }),
|
|
518
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 18H3" })
|
|
692
519
|
] });
|
|
693
520
|
}
|
|
694
521
|
function StarIcon({
|
|
695
522
|
filled = false,
|
|
696
523
|
...props
|
|
697
524
|
}) {
|
|
698
|
-
return /* @__PURE__ */
|
|
525
|
+
return /* @__PURE__ */ jsx3(
|
|
699
526
|
"svg",
|
|
700
527
|
{
|
|
701
528
|
"aria-hidden": "true",
|
|
@@ -703,66 +530,280 @@ function StarIcon({
|
|
|
703
530
|
...strokeProps,
|
|
704
531
|
fill: filled ? "currentColor" : "none",
|
|
705
532
|
...props,
|
|
706
|
-
children: /* @__PURE__ */
|
|
533
|
+
children: /* @__PURE__ */ jsx3("polygon", { points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" })
|
|
534
|
+
}
|
|
535
|
+
);
|
|
536
|
+
}
|
|
537
|
+
function CodeIcon(props) {
|
|
538
|
+
return /* @__PURE__ */ jsx3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx3("path", { d: "m16 18 6-6-6-6M8 6l-6 6 6 6" }) });
|
|
539
|
+
}
|
|
540
|
+
function DatabaseIcon(props) {
|
|
541
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
542
|
+
/* @__PURE__ */ jsx3("ellipse", { cx: "12", cy: "5", rx: "9", ry: "3" }),
|
|
543
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 5v14a9 3 0 0 0 18 0V5" }),
|
|
544
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 12a9 3 0 0 0 18 0" })
|
|
545
|
+
] });
|
|
546
|
+
}
|
|
547
|
+
function CardIcon(props) {
|
|
548
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
549
|
+
/* @__PURE__ */ jsx3("rect", { x: "2", y: "5", width: "20", height: "14", rx: "2" }),
|
|
550
|
+
/* @__PURE__ */ jsx3("path", { d: "M2 10h20" })
|
|
551
|
+
] });
|
|
552
|
+
}
|
|
553
|
+
function SproutIcon(props) {
|
|
554
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
555
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 20h10" }),
|
|
556
|
+
/* @__PURE__ */ jsx3("path", { d: "M10 20c5.5-2.5.8-6.4 3-10" }),
|
|
557
|
+
/* @__PURE__ */ jsx3("path", { d: "M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z" }),
|
|
558
|
+
/* @__PURE__ */ jsx3("path", { d: "M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z" })
|
|
559
|
+
] });
|
|
560
|
+
}
|
|
561
|
+
function PencilIcon(props) {
|
|
562
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
563
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 20h9" }),
|
|
564
|
+
/* @__PURE__ */ jsx3("path", { d: "M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z" })
|
|
565
|
+
] });
|
|
566
|
+
}
|
|
567
|
+
function KeyIcon(props) {
|
|
568
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
569
|
+
/* @__PURE__ */ jsx3("circle", { cx: "7.5", cy: "15.5", r: "5.5" }),
|
|
570
|
+
/* @__PURE__ */ jsx3("path", { d: "m21 2-9.6 9.6" }),
|
|
571
|
+
/* @__PURE__ */ jsx3("path", { d: "m15.5 7.5 3 3L22 7l-3-3" })
|
|
572
|
+
] });
|
|
573
|
+
}
|
|
574
|
+
function GlobeIcon(props) {
|
|
575
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
576
|
+
/* @__PURE__ */ jsx3("circle", { cx: "12", cy: "12", r: "10" }),
|
|
577
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
|
|
578
|
+
/* @__PURE__ */ jsx3("path", { d: "M2 12h20" })
|
|
579
|
+
] });
|
|
580
|
+
}
|
|
581
|
+
function ArrowLeftIcon(props) {
|
|
582
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
583
|
+
/* @__PURE__ */ jsx3("path", { d: "M19 12H5" }),
|
|
584
|
+
/* @__PURE__ */ jsx3("path", { d: "m12 19-7-7 7-7" })
|
|
585
|
+
] });
|
|
586
|
+
}
|
|
587
|
+
function RefreshIcon(props) {
|
|
588
|
+
return /* @__PURE__ */ jsxs2("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
589
|
+
/* @__PURE__ */ jsx3("path", { d: "M21 12a9 9 0 1 1-2.64-6.36" }),
|
|
590
|
+
/* @__PURE__ */ jsx3("path", { d: "M21 3v6h-6" })
|
|
591
|
+
] });
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
// src/compositions/AccountIdentity.tsx
|
|
595
|
+
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
596
|
+
function initials(name) {
|
|
597
|
+
const parts = name.trim().split(/\s+/).filter(Boolean);
|
|
598
|
+
if (parts.length === 0) return "?";
|
|
599
|
+
if (parts.length === 1) return parts[0].slice(0, 2).toUpperCase();
|
|
600
|
+
return `${parts[0][0] ?? ""}${parts.at(-1)?.[0] ?? ""}`.toUpperCase();
|
|
601
|
+
}
|
|
602
|
+
function AccountAvatar({
|
|
603
|
+
name,
|
|
604
|
+
avatarUrl,
|
|
605
|
+
secondaryContent,
|
|
606
|
+
dashboardHref,
|
|
607
|
+
inline = false
|
|
608
|
+
}) {
|
|
609
|
+
const size = inline ? "polli:h-6 polli:w-6" : secondaryContent != null ? "polli:h-11 polli:w-11" : "polli:h-8 polli:w-8";
|
|
610
|
+
const className = cn(
|
|
611
|
+
size,
|
|
612
|
+
inline && "polli:transition-transform polli:group-hover:scale-110 polli:group-hover:brightness-110 polli:motion-reduce:transition-none polli:motion-reduce:group-hover:scale-100"
|
|
613
|
+
);
|
|
614
|
+
const avatar = avatarUrl ? /* @__PURE__ */ jsx4(
|
|
615
|
+
"img",
|
|
616
|
+
{
|
|
617
|
+
src: avatarUrl,
|
|
618
|
+
alt: "",
|
|
619
|
+
className: cn(
|
|
620
|
+
className,
|
|
621
|
+
"polli:shrink-0 polli:rounded-full polli:object-cover"
|
|
622
|
+
)
|
|
623
|
+
}
|
|
624
|
+
) : /* @__PURE__ */ jsx4(
|
|
625
|
+
"span",
|
|
626
|
+
{
|
|
627
|
+
role: "img",
|
|
628
|
+
"aria-label": `${name} avatar`,
|
|
629
|
+
className: cn(
|
|
630
|
+
className,
|
|
631
|
+
"polli:flex polli:shrink-0 polli:items-center polli:justify-center polli:rounded-full polli:bg-theme-bg-pale polli:text-xs polli:font-semibold polli:text-theme-text-strong"
|
|
632
|
+
),
|
|
633
|
+
children: initials(name)
|
|
634
|
+
}
|
|
635
|
+
);
|
|
636
|
+
return dashboardHref ? /* @__PURE__ */ jsx4(
|
|
637
|
+
"a",
|
|
638
|
+
{
|
|
639
|
+
href: dashboardHref,
|
|
640
|
+
target: "_blank",
|
|
641
|
+
rel: "noopener noreferrer",
|
|
642
|
+
"aria-label": "Open dashboard",
|
|
643
|
+
title: "Open dashboard",
|
|
644
|
+
className: "polli:shrink-0 polli:rounded-full polli:cursor-pointer polli:transition-transform polli:hover:scale-105 polli:hover:brightness-110 polli:focus-visible:outline-2 polli:focus-visible:outline-offset-2 polli:focus-visible:outline-current polli:motion-reduce:transition-none polli:motion-reduce:hover:scale-100",
|
|
645
|
+
children: avatar
|
|
646
|
+
}
|
|
647
|
+
) : avatar;
|
|
648
|
+
}
|
|
649
|
+
function AccountIdentity({
|
|
650
|
+
name,
|
|
651
|
+
avatarUrl,
|
|
652
|
+
secondaryContent,
|
|
653
|
+
dashboardHref,
|
|
654
|
+
className
|
|
655
|
+
}) {
|
|
656
|
+
return /* @__PURE__ */ jsxs3(
|
|
657
|
+
"span",
|
|
658
|
+
{
|
|
659
|
+
className: cn(
|
|
660
|
+
"polli:flex polli:min-w-0 polli:items-center polli:gap-2 polli:rounded-full polli:bg-surface-opaque polli:p-1 polli:pr-3",
|
|
661
|
+
className
|
|
662
|
+
),
|
|
663
|
+
children: [
|
|
664
|
+
/* @__PURE__ */ jsx4(
|
|
665
|
+
AccountAvatar,
|
|
666
|
+
{
|
|
667
|
+
name,
|
|
668
|
+
avatarUrl,
|
|
669
|
+
dashboardHref,
|
|
670
|
+
secondaryContent
|
|
671
|
+
}
|
|
672
|
+
),
|
|
673
|
+
/* @__PURE__ */ jsx4(AccountDetails, { name, secondaryContent })
|
|
674
|
+
]
|
|
675
|
+
}
|
|
676
|
+
);
|
|
677
|
+
}
|
|
678
|
+
function AccountIdentityLink({
|
|
679
|
+
name,
|
|
680
|
+
avatarUrl,
|
|
681
|
+
href,
|
|
682
|
+
className
|
|
683
|
+
}) {
|
|
684
|
+
return /* @__PURE__ */ jsxs3(
|
|
685
|
+
"a",
|
|
686
|
+
{
|
|
687
|
+
href,
|
|
688
|
+
target: "_blank",
|
|
689
|
+
rel: "noopener noreferrer",
|
|
690
|
+
className: cn(
|
|
691
|
+
// Sits in running text on cards, so it is compact and tinted.
|
|
692
|
+
"polli:group polli:inline-flex polli:max-w-full polli:min-w-0 polli:items-center polli:gap-1.5 polli:rounded-full polli:bg-theme-bg-subtle polli:p-0.5 polli:pr-2.5 polli:align-middle polli:focus-visible:outline-2 polli:focus-visible:outline-offset-2 polli:focus-visible:outline-current",
|
|
693
|
+
className
|
|
694
|
+
),
|
|
695
|
+
children: [
|
|
696
|
+
/* @__PURE__ */ jsx4(AccountAvatar, { name, avatarUrl, inline: true }),
|
|
697
|
+
/* @__PURE__ */ jsx4(AccountDetails, { name }),
|
|
698
|
+
/* @__PURE__ */ jsx4(
|
|
699
|
+
ExternalLinkIcon,
|
|
700
|
+
{
|
|
701
|
+
"aria-hidden": "true",
|
|
702
|
+
className: "polli:-ml-0.5 polli:h-3 polli:w-3 polli:shrink-0 polli:text-theme-text-strong polli:opacity-65"
|
|
703
|
+
}
|
|
704
|
+
)
|
|
705
|
+
]
|
|
706
|
+
}
|
|
707
|
+
);
|
|
708
|
+
}
|
|
709
|
+
function AccountDetails({
|
|
710
|
+
name,
|
|
711
|
+
secondaryContent,
|
|
712
|
+
secondaryId
|
|
713
|
+
}) {
|
|
714
|
+
return /* @__PURE__ */ jsxs3("span", { className: "polli:flex polli:min-w-0 polli:flex-col polli:items-start polli:text-left", children: [
|
|
715
|
+
/* @__PURE__ */ jsx4(
|
|
716
|
+
"span",
|
|
717
|
+
{
|
|
718
|
+
title: name,
|
|
719
|
+
className: "polli:max-w-full polli:truncate polli:text-sm polli:font-medium polli:leading-5 polli:text-theme-text-strong",
|
|
720
|
+
children: name
|
|
721
|
+
}
|
|
722
|
+
),
|
|
723
|
+
secondaryContent != null && /* @__PURE__ */ jsx4(
|
|
724
|
+
"span",
|
|
725
|
+
{
|
|
726
|
+
id: secondaryId,
|
|
727
|
+
className: "polli:inline-flex polli:min-h-5 polli:items-center polli:whitespace-nowrap polli:text-xs polli:leading-4 polli:text-theme-text-base",
|
|
728
|
+
children: secondaryContent
|
|
729
|
+
}
|
|
730
|
+
)
|
|
731
|
+
] });
|
|
732
|
+
}
|
|
733
|
+
function AccountMenu({
|
|
734
|
+
name,
|
|
735
|
+
avatarUrl,
|
|
736
|
+
dashboardHref,
|
|
737
|
+
secondaryContent,
|
|
738
|
+
children,
|
|
739
|
+
className,
|
|
740
|
+
menuClassName,
|
|
741
|
+
side = "bottom",
|
|
742
|
+
menuLabel = `Account menu for ${name}`
|
|
743
|
+
}) {
|
|
744
|
+
const statusId = useId2();
|
|
745
|
+
const avatar = /* @__PURE__ */ jsx4(
|
|
746
|
+
AccountAvatar,
|
|
747
|
+
{
|
|
748
|
+
name,
|
|
749
|
+
avatarUrl,
|
|
750
|
+
dashboardHref,
|
|
751
|
+
secondaryContent
|
|
752
|
+
}
|
|
753
|
+
);
|
|
754
|
+
return /* @__PURE__ */ jsxs3(
|
|
755
|
+
"div",
|
|
756
|
+
{
|
|
757
|
+
"data-theme": "accent",
|
|
758
|
+
className: cn(
|
|
759
|
+
"polli:flex polli:min-w-0 polli:items-center polli:gap-2 polli:rounded-full polli:bg-theme-bg-active polli:p-1 polli:pr-3 polli:text-theme-text-strong polli:transition-colors polli:hover:bg-theme-bg-hover",
|
|
760
|
+
className
|
|
761
|
+
),
|
|
762
|
+
children: [
|
|
763
|
+
dashboardHref && avatar,
|
|
764
|
+
/* @__PURE__ */ jsx4(
|
|
765
|
+
Dropdown,
|
|
766
|
+
{
|
|
767
|
+
align: "end",
|
|
768
|
+
side,
|
|
769
|
+
className: cn(
|
|
770
|
+
"polli:w-max polli:min-w-[var(--reference-width)] polli:p-1",
|
|
771
|
+
menuClassName
|
|
772
|
+
),
|
|
773
|
+
trigger: (open) => /* @__PURE__ */ jsxs3(
|
|
774
|
+
"button",
|
|
775
|
+
{
|
|
776
|
+
type: "button",
|
|
777
|
+
"aria-label": menuLabel,
|
|
778
|
+
"aria-describedby": secondaryContent != null ? statusId : void 0,
|
|
779
|
+
className: "polli-control polli:flex polli:min-w-0 polli:flex-1 polli:items-center polli:gap-2 polli:self-stretch polli:rounded-full polli:text-theme-text-strong",
|
|
780
|
+
children: [
|
|
781
|
+
!dashboardHref && avatar,
|
|
782
|
+
/* @__PURE__ */ jsx4(
|
|
783
|
+
AccountDetails,
|
|
784
|
+
{
|
|
785
|
+
name,
|
|
786
|
+
secondaryContent,
|
|
787
|
+
secondaryId: statusId
|
|
788
|
+
}
|
|
789
|
+
),
|
|
790
|
+
/* @__PURE__ */ jsx4(
|
|
791
|
+
ChevronIcon,
|
|
792
|
+
{
|
|
793
|
+
expanded: open,
|
|
794
|
+
className: "polli:ml-auto polli:h-4 polli:w-4 polli:text-theme-text-strong"
|
|
795
|
+
}
|
|
796
|
+
)
|
|
797
|
+
]
|
|
798
|
+
}
|
|
799
|
+
),
|
|
800
|
+
children
|
|
801
|
+
}
|
|
802
|
+
)
|
|
803
|
+
]
|
|
707
804
|
}
|
|
708
805
|
);
|
|
709
806
|
}
|
|
710
|
-
function CodeIcon(props) {
|
|
711
|
-
return /* @__PURE__ */ jsx4("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ jsx4("path", { d: "m16 18 6-6-6-6M8 6l-6 6 6 6" }) });
|
|
712
|
-
}
|
|
713
|
-
function DatabaseIcon(props) {
|
|
714
|
-
return /* @__PURE__ */ jsxs3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
715
|
-
/* @__PURE__ */ jsx4("ellipse", { cx: "12", cy: "5", rx: "9", ry: "3" }),
|
|
716
|
-
/* @__PURE__ */ jsx4("path", { d: "M3 5v14a9 3 0 0 0 18 0V5" }),
|
|
717
|
-
/* @__PURE__ */ jsx4("path", { d: "M3 12a9 3 0 0 0 18 0" })
|
|
718
|
-
] });
|
|
719
|
-
}
|
|
720
|
-
function CardIcon(props) {
|
|
721
|
-
return /* @__PURE__ */ jsxs3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
722
|
-
/* @__PURE__ */ jsx4("rect", { x: "2", y: "5", width: "20", height: "14", rx: "2" }),
|
|
723
|
-
/* @__PURE__ */ jsx4("path", { d: "M2 10h20" })
|
|
724
|
-
] });
|
|
725
|
-
}
|
|
726
|
-
function SproutIcon(props) {
|
|
727
|
-
return /* @__PURE__ */ jsxs3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
728
|
-
/* @__PURE__ */ jsx4("path", { d: "M7 20h10" }),
|
|
729
|
-
/* @__PURE__ */ jsx4("path", { d: "M10 20c5.5-2.5.8-6.4 3-10" }),
|
|
730
|
-
/* @__PURE__ */ jsx4("path", { d: "M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z" }),
|
|
731
|
-
/* @__PURE__ */ jsx4("path", { d: "M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z" })
|
|
732
|
-
] });
|
|
733
|
-
}
|
|
734
|
-
function PencilIcon(props) {
|
|
735
|
-
return /* @__PURE__ */ jsxs3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
736
|
-
/* @__PURE__ */ jsx4("path", { d: "M12 20h9" }),
|
|
737
|
-
/* @__PURE__ */ jsx4("path", { d: "M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z" })
|
|
738
|
-
] });
|
|
739
|
-
}
|
|
740
|
-
function KeyIcon(props) {
|
|
741
|
-
return /* @__PURE__ */ jsxs3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
742
|
-
/* @__PURE__ */ jsx4("circle", { cx: "7.5", cy: "15.5", r: "5.5" }),
|
|
743
|
-
/* @__PURE__ */ jsx4("path", { d: "m21 2-9.6 9.6" }),
|
|
744
|
-
/* @__PURE__ */ jsx4("path", { d: "m15.5 7.5 3 3L22 7l-3-3" })
|
|
745
|
-
] });
|
|
746
|
-
}
|
|
747
|
-
function GlobeIcon(props) {
|
|
748
|
-
return /* @__PURE__ */ jsxs3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
749
|
-
/* @__PURE__ */ jsx4("circle", { cx: "12", cy: "12", r: "10" }),
|
|
750
|
-
/* @__PURE__ */ jsx4("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
|
|
751
|
-
/* @__PURE__ */ jsx4("path", { d: "M2 12h20" })
|
|
752
|
-
] });
|
|
753
|
-
}
|
|
754
|
-
function ArrowLeftIcon(props) {
|
|
755
|
-
return /* @__PURE__ */ jsxs3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
756
|
-
/* @__PURE__ */ jsx4("path", { d: "M19 12H5" }),
|
|
757
|
-
/* @__PURE__ */ jsx4("path", { d: "m12 19-7-7 7-7" })
|
|
758
|
-
] });
|
|
759
|
-
}
|
|
760
|
-
function RefreshIcon(props) {
|
|
761
|
-
return /* @__PURE__ */ jsxs3("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
762
|
-
/* @__PURE__ */ jsx4("path", { d: "M21 12a9 9 0 1 1-2.64-6.36" }),
|
|
763
|
-
/* @__PURE__ */ jsx4("path", { d: "M21 3v6h-6" })
|
|
764
|
-
] });
|
|
765
|
-
}
|
|
766
807
|
|
|
767
808
|
// src/primitives/Typography.tsx
|
|
768
809
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
@@ -892,34 +933,85 @@ var Alert = ({
|
|
|
892
933
|
}
|
|
893
934
|
);
|
|
894
935
|
|
|
895
|
-
// src/compositions/AppHeader.tsx
|
|
896
|
-
import { useEffect, useState as useState2 } from "react";
|
|
897
|
-
|
|
898
936
|
// src/brand/lockup-horizontal.svg
|
|
899
|
-
var lockup_horizontal_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 858.034 105.6"><path d="M.017 45.34c0-.79 0-1.579.045-2.426.563-.021.982-.095.951-.771-.013-.302.2-.378.469-.377.714.005 1.43-.005 2.144-.002.402.001.66-.151.662-.588.002-.365.189-.512.542-.487.16.012.322.004.483 0 .517-.02 1.127.145 1.257-.64.007-.04.07-.083.115-.1.445-.16.849-.44 1.36-.399.394.033.665-.124.643-.579-.019-.352.16-.456.494-.455 1.215 0 2.431-.02 3.646-.036.711-.009.822-.093.83-.803.014-1.697.001-3.396.001-5.093.003-4.059.01-8.117.002-12.175-.002-.459.148-.631.619-.63 3.272.011 6.544.002 9.815 0 3.148-.001 6.294.002 9.441-.01.432 0 .693.093.647.593-.038.411.229.518.58.518.982 0 1.966-.006 2.949.005.419.006.634-.16.642-.592.006-.235.036-.45.356-.507.756-.138.754-.152.759-.945 0-.214.018-.43-.004-.643-.042-.427.1-.645.563-.593.399.046.54-.17.536-.547-.006-.392.018-.786.027-1.179.007-.32.138-.512.487-.483.41.035.608-.167.598-.562-.009-.414.174-.582.584-.54.356.036.555-.135.524-.499-.037-.45.167-.609.595-.581.369.023.502-.196.496-.542-.007-.392.013-.786.001-1.18-.008-.317.135-.459.444-.463.412-.007.823-.027 1.234-.032.332-.004.492-.166.494-.495.004-.392.014-.786.01-1.18-.002-.349.131-.53.512-.506.338.022.68-.018 1.018.01.528.042.71-.204.682-.699-.018-.303.015-.609-.005-.91-.025-.401.101-.602.543-.574.373.022.75-.037 1.125-.034.386.002.557-.193.565-.556.008-.358.026-.716.002-1.072-.028-.406.104-.605.54-.563.382.039.56-.158.548-.541-.008-.287-.003-.573 0-.859.007-.748.008-.746.735-.754q.456-.005.91-.028c.344-.017.518-.188.509-.548-.01-.41.006-.823.005-1.234 0-.287.132-.426.423-.425.519.003 1.037.005 1.555-.004.33-.007.441.165.437.467-.006.376.014.751-.002 1.126-.019.442.187.615.613.601.357-.011.715.008 1.073.01.33 0 .488.144.475.49-.016.41-.003.821.001 1.233.004.268.124.488.409.451.675-.085.687.294.681.806-.017 1.493-.174 1.387 1.368 1.405.86.01.856.007.86.855.01 1.509-.152 1.342 1.351 1.35.808.005.81.002.814.807.01 1.582-.004 1.343 1.37 1.372.839.018.839.014.849.824.003.25.02.501.005.75-.028.45.146.683.619.642.328-.028.514.087.472.455-.05.458.158.672.623.63.337-.031.51.121.495.462-.022.457.19.657.644.63.315-.018.45.152.449.46-.003.34.027.68.01 1.02-.024.457.127.723.63.702.34-.014.473.17.464.503-.01.375.002.75.01 1.126.005.364.172.582.555.565.394-.018.557.158.521.546-.035.378.132.568.524.566q1.556-.008 3.111-.002c.318.002.537-.133.531-.463-.011-.588.34-.636.804-.635 6.312.013 12.623.017 18.935.025.763.001.827.06.825.825-.007 1.626-.053 3.254-.035 4.88.044 4.059.052 8.116.011 12.175-.007.664.096.786.765.79 1.198.009 2.395.006 3.593.003.362-.001.645.06.62.52-.021.389.198.543.566.542.357-.002.715.023 1.073.007.401-.018.606.112.552.553-.05.41.164.59.57.581.375-.008.751.02 1.125-.002.358-.02.552.096.53.476-.03.475.227.623.663.613.679-.016 1.36.014 2.038-.011.406-.015.606.118.59.54-.016.413.21.576.605.553.124-.007.25.015.375.023 0 .753 0 1.506-.047 2.316-.83.075-.844.071-.983.844-.054.302-.24.32-.463.312-.465-.012-.63.224-.621.667.015.715-.005 1.43 0 2.146.003.319-.098.53-.455.504-.464-.034-.653.186-.637.635.009.232-.059.462-.347.437-.667-.059-.78.334-.76.866.01.25-.024.502-.003.75.036.428-.113.647-.57.615-.395-.027-.536.188-.522.564.012.375-.02.75-.001 1.125.018.375-.134.525-.503.49-.404-.037-.61.152-.592.561.016.348-.106.553-.492.517-.446-.042-.624.182-.588.608q.045.543-.498.524c-.434-.015-.615.214-.611.627.002.304-.145.48-.456.464-.469-.022-.635.222-.64.654-.002.223-.059.402-.352.443-.765.107-.763.121-.766.894 0 .25-.012.501.003.75.021.363-.088.59-.5.583-.399-.007-.587.205-.582.601.005.341-.19.491-.508.475-.44-.022-.618.184-.607.609.01.36-.183.507-.541.489-.339-.018-.68.012-1.019-.002-.424-.017-.654.168-.634.596.019.39-.176.5-.523.484-.277-.015-.554.076-.535.387.042.71-.361.787-.912.738-.23-.022-.464.014-.697.007-.417-.013-.659.18-.645.598.013.386-.16.51-.515.491-.305-.016-.574.104-.553.436.039.631-.31.707-.802.665-.231-.02-.466.01-.697-.007-.455-.034-.733.103-.697.62.024.343-.157.478-.494.465-.375-.013-.75 0-1.126 0-.388-.003-.634.166-.597.575.042.467-.2.525-.583.517-1.018-.02-2.038-.003-3.057-.023-.461-.009-.719.164-.722.643-.003.388-.198.518-.577.513-1.055-.014-2.11.007-3.164-.002-.407-.003-.663.121-.659.569.005.397-.215.51-.582.51-3.344-.006-6.688-.01-10.03.004-.441.002-.62-.17-.625-.588-.004-.36-.21-.503-.556-.497-.625.011-1.25.008-1.877.018-.287.006-.554.071-.554.435 0 .35.275.386.529.394.318.011.505.1.476.471-.034.458.175.716.666.677.31-.024.474.104.472.427-.003.397.226.609.595.617.402.01.525.196.517.567-.009.396.205.577.607.567.375-.01.75.014 1.126.017.244.002.435.074.433.355-.004.642.41.76.927.76.858 0 1.717.004 2.575.003 1.966 0 3.934-.004 5.9 0 .213.001.475-.088.54.273.142.796.152.795.983.8.214 0 .43.016.644-.006.385-.039.576.117.568.507-.008.392.156.615.576.581.338-.026.508.124.489.467-.023.415.14.646.584.636.323-.008.504.146.49.487-.019.433.199.623.62.607.325-.013.515.114.485.47-.038.44.204.62.609.624.36.003.517.167.486.532-.023.267.037.578.357.547.803-.078.751.422.721.946-.011.195.01.393-.003.589-.03.462.149.718.642.697.365-.015.479.151.467.529-.034 1.09-.004 2.18-.026 3.27-.01.452.184.61.609.595.374-.014.75.004 1.126-.001.354-.006.526.135.503.511-.021.357.013.717-.005 1.073-.02.414.108.657.569.632.335-.019.547.1.528.49-.017.382.157.614.57.61.35-.003.525.147.504.521-.023.399.197.608.59.583.397-.025.542.136.54.526-.006 1.896 0 3.791.009 5.686 0 .355-.085.59-.513.558-.415-.031-.656.18-.632.604.022.394-.161.496-.515.473-.38-.025-.576.192-.557.557.022.426-.175.58-.575.562-.393-.016-.543.205-.518.576.023.352-.122.547-.496.524-.403-.026-.606.151-.588.564.017.387-.172.534-.556.531q-2.844-.014-5.686 0c-.377.003-.585-.123-.557-.523.03-.413-.169-.598-.572-.578-.355.02-.545-.126-.516-.5.03-.408-.166-.597-.57-.587-.341.008-.544-.118-.514-.504.033-.429-.198-.647-.612-.616-.386.03-.519-.145-.515-.494.005-.4-.198-.603-.593-.583-.388.018-.491-.186-.49-.53.006-1.912.011-3.825.001-5.74-.002-.392.153-.561.536-.544.437.02.628-.204.595-.625-.025-.328.126-.46.44-.442.445.024.676-.171.645-.634-.022-.312.121-.483.438-.456.543.044.653-.243.653-.72 0-1.511.013-1.519 1.548-1.478.437.012.626-.177.625-.6q-.004-.964.005-1.93c.005-.43-.186-.636-.623-.584-.372.045-.533-.116-.502-.489.037-.438-.19-.618-.61-.608-.303.007-.483-.132-.456-.452.04-.46-.174-.665-.621-.655-.32.006-.512-.101-.479-.47.04-.45-.186-.672-.636-.645-.35.02-.492-.147-.475-.48.024-.474-.226-.619-.666-.608-.697.02-1.395.003-2.092 0-.239-.002-.52 0-.5-.333.045-.717-.392-.748-.931-.745-2.057.013-4.112.001-6.17 0-.31-.002-.647.017-.623-.444.025-.502-.25-.657-.698-.656-.66.003-1.323-.028-1.984-.011-.42.01-.647-.128-.638-.573.008-.384-.21-.562-.573-.548s-.515-.135-.528-.496c-.014-.356-.237-.56-.59-.57-.343-.007-.48-.165-.475-.497.006-.393-.202-.603-.593-.6-.368.004-.515-.19-.524-.527-.01-.399-.208-.583-.609-.571-.326.01-.503-.156-.493-.49.015-.462-.222-.654-.661-.629-.334.02-.439-.153-.433-.459q.012-.561-.013-1.126c-.012-.293-.14-.551-.46-.56-.351-.01-.423.266-.426.56l-.003 1.34q0 7.35.002 14.7c0 .663.116.769.785.76.304-.004.61.026.91-.004.424-.041.53.156.509.535-.022.356.004.714.003 1.072 0 .373.17.58.554.553.386-.026.577.127.554.522-.024.402.156.6.569.587.342-.011.55.127.516.507-.034.41.172.595.569.595.345-.001.51.137.507.516-.013 1.913-.01 3.826-.003 5.74.003.344-.093.559-.483.529-.438-.032-.627.183-.595.611.025.335-.104.51-.463.468-.457-.052-.668.155-.65.615.015.349-.15.538-.517.514-.43-.029-.646.163-.598.602.041.377-.128.532-.492.501-.387-.032-.58.166-.573.533.007.415-.168.56-.58.557-1.895-.015-3.79-.012-5.686-.003-.352.003-.546-.09-.506-.484.041-.423-.155-.645-.593-.617-.364.024-.532-.15-.526-.504q.012-.6-.586-.591c-.354.005-.529-.16-.507-.524.023-.398-.165-.625-.57-.59-.408.032-.55-.143-.528-.528s-.195-.566-.56-.55c-.411.019-.518-.186-.516-.557q.015-2.844 0-5.687c-.002-.371.1-.586.507-.567.402.018.602-.17.576-.58-.022-.34.154-.506.48-.49.472.023.637-.222.635-.654-.001-.235.078-.456.358-.431.71.063.71-.395.712-.895.005-1.284.012-1.284 1.264-1.291.913-.005.947-.036.947-.926l-.002-10.621.001-5.204c0-.324-.035-.64-.461-.64-.398 0-.432.308-.438.606-.008.359-.016.716-.005 1.074.01.332-.1.51-.466.467-.423-.05-.643.138-.63.579.01.36-.123.583-.53.56-.433-.023-.62.208-.608.626.006.202.007.45-.26.442-.482-.016-.745.214-.961.615-.102.188-.327.34-.53.436-.282.134-.423.324-.404.625.024.404-.173.542-.553.512-.379-.029-.58.164-.557.542.028.496-.225.589-.664.57-.696-.03-1.394 0-2.09.013-.243.005-.538.058-.516.347.06.811-.454.772-1.003.769-2.003-.01-4.006-.002-6.009-.004-.386 0-.75.034-.727.549.021.444-.211.542-.597.534-.697-.015-1.395.01-2.092-.003-.426-.008-.641.168-.63.597.005.285-.062.5-.413.479-.484-.031-.69.217-.661.683.02.342-.162.433-.467.406-.42-.036-.654.142-.62.587.031.395-.158.553-.539.54-.379-.012-.564.187-.55.561.018.42-.184.58-.59.546-.388-.03-.555.188-.56.553q-.006.67-.004 1.34c-.002 1.187-.001 1.184 1.188 1.195 1.268.012 1.026-.004 1.055 1.031.005.162.01.323 0 .483-.032.439.15.693.607.687.357-.003.533.155.525.512-.009.437.224.606.638.595.278-.008.45.119.423.419-.04.46.172.66.622.657.282-.002.486.1.485.435q-.001 2.95-.001 5.9c-.001.29-.109.494-.442.466-.458-.04-.661.177-.665.622-.002.318-.131.504-.49.468-.431-.042-.64.183-.625.601.014.365-.136.545-.503.504-.466-.053-.61.184-.577.604.029.365-.149.53-.51.507-.402-.025-.607.16-.592.568.014.391-.179.529-.559.528q-2.843-.015-5.687-.002c-.348.002-.558-.107-.53-.486.038-.475-.201-.642-.644-.618-.31.017-.466-.14-.45-.456.022-.424-.183-.636-.603-.637-.364 0-.501-.175-.489-.535.014-.392-.208-.602-.6-.588-.342.013-.495-.148-.5-.473-.007-.4-.223-.594-.606-.587-.38.006-.493-.189-.493-.534q.01-2.898-.002-5.794c-.001-.34.143-.511.475-.493.433.023.628-.174.627-.599 0-.286.102-.49.438-.474.484.027.684-.224.673-.684-.006-.263.12-.424.384-.4.655.06.7-.33.707-.84.024-1.56-.28-1.292 1.44-1.364.639-.027.702-.05.75-.682.079-1.037.018-2.073-.004-3.109-.008-.374.08-.615.536-.595.412.017.612-.217.59-.645-.016-.339.011-.68-.006-1.019-.018-.37.09-.596.506-.56.45.04.617-.187.581-.61-.027-.344.136-.5.477-.475.442.033.624-.186.596-.612-.022-.337.125-.505.476-.468.43.044.638-.162.637-.586 0-.368.156-.572.546-.554.414.018.593-.208.568-.596-.025-.376.136-.524.502-.5.308.023.568-.108.557-.434-.02-.584.286-.691.772-.65.248.023.5-.001.75-.005.391-.006.67-.144.662-.59-.006-.38.194-.487.542-.479.606.014 1.215.001 1.823.001h6.706c.327 0 .741.02.778-.384.063-.684.48-.736 1-.725.213.005.428-.016.643-.018.388-.006.614-.2.62-.586.006-.365.172-.512.522-.523.387-.013.587-.224.582-.617-.003-.308.137-.47.454-.456.418.021.637-.165.635-.597-.001-.335.123-.531.51-.522.278.007.558-.081.53-.452-.026-.36-.32-.398-.592-.406-.607-.017-1.215-.008-1.823-.019-.413-.008-.657.152-.628.596.023.346-.142.48-.477.48q-5.124-.004-10.246 0c-.276 0-.455-.072-.428-.393.045-.55-.245-.7-.755-.69-1.054.019-2.109-.01-3.164-.009-.346.002-.558-.116-.527-.495.04-.505-.222-.651-.684-.645-1.019.016-2.039-.01-3.057.014-.417.01-.65-.075-.601-.551.039-.385-.168-.552-.55-.54-.376.01-.753-.018-1.127.004-.39.023-.57-.134-.547-.524.025-.424-.2-.571-.594-.558-.357.012-.715-.013-1.072.003-.364.016-.54-.125-.504-.5.042-.437-.166-.625-.596-.61-.24.007-.515-.012-.5-.336.032-.661-.36-.771-.889-.756-.249.006-.5-.026-.748-.01-.397.026-.623-.103-.583-.541.038-.41-.155-.6-.567-.575-.31.02-.536-.063-.506-.438.039-.498-.213-.676-.682-.64-.21.016-.371-.043-.435-.294-.203-.798-.21-.796-1.027-.806-.196-.002-.394-.009-.59 0-.388.02-.617-.112-.588-.549.018-.253-.066-.513-.36-.493-.77.05-.764-.434-.728-.969.013-.195-.01-.393.002-.589.027-.453-.174-.724-.63-.762-.306-.025-.451-.16-.442-.472.01-.379-.187-.553-.563-.548-.27.002-.516-.058-.537-.39-.026-.409-.177-.69-.585-.864-.233-.1-.404-.352-.52-.597a.73.73 0 0 0-.366-.368c-.358-.172-.68-.385-.799-.805-.048-.168-.19-.287-.36-.272-.622.055-.71-.31-.679-.803.015-.23-.008-.464-.006-.697.006-.435-.119-.741-.637-.707-.377.024-.5-.182-.485-.533.013-.357-.01-.716-.006-1.073.006-.392-.155-.617-.57-.594-.35.02-.553-.106-.525-.487.03-.44-.182-.629-.612-.593-.349.027-.475-.142-.469-.48.01-.732-.015-1.466.006-2.2.012-.454-.156-.675-.623-.64-.274.019-.477-.031-.523-.378-.102-.759-.199-.81-.97-.628m55.964.263c0-1.806.005-3.611 0-5.417-.001-.332.018-.616.456-.615.49 0 .638-.286.63-.735-.014-.697.001-1.394.001-2.09-.001-.262.057-.467.375-.465.58 0 .72-.353.696-.85-.011-.232.014-.467-.002-.698-.03-.402.081-.653.543-.666.398-.01.55-.27.551-.648 0-.34.02-.678.024-1.018.004-.338.12-.542.505-.518.435.027.633-.227.602-.632-.029-.373.14-.462.47-.46.436.003.647-.229.63-.676-.013-.32.008-.643.002-.965-.006-.33.081-.55.476-.546.416.005.628-.225.594-.646-.03-.37.147-.524.5-.524.377 0 .62-.141.593-.57-.02-.345.151-.486.491-.462.434.032.626-.197.61-.615-.013-.36.153-.527.51-.525.271.001.557-.078.556-.381-.006-.753.477-.74 1-.713.196.01.394.002.59-.005.311-.011.597-.092.59-.469-.005-.356-.293-.419-.577-.41-.356.008-.468-.164-.457-.495.012-.393-.002-.786-.005-1.18-.002-.233-.066-.492-.325-.47-.842.068-.794-.47-.766-1.028.01-.213-.028-.428-.027-.642.001-.394-.167-.616-.58-.588-.335.023-.519-.095-.469-.456.065-.466-.138-.672-.603-.633-.328.026-.523-.115-.509-.457.018-.486-.214-.679-.686-.653-.319.017-.437-.169-.428-.475.01-.376-.013-.752.004-1.127.02-.436-.167-.645-.603-.595-.372.043-.536-.094-.494-.478.047-.43-.15-.643-.591-.606-.36.031-.543-.132-.53-.493.017-.419-.155-.643-.595-.62-.353.017-.543-.132-.51-.507.036-.421-.193-.586-.581-.578-.392.008-.546-.179-.507-.565.039-.38-.146-.582-.531-.552-.428.033-.58-.164-.549-.571.024-.315-.108-.546-.46-.504-.62.077-.627-.28-.628-.749-.003-1.573.277-1.442-1.528-1.445-.36-.001-.522.172-.517.526.004.393-.012.787 0 1.18.01.34-.13.509-.475.473-.48-.048-.643.191-.613.636.023.316-.142.47-.454.445-.467-.038-.662.176-.618.632.034.352-.139.478-.478.46-.415-.023-.64.172-.622.607.015.357-.149.528-.517.504-.371-.023-.58.153-.57.535.01.427-.167.628-.611.583-.36-.037-.543.152-.513.51.036.452-.175.608-.603.576-.338-.025-.483.17-.481.497.002.375-.014.75.001 1.126.015.365-.097.588-.506.576-.389-.01-.607.162-.59.578.016.353-.155.538-.515.518-.409-.022-.6.172-.586.575.013.379-.143.557-.543.527-.403-.03-.587.188-.582.588.004.393-.007.786-.007 1.18 0 .223-.075.416-.322.404-.74-.038-.797.42-.753.977.017.214-.01.43.007.643.03.42-.112.645-.574.615-.272-.018-.504.079-.502.415.002.322.22.434.494.447q.59.028 1.18.017c.332-.007.514.115.48.47-.046.467.182.65.63.633.317-.012.52.123.509.47q-.025.634.608.629c.333-.004.495.153.48.492-.018.377.17.572.544.569.407-.004.587.18.553.593-.023.273.057.553.382.525.654-.053.745.297.692.82-.024.23.005.464.004.697-.002.443.162.724.658.706.336-.012.491.136.449.49-.054.464.18.663.633.626.323-.028.454.127.452.44-.002.41.01.822.021 1.233.008.25.08.512.376.486.733-.063.762.38.724.911-.018.25.006.502-.005.751-.02.415.178.61.58.566.422-.046.52.154.51.532-.017.679-.009 1.358.007 2.037.007.31.057.666.455.678.579.016.629.335.624.807a390 390 0 0 0-.003 5.899c.006.833.172 1.001.89 1.016 1.039.022 1.156-.095 1.159-1.16zm-30.53-.381c-.186-.054-.254-.197-.242-.37.036-.578-.307-.684-.784-.675-.679.011-1.359-.01-2.039-.004-.353.004-.548-.13-.511-.503.048-.49-.24-.629-.653-.633-.607-.006-1.215-.005-1.824-.007-.414 0-.649.22-.651.621-.005 1 .017 2.001.032 3.001.004.387.186.614.592.592.448-.023.532.227.524.608-.016.697.014 1.395-.004 2.092-.011.43.15.647.59.617.37-.025.516.142.5.51-.015.373-.001.75.013 1.125.008.242.065.531.353.514.775-.045.746.441.711.965-.014.196.007.394-.002.59-.02.443.185.683.63.676.364-.006.526.163.518.516-.008.396.175.603.582.59.348-.01.535.129.521.505-.014.34.167.535.508.573.326.035.53.2.556.54.032.419.275.61.673.596.359-.012.476.164.464.489-.015.425.185.636.617.605.365-.026.467.186.459.5-.01.393.155.614.574.583.408-.03.537.198.523.561-.013.39.186.546.562.536.357-.01.716.011 1.073 0 .34-.01.554.091.541.48-.015.434.228.604.64.6.392-.004.786.007 1.179.014.28.004.445.13.422.427-.043.56.263.707.759.7 1.019-.014 2.038.002 3.057-.01.346-.004.562.102.548.477-.02.527.302.61.73.609 3.005-.006 6.01-.003 9.014-.005.215 0 .43-.005.628-.106.149-.077.277-.183.278-.364a.34.34 0 0 0-.335-.357c-.598-.014-.622-.391-.598-.838a6 6 0 0 0-.021-.803c-.02-.249-.132-.515-.386-.515-.76-.001-.73-.486-.696-1.01.014-.213-.011-.428-.016-.643-.007-.402-.18-.656-.611-.644-.342.009-.5-.148-.49-.479.012-.384-.2-.573-.55-.581-.405-.012-.583-.198-.595-.59-.012-.393-.24-.598-.62-.579-.343.019-.44-.131-.431-.442.011-.415-.206-.625-.625-.622-.324 0-.49-.148-.502-.484-.012-.408-.237-.628-.645-.63-.294-.001-.432-.142-.425-.426.01-.454-.228-.647-.66-.647-.28 0-.451-.129-.43-.422.036-.476-.171-.703-.648-.692-.308.007-.455-.139-.45-.457.007-.462-.23-.691-.698-.678-.164.004-.386-.007-.357-.218.08-.59-.253-.826-.726-1.01-.134-.053-.295-.208-.32-.34-.115-.606-.536-.622-1.01-.592-.231.016-.466-.01-.697.004-.395.026-.612-.107-.585-.543.026-.42-.225-.564-.609-.562-.357 0-.715-.015-1.072-.013-.35.003-.54-.143-.526-.51.019-.425-.177-.641-.61-.61-.337.026-.507-.111-.494-.458.018-.47-.247-.624-.676-.62-.68.009-1.36-.014-2.039.005-.38.01-.57-.122-.569-.514.003-.441-.264-.581-.665-.578-.392.004-.786-.012-1.273-.037m65.668-.791c-.006-.215-.03-.432-.012-.643.043-.53-.194-.757-.716-.747-.59.013-1.18-.005-1.77.004-.371.005-.62.163-.594.585.027.425-.196.562-.591.556-.715-.01-1.43.006-2.146.004-.298 0-.584.066-.558.418.044.64-.323.695-.807.66-.232-.018-.466.01-.697-.004-.454-.029-.735.118-.703.627.023.35-.156.465-.49.463-.715-.005-1.43.016-2.145.028-.384.007-.682.123-.652.584.025.394-.174.49-.526.465-.275-.022-.55.092-.541.392.023.745-.43.786-.98.746-.197-.014-.395.01-.59 0-.439-.021-.69.16-.679.618.01.387-.204.49-.545.479-.339-.012-.678.004-1.018-.001-.392-.007-.62.17-.62.569 0 .385-.169.542-.554.537-.368-.004-.564.226-.556.582.008.4-.185.53-.553.533-.393.003-.588.215-.566.615.017.316-.143.47-.449.465-.413-.005-.645.162-.626.603.014.332-.145.501-.482.495-.425-.008-.612.22-.627.63-.009.254-.095.448-.406.453-.411.006-.61.256-.666.638-.042.28-.148.465-.479.441-.456-.033-.657.217-.648.65.007.31-.12.474-.438.47-.394-.004-.611.21-.63.582-.015.356-.165.518-.518.535-.351.017-.569.206-.579.573-.01.345-.14.523-.517.514-.443-.01-.642.255-.645.682 0 .323-.015.645.001.966.019.365-.089.587-.5.578-.443-.009-.59.258-.581.66.006.213-.016.43.003.643.05.533.012.976-.702.956-.196-.004-.329.15-.336.355-.007.213.13.329.326.363.193.034.388.065.583.066q1.45.014 2.897.013c2.038.001 4.078.002 6.116-.006.336 0 .766.023.806-.425.055-.613.431-.644.888-.648.947-.01 1.894-.028 2.84-.046.417-.008.69-.172.675-.64-.01-.327.17-.428.475-.426.41.003.822-.033 1.233-.043.266-.007.493-.112.483-.388-.027-.702.407-.715.912-.678.213.016.429-.005.643 0 .409.01.653-.155.649-.591-.004-.36.18-.503.53-.521.345-.018.572-.213.573-.58.001-.366.167-.51.528-.5.4.013.595-.215.579-.604-.017-.38.18-.503.522-.498.392.007.607-.175.587-.584-.014-.315.163-.463.449-.485.433-.032.652-.239.63-.685-.013-.308.133-.463.454-.453.414.012.64-.192.64-.614-.002-.386.22-.485.558-.46.41.03.588-.174.58-.578-.008-.357.023-.715.005-1.072-.02-.37.091-.588.499-.576.363.01.51-.2.525-.536.018-.392.054-.785.057-1.177.004-.308.113-.47.441-.46.497.017.643-.281.638-.724-.009-.68.009-1.36-.005-2.038-.007-.343.083-.559.47-.55.496.012.645-.284.642-.724-.004-.662.004-1.323.006-2.091M35.068 29.31c-.033-.43-.012-.795.592-.751.317.022.49-.194.497-.51q.018-.644.008-1.286c-.02-1.273.2-1.297-1.337-1.292-.6.002-1.203.04-1.776-.193.123-.602-.145-.927-.758-.927q-6.41-.004-12.818.001c-.572.002-.736.164-.734.737.003.68.04 1.359.038 2.038-.006 3.502-.024 7.005-.026 10.509-.001.745.103.832.84.839q1.528.01 3.057.005c.332 0 .56.093.547.482-.014.45.254.583.655.576.375-.006.75.007 1.126.013.245.002.427.084.41.37-.04.692.287.764.876.763q1.503-.003 3.004.002c.225 0 .464-.043.516.308.11.767.123.764.883.768.233.001.466.015.697-.005.423-.034.658.102.598.57-.054.413.173.531.545.52.392-.012.786.007 1.178.006.324-.002.518.122.486.476-.045.47.193.648.636.633.267-.01.46.087.438.4-.037.529.249.662.725.673 1.304.029 1.32.008 1.323-1.335.001-.464-.172-.69-.614-.659-.444.031-.507-.215-.504-.56.002-.375-.006-.75-.015-1.125-.007-.268-.135-.485-.41-.467-.667.043-.687-.355-.685-.855.009-3.54.003-7.08.002-10.723M91.11 35.95l-.003-10.835c-.002-.669-.08-.764-.668-.764-4.237-.002-8.475.005-12.712-.003-.467-.001-.73.168-.708.644.019.436-.22.492-.573.485-.661-.012-1.323.021-1.984-.003-.538-.018-.743.223-.727.738a38 38 0 0 1 .009 1.77c-.007.403.158.614.571.582.404-.032.525.162.525.543q-.01 5.633 0 11.264c0 .344-.08.55-.485.507-.444-.048-.606.214-.608.62 0 .34-.021.68-.006 1.02.018.388-.145.576-.535.538-.44-.042-.54.204-.563.585-.087 1.455-.016 1.425 1.444 1.374.347-.013.55-.2.545-.533-.008-.441.232-.55.602-.555.265-.002.492-.113.473-.396-.045-.662.344-.726.85-.689.213.015.43-.015.643 0 .45.03.726-.119.732-.618.003-.326.177-.475.514-.461.375.014.75-.003 1.126-.006.333-.003.573-.13.554-.499-.029-.506.254-.586.672-.579.966.014 1.932-.009 2.897.005.517.007.832-.179.83-.732 0-.303.157-.408.437-.408.393 0 .786-.014 1.18-.015.336-.001.567-.134.564-.495-.005-.468.258-.556.656-.551.929.012 1.858 0 2.789-.001.9-.003.946-.045.956-.923.004-.5.002-1.001.003-1.61m-23.04 5.341c.027-.264.185-.41.426-.492.449-.15.631-.466.63-.94-.012-3.487-.01-6.974-.012-10.46 0-.31-.049-.596-.43-.62-.426-.028-.43.298-.431.587-.002.332-.12.506-.479.464-.485-.058-.705.16-.648.651.043.36-.095.542-.482.502-.476-.05-.635.204-.61.647.016.32-.014.645.004.965.024.424-.17.578-.577.558-.356-.019-.715.01-1.072-.006-.418-.02-.588.185-.589.578 0 .41-.009.822-.007 1.232.002.234-.093.41-.333.393-.701-.05-.79.363-.746.915.02.266-.009.536.001.804.013.337-.127.501-.474.48-.481-.029-.612.25-.605.676.01.697-.01 1.394.001 2.091.006.373-.114.585-.522.553-.424-.034-.573.196-.564.588.008.357-.013.716-.001 1.073.012.356-.111.539-.498.503-.398-.037-.597.16-.604.565-.006.338-.04.677-.044 1.017-.028 2.931.084 5.862.005 8.795-.028.999.032 2 .063 3 .009.281.083.558.43.58.34.021.4-.238.427-.502.025-.233.093-.448.37-.43.68.045.747-.397.752-.9.002-.251.01-.502.002-.751-.012-.342.094-.549.485-.53.395.018.602-.2.599-.59-.004-.364.183-.517.523-.533.434-.02.577-.29.581-.681.005-.357.01-.714.023-1.073.008-.266.12-.45.421-.433.483.025.684-.236.69-.684.005-.269.142-.377.399-.4.49-.04.661-.367.676-.808.01-.322.007-.645.007-.966 0-.215.05-.42.3-.43.7-.034.772-.511.778-1.048q.008-.375.01-.752c0-.25.09-.408.372-.41.565 0 .72-.335.715-.843-.01-.948.013-1.895.039-2.935M48.394 40.2c-.148-.183-.124-.404-.126-.615-.006-.483-.003-.966-.008-1.448-.004-.299-.118-.58-.442-.564-.598.027-.674-.295-.636-.767.019-.249-.008-.5-.003-.751.01-.424-.14-.697-.614-.676-.38.016-.495-.176-.478-.533.02-.391.004-.786-.017-1.177-.018-.338-.207-.518-.557-.513-.376.003-.751-.016-1.125.006-.364.021-.535-.11-.521-.486.013-.34-.01-.68.001-1.018.014-.411-.145-.666-.58-.656-.408.009-.53-.196-.51-.567.014-.303-.106-.55-.446-.547-.482.004-.729-.167-.703-.688.015-.275-.194-.414-.46-.415s-.366.184-.395.421c-.012.107-.03.213-.032.32-.008 3.52-.048 7.04.037 10.56.01.391.17.616.58.593.385-.022.481.165.478.52-.01 1.038.025 2.073.01 3.11-.007.481.137.757.661.735.338-.014.478.158.467.496-.013.392-.003.786.01 1.179.009.251.112.512.384.497.706-.039.714.395.681.895-.014.213.001.428-.001.644-.005.42.148.697.62.678.36-.012.522.156.513.517-.006.293.087.582.421.575.62-.01.696.337.653.825-.019.213.015.43.007.644-.019.466.143.759.662.759.3-.002.458.148.445.468-.018.45.212.668.659.631.336-.028.436.126.438.44.001.391.039.784.07 1.176.025.326.186.544.533.557.307.01.517.105.545.45.012.153.096.274.26.3.187.027.296-.091.382-.239.177-.31.173-.652.174-.99q.012-5.415.02-10.83c0-.375-.013-.75-.026-1.125-.009-.287-.14-.51-.443-.497-.603.027-.693-.323-.617-.789.148-.888-.2-1.545-.971-2.105m37.464 24.569c.496.035.897-.032.865-.687-.013-.234.17-.33.402-.327.374.003.75-.014 1.125-.001.44.013.696-.165.668-.624-.025-.415.195-.53.555-.525.282.004.537-.103.514-.415-.048-.646.335-.682.81-.654.232.013.465-.019.696-.006.451.024.732-.116.702-.628-.016-.295.11-.496.436-.467.468.04.65-.186.649-.628-.001-.334.18-.47.514-.459.42.016.633-.207.609-.628-.021-.354.164-.49.484-.48.459.017.649-.203.627-.652-.015-.309.154-.47.46-.457.438.021.616-.19.606-.612-.007-.295.131-.498.448-.468.538.05.702-.229.685-.704-.01-.222.058-.358.32-.397.766-.113.763-.125.768-.897.002-.233.015-.466 0-.697-.025-.387.09-.625.53-.605.4.02.599-.18.585-.583-.012-.346.121-.546.498-.53.376.018.567-.158.557-.544-.01-.37.147-.56.547-.539s.585-.216.592-.599c.008-.393.014-.786.007-1.18-.004-.23.054-.358.317-.39.769-.094.768-.105.771-.904.001-.215.017-.43 0-.643-.038-.457.095-.724.62-.679.307.026.445-.17.45-.472.006-.336-.195-.428-.484-.425-.375 0-.752-.012-1.126.003-.378.016-.573-.12-.546-.525.029-.415-.197-.575-.594-.562-.357.01-.715-.017-1.072-.002-.372.013-.592-.105-.554-.516.044-.48-.224-.631-.65-.63-.894.002-1.788-.006-2.682-.001-.735.002-.839.1-.844.836-.008 1.34-.004 2.682-.002 4.022.001.4-.064.712-.582.67-.428-.032-.549.236-.546.614.007.751 0 1.502.002 2.253 0 .232-.029.407-.322.459-.765.134-.764.146-.767.907 0 .233-.01.466.003.697.023.395-.115.617-.55.586-.384-.027-.552.176-.549.552.005.376-.015.75-.003 1.125.009.331-.095.512-.462.474-.423-.042-.646.152-.63.587.016.381-.127.567-.538.516-.413-.049-.586.183-.586.576 0 .375-.017.75-.003 1.126.015.363-.128.54-.499.51-.399-.034-.627.127-.58.551.047.436-.155.574-.563.54-.354-.03-.541.152-.515.514.03.409-.144.589-.56.577-.321-.008-.57.13-.56.5.013.446-.163.66-.631.622-.23-.018-.472.077-.442.349.064.586-.178.801-.748.801-.275.001-.368.26-.34.517.026.255.215.304.431.293.196-.008.392-.018.677-.035m-64.856-4.174c-.164-.059-.206-.198-.196-.345.04-.517-.156-.783-.709-.715-.27.033-.388-.1-.38-.378.008-.392-.005-.786-.01-1.18-.003-.403-.17-.652-.609-.631-.337.016-.499-.131-.474-.478.034-.45-.172-.683-.633-.634-.397.043-.496-.158-.486-.507.013-.392-.003-.786-.01-1.18-.004-.267-.117-.49-.4-.463-.659.061-.743-.306-.696-.823.021-.23-.008-.465.004-.697.023-.46-.176-.734-.645-.727-.373.006-.446-.173-.44-.496.011-.697-.001-1.394-.005-2.092-.002-.415-.152-.696-.626-.68-.376.014-.501-.199-.489-.542.006-.16-.003-.322-.003-.482q0-1.957.006-3.916c0-.388-.16-.604-.573-.603-1.036.006-2.075.001-3.111.004-.283 0-.524.112-.508.425.036.672-.368.75-.885.725-.233-.011-.466.01-.699.001-.407-.012-.661.14-.643.586.016.377-.18.503-.529.495a18 18 0 0 0-1.18.014c-.273.013-.42.177-.43.451-.01.26.136.44.38.423.698-.047.733.379.694.89-.016.213.007.43-.007.643-.029.434.127.696.6.68.38-.015.494.186.477.537-.019.356.001.714-.005 1.072-.005.36.127.594.519.597.38.002.533.217.581.564.045.323.219.532.572.502.427-.035.58.172.563.573-.01.248.054.517.35.504.708-.028.773.39.729.931-.018.213.011.43.002.643-.016.418.177.655.594.657.35.001.54.1.498.493-.044.402.17.617.565.602.418-.014.583.172.571.575-.008.317.148.522.483.508.448-.017.601.21.587.623-.012.353.179.55.525.524.433-.03.626.118.596.571-.024.343.164.546.524.517.427-.033.58.162.544.572-.031.361.162.538.518.507.442-.038.622.163.607.591-.013.39.217.538.578.536q.589-.005 1.179-.001c.207.002.44.039.41.304-.08.756.386.801.94.779.267-.01.537.034.801.011.346-.03.5.071.463.444-.048.48.204.698.677.651.307-.03.435.117.42.404-.03.558.276.718.773.682.213-.016.43 0 .643 0 .282-.003.566-.021.577-.398.01-.365-.216-.51-.552-.5-.357.011-.534-.132-.509-.506.028-.404-.175-.596-.577-.59-.326.005-.569-.092-.547-.483.024-.43-.177-.626-.61-.606-.296.015-.494-.113-.47-.437.048-.61-.324-.72-.904-.721m63.036 34.12c-.36.028-.426.279-.417.568.01.357-.144.545-.51.512-.48-.042-.639.228-.634.647.003.31-.12.462-.444.444-.496-.028-.663.25-.64.705.012.25-.001.5.013.748.022.366.162.62.593.578.292-.027.495.068.47.412-.04.512.216.724.706.687.32-.025.478.11.443.433-.06.528.197.713.691.67.213-.02.43-.02.642-.002.477.039.709-.155.665-.647-.026-.303.092-.482.426-.455.475.038.696-.178.676-.658-.011-.28.124-.448.424-.41.593.075.762-.226.71-.758-.024-.23-.01-.463-.004-.696.01-.419-.172-.643-.61-.607-.35.028-.555-.099-.531-.479.028-.429-.16-.63-.598-.608-.283.014-.515-.091-.486-.42.054-.62-.295-.717-.796-.673-.23.02-.462.003-.79.008m-30.027.157c-.1.142-.096.306-.09.466.015.315-.123.482-.44.453-.505-.044-.676.203-.642.671.02.285-.121.442-.416.423-.526-.034-.699.243-.67.725q.021.35-.003.697c-.028.446.137.686.617.633.257-.028.495.02.468.349-.044.553.244.74.739.723.295-.009.376.158.35.409-.06.547.197.75.72.7.232-.022.468-.026.698-.004.463.043.67-.155.634-.615-.025-.33.102-.5.458-.487.436.013.67-.193.635-.654-.02-.28.112-.462.4-.445.606.034.729-.305.683-.81-.02-.213-.01-.43-.007-.644.006-.376-.18-.58-.552-.566-.388.014-.564-.139-.53-.535.034-.379-.145-.587-.532-.554-.449.04-.615-.174-.609-.593.004-.254-.079-.487-.373-.494-.494-.014-.997-.121-1.538.152m-29.803 5.225c.251 1.04.251 1.026 1.374 1.019.458-.004.727-.141.693-.642-.019-.304.093-.48.428-.458.497.03.738-.223.724-.706-.01-.32.173-.407.434-.404.463.003.631-.264.64-.678.007-.25.009-.5-.003-.75-.017-.374-.182-.62-.595-.59-.335.024-.51-.11-.501-.453.01-.447-.197-.662-.653-.632-.302.02-.494-.115-.467-.436.047-.54-.227-.697-.712-.658-.23.018-.463.012-.695.002-.401-.016-.606.156-.588.569.013.308-.08.538-.446.518-.46-.025-.647.205-.646.646.002.26-.092.471-.406.437-.57-.063-.715.259-.707.743.003.214-.01.428-.017.643-.015.459.174.714.667.679.2-.014.466-.016.446.247-.057.737.45.78 1.03.904m3.045-34.319c.168-.52.09-.686-.395-.731a7 7 0 0 0-1.018-.007c-.256.011-.375.177-.382.43-.007.249.09.435.353.444.46.018.927.105 1.442-.136m56.202-.755c-.177.012-.36.003-.531.041-.236.053-.364.22-.358.467.007.274.19.372.426.379q.536.016 1.07-.004c.282-.009.406-.19.417-.457.012-.273-.155-.385-.396-.409-.177-.016-.356-.013-.628-.017M263.345 5.975c-.616.696-.774 11.128-.697 37.236l.24 36.237h19.335l.239-36.617c.158-28.815 0-36.775-.774-37.31-1.774-1.078-17.33-.778-18.343.454m30.873.474c-.851 1.62-1.074 68.441-.22 71.686.378 1.612.758 1.693 9.89 1.693 7.976 0 9.604-.239 9.985-1.235.85-2.167.539-70.609-.3-72.221-.777-1.313-1.71-1.47-9.686-1.47-7.96 0-8.892.157-9.67 1.55M325.71 5.36c-.304.316-.539 4.019-.539 8.2v7.562h19.417l-.223-7.96-.235-7.879-8.973-.223c-4.873-.08-9.13.081-9.447.3m203.814.616c-.632.696-.85 3.565-.697 7.96l.223 6.806h19.352l.222-7.264c.163-5.331-.08-7.502-.773-7.96-.539-.3-4.716-.616-9.196-.616-6.125 0-8.511.316-9.131 1.074m309.95-.616c-.3.316-.539 4.019-.539 8.2v7.562h19.417l-.223-7.96-.235-7.879-8.973-.223c-4.873-.08-9.13.081-9.447.3m-350.57 6.186c-.238.697-.473 4.638-.473 8.88v7.644h-3.403c-3.942 0-4.335.55-4.335 6.485 0 4.797.851 5.874 4.793 5.874h2.945v8.273c0 4.638.235 11.743.534 15.827l.478 7.575h7.422l.235 3.626.223 3.719h22.442l.235-5.331c.158-3.784-.08-5.57-.778-5.951-.538-.397-3.163-.697-5.87-.697h-4.808l.158-13.368.235-13.28 5.412-.397 5.412-.376V28.462l-5.412-.393-5.412-.381-.235-8.734-.223-8.64h-9.528c-8.037 0-9.666.218-10.046 1.23M130.74 28.62c-.316.223-.555 16.366-.555 35.843 0 32.975.08 35.446 1.393 35.985.697.393 5.266.539 10.063.393l8.669-.235V79.824h14.308c10.917 0 14.32-.235 14.401-.992.081-.474.142-2.167.22-3.642.08-2.706.08-2.706 4.18-2.925l4.035-.239V35.948l-2.407-.458a30 30 0 0 0-4.253-.462c-1.698 0-1.856-.316-1.856-3.483v-3.476h-23.905l-.239 2.864c-.218 2.94-.218 2.94-3.86 3.16l-3.719.243v-6.267h-7.98c-4.396 0-8.273.235-8.495.55m36.584 25.259v13.514l-8.195.235c-4.497.142-8.357.08-8.515-.081-.158-.154-.3-6.328-.3-13.75V40.429h17.014Zm37.755-22.171c-.218 3.544-.3 3.702-2.548 3.544a22.7 22.7 0 0 0-4.018.24l-1.787.315v36.22l4.1.24 4.035.218.218 3.719.24 3.625 19.89-.162 19.874-.218.24-3.72.238-3.62h8.434V54.035c0-17.533-.08-18.169-1.551-18.627-.855-.3-2.706-.38-4.1-.223-2.406.223-2.483.146-2.864-3.24l-.397-3.484-19.874-.235-19.89-.162Zm28.009 22.248v13.514h-16.232V40.424h16.232ZM325.71 28.62c-.304.223-.539 11.885-.539 25.873v25.412l9.524-.235 9.435-.222.235-25.728.142-25.651h-9.115c-5.031 0-9.447.235-9.682.55m28.244 25.1.239 25.729h19.335l.24-19.542.161-19.482h16.233l.158 19.482.239 19.542h19.335l.239-21.79.158-21.791-4.035-.219-4.1-.239-.222-3.702-.235-3.638-12.534.158-12.534.235-.239 2.848-.235 2.945h-7.656v-6.186h-14.705Zm68.867-19.703.222 6.032 15.334.235 15.316.141-.235 3.72-.239 3.625-12.752.393-12.773.38-.077 3.087v3.104l-3.942.218c-3.338.162-4.034.539-4.415 1.933-.616 2.248-.616 7.182 0 11.662l.539 3.561h7.421l.24 3.622.234 3.719 11.837.222 11.76.235v-6.327l3.719.223c3.638.235 3.638.235 3.86 3.082l.235 2.945h14.625v-43.88l-2.326-.539c-1.235-.3-2.629-.3-3.01-.08-1.786 1.174-3.18-.536-3.18-3.861v-3.403h-42.628Zm30.795 29.973v3.484h-14.7V60.52h14.7Zm75.434-34.988c-.223.538-.3 12.12-.223 25.732l.223 24.715h19.352V28.462l-9.524-.235c-7.203-.162-9.589.08-9.828.774m37.14 0a21.5 21.5 0 0 0-.54 3.702c-.234 2.706-.234 2.706-4.334 2.945l-4.018.219.158 17.93.218 17.913 4.04.24 4.018.234.235 3.626.223 3.638 19.971.222 19.874.158v-7.72h8.511V35.805h-3.005c-4.89 0-5.51-.555-5.51-4.334v-3.403H586.32c-15.175 0-19.89.235-20.13.932m28.248 24.954v13.514h-16.252V40.424h16.252ZM623.52 28.7c-.218.458-.141 34.052.24 48.182l.08 2.945h9.59c8.053 0 9.665-.239 10.062-1.235.239-.697.458-9.508.458-19.7v-18.53l7.98.22 7.891.238.381 19.307.397 19.324h19.336V36.183l-3.877-.38-3.86-.398-.382-3.463-.393-3.484-12.533-.235-12.611-.162v6.19h-7.738v-6.186h-7.283c-4.019 0-7.499.316-7.738.632m74.219.304a20.3 20.3 0 0 0-.555 3.702c-.223 2.706-.223 2.706-4.254 2.945l-4.103.219v7.66c0 4.16.239 8.102.478 8.8.3.93 1.535 1.235 4.172 1.235h3.784l.243 3.24.235 3.322 11.059.243 10.982.235v6.867h-14.462c-8.057 0-15.017.3-15.556.697-.696.38-.931 2.167-.773 5.95l.235 5.332H731l.234-3.638.223-3.626 4.035-.235 4.019-.239.239-6.55c.3-9.589.141-10.047-4.497-10.047h-3.796l-.223-3.326-.234-3.24-11.222-.381-11.221-.397V40.82l14.243-.239c7.9-.08 14.624-.457 15.082-.838.539-.474.774-2.941.616-6.186l-.3-5.49h-20.052c-15.394 0-20.19.236-20.41.933m80.624 0c-.162.538-.162 3.24.142 6.027l.474 5.02 14.923.235 14.86.141v7.738h-25.522v6.947h-8.515v16.917l4.096.24 4.018.218.243 3.719.219 3.702 11.772-.235 11.756-.222.24-2.941c.222-2.864.299-2.864 3.62-2.864 3.343 0 3.42 0 3.643 2.864l.239 2.94 7.575.223 7.502.235v-22.09c0-17.075-.222-22.009-.915-22.09-.555-.08-2.406-.158-4.1-.235-3.103-.08-3.103-.08-3.496-3.544l-.38-3.484-20.969-.235c-16.406-.162-21.125 0-21.425.774m30.398 34.988v3.56l-7.121-.238-7.183-.223-.239-2.167c-.457-4.096 0-4.4 7.58-4.4h6.963Zm30.176-10.034v25.873h19.117l.458-8.734a271 271 0 0 0 0-33.594l-.458-9.431h-19.117Zm-89.677 9.195c-.615.697-.85 3.622-.692 8.641l.235 7.657 8.357.222 8.353.235-.235-8.734-.223-8.717-7.437-.24c-5.729-.157-7.657.082-8.358.932m0 0"/></svg>';
|
|
937
|
+
var lockup_horizontal_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 858.891 105.6" fill="currentColor">%0A <g transform="translate(-13.81 -16.241) scale(0.921)"><path fill-rule="evenodd" d="M73.832 19.293a1893.685 1893.685 0 0 0-7.742 9.047c-1.93 2.273-3.274 3.898-4.266 5.156-.988 1.258-1.62 2.149-2.117 2.957-.5.805-.86 1.531-1.309 2.453-.14.285-.277.563-.402.813-.121.254-.238.48-.332.676a20.107 20.107 0 0 1-.34.652c-.008.008-.062 0-.156-.02s-.227-.047-.383-.09c-.16-.039-.351-.09-.558-.148-.207-.059-.43-.121-.668-.191-1.079-.32-1.895-.559-2.684-.743-.79-.18-1.55-.3-2.516-.382-.96-.082-2.129-.121-3.734-.145-1.602-.02-3.64-.023-6.348-.023H35.31l-2.485-.004H30.34v20.574l-.527.059-.524.058-1.055.117c-.59.067-1.203.157-1.84.274-.636.113-1.292.25-1.968.414-.676.16-1.371.348-2.086.555-.715.21-1.445.441-2.195.695-.47.16-1.024.36-1.594.574a64.38 64.38 0 0 0-1.684.649c-.523.207-.992.398-1.328.546-.336.149-.539.246-.539.274 0 .039.07.234.191.535.118.297.29.7.485 1.156.195.453.418.961.644 1.473.227.508.461 1.02.676 1.484a52.041 52.041 0 0 0 9.54 13.926 47.507 47.507 0 0 0 6.14 5.41c2.164 1.59 4.426 2.953 6.75 4.047a51.197 51.197 0 0 0 3.414 1.461c1.129.43 2.242.805 3.36 1.125 1.112.324 2.226.59 3.343.809a39.04 39.04 0 0 0 3.375.504c.84.085 1.781.136 2.777.156a51.632 51.632 0 0 0 6.203-.266 34.786 34.786 0 0 0 2.836-.394 59.177 59.177 0 0 1 2.633-.442c.149-.02.235-.023.246-.015.043.043-.02.195-.152.414a9.01 9.01 0 0 1-.582.812c-.242.313-.527.645-.813.965-.289.316-.582.617-.851.86-.57.519-1.168.968-1.809 1.355-.64.383-1.324.703-2.07.969-.746.261-1.555.464-2.441.617-.891.156-1.856.258-2.926.316-1.36.07-2.582.207-3.703.422-1.118.211-2.13.496-3.07.871-.938.375-1.801.84-2.618 1.403a15.82 15.82 0 0 0-2.351 2 14.205 14.205 0 0 0-1.489 1.765 13.256 13.256 0 0 0-1.148 1.945 15.518 15.518 0 0 0-.856 2.207 20.834 20.834 0 0 0-.59 2.543c-.058.348-.105.61-.156.817-.05.207-.105.36-.183.484a1.184 1.184 0 0 1-.325.332c-.144.106-.332.211-.578.356a9.157 9.157 0 0 0-2.543 2.183 8.797 8.797 0 0 0-1.52 2.813 8.33 8.33 0 0 0-.382 3.113 7.995 7.995 0 0 0 .852 3.098 7.95 7.95 0 0 0 1.574 2.117 9.294 9.294 0 0 0 2.168 1.566c.789.418 1.629.715 2.469.868.84.152 1.68.167 2.472.007a7.941 7.941 0 0 0 1.188-.336c.406-.144.82-.32 1.222-.515.399-.2.79-.418 1.149-.653.36-.234.691-.476.976-.73a6.93 6.93 0 0 0 1.473-1.86c.39-.71.68-1.492.855-2.308.176-.82.243-1.676.188-2.527a8.74 8.74 0 0 0-.531-2.516 5.919 5.919 0 0 0-.68-1.281c-.289-.43-.64-.856-1.031-1.258a10.34 10.34 0 0 0-1.262-1.11 8.299 8.299 0 0 0-1.379-.847c-.414-.2-.722-.352-.95-.492-.226-.137-.366-.27-.44-.43-.075-.16-.083-.352-.043-.613.039-.266.125-.598.242-1.043.226-.871.566-1.695 1.004-2.465a10.426 10.426 0 0 1 3.672-3.754c.77-.46 1.605-.836 2.492-1.102.152-.046.386-.093.675-.144a30.829 30.829 0 0 1 2.246-.273c.43-.043.876-.075 1.317-.102a41.754 41.754 0 0 0 2.773-.25 19.813 19.813 0 0 0 2.243-.406 13.283 13.283 0 0 0 1.918-.621c.609-.246 1.199-.536 1.804-.88a20.824 20.824 0 0 0 1.774-1.116c.539-.383 1.031-.786 1.511-1.227.48-.445.942-.934 1.415-1.488.468-.559.953-1.18 1.468-1.899l.309-.426.308-.43.313-.429.309-.426v19.633l-.399.262-.402.265-.797.532a11.66 11.66 0 0 0-1.567 1.21c-.44.41-.808.837-1.113 1.305-.305.465-.55.97-.746 1.535-.2.567-.351 1.192-.473 1.903a7.401 7.401 0 0 0 .024 2.574 8.502 8.502 0 0 0 2.441 4.543 7.787 7.787 0 0 0 2.157 1.496c.804.367 1.632.61 2.46.715.829.105 1.66.082 2.47-.07a7.963 7.963 0 0 0 2.343-.828 8.831 8.831 0 0 0 2.094-1.567c.406-.402.738-.789 1.011-1.18.27-.394.48-.796.641-1.234.156-.441.266-.918.336-1.473.07-.55.102-1.171.105-1.894 0-.524 0-.93-.011-1.266a6.504 6.504 0 0 0-.074-.836 3.967 3.967 0 0 0-.192-.683c-.09-.23-.207-.485-.355-.805a7.845 7.845 0 0 0-1.594-2.262 8.117 8.117 0 0 0-1.07-.879 9.342 9.342 0 0 0-1.254-.718l-.348-.164-.348-.16-.343-.165-.348-.164v-4.957l-.004-2.476v-2.48c0-1.36.004-2.657.012-3.833.008-1.176.02-2.23.035-3.11.016-.882.035-1.589.055-2.07.02-.48.043-.734.066-.707.02.028.074.102.156.208l.301.421c.121.168.258.364.406.575.145.207.305.433.461.664.38.543.735 1.027 1.09 1.468.352.438.703.832 1.063 1.2.363.367.742.707 1.148 1.039.406.328.844.652 1.332.98.777.528 1.5.965 2.223 1.328.718.364 1.437.657 2.203.89.765.235 1.582.411 2.496.544.914.137 1.93.23 3.094.3.433.024.867.055 1.289.087a40.742 40.742 0 0 1 2.148.215c.27.035.477.07.602.101.965.234 1.898.64 2.761 1.168a11.119 11.119 0 0 1 2.34 1.93 10.355 10.355 0 0 1 1.688 2.437c.43.867.707 1.781.805 2.695l.03.313.032.309.035.316.031.309-.27.14-.538.274-.274.136c-.828.426-1.558.922-2.183 1.493a7.954 7.954 0 0 0-1.54 1.91 7.731 7.731 0 0 0-.87 2.273 9.264 9.264 0 0 0-.172 2.594c.066.96.285 1.871.64 2.703a7.903 7.903 0 0 0 1.446 2.258 8.316 8.316 0 0 0 2.14 1.683c.817.45 1.727.782 2.715.98 1.309.255 2.617.126 3.836-.3a8.813 8.813 0 0 0 3.266-2.05 8.893 8.893 0 0 0 2.117-3.239c.453-1.21.613-2.527.387-3.848a9.06 9.06 0 0 0-1.504-3.644 9.344 9.344 0 0 0-1.301-1.477 8.97 8.97 0 0 0-1.61-1.16c-.18-.097-.347-.2-.507-.293-.16-.097-.305-.183-.434-.265-.125-.082-.23-.153-.312-.211a.573.573 0 0 1-.137-.121.813.813 0 0 1-.063-.184c-.027-.094-.058-.223-.097-.375a11.147 11.147 0 0 1-.11-.512c-.039-.187-.082-.39-.12-.594-.098-.5-.227-1.023-.383-1.554a19.7 19.7 0 0 0-.551-1.594c-.207-.527-.43-1.039-.668-1.512a12.868 12.868 0 0 0-.735-1.3 12.93 12.93 0 0 0-1.582-1.954 15.064 15.064 0 0 0-1.98-1.691 15.833 15.833 0 0 0-2.27-1.355 14.35 14.35 0 0 0-2.449-.934 9.33 9.33 0 0 0-.836-.188 25.72 25.72 0 0 0-1.094-.18 40.224 40.224 0 0 0-2.605-.269 51.614 51.614 0 0 1-1.281-.11 47.27 47.27 0 0 1-1.242-.128 37.65 37.65 0 0 1-1.067-.14 12.643 12.643 0 0 1-.746-.133 11.48 11.48 0 0 1-1.508-.458c-.5-.187-.996-.414-1.472-.668a12.371 12.371 0 0 1-2.606-1.847 16.117 16.117 0 0 1-1.676-1.836 5.604 5.604 0 0 1-.465-.707c-.097-.192-.125-.324-.074-.375.016-.016.117-.012.285.004.168.015.407.047.696.09.293.039.633.093 1.008.156.37.062.78.137 1.207.215a60.65 60.65 0 0 0 1.789.304c.527.079 1.011.133 1.535.172.523.04 1.09.063 1.777.078.692.016 1.504.02 2.527.024 1.22 0 2.204-.008 3.06-.031a27.474 27.474 0 0 0 2.257-.153 20.662 20.662 0 0 0 2.047-.336 48.885 48.885 0 0 0 2.426-.59 44.634 44.634 0 0 0 5.347-1.761 42.256 42.256 0 0 0 4.98-2.387 43.059 43.059 0 0 0 4.633-3.031 46.976 46.976 0 0 0 4.329-3.692 55.822 55.822 0 0 0 3.312-3.468 49.244 49.244 0 0 0 2.879-3.63 50.142 50.142 0 0 0 2.516-3.886 57.29 57.29 0 0 0 2.23-4.258c.375-.793.691-1.48.95-2.066.257-.59.46-1.078.613-1.473.144-.398.242-.7.285-.918.047-.219.039-.351-.016-.402-.078-.07-.41-.23-.902-.442a57.272 57.272 0 0 0-1.828-.73c-.692-.262-1.434-.535-2.121-.777a36.517 36.517 0 0 0-1.778-.586 54.289 54.289 0 0 0-3.531-.879 48.341 48.341 0 0 0-1.715-.332 23.874 23.874 0 0 0-1.465-.215l-.633-.07-.312-.04-.316-.035V39.301l-2.461.004h-2.461l-2.457.004h-2.461c-2.645.004-4.664.007-6.266.03-1.605.024-2.797.067-3.789.141-.992.079-1.789.192-2.598.356-.812.164-1.64.383-2.703.668a23.531 23.531 0 0 1-1.203.3c-.16.036-.289.06-.383.075-.093.016-.148.02-.156.008a29.962 29.962 0 0 1-.355-.672c-.102-.2-.22-.434-.348-.692a79.19 79.19 0 0 1-.418-.828c-.45-.902-.785-1.578-1.168-2.234-.379-.66-.805-1.297-1.422-2.117-.617-.817-1.433-1.82-2.594-3.203-1.16-1.387-2.671-3.153-4.68-5.508-1.398-1.64-2.53-2.961-3.44-4.02a272.265 272.265 0 0 0-2.122-2.441c-.523-.59-.875-.973-1.11-1.211-.237-.234-.355-.324-.402-.32-.015 0-.07.047-.156.132-.086.086-.199.207-.34.356-.136.148-.296.328-.472.523-.172.2-.364.414-.555.641m7.059 11.504a151.52 151.52 0 0 1 3.582 4.336 58.05 58.05 0 0 1 2.488 3.336c.66.965 1.16 1.793 1.516 2.515.355.72.57 1.332.66 1.868.023.14.039.25.031.347a.526.526 0 0 1-.09.262 1.205 1.205 0 0 1-.266.262c-.12.093-.285.199-.492.332-.332.21-.773.554-1.265.976-.493.426-1.043.934-1.594 1.473a43.455 43.455 0 0 0-1.625 1.672 25.487 25.487 0 0 0-1.348 1.574c-.398.512-.812 1.09-1.222 1.703a39.76 39.76 0 0 0-1.204 1.91 39.73 39.73 0 0 0-1.085 1.946c-.329.636-.622 1.25-.86 1.812-.34.809-.672 1.727-.976 2.688-.305.96-.582 1.964-.817 2.945-.234.984-.43 1.945-.562 2.816-.137.871-.215 1.653-.215 2.282-.004.609-.024 1.054-.055 1.332-.035.277-.086.386-.152.328-.067-.055-.149-.278-.246-.664a26.572 26.572 0 0 1-.336-1.66 76.29 76.29 0 0 0-.54-2.758 81.86 81.86 0 0 0-.624-2.66c-.211-.844-.43-1.637-.645-2.34a22.878 22.878 0 0 0-.617-1.801 24.472 24.472 0 0 0-.742-1.66 48.94 48.94 0 0 0-2.047-3.746c-.36-.59-.707-1.13-1.027-1.582a21.393 21.393 0 0 0-1.153-1.446 44.776 44.776 0 0 0-1.558-1.71 47.283 47.283 0 0 0-1.657-1.657c-.539-.512-1.043-.96-1.468-1.3-.172-.141-.34-.278-.489-.41a8.144 8.144 0 0 1-.402-.376 3.846 3.846 0 0 1-.27-.293c-.066-.082-.101-.144-.101-.176 0-.105.098-.378.262-.753.16-.372.386-.848.644-1.356.258-.508.547-1.05.828-1.562a24.735 24.735 0 0 1 1.582-2.508c.262-.371.543-.746.871-1.16.329-.418.7-.871 1.149-1.407.45-.535.973-1.144 1.601-1.87.235-.27.536-.614.875-1.005.336-.394.715-.832 1.114-1.293.394-.46.808-.937 1.215-1.41.402-.472.8-.933 1.168-1.363l.668-.777.668-.774.667-.777.665-.778.117.118.113.12.117.118.113.117a110.75 110.75 0 0 1 1.668 1.914l1.555 1.809c.57.664 1.184 1.383 1.813 2.12M51.227 44.149c.425.09.867.2 1.304.317.434.117.864.242 1.254.37.395.13.754.259 1.055.38.297.12.535.234.687.332.051.035.09.094.11.191.02.098.023.239.011.442-.015.199-.046.457-.097.793-.055.336-.125.75-.215 1.257-.094.524-.172.989-.23 1.446-.06.457-.106.91-.137 1.41a32.68 32.68 0 0 0-.067 1.7c-.011.648-.015 1.401-.015 2.312 0 .98.004 1.761.015 2.414.012.648.035 1.172.07 1.644.04.473.09.89.165 1.336.07.446.164.918.285 1.488.074.348.156.72.242 1.094.082.375.168.754.254 1.11.086.359.168.695.242.992.074.3.14.554.195.75.055.195.102.383.149.554.043.172.082.329.113.461.031.13.059.239.07.317.016.078.02.125.012.133a.942.942 0 0 1-.183-.079 35.955 35.955 0 0 1-1.148-.629c-.255-.144-.532-.304-.821-.472a95.651 95.651 0 0 0-2.031-1.152 44.616 44.616 0 0 0-1.723-.899 34 34 0 0 0-1.633-.75 44.224 44.224 0 0 0-1.762-.715 50.86 50.86 0 0 0-2.855-1.004 45.68 45.68 0 0 0-2.8-.793 39.106 39.106 0 0 0-2.653-.562 26.924 26.924 0 0 0-2.406-.309l-.426-.03-.426-.036-.426-.031-.426-.035V43.758h7.215c1.578.004 2.832.008 3.852.015 1.02.012 1.8.028 2.437.055a20.37 20.37 0 0 1 1.547.117c.43.051.797.117 1.196.203m64.886 7.493c0 1.23-.008 2.34-.015 3.312-.008.977-.02 1.817-.04 2.504-.015.691-.038 1.23-.062 1.602-.023.367-.05.57-.082.59a1.259 1.259 0 0 1-.281.07c-.153.031-.367.062-.617.101-.254.035-.547.078-.868.117-.32.043-.664.083-1.02.122-.765.086-1.538.199-2.323.343-.79.141-1.59.313-2.407.516-.816.203-1.652.434-2.503.7-.856.26-1.73.558-2.625.882-.735.266-1.305.477-1.801.672-.496.195-.918.375-1.348.578-.43.203-.867.43-1.398.723-.528.289-1.149.644-1.946 1.101a34.54 34.54 0 0 1-1.644.895 9.035 9.035 0 0 1-.528.242c-.128.055-.21.074-.226.059-.016-.016-.02-.082-.012-.184a5.49 5.49 0 0 1 .055-.422c.031-.172.066-.371.113-.59.043-.219.098-.457.156-.699.258-1.082.454-1.906.602-2.613.152-.703.258-1.282.332-1.867.078-.583.125-1.172.156-1.895.035-.723.059-1.578.086-2.695.024-.98.04-1.77.043-2.434.004-.66-.004-1.2-.027-1.684a17.76 17.76 0 0 0-.113-1.355 29.95 29.95 0 0 0-.223-1.445c-.152-.887-.27-1.543-.336-2.035-.066-.493-.086-.825-.04-1.059a.664.664 0 0 1 .333-.492c.18-.117.437-.207.781-.336.692-.266 1.29-.469 1.926-.63.637-.16 1.309-.276 2.152-.358.84-.082 1.852-.133 3.164-.16 1.309-.032 2.922-.044 4.965-.047l3.813-.008h1.902l1.906-.004v7.883m-25.05-2.368c.195 1.02.343 1.977.437 2.91.098.934.14 1.837.133 2.75a25.621 25.621 0 0 1-.18 2.797c-.11.961-.273 1.961-.488 3.036a39.395 39.395 0 0 1-.746 3.12 31.161 31.161 0 0 1-.946 2.829c-.355.906-.75 1.781-1.187 2.64a30.9 30.9 0 0 1-1.473 2.555c-.215.34-.597.86-1.074 1.469a76.18 76.18 0 0 1-1.625 2.012 79.82 79.82 0 0 1-1.73 2.011 30.987 30.987 0 0 1-1.387 1.489l-.258.25-.262.254-.257.253-.262.254.02-1.62.023-1.622.02-1.617.019-1.621c.02-1.414.035-2.543.058-3.465.02-.922.047-1.637.082-2.227.036-.59.082-1.054.141-1.472.059-.422.133-.797.227-1.211a38.117 38.117 0 0 1 1.086-3.91c.418-1.235.89-2.403 1.433-3.524a28.68 28.68 0 0 1 1.82-3.222 31.184 31.184 0 0 1 2.258-3.012 18.08 18.08 0 0 1 1.012-1.086c.367-.363.746-.715 1.106-1.023.355-.31.69-.575.964-.762.27-.188.48-.297.59-.297.035 0 .07.031.11.086.039.05.078.129.12.226a4.214 4.214 0 0 1 .216.75m-28.895.91c.914.915 1.738 1.86 2.488 2.86a25.52 25.52 0 0 1 2.028 3.187 30.027 30.027 0 0 1 1.636 3.645 42.64 42.64 0 0 1 1.32 4.23c.122.485.22.872.294 1.274.074.406.125.832.164 1.387.043.554.07 1.242.09 2.171.023.934.039 2.11.058 3.645.02 1.441.035 2.566.04 3.438.003.87 0 1.488-.016 1.921-.016.434-.043.68-.086.813-.04.129-.094.14-.16.101-.106-.058-.376-.324-.743-.722-.367-.399-.84-.926-1.34-1.512a82.643 82.643 0 0 1-1.539-1.832 48.185 48.185 0 0 1-1.34-1.695c-.34-.45-.722-1.031-1.117-1.688a40.534 40.534 0 0 1-1.183-2.125 43.623 43.623 0 0 1-1.075-2.207 21.82 21.82 0 0 1-.773-1.933c-.07-.215-.152-.477-.238-.762-.082-.29-.172-.602-.258-.922a49.961 49.961 0 0 1-.461-1.844c-.187-.86-.316-2.113-.395-3.508a62.606 62.606 0 0 1-.066-4.378c.027-1.434.106-2.762.227-3.735.12-.969.285-1.578.492-1.578.023 0 .097.05.21.14.11.09.259.22.438.38a44.358 44.358 0 0 1 1.305 1.25m53.23 15.39a24.897 24.897 0 0 1-.965 4.492 26.72 26.72 0 0 1-.824 2.25 33.11 33.11 0 0 1-1.058 2.305c-.344.676-.66 1.262-.98 1.805-.321.543-.641 1.035-.997 1.523-.351.485-.734.961-1.18 1.473-.445.508-.953 1.05-1.542 1.66a35.204 35.204 0 0 1-1.579 1.54c-.496.448-.976.847-1.468 1.21-.493.367-1 .703-1.551 1.031-.55.328-1.145.649-1.817.989-.84.421-1.624.761-2.445 1.03a15.58 15.58 0 0 1-2.683.626c-1.004.152-2.145.25-3.532.308-1.382.063-3.011.082-4.98.082H82.18l.03-.113.036-.113.031-.113.035-.114c.055-.199.243-.582.516-1.074.274-.496.633-1.101 1.027-1.746.399-.645.836-1.324 1.266-1.969.43-.644.852-1.25 1.219-1.746a44.604 44.604 0 0 1 5.883-6.445 41.569 41.569 0 0 1 6.812-4.977 38.048 38.048 0 0 1 7.477-3.36 34.711 34.711 0 0 1 7.886-1.585c.11-.008.22-.02.325-.027.105-.008.203-.02.293-.028.09-.008.164-.02.226-.023.063-.008.106-.016.13-.02.023-.004.038.024.05.078a.934.934 0 0 1 .023.239c.004.101 0 .226-.007.363-.008.137-.02.29-.04.45M30.934 66.89c.242 1.234.562 2.488.945 3.738a41.182 41.182 0 0 0 1.32 3.68 37.438 37.438 0 0 0 1.61 3.425 27.185 27.185 0 0 0 1.816 2.961c.45.633.992 1.313 1.594 2.004a38.232 38.232 0 0 0 1.949 2.074c.687.68 1.395 1.34 2.098 1.942.699.597 1.39 1.144 2.03 1.597.298.208.575.407.825.59.25.184.469.352.649.496.18.141.32.258.41.344.09.082.129.133.105.14-.066.028-.328-.038-.71-.167-.384-.13-.891-.324-1.458-.555a48.612 48.612 0 0 1-1.812-.777 38.066 38.066 0 0 1-7.352-4.297 42.01 42.01 0 0 1-5.043-4.422 44.733 44.733 0 0 1-4.37-5.254 45.026 45.026 0 0 1-3.575-5.941c-.125-.258-.25-.504-.356-.735-.109-.226-.207-.433-.285-.609-.078-.176-.14-.32-.18-.422-.042-.101-.058-.164-.05-.172.008-.008.062-.031.148-.066.09-.035.211-.082.36-.137.144-.05.32-.113.507-.18l.614-.21c.433-.145.988-.297 1.593-.446a39.578 39.578 0 0 1 3.805-.73c.574-.078 1.07-.125 1.434-.133l.23-.004.235-.004.23-.004.234-.004.114.57.109.57.113.567.114.57m8.199-1.87c1.383.238 2.8.59 4.226 1.039 1.426.449 2.856 1 4.27 1.636a42.064 42.064 0 0 1 4.16 2.164c1.348.801 2.648 1.68 3.879 2.621.41.317.95.778 1.547 1.32a69.069 69.069 0 0 1 1.914 1.805c.652.641 1.3 1.293 1.871 1.899a31.34 31.34 0 0 1 1.422 1.586 46.416 46.416 0 0 1 1.726 2.27c.57.796 1.125 1.613 1.622 2.39.5.781.94 1.52 1.285 2.152.343.637.593 1.172.71 1.543l.032.114.035.113.04.113.03.113h-5.511c-1.918 0-3.48-.02-4.801-.078-1.324-.058-2.41-.156-3.371-.312a15.68 15.68 0 0 1-2.63-.653c-.831-.289-1.651-.652-2.581-1.109a20.527 20.527 0 0 1-3.137-1.926 24.776 24.776 0 0 1-2.902-2.523 26.07 26.07 0 0 1-2.528-2.988 24.005 24.005 0 0 1-2.011-3.305 35.404 35.404 0 0 1-1.192-2.649 38.321 38.321 0 0 1-.968-2.66 25.394 25.394 0 0 1-.645-2.39c-.156-.72-.238-1.348-.238-1.832 0-.211 0-.371.011-.489.012-.12.032-.203.079-.257.043-.055.105-.082.203-.098.093-.016.222-.016.39-.016.094 0 .25.012.453.032.204.023.454.05.73.09.278.035.583.078.903.128.32.047.653.102.977.157m84.953.085c.336.06.809.168 1.336.297.523.13 1.101.282 1.64.434.543.152 1.051.305 1.43.43.387.125.649.222.7.273.027.023-.028.184-.149.45-.121.265-.3.632-.527 1.062-.223.433-.493.93-.79 1.457a56.9 56.9 0 0 1-.937 1.633 44.31 44.31 0 0 1-3.473 5.027 46.345 46.345 0 0 1-4.12 4.531 43.203 43.203 0 0 1-4.571 3.848 34.726 34.726 0 0 1-4.82 2.969 42.898 42.898 0 0 1-3.02 1.367c-.469.191-.89.351-1.207.457-.32.105-.535.156-.598.137-.027-.012.004-.055.079-.133.074-.074.195-.18.351-.309.153-.129.348-.281.563-.445.218-.164.465-.344.722-.531a31.987 31.987 0 0 0 3.067-2.473 30.025 30.025 0 0 0 4.992-5.887 32.018 32.018 0 0 0 1.953-3.441c.398-.809.75-1.57 1.059-2.309a30.121 30.121 0 0 0 1.48-4.39c.188-.758.363-1.547.52-2.391l.109-.59.113-.586.11-.59.109-.586h1.133c.156 0 .347.008.566.024.215.012.457.035.703.062a20.21 20.21 0 0 1 1.477.203m-79.191 55.711c.363.23.671.555.917.934.247.379.426.816.536 1.273.109.457.148.938.105 1.407a3.61 3.61 0 0 1-.371 1.336c-.156.304-.332.57-.539.808a3.303 3.303 0 0 1-1.512.996 4.104 4.104 0 0 1-.965.184 4.468 4.468 0 0 1-1.03-.043 3.427 3.427 0 0 1-1.719-.805 4.434 4.434 0 0 1-.696-.77 3.378 3.378 0 0 1-.555-1.284 4.203 4.203 0 0 1-.046-1.434c.066-.48.21-.945.43-1.36.214-.413.507-.78.87-1.058a3.654 3.654 0 0 1 1.059-.555c.383-.132.789-.207 1.2-.222.41-.02.82.023 1.214.12.39.102.766.259 1.102.473m64.375-.195c.175.086.37.23.574.406.199.176.402.38.586.598.187.215.36.438.492.652.133.211.226.407.266.567.019.07.035.168.042.285.012.113.02.25.024.398.004.145 0 .301-.004.457a8.875 8.875 0 0 1-.023.461 3.545 3.545 0 0 1-.774 1.953 3.866 3.866 0 0 1-3.625 1.368 3.584 3.584 0 0 1-1.883-.95 4.289 4.289 0 0 1-.55-.609 2.827 2.827 0 0 1-.352-.637 3.475 3.475 0 0 1-.188-.746 6.793 6.793 0 0 1-.054-.941c0-.352.027-.672.082-.961.05-.293.137-.555.25-.797.117-.242.265-.465.449-.676.188-.21.406-.41.668-.601.25-.188.547-.328.879-.434a4.168 4.168 0 0 1 1.05-.187c.364-.024.735 0 1.09.066.36.062.7.176 1 .328m-31.93.473c.177.125.368.328.556.57.183.242.367.531.527.824.16.293.297.598.394.88a2.5 2.5 0 0 1 .16.737c0 .258-.074.567-.206.895a5.551 5.551 0 0 1-.54.996 6 6 0 0 1-.742.906c-.265.27-.547.489-.816.63a2.93 2.93 0 0 1-1.024.3 3.709 3.709 0 0 1-1.117-.047 3.928 3.928 0 0 1-1.066-.37 3.194 3.194 0 0 1-.871-.669 4.034 4.034 0 0 1-.68-1.012 4.028 4.028 0 0 1-.355-1.12 3.802 3.802 0 0 1-.012-1.153 3.5 3.5 0 0 1 .344-1.094c.187-.363.375-.664.586-.91.21-.242.441-.43.71-.57.266-.14.57-.23.922-.282a6.496 6.496 0 0 1 1.239-.046c.254.011.472.027.664.046.195.024.363.055.515.098a2.284 2.284 0 0 1 .813.39"/></g>%0A <g transform="translate(-68.454 -154.133) scale(4.051)"><path d="M82.117 39.523c-.152.172-.191 2.747-.172 9.192l.059 8.945h4.773l.059-9.039c.039-7.113 0-9.078-.191-9.21-.438-.266-4.278-.192-4.528.112m7.621.117c-.21.4-.265 16.895-.054 17.696.093.398.187.418 2.441.418 1.969 0 2.371-.059 2.465-.305.21-.535.133-17.43-.074-17.828-.192-.324-.422-.363-2.391-.363-1.965 0-2.195.039-2.387.383m7.774-.27c-.075.078-.133.992-.133 2.024v1.867h4.793l-.055-1.965-.058-1.945-2.215-.055c-1.203-.02-2.254.02-2.332.074m50.312.152c-.156.172-.21.88-.172 1.965l.055 1.68h4.777l.055-1.793c.04-1.316-.02-1.852-.191-1.965-.133-.074-1.164-.152-2.27-.152-1.512 0-2.101.078-2.254.265m76.512-.152c-.074.078-.133.992-.133 2.024v1.867h4.793l-.055-1.965-.058-1.945-2.215-.055c-1.203-.02-2.254.02-2.332.074m-86.539 1.527c-.059.172-.117 1.145-.117 2.192v1.887h-.84c-.973 0-1.07.136-1.07 1.601 0 1.184.21 1.45 1.183 1.45h.727v2.042c0 1.145.058 2.899.132 3.907l.118 1.87h1.832l.058.895.055.918h5.54l.058-1.316c.039-.934-.02-1.375-.192-1.469-.133-.098-.781-.172-1.449-.172h-1.187l.039-3.3.058-3.278 1.336-.098 1.336-.093v-2.86l-1.336-.097-1.336-.094-.058-2.156-.055-2.133h-2.352c-1.984 0-2.386.054-2.48.304m-88.414 4.215c-.078.055-.137 4.04-.137 8.848 0 8.14.02 8.75.344 8.883.172.097 1.3.133 2.484.097l2.14-.058v-5.13h3.532c2.695 0 3.535-.058 3.555-.245.02-.117.035-.535.054-.899.02-.668.02-.668 1.032-.722l.996-.059v-8.906l-.594-.113a7.4 7.4 0 0 0-1.05-.114c-.419 0-.458-.078-.458-.86v-.858H55.38l-.059.707c-.054.726-.054.726-.953.78l-.918.06v-1.547h-1.97c-1.085 0-2.042.058-2.097.136m9.031 6.235v3.336l-2.023.058c-1.11.035-2.063.02-2.102-.02-.039-.038-.074-1.562-.074-3.394v-3.3h4.2Zm9.32-5.473c-.054.875-.074.914-.629.875a5.6 5.6 0 0 0-.992.059l-.441.078v8.941l1.012.059.996.054.054.918.059.895 4.91-.04 4.906-.054.059-.918.059-.894h2.082v-4.461c0-4.328-.02-4.485-.383-4.598-.211-.074-.668-.094-1.012-.055-.594.055-.613.036-.707-.8l-.098-.86-4.906-.058-4.91-.04Zm6.914 5.492v3.336h-4.007v-6.676h4.007Zm22.864-6.254c-.075.055-.133 2.934-.133 6.387v6.273l2.351-.058 2.329-.055.058-6.351.035-6.332h-2.25c-1.242 0-2.332.058-2.39.136m6.972 6.196.059 6.351h4.773l.059-4.824.04-4.809h4.007l.039 4.809.059 4.824h4.773l.059-5.379.039-5.379-.996-.054-1.012-.059-.055-.914-.058-.898-3.094.039-3.094.058-.059.703-.058.727h-1.89v-1.527h-3.63Zm17-4.864.055 1.489 3.785.058 3.781.035-.058.918-.059.895-3.148.097-3.153.094-.019.762v.766l-.973.054c-.824.04-.996.133-1.09.477-.152.555-.152 1.773 0 2.879l.133.879h1.832l.059.894.058.918 2.922.055 2.903.058v-1.562l.918.055c.898.058.898.058.953.761l.058.727h3.61V46.922l-.574-.133c-.305-.074-.649-.074-.743-.02-.441.29-.785-.132-.785-.953v-.84h-10.523Zm7.602 7.399v.86h-3.629v-1.716h3.629Zm18.621-8.637c-.055.133-.074 2.992-.055 6.352l.055 6.101h4.777V45.074l-2.351-.058c-1.778-.04-2.367.02-2.426.191m9.168 0a5.3 5.3 0 0 0-.133.914c-.058.668-.058.668-1.07.727l-.992.054.039 4.426.054 4.422.997.059.992.058.058.895.055.898 4.93.055 4.906.039v-1.906h2.101v-8.961h-.742c-1.207 0-1.36-.137-1.36-1.07v-.84h-4.866c-3.746 0-4.91.058-4.969.23m6.973 6.16v3.336h-4.012v-6.676h4.012Zm7.179-6.234c-.054.113-.035 8.406.059 11.894l.02.727h2.367c1.988 0 2.386-.059 2.484-.305.059-.172.113-2.347.113-4.863v-4.574l1.97.054 1.948.059.094 4.766.098 4.77h4.773V46.98l-.957-.094-.953-.098-.094-.855-.097-.86-3.094-.058-3.113-.04v1.528h-1.91v-1.527h-1.798c-.992 0-1.851.078-1.91.156m18.321.075a5 5 0 0 0-.137.914c-.055.668-.055.668-1.05.727l-1.013.054v1.891c0 1.027.059 2 .118 2.172.074.23.379.305 1.03.305h.934l.06.8.058.82 2.73.06 2.711.058v1.695h-3.57c-1.989 0-3.707.074-3.84.172-.172.094-.23.535-.191 1.469l.058 1.316h10.313l.058-.898.055-.895.996-.058.992-.059.059-1.617c.074-2.367.035-2.48-1.11-2.48h-.937l-.055-.821-.058-.8-2.77-.094-2.77-.098v-1.715l3.516-.059c1.95-.02 3.61-.113 3.723-.207.133-.117.191-.726.152-1.527l-.074-1.355h-4.95c-3.8 0-4.984.058-5.038.23m19.902 0c-.04.133-.04.8.035 1.488l.117 1.239 3.684.058 3.668.035v1.91h-6.3v1.715h-2.102v4.176l1.011.059.992.054.06.918.054.914 2.906-.058 2.902-.055.059-.726c.055-.707.074-.707.894-.707.825 0 .844 0 .899.707l.059.726 1.87.055 1.852.058V52.32c0-4.215-.055-5.433-.226-5.453-.137-.02-.594-.039-1.012-.058-.766-.02-.766-.02-.863-.875l-.094-.86-5.176-.058c-4.05-.04-5.215 0-5.289.191m7.504 8.637v.879l-1.758-.059-1.773-.055-.059-.535c-.113-1.011 0-1.086 1.871-1.086h1.719Zm7.449-2.477v6.387h4.719l.113-2.156a67 67 0 0 0 0-8.293l-.113-2.328h-4.719Zm-22.137 2.27c-.152.172-.21.894-.171 2.133l.058 1.89 2.063.055 2.062.058-.058-2.156-.055-2.152-1.836-.059c-1.414-.039-1.89.02-2.063.23m0 0"/></g>%0A</svg>%0A';
|
|
938
|
+
|
|
939
|
+
// src/brand/mark.svg
|
|
940
|
+
var mark_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="15 17.6409 119.9998 114.7498" fill="currentColor"><path fill-rule="evenodd" d="M73.832 19.293a1893.685 1893.685 0 0 0-7.742 9.047c-1.93 2.273-3.274 3.898-4.266 5.156-.988 1.258-1.62 2.149-2.117 2.957-.5.805-.86 1.531-1.309 2.453-.14.285-.277.563-.402.813-.121.254-.238.48-.332.676a20.107 20.107 0 0 1-.34.652c-.008.008-.062 0-.156-.02s-.227-.047-.383-.09c-.16-.039-.351-.09-.558-.148-.207-.059-.43-.121-.668-.191-1.079-.32-1.895-.559-2.684-.743-.79-.18-1.55-.3-2.516-.382-.96-.082-2.129-.121-3.734-.145-1.602-.02-3.64-.023-6.348-.023H35.31l-2.485-.004H30.34v20.574l-.527.059-.524.058-1.055.117c-.59.067-1.203.157-1.84.274-.636.113-1.292.25-1.968.414-.676.16-1.371.348-2.086.555-.715.21-1.445.441-2.195.695-.47.16-1.024.36-1.594.574a64.38 64.38 0 0 0-1.684.649c-.523.207-.992.398-1.328.546-.336.149-.539.246-.539.274 0 .039.07.234.191.535.118.297.29.7.485 1.156.195.453.418.961.644 1.473.227.508.461 1.02.676 1.484a52.041 52.041 0 0 0 9.54 13.926 47.507 47.507 0 0 0 6.14 5.41c2.164 1.59 4.426 2.953 6.75 4.047a51.197 51.197 0 0 0 3.414 1.461c1.129.43 2.242.805 3.36 1.125 1.112.324 2.226.59 3.343.809a39.04 39.04 0 0 0 3.375.504c.84.085 1.781.136 2.777.156a51.632 51.632 0 0 0 6.203-.266 34.786 34.786 0 0 0 2.836-.394 59.177 59.177 0 0 1 2.633-.442c.149-.02.235-.023.246-.015.043.043-.02.195-.152.414a9.01 9.01 0 0 1-.582.812c-.242.313-.527.645-.813.965-.289.316-.582.617-.851.86-.57.519-1.168.968-1.809 1.355-.64.383-1.324.703-2.07.969-.746.261-1.555.464-2.441.617-.891.156-1.856.258-2.926.316-1.36.07-2.582.207-3.703.422-1.118.211-2.13.496-3.07.871-.938.375-1.801.84-2.618 1.403a15.82 15.82 0 0 0-2.351 2 14.205 14.205 0 0 0-1.489 1.765 13.256 13.256 0 0 0-1.148 1.945 15.518 15.518 0 0 0-.856 2.207 20.834 20.834 0 0 0-.59 2.543c-.058.348-.105.61-.156.817-.05.207-.105.36-.183.484a1.184 1.184 0 0 1-.325.332c-.144.106-.332.211-.578.356a9.157 9.157 0 0 0-2.543 2.183 8.797 8.797 0 0 0-1.52 2.813 8.33 8.33 0 0 0-.382 3.113 7.995 7.995 0 0 0 .852 3.098 7.95 7.95 0 0 0 1.574 2.117 9.294 9.294 0 0 0 2.168 1.566c.789.418 1.629.715 2.469.868.84.152 1.68.167 2.472.007a7.941 7.941 0 0 0 1.188-.336c.406-.144.82-.32 1.222-.515.399-.2.79-.418 1.149-.653.36-.234.691-.476.976-.73a6.93 6.93 0 0 0 1.473-1.86c.39-.71.68-1.492.855-2.308.176-.82.243-1.676.188-2.527a8.74 8.74 0 0 0-.531-2.516 5.919 5.919 0 0 0-.68-1.281c-.289-.43-.64-.856-1.031-1.258a10.34 10.34 0 0 0-1.262-1.11 8.299 8.299 0 0 0-1.379-.847c-.414-.2-.722-.352-.95-.492-.226-.137-.366-.27-.44-.43-.075-.16-.083-.352-.043-.613.039-.266.125-.598.242-1.043.226-.871.566-1.695 1.004-2.465a10.426 10.426 0 0 1 3.672-3.754c.77-.46 1.605-.836 2.492-1.102.152-.046.386-.093.675-.144a30.829 30.829 0 0 1 2.246-.273c.43-.043.876-.075 1.317-.102a41.754 41.754 0 0 0 2.773-.25 19.813 19.813 0 0 0 2.243-.406 13.283 13.283 0 0 0 1.918-.621c.609-.246 1.199-.536 1.804-.88a20.824 20.824 0 0 0 1.774-1.116c.539-.383 1.031-.786 1.511-1.227.48-.445.942-.934 1.415-1.488.468-.559.953-1.18 1.468-1.899l.309-.426.308-.43.313-.429.309-.426v19.633l-.399.262-.402.265-.797.532a11.66 11.66 0 0 0-1.567 1.21c-.44.41-.808.837-1.113 1.305-.305.465-.55.97-.746 1.535-.2.567-.351 1.192-.473 1.903a7.401 7.401 0 0 0 .024 2.574 8.502 8.502 0 0 0 2.441 4.543 7.787 7.787 0 0 0 2.157 1.496c.804.367 1.632.61 2.46.715.829.105 1.66.082 2.47-.07a7.963 7.963 0 0 0 2.343-.828 8.831 8.831 0 0 0 2.094-1.567c.406-.402.738-.789 1.011-1.18.27-.394.48-.796.641-1.234.156-.441.266-.918.336-1.473.07-.55.102-1.171.105-1.894 0-.524 0-.93-.011-1.266a6.504 6.504 0 0 0-.074-.836 3.967 3.967 0 0 0-.192-.683c-.09-.23-.207-.485-.355-.805a7.845 7.845 0 0 0-1.594-2.262 8.117 8.117 0 0 0-1.07-.879 9.342 9.342 0 0 0-1.254-.718l-.348-.164-.348-.16-.343-.165-.348-.164v-4.957l-.004-2.476v-2.48c0-1.36.004-2.657.012-3.833.008-1.176.02-2.23.035-3.11.016-.882.035-1.589.055-2.07.02-.48.043-.734.066-.707.02.028.074.102.156.208l.301.421c.121.168.258.364.406.575.145.207.305.433.461.664.38.543.735 1.027 1.09 1.468.352.438.703.832 1.063 1.2.363.367.742.707 1.148 1.039.406.328.844.652 1.332.98.777.528 1.5.965 2.223 1.328.718.364 1.437.657 2.203.89.765.235 1.582.411 2.496.544.914.137 1.93.23 3.094.3.433.024.867.055 1.289.087a40.742 40.742 0 0 1 2.148.215c.27.035.477.07.602.101.965.234 1.898.64 2.761 1.168a11.119 11.119 0 0 1 2.34 1.93 10.355 10.355 0 0 1 1.688 2.437c.43.867.707 1.781.805 2.695l.03.313.032.309.035.316.031.309-.27.14-.538.274-.274.136c-.828.426-1.558.922-2.183 1.493a7.954 7.954 0 0 0-1.54 1.91 7.731 7.731 0 0 0-.87 2.273 9.264 9.264 0 0 0-.172 2.594c.066.96.285 1.871.64 2.703a7.903 7.903 0 0 0 1.446 2.258 8.316 8.316 0 0 0 2.14 1.683c.817.45 1.727.782 2.715.98 1.309.255 2.617.126 3.836-.3a8.813 8.813 0 0 0 3.266-2.05 8.893 8.893 0 0 0 2.117-3.239c.453-1.21.613-2.527.387-3.848a9.06 9.06 0 0 0-1.504-3.644 9.344 9.344 0 0 0-1.301-1.477 8.97 8.97 0 0 0-1.61-1.16c-.18-.097-.347-.2-.507-.293-.16-.097-.305-.183-.434-.265-.125-.082-.23-.153-.312-.211a.573.573 0 0 1-.137-.121.813.813 0 0 1-.063-.184c-.027-.094-.058-.223-.097-.375a11.147 11.147 0 0 1-.11-.512c-.039-.187-.082-.39-.12-.594-.098-.5-.227-1.023-.383-1.554a19.7 19.7 0 0 0-.551-1.594c-.207-.527-.43-1.039-.668-1.512a12.868 12.868 0 0 0-.735-1.3 12.93 12.93 0 0 0-1.582-1.954 15.064 15.064 0 0 0-1.98-1.691 15.833 15.833 0 0 0-2.27-1.355 14.35 14.35 0 0 0-2.449-.934 9.33 9.33 0 0 0-.836-.188 25.72 25.72 0 0 0-1.094-.18 40.224 40.224 0 0 0-2.605-.269 51.614 51.614 0 0 1-1.281-.11 47.27 47.27 0 0 1-1.242-.128 37.65 37.65 0 0 1-1.067-.14 12.643 12.643 0 0 1-.746-.133 11.48 11.48 0 0 1-1.508-.458c-.5-.187-.996-.414-1.472-.668a12.371 12.371 0 0 1-2.606-1.847 16.117 16.117 0 0 1-1.676-1.836 5.604 5.604 0 0 1-.465-.707c-.097-.192-.125-.324-.074-.375.016-.016.117-.012.285.004.168.015.407.047.696.09.293.039.633.093 1.008.156.37.062.78.137 1.207.215a60.65 60.65 0 0 0 1.789.304c.527.079 1.011.133 1.535.172.523.04 1.09.063 1.777.078.692.016 1.504.02 2.527.024 1.22 0 2.204-.008 3.06-.031a27.474 27.474 0 0 0 2.257-.153 20.662 20.662 0 0 0 2.047-.336 48.885 48.885 0 0 0 2.426-.59 44.634 44.634 0 0 0 5.347-1.761 42.256 42.256 0 0 0 4.98-2.387 43.059 43.059 0 0 0 4.633-3.031 46.976 46.976 0 0 0 4.329-3.692 55.822 55.822 0 0 0 3.312-3.468 49.244 49.244 0 0 0 2.879-3.63 50.142 50.142 0 0 0 2.516-3.886 57.29 57.29 0 0 0 2.23-4.258c.375-.793.691-1.48.95-2.066.257-.59.46-1.078.613-1.473.144-.398.242-.7.285-.918.047-.219.039-.351-.016-.402-.078-.07-.41-.23-.902-.442a57.272 57.272 0 0 0-1.828-.73c-.692-.262-1.434-.535-2.121-.777a36.517 36.517 0 0 0-1.778-.586 54.289 54.289 0 0 0-3.531-.879 48.341 48.341 0 0 0-1.715-.332 23.874 23.874 0 0 0-1.465-.215l-.633-.07-.312-.04-.316-.035V39.301l-2.461.004h-2.461l-2.457.004h-2.461c-2.645.004-4.664.007-6.266.03-1.605.024-2.797.067-3.789.141-.992.079-1.789.192-2.598.356-.812.164-1.64.383-2.703.668a23.531 23.531 0 0 1-1.203.3c-.16.036-.289.06-.383.075-.093.016-.148.02-.156.008a29.962 29.962 0 0 1-.355-.672c-.102-.2-.22-.434-.348-.692a79.19 79.19 0 0 1-.418-.828c-.45-.902-.785-1.578-1.168-2.234-.379-.66-.805-1.297-1.422-2.117-.617-.817-1.433-1.82-2.594-3.203-1.16-1.387-2.671-3.153-4.68-5.508-1.398-1.64-2.53-2.961-3.44-4.02a272.265 272.265 0 0 0-2.122-2.441c-.523-.59-.875-.973-1.11-1.211-.237-.234-.355-.324-.402-.32-.015 0-.07.047-.156.132-.086.086-.199.207-.34.356-.136.148-.296.328-.472.523-.172.2-.364.414-.555.641m7.059 11.504a151.52 151.52 0 0 1 3.582 4.336 58.05 58.05 0 0 1 2.488 3.336c.66.965 1.16 1.793 1.516 2.515.355.72.57 1.332.66 1.868.023.14.039.25.031.347a.526.526 0 0 1-.09.262 1.205 1.205 0 0 1-.266.262c-.12.093-.285.199-.492.332-.332.21-.773.554-1.265.976-.493.426-1.043.934-1.594 1.473a43.455 43.455 0 0 0-1.625 1.672 25.487 25.487 0 0 0-1.348 1.574c-.398.512-.812 1.09-1.222 1.703a39.76 39.76 0 0 0-1.204 1.91 39.73 39.73 0 0 0-1.085 1.946c-.329.636-.622 1.25-.86 1.812-.34.809-.672 1.727-.976 2.688-.305.96-.582 1.964-.817 2.945-.234.984-.43 1.945-.562 2.816-.137.871-.215 1.653-.215 2.282-.004.609-.024 1.054-.055 1.332-.035.277-.086.386-.152.328-.067-.055-.149-.278-.246-.664a26.572 26.572 0 0 1-.336-1.66 76.29 76.29 0 0 0-.54-2.758 81.86 81.86 0 0 0-.624-2.66c-.211-.844-.43-1.637-.645-2.34a22.878 22.878 0 0 0-.617-1.801 24.472 24.472 0 0 0-.742-1.66 48.94 48.94 0 0 0-2.047-3.746c-.36-.59-.707-1.13-1.027-1.582a21.393 21.393 0 0 0-1.153-1.446 44.776 44.776 0 0 0-1.558-1.71 47.283 47.283 0 0 0-1.657-1.657c-.539-.512-1.043-.96-1.468-1.3-.172-.141-.34-.278-.489-.41a8.144 8.144 0 0 1-.402-.376 3.846 3.846 0 0 1-.27-.293c-.066-.082-.101-.144-.101-.176 0-.105.098-.378.262-.753.16-.372.386-.848.644-1.356.258-.508.547-1.05.828-1.562a24.735 24.735 0 0 1 1.582-2.508c.262-.371.543-.746.871-1.16.329-.418.7-.871 1.149-1.407.45-.535.973-1.144 1.601-1.87.235-.27.536-.614.875-1.005.336-.394.715-.832 1.114-1.293.394-.46.808-.937 1.215-1.41.402-.472.8-.933 1.168-1.363l.668-.777.668-.774.667-.777.665-.778.117.118.113.12.117.118.113.117a110.75 110.75 0 0 1 1.668 1.914l1.555 1.809c.57.664 1.184 1.383 1.813 2.12M51.227 44.149c.425.09.867.2 1.304.317.434.117.864.242 1.254.37.395.13.754.259 1.055.38.297.12.535.234.687.332.051.035.09.094.11.191.02.098.023.239.011.442-.015.199-.046.457-.097.793-.055.336-.125.75-.215 1.257-.094.524-.172.989-.23 1.446-.06.457-.106.91-.137 1.41a32.68 32.68 0 0 0-.067 1.7c-.011.648-.015 1.401-.015 2.312 0 .98.004 1.761.015 2.414.012.648.035 1.172.07 1.644.04.473.09.89.165 1.336.07.446.164.918.285 1.488.074.348.156.72.242 1.094.082.375.168.754.254 1.11.086.359.168.695.242.992.074.3.14.554.195.75.055.195.102.383.149.554.043.172.082.329.113.461.031.13.059.239.07.317.016.078.02.125.012.133a.942.942 0 0 1-.183-.079 35.955 35.955 0 0 1-1.148-.629c-.255-.144-.532-.304-.821-.472a95.651 95.651 0 0 0-2.031-1.152 44.616 44.616 0 0 0-1.723-.899 34 34 0 0 0-1.633-.75 44.224 44.224 0 0 0-1.762-.715 50.86 50.86 0 0 0-2.855-1.004 45.68 45.68 0 0 0-2.8-.793 39.106 39.106 0 0 0-2.653-.562 26.924 26.924 0 0 0-2.406-.309l-.426-.03-.426-.036-.426-.031-.426-.035V43.758h7.215c1.578.004 2.832.008 3.852.015 1.02.012 1.8.028 2.437.055a20.37 20.37 0 0 1 1.547.117c.43.051.797.117 1.196.203m64.886 7.493c0 1.23-.008 2.34-.015 3.312-.008.977-.02 1.817-.04 2.504-.015.691-.038 1.23-.062 1.602-.023.367-.05.57-.082.59a1.259 1.259 0 0 1-.281.07c-.153.031-.367.062-.617.101-.254.035-.547.078-.868.117-.32.043-.664.083-1.02.122-.765.086-1.538.199-2.323.343-.79.141-1.59.313-2.407.516-.816.203-1.652.434-2.503.7-.856.26-1.73.558-2.625.882-.735.266-1.305.477-1.801.672-.496.195-.918.375-1.348.578-.43.203-.867.43-1.398.723-.528.289-1.149.644-1.946 1.101a34.54 34.54 0 0 1-1.644.895 9.035 9.035 0 0 1-.528.242c-.128.055-.21.074-.226.059-.016-.016-.02-.082-.012-.184a5.49 5.49 0 0 1 .055-.422c.031-.172.066-.371.113-.59.043-.219.098-.457.156-.699.258-1.082.454-1.906.602-2.613.152-.703.258-1.282.332-1.867.078-.583.125-1.172.156-1.895.035-.723.059-1.578.086-2.695.024-.98.04-1.77.043-2.434.004-.66-.004-1.2-.027-1.684a17.76 17.76 0 0 0-.113-1.355 29.95 29.95 0 0 0-.223-1.445c-.152-.887-.27-1.543-.336-2.035-.066-.493-.086-.825-.04-1.059a.664.664 0 0 1 .333-.492c.18-.117.437-.207.781-.336.692-.266 1.29-.469 1.926-.63.637-.16 1.309-.276 2.152-.358.84-.082 1.852-.133 3.164-.16 1.309-.032 2.922-.044 4.965-.047l3.813-.008h1.902l1.906-.004v7.883m-25.05-2.368c.195 1.02.343 1.977.437 2.91.098.934.14 1.837.133 2.75a25.621 25.621 0 0 1-.18 2.797c-.11.961-.273 1.961-.488 3.036a39.395 39.395 0 0 1-.746 3.12 31.161 31.161 0 0 1-.946 2.829c-.355.906-.75 1.781-1.187 2.64a30.9 30.9 0 0 1-1.473 2.555c-.215.34-.597.86-1.074 1.469a76.18 76.18 0 0 1-1.625 2.012 79.82 79.82 0 0 1-1.73 2.011 30.987 30.987 0 0 1-1.387 1.489l-.258.25-.262.254-.257.253-.262.254.02-1.62.023-1.622.02-1.617.019-1.621c.02-1.414.035-2.543.058-3.465.02-.922.047-1.637.082-2.227.036-.59.082-1.054.141-1.472.059-.422.133-.797.227-1.211a38.117 38.117 0 0 1 1.086-3.91c.418-1.235.89-2.403 1.433-3.524a28.68 28.68 0 0 1 1.82-3.222 31.184 31.184 0 0 1 2.258-3.012 18.08 18.08 0 0 1 1.012-1.086c.367-.363.746-.715 1.106-1.023.355-.31.69-.575.964-.762.27-.188.48-.297.59-.297.035 0 .07.031.11.086.039.05.078.129.12.226a4.214 4.214 0 0 1 .216.75m-28.895.91c.914.915 1.738 1.86 2.488 2.86a25.52 25.52 0 0 1 2.028 3.187 30.027 30.027 0 0 1 1.636 3.645 42.64 42.64 0 0 1 1.32 4.23c.122.485.22.872.294 1.274.074.406.125.832.164 1.387.043.554.07 1.242.09 2.171.023.934.039 2.11.058 3.645.02 1.441.035 2.566.04 3.438.003.87 0 1.488-.016 1.921-.016.434-.043.68-.086.813-.04.129-.094.14-.16.101-.106-.058-.376-.324-.743-.722-.367-.399-.84-.926-1.34-1.512a82.643 82.643 0 0 1-1.539-1.832 48.185 48.185 0 0 1-1.34-1.695c-.34-.45-.722-1.031-1.117-1.688a40.534 40.534 0 0 1-1.183-2.125 43.623 43.623 0 0 1-1.075-2.207 21.82 21.82 0 0 1-.773-1.933c-.07-.215-.152-.477-.238-.762-.082-.29-.172-.602-.258-.922a49.961 49.961 0 0 1-.461-1.844c-.187-.86-.316-2.113-.395-3.508a62.606 62.606 0 0 1-.066-4.378c.027-1.434.106-2.762.227-3.735.12-.969.285-1.578.492-1.578.023 0 .097.05.21.14.11.09.259.22.438.38a44.358 44.358 0 0 1 1.305 1.25m53.23 15.39a24.897 24.897 0 0 1-.965 4.492 26.72 26.72 0 0 1-.824 2.25 33.11 33.11 0 0 1-1.058 2.305c-.344.676-.66 1.262-.98 1.805-.321.543-.641 1.035-.997 1.523-.351.485-.734.961-1.18 1.473-.445.508-.953 1.05-1.542 1.66a35.204 35.204 0 0 1-1.579 1.54c-.496.448-.976.847-1.468 1.21-.493.367-1 .703-1.551 1.031-.55.328-1.145.649-1.817.989-.84.421-1.624.761-2.445 1.03a15.58 15.58 0 0 1-2.683.626c-1.004.152-2.145.25-3.532.308-1.382.063-3.011.082-4.98.082H82.18l.03-.113.036-.113.031-.113.035-.114c.055-.199.243-.582.516-1.074.274-.496.633-1.101 1.027-1.746.399-.645.836-1.324 1.266-1.969.43-.644.852-1.25 1.219-1.746a44.604 44.604 0 0 1 5.883-6.445 41.569 41.569 0 0 1 6.812-4.977 38.048 38.048 0 0 1 7.477-3.36 34.711 34.711 0 0 1 7.886-1.585c.11-.008.22-.02.325-.027.105-.008.203-.02.293-.028.09-.008.164-.02.226-.023.063-.008.106-.016.13-.02.023-.004.038.024.05.078a.934.934 0 0 1 .023.239c.004.101 0 .226-.007.363-.008.137-.02.29-.04.45M30.934 66.89c.242 1.234.562 2.488.945 3.738a41.182 41.182 0 0 0 1.32 3.68 37.438 37.438 0 0 0 1.61 3.425 27.185 27.185 0 0 0 1.816 2.961c.45.633.992 1.313 1.594 2.004a38.232 38.232 0 0 0 1.949 2.074c.687.68 1.395 1.34 2.098 1.942.699.597 1.39 1.144 2.03 1.597.298.208.575.407.825.59.25.184.469.352.649.496.18.141.32.258.41.344.09.082.129.133.105.14-.066.028-.328-.038-.71-.167-.384-.13-.891-.324-1.458-.555a48.612 48.612 0 0 1-1.812-.777 38.066 38.066 0 0 1-7.352-4.297 42.01 42.01 0 0 1-5.043-4.422 44.733 44.733 0 0 1-4.37-5.254 45.026 45.026 0 0 1-3.575-5.941c-.125-.258-.25-.504-.356-.735-.109-.226-.207-.433-.285-.609-.078-.176-.14-.32-.18-.422-.042-.101-.058-.164-.05-.172.008-.008.062-.031.148-.066.09-.035.211-.082.36-.137.144-.05.32-.113.507-.18l.614-.21c.433-.145.988-.297 1.593-.446a39.578 39.578 0 0 1 3.805-.73c.574-.078 1.07-.125 1.434-.133l.23-.004.235-.004.23-.004.234-.004.114.57.109.57.113.567.114.57m8.199-1.87c1.383.238 2.8.59 4.226 1.039 1.426.449 2.856 1 4.27 1.636a42.064 42.064 0 0 1 4.16 2.164c1.348.801 2.648 1.68 3.879 2.621.41.317.95.778 1.547 1.32a69.069 69.069 0 0 1 1.914 1.805c.652.641 1.3 1.293 1.871 1.899a31.34 31.34 0 0 1 1.422 1.586 46.416 46.416 0 0 1 1.726 2.27c.57.796 1.125 1.613 1.622 2.39.5.781.94 1.52 1.285 2.152.343.637.593 1.172.71 1.543l.032.114.035.113.04.113.03.113h-5.511c-1.918 0-3.48-.02-4.801-.078-1.324-.058-2.41-.156-3.371-.312a15.68 15.68 0 0 1-2.63-.653c-.831-.289-1.651-.652-2.581-1.109a20.527 20.527 0 0 1-3.137-1.926 24.776 24.776 0 0 1-2.902-2.523 26.07 26.07 0 0 1-2.528-2.988 24.005 24.005 0 0 1-2.011-3.305 35.404 35.404 0 0 1-1.192-2.649 38.321 38.321 0 0 1-.968-2.66 25.394 25.394 0 0 1-.645-2.39c-.156-.72-.238-1.348-.238-1.832 0-.211 0-.371.011-.489.012-.12.032-.203.079-.257.043-.055.105-.082.203-.098.093-.016.222-.016.39-.016.094 0 .25.012.453.032.204.023.454.05.73.09.278.035.583.078.903.128.32.047.653.102.977.157m84.953.085c.336.06.809.168 1.336.297.523.13 1.101.282 1.64.434.543.152 1.051.305 1.43.43.387.125.649.222.7.273.027.023-.028.184-.149.45-.121.265-.3.632-.527 1.062-.223.433-.493.93-.79 1.457a56.9 56.9 0 0 1-.937 1.633 44.31 44.31 0 0 1-3.473 5.027 46.345 46.345 0 0 1-4.12 4.531 43.203 43.203 0 0 1-4.571 3.848 34.726 34.726 0 0 1-4.82 2.969 42.898 42.898 0 0 1-3.02 1.367c-.469.191-.89.351-1.207.457-.32.105-.535.156-.598.137-.027-.012.004-.055.079-.133.074-.074.195-.18.351-.309.153-.129.348-.281.563-.445.218-.164.465-.344.722-.531a31.987 31.987 0 0 0 3.067-2.473 30.025 30.025 0 0 0 4.992-5.887 32.018 32.018 0 0 0 1.953-3.441c.398-.809.75-1.57 1.059-2.309a30.121 30.121 0 0 0 1.48-4.39c.188-.758.363-1.547.52-2.391l.109-.59.113-.586.11-.59.109-.586h1.133c.156 0 .347.008.566.024.215.012.457.035.703.062a20.21 20.21 0 0 1 1.477.203m-79.191 55.711c.363.23.671.555.917.934.247.379.426.816.536 1.273.109.457.148.938.105 1.407a3.61 3.61 0 0 1-.371 1.336c-.156.304-.332.57-.539.808a3.303 3.303 0 0 1-1.512.996 4.104 4.104 0 0 1-.965.184 4.468 4.468 0 0 1-1.03-.043 3.427 3.427 0 0 1-1.719-.805 4.434 4.434 0 0 1-.696-.77 3.378 3.378 0 0 1-.555-1.284 4.203 4.203 0 0 1-.046-1.434c.066-.48.21-.945.43-1.36.214-.413.507-.78.87-1.058a3.654 3.654 0 0 1 1.059-.555c.383-.132.789-.207 1.2-.222.41-.02.82.023 1.214.12.39.102.766.259 1.102.473m64.375-.195c.175.086.37.23.574.406.199.176.402.38.586.598.187.215.36.438.492.652.133.211.226.407.266.567.019.07.035.168.042.285.012.113.02.25.024.398.004.145 0 .301-.004.457a8.875 8.875 0 0 1-.023.461 3.545 3.545 0 0 1-.774 1.953 3.866 3.866 0 0 1-3.625 1.368 3.584 3.584 0 0 1-1.883-.95 4.289 4.289 0 0 1-.55-.609 2.827 2.827 0 0 1-.352-.637 3.475 3.475 0 0 1-.188-.746 6.793 6.793 0 0 1-.054-.941c0-.352.027-.672.082-.961.05-.293.137-.555.25-.797.117-.242.265-.465.449-.676.188-.21.406-.41.668-.601.25-.188.547-.328.879-.434a4.168 4.168 0 0 1 1.05-.187c.364-.024.735 0 1.09.066.36.062.7.176 1 .328m-31.93.473c.177.125.368.328.556.57.183.242.367.531.527.824.16.293.297.598.394.88a2.5 2.5 0 0 1 .16.737c0 .258-.074.567-.206.895a5.551 5.551 0 0 1-.54.996 6 6 0 0 1-.742.906c-.265.27-.547.489-.816.63a2.93 2.93 0 0 1-1.024.3 3.709 3.709 0 0 1-1.117-.047 3.928 3.928 0 0 1-1.066-.37 3.194 3.194 0 0 1-.871-.669 4.034 4.034 0 0 1-.68-1.012 4.028 4.028 0 0 1-.355-1.12 3.802 3.802 0 0 1-.012-1.153 3.5 3.5 0 0 1 .344-1.094c.187-.363.375-.664.586-.91.21-.242.441-.43.71-.57.266-.14.57-.23.922-.282a6.496 6.496 0 0 1 1.239-.046c.254.011.472.027.664.046.195.024.363.055.515.098a2.284 2.284 0 0 1 .813.39"/></svg>%0A';
|
|
941
|
+
|
|
942
|
+
// src/primitives/BrandMark.tsx
|
|
943
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
944
|
+
var mask = (url) => ({
|
|
945
|
+
WebkitMask: `url('${url}') center / contain no-repeat`,
|
|
946
|
+
mask: `url('${url}') center / contain no-repeat`
|
|
947
|
+
});
|
|
948
|
+
var MASKS = { mark: mask(mark_default), lockup: mask(lockup_horizontal_default) };
|
|
949
|
+
function BrandMark({ variant = "mark", className }) {
|
|
950
|
+
return /* @__PURE__ */ jsx7(
|
|
951
|
+
"span",
|
|
952
|
+
{
|
|
953
|
+
"aria-hidden": "true",
|
|
954
|
+
className: cn(
|
|
955
|
+
"polli:block polli:shrink-0 polli:bg-current",
|
|
956
|
+
className
|
|
957
|
+
),
|
|
958
|
+
style: MASKS[variant]
|
|
959
|
+
}
|
|
960
|
+
);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
// src/compositions/AppBrand.tsx
|
|
964
|
+
import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
965
|
+
function AppBrand({
|
|
966
|
+
appName,
|
|
967
|
+
href = "/",
|
|
968
|
+
size = "md",
|
|
969
|
+
className
|
|
970
|
+
}) {
|
|
971
|
+
return /* @__PURE__ */ jsxs5(
|
|
972
|
+
"a",
|
|
973
|
+
{
|
|
974
|
+
href,
|
|
975
|
+
className: cn(
|
|
976
|
+
"polli:inline-flex polli:min-w-0 polli:shrink-0 polli:items-center polli:text-theme-text-strong",
|
|
977
|
+
size === "md" ? "polli:gap-3" : "polli:gap-2.5",
|
|
978
|
+
className
|
|
979
|
+
),
|
|
980
|
+
children: [
|
|
981
|
+
/* @__PURE__ */ jsx8(
|
|
982
|
+
BrandMark,
|
|
983
|
+
{
|
|
984
|
+
className: size === "md" ? "polli:h-8 polli:w-8" : "polli:h-7 polli:w-7"
|
|
985
|
+
}
|
|
986
|
+
),
|
|
987
|
+
/* @__PURE__ */ jsx8(
|
|
988
|
+
"span",
|
|
989
|
+
{
|
|
990
|
+
className: cn(
|
|
991
|
+
"polli:min-w-0 polli:truncate polli:font-subheading polli:font-medium polli:leading-none",
|
|
992
|
+
size === "md" ? "polli:text-2xl" : "polli:text-xl"
|
|
993
|
+
),
|
|
994
|
+
children: appName
|
|
995
|
+
}
|
|
996
|
+
)
|
|
997
|
+
]
|
|
998
|
+
}
|
|
999
|
+
);
|
|
1000
|
+
}
|
|
900
1001
|
|
|
901
1002
|
// src/compositions/AppHeader.tsx
|
|
902
|
-
import {
|
|
903
|
-
|
|
904
|
-
var brandWordmarkMask = {
|
|
905
|
-
WebkitMaskImage: brandWordmarkMaskUrl,
|
|
906
|
-
WebkitMaskPosition: "center",
|
|
907
|
-
WebkitMaskRepeat: "no-repeat",
|
|
908
|
-
WebkitMaskSize: "contain",
|
|
909
|
-
maskImage: brandWordmarkMaskUrl,
|
|
910
|
-
maskPosition: "center",
|
|
911
|
-
maskRepeat: "no-repeat",
|
|
912
|
-
maskSize: "contain"
|
|
913
|
-
};
|
|
1003
|
+
import { useEffect, useState as useState2 } from "react";
|
|
1004
|
+
import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
914
1005
|
function scrollTopFor(target) {
|
|
915
1006
|
return target === window ? window.scrollY : target.scrollTop;
|
|
916
1007
|
}
|
|
917
1008
|
function AppHeader({
|
|
918
1009
|
children,
|
|
919
1010
|
navLabel,
|
|
1011
|
+
appName,
|
|
920
1012
|
autoHide = false,
|
|
921
1013
|
scrollTargetRef,
|
|
922
|
-
brandHref
|
|
1014
|
+
brandHref,
|
|
923
1015
|
brandLabel = "Pollinations",
|
|
924
1016
|
className,
|
|
925
1017
|
innerClassName,
|
|
@@ -956,7 +1048,7 @@ function AppHeader({
|
|
|
956
1048
|
target.removeEventListener("scroll", handleScroll);
|
|
957
1049
|
};
|
|
958
1050
|
}, [autoHide, scrollTargetRef]);
|
|
959
|
-
return /* @__PURE__ */
|
|
1051
|
+
return /* @__PURE__ */ jsx9(
|
|
960
1052
|
"header",
|
|
961
1053
|
{
|
|
962
1054
|
className: cn(
|
|
@@ -967,7 +1059,7 @@ function AppHeader({
|
|
|
967
1059
|
className
|
|
968
1060
|
),
|
|
969
1061
|
onFocusCapture: () => setHidden(false),
|
|
970
|
-
children: /* @__PURE__ */
|
|
1062
|
+
children: /* @__PURE__ */ jsxs6(
|
|
971
1063
|
"div",
|
|
972
1064
|
{
|
|
973
1065
|
className: cn(
|
|
@@ -975,27 +1067,26 @@ function AppHeader({
|
|
|
975
1067
|
innerClassName
|
|
976
1068
|
),
|
|
977
1069
|
children: [
|
|
978
|
-
/* @__PURE__ */
|
|
1070
|
+
appName ? /* @__PURE__ */ jsx9(AppBrand, { appName, href: brandHref }) : /* @__PURE__ */ jsxs6(
|
|
979
1071
|
"a",
|
|
980
1072
|
{
|
|
981
|
-
href: brandHref,
|
|
1073
|
+
href: brandHref ?? "https://pollinations.ai",
|
|
982
1074
|
target: "_blank",
|
|
983
1075
|
rel: "noopener noreferrer",
|
|
984
1076
|
className: "polli:inline-flex polli:shrink-0 polli:items-center polli:text-theme-text-strong",
|
|
985
1077
|
children: [
|
|
986
|
-
/* @__PURE__ */
|
|
987
|
-
/* @__PURE__ */
|
|
988
|
-
|
|
1078
|
+
/* @__PURE__ */ jsx9("span", { className: "polli:sr-only", children: brandLabel }),
|
|
1079
|
+
/* @__PURE__ */ jsx9(
|
|
1080
|
+
BrandMark,
|
|
989
1081
|
{
|
|
990
|
-
|
|
991
|
-
className: "polli:
|
|
992
|
-
style: brandWordmarkMask
|
|
1082
|
+
variant: "lockup",
|
|
1083
|
+
className: "polli:h-7 polli:w-[220px] polli:max-w-full"
|
|
993
1084
|
}
|
|
994
1085
|
)
|
|
995
1086
|
]
|
|
996
1087
|
}
|
|
997
1088
|
),
|
|
998
|
-
children ? /* @__PURE__ */
|
|
1089
|
+
children ? /* @__PURE__ */ jsx9(
|
|
999
1090
|
"nav",
|
|
1000
1091
|
{
|
|
1001
1092
|
"aria-label": navLabel,
|
|
@@ -1014,11 +1105,13 @@ function AppHeader({
|
|
|
1014
1105
|
}
|
|
1015
1106
|
|
|
1016
1107
|
// src/primitives/Surface.tsx
|
|
1017
|
-
import { jsx as
|
|
1108
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
1018
1109
|
var variantClasses = {
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1110
|
+
// Phones get tighter padding (and a matching radius) so nested cards keep
|
|
1111
|
+
// their width; from `sm` up the page has room for the full spacing.
|
|
1112
|
+
panel: "polli:rounded-3xl polli:bg-surface-block polli:p-4 polli:sm:rounded-block polli:sm:p-7",
|
|
1113
|
+
card: "polli-surface-card polli:rounded-card polli:bg-surface-opaque polli:p-3.5 polli:sm:p-4",
|
|
1114
|
+
"card-themed": "polli:rounded-card polli:bg-theme-bg-pale polli:p-3.5 polli:sm:p-4"
|
|
1022
1115
|
};
|
|
1023
1116
|
function Surface({
|
|
1024
1117
|
as,
|
|
@@ -1028,7 +1121,7 @@ function Surface({
|
|
|
1028
1121
|
...rest
|
|
1029
1122
|
}) {
|
|
1030
1123
|
const Component = as || "div";
|
|
1031
|
-
return /* @__PURE__ */
|
|
1124
|
+
return /* @__PURE__ */ jsx10(
|
|
1032
1125
|
Component,
|
|
1033
1126
|
{
|
|
1034
1127
|
...rest,
|
|
@@ -1039,7 +1132,7 @@ function Surface({
|
|
|
1039
1132
|
}
|
|
1040
1133
|
|
|
1041
1134
|
// src/compositions/Callout.tsx
|
|
1042
|
-
import { jsx as
|
|
1135
|
+
import { jsx as jsx11, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1043
1136
|
function Callout({
|
|
1044
1137
|
title,
|
|
1045
1138
|
body,
|
|
@@ -1047,7 +1140,7 @@ function Callout({
|
|
|
1047
1140
|
tone = "theme",
|
|
1048
1141
|
className
|
|
1049
1142
|
}) {
|
|
1050
|
-
return /* @__PURE__ */
|
|
1143
|
+
return /* @__PURE__ */ jsxs7(
|
|
1051
1144
|
Surface,
|
|
1052
1145
|
{
|
|
1053
1146
|
as: "section",
|
|
@@ -1058,8 +1151,8 @@ function Callout({
|
|
|
1058
1151
|
className
|
|
1059
1152
|
),
|
|
1060
1153
|
children: [
|
|
1061
|
-
/* @__PURE__ */
|
|
1062
|
-
/* @__PURE__ */
|
|
1154
|
+
/* @__PURE__ */ jsxs7("div", { className: "polli:flex polli:max-w-lg polli:flex-col polli:gap-2.5", children: [
|
|
1155
|
+
/* @__PURE__ */ jsx11(
|
|
1063
1156
|
Heading,
|
|
1064
1157
|
{
|
|
1065
1158
|
size: "section",
|
|
@@ -1067,9 +1160,9 @@ function Callout({
|
|
|
1067
1160
|
children: title
|
|
1068
1161
|
}
|
|
1069
1162
|
),
|
|
1070
|
-
/* @__PURE__ */
|
|
1163
|
+
/* @__PURE__ */ jsx11(Text, { className: "polli:text-theme-text-strong/75", children: body })
|
|
1071
1164
|
] }),
|
|
1072
|
-
/* @__PURE__ */
|
|
1165
|
+
/* @__PURE__ */ jsx11("div", { className: "polli:flex polli:flex-wrap polli:items-center polli:gap-3", children })
|
|
1073
1166
|
]
|
|
1074
1167
|
}
|
|
1075
1168
|
);
|
|
@@ -1087,7 +1180,7 @@ import {
|
|
|
1087
1180
|
useEffect as useEffect2,
|
|
1088
1181
|
useRef
|
|
1089
1182
|
} from "react";
|
|
1090
|
-
import { jsx as
|
|
1183
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
1091
1184
|
var axisClasses = {
|
|
1092
1185
|
y: "polli:overflow-y-auto polli:overflow-x-hidden",
|
|
1093
1186
|
x: "polli:overflow-x-auto polli:overflow-y-hidden",
|
|
@@ -1159,7 +1252,7 @@ var ScrollArea = forwardRef(
|
|
|
1159
1252
|
element.removeEventListener("focusout", scheduleHide);
|
|
1160
1253
|
};
|
|
1161
1254
|
}, [scrollbar]);
|
|
1162
|
-
return /* @__PURE__ */
|
|
1255
|
+
return /* @__PURE__ */ jsx12(
|
|
1163
1256
|
"div",
|
|
1164
1257
|
{
|
|
1165
1258
|
...rest,
|
|
@@ -1178,7 +1271,7 @@ var ScrollArea = forwardRef(
|
|
|
1178
1271
|
ScrollArea.displayName = "ScrollArea";
|
|
1179
1272
|
|
|
1180
1273
|
// src/compositions/ChatConversation.tsx
|
|
1181
|
-
import { jsx as
|
|
1274
|
+
import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1182
1275
|
var ChatConversation = forwardRef2(
|
|
1183
1276
|
({
|
|
1184
1277
|
children,
|
|
@@ -1188,8 +1281,8 @@ var ChatConversation = forwardRef2(
|
|
|
1188
1281
|
onScrollToBottom,
|
|
1189
1282
|
scrollButtonLabel = "Scroll to latest message",
|
|
1190
1283
|
...viewportProps
|
|
1191
|
-
}, ref) => /* @__PURE__ */
|
|
1192
|
-
/* @__PURE__ */
|
|
1284
|
+
}, ref) => /* @__PURE__ */ jsxs8("div", { className: cn("polli:relative polli:min-h-0", className), children: [
|
|
1285
|
+
/* @__PURE__ */ jsx13(
|
|
1193
1286
|
ScrollArea,
|
|
1194
1287
|
{
|
|
1195
1288
|
...viewportProps,
|
|
@@ -1198,15 +1291,15 @@ var ChatConversation = forwardRef2(
|
|
|
1198
1291
|
children
|
|
1199
1292
|
}
|
|
1200
1293
|
),
|
|
1201
|
-
showScrollButton && onScrollToBottom && /* @__PURE__ */
|
|
1294
|
+
showScrollButton && onScrollToBottom && /* @__PURE__ */ jsx13(
|
|
1202
1295
|
"button",
|
|
1203
1296
|
{
|
|
1204
1297
|
type: "button",
|
|
1205
1298
|
"aria-label": scrollButtonLabel,
|
|
1206
1299
|
title: scrollButtonLabel,
|
|
1207
1300
|
onClick: onScrollToBottom,
|
|
1208
|
-
className: "polli-control polli:absolute polli:bottom-3 polli:left-1/2 polli:flex polli:size-9 polli:-translate-x-1/2 polli:cursor-pointer polli:items-center polli:justify-center polli:rounded-full polli:border polli:border-theme-border/60 polli:bg-surface-opaque polli:text-theme-text-strong polli:
|
|
1209
|
-
children: /* @__PURE__ */
|
|
1301
|
+
className: "polli-control polli:absolute polli:bottom-3 polli:left-1/2 polli:flex polli:size-9 polli:-translate-x-1/2 polli:cursor-pointer polli:items-center polli:justify-center polli:rounded-full polli:border polli:border-theme-border/60 polli:bg-surface-opaque polli:text-theme-text-strong polli:transition-transform polli:hover:translate-y-0.5",
|
|
1302
|
+
children: /* @__PURE__ */ jsx13(ArrowRightIcon, { className: "polli:size-4 polli:rotate-90" })
|
|
1210
1303
|
}
|
|
1211
1304
|
)
|
|
1212
1305
|
] })
|
|
@@ -1216,7 +1309,7 @@ function ChatConversationContent({
|
|
|
1216
1309
|
className,
|
|
1217
1310
|
...props
|
|
1218
1311
|
}) {
|
|
1219
|
-
return /* @__PURE__ */
|
|
1312
|
+
return /* @__PURE__ */ jsx13(
|
|
1220
1313
|
"div",
|
|
1221
1314
|
{
|
|
1222
1315
|
className: cn(
|
|
@@ -1229,20 +1322,20 @@ function ChatConversationContent({
|
|
|
1229
1322
|
}
|
|
1230
1323
|
|
|
1231
1324
|
// src/compositions/ChatMessage.tsx
|
|
1232
|
-
import { jsx as
|
|
1325
|
+
import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1233
1326
|
function ChatMessage({
|
|
1234
1327
|
from,
|
|
1235
1328
|
className,
|
|
1236
1329
|
children,
|
|
1237
1330
|
...props
|
|
1238
1331
|
}) {
|
|
1239
|
-
return /* @__PURE__ */
|
|
1332
|
+
return /* @__PURE__ */ jsx14(
|
|
1240
1333
|
"article",
|
|
1241
1334
|
{
|
|
1242
1335
|
"data-role": from,
|
|
1243
1336
|
className: cn(
|
|
1244
1337
|
"polli:group/message polli:flex polli:w-fit polli:max-w-full polli:min-w-0 polli:flex-col polli:gap-3 polli:[overflow-wrap:anywhere] polli:rounded-xl polli:px-4 polli:py-3",
|
|
1245
|
-
from === "user" ? "polli:ml-auto polli:bg-theme-bg-active polli:text-theme-text-strong" : "polli:mr-auto polli:bg-surface-opaque polli:text-theme-text-base
|
|
1338
|
+
from === "user" ? "polli:ml-auto polli:bg-theme-bg-active polli:text-theme-text-strong" : "polli:mr-auto polli:bg-surface-opaque polli:text-theme-text-base",
|
|
1246
1339
|
className
|
|
1247
1340
|
),
|
|
1248
1341
|
...props,
|
|
@@ -1258,7 +1351,7 @@ function ChatMessageHeader({
|
|
|
1258
1351
|
...props
|
|
1259
1352
|
}) {
|
|
1260
1353
|
const content = label ?? (from === "user" ? "You" : from === "assistant" ? "Agent" : "System");
|
|
1261
|
-
return /* @__PURE__ */
|
|
1354
|
+
return /* @__PURE__ */ jsxs9(
|
|
1262
1355
|
"header",
|
|
1263
1356
|
{
|
|
1264
1357
|
className: cn(
|
|
@@ -1267,8 +1360,8 @@ function ChatMessageHeader({
|
|
|
1267
1360
|
),
|
|
1268
1361
|
...props,
|
|
1269
1362
|
children: [
|
|
1270
|
-
from === "assistant" && (icon ?? /* @__PURE__ */
|
|
1271
|
-
/* @__PURE__ */
|
|
1363
|
+
from === "assistant" && (icon ?? /* @__PURE__ */ jsx14("span", { className: "polli:flex polli:size-6 polli:items-center polli:justify-center polli:rounded-full polli:bg-theme-bg-active polli:text-theme-text-strong", children: /* @__PURE__ */ jsx14(RobotIcon, { className: "polli:size-3.5" }) })),
|
|
1364
|
+
/* @__PURE__ */ jsx14(
|
|
1272
1365
|
Text,
|
|
1273
1366
|
{
|
|
1274
1367
|
as: "span",
|
|
@@ -1287,7 +1380,7 @@ function ChatMessageContent({
|
|
|
1287
1380
|
className,
|
|
1288
1381
|
...props
|
|
1289
1382
|
}) {
|
|
1290
|
-
return /* @__PURE__ */
|
|
1383
|
+
return /* @__PURE__ */ jsx14(
|
|
1291
1384
|
"div",
|
|
1292
1385
|
{
|
|
1293
1386
|
className: cn(
|
|
@@ -1302,7 +1395,7 @@ function ChatMessageActions({
|
|
|
1302
1395
|
className,
|
|
1303
1396
|
...props
|
|
1304
1397
|
}) {
|
|
1305
|
-
return /* @__PURE__ */
|
|
1398
|
+
return /* @__PURE__ */ jsx14(
|
|
1306
1399
|
"footer",
|
|
1307
1400
|
{
|
|
1308
1401
|
className: cn(
|
|
@@ -1321,9 +1414,9 @@ import {
|
|
|
1321
1414
|
|
|
1322
1415
|
// src/primitives/Textarea.tsx
|
|
1323
1416
|
import { forwardRef as forwardRef3 } from "react";
|
|
1324
|
-
import { jsx as
|
|
1417
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
1325
1418
|
var Textarea = forwardRef3(
|
|
1326
|
-
({ className, error, rows = 4, ...props }, ref) => /* @__PURE__ */
|
|
1419
|
+
({ className, error, rows = 4, ...props }, ref) => /* @__PURE__ */ jsx15(
|
|
1327
1420
|
"textarea",
|
|
1328
1421
|
{
|
|
1329
1422
|
ref,
|
|
@@ -1344,9 +1437,9 @@ var Textarea = forwardRef3(
|
|
|
1344
1437
|
Textarea.displayName = "Textarea";
|
|
1345
1438
|
|
|
1346
1439
|
// src/compositions/ChatPromptInput.tsx
|
|
1347
|
-
import { Fragment as Fragment2, jsx as
|
|
1440
|
+
import { Fragment as Fragment2, jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1348
1441
|
function ChatPromptInput({ className, ...props }) {
|
|
1349
|
-
return /* @__PURE__ */
|
|
1442
|
+
return /* @__PURE__ */ jsx16(
|
|
1350
1443
|
"fieldset",
|
|
1351
1444
|
{
|
|
1352
1445
|
className: cn("polli:m-0 polli:min-w-0 polli:p-0", className),
|
|
@@ -1354,7 +1447,7 @@ function ChatPromptInput({ className, ...props }) {
|
|
|
1354
1447
|
}
|
|
1355
1448
|
);
|
|
1356
1449
|
}
|
|
1357
|
-
var ChatPromptTextarea = forwardRef4(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1450
|
+
var ChatPromptTextarea = forwardRef4(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
|
|
1358
1451
|
Textarea,
|
|
1359
1452
|
{
|
|
1360
1453
|
...props,
|
|
@@ -1370,7 +1463,7 @@ function ChatPromptInputFooter({
|
|
|
1370
1463
|
className,
|
|
1371
1464
|
...props
|
|
1372
1465
|
}) {
|
|
1373
|
-
return /* @__PURE__ */
|
|
1466
|
+
return /* @__PURE__ */ jsx16(
|
|
1374
1467
|
"div",
|
|
1375
1468
|
{
|
|
1376
1469
|
className: cn(
|
|
@@ -1378,9 +1471,9 @@ function ChatPromptInputFooter({
|
|
|
1378
1471
|
className
|
|
1379
1472
|
),
|
|
1380
1473
|
...props,
|
|
1381
|
-
children: children ?? /* @__PURE__ */
|
|
1382
|
-
/* @__PURE__ */
|
|
1383
|
-
/* @__PURE__ */
|
|
1474
|
+
children: children ?? /* @__PURE__ */ jsxs10(Fragment2, { children: [
|
|
1475
|
+
/* @__PURE__ */ jsx16("div", { className: "polli:flex polli:flex-wrap polli:items-center polli:gap-2", children: start }),
|
|
1476
|
+
/* @__PURE__ */ jsx16("div", { className: "polli:ml-auto polli:flex polli:items-center polli:gap-2", children: end })
|
|
1384
1477
|
] })
|
|
1385
1478
|
}
|
|
1386
1479
|
);
|
|
@@ -1394,13 +1487,13 @@ import {
|
|
|
1394
1487
|
} from "react";
|
|
1395
1488
|
|
|
1396
1489
|
// src/primitives/Button.tsx
|
|
1397
|
-
import { jsx as
|
|
1490
|
+
import { jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1398
1491
|
var pillSizes = {
|
|
1399
1492
|
icon: "polli:h-12 polli:w-12 polli:p-0",
|
|
1400
1493
|
xs: "polli:h-5 polli:px-1.5 polli:py-0 polli:text-[11px] polli:leading-none",
|
|
1401
1494
|
sm: "polli:min-h-7 polli:px-2 polli:pt-0.5 polli:pb-1",
|
|
1402
1495
|
md: "polli:min-h-9 polli:px-4 polli:pt-1.5 polli:pb-2",
|
|
1403
|
-
lg: "polli:min-h-12 polli:px-6 polli:py-3"
|
|
1496
|
+
lg: "polli:min-h-12 polli:px-6 polli:py-3 polli:text-base"
|
|
1404
1497
|
};
|
|
1405
1498
|
var raisedSizes = {
|
|
1406
1499
|
icon: "polli:h-12 polli:w-12 polli:p-0",
|
|
@@ -1414,11 +1507,11 @@ var appearanceClasses = {
|
|
|
1414
1507
|
raised: "polli:rounded-xl polli:border-r-[3px] polli:border-b-[3px] polli:border-solid polli:border-theme-text-strong/20 polli:hover:border-theme-text-strong/45"
|
|
1415
1508
|
};
|
|
1416
1509
|
var themeClasses = "polli:bg-theme-bg-active polli:text-theme-text-strong polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover polli:transition-colors";
|
|
1417
|
-
var outlined = "polli:border polli:border-theme-text-soft polli:bg-
|
|
1510
|
+
var outlined = "polli:border polli:border-theme-text-soft polli:bg-theme-bg-active/30 polli:text-theme-text-strong polli:transition-colors polli:[.dark_&]:bg-transparent";
|
|
1418
1511
|
var intentClasses2 = {
|
|
1419
|
-
brand: `${outlined} polli:hover:bg-theme-text-soft/10`,
|
|
1512
|
+
brand: `${outlined} polli:hover:bg-theme-bg-active/50 polli:[.dark_&]:hover:bg-theme-text-soft/10`,
|
|
1420
1513
|
commit: `${outlined} polli:hover:border-theme-bg-active polli:hover:bg-theme-bg-active polli:focus-visible:border-theme-bg-active polli:focus-visible:bg-theme-bg-active polli:[.dark_&]:hover:bg-theme-bg-active polli:[.dark_&]:focus-visible:bg-theme-bg-active`,
|
|
1421
|
-
danger: "polli:border polli:border-intent-danger-text polli:bg-
|
|
1514
|
+
danger: "polli:border polli:border-intent-danger-text polli:bg-intent-danger-bg-light polli:text-intent-danger-text polli:hover:bg-intent-danger-bg-hover polli:focus-visible:bg-intent-danger-bg-hover polli:transition-colors polli:[.dark_&]:bg-transparent polli:[.dark_&]:hover:bg-intent-danger-bg-hover polli:[.dark_&]:focus-visible:bg-intent-danger-bg-hover",
|
|
1422
1515
|
info: "polli:bg-intent-info-bg-light polli:text-intent-info-text polli:hover:bg-intent-info-bg-hover polli:transition-colors",
|
|
1423
1516
|
// Secondary actions never take the accent: one step stronger grey on hover.
|
|
1424
1517
|
neutral: "polli:bg-theme-bg-subtle polli:text-theme-text-base polli:hover:bg-theme-text-muted/25 polli:hover:text-theme-text-strong polli:transition-colors"
|
|
@@ -1428,13 +1521,15 @@ var buttonClasses = ({
|
|
|
1428
1521
|
appearance = "pill",
|
|
1429
1522
|
size,
|
|
1430
1523
|
className,
|
|
1431
|
-
disabled
|
|
1524
|
+
disabled,
|
|
1525
|
+
busy
|
|
1432
1526
|
}) => {
|
|
1433
1527
|
const colorClasses = intent ? intentClasses2[intent] : themeClasses;
|
|
1434
1528
|
const sizeClasses4 = appearance === "raised" ? raisedSizes : pillSizes;
|
|
1435
1529
|
return cn(
|
|
1436
1530
|
"polli-control polli:inline-flex polli:items-center polli:justify-center polli:self-center polli:font-body polli:text-sm polli:font-medium polli:leading-normal polli:box-border polli:border polli:border-transparent",
|
|
1437
|
-
|
|
1531
|
+
// A busy button is working, not unavailable: it keeps its strength.
|
|
1532
|
+
busy ? "polli:cursor-progress" : disabled ? "polli:opacity-50 polli:cursor-not-allowed" : "polli:hover:filter polli:hover:brightness-105 polli:cursor-pointer",
|
|
1438
1533
|
colorClasses,
|
|
1439
1534
|
appearanceClasses[appearance],
|
|
1440
1535
|
sizeClasses4[size || "md"],
|
|
@@ -1457,11 +1552,13 @@ function Button({
|
|
|
1457
1552
|
const isAnchor = Component === "a";
|
|
1458
1553
|
const buttonType = buttonProps.type;
|
|
1459
1554
|
const onClick = buttonProps.onClick;
|
|
1555
|
+
const ariaBusy = buttonProps["aria-busy"];
|
|
1556
|
+
const busy = ariaBusy === true || ariaBusy === "true";
|
|
1460
1557
|
const handleClick = disabled ? (event) => {
|
|
1461
1558
|
event.preventDefault();
|
|
1462
1559
|
event.stopPropagation();
|
|
1463
1560
|
} : onClick;
|
|
1464
|
-
return /* @__PURE__ */
|
|
1561
|
+
return /* @__PURE__ */ jsxs11(
|
|
1465
1562
|
Component,
|
|
1466
1563
|
{
|
|
1467
1564
|
...buttonProps,
|
|
@@ -1475,15 +1572,16 @@ function Button({
|
|
|
1475
1572
|
appearance,
|
|
1476
1573
|
size,
|
|
1477
1574
|
className,
|
|
1478
|
-
disabled
|
|
1575
|
+
disabled,
|
|
1576
|
+
busy
|
|
1479
1577
|
}),
|
|
1480
1578
|
children: [
|
|
1481
|
-
icon && /* @__PURE__ */
|
|
1579
|
+
icon && /* @__PURE__ */ jsx17(
|
|
1482
1580
|
"span",
|
|
1483
1581
|
{
|
|
1484
1582
|
"aria-hidden": "true",
|
|
1485
1583
|
className: "polli:mr-2 polli:flex polli:size-4 polli:shrink-0 polli:[&>svg]:size-full",
|
|
1486
|
-
children: icon
|
|
1584
|
+
children: busy ? /* @__PURE__ */ jsx17("span", { className: "polli:block polli:size-full polli:animate-spin polli:rounded-full polli:border-2 polli:border-current polli:border-r-transparent polli:motion-reduce:animate-none" }) : icon
|
|
1487
1585
|
}
|
|
1488
1586
|
),
|
|
1489
1587
|
children
|
|
@@ -1500,7 +1598,7 @@ import {
|
|
|
1500
1598
|
useState as useState3
|
|
1501
1599
|
} from "react";
|
|
1502
1600
|
import { createPortal } from "react-dom";
|
|
1503
|
-
import { Fragment as Fragment3, jsx as
|
|
1601
|
+
import { Fragment as Fragment3, jsx as jsx18, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1504
1602
|
var TOOLTIP_MAX_WIDTH = 288;
|
|
1505
1603
|
var TOOLTIP_VIEWPORT_MARGIN = 12;
|
|
1506
1604
|
var Tooltip = ({
|
|
@@ -1594,7 +1692,7 @@ var Tooltip = ({
|
|
|
1594
1692
|
);
|
|
1595
1693
|
const cursorClass = displayContents ? "polli:contents" : "polli:cursor-inherit";
|
|
1596
1694
|
const popupClasses = "polli:fixed polli:w-max polli:px-2 polli:py-1 polli:bg-surface-menu polli:text-theme-text-base polli:font-normal polli:leading-snug polli:tracking-normal polli:normal-case polli:not-italic polli:text-xs polli:rounded-md polli:shadow-md polli:z-[130] polli:pointer-events-none polli:transition-opacity polli:whitespace-pre-line polli:break-words";
|
|
1597
|
-
const popupNode = content ? /* @__PURE__ */
|
|
1695
|
+
const popupNode = content ? /* @__PURE__ */ jsx18(
|
|
1598
1696
|
"span",
|
|
1599
1697
|
{
|
|
1600
1698
|
id: tooltipId,
|
|
@@ -1614,8 +1712,8 @@ var Tooltip = ({
|
|
|
1614
1712
|
popupNode,
|
|
1615
1713
|
triggerRef.current?.closest('[role="dialog"]') ?? document.body
|
|
1616
1714
|
) : popupNode;
|
|
1617
|
-
const contentNode = /* @__PURE__ */
|
|
1618
|
-
/* @__PURE__ */
|
|
1715
|
+
const contentNode = /* @__PURE__ */ jsxs12(Fragment3, { children: [
|
|
1716
|
+
/* @__PURE__ */ jsx18("span", { className: cursorClass, children }),
|
|
1619
1717
|
tooltipPopup
|
|
1620
1718
|
] });
|
|
1621
1719
|
const sharedProps = {
|
|
@@ -1669,7 +1767,7 @@ var Tooltip = ({
|
|
|
1669
1767
|
tabIndex: tapEnabled && content ? 0 : void 0,
|
|
1670
1768
|
onKeyDown: tapEnabled && content ? handleKeyDown : void 0
|
|
1671
1769
|
};
|
|
1672
|
-
return /* @__PURE__ */
|
|
1770
|
+
return /* @__PURE__ */ jsx18(
|
|
1673
1771
|
"span",
|
|
1674
1772
|
{
|
|
1675
1773
|
ref: (node) => {
|
|
@@ -1680,7 +1778,7 @@ var Tooltip = ({
|
|
|
1680
1778
|
}
|
|
1681
1779
|
);
|
|
1682
1780
|
}
|
|
1683
|
-
return /* @__PURE__ */
|
|
1781
|
+
return /* @__PURE__ */ jsx18(
|
|
1684
1782
|
"button",
|
|
1685
1783
|
{
|
|
1686
1784
|
ref: (node) => {
|
|
@@ -1702,7 +1800,7 @@ var Tooltip = ({
|
|
|
1702
1800
|
};
|
|
1703
1801
|
|
|
1704
1802
|
// src/compositions/CopyButton.tsx
|
|
1705
|
-
import { jsx as
|
|
1803
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
1706
1804
|
function CopyButton({
|
|
1707
1805
|
value,
|
|
1708
1806
|
children,
|
|
@@ -1745,7 +1843,7 @@ function CopyButton({
|
|
|
1745
1843
|
}
|
|
1746
1844
|
}
|
|
1747
1845
|
const Control = variant === "button" ? Button : "button";
|
|
1748
|
-
const button = /* @__PURE__ */
|
|
1846
|
+
const button = /* @__PURE__ */ jsx19(
|
|
1749
1847
|
Control,
|
|
1750
1848
|
{
|
|
1751
1849
|
...buttonProps,
|
|
@@ -1763,7 +1861,7 @@ function CopyButton({
|
|
|
1763
1861
|
if (tooltip === null) {
|
|
1764
1862
|
return button;
|
|
1765
1863
|
}
|
|
1766
|
-
return /* @__PURE__ */
|
|
1864
|
+
return /* @__PURE__ */ jsx19(
|
|
1767
1865
|
Tooltip,
|
|
1768
1866
|
{
|
|
1769
1867
|
triggerAs: "span",
|
|
@@ -1783,7 +1881,7 @@ function CopyButton({
|
|
|
1783
1881
|
}
|
|
1784
1882
|
|
|
1785
1883
|
// src/compositions/CodeBlock.tsx
|
|
1786
|
-
import { Fragment as Fragment4, jsx as
|
|
1884
|
+
import { Fragment as Fragment4, jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1787
1885
|
var CodeBlock = ({
|
|
1788
1886
|
code,
|
|
1789
1887
|
codeClassName,
|
|
@@ -1792,7 +1890,7 @@ var CodeBlock = ({
|
|
|
1792
1890
|
...rest
|
|
1793
1891
|
}) => {
|
|
1794
1892
|
const label = language || "Code";
|
|
1795
|
-
return /* @__PURE__ */
|
|
1893
|
+
return /* @__PURE__ */ jsxs13(
|
|
1796
1894
|
"div",
|
|
1797
1895
|
{
|
|
1798
1896
|
...rest,
|
|
@@ -1801,30 +1899,30 @@ var CodeBlock = ({
|
|
|
1801
1899
|
className
|
|
1802
1900
|
),
|
|
1803
1901
|
children: [
|
|
1804
|
-
/* @__PURE__ */
|
|
1805
|
-
/* @__PURE__ */
|
|
1806
|
-
/* @__PURE__ */
|
|
1902
|
+
/* @__PURE__ */ jsxs13("div", { className: "polli:flex polli:min-h-9 polli:items-center polli:justify-between polli:gap-3 polli:bg-theme-bg-subtle polli:px-3 polli:py-1.5", children: [
|
|
1903
|
+
/* @__PURE__ */ jsx20("span", { className: "polli:truncate polli:font-mono polli:text-[11px] polli:font-medium polli:uppercase polli:tracking-wide polli:text-theme-text-muted", children: label }),
|
|
1904
|
+
/* @__PURE__ */ jsx20(
|
|
1807
1905
|
CopyButton,
|
|
1808
1906
|
{
|
|
1809
1907
|
value: code,
|
|
1810
1908
|
tooltip: null,
|
|
1811
1909
|
"aria-label": "Copy code",
|
|
1812
1910
|
className: "polli:flex polli:items-center polli:gap-1.5 polli:rounded-md polli:px-2 polli:py-1 polli:text-xs polli:font-medium polli:text-theme-text-base polli:transition-colors polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover",
|
|
1813
|
-
children: (copied) => /* @__PURE__ */
|
|
1814
|
-
copied ? /* @__PURE__ */
|
|
1815
|
-
/* @__PURE__ */
|
|
1911
|
+
children: (copied) => /* @__PURE__ */ jsxs13(Fragment4, { children: [
|
|
1912
|
+
copied ? /* @__PURE__ */ jsx20(CheckIcon, { className: "polli:size-3.5" }) : /* @__PURE__ */ jsx20(ClipboardIcon, { className: "polli:size-3.5" }),
|
|
1913
|
+
/* @__PURE__ */ jsx20("span", { children: copied ? "Copied" : "Copy" })
|
|
1816
1914
|
] })
|
|
1817
1915
|
}
|
|
1818
1916
|
)
|
|
1819
1917
|
] }),
|
|
1820
|
-
/* @__PURE__ */
|
|
1918
|
+
/* @__PURE__ */ jsx20(
|
|
1821
1919
|
"pre",
|
|
1822
1920
|
{
|
|
1823
1921
|
className: cn(
|
|
1824
1922
|
"polli:m-0 polli:min-w-0 polli:whitespace-pre-wrap polli:break-words polli:[overflow-wrap:anywhere] polli:[tab-size:4] polli:p-3 polli:font-mono polli:text-xs polli:leading-6 polli:text-theme-text-strong",
|
|
1825
1923
|
codeClassName
|
|
1826
1924
|
),
|
|
1827
|
-
children: /* @__PURE__ */
|
|
1925
|
+
children: /* @__PURE__ */ jsx20("code", { children: code })
|
|
1828
1926
|
}
|
|
1829
1927
|
)
|
|
1830
1928
|
]
|
|
@@ -1833,7 +1931,7 @@ var CodeBlock = ({
|
|
|
1833
1931
|
};
|
|
1834
1932
|
|
|
1835
1933
|
// src/compositions/Collapsible.tsx
|
|
1836
|
-
import { jsx as
|
|
1934
|
+
import { jsx as jsx21, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1837
1935
|
var Collapsible = ({
|
|
1838
1936
|
label,
|
|
1839
1937
|
expanded,
|
|
@@ -1846,7 +1944,7 @@ var Collapsible = ({
|
|
|
1846
1944
|
focusClassName,
|
|
1847
1945
|
panelClassName = "polli:border-t polli:border-theme-border polli:px-3 polli:pt-3 polli:pb-3",
|
|
1848
1946
|
ariaLabel
|
|
1849
|
-
}) => /* @__PURE__ */
|
|
1947
|
+
}) => /* @__PURE__ */ jsxs14(
|
|
1850
1948
|
"div",
|
|
1851
1949
|
{
|
|
1852
1950
|
className: cn(
|
|
@@ -1855,7 +1953,7 @@ var Collapsible = ({
|
|
|
1855
1953
|
disabled && "polli:opacity-50"
|
|
1856
1954
|
),
|
|
1857
1955
|
children: [
|
|
1858
|
-
/* @__PURE__ */
|
|
1956
|
+
/* @__PURE__ */ jsxs14(
|
|
1859
1957
|
"button",
|
|
1860
1958
|
{
|
|
1861
1959
|
type: "button",
|
|
@@ -1872,8 +1970,8 @@ var Collapsible = ({
|
|
|
1872
1970
|
disabled ? "polli:cursor-not-allowed" : "polli:cursor-pointer"
|
|
1873
1971
|
),
|
|
1874
1972
|
children: [
|
|
1875
|
-
/* @__PURE__ */
|
|
1876
|
-
/* @__PURE__ */
|
|
1973
|
+
/* @__PURE__ */ jsx21("div", { className: "polli:flex-1 polli:min-w-0", children: label }),
|
|
1974
|
+
/* @__PURE__ */ jsx21(
|
|
1877
1975
|
ChevronIcon,
|
|
1878
1976
|
{
|
|
1879
1977
|
expanded,
|
|
@@ -1883,7 +1981,7 @@ var Collapsible = ({
|
|
|
1883
1981
|
]
|
|
1884
1982
|
}
|
|
1885
1983
|
),
|
|
1886
|
-
expanded && /* @__PURE__ */
|
|
1984
|
+
expanded && /* @__PURE__ */ jsx21("div", { className: panelClassName, children })
|
|
1887
1985
|
]
|
|
1888
1986
|
}
|
|
1889
1987
|
);
|
|
@@ -1892,7 +1990,7 @@ var Collapsible = ({
|
|
|
1892
1990
|
import { Dialog as ArkDialog } from "@ark-ui/react/dialog";
|
|
1893
1991
|
import { Portal as Portal2 } from "@ark-ui/react/portal";
|
|
1894
1992
|
import { useRef as useRef4 } from "react";
|
|
1895
|
-
import { jsx as
|
|
1993
|
+
import { jsx as jsx22, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1896
1994
|
var sizeClasses = {
|
|
1897
1995
|
sm: "polli:max-w-md",
|
|
1898
1996
|
md: "polli:max-w-xl",
|
|
@@ -1916,14 +2014,14 @@ var Dialog = ({
|
|
|
1916
2014
|
children
|
|
1917
2015
|
}) => {
|
|
1918
2016
|
const contentRef = useRef4(null);
|
|
1919
|
-
return /* @__PURE__ */
|
|
2017
|
+
return /* @__PURE__ */ jsxs15(
|
|
1920
2018
|
ArkDialog.Root,
|
|
1921
2019
|
{
|
|
1922
2020
|
open,
|
|
1923
2021
|
initialFocusEl: () => contentRef.current,
|
|
1924
2022
|
onOpenChange: (details) => onOpenChange?.(details.open),
|
|
1925
2023
|
children: [
|
|
1926
|
-
trigger && /* @__PURE__ */
|
|
2024
|
+
trigger && /* @__PURE__ */ jsx22(
|
|
1927
2025
|
ArkDialog.Trigger,
|
|
1928
2026
|
{
|
|
1929
2027
|
asChild: triggerAsChild,
|
|
@@ -1931,36 +2029,38 @@ var Dialog = ({
|
|
|
1931
2029
|
children: trigger
|
|
1932
2030
|
}
|
|
1933
2031
|
),
|
|
1934
|
-
/* @__PURE__ */
|
|
1935
|
-
showBackdrop && /* @__PURE__ */
|
|
2032
|
+
/* @__PURE__ */ jsxs15(Portal2, { children: [
|
|
2033
|
+
showBackdrop && /* @__PURE__ */ jsx22(
|
|
1936
2034
|
ArkDialog.Backdrop,
|
|
1937
2035
|
{
|
|
1938
2036
|
className: cn(
|
|
1939
|
-
"polli:fixed polli:inset-0 polli:z-[
|
|
2037
|
+
"polli:fixed polli:inset-0 polli:z-[calc(100_+_var(--layer-index,0)_*_20)] polli:bg-[#000]/50",
|
|
1940
2038
|
backdropBlur && "polli:backdrop-blur-sm"
|
|
1941
2039
|
)
|
|
1942
2040
|
}
|
|
1943
2041
|
),
|
|
1944
|
-
/* @__PURE__ */
|
|
2042
|
+
/* @__PURE__ */ jsx22(
|
|
1945
2043
|
ArkDialog.Positioner,
|
|
1946
2044
|
{
|
|
1947
2045
|
className: cn(
|
|
1948
|
-
"polli:fixed polli:inset-0 polli:z-[
|
|
2046
|
+
"polli:fixed polli:inset-0 polli:z-[calc(110_+_var(--layer-index,0)_*_20)] polli:flex polli:max-h-dvh polli:items-start polli:justify-center polli:overflow-hidden polli:p-4",
|
|
2047
|
+
"polli-dialog-mobile-positioner",
|
|
1949
2048
|
positionerClassName
|
|
1950
2049
|
),
|
|
1951
|
-
children: /* @__PURE__ */
|
|
2050
|
+
children: /* @__PURE__ */ jsxs15(
|
|
1952
2051
|
ArkDialog.Content,
|
|
1953
2052
|
{
|
|
1954
2053
|
ref: contentRef,
|
|
1955
2054
|
"aria-label": ariaLabel,
|
|
1956
2055
|
"aria-labelledby": labelledBy,
|
|
1957
2056
|
className: cn(
|
|
1958
|
-
"polli:flex polli:h-
|
|
2057
|
+
"polli:my-auto polli:flex polli:h-auto polli:max-h-full polli:w-full polli:flex-col polli:overflow-y-auto polli:rounded-block polli:bg-surface-block polli:outline-none polli:focus:outline-none polli:focus-visible:outline-none",
|
|
2058
|
+
"polli-dialog-mobile-page",
|
|
1959
2059
|
sizeClasses[size],
|
|
1960
2060
|
contentClassName
|
|
1961
2061
|
),
|
|
1962
2062
|
children: [
|
|
1963
|
-
title && /* @__PURE__ */
|
|
2063
|
+
title && /* @__PURE__ */ jsx22(DialogHeader, { title }),
|
|
1964
2064
|
children
|
|
1965
2065
|
]
|
|
1966
2066
|
}
|
|
@@ -1984,23 +2084,23 @@ var DialogHeader = ({
|
|
|
1984
2084
|
descriptionClassName,
|
|
1985
2085
|
...props
|
|
1986
2086
|
}) => {
|
|
1987
|
-
return /* @__PURE__ */
|
|
2087
|
+
return /* @__PURE__ */ jsxs15(
|
|
1988
2088
|
"div",
|
|
1989
2089
|
{
|
|
1990
2090
|
className: cn(
|
|
1991
|
-
inBody ? "polli:shrink-0 polli:pt-2 polli:pb-4" : "polli:shrink-0 polli:
|
|
2091
|
+
inBody ? "polli:shrink-0 polli:pt-2 polli:pb-4" : "polli:shrink-0 polli:px-(--polli-dialog-gutter) polli:pt-6 polli:pb-4",
|
|
1992
2092
|
className
|
|
1993
2093
|
),
|
|
1994
2094
|
...props,
|
|
1995
2095
|
children: [
|
|
1996
|
-
title && /* @__PURE__ */
|
|
2096
|
+
title && /* @__PURE__ */ jsx22(
|
|
1997
2097
|
DialogTitle,
|
|
1998
2098
|
{
|
|
1999
2099
|
className: cn(headingClassName("section"), titleClassName),
|
|
2000
2100
|
children: title
|
|
2001
2101
|
}
|
|
2002
2102
|
),
|
|
2003
|
-
description && /* @__PURE__ */
|
|
2103
|
+
description && /* @__PURE__ */ jsx22(
|
|
2004
2104
|
DialogDescription,
|
|
2005
2105
|
{
|
|
2006
2106
|
className: cn(
|
|
@@ -2023,7 +2123,7 @@ function DialogBody({
|
|
|
2023
2123
|
className,
|
|
2024
2124
|
...props
|
|
2025
2125
|
}) {
|
|
2026
|
-
return /* @__PURE__ */
|
|
2126
|
+
return /* @__PURE__ */ jsxs15(
|
|
2027
2127
|
ScrollArea,
|
|
2028
2128
|
{
|
|
2029
2129
|
...props,
|
|
@@ -2032,19 +2132,22 @@ function DialogBody({
|
|
|
2032
2132
|
className
|
|
2033
2133
|
),
|
|
2034
2134
|
children: [
|
|
2035
|
-
/* @__PURE__ */
|
|
2135
|
+
/* @__PURE__ */ jsx22(
|
|
2036
2136
|
"div",
|
|
2037
2137
|
{
|
|
2038
2138
|
className: cn(
|
|
2039
|
-
"polli:
|
|
2139
|
+
"polli:space-y-3 polli:px-(--polli-dialog-gutter) polli:py-4",
|
|
2040
2140
|
bodyClassName
|
|
2041
2141
|
),
|
|
2042
2142
|
children
|
|
2043
2143
|
}
|
|
2044
2144
|
),
|
|
2045
|
-
(actions || footnote) &&
|
|
2046
|
-
|
|
2047
|
-
|
|
2145
|
+
(actions || footnote) && // The size container lets the footer follow the dialog's width.
|
|
2146
|
+
// It sits on the footer alone so pickers and tooltips in the
|
|
2147
|
+
// body keep their positioning.
|
|
2148
|
+
/* @__PURE__ */ jsxs15("div", { className: "polli-dialog-floating-controls polli:@container polli:pointer-events-none polli:sticky polli:bottom-0 polli:z-10", children: [
|
|
2149
|
+
actions && /* @__PURE__ */ jsx22(DialogFooter, { className: "polli:pointer-events-auto", children: actions }),
|
|
2150
|
+
footnote && /* @__PURE__ */ jsx22("div", { className: "polli:pointer-events-auto", children: footnote })
|
|
2048
2151
|
] })
|
|
2049
2152
|
]
|
|
2050
2153
|
}
|
|
@@ -2055,11 +2158,15 @@ var DialogFooter = ({
|
|
|
2055
2158
|
className,
|
|
2056
2159
|
...props
|
|
2057
2160
|
}) => {
|
|
2058
|
-
return /* @__PURE__ */
|
|
2161
|
+
return /* @__PURE__ */ jsx22(
|
|
2059
2162
|
"div",
|
|
2060
2163
|
{
|
|
2061
2164
|
className: cn(
|
|
2062
|
-
"polli:flex polli:shrink-0 polli:flex-wrap polli:items-center polli:justify-end polli:gap-3 polli:bg-transparent polli:
|
|
2165
|
+
"polli:flex polli:shrink-0 polli:flex-wrap polli:items-center polli:justify-end polli:gap-3 polli:bg-transparent polli:px-(--polli-dialog-gutter) polli:pt-4 polli:pb-6",
|
|
2166
|
+
// Actions are the screen's main controls: touch-sized, sharing
|
|
2167
|
+
// the row in a narrow dialog (below 36rem, phones included), and
|
|
2168
|
+
// spanning it when there is only one.
|
|
2169
|
+
"polli:[&>.polli-control]:min-h-12 polli:[&>.polli-control]:text-base polli:@max-xl:[&>.polli-control]:flex-auto polli:[&>.polli-control:only-child]:flex-auto",
|
|
2063
2170
|
className
|
|
2064
2171
|
),
|
|
2065
2172
|
...props,
|
|
@@ -2069,12 +2176,12 @@ var DialogFooter = ({
|
|
|
2069
2176
|
};
|
|
2070
2177
|
|
|
2071
2178
|
// src/compositions/ConfirmationDialog.tsx
|
|
2072
|
-
import { Fragment as Fragment5, jsx as
|
|
2179
|
+
import { Fragment as Fragment5, jsx as jsx23, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2073
2180
|
var defaultIcons = {
|
|
2074
|
-
danger: /* @__PURE__ */
|
|
2075
|
-
commit: /* @__PURE__ */
|
|
2076
|
-
info: /* @__PURE__ */
|
|
2077
|
-
neutral: /* @__PURE__ */
|
|
2181
|
+
danger: /* @__PURE__ */ jsx23(TrashIcon, {}),
|
|
2182
|
+
commit: /* @__PURE__ */ jsx23(CheckIcon, {}),
|
|
2183
|
+
info: /* @__PURE__ */ jsx23(CheckIcon, {}),
|
|
2184
|
+
neutral: /* @__PURE__ */ jsx23(CheckIcon, {})
|
|
2078
2185
|
};
|
|
2079
2186
|
function ConfirmationDialog({
|
|
2080
2187
|
open,
|
|
@@ -2090,19 +2197,19 @@ function ConfirmationDialog({
|
|
|
2090
2197
|
onCancel,
|
|
2091
2198
|
size = "md"
|
|
2092
2199
|
}) {
|
|
2093
|
-
const actions = /* @__PURE__ */
|
|
2094
|
-
/* @__PURE__ */
|
|
2200
|
+
const actions = /* @__PURE__ */ jsxs16(Fragment5, { children: [
|
|
2201
|
+
/* @__PURE__ */ jsx23(
|
|
2095
2202
|
Button,
|
|
2096
2203
|
{
|
|
2097
2204
|
type: "button",
|
|
2098
2205
|
intent: "neutral",
|
|
2099
|
-
icon: /* @__PURE__ */
|
|
2206
|
+
icon: /* @__PURE__ */ jsx23(XIcon, {}),
|
|
2100
2207
|
onClick: onCancel,
|
|
2101
2208
|
disabled: cancelDisabled,
|
|
2102
2209
|
children: "Cancel"
|
|
2103
2210
|
}
|
|
2104
2211
|
),
|
|
2105
|
-
/* @__PURE__ */
|
|
2212
|
+
/* @__PURE__ */ jsx23(
|
|
2106
2213
|
Button,
|
|
2107
2214
|
{
|
|
2108
2215
|
type: "button",
|
|
@@ -2114,16 +2221,16 @@ function ConfirmationDialog({
|
|
|
2114
2221
|
}
|
|
2115
2222
|
)
|
|
2116
2223
|
] });
|
|
2117
|
-
return /* @__PURE__ */
|
|
2224
|
+
return /* @__PURE__ */ jsx23(
|
|
2118
2225
|
Dialog,
|
|
2119
2226
|
{
|
|
2120
2227
|
open,
|
|
2121
2228
|
onOpenChange: (next) => !next && onCancel(),
|
|
2122
2229
|
size,
|
|
2123
2230
|
contentClassName: "polli:overflow-hidden",
|
|
2124
|
-
children: /* @__PURE__ */
|
|
2125
|
-
/* @__PURE__ */
|
|
2126
|
-
description && /* @__PURE__ */
|
|
2231
|
+
children: /* @__PURE__ */ jsxs16(DialogBody, { actions, children: [
|
|
2232
|
+
/* @__PURE__ */ jsx23(DialogHeader, { inBody: true, title }),
|
|
2233
|
+
description && /* @__PURE__ */ jsx23("p", { className: "polli:text-sm polli:leading-relaxed", children: description }),
|
|
2127
2234
|
children
|
|
2128
2235
|
] })
|
|
2129
2236
|
}
|
|
@@ -2131,7 +2238,7 @@ function ConfirmationDialog({
|
|
|
2131
2238
|
}
|
|
2132
2239
|
|
|
2133
2240
|
// src/primitives/Eyebrow.tsx
|
|
2134
|
-
import { jsx as
|
|
2241
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
2135
2242
|
var sizeClasses2 = {
|
|
2136
2243
|
page: "polli:text-sm polli:tracking-widest polli:text-theme-text-soft",
|
|
2137
2244
|
card: "polli:text-xs polli:tracking-wider polli:text-theme-text-soft",
|
|
@@ -2145,7 +2252,7 @@ function Eyebrow({
|
|
|
2145
2252
|
...rest
|
|
2146
2253
|
}) {
|
|
2147
2254
|
const Component = as || "span";
|
|
2148
|
-
return /* @__PURE__ */
|
|
2255
|
+
return /* @__PURE__ */ jsx24(
|
|
2149
2256
|
Component,
|
|
2150
2257
|
{
|
|
2151
2258
|
...rest,
|
|
@@ -2160,7 +2267,7 @@ function Eyebrow({
|
|
|
2160
2267
|
}
|
|
2161
2268
|
|
|
2162
2269
|
// src/compositions/ContentHeader.tsx
|
|
2163
|
-
import { jsx as
|
|
2270
|
+
import { jsx as jsx25, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2164
2271
|
var titleClasses = {
|
|
2165
2272
|
page: "polli:font-heading polli:text-4xl polli:leading-[1.08] polli:text-theme-text-strong polli:sm:text-5xl polli:lg:text-7xl",
|
|
2166
2273
|
section: "polli:font-subheading polli:text-3xl polli:leading-tight polli:text-theme-text-strong polli:sm:text-4xl"
|
|
@@ -2178,7 +2285,7 @@ function ContentHeader({
|
|
|
2178
2285
|
className
|
|
2179
2286
|
}) {
|
|
2180
2287
|
const Title = variant === "page" ? "h1" : "h2";
|
|
2181
|
-
return /* @__PURE__ */
|
|
2288
|
+
return /* @__PURE__ */ jsxs17(
|
|
2182
2289
|
"header",
|
|
2183
2290
|
{
|
|
2184
2291
|
className: cn(
|
|
@@ -2186,10 +2293,10 @@ function ContentHeader({
|
|
|
2186
2293
|
className
|
|
2187
2294
|
),
|
|
2188
2295
|
children: [
|
|
2189
|
-
/* @__PURE__ */
|
|
2190
|
-
/* @__PURE__ */
|
|
2191
|
-
/* @__PURE__ */
|
|
2192
|
-
subtitle && /* @__PURE__ */
|
|
2296
|
+
/* @__PURE__ */ jsxs17("div", { className: "polli:flex polli:max-w-2xl polli:flex-col polli:gap-3", children: [
|
|
2297
|
+
eyebrow ? /* @__PURE__ */ jsx25(Eyebrow, { size: "page", children: eyebrow }) : null,
|
|
2298
|
+
/* @__PURE__ */ jsx25(Title, { className: titleClasses[variant], children: title }),
|
|
2299
|
+
subtitle && /* @__PURE__ */ jsx25(
|
|
2193
2300
|
"p",
|
|
2194
2301
|
{
|
|
2195
2302
|
className: cn(
|
|
@@ -2207,7 +2314,7 @@ function ContentHeader({
|
|
|
2207
2314
|
}
|
|
2208
2315
|
|
|
2209
2316
|
// src/compositions/CopyField.tsx
|
|
2210
|
-
import { Fragment as Fragment6, jsx as
|
|
2317
|
+
import { Fragment as Fragment6, jsx as jsx26, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2211
2318
|
function CopyField({
|
|
2212
2319
|
value,
|
|
2213
2320
|
label,
|
|
@@ -2215,7 +2322,7 @@ function CopyField({
|
|
|
2215
2322
|
className,
|
|
2216
2323
|
...copy
|
|
2217
2324
|
}) {
|
|
2218
|
-
return /* @__PURE__ */
|
|
2325
|
+
return /* @__PURE__ */ jsx26(
|
|
2219
2326
|
CopyButton,
|
|
2220
2327
|
{
|
|
2221
2328
|
...copy,
|
|
@@ -2227,14 +2334,14 @@ function CopyField({
|
|
|
2227
2334
|
copied ? "polli:text-intent-success-text" : "polli:text-theme-text-base polli:hover:text-theme-text-strong",
|
|
2228
2335
|
className
|
|
2229
2336
|
),
|
|
2230
|
-
children: (copied) => /* @__PURE__ */
|
|
2231
|
-
/* @__PURE__ */
|
|
2232
|
-
/* @__PURE__ */
|
|
2337
|
+
children: (copied) => /* @__PURE__ */ jsxs18(Fragment6, { children: [
|
|
2338
|
+
/* @__PURE__ */ jsx26("span", { className: "polli:min-w-0 polli:flex-1 polli:select-all polli:break-all", children: copied ? "Copied" : display ?? String(value) }),
|
|
2339
|
+
/* @__PURE__ */ jsx26(
|
|
2233
2340
|
"span",
|
|
2234
2341
|
{
|
|
2235
2342
|
"aria-hidden": "true",
|
|
2236
2343
|
className: "polli:flex polli:size-4 polli:shrink-0 polli:[&>svg]:size-full",
|
|
2237
|
-
children: copied ? /* @__PURE__ */
|
|
2344
|
+
children: copied ? /* @__PURE__ */ jsx26(CheckIcon, {}) : /* @__PURE__ */ jsx26(ClipboardIcon, {})
|
|
2238
2345
|
}
|
|
2239
2346
|
)
|
|
2240
2347
|
] })
|
|
@@ -2253,9 +2360,9 @@ import {
|
|
|
2253
2360
|
|
|
2254
2361
|
// src/primitives/Input.tsx
|
|
2255
2362
|
import { forwardRef as forwardRef5 } from "react";
|
|
2256
|
-
import { jsx as
|
|
2363
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
2257
2364
|
var Input = forwardRef5(
|
|
2258
|
-
({ className, error, hideNumberSteppers, ...props }, ref) => /* @__PURE__ */
|
|
2365
|
+
({ className, error, hideNumberSteppers, ...props }, ref) => /* @__PURE__ */ jsx27(
|
|
2259
2366
|
"input",
|
|
2260
2367
|
{
|
|
2261
2368
|
ref,
|
|
@@ -2274,7 +2381,7 @@ var Input = forwardRef5(
|
|
|
2274
2381
|
);
|
|
2275
2382
|
|
|
2276
2383
|
// src/compositions/EditableCombobox.tsx
|
|
2277
|
-
import { jsx as
|
|
2384
|
+
import { jsx as jsx28, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2278
2385
|
function EditableComboboxToken({
|
|
2279
2386
|
label,
|
|
2280
2387
|
value,
|
|
@@ -2282,7 +2389,7 @@ function EditableComboboxToken({
|
|
|
2282
2389
|
className,
|
|
2283
2390
|
...buttonProps
|
|
2284
2391
|
}) {
|
|
2285
|
-
return /* @__PURE__ */
|
|
2392
|
+
return /* @__PURE__ */ jsxs19(
|
|
2286
2393
|
"button",
|
|
2287
2394
|
{
|
|
2288
2395
|
type: "button",
|
|
@@ -2293,12 +2400,12 @@ function EditableComboboxToken({
|
|
|
2293
2400
|
),
|
|
2294
2401
|
...buttonProps,
|
|
2295
2402
|
children: [
|
|
2296
|
-
/* @__PURE__ */
|
|
2403
|
+
/* @__PURE__ */ jsxs19("span", { className: "polli:text-theme-text-muted", children: [
|
|
2297
2404
|
label,
|
|
2298
2405
|
":"
|
|
2299
2406
|
] }),
|
|
2300
|
-
/* @__PURE__ */
|
|
2301
|
-
/* @__PURE__ */
|
|
2407
|
+
/* @__PURE__ */ jsx28("span", { className: "polli:truncate polli:text-theme-text-base", children: value }),
|
|
2408
|
+
/* @__PURE__ */ jsx28(ChevronIcon, { className: "polli:h-3 polli:w-3 polli:text-theme-text-muted" })
|
|
2302
2409
|
]
|
|
2303
2410
|
}
|
|
2304
2411
|
);
|
|
@@ -2341,7 +2448,7 @@ function EditableCombobox({
|
|
|
2341
2448
|
inputRef.current.value = value;
|
|
2342
2449
|
}
|
|
2343
2450
|
});
|
|
2344
|
-
return /* @__PURE__ */
|
|
2451
|
+
return /* @__PURE__ */ jsxs19(
|
|
2345
2452
|
Combobox.Root,
|
|
2346
2453
|
{
|
|
2347
2454
|
collection,
|
|
@@ -2363,7 +2470,7 @@ function EditableCombobox({
|
|
|
2363
2470
|
onInputValueChange: (details) => onChange(details.inputValue),
|
|
2364
2471
|
onOpenChange: (details) => onOpenChange?.(details.open),
|
|
2365
2472
|
children: [
|
|
2366
|
-
/* @__PURE__ */
|
|
2473
|
+
/* @__PURE__ */ jsxs19(
|
|
2367
2474
|
Combobox.Control,
|
|
2368
2475
|
{
|
|
2369
2476
|
className: cn(
|
|
@@ -2372,7 +2479,7 @@ function EditableCombobox({
|
|
|
2372
2479
|
),
|
|
2373
2480
|
children: [
|
|
2374
2481
|
startContent,
|
|
2375
|
-
/* @__PURE__ */
|
|
2482
|
+
/* @__PURE__ */ jsx28(Combobox.Input, { asChild: true, children: /* @__PURE__ */ jsx28(
|
|
2376
2483
|
Input,
|
|
2377
2484
|
{
|
|
2378
2485
|
ref: inputRef,
|
|
@@ -2385,12 +2492,12 @@ function EditableCombobox({
|
|
|
2385
2492
|
)
|
|
2386
2493
|
}
|
|
2387
2494
|
) }),
|
|
2388
|
-
hasOptions && !hasStartContent && /* @__PURE__ */
|
|
2495
|
+
hasOptions && !hasStartContent && /* @__PURE__ */ jsx28(
|
|
2389
2496
|
Combobox.Trigger,
|
|
2390
2497
|
{
|
|
2391
2498
|
"aria-label": "Show options",
|
|
2392
2499
|
className: "polli-control polli:absolute polli:right-0 polli:top-0 polli:flex polli:h-full polli:w-10 polli:cursor-pointer polli:items-center polli:justify-center polli:rounded-r-lg polli:text-theme-text-muted polli:hover:text-theme-text-strong",
|
|
2393
|
-
children: /* @__PURE__ */
|
|
2500
|
+
children: /* @__PURE__ */ jsx28(Combobox.Context, { children: (context) => /* @__PURE__ */ jsx28(
|
|
2394
2501
|
ChevronIcon,
|
|
2395
2502
|
{
|
|
2396
2503
|
expanded: context.open,
|
|
@@ -2402,15 +2509,15 @@ function EditableCombobox({
|
|
|
2402
2509
|
]
|
|
2403
2510
|
}
|
|
2404
2511
|
),
|
|
2405
|
-
/* @__PURE__ */
|
|
2512
|
+
/* @__PURE__ */ jsx28(Combobox.Positioner, { children: /* @__PURE__ */ jsx28(
|
|
2406
2513
|
Combobox.Content,
|
|
2407
2514
|
{
|
|
2408
2515
|
className: cn(
|
|
2409
2516
|
"polli:z-[120] polli:overflow-hidden polli:rounded-lg polli:bg-surface-menu polli:p-1 polli:shadow-lg polli:focus:outline-none",
|
|
2410
2517
|
contentClassName
|
|
2411
2518
|
),
|
|
2412
|
-
children: /* @__PURE__ */
|
|
2413
|
-
visibleOptions.map((option) => /* @__PURE__ */
|
|
2519
|
+
children: /* @__PURE__ */ jsx28(ScrollArea, { className: "polli:max-h-64", children: /* @__PURE__ */ jsxs19(Combobox.List, { className: "polli:flex polli:flex-col", children: [
|
|
2520
|
+
visibleOptions.map((option) => /* @__PURE__ */ jsx28(
|
|
2414
2521
|
Combobox.Item,
|
|
2415
2522
|
{
|
|
2416
2523
|
item: option,
|
|
@@ -2418,11 +2525,11 @@ function EditableCombobox({
|
|
|
2418
2525
|
"polli-control polli:flex polli:w-full polli:cursor-pointer polli:items-center polli:rounded-lg polli:bg-transparent polli:px-3 polli:py-2 polli:text-left polli:text-sm polli:font-medium polli:text-theme-text-base polli:transition-colors polli:hover:bg-theme-bg-hover polli:data-[highlighted]:bg-theme-bg-hover",
|
|
2419
2526
|
value === option && "polli:bg-theme-bg-active polli:text-theme-text-strong"
|
|
2420
2527
|
),
|
|
2421
|
-
children: /* @__PURE__ */
|
|
2528
|
+
children: /* @__PURE__ */ jsx28(Combobox.ItemText, { className: "polli:truncate polli:font-mono", children: option })
|
|
2422
2529
|
},
|
|
2423
2530
|
option
|
|
2424
2531
|
)),
|
|
2425
|
-
visibleOptions.length === 0 && /* @__PURE__ */
|
|
2532
|
+
visibleOptions.length === 0 && /* @__PURE__ */ jsx28(Combobox.Empty, { className: "polli:m-0 polli:px-2 polli:py-2 polli:text-sm polli:text-theme-text-soft", children: emptyMessage })
|
|
2426
2533
|
] }) })
|
|
2427
2534
|
}
|
|
2428
2535
|
) })
|
|
@@ -2444,7 +2551,7 @@ function isExternalHref(href, origin = globalThis.location?.origin) {
|
|
|
2444
2551
|
}
|
|
2445
2552
|
|
|
2446
2553
|
// src/compositions/ExternalLinkButton.tsx
|
|
2447
|
-
import { Fragment as Fragment7, jsx as
|
|
2554
|
+
import { Fragment as Fragment7, jsx as jsx29, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2448
2555
|
function ExternalLinkButton(props) {
|
|
2449
2556
|
const {
|
|
2450
2557
|
size = "md",
|
|
@@ -2455,10 +2562,10 @@ function ExternalLinkButton(props) {
|
|
|
2455
2562
|
className,
|
|
2456
2563
|
children
|
|
2457
2564
|
} = props;
|
|
2458
|
-
const content = /* @__PURE__ */
|
|
2565
|
+
const content = /* @__PURE__ */ jsxs20(Fragment7, { children: [
|
|
2459
2566
|
icon,
|
|
2460
|
-
/* @__PURE__ */
|
|
2461
|
-
external && showIcon ? /* @__PURE__ */
|
|
2567
|
+
/* @__PURE__ */ jsx29("span", { children }),
|
|
2568
|
+
external && showIcon ? /* @__PURE__ */ jsx29(
|
|
2462
2569
|
ExternalLinkIcon,
|
|
2463
2570
|
{
|
|
2464
2571
|
className: "polli:h-4 polli:w-4 polli:shrink-0 polli:opacity-60",
|
|
@@ -2480,7 +2587,7 @@ function ExternalLinkButton(props) {
|
|
|
2480
2587
|
children: _children2,
|
|
2481
2588
|
...anchorProps
|
|
2482
2589
|
} = props;
|
|
2483
|
-
return /* @__PURE__ */
|
|
2590
|
+
return /* @__PURE__ */ jsx29(
|
|
2484
2591
|
Button,
|
|
2485
2592
|
{
|
|
2486
2593
|
as: "a",
|
|
@@ -2506,7 +2613,7 @@ function ExternalLinkButton(props) {
|
|
|
2506
2613
|
children: _children,
|
|
2507
2614
|
...buttonProps
|
|
2508
2615
|
} = props;
|
|
2509
|
-
return /* @__PURE__ */
|
|
2616
|
+
return /* @__PURE__ */ jsx29(
|
|
2510
2617
|
Button,
|
|
2511
2618
|
{
|
|
2512
2619
|
as: "button",
|
|
@@ -2524,7 +2631,7 @@ function ExternalLinkButton(props) {
|
|
|
2524
2631
|
import { Field } from "@ark-ui/react/field";
|
|
2525
2632
|
|
|
2526
2633
|
// src/compositions/FieldStack.tsx
|
|
2527
|
-
import { jsx as
|
|
2634
|
+
import { jsx as jsx30, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
2528
2635
|
function FieldStack({
|
|
2529
2636
|
label,
|
|
2530
2637
|
children,
|
|
@@ -2537,7 +2644,7 @@ function FieldStack({
|
|
|
2537
2644
|
helperClassName,
|
|
2538
2645
|
errorClassName
|
|
2539
2646
|
}) {
|
|
2540
|
-
return /* @__PURE__ */
|
|
2647
|
+
return /* @__PURE__ */ jsxs21(
|
|
2541
2648
|
Field.Root,
|
|
2542
2649
|
{
|
|
2543
2650
|
className: cn(
|
|
@@ -2546,7 +2653,7 @@ function FieldStack({
|
|
|
2546
2653
|
),
|
|
2547
2654
|
invalid: Boolean(error),
|
|
2548
2655
|
children: [
|
|
2549
|
-
(label || action) && /* @__PURE__ */
|
|
2656
|
+
(label || action) && /* @__PURE__ */ jsxs21(
|
|
2550
2657
|
"div",
|
|
2551
2658
|
{
|
|
2552
2659
|
className: cn(
|
|
@@ -2554,7 +2661,7 @@ function FieldStack({
|
|
|
2554
2661
|
alignLabelRow && "polli:min-h-8"
|
|
2555
2662
|
),
|
|
2556
2663
|
children: [
|
|
2557
|
-
label && /* @__PURE__ */
|
|
2664
|
+
label && /* @__PURE__ */ jsx30(
|
|
2558
2665
|
Field.Label,
|
|
2559
2666
|
{
|
|
2560
2667
|
className: cn(
|
|
@@ -2569,7 +2676,7 @@ function FieldStack({
|
|
|
2569
2676
|
}
|
|
2570
2677
|
),
|
|
2571
2678
|
children,
|
|
2572
|
-
error ? /* @__PURE__ */
|
|
2679
|
+
error ? /* @__PURE__ */ jsx30(
|
|
2573
2680
|
Field.ErrorText,
|
|
2574
2681
|
{
|
|
2575
2682
|
className: cn(
|
|
@@ -2578,7 +2685,7 @@ function FieldStack({
|
|
|
2578
2685
|
),
|
|
2579
2686
|
children: error
|
|
2580
2687
|
}
|
|
2581
|
-
) : helper ? /* @__PURE__ */
|
|
2688
|
+
) : helper ? /* @__PURE__ */ jsx30(
|
|
2582
2689
|
Field.HelperText,
|
|
2583
2690
|
{
|
|
2584
2691
|
className: cn(
|
|
@@ -2665,7 +2772,7 @@ function partitionFiles(incoming, current2, { maxFiles, maxSizeBytes, accept })
|
|
|
2665
2772
|
|
|
2666
2773
|
// src/primitives/IconButton.tsx
|
|
2667
2774
|
import { forwardRef as forwardRef6 } from "react";
|
|
2668
|
-
import { jsx as
|
|
2775
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
2669
2776
|
var intentClasses3 = {
|
|
2670
2777
|
danger: "polli:bg-intent-danger-bg-light polli:text-intent-danger-text",
|
|
2671
2778
|
info: "polli:bg-intent-info-bg-light polli:text-intent-info-text"
|
|
@@ -2701,7 +2808,7 @@ var IconButton = forwardRef6(
|
|
|
2701
2808
|
disabled = false,
|
|
2702
2809
|
...buttonProps
|
|
2703
2810
|
}, ref) => {
|
|
2704
|
-
const button = /* @__PURE__ */
|
|
2811
|
+
const button = /* @__PURE__ */ jsx31(
|
|
2705
2812
|
"button",
|
|
2706
2813
|
{
|
|
2707
2814
|
...buttonProps,
|
|
@@ -2724,7 +2831,7 @@ var IconButton = forwardRef6(
|
|
|
2724
2831
|
);
|
|
2725
2832
|
const tooltipContent = tooltip ?? title;
|
|
2726
2833
|
if (!tooltipContent) return button;
|
|
2727
|
-
return /* @__PURE__ */
|
|
2834
|
+
return /* @__PURE__ */ jsx31(
|
|
2728
2835
|
Tooltip,
|
|
2729
2836
|
{
|
|
2730
2837
|
triggerAs: "span",
|
|
@@ -2741,7 +2848,7 @@ var IconButton = forwardRef6(
|
|
|
2741
2848
|
IconButton.displayName = "IconButton";
|
|
2742
2849
|
|
|
2743
2850
|
// src/compositions/FileUpload.tsx
|
|
2744
|
-
import { Fragment as Fragment8, jsx as
|
|
2851
|
+
import { Fragment as Fragment8, jsx as jsx32, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2745
2852
|
var PREVIEWABLE_IMAGE_TYPES = /* @__PURE__ */ new Set([
|
|
2746
2853
|
"image/gif",
|
|
2747
2854
|
"image/jpeg",
|
|
@@ -2774,7 +2881,7 @@ function PreviewPlaceholder({
|
|
|
2774
2881
|
icon,
|
|
2775
2882
|
size
|
|
2776
2883
|
}) {
|
|
2777
|
-
return /* @__PURE__ */
|
|
2884
|
+
return /* @__PURE__ */ jsx32(
|
|
2778
2885
|
"div",
|
|
2779
2886
|
{
|
|
2780
2887
|
className: cn(
|
|
@@ -2839,9 +2946,9 @@ function FilePreview({
|
|
|
2839
2946
|
};
|
|
2840
2947
|
}, [file, previewSize]);
|
|
2841
2948
|
if (!canPreview) {
|
|
2842
|
-
return /* @__PURE__ */
|
|
2949
|
+
return /* @__PURE__ */ jsx32(PreviewPlaceholder, { icon: placeholderIcon, size });
|
|
2843
2950
|
}
|
|
2844
|
-
return /* @__PURE__ */
|
|
2951
|
+
return /* @__PURE__ */ jsx32(
|
|
2845
2952
|
"canvas",
|
|
2846
2953
|
{
|
|
2847
2954
|
ref: canvasRef,
|
|
@@ -2860,12 +2967,12 @@ function FileUpload({
|
|
|
2860
2967
|
maxFiles = 4,
|
|
2861
2968
|
maxSizeBytes = 10 * 1024 * 1024,
|
|
2862
2969
|
accept = "image/*",
|
|
2863
|
-
icon = /* @__PURE__ */
|
|
2864
|
-
label = /* @__PURE__ */
|
|
2970
|
+
icon = /* @__PURE__ */ jsx32(ImageIcon, { className: "polli:h-6 polli:w-6" }),
|
|
2971
|
+
label = /* @__PURE__ */ jsxs22(Fragment8, { children: [
|
|
2865
2972
|
"Drag images here or ",
|
|
2866
|
-
/* @__PURE__ */
|
|
2973
|
+
/* @__PURE__ */ jsx32("span", { className: "polli:underline", children: "browse" })
|
|
2867
2974
|
] }),
|
|
2868
|
-
previewIcon = /* @__PURE__ */
|
|
2975
|
+
previewIcon = /* @__PURE__ */ jsx32(ImageIcon, { className: "polli:h-5 polli:w-5" }),
|
|
2869
2976
|
variant = "default",
|
|
2870
2977
|
disabled = false,
|
|
2871
2978
|
className
|
|
@@ -2894,7 +3001,7 @@ function FileUpload({
|
|
|
2894
3001
|
event.target.value = "";
|
|
2895
3002
|
}
|
|
2896
3003
|
if (inline && !hasFiles) return null;
|
|
2897
|
-
return /* @__PURE__ */
|
|
3004
|
+
return /* @__PURE__ */ jsx32("div", { className: cn("polli:flex polli:flex-col polli:gap-2", className), children: /* @__PURE__ */ jsx32(
|
|
2898
3005
|
"fieldset",
|
|
2899
3006
|
{
|
|
2900
3007
|
disabled,
|
|
@@ -2912,7 +3019,7 @@ function FileUpload({
|
|
|
2912
3019
|
if (disabled) return;
|
|
2913
3020
|
addFiles(Array.from(e.dataTransfer.files));
|
|
2914
3021
|
},
|
|
2915
|
-
children: !hasFiles ? /* @__PURE__ */
|
|
3022
|
+
children: !hasFiles ? /* @__PURE__ */ jsxs22(
|
|
2916
3023
|
"label",
|
|
2917
3024
|
{
|
|
2918
3025
|
htmlFor: inputId,
|
|
@@ -2923,8 +3030,8 @@ function FileUpload({
|
|
|
2923
3030
|
),
|
|
2924
3031
|
children: [
|
|
2925
3032
|
icon,
|
|
2926
|
-
/* @__PURE__ */
|
|
2927
|
-
/* @__PURE__ */
|
|
3033
|
+
/* @__PURE__ */ jsx32("span", { children: label }),
|
|
3034
|
+
/* @__PURE__ */ jsx32(
|
|
2928
3035
|
"input",
|
|
2929
3036
|
{
|
|
2930
3037
|
id: inputId,
|
|
@@ -2938,7 +3045,7 @@ function FileUpload({
|
|
|
2938
3045
|
)
|
|
2939
3046
|
]
|
|
2940
3047
|
}
|
|
2941
|
-
) : /* @__PURE__ */
|
|
3048
|
+
) : /* @__PURE__ */ jsxs22(
|
|
2942
3049
|
"div",
|
|
2943
3050
|
{
|
|
2944
3051
|
className: cn(
|
|
@@ -2946,8 +3053,8 @@ function FileUpload({
|
|
|
2946
3053
|
compact ? "polli:items-center" : "polli:flex-col"
|
|
2947
3054
|
),
|
|
2948
3055
|
children: [
|
|
2949
|
-
compact && !inline && /* @__PURE__ */
|
|
2950
|
-
/* @__PURE__ */
|
|
3056
|
+
compact && !inline && /* @__PURE__ */ jsx32("span", { className: "polli:text-xs polli:font-medium polli:text-theme-text-muted", children: attachmentSummary(value) }),
|
|
3057
|
+
/* @__PURE__ */ jsxs22(
|
|
2951
3058
|
"ul",
|
|
2952
3059
|
{
|
|
2953
3060
|
className: cn(
|
|
@@ -2959,7 +3066,7 @@ function FileUpload({
|
|
|
2959
3066
|
isSingleFile && !compact && "polli:flex polli:justify-center"
|
|
2960
3067
|
),
|
|
2961
3068
|
children: [
|
|
2962
|
-
value.map((file, index) => /* @__PURE__ */
|
|
3069
|
+
value.map((file, index) => /* @__PURE__ */ jsxs22(
|
|
2963
3070
|
"li",
|
|
2964
3071
|
{
|
|
2965
3072
|
className: cn(
|
|
@@ -2967,7 +3074,7 @@ function FileUpload({
|
|
|
2967
3074
|
isSingleFile && "polli:max-w-full"
|
|
2968
3075
|
),
|
|
2969
3076
|
children: [
|
|
2970
|
-
/* @__PURE__ */
|
|
3077
|
+
/* @__PURE__ */ jsx32(
|
|
2971
3078
|
FilePreview,
|
|
2972
3079
|
{
|
|
2973
3080
|
file,
|
|
@@ -2975,8 +3082,8 @@ function FileUpload({
|
|
|
2975
3082
|
size: previewSize
|
|
2976
3083
|
}
|
|
2977
3084
|
),
|
|
2978
|
-
!compact && /* @__PURE__ */
|
|
2979
|
-
/* @__PURE__ */
|
|
3085
|
+
!compact && /* @__PURE__ */ jsxs22(Fragment8, { children: [
|
|
3086
|
+
/* @__PURE__ */ jsx32(
|
|
2980
3087
|
"span",
|
|
2981
3088
|
{
|
|
2982
3089
|
className: cn(
|
|
@@ -2986,9 +3093,9 @@ function FileUpload({
|
|
|
2986
3093
|
children: file.name
|
|
2987
3094
|
}
|
|
2988
3095
|
),
|
|
2989
|
-
/* @__PURE__ */
|
|
3096
|
+
/* @__PURE__ */ jsx32("span", { className: "polli:text-micro polli:text-theme-text-muted", children: formatFileSize(file.size) })
|
|
2990
3097
|
] }),
|
|
2991
|
-
!disabled && /* @__PURE__ */
|
|
3098
|
+
!disabled && /* @__PURE__ */ jsx32("div", { className: "polli:absolute polli:-top-2 polli:right-1", children: /* @__PURE__ */ jsx32(
|
|
2992
3099
|
IconButton,
|
|
2993
3100
|
{
|
|
2994
3101
|
intent: "danger",
|
|
@@ -2998,14 +3105,14 @@ function FileUpload({
|
|
|
2998
3105
|
(_, i) => i !== index
|
|
2999
3106
|
)
|
|
3000
3107
|
),
|
|
3001
|
-
children: /* @__PURE__ */
|
|
3108
|
+
children: /* @__PURE__ */ jsx32(XIcon, { className: "polli:h-3 polli:w-3" })
|
|
3002
3109
|
}
|
|
3003
3110
|
) })
|
|
3004
3111
|
]
|
|
3005
3112
|
},
|
|
3006
3113
|
`${file.name}-${index}`
|
|
3007
3114
|
)),
|
|
3008
|
-
!inline && !isSingleFile && canAdd && /* @__PURE__ */
|
|
3115
|
+
!inline && !isSingleFile && canAdd && /* @__PURE__ */ jsx32("li", { className: "polli:flex polli:list-none", children: /* @__PURE__ */ jsxs22(
|
|
3009
3116
|
"label",
|
|
3010
3117
|
{
|
|
3011
3118
|
htmlFor: addInputId,
|
|
@@ -3014,9 +3121,9 @@ function FileUpload({
|
|
|
3014
3121
|
compact ? "polli:h-16 polli:w-16 polli:px-2 polli:py-1" : "polli:min-h-20 polli:w-full polli:px-3 polli:py-2"
|
|
3015
3122
|
),
|
|
3016
3123
|
children: [
|
|
3017
|
-
/* @__PURE__ */
|
|
3018
|
-
!compact && /* @__PURE__ */
|
|
3019
|
-
/* @__PURE__ */
|
|
3124
|
+
/* @__PURE__ */ jsx32(PlusIcon, { className: "polli:h-5 polli:w-5" }),
|
|
3125
|
+
!compact && /* @__PURE__ */ jsx32("span", { className: "polli:text-xs polli:font-medium", children: "Add" }),
|
|
3126
|
+
/* @__PURE__ */ jsx32(
|
|
3020
3127
|
"input",
|
|
3021
3128
|
{
|
|
3022
3129
|
id: addInputId,
|
|
@@ -3035,7 +3142,7 @@ function FileUpload({
|
|
|
3035
3142
|
]
|
|
3036
3143
|
}
|
|
3037
3144
|
),
|
|
3038
|
-
Number.isFinite(maxFiles) && maxFiles > 1 && !compact && /* @__PURE__ */
|
|
3145
|
+
Number.isFinite(maxFiles) && maxFiles > 1 && !compact && /* @__PURE__ */ jsxs22("span", { className: "polli:text-xs polli:text-theme-text-muted", children: [
|
|
3039
3146
|
value.length,
|
|
3040
3147
|
" / ",
|
|
3041
3148
|
maxFiles,
|
|
@@ -3049,15 +3156,28 @@ function FileUpload({
|
|
|
3049
3156
|
}
|
|
3050
3157
|
|
|
3051
3158
|
// src/compositions/InfoTip.tsx
|
|
3052
|
-
import { jsx as
|
|
3159
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
3053
3160
|
var InfoTip = ({
|
|
3054
3161
|
text,
|
|
3055
3162
|
content,
|
|
3056
3163
|
label = "More info"
|
|
3057
|
-
}) =>
|
|
3164
|
+
}) => (
|
|
3165
|
+
// displayContents drops the inline wrapper so the badge centres on its row
|
|
3166
|
+
// instead of sitting on the text baseline.
|
|
3167
|
+
/* @__PURE__ */ jsx33(
|
|
3168
|
+
Tooltip,
|
|
3169
|
+
{
|
|
3170
|
+
content: content ?? text,
|
|
3171
|
+
ariaLabel: label,
|
|
3172
|
+
className: "polli:ml-1",
|
|
3173
|
+
displayContents: true,
|
|
3174
|
+
children: /* @__PURE__ */ jsx33("span", { className: "polli:inline-flex polli:h-4 polli:w-4 polli:items-center polli:justify-center polli:rounded-full polli:bg-surface-menu polli:font-bold polli:text-[10px] polli:leading-none polli:text-theme-text-muted polli:transition-colors polli:hover:text-theme-text-strong", children: "i" })
|
|
3175
|
+
}
|
|
3176
|
+
)
|
|
3177
|
+
);
|
|
3058
3178
|
|
|
3059
3179
|
// src/primitives/Chip.tsx
|
|
3060
|
-
import { jsx as
|
|
3180
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
3061
3181
|
var chipSizes = {
|
|
3062
3182
|
icon: "polli:h-5 polli:w-5 polli:p-0 polli:text-xs",
|
|
3063
3183
|
sm: "polli:h-5 polli:px-2 polli:text-xs",
|
|
@@ -3083,7 +3203,7 @@ var Chip = ({
|
|
|
3083
3203
|
...rest
|
|
3084
3204
|
}) => {
|
|
3085
3205
|
const intentClass = intent ? intentClasses4[intent] : "polli:bg-theme-bg-active polli:text-theme-text-strong";
|
|
3086
|
-
return /* @__PURE__ */
|
|
3206
|
+
return /* @__PURE__ */ jsx34(
|
|
3087
3207
|
"span",
|
|
3088
3208
|
{
|
|
3089
3209
|
...rest,
|
|
@@ -3099,7 +3219,7 @@ var Chip = ({
|
|
|
3099
3219
|
};
|
|
3100
3220
|
|
|
3101
3221
|
// src/compositions/KeyChip.tsx
|
|
3102
|
-
import { jsx as
|
|
3222
|
+
import { jsx as jsx35, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
3103
3223
|
var chipClassName = "polli:gap-1.5 polli:font-mono polli:font-normal polli:[&>svg]:size-3.5 polli:[&>svg]:shrink-0";
|
|
3104
3224
|
function KeyChip({
|
|
3105
3225
|
prefix,
|
|
@@ -3109,16 +3229,16 @@ function KeyChip({
|
|
|
3109
3229
|
}) {
|
|
3110
3230
|
const text = `${prefix}\u2026`;
|
|
3111
3231
|
if (!value) {
|
|
3112
|
-
return /* @__PURE__ */
|
|
3232
|
+
return /* @__PURE__ */ jsx35(Chip, { intent: "neutral", className: cn(chipClassName, className), children: text });
|
|
3113
3233
|
}
|
|
3114
|
-
return /* @__PURE__ */
|
|
3234
|
+
return /* @__PURE__ */ jsx35(
|
|
3115
3235
|
CopyButton,
|
|
3116
3236
|
{
|
|
3117
3237
|
value,
|
|
3118
3238
|
tooltip: null,
|
|
3119
3239
|
"aria-label": label,
|
|
3120
3240
|
className: "polli:inline-flex polli:cursor-pointer polli:rounded-lg",
|
|
3121
|
-
children: (copied) => /* @__PURE__ */
|
|
3241
|
+
children: (copied) => /* @__PURE__ */ jsxs23(
|
|
3122
3242
|
Chip,
|
|
3123
3243
|
{
|
|
3124
3244
|
intent: copied ? "success" : "neutral",
|
|
@@ -3128,7 +3248,7 @@ function KeyChip({
|
|
|
3128
3248
|
className
|
|
3129
3249
|
),
|
|
3130
3250
|
children: [
|
|
3131
|
-
copied ? /* @__PURE__ */
|
|
3251
|
+
copied ? /* @__PURE__ */ jsx35(CheckIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ jsx35(ClipboardIcon, { "aria-hidden": "true" }),
|
|
3132
3252
|
copied ? "Copied" : text
|
|
3133
3253
|
]
|
|
3134
3254
|
}
|
|
@@ -3138,7 +3258,7 @@ function KeyChip({
|
|
|
3138
3258
|
}
|
|
3139
3259
|
|
|
3140
3260
|
// src/compositions/LinkCard.tsx
|
|
3141
|
-
import { jsx as
|
|
3261
|
+
import { jsx as jsx36, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3142
3262
|
function LinkCard({
|
|
3143
3263
|
as,
|
|
3144
3264
|
external,
|
|
@@ -3150,7 +3270,7 @@ function LinkCard({
|
|
|
3150
3270
|
}) {
|
|
3151
3271
|
const Component = as || "a";
|
|
3152
3272
|
const isExternal = external ?? isExternalHref(linkProps.href);
|
|
3153
|
-
return /* @__PURE__ */
|
|
3273
|
+
return /* @__PURE__ */ jsxs24(
|
|
3154
3274
|
Surface,
|
|
3155
3275
|
{
|
|
3156
3276
|
as: Component,
|
|
@@ -3167,7 +3287,7 @@ function LinkCard({
|
|
|
3167
3287
|
surfaceClassName
|
|
3168
3288
|
),
|
|
3169
3289
|
children: [
|
|
3170
|
-
showIcon && isExternal && /* @__PURE__ */
|
|
3290
|
+
showIcon && isExternal && /* @__PURE__ */ jsx36(
|
|
3171
3291
|
ExternalLinkIcon,
|
|
3172
3292
|
{
|
|
3173
3293
|
"aria-hidden": "true",
|
|
@@ -3181,7 +3301,7 @@ function LinkCard({
|
|
|
3181
3301
|
}
|
|
3182
3302
|
|
|
3183
3303
|
// src/compositions/MediaPlaceholder.tsx
|
|
3184
|
-
import { jsx as
|
|
3304
|
+
import { jsx as jsx37, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
3185
3305
|
var MediaPlaceholder = ({
|
|
3186
3306
|
icon,
|
|
3187
3307
|
label,
|
|
@@ -3189,7 +3309,7 @@ var MediaPlaceholder = ({
|
|
|
3189
3309
|
children,
|
|
3190
3310
|
className,
|
|
3191
3311
|
...rest
|
|
3192
|
-
}) => /* @__PURE__ */
|
|
3312
|
+
}) => /* @__PURE__ */ jsxs25(
|
|
3193
3313
|
"div",
|
|
3194
3314
|
{
|
|
3195
3315
|
...rest,
|
|
@@ -3198,10 +3318,10 @@ var MediaPlaceholder = ({
|
|
|
3198
3318
|
className
|
|
3199
3319
|
),
|
|
3200
3320
|
children: [
|
|
3201
|
-
icon && /* @__PURE__ */
|
|
3202
|
-
(label || detail) && /* @__PURE__ */
|
|
3203
|
-
label && /* @__PURE__ */
|
|
3204
|
-
detail && /* @__PURE__ */
|
|
3321
|
+
icon && /* @__PURE__ */ jsx37("div", { className: "polli:flex polli:h-10 polli:w-10 polli:items-center polli:justify-center polli:rounded-full polli:bg-theme-bg-active polli:text-theme-text-base", children: icon }),
|
|
3322
|
+
(label || detail) && /* @__PURE__ */ jsxs25("div", { className: "polli:max-w-sm", children: [
|
|
3323
|
+
label && /* @__PURE__ */ jsx37(Text, { as: "p", size: "sm", tone: "strong", weight: "semibold", children: label }),
|
|
3324
|
+
detail && /* @__PURE__ */ jsx37(Text, { as: "p", size: "sm", tone: "soft", className: "polli:mt-1", children: detail })
|
|
3205
3325
|
] }),
|
|
3206
3326
|
children
|
|
3207
3327
|
]
|
|
@@ -3209,7 +3329,7 @@ var MediaPlaceholder = ({
|
|
|
3209
3329
|
);
|
|
3210
3330
|
|
|
3211
3331
|
// src/compositions/MultiSelect.tsx
|
|
3212
|
-
import { jsx as
|
|
3332
|
+
import { jsx as jsx38, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
3213
3333
|
var TRIGGER_BASE = "polli-control polli:inline-flex polli:min-h-8 polli:min-w-[140px] polli:items-center polli:gap-2 polli:rounded-full polli:px-3 polli:py-1.5 polli:text-xs polli:font-medium polli:transition-all polli:duration-200";
|
|
3214
3334
|
var ROW_BASE = "polli-control polli:flex polli:w-full polli:items-center polli:gap-3 polli:px-3 polli:py-2 polli:text-left polli:text-xs polli:transition-colors";
|
|
3215
3335
|
var CHECK_BASE = "polli:flex polli:h-4 polli:w-4 polli:flex-shrink-0 polli:items-center polli:justify-center polli:rounded polli:border polli:border-theme-border polli:text-xs";
|
|
@@ -3236,9 +3356,9 @@ var MultiSelect = ({
|
|
|
3236
3356
|
};
|
|
3237
3357
|
const selectAll = () => onChange([]);
|
|
3238
3358
|
const displayText = disabled ? disabledText : isAllSelected ? placeholder : selected.length === 1 ? options.find((option) => option.value === selected[0])?.label ?? "1 selected" : `${selected.length} selected`;
|
|
3239
|
-
const labelNode = label ? /* @__PURE__ */
|
|
3359
|
+
const labelNode = label ? /* @__PURE__ */ jsx38("span", { className: "polli:text-xs polli:font-medium polli:text-theme-text-soft", children: label }) : null;
|
|
3240
3360
|
if (disabled) {
|
|
3241
|
-
return /* @__PURE__ */
|
|
3361
|
+
return /* @__PURE__ */ jsxs26(
|
|
3242
3362
|
"div",
|
|
3243
3363
|
{
|
|
3244
3364
|
className: cn(
|
|
@@ -3247,7 +3367,7 @@ var MultiSelect = ({
|
|
|
3247
3367
|
),
|
|
3248
3368
|
children: [
|
|
3249
3369
|
labelNode,
|
|
3250
|
-
/* @__PURE__ */
|
|
3370
|
+
/* @__PURE__ */ jsx38(
|
|
3251
3371
|
Tooltip,
|
|
3252
3372
|
{
|
|
3253
3373
|
triggerAs: "span",
|
|
@@ -3257,7 +3377,7 @@ var MultiSelect = ({
|
|
|
3257
3377
|
"polli:inline-flex polli:cursor-not-allowed",
|
|
3258
3378
|
fullWidth && "polli:min-w-0 polli:flex-1"
|
|
3259
3379
|
),
|
|
3260
|
-
children: /* @__PURE__ */
|
|
3380
|
+
children: /* @__PURE__ */ jsxs26(
|
|
3261
3381
|
"button",
|
|
3262
3382
|
{
|
|
3263
3383
|
type: "button",
|
|
@@ -3269,8 +3389,8 @@ var MultiSelect = ({
|
|
|
3269
3389
|
"polli:cursor-not-allowed polli:bg-theme-bg-active polli:opacity-50"
|
|
3270
3390
|
),
|
|
3271
3391
|
children: [
|
|
3272
|
-
/* @__PURE__ */
|
|
3273
|
-
/* @__PURE__ */
|
|
3392
|
+
/* @__PURE__ */ jsx38("span", { className: "polli:flex-1 polli:truncate polli:text-left polli:text-theme-text-strong", children: displayText }),
|
|
3393
|
+
/* @__PURE__ */ jsx38(
|
|
3274
3394
|
ChevronIcon,
|
|
3275
3395
|
{
|
|
3276
3396
|
expanded: false,
|
|
@@ -3286,7 +3406,7 @@ var MultiSelect = ({
|
|
|
3286
3406
|
}
|
|
3287
3407
|
);
|
|
3288
3408
|
}
|
|
3289
|
-
return /* @__PURE__ */
|
|
3409
|
+
return /* @__PURE__ */ jsxs26(
|
|
3290
3410
|
"div",
|
|
3291
3411
|
{
|
|
3292
3412
|
className: cn(
|
|
@@ -3295,12 +3415,12 @@ var MultiSelect = ({
|
|
|
3295
3415
|
),
|
|
3296
3416
|
children: [
|
|
3297
3417
|
labelNode,
|
|
3298
|
-
/* @__PURE__ */
|
|
3418
|
+
/* @__PURE__ */ jsx38(
|
|
3299
3419
|
Dropdown,
|
|
3300
3420
|
{
|
|
3301
3421
|
align,
|
|
3302
3422
|
className: "polli:w-[min(20rem,calc(100vw-2rem))]",
|
|
3303
|
-
trigger: (open) => /* @__PURE__ */
|
|
3423
|
+
trigger: (open) => /* @__PURE__ */ jsxs26(
|
|
3304
3424
|
"button",
|
|
3305
3425
|
{
|
|
3306
3426
|
type: "button",
|
|
@@ -3311,7 +3431,7 @@ var MultiSelect = ({
|
|
|
3311
3431
|
open ? "polli:bg-theme-bg-hover" : "polli:bg-theme-bg-active polli:hover:bg-theme-bg-hover"
|
|
3312
3432
|
),
|
|
3313
3433
|
children: [
|
|
3314
|
-
/* @__PURE__ */
|
|
3434
|
+
/* @__PURE__ */ jsx38(
|
|
3315
3435
|
"span",
|
|
3316
3436
|
{
|
|
3317
3437
|
className: cn(
|
|
@@ -3321,7 +3441,7 @@ var MultiSelect = ({
|
|
|
3321
3441
|
children: displayText
|
|
3322
3442
|
}
|
|
3323
3443
|
),
|
|
3324
|
-
/* @__PURE__ */
|
|
3444
|
+
/* @__PURE__ */ jsx38(
|
|
3325
3445
|
ChevronIcon,
|
|
3326
3446
|
{
|
|
3327
3447
|
expanded: open,
|
|
@@ -3334,8 +3454,8 @@ var MultiSelect = ({
|
|
|
3334
3454
|
]
|
|
3335
3455
|
}
|
|
3336
3456
|
),
|
|
3337
|
-
children: /* @__PURE__ */
|
|
3338
|
-
/* @__PURE__ */
|
|
3457
|
+
children: /* @__PURE__ */ jsxs26(ScrollArea, { className: "polli:max-h-64", children: [
|
|
3458
|
+
/* @__PURE__ */ jsxs26(
|
|
3339
3459
|
"button",
|
|
3340
3460
|
{
|
|
3341
3461
|
type: "button",
|
|
@@ -3346,7 +3466,7 @@ var MultiSelect = ({
|
|
|
3346
3466
|
isAllSelected ? "polli:bg-theme-bg-active polli:font-medium polli:text-theme-text-strong" : "polli:text-theme-text-base polli:hover:bg-theme-bg-subtle"
|
|
3347
3467
|
),
|
|
3348
3468
|
children: [
|
|
3349
|
-
/* @__PURE__ */
|
|
3469
|
+
/* @__PURE__ */ jsx38(
|
|
3350
3470
|
"span",
|
|
3351
3471
|
{
|
|
3352
3472
|
"aria-hidden": "true",
|
|
@@ -3363,7 +3483,7 @@ var MultiSelect = ({
|
|
|
3363
3483
|
),
|
|
3364
3484
|
options.map((opt) => {
|
|
3365
3485
|
const isChecked = selected.includes(opt.value);
|
|
3366
|
-
return /* @__PURE__ */
|
|
3486
|
+
return /* @__PURE__ */ jsxs26(
|
|
3367
3487
|
"button",
|
|
3368
3488
|
{
|
|
3369
3489
|
type: "button",
|
|
@@ -3374,7 +3494,7 @@ var MultiSelect = ({
|
|
|
3374
3494
|
isChecked ? "polli:bg-theme-bg-active polli:text-theme-text-strong" : "polli:text-theme-text-base polli:hover:bg-theme-bg-subtle"
|
|
3375
3495
|
),
|
|
3376
3496
|
children: [
|
|
3377
|
-
/* @__PURE__ */
|
|
3497
|
+
/* @__PURE__ */ jsx38(
|
|
3378
3498
|
"span",
|
|
3379
3499
|
{
|
|
3380
3500
|
"aria-hidden": "true",
|
|
@@ -3385,7 +3505,7 @@ var MultiSelect = ({
|
|
|
3385
3505
|
children: isChecked && "\u2713"
|
|
3386
3506
|
}
|
|
3387
3507
|
),
|
|
3388
|
-
/* @__PURE__ */
|
|
3508
|
+
/* @__PURE__ */ jsx38("span", { className: "polli:min-w-0 polli:[overflow-wrap:anywhere]", children: opt.label })
|
|
3389
3509
|
]
|
|
3390
3510
|
},
|
|
3391
3511
|
opt.value
|
|
@@ -3400,7 +3520,7 @@ var MultiSelect = ({
|
|
|
3400
3520
|
};
|
|
3401
3521
|
|
|
3402
3522
|
// src/compositions/NavItem.tsx
|
|
3403
|
-
import { jsx as
|
|
3523
|
+
import { jsx as jsx39, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
3404
3524
|
var base = "polli-control polli:flex polli:items-center polli:gap-2 polli:rounded-full polli:px-3 polli:py-2 polli:text-left polli:text-sm polli:font-medium polli:whitespace-nowrap polli:transition-colors";
|
|
3405
3525
|
var activeClasses = "polli:bg-theme-bg-active polli:text-theme-text-strong";
|
|
3406
3526
|
var inactiveClasses = "polli:text-ink-800 polli:hover:bg-surface-opaque/60 polli:hover:text-ink-950";
|
|
@@ -3413,7 +3533,7 @@ function NavItem({
|
|
|
3413
3533
|
...rest
|
|
3414
3534
|
}) {
|
|
3415
3535
|
const Component = as || "button";
|
|
3416
|
-
return /* @__PURE__ */
|
|
3536
|
+
return /* @__PURE__ */ jsxs27(
|
|
3417
3537
|
Component,
|
|
3418
3538
|
{
|
|
3419
3539
|
"aria-current": active ? "page" : void 0,
|
|
@@ -3424,7 +3544,7 @@ function NavItem({
|
|
|
3424
3544
|
),
|
|
3425
3545
|
...rest,
|
|
3426
3546
|
children: [
|
|
3427
|
-
Icon ? /* @__PURE__ */
|
|
3547
|
+
Icon ? /* @__PURE__ */ jsx39(Icon, { className: "polli:h-4 polli:w-4 polli:shrink-0" }) : null,
|
|
3428
3548
|
children
|
|
3429
3549
|
]
|
|
3430
3550
|
}
|
|
@@ -3540,7 +3660,7 @@ function isPeriodSelectable(selection, minDate = /* @__PURE__ */ new Date(0), ma
|
|
|
3540
3660
|
}
|
|
3541
3661
|
|
|
3542
3662
|
// src/primitives/TabButton.tsx
|
|
3543
|
-
import { jsx as
|
|
3663
|
+
import { jsx as jsx40, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
3544
3664
|
var tabButtonBaseClass = "polli-control polli:inline-flex polli:items-center polli:justify-center polli:rounded-full polli:font-medium polli:leading-normal polli:transition-colors polli:duration-200";
|
|
3545
3665
|
var tabButtonSizeClass = {
|
|
3546
3666
|
xs: "polli:px-2.5 polli:py-1 polli:text-xs",
|
|
@@ -3556,6 +3676,7 @@ var variantClasses3 = {
|
|
|
3556
3676
|
soft: {
|
|
3557
3677
|
base: "",
|
|
3558
3678
|
active: "polli:bg-theme-bg-active polli:text-theme-text-strong polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover",
|
|
3679
|
+
mixed: "polli:bg-theme-bg-active/45 polli:text-theme-text-strong polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover",
|
|
3559
3680
|
inactive: "polli:bg-theme-bg-subtle polli:text-theme-text-base polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover"
|
|
3560
3681
|
},
|
|
3561
3682
|
// Transparent until hovered or selected — for multi-select toggles and
|
|
@@ -3563,9 +3684,20 @@ var variantClasses3 = {
|
|
|
3563
3684
|
ghost: {
|
|
3564
3685
|
base: "polli:border polli:border-transparent",
|
|
3565
3686
|
active: "polli:bg-theme-bg-active polli:text-theme-text-strong polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover",
|
|
3687
|
+
mixed: "polli:bg-theme-bg-active/45 polli:text-theme-text-strong polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover",
|
|
3566
3688
|
inactive: "polli:bg-transparent polli:text-theme-text-base polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover"
|
|
3567
3689
|
}
|
|
3568
3690
|
};
|
|
3691
|
+
var intentClasses5 = {
|
|
3692
|
+
amber: {
|
|
3693
|
+
active: "polli:bg-paid-pale polli:text-paid-deep",
|
|
3694
|
+
inactive: "polli:bg-transparent polli:text-theme-text-base polli:hover:bg-paid-pale/60"
|
|
3695
|
+
},
|
|
3696
|
+
green: {
|
|
3697
|
+
active: "polli:bg-tier-pale polli:text-tier-deep",
|
|
3698
|
+
inactive: "polli:bg-transparent polli:text-tier-deep polli:hover:bg-tier-pale/60"
|
|
3699
|
+
}
|
|
3700
|
+
};
|
|
3569
3701
|
function TabButton({
|
|
3570
3702
|
as,
|
|
3571
3703
|
active,
|
|
@@ -3574,6 +3706,7 @@ function TabButton({
|
|
|
3574
3706
|
size = "md",
|
|
3575
3707
|
variant = "soft",
|
|
3576
3708
|
intent,
|
|
3709
|
+
detail,
|
|
3577
3710
|
ariaLabel,
|
|
3578
3711
|
disabled = false,
|
|
3579
3712
|
className,
|
|
@@ -3581,12 +3714,15 @@ function TabButton({
|
|
|
3581
3714
|
}) {
|
|
3582
3715
|
const Component = as || "button";
|
|
3583
3716
|
const isButton = Component === "button";
|
|
3584
|
-
const colors =
|
|
3717
|
+
const colors = intent === "neutral" ? variantClasses3.soft : intent ? {
|
|
3718
|
+
...intentClasses5[intent],
|
|
3719
|
+
mixed: intentClasses5[intent].active
|
|
3720
|
+
} : variantClasses3[variant];
|
|
3585
3721
|
const handleClick = disabled ? (event) => {
|
|
3586
3722
|
event.preventDefault();
|
|
3587
3723
|
event.stopPropagation();
|
|
3588
3724
|
} : onClick;
|
|
3589
|
-
return /* @__PURE__ */
|
|
3725
|
+
return /* @__PURE__ */ jsxs28(
|
|
3590
3726
|
Component,
|
|
3591
3727
|
{
|
|
3592
3728
|
...rest,
|
|
@@ -3595,22 +3731,25 @@ function TabButton({
|
|
|
3595
3731
|
...Component === "a" && disabled ? { href: void 0 } : {},
|
|
3596
3732
|
onClick: handleClick,
|
|
3597
3733
|
...ariaLabel !== void 0 ? { "aria-label": ariaLabel } : {},
|
|
3598
|
-
...isButton ? { "aria-pressed": active } : { "aria-current": active ? "page" : void 0 },
|
|
3734
|
+
...isButton ? { "aria-pressed": active } : { "aria-current": active === true ? "page" : void 0 },
|
|
3599
3735
|
className: cn(
|
|
3600
3736
|
tabButtonBaseClass,
|
|
3601
3737
|
variantClasses3[variant].base,
|
|
3602
|
-
active ? colors.active : colors.inactive,
|
|
3738
|
+
active === "mixed" ? colors.mixed : active ? colors.active : colors.inactive,
|
|
3603
3739
|
disabled && "polli:pointer-events-none polli:cursor-not-allowed polli:opacity-50",
|
|
3604
3740
|
tabButtonSizeClass[size],
|
|
3605
3741
|
className
|
|
3606
3742
|
),
|
|
3607
|
-
children
|
|
3743
|
+
children: [
|
|
3744
|
+
children,
|
|
3745
|
+
detail != null && /* @__PURE__ */ jsx40("span", { className: "polli:ml-1 polli:font-normal polli:opacity-70", children: detail })
|
|
3746
|
+
]
|
|
3608
3747
|
}
|
|
3609
3748
|
);
|
|
3610
3749
|
}
|
|
3611
3750
|
|
|
3612
3751
|
// src/compositions/PeriodPicker.tsx
|
|
3613
|
-
import { Fragment as Fragment9, jsx as
|
|
3752
|
+
import { Fragment as Fragment9, jsx as jsx41, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
3614
3753
|
var WEEKDAY_LABELS = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
|
|
3615
3754
|
var MONTH_LABELS = [
|
|
3616
3755
|
"Jan",
|
|
@@ -3739,13 +3878,13 @@ var PeriodPicker = ({
|
|
|
3739
3878
|
setOpen(false);
|
|
3740
3879
|
};
|
|
3741
3880
|
const viewLabel = value.granularity === "month" ? String(viewDate.getUTCFullYear()) : formatMonthYear(viewDate, "long");
|
|
3742
|
-
return /* @__PURE__ */
|
|
3881
|
+
return /* @__PURE__ */ jsxs29(
|
|
3743
3882
|
"div",
|
|
3744
3883
|
{
|
|
3745
3884
|
className: trigger ? "polli:contents" : "polli:flex polli:w-full polli:flex-wrap polli:items-center polli:gap-2",
|
|
3746
3885
|
children: [
|
|
3747
|
-
!trigger && /* @__PURE__ */
|
|
3748
|
-
(granularity2) => /* @__PURE__ */
|
|
3886
|
+
!trigger && /* @__PURE__ */ jsx41("div", { className: "polli:flex polli:flex-wrap polli:gap-1.5", children: ["day", "week", "month"].map(
|
|
3887
|
+
(granularity2) => /* @__PURE__ */ jsx41(
|
|
3749
3888
|
TabButton,
|
|
3750
3889
|
{
|
|
3751
3890
|
active: value.granularity === granularity2,
|
|
@@ -3755,13 +3894,13 @@ var PeriodPicker = ({
|
|
|
3755
3894
|
granularity2
|
|
3756
3895
|
)
|
|
3757
3896
|
) }),
|
|
3758
|
-
/* @__PURE__ */
|
|
3897
|
+
/* @__PURE__ */ jsxs29(
|
|
3759
3898
|
Dropdown,
|
|
3760
3899
|
{
|
|
3761
3900
|
open,
|
|
3762
3901
|
onOpenChange: setOpen,
|
|
3763
|
-
className: "polli:w-[320px] polli:max-w-[calc(100vw-2rem)] polli:rounded-xl polli:border polli:border-divider polli:bg-surface-opaque polli:p-3.5 polli:shadow-
|
|
3764
|
-
trigger: trigger ?? ((isOpen) => /* @__PURE__ */
|
|
3902
|
+
className: "polli:w-[320px] polli:max-w-[calc(100vw-2rem)] polli:rounded-xl polli:border polli:border-divider polli:bg-surface-opaque polli:p-3.5 polli:shadow-lg",
|
|
3903
|
+
trigger: trigger ?? ((isOpen) => /* @__PURE__ */ jsxs29(
|
|
3765
3904
|
"button",
|
|
3766
3905
|
{
|
|
3767
3906
|
type: "button",
|
|
@@ -3773,15 +3912,15 @@ var PeriodPicker = ({
|
|
|
3773
3912
|
isOpen && "polli:bg-theme-bg-hover polli:text-theme-text-strong"
|
|
3774
3913
|
),
|
|
3775
3914
|
children: [
|
|
3776
|
-
/* @__PURE__ */
|
|
3777
|
-
/* @__PURE__ */
|
|
3915
|
+
/* @__PURE__ */ jsx41("span", { className: "polli:truncate", children: summaryLabel }),
|
|
3916
|
+
/* @__PURE__ */ jsx41(ChevronIcon, { expanded: isOpen })
|
|
3778
3917
|
]
|
|
3779
3918
|
}
|
|
3780
3919
|
)),
|
|
3781
3920
|
children: [
|
|
3782
3921
|
header,
|
|
3783
|
-
/* @__PURE__ */
|
|
3784
|
-
/* @__PURE__ */
|
|
3922
|
+
/* @__PURE__ */ jsxs29("div", { className: "polli:mb-3 polli:flex polli:items-center polli:justify-between", children: [
|
|
3923
|
+
/* @__PURE__ */ jsx41(
|
|
3785
3924
|
"button",
|
|
3786
3925
|
{
|
|
3787
3926
|
type: "button",
|
|
@@ -3795,8 +3934,8 @@ var PeriodPicker = ({
|
|
|
3795
3934
|
children: "<"
|
|
3796
3935
|
}
|
|
3797
3936
|
),
|
|
3798
|
-
/* @__PURE__ */
|
|
3799
|
-
/* @__PURE__ */
|
|
3937
|
+
/* @__PURE__ */ jsx41("div", { className: "polli:text-base polli:font-bold polli:text-theme-text-base", children: viewLabel }),
|
|
3938
|
+
/* @__PURE__ */ jsx41(
|
|
3800
3939
|
"button",
|
|
3801
3940
|
{
|
|
3802
3941
|
type: "button",
|
|
@@ -3811,7 +3950,7 @@ var PeriodPicker = ({
|
|
|
3811
3950
|
}
|
|
3812
3951
|
)
|
|
3813
3952
|
] }),
|
|
3814
|
-
value.granularity === "month" ? /* @__PURE__ */
|
|
3953
|
+
value.granularity === "month" ? /* @__PURE__ */ jsx41("div", { className: "polli:grid polli:grid-cols-3 polli:gap-1.5", children: MONTH_LABELS.map((label, monthIndex) => {
|
|
3815
3954
|
const date = new Date(
|
|
3816
3955
|
Date.UTC(
|
|
3817
3956
|
viewDate.getUTCFullYear(),
|
|
@@ -3830,7 +3969,7 @@ var PeriodPicker = ({
|
|
|
3830
3969
|
year: "numeric"
|
|
3831
3970
|
});
|
|
3832
3971
|
const selected = date.getUTCFullYear() === selectedWindow.start.getUTCFullYear() && date.getUTCMonth() === selectedWindow.start.getUTCMonth();
|
|
3833
|
-
return /* @__PURE__ */
|
|
3972
|
+
return /* @__PURE__ */ jsx41(
|
|
3834
3973
|
"button",
|
|
3835
3974
|
{
|
|
3836
3975
|
type: "button",
|
|
@@ -3847,9 +3986,9 @@ var PeriodPicker = ({
|
|
|
3847
3986
|
},
|
|
3848
3987
|
label
|
|
3849
3988
|
);
|
|
3850
|
-
}) }) : /* @__PURE__ */
|
|
3851
|
-
/* @__PURE__ */
|
|
3852
|
-
/* @__PURE__ */
|
|
3989
|
+
}) }) : /* @__PURE__ */ jsxs29(Fragment9, { children: [
|
|
3990
|
+
/* @__PURE__ */ jsx41("div", { className: "polli:mb-1 polli:grid polli:grid-cols-7 polli:gap-1 polli:text-center polli:text-xs polli:font-bold polli:uppercase polli:text-theme-text-muted", children: WEEKDAY_LABELS.map((label) => /* @__PURE__ */ jsx41("div", { children: label }, label)) }),
|
|
3991
|
+
/* @__PURE__ */ jsx41("div", { className: "polli:grid polli:grid-cols-7 polli:gap-1", children: dates.map((date) => {
|
|
3853
3992
|
const inCurrentMonth = date.getUTCMonth() === viewDate.getUTCMonth();
|
|
3854
3993
|
const selectable = isPeriodSelectable(
|
|
3855
3994
|
periodFromDate(value.granularity, date),
|
|
@@ -3867,7 +4006,7 @@ var PeriodPicker = ({
|
|
|
3867
4006
|
}
|
|
3868
4007
|
)}`;
|
|
3869
4008
|
const selected = value.granularity === "day" ? sameUtcDay(date, selectedWindow.start) : date >= selectedWindow.start && date < selectedWindow.end;
|
|
3870
|
-
return /* @__PURE__ */
|
|
4009
|
+
return /* @__PURE__ */ jsx41(
|
|
3871
4010
|
"button",
|
|
3872
4011
|
{
|
|
3873
4012
|
type: "button",
|
|
@@ -3897,7 +4036,7 @@ var PeriodPicker = ({
|
|
|
3897
4036
|
};
|
|
3898
4037
|
|
|
3899
4038
|
// src/compositions/Section.tsx
|
|
3900
|
-
import { Fragment as Fragment10, jsx as
|
|
4039
|
+
import { Fragment as Fragment10, jsx as jsx42, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
3901
4040
|
var Section = ({
|
|
3902
4041
|
title,
|
|
3903
4042
|
id,
|
|
@@ -3910,13 +4049,13 @@ var Section = ({
|
|
|
3910
4049
|
children,
|
|
3911
4050
|
className
|
|
3912
4051
|
}) => {
|
|
3913
|
-
const body = /* @__PURE__ */
|
|
3914
|
-
intro && /* @__PURE__ */
|
|
4052
|
+
const body = /* @__PURE__ */ jsxs30(Fragment10, { children: [
|
|
4053
|
+
intro && /* @__PURE__ */ jsx42(Text, { as: "div", className: "polli:max-w-2xl", children: intro }),
|
|
3915
4054
|
children
|
|
3916
4055
|
] });
|
|
3917
|
-
const content = /* @__PURE__ */
|
|
3918
|
-
/* @__PURE__ */
|
|
3919
|
-
/* @__PURE__ */
|
|
4056
|
+
const content = /* @__PURE__ */ jsxs30(Fragment10, { children: [
|
|
4057
|
+
/* @__PURE__ */ jsxs30("header", { className: "polli:flex polli:flex-wrap polli:items-center polli:justify-between polli:gap-3", children: [
|
|
4058
|
+
/* @__PURE__ */ jsx42(
|
|
3920
4059
|
Heading,
|
|
3921
4060
|
{
|
|
3922
4061
|
as: "h2",
|
|
@@ -3925,11 +4064,11 @@ var Section = ({
|
|
|
3925
4064
|
children: title
|
|
3926
4065
|
}
|
|
3927
4066
|
),
|
|
3928
|
-
action && /* @__PURE__ */
|
|
4067
|
+
action && /* @__PURE__ */ jsx42("div", { className: cn("polli:shrink-0", actionClassName), children: action })
|
|
3929
4068
|
] }),
|
|
3930
4069
|
body
|
|
3931
4070
|
] });
|
|
3932
|
-
return /* @__PURE__ */
|
|
4071
|
+
return /* @__PURE__ */ jsx42("section", { id, className: cn("polli:scroll-mt-10", className), children: framed ? /* @__PURE__ */ jsx42(
|
|
3933
4072
|
Surface,
|
|
3934
4073
|
{
|
|
3935
4074
|
variant: "panel",
|
|
@@ -3939,11 +4078,11 @@ var Section = ({
|
|
|
3939
4078
|
),
|
|
3940
4079
|
children: content
|
|
3941
4080
|
}
|
|
3942
|
-
) : /* @__PURE__ */
|
|
4081
|
+
) : /* @__PURE__ */ jsx42("div", { className: "polli:flex polli:flex-col polli:gap-4", children: content }) });
|
|
3943
4082
|
};
|
|
3944
4083
|
|
|
3945
4084
|
// src/compositions/StatCard.tsx
|
|
3946
|
-
import { jsx as
|
|
4085
|
+
import { jsx as jsx43, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
3947
4086
|
var valueVariantClasses = {
|
|
3948
4087
|
stat: "polli:min-h-8 polli:text-2xl polli:font-bold polli:leading-tight polli:tabular-nums polli:text-theme-text-base",
|
|
3949
4088
|
fact: "polli:text-sm polli:leading-6 polli:text-theme-text-soft"
|
|
@@ -3957,8 +4096,8 @@ var StatCard = ({
|
|
|
3957
4096
|
labelClassName,
|
|
3958
4097
|
valueClassName,
|
|
3959
4098
|
detailClassName
|
|
3960
|
-
}) => /* @__PURE__ */
|
|
3961
|
-
/* @__PURE__ */
|
|
4099
|
+
}) => /* @__PURE__ */ jsxs31("div", { className: cn("polli:text-sm", className), children: [
|
|
4100
|
+
/* @__PURE__ */ jsx43(
|
|
3962
4101
|
Text,
|
|
3963
4102
|
{
|
|
3964
4103
|
as: "div",
|
|
@@ -3972,7 +4111,7 @@ var StatCard = ({
|
|
|
3972
4111
|
children: label
|
|
3973
4112
|
}
|
|
3974
4113
|
),
|
|
3975
|
-
/* @__PURE__ */
|
|
4114
|
+
/* @__PURE__ */ jsx43(
|
|
3976
4115
|
"div",
|
|
3977
4116
|
{
|
|
3978
4117
|
className: cn(
|
|
@@ -3983,7 +4122,7 @@ var StatCard = ({
|
|
|
3983
4122
|
children: value
|
|
3984
4123
|
}
|
|
3985
4124
|
),
|
|
3986
|
-
detail && /* @__PURE__ */
|
|
4125
|
+
detail && /* @__PURE__ */ jsx43(
|
|
3987
4126
|
Text,
|
|
3988
4127
|
{
|
|
3989
4128
|
as: "div",
|
|
@@ -3999,7 +4138,7 @@ var StatCard = ({
|
|
|
3999
4138
|
import { useState as useState7 } from "react";
|
|
4000
4139
|
|
|
4001
4140
|
// src/primitives/InlineLink.tsx
|
|
4002
|
-
import { jsx as
|
|
4141
|
+
import { jsx as jsx44, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
4003
4142
|
function InlineLink({
|
|
4004
4143
|
as,
|
|
4005
4144
|
external,
|
|
@@ -4012,7 +4151,7 @@ function InlineLink({
|
|
|
4012
4151
|
}) {
|
|
4013
4152
|
const Component = as || "a";
|
|
4014
4153
|
const isExternal = external ?? isExternalHref(linkProps.href);
|
|
4015
|
-
return /* @__PURE__ */
|
|
4154
|
+
return /* @__PURE__ */ jsxs32(
|
|
4016
4155
|
Component,
|
|
4017
4156
|
{
|
|
4018
4157
|
target: isExternal && as !== "button" ? "_blank" : void 0,
|
|
@@ -4023,7 +4162,7 @@ function InlineLink({
|
|
|
4023
4162
|
...linkProps,
|
|
4024
4163
|
children: [
|
|
4025
4164
|
children,
|
|
4026
|
-
showIcon && isExternal && /* @__PURE__ */
|
|
4165
|
+
showIcon && isExternal && /* @__PURE__ */ jsx44(
|
|
4027
4166
|
ExternalLinkIcon,
|
|
4028
4167
|
{
|
|
4029
4168
|
"aria-hidden": "true",
|
|
@@ -4036,7 +4175,7 @@ function InlineLink({
|
|
|
4036
4175
|
}
|
|
4037
4176
|
|
|
4038
4177
|
// src/compositions/ToolCallDetails.tsx
|
|
4039
|
-
import { jsx as
|
|
4178
|
+
import { jsx as jsx45, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
4040
4179
|
function formattedValue(value) {
|
|
4041
4180
|
if (typeof value === "string") return value;
|
|
4042
4181
|
try {
|
|
@@ -4052,14 +4191,14 @@ function linkedValue(value) {
|
|
|
4052
4191
|
return segments.map((segment) => {
|
|
4053
4192
|
const key = `${offset}:${segment}`;
|
|
4054
4193
|
offset += segment.length;
|
|
4055
|
-
return segment.startsWith("https://") ? /* @__PURE__ */
|
|
4194
|
+
return segment.startsWith("https://") ? /* @__PURE__ */ jsx45(InlineLink, { href: segment, children: segment }, key) : segment;
|
|
4056
4195
|
});
|
|
4057
4196
|
}
|
|
4058
4197
|
function ToolValue({
|
|
4059
4198
|
value,
|
|
4060
4199
|
error = false
|
|
4061
4200
|
}) {
|
|
4062
|
-
return /* @__PURE__ */
|
|
4201
|
+
return /* @__PURE__ */ jsx45(
|
|
4063
4202
|
"pre",
|
|
4064
4203
|
{
|
|
4065
4204
|
className: cn(
|
|
@@ -4080,7 +4219,7 @@ var STATUS_LABELS = {
|
|
|
4080
4219
|
denied: "Denied"
|
|
4081
4220
|
};
|
|
4082
4221
|
function ToolStatus({ status }) {
|
|
4083
|
-
const icon = status === "complete" || status === "approval-responded" ? /* @__PURE__ */
|
|
4222
|
+
const icon = status === "complete" || status === "approval-responded" ? /* @__PURE__ */ jsx45(CheckIcon, { className: "polli:size-3" }) : status === "error" || status === "denied" ? /* @__PURE__ */ jsx45(XIcon, { className: "polli:size-3" }) : /* @__PURE__ */ jsx45(
|
|
4084
4223
|
ClockIcon,
|
|
4085
4224
|
{
|
|
4086
4225
|
className: cn(
|
|
@@ -4089,7 +4228,7 @@ function ToolStatus({ status }) {
|
|
|
4089
4228
|
)
|
|
4090
4229
|
}
|
|
4091
4230
|
);
|
|
4092
|
-
return /* @__PURE__ */
|
|
4231
|
+
return /* @__PURE__ */ jsxs33(
|
|
4093
4232
|
"span",
|
|
4094
4233
|
{
|
|
4095
4234
|
"data-status": status,
|
|
@@ -4115,16 +4254,16 @@ function ToolCallDetails({
|
|
|
4115
4254
|
}) {
|
|
4116
4255
|
const result = error === void 0 ? output : error;
|
|
4117
4256
|
const [open, setOpen] = useState7(defaultOpen);
|
|
4118
|
-
return /* @__PURE__ */
|
|
4257
|
+
return /* @__PURE__ */ jsxs33(
|
|
4119
4258
|
"div",
|
|
4120
4259
|
{
|
|
4121
4260
|
"data-tool-status": status,
|
|
4122
4261
|
className: cn(
|
|
4123
|
-
"polli:overflow-hidden polli:rounded-xl polli:border polli:border-theme-border/35 polli:bg-surface-opaque
|
|
4262
|
+
"polli:overflow-hidden polli:rounded-xl polli:border polli:border-theme-border/35 polli:bg-surface-opaque",
|
|
4124
4263
|
className
|
|
4125
4264
|
),
|
|
4126
4265
|
children: [
|
|
4127
|
-
/* @__PURE__ */
|
|
4266
|
+
/* @__PURE__ */ jsxs33(
|
|
4128
4267
|
"button",
|
|
4129
4268
|
{
|
|
4130
4269
|
type: "button",
|
|
@@ -4132,10 +4271,10 @@ function ToolCallDetails({
|
|
|
4132
4271
|
onClick: () => setOpen((current2) => !current2),
|
|
4133
4272
|
className: "polli-control polli:flex polli:w-full polli:cursor-pointer polli:items-center polli:gap-2 polli:px-3 polli:py-2.5 polli:text-left polli:hover:bg-theme-bg-hover/50",
|
|
4134
4273
|
children: [
|
|
4135
|
-
/* @__PURE__ */
|
|
4136
|
-
/* @__PURE__ */
|
|
4137
|
-
/* @__PURE__ */
|
|
4138
|
-
/* @__PURE__ */
|
|
4274
|
+
/* @__PURE__ */ jsx45("span", { className: "polli:flex polli:size-7 polli:shrink-0 polli:items-center polli:justify-center polli:rounded-lg polli:bg-theme-bg-active polli:text-theme-text-strong", children: /* @__PURE__ */ jsx45(ToolIcon, { className: "polli:size-3.5" }) }),
|
|
4275
|
+
/* @__PURE__ */ jsx45("code", { className: "polli:min-w-0 polli:truncate polli:text-xs polli:font-semibold polli:text-theme-text-strong", children: name }),
|
|
4276
|
+
/* @__PURE__ */ jsx45(ToolStatus, { status }),
|
|
4277
|
+
/* @__PURE__ */ jsx45(
|
|
4139
4278
|
ChevronIcon,
|
|
4140
4279
|
{
|
|
4141
4280
|
expanded: open,
|
|
@@ -4145,14 +4284,14 @@ function ToolCallDetails({
|
|
|
4145
4284
|
]
|
|
4146
4285
|
}
|
|
4147
4286
|
),
|
|
4148
|
-
open && /* @__PURE__ */
|
|
4149
|
-
input !== void 0 && /* @__PURE__ */
|
|
4150
|
-
/* @__PURE__ */
|
|
4151
|
-
/* @__PURE__ */
|
|
4287
|
+
open && /* @__PURE__ */ jsxs33("div", { className: "polli:flex polli:flex-col polli:gap-4 polli:border-theme-border/30 polli:border-t polli:bg-theme-bg-pale/35 polli:px-3 polli:py-3", children: [
|
|
4288
|
+
input !== void 0 && /* @__PURE__ */ jsxs33("div", { className: "polli:flex polli:flex-col polli:gap-1", children: [
|
|
4289
|
+
/* @__PURE__ */ jsx45(Text, { size: "xs", tone: "muted", weight: "bold", children: "Parameters" }),
|
|
4290
|
+
/* @__PURE__ */ jsx45(ToolValue, { value: input })
|
|
4152
4291
|
] }),
|
|
4153
|
-
result !== void 0 && /* @__PURE__ */
|
|
4154
|
-
/* @__PURE__ */
|
|
4155
|
-
/* @__PURE__ */
|
|
4292
|
+
result !== void 0 && /* @__PURE__ */ jsxs33("div", { className: "polli:flex polli:flex-col polli:gap-1", children: [
|
|
4293
|
+
/* @__PURE__ */ jsx45(Text, { size: "xs", tone: "muted", weight: "bold", children: error === void 0 ? "Result" : "Error" }),
|
|
4294
|
+
/* @__PURE__ */ jsx45(
|
|
4156
4295
|
ToolValue,
|
|
4157
4296
|
{
|
|
4158
4297
|
value: result,
|
|
@@ -4190,13 +4329,13 @@ function useScrollLock(enabled = true) {
|
|
|
4190
4329
|
}
|
|
4191
4330
|
|
|
4192
4331
|
// src/primitives/ButtonGroup.tsx
|
|
4193
|
-
import { jsx as
|
|
4332
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
4194
4333
|
var ButtonGroup = ({
|
|
4195
4334
|
className,
|
|
4196
4335
|
children,
|
|
4197
4336
|
role = "group",
|
|
4198
4337
|
...rest
|
|
4199
|
-
}) => /* @__PURE__ */
|
|
4338
|
+
}) => /* @__PURE__ */ jsx46(
|
|
4200
4339
|
"div",
|
|
4201
4340
|
{
|
|
4202
4341
|
...rest,
|
|
@@ -4211,7 +4350,116 @@ var ButtonGroup = ({
|
|
|
4211
4350
|
|
|
4212
4351
|
// src/primitives/ColorModeToggle.tsx
|
|
4213
4352
|
import { useSyncExternalStore } from "react";
|
|
4214
|
-
|
|
4353
|
+
|
|
4354
|
+
// src/primitives/Switch.tsx
|
|
4355
|
+
import { jsx as jsx47, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
4356
|
+
var sizes = {
|
|
4357
|
+
sm: {
|
|
4358
|
+
track: "polli:h-7 polli:w-[52px]",
|
|
4359
|
+
thumb: "polli:h-5 polli:w-5",
|
|
4360
|
+
travel: "polli:translate-x-6",
|
|
4361
|
+
icon: "polli:h-3.5 polli:w-3.5",
|
|
4362
|
+
ghostOff: "polli:right-2",
|
|
4363
|
+
ghostOn: "polli:left-2"
|
|
4364
|
+
},
|
|
4365
|
+
md: {
|
|
4366
|
+
track: "polli:h-9 polli:w-16",
|
|
4367
|
+
thumb: "polli:h-7 polli:w-7",
|
|
4368
|
+
travel: "polli:translate-x-7",
|
|
4369
|
+
icon: "polli:h-4 polli:w-4",
|
|
4370
|
+
ghostOff: "polli:right-[9px]",
|
|
4371
|
+
ghostOn: "polli:left-[9px]"
|
|
4372
|
+
},
|
|
4373
|
+
lg: {
|
|
4374
|
+
track: "polli:h-12 polli:w-[88px]",
|
|
4375
|
+
thumb: "polli:h-10 polli:w-10",
|
|
4376
|
+
travel: "polli:translate-x-10",
|
|
4377
|
+
icon: "polli:h-5 polli:w-5",
|
|
4378
|
+
ghostOff: "polli:right-[13px]",
|
|
4379
|
+
ghostOn: "polli:left-[13px]"
|
|
4380
|
+
}
|
|
4381
|
+
};
|
|
4382
|
+
var trackClasses = {
|
|
4383
|
+
off: "polli:border-theme-text-strong/15 polli:bg-theme-bg-subtle polli:hover:border-theme-text-strong/30",
|
|
4384
|
+
on: "polli:border-tier-soft polli:bg-tier-soft",
|
|
4385
|
+
invalid: "polli:border-intent-danger-text polli:bg-intent-danger-bg-light",
|
|
4386
|
+
choice: "polli:border-theme-text-strong/10 polli:bg-surface-opaque"
|
|
4387
|
+
};
|
|
4388
|
+
var thumbClasses = {
|
|
4389
|
+
off: "polli:bg-theme-text-muted/60 polli:text-app-bg",
|
|
4390
|
+
on: "polli:bg-intent-success-text-on-bright",
|
|
4391
|
+
invalid: "polli:bg-intent-danger-text polli:text-app-bg",
|
|
4392
|
+
choice: "polli:bg-app-bg polli:text-theme-text-soft"
|
|
4393
|
+
};
|
|
4394
|
+
var Switch = ({
|
|
4395
|
+
checked,
|
|
4396
|
+
onChange,
|
|
4397
|
+
status,
|
|
4398
|
+
ariaLabel,
|
|
4399
|
+
disabled = false,
|
|
4400
|
+
size = "md",
|
|
4401
|
+
icons,
|
|
4402
|
+
className
|
|
4403
|
+
}) => {
|
|
4404
|
+
const geometry = sizes[size];
|
|
4405
|
+
const look = icons ? "choice" : status ?? (checked ? "on" : "off");
|
|
4406
|
+
return /* @__PURE__ */ jsxs34(
|
|
4407
|
+
"button",
|
|
4408
|
+
{
|
|
4409
|
+
type: "button",
|
|
4410
|
+
role: "switch",
|
|
4411
|
+
"aria-checked": checked,
|
|
4412
|
+
"aria-label": ariaLabel ?? (checked ? "Turn off toggle" : "Turn on toggle"),
|
|
4413
|
+
onClick: () => onChange(!checked),
|
|
4414
|
+
disabled,
|
|
4415
|
+
className: cn(
|
|
4416
|
+
"polli-control polli:relative polli:inline-block polli:shrink-0 polli:cursor-pointer polli:rounded-full polli:border polli:transition-colors polli:disabled:cursor-not-allowed polli:disabled:opacity-60",
|
|
4417
|
+
geometry.track,
|
|
4418
|
+
trackClasses[look],
|
|
4419
|
+
className
|
|
4420
|
+
),
|
|
4421
|
+
children: [
|
|
4422
|
+
icons && /* @__PURE__ */ jsx47(
|
|
4423
|
+
"span",
|
|
4424
|
+
{
|
|
4425
|
+
"aria-hidden": "true",
|
|
4426
|
+
className: cn(
|
|
4427
|
+
"polli:absolute polli:top-1/2 polli:flex polli:-translate-y-1/2 polli:text-theme-text-strong/40 polli:[&>svg]:h-full polli:[&>svg]:w-full",
|
|
4428
|
+
geometry.icon,
|
|
4429
|
+
checked ? geometry.ghostOn : geometry.ghostOff
|
|
4430
|
+
),
|
|
4431
|
+
children: checked ? icons.off : icons.on
|
|
4432
|
+
}
|
|
4433
|
+
),
|
|
4434
|
+
/* @__PURE__ */ jsx47(
|
|
4435
|
+
"span",
|
|
4436
|
+
{
|
|
4437
|
+
className: cn(
|
|
4438
|
+
"polli:absolute polli:top-1/2 polli:left-[3px] polli:flex polli:-translate-y-1/2 polli:items-center polli:justify-center polli:rounded-full polli:transition-[transform,background-color]",
|
|
4439
|
+
geometry.thumb,
|
|
4440
|
+
thumbClasses[look],
|
|
4441
|
+
checked ? geometry.travel : "polli:translate-x-0"
|
|
4442
|
+
),
|
|
4443
|
+
children: icons && /* @__PURE__ */ jsx47(
|
|
4444
|
+
"span",
|
|
4445
|
+
{
|
|
4446
|
+
"aria-hidden": "true",
|
|
4447
|
+
className: cn(
|
|
4448
|
+
"polli:flex polli:[&>svg]:h-full polli:[&>svg]:w-full",
|
|
4449
|
+
geometry.icon
|
|
4450
|
+
),
|
|
4451
|
+
children: checked ? icons.on : icons.off
|
|
4452
|
+
}
|
|
4453
|
+
)
|
|
4454
|
+
}
|
|
4455
|
+
)
|
|
4456
|
+
]
|
|
4457
|
+
}
|
|
4458
|
+
);
|
|
4459
|
+
};
|
|
4460
|
+
|
|
4461
|
+
// src/primitives/ColorModeToggle.tsx
|
|
4462
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
4215
4463
|
var STORAGE_KEY = "polli-color-mode";
|
|
4216
4464
|
function readStored() {
|
|
4217
4465
|
try {
|
|
@@ -4221,10 +4469,10 @@ function readStored() {
|
|
|
4221
4469
|
return null;
|
|
4222
4470
|
}
|
|
4223
4471
|
}
|
|
4224
|
-
function
|
|
4225
|
-
return typeof window !== "undefined" && window.matchMedia?.("(prefers-color-scheme: dark)").matches === true;
|
|
4472
|
+
function systemMode() {
|
|
4473
|
+
return typeof window !== "undefined" && window.matchMedia?.("(prefers-color-scheme: dark)").matches === true ? "dark" : "light";
|
|
4226
4474
|
}
|
|
4227
|
-
var current = readStored() ?? (
|
|
4475
|
+
var current = readStored() ?? systemMode();
|
|
4228
4476
|
var listeners = /* @__PURE__ */ new Set();
|
|
4229
4477
|
function apply() {
|
|
4230
4478
|
if (typeof document === "undefined") return;
|
|
@@ -4248,7 +4496,7 @@ function emit() {
|
|
|
4248
4496
|
}
|
|
4249
4497
|
function handleStorage(event) {
|
|
4250
4498
|
if (event.key !== STORAGE_KEY) return;
|
|
4251
|
-
const next =
|
|
4499
|
+
const next = readStored() ?? systemMode();
|
|
4252
4500
|
if (next === current) return;
|
|
4253
4501
|
current = next;
|
|
4254
4502
|
apply();
|
|
@@ -4278,7 +4526,8 @@ function setColorMode(mode) {
|
|
|
4278
4526
|
current = mode;
|
|
4279
4527
|
apply();
|
|
4280
4528
|
try {
|
|
4281
|
-
localStorage.
|
|
4529
|
+
if (mode === systemMode()) localStorage.removeItem(STORAGE_KEY);
|
|
4530
|
+
else localStorage.setItem(STORAGE_KEY, mode);
|
|
4282
4531
|
} catch {
|
|
4283
4532
|
}
|
|
4284
4533
|
emit();
|
|
@@ -4297,28 +4546,14 @@ function useColorMode() {
|
|
|
4297
4546
|
}
|
|
4298
4547
|
var ColorModeToggle = () => {
|
|
4299
4548
|
const { isDark, toggle } = useColorMode();
|
|
4300
|
-
return /* @__PURE__ */
|
|
4301
|
-
|
|
4549
|
+
return /* @__PURE__ */ jsx48(
|
|
4550
|
+
Switch,
|
|
4302
4551
|
{
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
"
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
className: "polli-control polli:relative polli:inline-block polli:h-7 polli:w-[52px] polli:shrink-0 polli:cursor-pointer polli:rounded-full polli:border polli:border-theme-text-strong/10 polli:bg-surface-opaque polli:transition-colors",
|
|
4309
|
-
children: [
|
|
4310
|
-
isDark ? /* @__PURE__ */ jsx45(SunIcon, { className: "polli:absolute polli:top-1/2 polli:left-[7px] polli:h-3.5 polli:w-3.5 polli:-translate-y-1/2 polli:text-theme-text-strong/40" }) : /* @__PURE__ */ jsx45(MoonIcon, { className: "polli:absolute polli:top-1/2 polli:right-[7px] polli:h-3.5 polli:w-3.5 polli:-translate-y-1/2 polli:text-theme-text-strong/40" }),
|
|
4311
|
-
/* @__PURE__ */ jsx45(
|
|
4312
|
-
"span",
|
|
4313
|
-
{
|
|
4314
|
-
className: cn(
|
|
4315
|
-
"polli:absolute polli:top-1/2 polli:left-0.5 polli:flex polli:h-5 polli:w-5 polli:-translate-y-1/2 polli:items-center polli:justify-center polli:rounded-full polli:bg-app-bg polli:text-theme-text-soft polli:shadow-sm polli:transition-transform",
|
|
4316
|
-
isDark ? "polli:translate-x-[26px]" : "polli:translate-x-0"
|
|
4317
|
-
),
|
|
4318
|
-
children: isDark ? /* @__PURE__ */ jsx45(MoonIcon, { className: "polli:h-3.5 polli:w-3.5" }) : /* @__PURE__ */ jsx45(SunIcon, { className: "polli:h-3.5 polli:w-3.5" })
|
|
4319
|
-
}
|
|
4320
|
-
)
|
|
4321
|
-
]
|
|
4552
|
+
checked: isDark,
|
|
4553
|
+
onChange: toggle,
|
|
4554
|
+
ariaLabel: "Toggle dark mode",
|
|
4555
|
+
size: "sm",
|
|
4556
|
+
icons: { off: /* @__PURE__ */ jsx48(SunIcon, {}), on: /* @__PURE__ */ jsx48(MoonIcon, {}) }
|
|
4322
4557
|
}
|
|
4323
4558
|
);
|
|
4324
4559
|
};
|
|
@@ -4327,7 +4562,7 @@ var ColorModeToggle = () => {
|
|
|
4327
4562
|
import { Dialog as ArkDialog2 } from "@ark-ui/react/dialog";
|
|
4328
4563
|
import { Portal as Portal3 } from "@ark-ui/react/portal";
|
|
4329
4564
|
import { useRef as useRef8 } from "react";
|
|
4330
|
-
import { jsx as
|
|
4565
|
+
import { jsx as jsx49, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
4331
4566
|
var Drawer = ({
|
|
4332
4567
|
open,
|
|
4333
4568
|
onOpenChange,
|
|
@@ -4337,21 +4572,21 @@ var Drawer = ({
|
|
|
4337
4572
|
contentClassName
|
|
4338
4573
|
}) => {
|
|
4339
4574
|
const contentRef = useRef8(null);
|
|
4340
|
-
return /* @__PURE__ */
|
|
4575
|
+
return /* @__PURE__ */ jsx49(
|
|
4341
4576
|
ArkDialog2.Root,
|
|
4342
4577
|
{
|
|
4343
4578
|
open,
|
|
4344
4579
|
initialFocusEl: () => contentRef.current,
|
|
4345
4580
|
onOpenChange: (details) => onOpenChange(details.open),
|
|
4346
|
-
children: /* @__PURE__ */
|
|
4347
|
-
/* @__PURE__ */
|
|
4348
|
-
/* @__PURE__ */
|
|
4581
|
+
children: /* @__PURE__ */ jsxs35(Portal3, { children: [
|
|
4582
|
+
/* @__PURE__ */ jsx49(ArkDialog2.Backdrop, { className: "polli:fixed polli:inset-0 polli:z-[100] polli:bg-[#000]/40 polli:backdrop-blur-sm" }),
|
|
4583
|
+
/* @__PURE__ */ jsx49(ArkDialog2.Positioner, { className: "polli:pointer-events-none polli:fixed polli:inset-0 polli:z-[110] polli:h-dvh polli:overflow-hidden", children: /* @__PURE__ */ jsx49(
|
|
4349
4584
|
ArkDialog2.Content,
|
|
4350
4585
|
{
|
|
4351
4586
|
ref: contentRef,
|
|
4352
4587
|
"aria-label": ariaLabel,
|
|
4353
4588
|
className: cn(
|
|
4354
|
-
"polli:pointer-events-auto polli:flex polli:h-dvh polli:w-[min(20rem,86vw)] polli:flex-col polli:overflow-hidden polli:border-theme-text-strong/10 polli:bg-app-bg polli:
|
|
4589
|
+
"polli:pointer-events-auto polli:flex polli:h-dvh polli:w-[min(20rem,86vw)] polli:flex-col polli:overflow-hidden polli:border-theme-text-strong/10 polli:bg-app-bg polli:outline-none",
|
|
4355
4590
|
side === "right" ? "polli:ml-auto polli:border-l" : "polli:border-r",
|
|
4356
4591
|
contentClassName
|
|
4357
4592
|
),
|
|
@@ -4364,7 +4599,7 @@ var Drawer = ({
|
|
|
4364
4599
|
};
|
|
4365
4600
|
|
|
4366
4601
|
// src/primitives/DropdownItem.tsx
|
|
4367
|
-
import { jsx as
|
|
4602
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
4368
4603
|
function DropdownItem({
|
|
4369
4604
|
as,
|
|
4370
4605
|
className,
|
|
@@ -4372,7 +4607,7 @@ function DropdownItem({
|
|
|
4372
4607
|
...rest
|
|
4373
4608
|
}) {
|
|
4374
4609
|
const Component = as || "button";
|
|
4375
|
-
return /* @__PURE__ */
|
|
4610
|
+
return /* @__PURE__ */ jsx50(
|
|
4376
4611
|
Component,
|
|
4377
4612
|
{
|
|
4378
4613
|
...Component === "button" ? { type: "button" } : void 0,
|
|
@@ -4386,9 +4621,24 @@ function DropdownItem({
|
|
|
4386
4621
|
);
|
|
4387
4622
|
}
|
|
4388
4623
|
|
|
4624
|
+
// src/primitives/LoadingStatus.tsx
|
|
4625
|
+
import { jsx as jsx51, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
4626
|
+
function LoadingStatus({ children }) {
|
|
4627
|
+
return /* @__PURE__ */ jsxs36("output", { className: "polli:flex polli:items-center polli:gap-2 polli:font-body polli:text-sm polli:text-theme-text-muted", children: [
|
|
4628
|
+
/* @__PURE__ */ jsx51(
|
|
4629
|
+
"span",
|
|
4630
|
+
{
|
|
4631
|
+
"aria-hidden": "true",
|
|
4632
|
+
className: "polli:h-4 polli:w-4 polli:shrink-0 polli:animate-spin polli:motion-reduce:animate-none polli:rounded-full polli:border-2 polli:border-current polli:border-r-transparent"
|
|
4633
|
+
}
|
|
4634
|
+
),
|
|
4635
|
+
children
|
|
4636
|
+
] });
|
|
4637
|
+
}
|
|
4638
|
+
|
|
4389
4639
|
// src/primitives/Slider.tsx
|
|
4390
4640
|
import { forwardRef as forwardRef7 } from "react";
|
|
4391
|
-
import { jsx as
|
|
4641
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
4392
4642
|
var toNumber = (value) => {
|
|
4393
4643
|
if (typeof value === "number") return value;
|
|
4394
4644
|
if (typeof value !== "string" || value.trim() === "") return void 0;
|
|
@@ -4428,7 +4678,7 @@ var Slider = forwardRef7(
|
|
|
4428
4678
|
...style,
|
|
4429
4679
|
...progressPercent === void 0 ? null : { "--polli-slider-progress": `${progressPercent}%` }
|
|
4430
4680
|
};
|
|
4431
|
-
return /* @__PURE__ */
|
|
4681
|
+
return /* @__PURE__ */ jsx52(
|
|
4432
4682
|
"input",
|
|
4433
4683
|
{
|
|
4434
4684
|
ref,
|
|
@@ -4445,52 +4695,8 @@ var Slider = forwardRef7(
|
|
|
4445
4695
|
}
|
|
4446
4696
|
);
|
|
4447
4697
|
|
|
4448
|
-
// src/primitives/Switch.tsx
|
|
4449
|
-
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
4450
|
-
var trackClasses = {
|
|
4451
|
-
off: "polli:bg-switch-track-off",
|
|
4452
|
-
on: "polli:bg-switch-track-on",
|
|
4453
|
-
invalid: "polli:bg-switch-track-invalid"
|
|
4454
|
-
};
|
|
4455
|
-
var Switch = ({
|
|
4456
|
-
checked,
|
|
4457
|
-
onChange,
|
|
4458
|
-
status,
|
|
4459
|
-
ariaLabel,
|
|
4460
|
-
disabled = false,
|
|
4461
|
-
className
|
|
4462
|
-
}) => {
|
|
4463
|
-
const effectiveStatus = status ?? (checked ? "on" : "off");
|
|
4464
|
-
const resolvedAriaLabel = ariaLabel ?? (checked ? "Turn off toggle" : "Turn on toggle");
|
|
4465
|
-
return /* @__PURE__ */ jsx49(
|
|
4466
|
-
"button",
|
|
4467
|
-
{
|
|
4468
|
-
type: "button",
|
|
4469
|
-
role: "switch",
|
|
4470
|
-
"aria-checked": checked,
|
|
4471
|
-
"aria-label": resolvedAriaLabel,
|
|
4472
|
-
onClick: () => onChange(!checked),
|
|
4473
|
-
disabled,
|
|
4474
|
-
className: cn(
|
|
4475
|
-
"polli-control polli:relative polli:inline-flex polli:h-7 polli:w-12 polli:shrink-0 polli:items-center polli:rounded-full polli:transition polli:disabled:cursor-not-allowed polli:disabled:opacity-60",
|
|
4476
|
-
trackClasses[effectiveStatus],
|
|
4477
|
-
className
|
|
4478
|
-
),
|
|
4479
|
-
children: /* @__PURE__ */ jsx49(
|
|
4480
|
-
"span",
|
|
4481
|
-
{
|
|
4482
|
-
className: cn(
|
|
4483
|
-
"polli:inline-block polli:h-5 polli:w-5 polli:rounded-full polli:bg-switch-thumb polli:shadow-sm polli:transition-transform",
|
|
4484
|
-
checked ? "polli:translate-x-6" : "polli:translate-x-1"
|
|
4485
|
-
)
|
|
4486
|
-
}
|
|
4487
|
-
)
|
|
4488
|
-
}
|
|
4489
|
-
);
|
|
4490
|
-
};
|
|
4491
|
-
|
|
4492
4698
|
// src/primitives/Table.tsx
|
|
4493
|
-
import { Fragment as Fragment11, jsx as
|
|
4699
|
+
import { Fragment as Fragment11, jsx as jsx53, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
4494
4700
|
var alignClasses = {
|
|
4495
4701
|
left: "polli:text-left",
|
|
4496
4702
|
center: "polli:text-center",
|
|
@@ -4501,7 +4707,7 @@ var rowIntentClasses = {
|
|
|
4501
4707
|
warning: "polli:bg-intent-warning-bg-light/65",
|
|
4502
4708
|
danger: "polli:bg-intent-danger-bg-light/65"
|
|
4503
4709
|
};
|
|
4504
|
-
var Table = ({ className, ...rest }) => /* @__PURE__ */
|
|
4710
|
+
var Table = ({ className, ...rest }) => /* @__PURE__ */ jsx53(
|
|
4505
4711
|
"table",
|
|
4506
4712
|
{
|
|
4507
4713
|
...rest,
|
|
@@ -4511,7 +4717,7 @@ var Table = ({ className, ...rest }) => /* @__PURE__ */ jsx50(
|
|
|
4511
4717
|
)
|
|
4512
4718
|
}
|
|
4513
4719
|
);
|
|
4514
|
-
var TableHead = ({ className, ...rest }) => /* @__PURE__ */
|
|
4720
|
+
var TableHead = ({ className, ...rest }) => /* @__PURE__ */ jsx53(
|
|
4515
4721
|
"thead",
|
|
4516
4722
|
{
|
|
4517
4723
|
...rest,
|
|
@@ -4525,7 +4731,7 @@ var TableBody = ({
|
|
|
4525
4731
|
className,
|
|
4526
4732
|
divider = "themed",
|
|
4527
4733
|
...rest
|
|
4528
|
-
}) => /* @__PURE__ */
|
|
4734
|
+
}) => /* @__PURE__ */ jsx53(
|
|
4529
4735
|
"tbody",
|
|
4530
4736
|
{
|
|
4531
4737
|
...rest,
|
|
@@ -4540,7 +4746,7 @@ var TableRow = ({
|
|
|
4540
4746
|
intent = "default",
|
|
4541
4747
|
className,
|
|
4542
4748
|
...rest
|
|
4543
|
-
}) => /* @__PURE__ */
|
|
4749
|
+
}) => /* @__PURE__ */ jsx53(
|
|
4544
4750
|
"tr",
|
|
4545
4751
|
{
|
|
4546
4752
|
...rest,
|
|
@@ -4560,9 +4766,9 @@ var TableHeaderCell = ({
|
|
|
4560
4766
|
children,
|
|
4561
4767
|
...rest
|
|
4562
4768
|
}) => {
|
|
4563
|
-
const content = /* @__PURE__ */
|
|
4564
|
-
/* @__PURE__ */
|
|
4565
|
-
onSort && /* @__PURE__ */
|
|
4769
|
+
const content = /* @__PURE__ */ jsxs37(Fragment11, { children: [
|
|
4770
|
+
/* @__PURE__ */ jsx53("span", { children }),
|
|
4771
|
+
onSort && /* @__PURE__ */ jsx53(
|
|
4566
4772
|
"span",
|
|
4567
4773
|
{
|
|
4568
4774
|
"aria-hidden": "true",
|
|
@@ -4579,15 +4785,15 @@ var TableHeaderCell = ({
|
|
|
4579
4785
|
className
|
|
4580
4786
|
);
|
|
4581
4787
|
if (!onSort) {
|
|
4582
|
-
return /* @__PURE__ */
|
|
4788
|
+
return /* @__PURE__ */ jsx53("th", { ...rest, className: classes, children: content });
|
|
4583
4789
|
}
|
|
4584
|
-
return /* @__PURE__ */
|
|
4790
|
+
return /* @__PURE__ */ jsx53(
|
|
4585
4791
|
"th",
|
|
4586
4792
|
{
|
|
4587
4793
|
...rest,
|
|
4588
4794
|
"aria-sort": active && sortDirection ? sortDirection === "asc" ? "ascending" : "descending" : "none",
|
|
4589
4795
|
className: classes,
|
|
4590
|
-
children: /* @__PURE__ */
|
|
4796
|
+
children: /* @__PURE__ */ jsx53(
|
|
4591
4797
|
"button",
|
|
4592
4798
|
{
|
|
4593
4799
|
type: "button",
|
|
@@ -4609,7 +4815,7 @@ var TableCell = ({
|
|
|
4609
4815
|
muted = false,
|
|
4610
4816
|
className,
|
|
4611
4817
|
...rest
|
|
4612
|
-
}) => /* @__PURE__ */
|
|
4818
|
+
}) => /* @__PURE__ */ jsx53(
|
|
4613
4819
|
"td",
|
|
4614
4820
|
{
|
|
4615
4821
|
...rest,
|
|
@@ -4624,14 +4830,14 @@ var TableCell = ({
|
|
|
4624
4830
|
);
|
|
4625
4831
|
|
|
4626
4832
|
// src/primitives/TableDisclosureButton.tsx
|
|
4627
|
-
import { jsx as
|
|
4833
|
+
import { jsx as jsx54, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
4628
4834
|
var TableDisclosureButton = ({
|
|
4629
4835
|
children,
|
|
4630
4836
|
disabled = false,
|
|
4631
4837
|
expanded,
|
|
4632
4838
|
onClick,
|
|
4633
4839
|
className
|
|
4634
|
-
}) => /* @__PURE__ */
|
|
4840
|
+
}) => /* @__PURE__ */ jsxs38(
|
|
4635
4841
|
"button",
|
|
4636
4842
|
{
|
|
4637
4843
|
type: "button",
|
|
@@ -4644,7 +4850,7 @@ var TableDisclosureButton = ({
|
|
|
4644
4850
|
className
|
|
4645
4851
|
),
|
|
4646
4852
|
children: [
|
|
4647
|
-
/* @__PURE__ */
|
|
4853
|
+
/* @__PURE__ */ jsx54(
|
|
4648
4854
|
ChevronIcon,
|
|
4649
4855
|
{
|
|
4650
4856
|
expanded,
|
|
@@ -4658,8 +4864,10 @@ var TableDisclosureButton = ({
|
|
|
4658
4864
|
export {
|
|
4659
4865
|
AccountIcon,
|
|
4660
4866
|
AccountIdentity,
|
|
4867
|
+
AccountIdentityLink,
|
|
4661
4868
|
AccountMenu,
|
|
4662
4869
|
Alert,
|
|
4870
|
+
AppBrand,
|
|
4663
4871
|
AppHeader,
|
|
4664
4872
|
AppIcon,
|
|
4665
4873
|
ArrowLeftIcon,
|
|
@@ -4668,6 +4876,7 @@ export {
|
|
|
4668
4876
|
BeakerIcon,
|
|
4669
4877
|
BookIcon,
|
|
4670
4878
|
BotIcon,
|
|
4879
|
+
BrandMark,
|
|
4671
4880
|
BugIcon,
|
|
4672
4881
|
Button,
|
|
4673
4882
|
ButtonGroup,
|
|
@@ -4739,6 +4948,7 @@ export {
|
|
|
4739
4948
|
KeyIcon,
|
|
4740
4949
|
LinkCard,
|
|
4741
4950
|
LinkedInIcon,
|
|
4951
|
+
LoadingStatus,
|
|
4742
4952
|
LockIcon,
|
|
4743
4953
|
LogInIcon,
|
|
4744
4954
|
LogOutIcon,
|
|
@@ -4759,6 +4969,7 @@ export {
|
|
|
4759
4969
|
PlusIcon,
|
|
4760
4970
|
PowerIcon,
|
|
4761
4971
|
ReasoningIcon,
|
|
4972
|
+
ReceiptIcon,
|
|
4762
4973
|
RefreshIcon,
|
|
4763
4974
|
RobotIcon,
|
|
4764
4975
|
RocketIcon,
|