ode-explorer 1.4.13-develop-mozo.202407101134 → 1.4.13-develop.202407101224
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1363 -1901
- package/dist/version.txt +1 -1
- package/lib/Library.js +31 -15
- package/lib/features/SideBar/Library/useLibrary.d.ts +5 -0
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -4244,845 +4244,97 @@ instance.use(Backend).use(initReactI18next).init({
|
|
|
4244
4244
|
useSuspense: false
|
|
4245
4245
|
}
|
|
4246
4246
|
});
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4252
|
-
"svg",
|
|
4253
|
-
{
|
|
4254
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4255
|
-
width: "24",
|
|
4256
|
-
height: "24",
|
|
4257
|
-
fill: "none",
|
|
4258
|
-
viewBox: "0 0 24 24",
|
|
4259
|
-
"aria-hidden": "true",
|
|
4260
|
-
"aria-labelledby": titleId,
|
|
4261
|
-
...props,
|
|
4262
|
-
children: [
|
|
4263
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4264
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4265
|
-
"path",
|
|
4266
|
-
{
|
|
4267
|
-
fill: "currentColor",
|
|
4268
|
-
fillRule: "evenodd",
|
|
4269
|
-
d: "M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",
|
|
4270
|
-
clipRule: "evenodd"
|
|
4271
|
-
}
|
|
4272
|
-
),
|
|
4273
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4274
|
-
"path",
|
|
4275
|
-
{
|
|
4276
|
-
fill: "currentColor",
|
|
4277
|
-
fillRule: "evenodd",
|
|
4278
|
-
d: "M12 6a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M11 16a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1",
|
|
4279
|
-
clipRule: "evenodd"
|
|
4280
|
-
}
|
|
4281
|
-
)
|
|
4282
|
-
]
|
|
4283
|
-
}
|
|
4284
|
-
), SvgAlertCircle$1 = SvgAlertCircle, SvgArrowLeft = ({
|
|
4285
|
-
title,
|
|
4286
|
-
titleId,
|
|
4287
|
-
...props
|
|
4288
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4289
|
-
"svg",
|
|
4290
|
-
{
|
|
4291
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4292
|
-
width: "24",
|
|
4293
|
-
height: "24",
|
|
4294
|
-
fill: "none",
|
|
4295
|
-
viewBox: "0 0 24 24",
|
|
4296
|
-
"aria-hidden": "true",
|
|
4297
|
-
"aria-labelledby": titleId,
|
|
4298
|
-
...props,
|
|
4299
|
-
children: [
|
|
4300
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4301
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4302
|
-
"path",
|
|
4303
|
-
{
|
|
4304
|
-
fill: "currentColor",
|
|
4305
|
-
fillRule: "evenodd",
|
|
4306
|
-
d: "M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",
|
|
4307
|
-
clipRule: "evenodd"
|
|
4308
|
-
}
|
|
4309
|
-
),
|
|
4310
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4311
|
-
"path",
|
|
4312
|
-
{
|
|
4313
|
-
fill: "currentColor",
|
|
4314
|
-
fillRule: "evenodd",
|
|
4315
|
-
d: "M12.707 4.293a1 1 0 0 1 0 1.414L6.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0",
|
|
4316
|
-
clipRule: "evenodd"
|
|
4317
|
-
}
|
|
4318
|
-
)
|
|
4319
|
-
]
|
|
4247
|
+
var Subscribable = class {
|
|
4248
|
+
constructor() {
|
|
4249
|
+
this.listeners = /* @__PURE__ */ new Set();
|
|
4250
|
+
this.subscribe = this.subscribe.bind(this);
|
|
4320
4251
|
}
|
|
4321
|
-
)
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4329
|
-
width: "24",
|
|
4330
|
-
height: "24",
|
|
4331
|
-
fill: "none",
|
|
4332
|
-
viewBox: "0 0 24 24",
|
|
4333
|
-
"aria-hidden": "true",
|
|
4334
|
-
"aria-labelledby": titleId,
|
|
4335
|
-
...props,
|
|
4336
|
-
children: [
|
|
4337
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4338
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4339
|
-
"path",
|
|
4340
|
-
{
|
|
4341
|
-
fill: "currentColor",
|
|
4342
|
-
fillRule: "evenodd",
|
|
4343
|
-
d: "M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",
|
|
4344
|
-
clipRule: "evenodd"
|
|
4345
|
-
}
|
|
4346
|
-
),
|
|
4347
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4348
|
-
"path",
|
|
4349
|
-
{
|
|
4350
|
-
fill: "currentColor",
|
|
4351
|
-
fillRule: "evenodd",
|
|
4352
|
-
d: "M11.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L17.586 12l-6.293-6.293a1 1 0 0 1 0-1.414",
|
|
4353
|
-
clipRule: "evenodd"
|
|
4354
|
-
}
|
|
4355
|
-
)
|
|
4356
|
-
]
|
|
4252
|
+
subscribe(listener) {
|
|
4253
|
+
this.listeners.add(listener);
|
|
4254
|
+
this.onSubscribe();
|
|
4255
|
+
return () => {
|
|
4256
|
+
this.listeners.delete(listener);
|
|
4257
|
+
this.onUnsubscribe();
|
|
4258
|
+
};
|
|
4357
4259
|
}
|
|
4358
|
-
)
|
|
4359
|
-
|
|
4360
|
-
titleId,
|
|
4361
|
-
...props
|
|
4362
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4363
|
-
"svg",
|
|
4364
|
-
{
|
|
4365
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4366
|
-
viewBox: "0 0 24 24",
|
|
4367
|
-
width: "24",
|
|
4368
|
-
height: "24",
|
|
4369
|
-
"aria-hidden": "true",
|
|
4370
|
-
"aria-labelledby": titleId,
|
|
4371
|
-
...props,
|
|
4372
|
-
children: [
|
|
4373
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4374
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4375
|
-
"path",
|
|
4376
|
-
{
|
|
4377
|
-
fill: "currentColor",
|
|
4378
|
-
d: "M7 4a1 1 0 0 0-1 1v14.06l5.42-3.87a1 1 0 0 1 1.16 0L18 19.06V5a1 1 0 0 0-1-1zM4.88 2.88A3 3 0 0 1 7 2h10a3 3 0 0 1 3 3v16a1 1 0 0 1-1.58.81L12 17.23 5.58 21.8A1 1 0 0 1 4 21V5a3 3 0 0 1 .88-2.12"
|
|
4379
|
-
}
|
|
4380
|
-
)
|
|
4381
|
-
]
|
|
4260
|
+
hasListeners() {
|
|
4261
|
+
return this.listeners.size > 0;
|
|
4382
4262
|
}
|
|
4383
|
-
)
|
|
4384
|
-
title,
|
|
4385
|
-
titleId,
|
|
4386
|
-
...props
|
|
4387
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4388
|
-
"svg",
|
|
4389
|
-
{
|
|
4390
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4391
|
-
width: "24",
|
|
4392
|
-
height: "24",
|
|
4393
|
-
fill: "none",
|
|
4394
|
-
viewBox: "0 0 24 24",
|
|
4395
|
-
"aria-hidden": "true",
|
|
4396
|
-
"aria-labelledby": titleId,
|
|
4397
|
-
...props,
|
|
4398
|
-
children: [
|
|
4399
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4400
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4401
|
-
"path",
|
|
4402
|
-
{
|
|
4403
|
-
fill: "currentColor",
|
|
4404
|
-
fillRule: "evenodd",
|
|
4405
|
-
d: "M4.222 4.222a1.1 1.1 0 0 1 1.556 0l14 14a1.1 1.1 0 1 1-1.556 1.556l-14-14a1.1 1.1 0 0 1 0-1.556",
|
|
4406
|
-
clipRule: "evenodd"
|
|
4407
|
-
}
|
|
4408
|
-
),
|
|
4409
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4410
|
-
"path",
|
|
4411
|
-
{
|
|
4412
|
-
fill: "currentColor",
|
|
4413
|
-
fillRule: "evenodd",
|
|
4414
|
-
d: "M19.778 4.222a1.1 1.1 0 0 1 0 1.556l-14 14a1.1 1.1 0 1 1-1.556-1.556l14-14a1.1 1.1 0 0 1 1.556 0",
|
|
4415
|
-
clipRule: "evenodd"
|
|
4416
|
-
}
|
|
4417
|
-
)
|
|
4418
|
-
]
|
|
4263
|
+
onSubscribe() {
|
|
4419
4264
|
}
|
|
4420
|
-
)
|
|
4421
|
-
title,
|
|
4422
|
-
titleId,
|
|
4423
|
-
...props
|
|
4424
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4425
|
-
"svg",
|
|
4426
|
-
{
|
|
4427
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4428
|
-
width: "24",
|
|
4429
|
-
height: "24",
|
|
4430
|
-
fill: "none",
|
|
4431
|
-
viewBox: "0 0 24 24",
|
|
4432
|
-
"aria-hidden": "true",
|
|
4433
|
-
"aria-labelledby": titleId,
|
|
4434
|
-
...props,
|
|
4435
|
-
children: [
|
|
4436
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4437
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4438
|
-
"path",
|
|
4439
|
-
{
|
|
4440
|
-
fill: "currentColor",
|
|
4441
|
-
fillRule: "evenodd",
|
|
4442
|
-
d: "M6.676 3c.284-.672.853-1 1.263-1h11.423c.566 0 1.438.628 1.438 1.923v13.154c0 1.056-.58 1.668-1.1 1.858V6.923C19.7 4.99 18.3 3 16.061 3zm-2.272.007C4.765 1.41 6.056 0 7.939 0h11.423C21.599 0 23 1.99 23 3.923v13.154c0 1.865-1.303 3.782-3.403 3.916C19.235 22.59 17.944 24 16.06 24H4.638C2.401 24 1 22.01 1 20.077V6.923c0-1.865 1.303-3.782 3.404-3.916M3.2 6.923C3.2 5.628 4.072 5 4.638 5h11.423c.567 0 1.439.628 1.439 1.923v13.154c0 1.295-.872 1.923-1.439 1.923H4.638c-.566 0-1.438-.628-1.438-1.923z",
|
|
4443
|
-
clipRule: "evenodd"
|
|
4444
|
-
}
|
|
4445
|
-
)
|
|
4446
|
-
]
|
|
4265
|
+
onUnsubscribe() {
|
|
4447
4266
|
}
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
}
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
)
|
|
4474
|
-
|
|
4267
|
+
};
|
|
4268
|
+
var isServer = typeof window === "undefined" || "Deno" in window;
|
|
4269
|
+
function noop$2() {
|
|
4270
|
+
return void 0;
|
|
4271
|
+
}
|
|
4272
|
+
function functionalUpdate(updater, input) {
|
|
4273
|
+
return typeof updater === "function" ? updater(input) : updater;
|
|
4274
|
+
}
|
|
4275
|
+
function isValidTimeout(value) {
|
|
4276
|
+
return typeof value === "number" && value >= 0 && value !== Infinity;
|
|
4277
|
+
}
|
|
4278
|
+
function timeUntilStale(updatedAt, staleTime) {
|
|
4279
|
+
return Math.max(updatedAt + (staleTime || 0) - Date.now(), 0);
|
|
4280
|
+
}
|
|
4281
|
+
function matchQuery(filters2, query) {
|
|
4282
|
+
const {
|
|
4283
|
+
type: type2 = "all",
|
|
4284
|
+
exact,
|
|
4285
|
+
fetchStatus,
|
|
4286
|
+
predicate,
|
|
4287
|
+
queryKey,
|
|
4288
|
+
stale
|
|
4289
|
+
} = filters2;
|
|
4290
|
+
if (queryKey) {
|
|
4291
|
+
if (exact) {
|
|
4292
|
+
if (query.queryHash !== hashQueryKeyByOptions(queryKey, query.options)) {
|
|
4293
|
+
return false;
|
|
4294
|
+
}
|
|
4295
|
+
} else if (!partialMatchKey(query.queryKey, queryKey)) {
|
|
4296
|
+
return false;
|
|
4297
|
+
}
|
|
4475
4298
|
}
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
}
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
width: "24",
|
|
4485
|
-
height: "24",
|
|
4486
|
-
fill: "none",
|
|
4487
|
-
viewBox: "0 0 24 24",
|
|
4488
|
-
"aria-hidden": "true",
|
|
4489
|
-
"aria-labelledby": titleId,
|
|
4490
|
-
...props,
|
|
4491
|
-
children: [
|
|
4492
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4493
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4494
|
-
"path",
|
|
4495
|
-
{
|
|
4496
|
-
fill: "currentColor",
|
|
4497
|
-
fillRule: "evenodd",
|
|
4498
|
-
d: "M1.879 3.879A3 3 0 0 1 4 3h7a1 1 0 1 1 0 2H4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7a1 1 0 1 1 2 0v7a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6a3 3 0 0 1 .879-2.121",
|
|
4499
|
-
clipRule: "evenodd"
|
|
4500
|
-
}
|
|
4501
|
-
),
|
|
4502
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4503
|
-
"path",
|
|
4504
|
-
{
|
|
4505
|
-
fill: "currentColor",
|
|
4506
|
-
fillRule: "evenodd",
|
|
4507
|
-
d: "M20 2.879c-.297 0-.583.118-.793.328l-9.304 9.304-.529 2.115 2.115-.529 9.304-9.304A1.121 1.121 0 0 0 20 2.879m-2.207-1.086a3.121 3.121 0 0 1 4.414 4.414l-9.5 9.5a1 1 0 0 1-.464.263l-4 1a1 1 0 0 1-1.213-1.212l1-4a1 1 0 0 1 .263-.465z",
|
|
4508
|
-
clipRule: "evenodd"
|
|
4509
|
-
}
|
|
4510
|
-
)
|
|
4511
|
-
]
|
|
4299
|
+
if (type2 !== "all") {
|
|
4300
|
+
const isActive = query.isActive();
|
|
4301
|
+
if (type2 === "active" && !isActive) {
|
|
4302
|
+
return false;
|
|
4303
|
+
}
|
|
4304
|
+
if (type2 === "inactive" && isActive) {
|
|
4305
|
+
return false;
|
|
4306
|
+
}
|
|
4512
4307
|
}
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
titleId,
|
|
4516
|
-
...props
|
|
4517
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4518
|
-
"svg",
|
|
4519
|
-
{
|
|
4520
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4521
|
-
width: "24",
|
|
4522
|
-
height: "24",
|
|
4523
|
-
fill: "none",
|
|
4524
|
-
viewBox: "0 0 24 24",
|
|
4525
|
-
"aria-hidden": "true",
|
|
4526
|
-
"aria-labelledby": titleId,
|
|
4527
|
-
...props,
|
|
4528
|
-
children: [
|
|
4529
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4530
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4531
|
-
"path",
|
|
4532
|
-
{
|
|
4533
|
-
fill: "currentColor",
|
|
4534
|
-
fillRule: "evenodd",
|
|
4535
|
-
d: "M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0m9-11C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1M8.293 15.707a1 1 0 0 1 0-1.414L10.586 12 8.293 9.707a1 1 0 0 1 1.414-1.414L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414 0",
|
|
4536
|
-
clipRule: "evenodd"
|
|
4537
|
-
}
|
|
4538
|
-
)
|
|
4539
|
-
]
|
|
4308
|
+
if (typeof stale === "boolean" && query.isStale() !== stale) {
|
|
4309
|
+
return false;
|
|
4540
4310
|
}
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
titleId,
|
|
4544
|
-
...props
|
|
4545
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4546
|
-
"svg",
|
|
4547
|
-
{
|
|
4548
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4549
|
-
fill: "none",
|
|
4550
|
-
viewBox: "0 0 24 24",
|
|
4551
|
-
width: "24",
|
|
4552
|
-
height: "24",
|
|
4553
|
-
"aria-hidden": "true",
|
|
4554
|
-
"aria-labelledby": titleId,
|
|
4555
|
-
...props,
|
|
4556
|
-
children: [
|
|
4557
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4558
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4559
|
-
"path",
|
|
4560
|
-
{
|
|
4561
|
-
fill: "currentColor",
|
|
4562
|
-
fillRule: "evenodd",
|
|
4563
|
-
d: "M20.91 9.14v1.27H8.25a4.7 4.7 0 0 0-3.86 1.98L1.5 16.53V6.4a2.3 2.3 0 0 1 .77-1.69A2.68 2.68 0 0 1 4.11 4h3.73a2.68 2.68 0 0 1 1.84.71c.25.22.45.48.58.77s.2.6.2.92v.34h7.84c.7.01 1.35.27 1.84.71.49.45.76 1.06.77 1.7ZM8.25 11.92h14.47c.63 0 1 .68.64 1.18l-3.52 5.04a3.13 3.13 0 0 1-2.57 1.32H2.79c-.62 0-.99-.68-.64-1.18l3.53-5.04a3.13 3.13 0 0 1 2.57-1.32",
|
|
4564
|
-
clipRule: "evenodd"
|
|
4565
|
-
}
|
|
4566
|
-
)
|
|
4567
|
-
]
|
|
4311
|
+
if (typeof fetchStatus !== "undefined" && fetchStatus !== query.state.fetchStatus) {
|
|
4312
|
+
return false;
|
|
4568
4313
|
}
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
titleId,
|
|
4572
|
-
...props
|
|
4573
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4574
|
-
"svg",
|
|
4575
|
-
{
|
|
4576
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4577
|
-
width: "24",
|
|
4578
|
-
height: "24",
|
|
4579
|
-
fill: "none",
|
|
4580
|
-
viewBox: "0 0 24 24",
|
|
4581
|
-
"aria-hidden": "true",
|
|
4582
|
-
"aria-labelledby": titleId,
|
|
4583
|
-
...props,
|
|
4584
|
-
children: [
|
|
4585
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4586
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4587
|
-
"path",
|
|
4588
|
-
{
|
|
4589
|
-
fill: "currentColor",
|
|
4590
|
-
fillRule: "evenodd",
|
|
4591
|
-
d: "M1.093 2.58A1 1 0 0 1 2 2h20a1 1 0 0 1 .764 1.646L15 12.826V21a1 1 0 0 1-1.447.894l-4-2A1 1 0 0 1 9 19v-6.174l-7.764-9.18a1 1 0 0 1-.143-1.067M4.155 4l6.609 7.814a1 1 0 0 1 .236.646v5.922l2 1V12.46a1 1 0 0 1 .236-.646L19.845 4z",
|
|
4592
|
-
clipRule: "evenodd"
|
|
4593
|
-
}
|
|
4594
|
-
)
|
|
4595
|
-
]
|
|
4314
|
+
if (predicate && !predicate(query)) {
|
|
4315
|
+
return false;
|
|
4596
4316
|
}
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
children: [
|
|
4613
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4614
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4615
|
-
"path",
|
|
4616
|
-
{
|
|
4617
|
-
fill: "currentColor",
|
|
4618
|
-
fillRule: "evenodd",
|
|
4619
|
-
d: "M3.057 5.5A.057.057 0 0 0 3 5.557v13.03h18V7.875h-8.697a1 1 0 0 1-1-1c0-.759-.615-1.374-1.374-1.374zM1 5.557C1 4.42 1.92 3.5 3.057 3.5h6.872c1.515 0 2.797.999 3.223 2.374H21a2 2 0 0 1 2 2v10.714a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2z",
|
|
4620
|
-
clipRule: "evenodd"
|
|
4621
|
-
}
|
|
4622
|
-
)
|
|
4623
|
-
]
|
|
4317
|
+
return true;
|
|
4318
|
+
}
|
|
4319
|
+
function matchMutation(filters2, mutation) {
|
|
4320
|
+
const { exact, status, predicate, mutationKey } = filters2;
|
|
4321
|
+
if (mutationKey) {
|
|
4322
|
+
if (!mutation.options.mutationKey) {
|
|
4323
|
+
return false;
|
|
4324
|
+
}
|
|
4325
|
+
if (exact) {
|
|
4326
|
+
if (hashKey(mutation.options.mutationKey) !== hashKey(mutationKey)) {
|
|
4327
|
+
return false;
|
|
4328
|
+
}
|
|
4329
|
+
} else if (!partialMatchKey(mutation.options.mutationKey, mutationKey)) {
|
|
4330
|
+
return false;
|
|
4331
|
+
}
|
|
4624
4332
|
}
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
titleId,
|
|
4628
|
-
...props
|
|
4629
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4630
|
-
"svg",
|
|
4631
|
-
{
|
|
4632
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4633
|
-
width: "24",
|
|
4634
|
-
height: "24",
|
|
4635
|
-
fill: "none",
|
|
4636
|
-
viewBox: "0 0 24 24",
|
|
4637
|
-
"aria-hidden": "true",
|
|
4638
|
-
"aria-labelledby": titleId,
|
|
4639
|
-
...props,
|
|
4640
|
-
children: [
|
|
4641
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4642
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4643
|
-
"path",
|
|
4644
|
-
{
|
|
4645
|
-
fill: "currentColor",
|
|
4646
|
-
fillRule: "evenodd",
|
|
4647
|
-
d: "M9.726 3.29A9.01 9.01 0 0 0 3.055 11H7.05a16.3 16.3 0 0 1 2.676-7.71m4.548 0A16.3 16.3 0 0 1 16.95 11h3.995a9.01 9.01 0 0 0-6.67-7.71m.668 7.71A14.3 14.3 0 0 0 12 3.55 14.3 14.3 0 0 0 9.058 11zm-5.884 2h5.884A14.3 14.3 0 0 1 12 20.45 14.3 14.3 0 0 1 9.058 13M7.05 13H3.055a9.01 9.01 0 0 0 6.67 7.71A16.3 16.3 0 0 1 7.05 13m7.224 7.71A16.3 16.3 0 0 0 16.95 13h3.995a9.01 9.01 0 0 1-6.67 7.71M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11",
|
|
4648
|
-
clipRule: "evenodd"
|
|
4649
|
-
}
|
|
4650
|
-
)
|
|
4651
|
-
]
|
|
4333
|
+
if (status && mutation.state.status !== status) {
|
|
4334
|
+
return false;
|
|
4652
4335
|
}
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
titleId,
|
|
4656
|
-
...props
|
|
4657
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4658
|
-
"svg",
|
|
4659
|
-
{
|
|
4660
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4661
|
-
width: "24",
|
|
4662
|
-
height: "24",
|
|
4663
|
-
fill: "none",
|
|
4664
|
-
viewBox: "0 0 24 24",
|
|
4665
|
-
"aria-hidden": "true",
|
|
4666
|
-
"aria-labelledby": titleId,
|
|
4667
|
-
...props,
|
|
4668
|
-
children: [
|
|
4669
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4670
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4671
|
-
"path",
|
|
4672
|
-
{
|
|
4673
|
-
fill: "currentColor",
|
|
4674
|
-
fillRule: "evenodd",
|
|
4675
|
-
d: "M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",
|
|
4676
|
-
clipRule: "evenodd"
|
|
4677
|
-
}
|
|
4678
|
-
),
|
|
4679
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4680
|
-
"path",
|
|
4681
|
-
{
|
|
4682
|
-
fill: "currentColor",
|
|
4683
|
-
fillRule: "evenodd",
|
|
4684
|
-
d: "M12.01 17a1 1 0 0 1-1-1v-5a1 1 0 1 1 2 0v5a1 1 0 0 1-1 1M13.01 7.5a1 1 0 0 1-1 1H12a1 1 0 1 1 0-2h.01a1 1 0 0 1 1 1",
|
|
4685
|
-
clipRule: "evenodd"
|
|
4686
|
-
}
|
|
4687
|
-
)
|
|
4688
|
-
]
|
|
4689
|
-
}
|
|
4690
|
-
), SvgInfoCircle$1 = SvgInfoCircle, SvgLoader = ({
|
|
4691
|
-
title,
|
|
4692
|
-
titleId,
|
|
4693
|
-
...props
|
|
4694
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4695
|
-
"svg",
|
|
4696
|
-
{
|
|
4697
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4698
|
-
width: "24",
|
|
4699
|
-
height: "24",
|
|
4700
|
-
fill: "none",
|
|
4701
|
-
viewBox: "0 0 24 24",
|
|
4702
|
-
"aria-hidden": "true",
|
|
4703
|
-
"aria-labelledby": titleId,
|
|
4704
|
-
...props,
|
|
4705
|
-
children: [
|
|
4706
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4707
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4708
|
-
"path",
|
|
4709
|
-
{
|
|
4710
|
-
fill: "currentColor",
|
|
4711
|
-
fillRule: "evenodd",
|
|
4712
|
-
d: "M16.672 5.558a7.96 7.96 0 0 0-9.841.397 7.95 7.95 0 0 0-1.908 9.66 7.964 7.964 0 0 0 8.949 4.12A7.95 7.95 0 0 0 19.962 12a1.021 1.021 0 1 1 2.045 0A9.994 9.994 0 0 1 7.83 21.083a10.01 10.01 0 0 1-5.634-11.027 9.99 9.99 0 0 1 9.402-8.048c2.244-.09 4.453.577 6.272 1.895a1.022 1.022 0 1 1-1.198 1.655",
|
|
4713
|
-
clipRule: "evenodd"
|
|
4714
|
-
}
|
|
4715
|
-
)
|
|
4716
|
-
]
|
|
4717
|
-
}
|
|
4718
|
-
), SvgLoader$1 = SvgLoader, SvgOptions = ({
|
|
4719
|
-
title,
|
|
4720
|
-
titleId,
|
|
4721
|
-
...props
|
|
4722
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4723
|
-
"svg",
|
|
4724
|
-
{
|
|
4725
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4726
|
-
width: "24",
|
|
4727
|
-
height: "24",
|
|
4728
|
-
fill: "none",
|
|
4729
|
-
viewBox: "0 0 24 24",
|
|
4730
|
-
"aria-hidden": "true",
|
|
4731
|
-
"aria-labelledby": titleId,
|
|
4732
|
-
...props,
|
|
4733
|
-
children: [
|
|
4734
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4735
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: 12, cy: 4, r: 2.5, fill: "currentColor" }),
|
|
4736
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: 12, cy: 12, r: 2.5, fill: "currentColor" }),
|
|
4737
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: 12, cy: 20, r: 2.5, fill: "currentColor" })
|
|
4738
|
-
]
|
|
4739
|
-
}
|
|
4740
|
-
), SvgOptions$1 = SvgOptions, SvgPlus = ({
|
|
4741
|
-
title,
|
|
4742
|
-
titleId,
|
|
4743
|
-
...props
|
|
4744
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4745
|
-
"svg",
|
|
4746
|
-
{
|
|
4747
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4748
|
-
width: "24",
|
|
4749
|
-
height: "24",
|
|
4750
|
-
fill: "none",
|
|
4751
|
-
viewBox: "0 0 24 24",
|
|
4752
|
-
"aria-hidden": "true",
|
|
4753
|
-
"aria-labelledby": titleId,
|
|
4754
|
-
...props,
|
|
4755
|
-
children: [
|
|
4756
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4757
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4758
|
-
"path",
|
|
4759
|
-
{
|
|
4760
|
-
fill: "currentColor",
|
|
4761
|
-
fillRule: "evenodd",
|
|
4762
|
-
d: "M13 4a1 1 0 1 0-2 0v7H4a1 1 0 1 0 0 2h7v7a1 1 0 1 0 2 0v-7h7a1 1 0 1 0 0-2h-7z",
|
|
4763
|
-
clipRule: "evenodd"
|
|
4764
|
-
}
|
|
4765
|
-
)
|
|
4766
|
-
]
|
|
4767
|
-
}
|
|
4768
|
-
), SvgPlus$1 = SvgPlus, SvgRafterDown = ({
|
|
4769
|
-
title,
|
|
4770
|
-
titleId,
|
|
4771
|
-
...props
|
|
4772
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4773
|
-
"svg",
|
|
4774
|
-
{
|
|
4775
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4776
|
-
width: "24",
|
|
4777
|
-
height: "24",
|
|
4778
|
-
fill: "none",
|
|
4779
|
-
viewBox: "0 0 24 24",
|
|
4780
|
-
"aria-hidden": "true",
|
|
4781
|
-
"aria-labelledby": titleId,
|
|
4782
|
-
...props,
|
|
4783
|
-
children: [
|
|
4784
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4785
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4786
|
-
"path",
|
|
4787
|
-
{
|
|
4788
|
-
fill: "currentColor",
|
|
4789
|
-
fillRule: "evenodd",
|
|
4790
|
-
d: "M4.012 7.871a1.5 1.5 0 0 1 2.117.141L12 14.722l5.871-6.71a1.5 1.5 0 1 1 2.258 1.976l-7 8a1.5 1.5 0 0 1-2.258 0l-7-8a1.5 1.5 0 0 1 .141-2.117",
|
|
4791
|
-
clipRule: "evenodd"
|
|
4792
|
-
}
|
|
4793
|
-
)
|
|
4794
|
-
]
|
|
4795
|
-
}
|
|
4796
|
-
), SvgRafterDown$1 = SvgRafterDown, SvgRafterRight = ({
|
|
4797
|
-
title,
|
|
4798
|
-
titleId,
|
|
4799
|
-
...props
|
|
4800
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4801
|
-
"svg",
|
|
4802
|
-
{
|
|
4803
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4804
|
-
width: "24",
|
|
4805
|
-
height: "24",
|
|
4806
|
-
fill: "none",
|
|
4807
|
-
viewBox: "0 0 24 24",
|
|
4808
|
-
"aria-hidden": "true",
|
|
4809
|
-
"aria-labelledby": titleId,
|
|
4810
|
-
...props,
|
|
4811
|
-
children: [
|
|
4812
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4813
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4814
|
-
"path",
|
|
4815
|
-
{
|
|
4816
|
-
fill: "currentColor",
|
|
4817
|
-
fillRule: "evenodd",
|
|
4818
|
-
d: "M7.871 19.988a1.5 1.5 0 0 1 .141-2.117L14.722 12l-6.71-5.871A1.5 1.5 0 0 1 9.988 3.87l8 7a1.5 1.5 0 0 1 0 2.258l-8 7a1.5 1.5 0 0 1-2.117-.141",
|
|
4819
|
-
clipRule: "evenodd"
|
|
4820
|
-
}
|
|
4821
|
-
)
|
|
4822
|
-
]
|
|
4823
|
-
}
|
|
4824
|
-
), SvgRafterRight$1 = SvgRafterRight, SvgRafterUp = ({
|
|
4825
|
-
title,
|
|
4826
|
-
titleId,
|
|
4827
|
-
...props
|
|
4828
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4829
|
-
"svg",
|
|
4830
|
-
{
|
|
4831
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4832
|
-
width: "24",
|
|
4833
|
-
height: "24",
|
|
4834
|
-
fill: "none",
|
|
4835
|
-
viewBox: "0 0 24 24",
|
|
4836
|
-
"aria-hidden": "true",
|
|
4837
|
-
"aria-labelledby": titleId,
|
|
4838
|
-
...props,
|
|
4839
|
-
children: [
|
|
4840
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4841
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4842
|
-
"path",
|
|
4843
|
-
{
|
|
4844
|
-
fill: "currentColor",
|
|
4845
|
-
fillRule: "evenodd",
|
|
4846
|
-
d: "M19.988 17.129a1.5 1.5 0 0 1-2.117-.141L12 10.278l-5.871 6.71a1.5 1.5 0 0 1-2.258-1.976l7-8a1.5 1.5 0 0 1 2.258 0l7 8a1.5 1.5 0 0 1-.141 2.117",
|
|
4847
|
-
clipRule: "evenodd"
|
|
4848
|
-
}
|
|
4849
|
-
)
|
|
4850
|
-
]
|
|
4851
|
-
}
|
|
4852
|
-
), SvgRafterUp$1 = SvgRafterUp, SvgSave = ({
|
|
4853
|
-
title,
|
|
4854
|
-
titleId,
|
|
4855
|
-
...props
|
|
4856
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4857
|
-
"svg",
|
|
4858
|
-
{
|
|
4859
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4860
|
-
width: "24",
|
|
4861
|
-
height: "24",
|
|
4862
|
-
fill: "none",
|
|
4863
|
-
viewBox: "0 0 24 24",
|
|
4864
|
-
"aria-hidden": "true",
|
|
4865
|
-
"aria-labelledby": titleId,
|
|
4866
|
-
...props,
|
|
4867
|
-
children: [
|
|
4868
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4869
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4870
|
-
"path",
|
|
4871
|
-
{
|
|
4872
|
-
fill: "currentColor",
|
|
4873
|
-
fillRule: "evenodd",
|
|
4874
|
-
d: "M5 4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h1v-7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7h1a1 1 0 0 0 1-1V8.414L15.586 4H8v3h7a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1V4zm2-2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V8a1 1 0 0 0-.293-.707l-5-5A1 1 0 0 0 16 2zm1 12v6h8v-6z",
|
|
4875
|
-
clipRule: "evenodd"
|
|
4876
|
-
}
|
|
4877
|
-
)
|
|
4878
|
-
]
|
|
4879
|
-
}
|
|
4880
|
-
), SvgSave$1 = SvgSave, SvgSearch$2 = ({
|
|
4881
|
-
title,
|
|
4882
|
-
titleId,
|
|
4883
|
-
...props
|
|
4884
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4885
|
-
"svg",
|
|
4886
|
-
{
|
|
4887
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4888
|
-
fill: "none",
|
|
4889
|
-
viewBox: "0 0 24 24",
|
|
4890
|
-
width: "24",
|
|
4891
|
-
height: "24",
|
|
4892
|
-
"aria-hidden": "true",
|
|
4893
|
-
"aria-labelledby": titleId,
|
|
4894
|
-
...props,
|
|
4895
|
-
children: [
|
|
4896
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4897
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4898
|
-
"path",
|
|
4899
|
-
{
|
|
4900
|
-
fill: "currentColor",
|
|
4901
|
-
fillRule: "evenodd",
|
|
4902
|
-
d: "M4 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0m7-9a9 9 0 1 0 5.7 15.96 1 1 0 0 0 .24.4l4.35 4.35a1 1 0 0 0 1.42-1.42l-4.35-4.35a1 1 0 0 0-.4-.24A9 9 0 0 0 11 1",
|
|
4903
|
-
clipRule: "evenodd"
|
|
4904
|
-
}
|
|
4905
|
-
)
|
|
4906
|
-
]
|
|
4907
|
-
}
|
|
4908
|
-
), SvgSearch$1$1 = SvgSearch$2, SvgSuccessOutline = ({
|
|
4909
|
-
title,
|
|
4910
|
-
titleId,
|
|
4911
|
-
...props
|
|
4912
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4913
|
-
"svg",
|
|
4914
|
-
{
|
|
4915
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4916
|
-
width: "24",
|
|
4917
|
-
height: "24",
|
|
4918
|
-
fill: "none",
|
|
4919
|
-
viewBox: "0 0 24 24",
|
|
4920
|
-
"aria-hidden": "true",
|
|
4921
|
-
"aria-labelledby": titleId,
|
|
4922
|
-
...props,
|
|
4923
|
-
children: [
|
|
4924
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4925
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4926
|
-
"path",
|
|
4927
|
-
{
|
|
4928
|
-
fill: "currentColor",
|
|
4929
|
-
fillRule: "evenodd",
|
|
4930
|
-
d: "M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",
|
|
4931
|
-
clipRule: "evenodd"
|
|
4932
|
-
}
|
|
4933
|
-
),
|
|
4934
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4935
|
-
"path",
|
|
4936
|
-
{
|
|
4937
|
-
fill: "currentColor",
|
|
4938
|
-
fillRule: "evenodd",
|
|
4939
|
-
d: "M16.59 8.192a1 1 0 0 1 .218 1.397l-4.375 6a1 1 0 0 1-1.584.042L8.224 12.4a1 1 0 0 1 1.552-1.261l1.806 2.223 3.61-4.951a1 1 0 0 1 1.397-.219",
|
|
4940
|
-
clipRule: "evenodd"
|
|
4941
|
-
}
|
|
4942
|
-
)
|
|
4943
|
-
]
|
|
4944
|
-
}
|
|
4945
|
-
), SvgSuccessOutline$1 = SvgSuccessOutline, SvgUsers = ({
|
|
4946
|
-
title,
|
|
4947
|
-
titleId,
|
|
4948
|
-
...props
|
|
4949
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4950
|
-
"svg",
|
|
4951
|
-
{
|
|
4952
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4953
|
-
width: "24",
|
|
4954
|
-
height: "24",
|
|
4955
|
-
fill: "none",
|
|
4956
|
-
viewBox: "0 0 24 24",
|
|
4957
|
-
"aria-hidden": "true",
|
|
4958
|
-
"aria-labelledby": titleId,
|
|
4959
|
-
...props,
|
|
4960
|
-
children: [
|
|
4961
|
-
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
4962
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4963
|
-
"g",
|
|
4964
|
-
{
|
|
4965
|
-
fill: "currentColor",
|
|
4966
|
-
fillRule: "evenodd",
|
|
4967
|
-
clipPath: "url(#users_svg__a)",
|
|
4968
|
-
clipRule: "evenodd",
|
|
4969
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M19.055 12.803a1 1 0 0 1 1.272-.618c1.128.39 2.061 1.247 2.7 2.351.64 1.106.972 2.435.973 3.782V21a1 1 0 1 1-2 0v-2.681c0-1.03-.258-2.009-.704-2.782-.448-.773-1.034-1.258-1.623-1.462a1 1 0 0 1-.618-1.272M15.187 1.384a1 1 0 0 1 1.036-.962 5.129 5.129 0 0 1 2.11 9.71 1 1 0 1 1-.896-1.788 3.129 3.129 0 0 0-1.288-5.924 1 1 0 0 1-.962-1.036M1.505 15.694C2.481 14.622 3.825 14 5.25 14h8.5c1.424 0 2.769.622 3.744 1.694.974 1.068 1.506 2.498 1.506 3.973V22a1 1 0 1 1-2 0v-2.333c0-1.001-.363-1.945-.984-2.627-.618-.679-1.436-1.04-2.266-1.04h-8.5c-.83 0-1.648.361-2.266 1.04-.621.682-.984 1.626-.984 2.627V22a1 1 0 1 1-2 0v-2.333c0-1.475.533-2.905 1.505-3.974M9.5 3a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M4 6.5a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0" })
|
|
4970
|
-
}
|
|
4971
|
-
),
|
|
4972
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("defs", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("clipPath", { id: "users_svg__a", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
4973
|
-
]
|
|
4974
|
-
}
|
|
4975
|
-
), SvgUsers$1 = SvgUsers;
|
|
4976
|
-
function r$3(e2) {
|
|
4977
|
-
var t2, f2, n2 = "";
|
|
4978
|
-
if ("string" == typeof e2 || "number" == typeof e2)
|
|
4979
|
-
n2 += e2;
|
|
4980
|
-
else if ("object" == typeof e2)
|
|
4981
|
-
if (Array.isArray(e2)) {
|
|
4982
|
-
var o2 = e2.length;
|
|
4983
|
-
for (t2 = 0; t2 < o2; t2++)
|
|
4984
|
-
e2[t2] && (f2 = r$3(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
|
|
4985
|
-
} else
|
|
4986
|
-
for (f2 in e2)
|
|
4987
|
-
e2[f2] && (n2 && (n2 += " "), n2 += f2);
|
|
4988
|
-
return n2;
|
|
4989
|
-
}
|
|
4990
|
-
function clsx() {
|
|
4991
|
-
for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++)
|
|
4992
|
-
(e2 = arguments[f2]) && (t2 = r$3(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
4993
|
-
return n2;
|
|
4994
|
-
}
|
|
4995
|
-
var Subscribable = class {
|
|
4996
|
-
constructor() {
|
|
4997
|
-
this.listeners = /* @__PURE__ */ new Set();
|
|
4998
|
-
this.subscribe = this.subscribe.bind(this);
|
|
4999
|
-
}
|
|
5000
|
-
subscribe(listener) {
|
|
5001
|
-
this.listeners.add(listener);
|
|
5002
|
-
this.onSubscribe();
|
|
5003
|
-
return () => {
|
|
5004
|
-
this.listeners.delete(listener);
|
|
5005
|
-
this.onUnsubscribe();
|
|
5006
|
-
};
|
|
5007
|
-
}
|
|
5008
|
-
hasListeners() {
|
|
5009
|
-
return this.listeners.size > 0;
|
|
5010
|
-
}
|
|
5011
|
-
onSubscribe() {
|
|
5012
|
-
}
|
|
5013
|
-
onUnsubscribe() {
|
|
5014
|
-
}
|
|
5015
|
-
};
|
|
5016
|
-
var isServer = typeof window === "undefined" || "Deno" in window;
|
|
5017
|
-
function noop$2() {
|
|
5018
|
-
return void 0;
|
|
5019
|
-
}
|
|
5020
|
-
function functionalUpdate(updater, input) {
|
|
5021
|
-
return typeof updater === "function" ? updater(input) : updater;
|
|
5022
|
-
}
|
|
5023
|
-
function isValidTimeout(value) {
|
|
5024
|
-
return typeof value === "number" && value >= 0 && value !== Infinity;
|
|
5025
|
-
}
|
|
5026
|
-
function timeUntilStale(updatedAt, staleTime) {
|
|
5027
|
-
return Math.max(updatedAt + (staleTime || 0) - Date.now(), 0);
|
|
5028
|
-
}
|
|
5029
|
-
function matchQuery(filters2, query) {
|
|
5030
|
-
const {
|
|
5031
|
-
type: type2 = "all",
|
|
5032
|
-
exact,
|
|
5033
|
-
fetchStatus,
|
|
5034
|
-
predicate,
|
|
5035
|
-
queryKey,
|
|
5036
|
-
stale
|
|
5037
|
-
} = filters2;
|
|
5038
|
-
if (queryKey) {
|
|
5039
|
-
if (exact) {
|
|
5040
|
-
if (query.queryHash !== hashQueryKeyByOptions(queryKey, query.options)) {
|
|
5041
|
-
return false;
|
|
5042
|
-
}
|
|
5043
|
-
} else if (!partialMatchKey(query.queryKey, queryKey)) {
|
|
5044
|
-
return false;
|
|
5045
|
-
}
|
|
5046
|
-
}
|
|
5047
|
-
if (type2 !== "all") {
|
|
5048
|
-
const isActive = query.isActive();
|
|
5049
|
-
if (type2 === "active" && !isActive) {
|
|
5050
|
-
return false;
|
|
5051
|
-
}
|
|
5052
|
-
if (type2 === "inactive" && isActive) {
|
|
5053
|
-
return false;
|
|
5054
|
-
}
|
|
5055
|
-
}
|
|
5056
|
-
if (typeof stale === "boolean" && query.isStale() !== stale) {
|
|
5057
|
-
return false;
|
|
5058
|
-
}
|
|
5059
|
-
if (typeof fetchStatus !== "undefined" && fetchStatus !== query.state.fetchStatus) {
|
|
5060
|
-
return false;
|
|
5061
|
-
}
|
|
5062
|
-
if (predicate && !predicate(query)) {
|
|
5063
|
-
return false;
|
|
5064
|
-
}
|
|
5065
|
-
return true;
|
|
5066
|
-
}
|
|
5067
|
-
function matchMutation(filters2, mutation) {
|
|
5068
|
-
const { exact, status, predicate, mutationKey } = filters2;
|
|
5069
|
-
if (mutationKey) {
|
|
5070
|
-
if (!mutation.options.mutationKey) {
|
|
5071
|
-
return false;
|
|
5072
|
-
}
|
|
5073
|
-
if (exact) {
|
|
5074
|
-
if (hashKey(mutation.options.mutationKey) !== hashKey(mutationKey)) {
|
|
5075
|
-
return false;
|
|
5076
|
-
}
|
|
5077
|
-
} else if (!partialMatchKey(mutation.options.mutationKey, mutationKey)) {
|
|
5078
|
-
return false;
|
|
5079
|
-
}
|
|
5080
|
-
}
|
|
5081
|
-
if (status && mutation.state.status !== status) {
|
|
5082
|
-
return false;
|
|
5083
|
-
}
|
|
5084
|
-
if (predicate && !predicate(mutation)) {
|
|
5085
|
-
return false;
|
|
4336
|
+
if (predicate && !predicate(mutation)) {
|
|
4337
|
+
return false;
|
|
5086
4338
|
}
|
|
5087
4339
|
return true;
|
|
5088
4340
|
}
|
|
@@ -9422,168 +8674,916 @@ to {
|
|
|
9422
8674
|
height: 2px;
|
|
9423
8675
|
width: 12px;
|
|
9424
8676
|
}
|
|
9425
|
-
|
|
9426
|
-
&:before {
|
|
9427
|
-
animation: ${se$1} 0.15s ease-out forwards;
|
|
9428
|
-
animation-delay: 180ms;
|
|
9429
|
-
transform: rotate(90deg);
|
|
8677
|
+
|
|
8678
|
+
&:before {
|
|
8679
|
+
animation: ${se$1} 0.15s ease-out forwards;
|
|
8680
|
+
animation-delay: 180ms;
|
|
8681
|
+
transform: rotate(90deg);
|
|
8682
|
+
}
|
|
8683
|
+
`;
|
|
8684
|
+
var ne$1 = h$4`
|
|
8685
|
+
from {
|
|
8686
|
+
transform: rotate(0deg);
|
|
8687
|
+
}
|
|
8688
|
+
to {
|
|
8689
|
+
transform: rotate(360deg);
|
|
8690
|
+
}
|
|
8691
|
+
`, V$1 = j$1("div")`
|
|
8692
|
+
width: 12px;
|
|
8693
|
+
height: 12px;
|
|
8694
|
+
box-sizing: border-box;
|
|
8695
|
+
border: 2px solid;
|
|
8696
|
+
border-radius: 100%;
|
|
8697
|
+
border-color: ${(e2) => e2.secondary || "#e0e0e0"};
|
|
8698
|
+
border-right-color: ${(e2) => e2.primary || "#616161"};
|
|
8699
|
+
animation: ${ne$1} 1s linear infinite;
|
|
8700
|
+
`;
|
|
8701
|
+
var pe$1 = h$4`
|
|
8702
|
+
from {
|
|
8703
|
+
transform: scale(0) rotate(45deg);
|
|
8704
|
+
opacity: 0;
|
|
8705
|
+
}
|
|
8706
|
+
to {
|
|
8707
|
+
transform: scale(1) rotate(45deg);
|
|
8708
|
+
opacity: 1;
|
|
8709
|
+
}`, de$1 = h$4`
|
|
8710
|
+
0% {
|
|
8711
|
+
height: 0;
|
|
8712
|
+
width: 0;
|
|
8713
|
+
opacity: 0;
|
|
8714
|
+
}
|
|
8715
|
+
40% {
|
|
8716
|
+
height: 0;
|
|
8717
|
+
width: 6px;
|
|
8718
|
+
opacity: 1;
|
|
8719
|
+
}
|
|
8720
|
+
100% {
|
|
8721
|
+
opacity: 1;
|
|
8722
|
+
height: 10px;
|
|
8723
|
+
}`, w$2 = j$1("div")`
|
|
8724
|
+
width: 20px;
|
|
8725
|
+
opacity: 0;
|
|
8726
|
+
height: 20px;
|
|
8727
|
+
border-radius: 10px;
|
|
8728
|
+
background: ${(e2) => e2.primary || "#61d345"};
|
|
8729
|
+
position: relative;
|
|
8730
|
+
transform: rotate(45deg);
|
|
8731
|
+
|
|
8732
|
+
animation: ${pe$1} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
8733
|
+
forwards;
|
|
8734
|
+
animation-delay: 100ms;
|
|
8735
|
+
&:after {
|
|
8736
|
+
content: '';
|
|
8737
|
+
box-sizing: border-box;
|
|
8738
|
+
animation: ${de$1} 0.2s ease-out forwards;
|
|
8739
|
+
opacity: 0;
|
|
8740
|
+
animation-delay: 200ms;
|
|
8741
|
+
position: absolute;
|
|
8742
|
+
border-right: 2px solid;
|
|
8743
|
+
border-bottom: 2px solid;
|
|
8744
|
+
border-color: ${(e2) => e2.secondary || "#fff"};
|
|
8745
|
+
bottom: 6px;
|
|
8746
|
+
left: 6px;
|
|
8747
|
+
height: 10px;
|
|
8748
|
+
width: 6px;
|
|
8749
|
+
}
|
|
8750
|
+
`;
|
|
8751
|
+
var ue$1 = j$1("div")`
|
|
8752
|
+
position: absolute;
|
|
8753
|
+
`, le$1 = j$1("div")`
|
|
8754
|
+
position: relative;
|
|
8755
|
+
display: flex;
|
|
8756
|
+
justify-content: center;
|
|
8757
|
+
align-items: center;
|
|
8758
|
+
min-width: 20px;
|
|
8759
|
+
min-height: 20px;
|
|
8760
|
+
`, Te$1 = h$4`
|
|
8761
|
+
from {
|
|
8762
|
+
transform: scale(0.6);
|
|
8763
|
+
opacity: 0.4;
|
|
8764
|
+
}
|
|
8765
|
+
to {
|
|
8766
|
+
transform: scale(1);
|
|
8767
|
+
opacity: 1;
|
|
8768
|
+
}`, fe$1 = j$1("div")`
|
|
8769
|
+
position: relative;
|
|
8770
|
+
transform: scale(0.6);
|
|
8771
|
+
opacity: 0.4;
|
|
8772
|
+
min-width: 20px;
|
|
8773
|
+
animation: ${Te$1} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
8774
|
+
forwards;
|
|
8775
|
+
`, M$2 = ({ toast: e2 }) => {
|
|
8776
|
+
let { icon: t2, type: o2, iconTheme: s2 } = e2;
|
|
8777
|
+
return t2 !== void 0 ? typeof t2 == "string" ? reactExports.createElement(fe$1, null, t2) : t2 : o2 === "blank" ? null : reactExports.createElement(le$1, null, reactExports.createElement(V$1, { ...s2 }), o2 !== "loading" && reactExports.createElement(ue$1, null, o2 === "error" ? reactExports.createElement(_, { ...s2 }) : reactExports.createElement(w$2, { ...s2 })));
|
|
8778
|
+
};
|
|
8779
|
+
var ye$1 = (e2) => `
|
|
8780
|
+
0% {transform: translate3d(0,${e2 * -200}%,0) scale(.6); opacity:.5;}
|
|
8781
|
+
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
|
8782
|
+
`, ge$1 = (e2) => `
|
|
8783
|
+
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
|
8784
|
+
100% {transform: translate3d(0,${e2 * -150}%,-1px) scale(.6); opacity:0;}
|
|
8785
|
+
`, he$1 = "0%{opacity:0;} 100%{opacity:1;}", xe$1 = "0%{opacity:1;} 100%{opacity:0;}", be$1 = j$1("div")`
|
|
8786
|
+
display: flex;
|
|
8787
|
+
align-items: center;
|
|
8788
|
+
background: #fff;
|
|
8789
|
+
color: #363636;
|
|
8790
|
+
line-height: 1.3;
|
|
8791
|
+
will-change: transform;
|
|
8792
|
+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
|
|
8793
|
+
max-width: 350px;
|
|
8794
|
+
pointer-events: auto;
|
|
8795
|
+
padding: 8px 10px;
|
|
8796
|
+
border-radius: 8px;
|
|
8797
|
+
`, Se$1 = j$1("div")`
|
|
8798
|
+
display: flex;
|
|
8799
|
+
justify-content: center;
|
|
8800
|
+
margin: 4px 10px;
|
|
8801
|
+
color: inherit;
|
|
8802
|
+
flex: 1 1 auto;
|
|
8803
|
+
white-space: pre-line;
|
|
8804
|
+
`, Ae$1 = (e2, t2) => {
|
|
8805
|
+
let s2 = e2.includes("top") ? 1 : -1, [a2, r2] = b$1() ? [he$1, xe$1] : [ye$1(s2), ge$1(s2)];
|
|
8806
|
+
return { animation: t2 ? `${h$4(a2)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards` : `${h$4(r2)} 0.4s forwards cubic-bezier(.06,.71,.55,1)` };
|
|
8807
|
+
}, F = reactExports.memo(({ toast: e2, position: t2, style: o2, children: s2 }) => {
|
|
8808
|
+
let a2 = e2.height ? Ae$1(e2.position || t2 || "top-center", e2.visible) : { opacity: 0 }, r2 = reactExports.createElement(M$2, { toast: e2 }), c6 = reactExports.createElement(Se$1, { ...e2.ariaProps }, T$1(e2.message, e2));
|
|
8809
|
+
return reactExports.createElement(be$1, { className: e2.className, style: { ...a2, ...o2, ...e2.style } }, typeof s2 == "function" ? s2({ icon: r2, message: c6 }) : reactExports.createElement(reactExports.Fragment, null, r2, c6));
|
|
8810
|
+
});
|
|
8811
|
+
m$3(reactExports.createElement);
|
|
8812
|
+
var Ee$1 = ({ id: e2, className: t2, style: o2, onHeightUpdate: s2, children: a2 }) => {
|
|
8813
|
+
let r2 = reactExports.useCallback((c6) => {
|
|
8814
|
+
if (c6) {
|
|
8815
|
+
let i2 = () => {
|
|
8816
|
+
let d2 = c6.getBoundingClientRect().height;
|
|
8817
|
+
s2(e2, d2);
|
|
8818
|
+
};
|
|
8819
|
+
i2(), new MutationObserver(i2).observe(c6, { subtree: true, childList: true, characterData: true });
|
|
8820
|
+
}
|
|
8821
|
+
}, [e2, s2]);
|
|
8822
|
+
return reactExports.createElement("div", { ref: r2, className: t2, style: o2 }, a2);
|
|
8823
|
+
}, Re$1 = (e2, t2) => {
|
|
8824
|
+
let o2 = e2.includes("top"), s2 = o2 ? { top: 0 } : { bottom: 0 }, a2 = e2.includes("center") ? { justifyContent: "center" } : e2.includes("right") ? { justifyContent: "flex-end" } : {};
|
|
8825
|
+
return { left: 0, right: 0, display: "flex", position: "absolute", transition: b$1() ? void 0 : "all 230ms cubic-bezier(.21,1.02,.73,1)", transform: `translateY(${t2 * (o2 ? 1 : -1)}px)`, ...s2, ...a2 };
|
|
8826
|
+
}, ve$1 = u$4`
|
|
8827
|
+
z-index: 9999;
|
|
8828
|
+
> * {
|
|
8829
|
+
pointer-events: auto;
|
|
8830
|
+
}
|
|
8831
|
+
`, O$1 = 16, Ie$1 = ({ reverseOrder: e2, position: t2 = "top-center", toastOptions: o2, gutter: s2, children: a2, containerStyle: r2, containerClassName: c6 }) => {
|
|
8832
|
+
let { toasts: i2, handlers: d2 } = D$1(o2);
|
|
8833
|
+
return reactExports.createElement("div", { style: { position: "fixed", zIndex: 9999, top: O$1, left: O$1, right: O$1, bottom: O$1, pointerEvents: "none", ...r2 }, className: c6, onMouseEnter: d2.startPause, onMouseLeave: d2.endPause }, i2.map((p2) => {
|
|
8834
|
+
let g2 = p2.position || t2, E2 = d2.calculateOffset(p2, { reverseOrder: e2, gutter: s2, defaultPosition: t2 }), x2 = Re$1(g2, E2);
|
|
8835
|
+
return reactExports.createElement(Ee$1, { id: p2.id, key: p2.id, onHeightUpdate: d2.updateHeight, className: p2.visible ? ve$1 : "", style: x2 }, p2.type === "custom" ? T$1(p2.message, p2) : a2 ? a2(p2) : reactExports.createElement(F, { toast: p2, position: g2 }));
|
|
8836
|
+
}));
|
|
8837
|
+
};
|
|
8838
|
+
var _t = n$3;
|
|
8839
|
+
const SvgAlertCircle = ({
|
|
8840
|
+
title,
|
|
8841
|
+
titleId,
|
|
8842
|
+
...props
|
|
8843
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
8844
|
+
"svg",
|
|
8845
|
+
{
|
|
8846
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8847
|
+
width: "24",
|
|
8848
|
+
height: "24",
|
|
8849
|
+
fill: "none",
|
|
8850
|
+
viewBox: "0 0 24 24",
|
|
8851
|
+
"aria-hidden": "true",
|
|
8852
|
+
"aria-labelledby": titleId,
|
|
8853
|
+
...props,
|
|
8854
|
+
children: [
|
|
8855
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
8856
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8857
|
+
"path",
|
|
8858
|
+
{
|
|
8859
|
+
fill: "currentColor",
|
|
8860
|
+
fillRule: "evenodd",
|
|
8861
|
+
d: "M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",
|
|
8862
|
+
clipRule: "evenodd"
|
|
8863
|
+
}
|
|
8864
|
+
),
|
|
8865
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8866
|
+
"path",
|
|
8867
|
+
{
|
|
8868
|
+
fill: "currentColor",
|
|
8869
|
+
fillRule: "evenodd",
|
|
8870
|
+
d: "M12 6a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M11 16a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1",
|
|
8871
|
+
clipRule: "evenodd"
|
|
8872
|
+
}
|
|
8873
|
+
)
|
|
8874
|
+
]
|
|
8875
|
+
}
|
|
8876
|
+
), SvgAlertCircle$1 = SvgAlertCircle, SvgArrowLeft = ({
|
|
8877
|
+
title,
|
|
8878
|
+
titleId,
|
|
8879
|
+
...props
|
|
8880
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
8881
|
+
"svg",
|
|
8882
|
+
{
|
|
8883
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8884
|
+
width: "24",
|
|
8885
|
+
height: "24",
|
|
8886
|
+
fill: "none",
|
|
8887
|
+
viewBox: "0 0 24 24",
|
|
8888
|
+
"aria-hidden": "true",
|
|
8889
|
+
"aria-labelledby": titleId,
|
|
8890
|
+
...props,
|
|
8891
|
+
children: [
|
|
8892
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
8893
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8894
|
+
"path",
|
|
8895
|
+
{
|
|
8896
|
+
fill: "currentColor",
|
|
8897
|
+
fillRule: "evenodd",
|
|
8898
|
+
d: "M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",
|
|
8899
|
+
clipRule: "evenodd"
|
|
8900
|
+
}
|
|
8901
|
+
),
|
|
8902
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8903
|
+
"path",
|
|
8904
|
+
{
|
|
8905
|
+
fill: "currentColor",
|
|
8906
|
+
fillRule: "evenodd",
|
|
8907
|
+
d: "M12.707 4.293a1 1 0 0 1 0 1.414L6.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0",
|
|
8908
|
+
clipRule: "evenodd"
|
|
8909
|
+
}
|
|
8910
|
+
)
|
|
8911
|
+
]
|
|
8912
|
+
}
|
|
8913
|
+
), SvgArrowLeft$1 = SvgArrowLeft, SvgArrowRight = ({
|
|
8914
|
+
title,
|
|
8915
|
+
titleId,
|
|
8916
|
+
...props
|
|
8917
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
8918
|
+
"svg",
|
|
8919
|
+
{
|
|
8920
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8921
|
+
width: "24",
|
|
8922
|
+
height: "24",
|
|
8923
|
+
fill: "none",
|
|
8924
|
+
viewBox: "0 0 24 24",
|
|
8925
|
+
"aria-hidden": "true",
|
|
8926
|
+
"aria-labelledby": titleId,
|
|
8927
|
+
...props,
|
|
8928
|
+
children: [
|
|
8929
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
8930
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8931
|
+
"path",
|
|
8932
|
+
{
|
|
8933
|
+
fill: "currentColor",
|
|
8934
|
+
fillRule: "evenodd",
|
|
8935
|
+
d: "M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",
|
|
8936
|
+
clipRule: "evenodd"
|
|
8937
|
+
}
|
|
8938
|
+
),
|
|
8939
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8940
|
+
"path",
|
|
8941
|
+
{
|
|
8942
|
+
fill: "currentColor",
|
|
8943
|
+
fillRule: "evenodd",
|
|
8944
|
+
d: "M11.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L17.586 12l-6.293-6.293a1 1 0 0 1 0-1.414",
|
|
8945
|
+
clipRule: "evenodd"
|
|
8946
|
+
}
|
|
8947
|
+
)
|
|
8948
|
+
]
|
|
8949
|
+
}
|
|
8950
|
+
), SvgArrowRight$1 = SvgArrowRight, SvgBookmark = ({
|
|
8951
|
+
title,
|
|
8952
|
+
titleId,
|
|
8953
|
+
...props
|
|
8954
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
8955
|
+
"svg",
|
|
8956
|
+
{
|
|
8957
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8958
|
+
viewBox: "0 0 24 24",
|
|
8959
|
+
width: "24",
|
|
8960
|
+
height: "24",
|
|
8961
|
+
"aria-hidden": "true",
|
|
8962
|
+
"aria-labelledby": titleId,
|
|
8963
|
+
...props,
|
|
8964
|
+
children: [
|
|
8965
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
8966
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8967
|
+
"path",
|
|
8968
|
+
{
|
|
8969
|
+
fill: "currentColor",
|
|
8970
|
+
d: "M7 4a1 1 0 0 0-1 1v14.06l5.42-3.87a1 1 0 0 1 1.16 0L18 19.06V5a1 1 0 0 0-1-1zM4.88 2.88A3 3 0 0 1 7 2h10a3 3 0 0 1 3 3v16a1 1 0 0 1-1.58.81L12 17.23 5.58 21.8A1 1 0 0 1 4 21V5a3 3 0 0 1 .88-2.12"
|
|
8971
|
+
}
|
|
8972
|
+
)
|
|
8973
|
+
]
|
|
8974
|
+
}
|
|
8975
|
+
), SvgBookmark$1 = SvgBookmark, SvgClose = ({
|
|
8976
|
+
title,
|
|
8977
|
+
titleId,
|
|
8978
|
+
...props
|
|
8979
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
8980
|
+
"svg",
|
|
8981
|
+
{
|
|
8982
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8983
|
+
width: "24",
|
|
8984
|
+
height: "24",
|
|
8985
|
+
fill: "none",
|
|
8986
|
+
viewBox: "0 0 24 24",
|
|
8987
|
+
"aria-hidden": "true",
|
|
8988
|
+
"aria-labelledby": titleId,
|
|
8989
|
+
...props,
|
|
8990
|
+
children: [
|
|
8991
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
8992
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8993
|
+
"path",
|
|
8994
|
+
{
|
|
8995
|
+
fill: "currentColor",
|
|
8996
|
+
fillRule: "evenodd",
|
|
8997
|
+
d: "M4.222 4.222a1.1 1.1 0 0 1 1.556 0l14 14a1.1 1.1 0 1 1-1.556 1.556l-14-14a1.1 1.1 0 0 1 0-1.556",
|
|
8998
|
+
clipRule: "evenodd"
|
|
8999
|
+
}
|
|
9000
|
+
),
|
|
9001
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9002
|
+
"path",
|
|
9003
|
+
{
|
|
9004
|
+
fill: "currentColor",
|
|
9005
|
+
fillRule: "evenodd",
|
|
9006
|
+
d: "M19.778 4.222a1.1 1.1 0 0 1 0 1.556l-14 14a1.1 1.1 0 1 1-1.556-1.556l14-14a1.1 1.1 0 0 1 1.556 0",
|
|
9007
|
+
clipRule: "evenodd"
|
|
9008
|
+
}
|
|
9009
|
+
)
|
|
9010
|
+
]
|
|
9011
|
+
}
|
|
9012
|
+
), SvgClose$1 = SvgClose, SvgCopy = ({
|
|
9013
|
+
title,
|
|
9014
|
+
titleId,
|
|
9015
|
+
...props
|
|
9016
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9017
|
+
"svg",
|
|
9018
|
+
{
|
|
9019
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9020
|
+
width: "24",
|
|
9021
|
+
height: "24",
|
|
9022
|
+
fill: "none",
|
|
9023
|
+
viewBox: "0 0 24 24",
|
|
9024
|
+
"aria-hidden": "true",
|
|
9025
|
+
"aria-labelledby": titleId,
|
|
9026
|
+
...props,
|
|
9027
|
+
children: [
|
|
9028
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9029
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9030
|
+
"path",
|
|
9031
|
+
{
|
|
9032
|
+
fill: "currentColor",
|
|
9033
|
+
fillRule: "evenodd",
|
|
9034
|
+
d: "M6.676 3c.284-.672.853-1 1.263-1h11.423c.566 0 1.438.628 1.438 1.923v13.154c0 1.056-.58 1.668-1.1 1.858V6.923C19.7 4.99 18.3 3 16.061 3zm-2.272.007C4.765 1.41 6.056 0 7.939 0h11.423C21.599 0 23 1.99 23 3.923v13.154c0 1.865-1.303 3.782-3.403 3.916C19.235 22.59 17.944 24 16.06 24H4.638C2.401 24 1 22.01 1 20.077V6.923c0-1.865 1.303-3.782 3.404-3.916M3.2 6.923C3.2 5.628 4.072 5 4.638 5h11.423c.567 0 1.439.628 1.439 1.923v13.154c0 1.295-.872 1.923-1.439 1.923H4.638c-.566 0-1.438-.628-1.438-1.923z",
|
|
9035
|
+
clipRule: "evenodd"
|
|
9036
|
+
}
|
|
9037
|
+
)
|
|
9038
|
+
]
|
|
9039
|
+
}
|
|
9040
|
+
), SvgCopy$1 = SvgCopy, SvgDelete = ({
|
|
9041
|
+
title,
|
|
9042
|
+
titleId,
|
|
9043
|
+
...props
|
|
9044
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9045
|
+
"svg",
|
|
9046
|
+
{
|
|
9047
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9048
|
+
width: "24",
|
|
9049
|
+
height: "24",
|
|
9050
|
+
fill: "none",
|
|
9051
|
+
viewBox: "0 0 24 24",
|
|
9052
|
+
"aria-hidden": "true",
|
|
9053
|
+
"aria-labelledby": titleId,
|
|
9054
|
+
...props,
|
|
9055
|
+
children: [
|
|
9056
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9057
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9058
|
+
"path",
|
|
9059
|
+
{
|
|
9060
|
+
fill: "currentColor",
|
|
9061
|
+
fillRule: "evenodd",
|
|
9062
|
+
d: "M9.461 3.689a.96.96 0 0 1 .675-.28h3.819a.955.955 0 0 1 .954.955v.954H9.182v-.954c0-.254.1-.496.28-.675m7.357.675v.954h3.818a.955.955 0 0 1 0 1.91h-.954v12.408a2.864 2.864 0 0 1-2.864 2.864H7.273a2.864 2.864 0 0 1-2.864-2.864V7.227h-.954a.955.955 0 1 1 0-1.909h3.818v-.954A2.864 2.864 0 0 1 10.136 1.5h3.819a2.864 2.864 0 0 1 2.863 2.864m-10.5 2.863v12.41a.954.954 0 0 0 .955.954h9.545a.955.955 0 0 0 .955-.955V7.227zm3.818 2.864c.528 0 .955.427.955.955v5.727a.955.955 0 1 1-1.91 0v-5.727c0-.528.428-.955.955-.955m4.773 6.682v-5.727a.955.955 0 0 0-1.909 0v5.727a.955.955 0 1 0 1.91 0",
|
|
9063
|
+
clipRule: "evenodd"
|
|
9064
|
+
}
|
|
9065
|
+
)
|
|
9066
|
+
]
|
|
9067
|
+
}
|
|
9068
|
+
), SvgDelete$1 = SvgDelete, SvgEdit = ({
|
|
9069
|
+
title,
|
|
9070
|
+
titleId,
|
|
9071
|
+
...props
|
|
9072
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9073
|
+
"svg",
|
|
9074
|
+
{
|
|
9075
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9076
|
+
width: "24",
|
|
9077
|
+
height: "24",
|
|
9078
|
+
fill: "none",
|
|
9079
|
+
viewBox: "0 0 24 24",
|
|
9080
|
+
"aria-hidden": "true",
|
|
9081
|
+
"aria-labelledby": titleId,
|
|
9082
|
+
...props,
|
|
9083
|
+
children: [
|
|
9084
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9085
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9086
|
+
"path",
|
|
9087
|
+
{
|
|
9088
|
+
fill: "currentColor",
|
|
9089
|
+
fillRule: "evenodd",
|
|
9090
|
+
d: "M1.879 3.879A3 3 0 0 1 4 3h7a1 1 0 1 1 0 2H4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7a1 1 0 1 1 2 0v7a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6a3 3 0 0 1 .879-2.121",
|
|
9091
|
+
clipRule: "evenodd"
|
|
9092
|
+
}
|
|
9093
|
+
),
|
|
9094
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9095
|
+
"path",
|
|
9096
|
+
{
|
|
9097
|
+
fill: "currentColor",
|
|
9098
|
+
fillRule: "evenodd",
|
|
9099
|
+
d: "M20 2.879c-.297 0-.583.118-.793.328l-9.304 9.304-.529 2.115 2.115-.529 9.304-9.304A1.121 1.121 0 0 0 20 2.879m-2.207-1.086a3.121 3.121 0 0 1 4.414 4.414l-9.5 9.5a1 1 0 0 1-.464.263l-4 1a1 1 0 0 1-1.213-1.212l1-4a1 1 0 0 1 .263-.465z",
|
|
9100
|
+
clipRule: "evenodd"
|
|
9101
|
+
}
|
|
9102
|
+
)
|
|
9103
|
+
]
|
|
9104
|
+
}
|
|
9105
|
+
), SvgEdit$1 = SvgEdit, SvgError = ({
|
|
9106
|
+
title,
|
|
9107
|
+
titleId,
|
|
9108
|
+
...props
|
|
9109
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9110
|
+
"svg",
|
|
9111
|
+
{
|
|
9112
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9113
|
+
width: "24",
|
|
9114
|
+
height: "24",
|
|
9115
|
+
fill: "none",
|
|
9116
|
+
viewBox: "0 0 24 24",
|
|
9117
|
+
"aria-hidden": "true",
|
|
9118
|
+
"aria-labelledby": titleId,
|
|
9119
|
+
...props,
|
|
9120
|
+
children: [
|
|
9121
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9122
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9123
|
+
"path",
|
|
9124
|
+
{
|
|
9125
|
+
fill: "currentColor",
|
|
9126
|
+
fillRule: "evenodd",
|
|
9127
|
+
d: "M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0m9-11C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1M8.293 15.707a1 1 0 0 1 0-1.414L10.586 12 8.293 9.707a1 1 0 0 1 1.414-1.414L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414 0",
|
|
9128
|
+
clipRule: "evenodd"
|
|
9129
|
+
}
|
|
9130
|
+
)
|
|
9131
|
+
]
|
|
9132
|
+
}
|
|
9133
|
+
), SvgError$1 = SvgError, SvgFiles = ({
|
|
9134
|
+
title,
|
|
9135
|
+
titleId,
|
|
9136
|
+
...props
|
|
9137
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9138
|
+
"svg",
|
|
9139
|
+
{
|
|
9140
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9141
|
+
fill: "none",
|
|
9142
|
+
viewBox: "0 0 24 24",
|
|
9143
|
+
width: "24",
|
|
9144
|
+
height: "24",
|
|
9145
|
+
"aria-hidden": "true",
|
|
9146
|
+
"aria-labelledby": titleId,
|
|
9147
|
+
...props,
|
|
9148
|
+
children: [
|
|
9149
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9150
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9151
|
+
"path",
|
|
9152
|
+
{
|
|
9153
|
+
fill: "currentColor",
|
|
9154
|
+
fillRule: "evenodd",
|
|
9155
|
+
d: "M20.91 9.14v1.27H8.25a4.7 4.7 0 0 0-3.86 1.98L1.5 16.53V6.4a2.3 2.3 0 0 1 .77-1.69A2.68 2.68 0 0 1 4.11 4h3.73a2.68 2.68 0 0 1 1.84.71c.25.22.45.48.58.77s.2.6.2.92v.34h7.84c.7.01 1.35.27 1.84.71.49.45.76 1.06.77 1.7ZM8.25 11.92h14.47c.63 0 1 .68.64 1.18l-3.52 5.04a3.13 3.13 0 0 1-2.57 1.32H2.79c-.62 0-.99-.68-.64-1.18l3.53-5.04a3.13 3.13 0 0 1 2.57-1.32",
|
|
9156
|
+
clipRule: "evenodd"
|
|
9157
|
+
}
|
|
9158
|
+
)
|
|
9159
|
+
]
|
|
9160
|
+
}
|
|
9161
|
+
), SvgFiles$1 = SvgFiles, SvgFilter = ({
|
|
9162
|
+
title,
|
|
9163
|
+
titleId,
|
|
9164
|
+
...props
|
|
9165
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9166
|
+
"svg",
|
|
9167
|
+
{
|
|
9168
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9169
|
+
width: "24",
|
|
9170
|
+
height: "24",
|
|
9171
|
+
fill: "none",
|
|
9172
|
+
viewBox: "0 0 24 24",
|
|
9173
|
+
"aria-hidden": "true",
|
|
9174
|
+
"aria-labelledby": titleId,
|
|
9175
|
+
...props,
|
|
9176
|
+
children: [
|
|
9177
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9178
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9179
|
+
"path",
|
|
9180
|
+
{
|
|
9181
|
+
fill: "currentColor",
|
|
9182
|
+
fillRule: "evenodd",
|
|
9183
|
+
d: "M1.093 2.58A1 1 0 0 1 2 2h20a1 1 0 0 1 .764 1.646L15 12.826V21a1 1 0 0 1-1.447.894l-4-2A1 1 0 0 1 9 19v-6.174l-7.764-9.18a1 1 0 0 1-.143-1.067M4.155 4l6.609 7.814a1 1 0 0 1 .236.646v5.922l2 1V12.46a1 1 0 0 1 .236-.646L19.845 4z",
|
|
9184
|
+
clipRule: "evenodd"
|
|
9185
|
+
}
|
|
9186
|
+
)
|
|
9187
|
+
]
|
|
9188
|
+
}
|
|
9189
|
+
), SvgFilter$1 = SvgFilter, SvgFolder = ({
|
|
9190
|
+
title,
|
|
9191
|
+
titleId,
|
|
9192
|
+
...props
|
|
9193
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9194
|
+
"svg",
|
|
9195
|
+
{
|
|
9196
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9197
|
+
width: "24",
|
|
9198
|
+
height: "24",
|
|
9199
|
+
fill: "none",
|
|
9200
|
+
viewBox: "0 0 24 24",
|
|
9201
|
+
"aria-hidden": "true",
|
|
9202
|
+
"aria-labelledby": titleId,
|
|
9203
|
+
...props,
|
|
9204
|
+
children: [
|
|
9205
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9206
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9207
|
+
"path",
|
|
9208
|
+
{
|
|
9209
|
+
fill: "currentColor",
|
|
9210
|
+
fillRule: "evenodd",
|
|
9211
|
+
d: "M3.057 5.5A.057.057 0 0 0 3 5.557v13.03h18V7.875h-8.697a1 1 0 0 1-1-1c0-.759-.615-1.374-1.374-1.374zM1 5.557C1 4.42 1.92 3.5 3.057 3.5h6.872c1.515 0 2.797.999 3.223 2.374H21a2 2 0 0 1 2 2v10.714a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2z",
|
|
9212
|
+
clipRule: "evenodd"
|
|
9213
|
+
}
|
|
9214
|
+
)
|
|
9215
|
+
]
|
|
9216
|
+
}
|
|
9217
|
+
), SvgFolder$1 = SvgFolder, SvgGlobe = ({
|
|
9218
|
+
title,
|
|
9219
|
+
titleId,
|
|
9220
|
+
...props
|
|
9221
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9222
|
+
"svg",
|
|
9223
|
+
{
|
|
9224
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9225
|
+
width: "24",
|
|
9226
|
+
height: "24",
|
|
9227
|
+
fill: "none",
|
|
9228
|
+
viewBox: "0 0 24 24",
|
|
9229
|
+
"aria-hidden": "true",
|
|
9230
|
+
"aria-labelledby": titleId,
|
|
9231
|
+
...props,
|
|
9232
|
+
children: [
|
|
9233
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9234
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9235
|
+
"path",
|
|
9236
|
+
{
|
|
9237
|
+
fill: "currentColor",
|
|
9238
|
+
fillRule: "evenodd",
|
|
9239
|
+
d: "M9.726 3.29A9.01 9.01 0 0 0 3.055 11H7.05a16.3 16.3 0 0 1 2.676-7.71m4.548 0A16.3 16.3 0 0 1 16.95 11h3.995a9.01 9.01 0 0 0-6.67-7.71m.668 7.71A14.3 14.3 0 0 0 12 3.55 14.3 14.3 0 0 0 9.058 11zm-5.884 2h5.884A14.3 14.3 0 0 1 12 20.45 14.3 14.3 0 0 1 9.058 13M7.05 13H3.055a9.01 9.01 0 0 0 6.67 7.71A16.3 16.3 0 0 1 7.05 13m7.224 7.71A16.3 16.3 0 0 0 16.95 13h3.995a9.01 9.01 0 0 1-6.67 7.71M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11",
|
|
9240
|
+
clipRule: "evenodd"
|
|
9241
|
+
}
|
|
9242
|
+
)
|
|
9243
|
+
]
|
|
9244
|
+
}
|
|
9245
|
+
), SvgGlobe$1 = SvgGlobe, SvgInfoCircle = ({
|
|
9246
|
+
title,
|
|
9247
|
+
titleId,
|
|
9248
|
+
...props
|
|
9249
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9250
|
+
"svg",
|
|
9251
|
+
{
|
|
9252
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9253
|
+
width: "24",
|
|
9254
|
+
height: "24",
|
|
9255
|
+
fill: "none",
|
|
9256
|
+
viewBox: "0 0 24 24",
|
|
9257
|
+
"aria-hidden": "true",
|
|
9258
|
+
"aria-labelledby": titleId,
|
|
9259
|
+
...props,
|
|
9260
|
+
children: [
|
|
9261
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9262
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9263
|
+
"path",
|
|
9264
|
+
{
|
|
9265
|
+
fill: "currentColor",
|
|
9266
|
+
fillRule: "evenodd",
|
|
9267
|
+
d: "M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",
|
|
9268
|
+
clipRule: "evenodd"
|
|
9269
|
+
}
|
|
9270
|
+
),
|
|
9271
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9272
|
+
"path",
|
|
9273
|
+
{
|
|
9274
|
+
fill: "currentColor",
|
|
9275
|
+
fillRule: "evenodd",
|
|
9276
|
+
d: "M12.01 17a1 1 0 0 1-1-1v-5a1 1 0 1 1 2 0v5a1 1 0 0 1-1 1M13.01 7.5a1 1 0 0 1-1 1H12a1 1 0 1 1 0-2h.01a1 1 0 0 1 1 1",
|
|
9277
|
+
clipRule: "evenodd"
|
|
9278
|
+
}
|
|
9279
|
+
)
|
|
9280
|
+
]
|
|
9281
|
+
}
|
|
9282
|
+
), SvgInfoCircle$1 = SvgInfoCircle, SvgLoader = ({
|
|
9283
|
+
title,
|
|
9284
|
+
titleId,
|
|
9285
|
+
...props
|
|
9286
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9287
|
+
"svg",
|
|
9288
|
+
{
|
|
9289
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9290
|
+
width: "24",
|
|
9291
|
+
height: "24",
|
|
9292
|
+
fill: "none",
|
|
9293
|
+
viewBox: "0 0 24 24",
|
|
9294
|
+
"aria-hidden": "true",
|
|
9295
|
+
"aria-labelledby": titleId,
|
|
9296
|
+
...props,
|
|
9297
|
+
children: [
|
|
9298
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9299
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9300
|
+
"path",
|
|
9301
|
+
{
|
|
9302
|
+
fill: "currentColor",
|
|
9303
|
+
fillRule: "evenodd",
|
|
9304
|
+
d: "M16.672 5.558a7.96 7.96 0 0 0-9.841.397 7.95 7.95 0 0 0-1.908 9.66 7.964 7.964 0 0 0 8.949 4.12A7.95 7.95 0 0 0 19.962 12a1.021 1.021 0 1 1 2.045 0A9.994 9.994 0 0 1 7.83 21.083a10.01 10.01 0 0 1-5.634-11.027 9.99 9.99 0 0 1 9.402-8.048c2.244-.09 4.453.577 6.272 1.895a1.022 1.022 0 1 1-1.198 1.655",
|
|
9305
|
+
clipRule: "evenodd"
|
|
9306
|
+
}
|
|
9307
|
+
)
|
|
9308
|
+
]
|
|
9309
|
+
}
|
|
9310
|
+
), SvgLoader$1 = SvgLoader, SvgOptions = ({
|
|
9311
|
+
title,
|
|
9312
|
+
titleId,
|
|
9313
|
+
...props
|
|
9314
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9315
|
+
"svg",
|
|
9316
|
+
{
|
|
9317
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9318
|
+
width: "24",
|
|
9319
|
+
height: "24",
|
|
9320
|
+
fill: "none",
|
|
9321
|
+
viewBox: "0 0 24 24",
|
|
9322
|
+
"aria-hidden": "true",
|
|
9323
|
+
"aria-labelledby": titleId,
|
|
9324
|
+
...props,
|
|
9325
|
+
children: [
|
|
9326
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9327
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: 12, cy: 4, r: 2.5, fill: "currentColor" }),
|
|
9328
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: 12, cy: 12, r: 2.5, fill: "currentColor" }),
|
|
9329
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: 12, cy: 20, r: 2.5, fill: "currentColor" })
|
|
9330
|
+
]
|
|
9331
|
+
}
|
|
9332
|
+
), SvgOptions$1 = SvgOptions, SvgPlus = ({
|
|
9333
|
+
title,
|
|
9334
|
+
titleId,
|
|
9335
|
+
...props
|
|
9336
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9337
|
+
"svg",
|
|
9338
|
+
{
|
|
9339
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9340
|
+
width: "24",
|
|
9341
|
+
height: "24",
|
|
9342
|
+
fill: "none",
|
|
9343
|
+
viewBox: "0 0 24 24",
|
|
9344
|
+
"aria-hidden": "true",
|
|
9345
|
+
"aria-labelledby": titleId,
|
|
9346
|
+
...props,
|
|
9347
|
+
children: [
|
|
9348
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9349
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9350
|
+
"path",
|
|
9351
|
+
{
|
|
9352
|
+
fill: "currentColor",
|
|
9353
|
+
fillRule: "evenodd",
|
|
9354
|
+
d: "M13 4a1 1 0 1 0-2 0v7H4a1 1 0 1 0 0 2h7v7a1 1 0 1 0 2 0v-7h7a1 1 0 1 0 0-2h-7z",
|
|
9355
|
+
clipRule: "evenodd"
|
|
9356
|
+
}
|
|
9357
|
+
)
|
|
9358
|
+
]
|
|
9359
|
+
}
|
|
9360
|
+
), SvgPlus$1 = SvgPlus, SvgRafterDown = ({
|
|
9361
|
+
title,
|
|
9362
|
+
titleId,
|
|
9363
|
+
...props
|
|
9364
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9365
|
+
"svg",
|
|
9366
|
+
{
|
|
9367
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9368
|
+
width: "24",
|
|
9369
|
+
height: "24",
|
|
9370
|
+
fill: "none",
|
|
9371
|
+
viewBox: "0 0 24 24",
|
|
9372
|
+
"aria-hidden": "true",
|
|
9373
|
+
"aria-labelledby": titleId,
|
|
9374
|
+
...props,
|
|
9375
|
+
children: [
|
|
9376
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9377
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9378
|
+
"path",
|
|
9379
|
+
{
|
|
9380
|
+
fill: "currentColor",
|
|
9381
|
+
fillRule: "evenodd",
|
|
9382
|
+
d: "M4.012 7.871a1.5 1.5 0 0 1 2.117.141L12 14.722l5.871-6.71a1.5 1.5 0 1 1 2.258 1.976l-7 8a1.5 1.5 0 0 1-2.258 0l-7-8a1.5 1.5 0 0 1 .141-2.117",
|
|
9383
|
+
clipRule: "evenodd"
|
|
9384
|
+
}
|
|
9385
|
+
)
|
|
9386
|
+
]
|
|
9387
|
+
}
|
|
9388
|
+
), SvgRafterDown$1 = SvgRafterDown, SvgRafterRight = ({
|
|
9389
|
+
title,
|
|
9390
|
+
titleId,
|
|
9391
|
+
...props
|
|
9392
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9393
|
+
"svg",
|
|
9394
|
+
{
|
|
9395
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9396
|
+
width: "24",
|
|
9397
|
+
height: "24",
|
|
9398
|
+
fill: "none",
|
|
9399
|
+
viewBox: "0 0 24 24",
|
|
9400
|
+
"aria-hidden": "true",
|
|
9401
|
+
"aria-labelledby": titleId,
|
|
9402
|
+
...props,
|
|
9403
|
+
children: [
|
|
9404
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9405
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9406
|
+
"path",
|
|
9407
|
+
{
|
|
9408
|
+
fill: "currentColor",
|
|
9409
|
+
fillRule: "evenodd",
|
|
9410
|
+
d: "M7.871 19.988a1.5 1.5 0 0 1 .141-2.117L14.722 12l-6.71-5.871A1.5 1.5 0 0 1 9.988 3.87l8 7a1.5 1.5 0 0 1 0 2.258l-8 7a1.5 1.5 0 0 1-2.117-.141",
|
|
9411
|
+
clipRule: "evenodd"
|
|
9412
|
+
}
|
|
9413
|
+
)
|
|
9414
|
+
]
|
|
9415
|
+
}
|
|
9416
|
+
), SvgRafterRight$1 = SvgRafterRight, SvgRafterUp = ({
|
|
9417
|
+
title,
|
|
9418
|
+
titleId,
|
|
9419
|
+
...props
|
|
9420
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9421
|
+
"svg",
|
|
9422
|
+
{
|
|
9423
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9424
|
+
width: "24",
|
|
9425
|
+
height: "24",
|
|
9426
|
+
fill: "none",
|
|
9427
|
+
viewBox: "0 0 24 24",
|
|
9428
|
+
"aria-hidden": "true",
|
|
9429
|
+
"aria-labelledby": titleId,
|
|
9430
|
+
...props,
|
|
9431
|
+
children: [
|
|
9432
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9433
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9434
|
+
"path",
|
|
9435
|
+
{
|
|
9436
|
+
fill: "currentColor",
|
|
9437
|
+
fillRule: "evenodd",
|
|
9438
|
+
d: "M19.988 17.129a1.5 1.5 0 0 1-2.117-.141L12 10.278l-5.871 6.71a1.5 1.5 0 0 1-2.258-1.976l7-8a1.5 1.5 0 0 1 2.258 0l7 8a1.5 1.5 0 0 1-.141 2.117",
|
|
9439
|
+
clipRule: "evenodd"
|
|
9440
|
+
}
|
|
9441
|
+
)
|
|
9442
|
+
]
|
|
9430
9443
|
}
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
|
|
9444
|
+
), SvgRafterUp$1 = SvgRafterUp, SvgSave = ({
|
|
9445
|
+
title,
|
|
9446
|
+
titleId,
|
|
9447
|
+
...props
|
|
9448
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9449
|
+
"svg",
|
|
9450
|
+
{
|
|
9451
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9452
|
+
width: "24",
|
|
9453
|
+
height: "24",
|
|
9454
|
+
fill: "none",
|
|
9455
|
+
viewBox: "0 0 24 24",
|
|
9456
|
+
"aria-hidden": "true",
|
|
9457
|
+
"aria-labelledby": titleId,
|
|
9458
|
+
...props,
|
|
9459
|
+
children: [
|
|
9460
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9461
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9462
|
+
"path",
|
|
9463
|
+
{
|
|
9464
|
+
fill: "currentColor",
|
|
9465
|
+
fillRule: "evenodd",
|
|
9466
|
+
d: "M5 4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h1v-7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7h1a1 1 0 0 0 1-1V8.414L15.586 4H8v3h7a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1V4zm2-2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V8a1 1 0 0 0-.293-.707l-5-5A1 1 0 0 0 16 2zm1 12v6h8v-6z",
|
|
9467
|
+
clipRule: "evenodd"
|
|
9468
|
+
}
|
|
9469
|
+
)
|
|
9470
|
+
]
|
|
9435
9471
|
}
|
|
9436
|
-
|
|
9437
|
-
|
|
9472
|
+
), SvgSave$1 = SvgSave, SvgSearch$2 = ({
|
|
9473
|
+
title,
|
|
9474
|
+
titleId,
|
|
9475
|
+
...props
|
|
9476
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9477
|
+
"svg",
|
|
9478
|
+
{
|
|
9479
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9480
|
+
fill: "none",
|
|
9481
|
+
viewBox: "0 0 24 24",
|
|
9482
|
+
width: "24",
|
|
9483
|
+
height: "24",
|
|
9484
|
+
"aria-hidden": "true",
|
|
9485
|
+
"aria-labelledby": titleId,
|
|
9486
|
+
...props,
|
|
9487
|
+
children: [
|
|
9488
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9489
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9490
|
+
"path",
|
|
9491
|
+
{
|
|
9492
|
+
fill: "currentColor",
|
|
9493
|
+
fillRule: "evenodd",
|
|
9494
|
+
d: "M4 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0m7-9a9 9 0 1 0 5.7 15.96 1 1 0 0 0 .24.4l4.35 4.35a1 1 0 0 0 1.42-1.42l-4.35-4.35a1 1 0 0 0-.4-.24A9 9 0 0 0 11 1",
|
|
9495
|
+
clipRule: "evenodd"
|
|
9496
|
+
}
|
|
9497
|
+
)
|
|
9498
|
+
]
|
|
9438
9499
|
}
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
border-radius: 10px;
|
|
9476
|
-
background: ${(e2) => e2.primary || "#61d345"};
|
|
9477
|
-
position: relative;
|
|
9478
|
-
transform: rotate(45deg);
|
|
9479
|
-
|
|
9480
|
-
animation: ${pe$1} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
9481
|
-
forwards;
|
|
9482
|
-
animation-delay: 100ms;
|
|
9483
|
-
&:after {
|
|
9484
|
-
content: '';
|
|
9485
|
-
box-sizing: border-box;
|
|
9486
|
-
animation: ${de$1} 0.2s ease-out forwards;
|
|
9487
|
-
opacity: 0;
|
|
9488
|
-
animation-delay: 200ms;
|
|
9489
|
-
position: absolute;
|
|
9490
|
-
border-right: 2px solid;
|
|
9491
|
-
border-bottom: 2px solid;
|
|
9492
|
-
border-color: ${(e2) => e2.secondary || "#fff"};
|
|
9493
|
-
bottom: 6px;
|
|
9494
|
-
left: 6px;
|
|
9495
|
-
height: 10px;
|
|
9496
|
-
width: 6px;
|
|
9500
|
+
), SvgSearch$1$1 = SvgSearch$2, SvgSuccessOutline = ({
|
|
9501
|
+
title,
|
|
9502
|
+
titleId,
|
|
9503
|
+
...props
|
|
9504
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9505
|
+
"svg",
|
|
9506
|
+
{
|
|
9507
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9508
|
+
width: "24",
|
|
9509
|
+
height: "24",
|
|
9510
|
+
fill: "none",
|
|
9511
|
+
viewBox: "0 0 24 24",
|
|
9512
|
+
"aria-hidden": "true",
|
|
9513
|
+
"aria-labelledby": titleId,
|
|
9514
|
+
...props,
|
|
9515
|
+
children: [
|
|
9516
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9517
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9518
|
+
"path",
|
|
9519
|
+
{
|
|
9520
|
+
fill: "currentColor",
|
|
9521
|
+
fillRule: "evenodd",
|
|
9522
|
+
d: "M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",
|
|
9523
|
+
clipRule: "evenodd"
|
|
9524
|
+
}
|
|
9525
|
+
),
|
|
9526
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9527
|
+
"path",
|
|
9528
|
+
{
|
|
9529
|
+
fill: "currentColor",
|
|
9530
|
+
fillRule: "evenodd",
|
|
9531
|
+
d: "M16.59 8.192a1 1 0 0 1 .218 1.397l-4.375 6a1 1 0 0 1-1.584.042L8.224 12.4a1 1 0 0 1 1.552-1.261l1.806 2.223 3.61-4.951a1 1 0 0 1 1.397-.219",
|
|
9532
|
+
clipRule: "evenodd"
|
|
9533
|
+
}
|
|
9534
|
+
)
|
|
9535
|
+
]
|
|
9497
9536
|
}
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
var ye$1 = (e2) => `
|
|
9528
|
-
0% {transform: translate3d(0,${e2 * -200}%,0) scale(.6); opacity:.5;}
|
|
9529
|
-
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
|
9530
|
-
`, ge$1 = (e2) => `
|
|
9531
|
-
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
|
9532
|
-
100% {transform: translate3d(0,${e2 * -150}%,-1px) scale(.6); opacity:0;}
|
|
9533
|
-
`, he$1 = "0%{opacity:0;} 100%{opacity:1;}", xe$1 = "0%{opacity:1;} 100%{opacity:0;}", be$1 = j$1("div")`
|
|
9534
|
-
display: flex;
|
|
9535
|
-
align-items: center;
|
|
9536
|
-
background: #fff;
|
|
9537
|
-
color: #363636;
|
|
9538
|
-
line-height: 1.3;
|
|
9539
|
-
will-change: transform;
|
|
9540
|
-
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
|
|
9541
|
-
max-width: 350px;
|
|
9542
|
-
pointer-events: auto;
|
|
9543
|
-
padding: 8px 10px;
|
|
9544
|
-
border-radius: 8px;
|
|
9545
|
-
`, Se$1 = j$1("div")`
|
|
9546
|
-
display: flex;
|
|
9547
|
-
justify-content: center;
|
|
9548
|
-
margin: 4px 10px;
|
|
9549
|
-
color: inherit;
|
|
9550
|
-
flex: 1 1 auto;
|
|
9551
|
-
white-space: pre-line;
|
|
9552
|
-
`, Ae$1 = (e2, t2) => {
|
|
9553
|
-
let s2 = e2.includes("top") ? 1 : -1, [a2, r2] = b$1() ? [he$1, xe$1] : [ye$1(s2), ge$1(s2)];
|
|
9554
|
-
return { animation: t2 ? `${h$4(a2)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards` : `${h$4(r2)} 0.4s forwards cubic-bezier(.06,.71,.55,1)` };
|
|
9555
|
-
}, F = reactExports.memo(({ toast: e2, position: t2, style: o2, children: s2 }) => {
|
|
9556
|
-
let a2 = e2.height ? Ae$1(e2.position || t2 || "top-center", e2.visible) : { opacity: 0 }, r2 = reactExports.createElement(M$2, { toast: e2 }), c6 = reactExports.createElement(Se$1, { ...e2.ariaProps }, T$1(e2.message, e2));
|
|
9557
|
-
return reactExports.createElement(be$1, { className: e2.className, style: { ...a2, ...o2, ...e2.style } }, typeof s2 == "function" ? s2({ icon: r2, message: c6 }) : reactExports.createElement(reactExports.Fragment, null, r2, c6));
|
|
9558
|
-
});
|
|
9559
|
-
m$3(reactExports.createElement);
|
|
9560
|
-
var Ee$1 = ({ id: e2, className: t2, style: o2, onHeightUpdate: s2, children: a2 }) => {
|
|
9561
|
-
let r2 = reactExports.useCallback((c6) => {
|
|
9562
|
-
if (c6) {
|
|
9563
|
-
let i2 = () => {
|
|
9564
|
-
let d2 = c6.getBoundingClientRect().height;
|
|
9565
|
-
s2(e2, d2);
|
|
9566
|
-
};
|
|
9567
|
-
i2(), new MutationObserver(i2).observe(c6, { subtree: true, childList: true, characterData: true });
|
|
9568
|
-
}
|
|
9569
|
-
}, [e2, s2]);
|
|
9570
|
-
return reactExports.createElement("div", { ref: r2, className: t2, style: o2 }, a2);
|
|
9571
|
-
}, Re$1 = (e2, t2) => {
|
|
9572
|
-
let o2 = e2.includes("top"), s2 = o2 ? { top: 0 } : { bottom: 0 }, a2 = e2.includes("center") ? { justifyContent: "center" } : e2.includes("right") ? { justifyContent: "flex-end" } : {};
|
|
9573
|
-
return { left: 0, right: 0, display: "flex", position: "absolute", transition: b$1() ? void 0 : "all 230ms cubic-bezier(.21,1.02,.73,1)", transform: `translateY(${t2 * (o2 ? 1 : -1)}px)`, ...s2, ...a2 };
|
|
9574
|
-
}, ve$1 = u$4`
|
|
9575
|
-
z-index: 9999;
|
|
9576
|
-
> * {
|
|
9577
|
-
pointer-events: auto;
|
|
9537
|
+
), SvgSuccessOutline$1 = SvgSuccessOutline, SvgUsers = ({
|
|
9538
|
+
title,
|
|
9539
|
+
titleId,
|
|
9540
|
+
...props
|
|
9541
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
9542
|
+
"svg",
|
|
9543
|
+
{
|
|
9544
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9545
|
+
width: "24",
|
|
9546
|
+
height: "24",
|
|
9547
|
+
fill: "none",
|
|
9548
|
+
viewBox: "0 0 24 24",
|
|
9549
|
+
"aria-hidden": "true",
|
|
9550
|
+
"aria-labelledby": titleId,
|
|
9551
|
+
...props,
|
|
9552
|
+
children: [
|
|
9553
|
+
title ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", { id: titleId, children: title }) : null,
|
|
9554
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9555
|
+
"g",
|
|
9556
|
+
{
|
|
9557
|
+
fill: "currentColor",
|
|
9558
|
+
fillRule: "evenodd",
|
|
9559
|
+
clipPath: "url(#users_svg__a)",
|
|
9560
|
+
clipRule: "evenodd",
|
|
9561
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M19.055 12.803a1 1 0 0 1 1.272-.618c1.128.39 2.061 1.247 2.7 2.351.64 1.106.972 2.435.973 3.782V21a1 1 0 1 1-2 0v-2.681c0-1.03-.258-2.009-.704-2.782-.448-.773-1.034-1.258-1.623-1.462a1 1 0 0 1-.618-1.272M15.187 1.384a1 1 0 0 1 1.036-.962 5.129 5.129 0 0 1 2.11 9.71 1 1 0 1 1-.896-1.788 3.129 3.129 0 0 0-1.288-5.924 1 1 0 0 1-.962-1.036M1.505 15.694C2.481 14.622 3.825 14 5.25 14h8.5c1.424 0 2.769.622 3.744 1.694.974 1.068 1.506 2.498 1.506 3.973V22a1 1 0 1 1-2 0v-2.333c0-1.001-.363-1.945-.984-2.627-.618-.679-1.436-1.04-2.266-1.04h-8.5c-.83 0-1.648.361-2.266 1.04-.621.682-.984 1.626-.984 2.627V22a1 1 0 1 1-2 0v-2.333c0-1.475.533-2.905 1.505-3.974M9.5 3a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M4 6.5a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0" })
|
|
9562
|
+
}
|
|
9563
|
+
),
|
|
9564
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("defs", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("clipPath", { id: "users_svg__a", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
9565
|
+
]
|
|
9578
9566
|
}
|
|
9579
|
-
|
|
9580
|
-
|
|
9581
|
-
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
var
|
|
9567
|
+
), SvgUsers$1 = SvgUsers;
|
|
9568
|
+
function r$3(e2) {
|
|
9569
|
+
var t2, f2, n2 = "";
|
|
9570
|
+
if ("string" == typeof e2 || "number" == typeof e2)
|
|
9571
|
+
n2 += e2;
|
|
9572
|
+
else if ("object" == typeof e2)
|
|
9573
|
+
if (Array.isArray(e2)) {
|
|
9574
|
+
var o2 = e2.length;
|
|
9575
|
+
for (t2 = 0; t2 < o2; t2++)
|
|
9576
|
+
e2[t2] && (f2 = r$3(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
|
|
9577
|
+
} else
|
|
9578
|
+
for (f2 in e2)
|
|
9579
|
+
e2[f2] && (n2 && (n2 += " "), n2 += f2);
|
|
9580
|
+
return n2;
|
|
9581
|
+
}
|
|
9582
|
+
function clsx() {
|
|
9583
|
+
for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++)
|
|
9584
|
+
(e2 = arguments[f2]) && (t2 = r$3(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
9585
|
+
return n2;
|
|
9586
|
+
}
|
|
9587
9587
|
var reactDom = { exports: {} };
|
|
9588
9588
|
var reactDom_production_min = {};
|
|
9589
9589
|
var scheduler = { exports: {} };
|
|
@@ -18373,47 +18373,6 @@ function getWindow$3(node) {
|
|
|
18373
18373
|
function isElement$3(value) {
|
|
18374
18374
|
return value instanceof Element || value instanceof getWindow$3(value).Element;
|
|
18375
18375
|
}
|
|
18376
|
-
function isShadowRoot$2(value) {
|
|
18377
|
-
if (typeof ShadowRoot === "undefined") {
|
|
18378
|
-
return false;
|
|
18379
|
-
}
|
|
18380
|
-
return value instanceof ShadowRoot || value instanceof getWindow$3(value).ShadowRoot;
|
|
18381
|
-
}
|
|
18382
|
-
function contains$1(parent, child) {
|
|
18383
|
-
if (!parent || !child) {
|
|
18384
|
-
return false;
|
|
18385
|
-
}
|
|
18386
|
-
const rootNode = child.getRootNode && child.getRootNode();
|
|
18387
|
-
if (parent.contains(child)) {
|
|
18388
|
-
return true;
|
|
18389
|
-
}
|
|
18390
|
-
if (rootNode && isShadowRoot$2(rootNode)) {
|
|
18391
|
-
let next = child;
|
|
18392
|
-
while (next) {
|
|
18393
|
-
if (parent === next) {
|
|
18394
|
-
return true;
|
|
18395
|
-
}
|
|
18396
|
-
next = next.parentNode || next.host;
|
|
18397
|
-
}
|
|
18398
|
-
}
|
|
18399
|
-
return false;
|
|
18400
|
-
}
|
|
18401
|
-
function isMouseLikePointerType(pointerType, strict) {
|
|
18402
|
-
const values = ["mouse", "pen"];
|
|
18403
|
-
{
|
|
18404
|
-
values.push("", void 0);
|
|
18405
|
-
}
|
|
18406
|
-
return values.includes(pointerType);
|
|
18407
|
-
}
|
|
18408
|
-
function getDocument$1(node) {
|
|
18409
|
-
return (node == null ? void 0 : node.ownerDocument) || document;
|
|
18410
|
-
}
|
|
18411
|
-
function getTarget(event) {
|
|
18412
|
-
if ("composedPath" in event) {
|
|
18413
|
-
return event.composedPath()[0];
|
|
18414
|
-
}
|
|
18415
|
-
return event.target;
|
|
18416
|
-
}
|
|
18417
18376
|
const min$1 = Math.min;
|
|
18418
18377
|
const max$2 = Math.max;
|
|
18419
18378
|
const round$2 = Math.round;
|
|
@@ -19729,7 +19688,7 @@ function roundByDPR(element, value) {
|
|
|
19729
19688
|
const dpr = getDPR(element);
|
|
19730
19689
|
return Math.round(value * dpr) / dpr;
|
|
19731
19690
|
}
|
|
19732
|
-
function useLatestRef
|
|
19691
|
+
function useLatestRef(value) {
|
|
19733
19692
|
const ref2 = reactExports.useRef(value);
|
|
19734
19693
|
index$1(() => {
|
|
19735
19694
|
ref2.current = value;
|
|
@@ -19785,8 +19744,8 @@ function useFloating$1(options) {
|
|
|
19785
19744
|
const floatingRef = reactExports.useRef(null);
|
|
19786
19745
|
const dataRef = reactExports.useRef(data);
|
|
19787
19746
|
const hasWhileElementsMounted = whileElementsMounted != null;
|
|
19788
|
-
const whileElementsMountedRef = useLatestRef
|
|
19789
|
-
const platformRef = useLatestRef
|
|
19747
|
+
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
|
19748
|
+
const platformRef = useLatestRef(platform2);
|
|
19790
19749
|
const update2 = reactExports.useCallback(() => {
|
|
19791
19750
|
if (!referenceRef.current || !floatingRef.current) {
|
|
19792
19751
|
return;
|
|
@@ -19932,316 +19891,8 @@ function createPubSub() {
|
|
|
19932
19891
|
}
|
|
19933
19892
|
};
|
|
19934
19893
|
}
|
|
19935
|
-
const FloatingNodeContext = /* @__PURE__ */ reactExports.createContext(null);
|
|
19936
19894
|
const FloatingTreeContext = /* @__PURE__ */ reactExports.createContext(null);
|
|
19937
|
-
const useFloatingParentNodeId = () => {
|
|
19938
|
-
var _React$useContext;
|
|
19939
|
-
return ((_React$useContext = reactExports.useContext(FloatingNodeContext)) == null ? void 0 : _React$useContext.id) || null;
|
|
19940
|
-
};
|
|
19941
19895
|
const useFloatingTree = () => reactExports.useContext(FloatingTreeContext);
|
|
19942
|
-
function createAttribute(name) {
|
|
19943
|
-
return "data-floating-ui-" + name;
|
|
19944
|
-
}
|
|
19945
|
-
function useLatestRef(value) {
|
|
19946
|
-
const ref2 = reactExports.useRef(value);
|
|
19947
|
-
index(() => {
|
|
19948
|
-
ref2.current = value;
|
|
19949
|
-
});
|
|
19950
|
-
return ref2;
|
|
19951
|
-
}
|
|
19952
|
-
const safePolygonIdentifier = /* @__PURE__ */ createAttribute("safe-polygon");
|
|
19953
|
-
function getDelay(value, prop, pointerType) {
|
|
19954
|
-
if (pointerType && !isMouseLikePointerType(pointerType)) {
|
|
19955
|
-
return 0;
|
|
19956
|
-
}
|
|
19957
|
-
if (typeof value === "number") {
|
|
19958
|
-
return value;
|
|
19959
|
-
}
|
|
19960
|
-
return value == null ? void 0 : value[prop];
|
|
19961
|
-
}
|
|
19962
|
-
function useHover$1(context2, props) {
|
|
19963
|
-
if (props === void 0) {
|
|
19964
|
-
props = {};
|
|
19965
|
-
}
|
|
19966
|
-
const {
|
|
19967
|
-
open,
|
|
19968
|
-
onOpenChange,
|
|
19969
|
-
dataRef,
|
|
19970
|
-
events: events2,
|
|
19971
|
-
elements: {
|
|
19972
|
-
domReference,
|
|
19973
|
-
floating
|
|
19974
|
-
},
|
|
19975
|
-
refs
|
|
19976
|
-
} = context2;
|
|
19977
|
-
const {
|
|
19978
|
-
enabled = true,
|
|
19979
|
-
delay = 0,
|
|
19980
|
-
handleClose = null,
|
|
19981
|
-
mouseOnly = false,
|
|
19982
|
-
restMs = 0,
|
|
19983
|
-
move = true
|
|
19984
|
-
} = props;
|
|
19985
|
-
const tree = useFloatingTree();
|
|
19986
|
-
const parentId = useFloatingParentNodeId();
|
|
19987
|
-
const handleCloseRef = useLatestRef(handleClose);
|
|
19988
|
-
const delayRef = useLatestRef(delay);
|
|
19989
|
-
const pointerTypeRef = reactExports.useRef();
|
|
19990
|
-
const timeoutRef = reactExports.useRef();
|
|
19991
|
-
const handlerRef = reactExports.useRef();
|
|
19992
|
-
const restTimeoutRef = reactExports.useRef();
|
|
19993
|
-
const blockMouseMoveRef = reactExports.useRef(true);
|
|
19994
|
-
const performedPointerEventsMutationRef = reactExports.useRef(false);
|
|
19995
|
-
const unbindMouseMoveRef = reactExports.useRef(() => {
|
|
19996
|
-
});
|
|
19997
|
-
const isHoverOpen = reactExports.useCallback(() => {
|
|
19998
|
-
var _dataRef$current$open;
|
|
19999
|
-
const type2 = (_dataRef$current$open = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open.type;
|
|
20000
|
-
return (type2 == null ? void 0 : type2.includes("mouse")) && type2 !== "mousedown";
|
|
20001
|
-
}, [dataRef]);
|
|
20002
|
-
reactExports.useEffect(() => {
|
|
20003
|
-
if (!enabled) {
|
|
20004
|
-
return;
|
|
20005
|
-
}
|
|
20006
|
-
function onDismiss() {
|
|
20007
|
-
clearTimeout(timeoutRef.current);
|
|
20008
|
-
clearTimeout(restTimeoutRef.current);
|
|
20009
|
-
blockMouseMoveRef.current = true;
|
|
20010
|
-
}
|
|
20011
|
-
events2.on("dismiss", onDismiss);
|
|
20012
|
-
return () => {
|
|
20013
|
-
events2.off("dismiss", onDismiss);
|
|
20014
|
-
};
|
|
20015
|
-
}, [enabled, events2]);
|
|
20016
|
-
reactExports.useEffect(() => {
|
|
20017
|
-
if (!enabled || !handleCloseRef.current || !open) {
|
|
20018
|
-
return;
|
|
20019
|
-
}
|
|
20020
|
-
function onLeave(event) {
|
|
20021
|
-
if (isHoverOpen()) {
|
|
20022
|
-
onOpenChange(false, event);
|
|
20023
|
-
}
|
|
20024
|
-
}
|
|
20025
|
-
const html = getDocument$1(floating).documentElement;
|
|
20026
|
-
html.addEventListener("mouseleave", onLeave);
|
|
20027
|
-
return () => {
|
|
20028
|
-
html.removeEventListener("mouseleave", onLeave);
|
|
20029
|
-
};
|
|
20030
|
-
}, [floating, open, onOpenChange, enabled, handleCloseRef, dataRef, isHoverOpen]);
|
|
20031
|
-
const closeWithDelay = reactExports.useCallback(function(event, runElseBranch) {
|
|
20032
|
-
if (runElseBranch === void 0) {
|
|
20033
|
-
runElseBranch = true;
|
|
20034
|
-
}
|
|
20035
|
-
const closeDelay = getDelay(delayRef.current, "close", pointerTypeRef.current);
|
|
20036
|
-
if (closeDelay && !handlerRef.current) {
|
|
20037
|
-
clearTimeout(timeoutRef.current);
|
|
20038
|
-
timeoutRef.current = setTimeout(() => onOpenChange(false, event), closeDelay);
|
|
20039
|
-
} else if (runElseBranch) {
|
|
20040
|
-
clearTimeout(timeoutRef.current);
|
|
20041
|
-
onOpenChange(false, event);
|
|
20042
|
-
}
|
|
20043
|
-
}, [delayRef, onOpenChange]);
|
|
20044
|
-
const cleanupMouseMoveHandler = reactExports.useCallback(() => {
|
|
20045
|
-
unbindMouseMoveRef.current();
|
|
20046
|
-
handlerRef.current = void 0;
|
|
20047
|
-
}, []);
|
|
20048
|
-
const clearPointerEvents = reactExports.useCallback(() => {
|
|
20049
|
-
if (performedPointerEventsMutationRef.current) {
|
|
20050
|
-
const body = getDocument$1(refs.floating.current).body;
|
|
20051
|
-
body.style.pointerEvents = "";
|
|
20052
|
-
body.removeAttribute(safePolygonIdentifier);
|
|
20053
|
-
performedPointerEventsMutationRef.current = false;
|
|
20054
|
-
}
|
|
20055
|
-
}, [refs]);
|
|
20056
|
-
reactExports.useEffect(() => {
|
|
20057
|
-
if (!enabled) {
|
|
20058
|
-
return;
|
|
20059
|
-
}
|
|
20060
|
-
function isClickLikeOpenEvent() {
|
|
20061
|
-
return dataRef.current.openEvent ? ["click", "mousedown"].includes(dataRef.current.openEvent.type) : false;
|
|
20062
|
-
}
|
|
20063
|
-
function onMouseEnter(event) {
|
|
20064
|
-
clearTimeout(timeoutRef.current);
|
|
20065
|
-
blockMouseMoveRef.current = false;
|
|
20066
|
-
if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current) || restMs > 0 && getDelay(delayRef.current, "open") === 0) {
|
|
20067
|
-
return;
|
|
20068
|
-
}
|
|
20069
|
-
const openDelay = getDelay(delayRef.current, "open", pointerTypeRef.current);
|
|
20070
|
-
if (openDelay) {
|
|
20071
|
-
timeoutRef.current = setTimeout(() => {
|
|
20072
|
-
onOpenChange(true, event);
|
|
20073
|
-
}, openDelay);
|
|
20074
|
-
} else {
|
|
20075
|
-
onOpenChange(true, event);
|
|
20076
|
-
}
|
|
20077
|
-
}
|
|
20078
|
-
function onMouseLeave(event) {
|
|
20079
|
-
if (isClickLikeOpenEvent()) {
|
|
20080
|
-
return;
|
|
20081
|
-
}
|
|
20082
|
-
unbindMouseMoveRef.current();
|
|
20083
|
-
const doc = getDocument$1(floating);
|
|
20084
|
-
clearTimeout(restTimeoutRef.current);
|
|
20085
|
-
if (handleCloseRef.current) {
|
|
20086
|
-
if (!open) {
|
|
20087
|
-
clearTimeout(timeoutRef.current);
|
|
20088
|
-
}
|
|
20089
|
-
handlerRef.current = handleCloseRef.current({
|
|
20090
|
-
...context2,
|
|
20091
|
-
tree,
|
|
20092
|
-
x: event.clientX,
|
|
20093
|
-
y: event.clientY,
|
|
20094
|
-
onClose() {
|
|
20095
|
-
clearPointerEvents();
|
|
20096
|
-
cleanupMouseMoveHandler();
|
|
20097
|
-
closeWithDelay(event);
|
|
20098
|
-
}
|
|
20099
|
-
});
|
|
20100
|
-
const handler = handlerRef.current;
|
|
20101
|
-
doc.addEventListener("mousemove", handler);
|
|
20102
|
-
unbindMouseMoveRef.current = () => {
|
|
20103
|
-
doc.removeEventListener("mousemove", handler);
|
|
20104
|
-
};
|
|
20105
|
-
return;
|
|
20106
|
-
}
|
|
20107
|
-
const shouldClose = pointerTypeRef.current === "touch" ? !contains$1(floating, event.relatedTarget) : true;
|
|
20108
|
-
if (shouldClose) {
|
|
20109
|
-
closeWithDelay(event);
|
|
20110
|
-
}
|
|
20111
|
-
}
|
|
20112
|
-
function onScrollMouseLeave(event) {
|
|
20113
|
-
if (isClickLikeOpenEvent()) {
|
|
20114
|
-
return;
|
|
20115
|
-
}
|
|
20116
|
-
handleCloseRef.current == null ? void 0 : handleCloseRef.current({
|
|
20117
|
-
...context2,
|
|
20118
|
-
tree,
|
|
20119
|
-
x: event.clientX,
|
|
20120
|
-
y: event.clientY,
|
|
20121
|
-
onClose() {
|
|
20122
|
-
clearPointerEvents();
|
|
20123
|
-
cleanupMouseMoveHandler();
|
|
20124
|
-
closeWithDelay(event);
|
|
20125
|
-
}
|
|
20126
|
-
})(event);
|
|
20127
|
-
}
|
|
20128
|
-
if (isElement$3(domReference)) {
|
|
20129
|
-
const ref2 = domReference;
|
|
20130
|
-
open && ref2.addEventListener("mouseleave", onScrollMouseLeave);
|
|
20131
|
-
floating == null ? void 0 : floating.addEventListener("mouseleave", onScrollMouseLeave);
|
|
20132
|
-
move && ref2.addEventListener("mousemove", onMouseEnter, {
|
|
20133
|
-
once: true
|
|
20134
|
-
});
|
|
20135
|
-
ref2.addEventListener("mouseenter", onMouseEnter);
|
|
20136
|
-
ref2.addEventListener("mouseleave", onMouseLeave);
|
|
20137
|
-
return () => {
|
|
20138
|
-
open && ref2.removeEventListener("mouseleave", onScrollMouseLeave);
|
|
20139
|
-
floating == null ? void 0 : floating.removeEventListener("mouseleave", onScrollMouseLeave);
|
|
20140
|
-
move && ref2.removeEventListener("mousemove", onMouseEnter);
|
|
20141
|
-
ref2.removeEventListener("mouseenter", onMouseEnter);
|
|
20142
|
-
ref2.removeEventListener("mouseleave", onMouseLeave);
|
|
20143
|
-
};
|
|
20144
|
-
}
|
|
20145
|
-
}, [domReference, floating, enabled, context2, mouseOnly, restMs, move, closeWithDelay, cleanupMouseMoveHandler, clearPointerEvents, onOpenChange, open, tree, delayRef, handleCloseRef, dataRef]);
|
|
20146
|
-
index(() => {
|
|
20147
|
-
var _handleCloseRef$curre;
|
|
20148
|
-
if (!enabled) {
|
|
20149
|
-
return;
|
|
20150
|
-
}
|
|
20151
|
-
if (open && (_handleCloseRef$curre = handleCloseRef.current) != null && _handleCloseRef$curre.__options.blockPointerEvents && isHoverOpen()) {
|
|
20152
|
-
const body = getDocument$1(floating).body;
|
|
20153
|
-
body.setAttribute(safePolygonIdentifier, "");
|
|
20154
|
-
body.style.pointerEvents = "none";
|
|
20155
|
-
performedPointerEventsMutationRef.current = true;
|
|
20156
|
-
if (isElement$3(domReference) && floating) {
|
|
20157
|
-
var _tree$nodesRef$curren, _tree$nodesRef$curren2;
|
|
20158
|
-
const ref2 = domReference;
|
|
20159
|
-
const parentFloating = tree == null ? void 0 : (_tree$nodesRef$curren = tree.nodesRef.current.find((node) => node.id === parentId)) == null ? void 0 : (_tree$nodesRef$curren2 = _tree$nodesRef$curren.context) == null ? void 0 : _tree$nodesRef$curren2.elements.floating;
|
|
20160
|
-
if (parentFloating) {
|
|
20161
|
-
parentFloating.style.pointerEvents = "";
|
|
20162
|
-
}
|
|
20163
|
-
ref2.style.pointerEvents = "auto";
|
|
20164
|
-
floating.style.pointerEvents = "auto";
|
|
20165
|
-
return () => {
|
|
20166
|
-
ref2.style.pointerEvents = "";
|
|
20167
|
-
floating.style.pointerEvents = "";
|
|
20168
|
-
};
|
|
20169
|
-
}
|
|
20170
|
-
}
|
|
20171
|
-
}, [enabled, open, parentId, floating, domReference, tree, handleCloseRef, dataRef, isHoverOpen]);
|
|
20172
|
-
index(() => {
|
|
20173
|
-
if (!open) {
|
|
20174
|
-
pointerTypeRef.current = void 0;
|
|
20175
|
-
cleanupMouseMoveHandler();
|
|
20176
|
-
clearPointerEvents();
|
|
20177
|
-
}
|
|
20178
|
-
}, [open, cleanupMouseMoveHandler, clearPointerEvents]);
|
|
20179
|
-
reactExports.useEffect(() => {
|
|
20180
|
-
return () => {
|
|
20181
|
-
cleanupMouseMoveHandler();
|
|
20182
|
-
clearTimeout(timeoutRef.current);
|
|
20183
|
-
clearTimeout(restTimeoutRef.current);
|
|
20184
|
-
clearPointerEvents();
|
|
20185
|
-
};
|
|
20186
|
-
}, [enabled, domReference, cleanupMouseMoveHandler, clearPointerEvents]);
|
|
20187
|
-
return reactExports.useMemo(() => {
|
|
20188
|
-
if (!enabled) {
|
|
20189
|
-
return {};
|
|
20190
|
-
}
|
|
20191
|
-
function setPointerRef(event) {
|
|
20192
|
-
pointerTypeRef.current = event.pointerType;
|
|
20193
|
-
}
|
|
20194
|
-
return {
|
|
20195
|
-
reference: {
|
|
20196
|
-
onPointerDown: setPointerRef,
|
|
20197
|
-
onPointerEnter: setPointerRef,
|
|
20198
|
-
onMouseMove(event) {
|
|
20199
|
-
if (open || restMs === 0) {
|
|
20200
|
-
return;
|
|
20201
|
-
}
|
|
20202
|
-
clearTimeout(restTimeoutRef.current);
|
|
20203
|
-
restTimeoutRef.current = setTimeout(() => {
|
|
20204
|
-
if (!blockMouseMoveRef.current) {
|
|
20205
|
-
onOpenChange(true, event.nativeEvent);
|
|
20206
|
-
}
|
|
20207
|
-
}, restMs);
|
|
20208
|
-
}
|
|
20209
|
-
},
|
|
20210
|
-
floating: {
|
|
20211
|
-
onMouseEnter() {
|
|
20212
|
-
clearTimeout(timeoutRef.current);
|
|
20213
|
-
},
|
|
20214
|
-
onMouseLeave(event) {
|
|
20215
|
-
events2.emit("dismiss", {
|
|
20216
|
-
type: "mouseLeave",
|
|
20217
|
-
data: {
|
|
20218
|
-
returnFocus: false
|
|
20219
|
-
}
|
|
20220
|
-
});
|
|
20221
|
-
closeWithDelay(event.nativeEvent, false);
|
|
20222
|
-
}
|
|
20223
|
-
}
|
|
20224
|
-
};
|
|
20225
|
-
}, [events2, enabled, restMs, open, onOpenChange, closeWithDelay]);
|
|
20226
|
-
}
|
|
20227
|
-
function getChildren$1(nodes, id2) {
|
|
20228
|
-
let allChildren = nodes.filter((node) => {
|
|
20229
|
-
var _node$context;
|
|
20230
|
-
return node.parentId === id2 && ((_node$context = node.context) == null ? void 0 : _node$context.open);
|
|
20231
|
-
});
|
|
20232
|
-
let currentChildren = allChildren;
|
|
20233
|
-
while (currentChildren.length) {
|
|
20234
|
-
currentChildren = nodes.filter((node) => {
|
|
20235
|
-
var _currentChildren;
|
|
20236
|
-
return (_currentChildren = currentChildren) == null ? void 0 : _currentChildren.some((n2) => {
|
|
20237
|
-
var _node$context2;
|
|
20238
|
-
return node.parentId === n2.id && ((_node$context2 = node.context) == null ? void 0 : _node$context2.open);
|
|
20239
|
-
});
|
|
20240
|
-
});
|
|
20241
|
-
allChildren = allChildren.concat(currentChildren);
|
|
20242
|
-
}
|
|
20243
|
-
return allChildren;
|
|
20244
|
-
}
|
|
20245
19896
|
const useInsertionEffect = React$1[/* @__PURE__ */ "useInsertionEffect".toString()];
|
|
20246
19897
|
const useSafeInsertionEffect = useInsertionEffect || ((fn2) => fn2());
|
|
20247
19898
|
function useEffectEvent(callback) {
|
|
@@ -20334,190 +19985,6 @@ function useFloating(options) {
|
|
|
20334
19985
|
elements
|
|
20335
19986
|
}), [position, refs, elements, context2]);
|
|
20336
19987
|
}
|
|
20337
|
-
function isPointInPolygon(point, polygon) {
|
|
20338
|
-
const [x2, y2] = point;
|
|
20339
|
-
let isInside2 = false;
|
|
20340
|
-
const length = polygon.length;
|
|
20341
|
-
for (let i2 = 0, j2 = length - 1; i2 < length; j2 = i2++) {
|
|
20342
|
-
const [xi2, yi2] = polygon[i2] || [0, 0];
|
|
20343
|
-
const [xj2, yj2] = polygon[j2] || [0, 0];
|
|
20344
|
-
const intersect = yi2 >= y2 !== yj2 >= y2 && x2 <= (xj2 - xi2) * (y2 - yi2) / (yj2 - yi2) + xi2;
|
|
20345
|
-
if (intersect) {
|
|
20346
|
-
isInside2 = !isInside2;
|
|
20347
|
-
}
|
|
20348
|
-
}
|
|
20349
|
-
return isInside2;
|
|
20350
|
-
}
|
|
20351
|
-
function isInside(point, rect) {
|
|
20352
|
-
return point[0] >= rect.x && point[0] <= rect.x + rect.width && point[1] >= rect.y && point[1] <= rect.y + rect.height;
|
|
20353
|
-
}
|
|
20354
|
-
function safePolygon(options) {
|
|
20355
|
-
if (options === void 0) {
|
|
20356
|
-
options = {};
|
|
20357
|
-
}
|
|
20358
|
-
const {
|
|
20359
|
-
buffer = 0.5,
|
|
20360
|
-
blockPointerEvents = false,
|
|
20361
|
-
requireIntent = true
|
|
20362
|
-
} = options;
|
|
20363
|
-
let timeoutId2;
|
|
20364
|
-
let hasLanded = false;
|
|
20365
|
-
let lastX = null;
|
|
20366
|
-
let lastY = null;
|
|
20367
|
-
let lastCursorTime = performance.now();
|
|
20368
|
-
function getCursorSpeed(x2, y2) {
|
|
20369
|
-
const currentTime = performance.now();
|
|
20370
|
-
const elapsedTime = currentTime - lastCursorTime;
|
|
20371
|
-
if (lastX === null || lastY === null || elapsedTime === 0) {
|
|
20372
|
-
lastX = x2;
|
|
20373
|
-
lastY = y2;
|
|
20374
|
-
lastCursorTime = currentTime;
|
|
20375
|
-
return null;
|
|
20376
|
-
}
|
|
20377
|
-
const deltaX = x2 - lastX;
|
|
20378
|
-
const deltaY = y2 - lastY;
|
|
20379
|
-
const distance = Math.sqrt(deltaX * deltaX + deltaY * deltaY);
|
|
20380
|
-
const speed = distance / elapsedTime;
|
|
20381
|
-
lastX = x2;
|
|
20382
|
-
lastY = y2;
|
|
20383
|
-
lastCursorTime = currentTime;
|
|
20384
|
-
return speed;
|
|
20385
|
-
}
|
|
20386
|
-
const fn2 = (_ref) => {
|
|
20387
|
-
let {
|
|
20388
|
-
x: x2,
|
|
20389
|
-
y: y2,
|
|
20390
|
-
placement,
|
|
20391
|
-
elements,
|
|
20392
|
-
onClose,
|
|
20393
|
-
nodeId,
|
|
20394
|
-
tree
|
|
20395
|
-
} = _ref;
|
|
20396
|
-
return function onMouseMove(event) {
|
|
20397
|
-
function close() {
|
|
20398
|
-
clearTimeout(timeoutId2);
|
|
20399
|
-
onClose();
|
|
20400
|
-
}
|
|
20401
|
-
clearTimeout(timeoutId2);
|
|
20402
|
-
if (!elements.domReference || !elements.floating || placement == null || x2 == null || y2 == null) {
|
|
20403
|
-
return;
|
|
20404
|
-
}
|
|
20405
|
-
const {
|
|
20406
|
-
clientX,
|
|
20407
|
-
clientY
|
|
20408
|
-
} = event;
|
|
20409
|
-
const clientPoint = [clientX, clientY];
|
|
20410
|
-
const target = getTarget(event);
|
|
20411
|
-
const isLeave = event.type === "mouseleave";
|
|
20412
|
-
const isOverFloatingEl = contains$1(elements.floating, target);
|
|
20413
|
-
const isOverReferenceEl = contains$1(elements.domReference, target);
|
|
20414
|
-
const refRect = elements.domReference.getBoundingClientRect();
|
|
20415
|
-
const rect = elements.floating.getBoundingClientRect();
|
|
20416
|
-
const side = placement.split("-")[0];
|
|
20417
|
-
const cursorLeaveFromRight = x2 > rect.right - rect.width / 2;
|
|
20418
|
-
const cursorLeaveFromBottom = y2 > rect.bottom - rect.height / 2;
|
|
20419
|
-
const isOverReferenceRect = isInside(clientPoint, refRect);
|
|
20420
|
-
const isFloatingWider = rect.width > refRect.width;
|
|
20421
|
-
const isFloatingTaller = rect.height > refRect.height;
|
|
20422
|
-
const left2 = (isFloatingWider ? refRect : rect).left;
|
|
20423
|
-
const right2 = (isFloatingWider ? refRect : rect).right;
|
|
20424
|
-
const top2 = (isFloatingTaller ? refRect : rect).top;
|
|
20425
|
-
const bottom2 = (isFloatingTaller ? refRect : rect).bottom;
|
|
20426
|
-
if (isOverFloatingEl) {
|
|
20427
|
-
hasLanded = true;
|
|
20428
|
-
if (!isLeave) {
|
|
20429
|
-
return;
|
|
20430
|
-
}
|
|
20431
|
-
}
|
|
20432
|
-
if (isOverReferenceEl) {
|
|
20433
|
-
hasLanded = false;
|
|
20434
|
-
}
|
|
20435
|
-
if (isOverReferenceEl && !isLeave) {
|
|
20436
|
-
hasLanded = true;
|
|
20437
|
-
return;
|
|
20438
|
-
}
|
|
20439
|
-
if (isLeave && isElement$3(event.relatedTarget) && contains$1(elements.floating, event.relatedTarget)) {
|
|
20440
|
-
return;
|
|
20441
|
-
}
|
|
20442
|
-
if (tree && getChildren$1(tree.nodesRef.current, nodeId).some((_ref2) => {
|
|
20443
|
-
let {
|
|
20444
|
-
context: context2
|
|
20445
|
-
} = _ref2;
|
|
20446
|
-
return context2 == null ? void 0 : context2.open;
|
|
20447
|
-
})) {
|
|
20448
|
-
return;
|
|
20449
|
-
}
|
|
20450
|
-
if (side === "top" && y2 >= refRect.bottom - 1 || side === "bottom" && y2 <= refRect.top + 1 || side === "left" && x2 >= refRect.right - 1 || side === "right" && x2 <= refRect.left + 1) {
|
|
20451
|
-
return close();
|
|
20452
|
-
}
|
|
20453
|
-
let rectPoly = [];
|
|
20454
|
-
switch (side) {
|
|
20455
|
-
case "top":
|
|
20456
|
-
rectPoly = [[left2, refRect.top + 1], [left2, rect.bottom - 1], [right2, rect.bottom - 1], [right2, refRect.top + 1]];
|
|
20457
|
-
break;
|
|
20458
|
-
case "bottom":
|
|
20459
|
-
rectPoly = [[left2, rect.top + 1], [left2, refRect.bottom - 1], [right2, refRect.bottom - 1], [right2, rect.top + 1]];
|
|
20460
|
-
break;
|
|
20461
|
-
case "left":
|
|
20462
|
-
rectPoly = [[rect.right - 1, bottom2], [rect.right - 1, top2], [refRect.left + 1, top2], [refRect.left + 1, bottom2]];
|
|
20463
|
-
break;
|
|
20464
|
-
case "right":
|
|
20465
|
-
rectPoly = [[refRect.right - 1, bottom2], [refRect.right - 1, top2], [rect.left + 1, top2], [rect.left + 1, bottom2]];
|
|
20466
|
-
break;
|
|
20467
|
-
}
|
|
20468
|
-
function getPolygon(_ref3) {
|
|
20469
|
-
let [x22, y22] = _ref3;
|
|
20470
|
-
switch (side) {
|
|
20471
|
-
case "top": {
|
|
20472
|
-
const cursorPointOne = [isFloatingWider ? x22 + buffer / 2 : cursorLeaveFromRight ? x22 + buffer * 4 : x22 - buffer * 4, y22 + buffer + 1];
|
|
20473
|
-
const cursorPointTwo = [isFloatingWider ? x22 - buffer / 2 : cursorLeaveFromRight ? x22 + buffer * 4 : x22 - buffer * 4, y22 + buffer + 1];
|
|
20474
|
-
const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.bottom - buffer : isFloatingWider ? rect.bottom - buffer : rect.top], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.bottom - buffer : rect.top : rect.bottom - buffer]];
|
|
20475
|
-
return [cursorPointOne, cursorPointTwo, ...commonPoints];
|
|
20476
|
-
}
|
|
20477
|
-
case "bottom": {
|
|
20478
|
-
const cursorPointOne = [isFloatingWider ? x22 + buffer / 2 : cursorLeaveFromRight ? x22 + buffer * 4 : x22 - buffer * 4, y22 - buffer];
|
|
20479
|
-
const cursorPointTwo = [isFloatingWider ? x22 - buffer / 2 : cursorLeaveFromRight ? x22 + buffer * 4 : x22 - buffer * 4, y22 - buffer];
|
|
20480
|
-
const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.top + buffer : isFloatingWider ? rect.top + buffer : rect.bottom], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.top + buffer : rect.bottom : rect.top + buffer]];
|
|
20481
|
-
return [cursorPointOne, cursorPointTwo, ...commonPoints];
|
|
20482
|
-
}
|
|
20483
|
-
case "left": {
|
|
20484
|
-
const cursorPointOne = [x22 + buffer + 1, isFloatingTaller ? y22 + buffer / 2 : cursorLeaveFromBottom ? y22 + buffer * 4 : y22 - buffer * 4];
|
|
20485
|
-
const cursorPointTwo = [x22 + buffer + 1, isFloatingTaller ? y22 - buffer / 2 : cursorLeaveFromBottom ? y22 + buffer * 4 : y22 - buffer * 4];
|
|
20486
|
-
const commonPoints = [[cursorLeaveFromBottom ? rect.right - buffer : isFloatingTaller ? rect.right - buffer : rect.left, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.right - buffer : rect.left : rect.right - buffer, rect.bottom]];
|
|
20487
|
-
return [...commonPoints, cursorPointOne, cursorPointTwo];
|
|
20488
|
-
}
|
|
20489
|
-
case "right": {
|
|
20490
|
-
const cursorPointOne = [x22 - buffer, isFloatingTaller ? y22 + buffer / 2 : cursorLeaveFromBottom ? y22 + buffer * 4 : y22 - buffer * 4];
|
|
20491
|
-
const cursorPointTwo = [x22 - buffer, isFloatingTaller ? y22 - buffer / 2 : cursorLeaveFromBottom ? y22 + buffer * 4 : y22 - buffer * 4];
|
|
20492
|
-
const commonPoints = [[cursorLeaveFromBottom ? rect.left + buffer : isFloatingTaller ? rect.left + buffer : rect.right, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.left + buffer : rect.right : rect.left + buffer, rect.bottom]];
|
|
20493
|
-
return [cursorPointOne, cursorPointTwo, ...commonPoints];
|
|
20494
|
-
}
|
|
20495
|
-
}
|
|
20496
|
-
}
|
|
20497
|
-
if (isPointInPolygon([clientX, clientY], rectPoly)) {
|
|
20498
|
-
return;
|
|
20499
|
-
} else if (hasLanded && !isOverReferenceRect) {
|
|
20500
|
-
return close();
|
|
20501
|
-
}
|
|
20502
|
-
if (!isLeave && requireIntent) {
|
|
20503
|
-
const cursorSpeed = getCursorSpeed(event.clientX, event.clientY);
|
|
20504
|
-
const cursorSpeedThreshold = 0.1;
|
|
20505
|
-
if (cursorSpeed !== null && cursorSpeed < cursorSpeedThreshold) {
|
|
20506
|
-
return close();
|
|
20507
|
-
}
|
|
20508
|
-
}
|
|
20509
|
-
if (!isPointInPolygon([clientX, clientY], getPolygon([x2, y2]))) {
|
|
20510
|
-
close();
|
|
20511
|
-
} else if (!hasLanded && requireIntent) {
|
|
20512
|
-
timeoutId2 = window.setTimeout(close, 40);
|
|
20513
|
-
}
|
|
20514
|
-
};
|
|
20515
|
-
};
|
|
20516
|
-
fn2.__options = {
|
|
20517
|
-
blockPointerEvents
|
|
20518
|
-
};
|
|
20519
|
-
return fn2;
|
|
20520
|
-
}
|
|
20521
19988
|
var __defProp2 = Object.defineProperty;
|
|
20522
19989
|
var __export = (target, all) => {
|
|
20523
19990
|
for (var name in all)
|
|
@@ -56804,11 +56271,10 @@ function useDebounce(value, delay) {
|
|
|
56804
56271
|
};
|
|
56805
56272
|
}, [value, delay]), debouncedValue;
|
|
56806
56273
|
}
|
|
56807
|
-
const useDropdown = (placement, extraTriggerKeyDownHandler
|
|
56274
|
+
const useDropdown = (placement, extraTriggerKeyDownHandler) => {
|
|
56808
56275
|
const id2 = reactExports.useId(), [visible, setVisible] = reactExports.useState(false), [activeIndex, setActiveIndex] = reactExports.useState(-1), [isFocused, setIsFocused] = reactExports.useState(null), {
|
|
56809
56276
|
refs,
|
|
56810
|
-
floatingStyles
|
|
56811
|
-
context: context2
|
|
56277
|
+
floatingStyles
|
|
56812
56278
|
} = useFloating({
|
|
56813
56279
|
placement,
|
|
56814
56280
|
open: visible,
|
|
@@ -56824,16 +56290,7 @@ const useDropdown = (placement, extraTriggerKeyDownHandler, isTriggerHovered = f
|
|
|
56824
56290
|
}), flip$2({
|
|
56825
56291
|
padding: 0
|
|
56826
56292
|
})]
|
|
56827
|
-
});
|
|
56828
|
-
useHover$1(context2, {
|
|
56829
|
-
enabled: isTriggerHovered,
|
|
56830
|
-
// Configure the delay for opening and closing separately.
|
|
56831
|
-
delay: {
|
|
56832
|
-
open: 200
|
|
56833
|
-
},
|
|
56834
|
-
handleClose: safePolygon()
|
|
56835
|
-
});
|
|
56836
|
-
const menuRef = reactExports.useRef(null), triggerRef = reactExports.useRef(null), itemRefs = reactExports.useRef({});
|
|
56293
|
+
}), menuRef = reactExports.useRef(null), triggerRef = reactExports.useRef(null), itemRefs = reactExports.useRef({});
|
|
56837
56294
|
reactExports.useEffect(() => {
|
|
56838
56295
|
visible ? menuRef.current && (menuRef.current.focus(), setActiveIndex(0)) : (setActiveIndex(-1), itemRefs.current = {});
|
|
56839
56296
|
}, [visible]), reactExports.useEffect(() => {
|
|
@@ -56941,7 +56398,7 @@ const useDropdown = (placement, extraTriggerKeyDownHandler, isTriggerHovered = f
|
|
|
56941
56398
|
/* MenuProps to spread to any Menu Component */
|
|
56942
56399
|
menuProps: {
|
|
56943
56400
|
ref: mergeRefs(menuRef, refs.setFloating),
|
|
56944
|
-
className: "dropdown-menu",
|
|
56401
|
+
className: "dropdown-menu bg-white shadow rounded-4 p-8",
|
|
56945
56402
|
"aria-labelledby": `dropdown-toggle-${id2}`,
|
|
56946
56403
|
style: {
|
|
56947
56404
|
...floatingStyles
|
|
@@ -57476,355 +56933,7 @@ const Image$1 = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
57476
56933
|
width: size2 + "px",
|
|
57477
56934
|
height: size2 + "px"
|
|
57478
56935
|
}, children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { ref: ref2, width: size2, height: size2, role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntimeExports.jsx("use", { xlinkHref: `${iconPath}/apps.svg#${appCode}` }) }) });
|
|
57479
|
-
}), AppIcon$1 = AppIcon,
|
|
57480
|
-
ariaLabelId: "",
|
|
57481
|
-
ariaDescriptionId: "",
|
|
57482
|
-
focusId: ""
|
|
57483
|
-
}), useModalContext = () => {
|
|
57484
|
-
const context2 = reactExports.useContext(ModalContext);
|
|
57485
|
-
if (!context2)
|
|
57486
|
-
throw new Error("Cannot be rendered outside the Modal component");
|
|
57487
|
-
return context2;
|
|
57488
|
-
}, ModalBody = (props) => {
|
|
57489
|
-
const {
|
|
57490
|
-
ariaDescriptionId
|
|
57491
|
-
} = useModalContext(), {
|
|
57492
|
-
children,
|
|
57493
|
-
className
|
|
57494
|
-
} = props, classes2 = clsx("modal-body", className);
|
|
57495
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: ariaDescriptionId, className: classes2, children });
|
|
57496
|
-
}, ModalBody$1 = ModalBody, ModalFooter = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal-footer", children: props.children }), ModalFooter$1 = ModalFooter, ModalHeader = (props) => {
|
|
57497
|
-
const {
|
|
57498
|
-
onModalClose,
|
|
57499
|
-
children
|
|
57500
|
-
} = props, {
|
|
57501
|
-
ariaLabelId,
|
|
57502
|
-
focusId
|
|
57503
|
-
} = useModalContext(), closeButtonRef = reactExports.useRef(null), {
|
|
57504
|
-
t: t2
|
|
57505
|
-
} = useTranslation();
|
|
57506
|
-
return reactExports.useEffect(() => {
|
|
57507
|
-
var _a2;
|
|
57508
|
-
focusId || (_a2 = closeButtonRef.current) == null || _a2.focus();
|
|
57509
|
-
}, [focusId]), /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "modal-header", children: [
|
|
57510
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { id: ariaLabelId, className: "modal-title", tabIndex: -1, children }),
|
|
57511
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { ref: closeButtonRef, "aria-label": t2("close"), color: "tertiary", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgClose$1, {}), type: "button", variant: "ghost", title: t2("close"), onClick: onModalClose, className: "btn-close" })
|
|
57512
|
-
] });
|
|
57513
|
-
}, ModalHeader$1 = ModalHeader, ModalSubtitle = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "modal-subtitle", children: props.children }), ModalSubtitle$1 = ModalSubtitle, Root$3 = /* @__PURE__ */ reactExports.forwardRef((props, ref2) => {
|
|
57514
|
-
const {
|
|
57515
|
-
id: id2,
|
|
57516
|
-
isOpen,
|
|
57517
|
-
onModalClose,
|
|
57518
|
-
size: size2 = "md",
|
|
57519
|
-
viewport: viewport2 = false,
|
|
57520
|
-
scrollable = false,
|
|
57521
|
-
focusId,
|
|
57522
|
-
children
|
|
57523
|
-
} = props, ariaLabelId = `aria_label_${id2}`, ariaDescriptionId = `aria_desc_${id2}`, modalRef = useClickOutside(onModalClose), trapRef = useTrapFocus();
|
|
57524
|
-
useKeyPress(onModalClose, ["Escape"]), reactExports.useEffect(() => {
|
|
57525
|
-
if (isOpen && (document.body.style.overflow = "hidden", focusId)) {
|
|
57526
|
-
const elem = document.getElementById(focusId);
|
|
57527
|
-
elem == null || elem.focus();
|
|
57528
|
-
}
|
|
57529
|
-
return () => {
|
|
57530
|
-
document.body.style.overflow = "";
|
|
57531
|
-
};
|
|
57532
|
-
}, [focusId, isOpen]);
|
|
57533
|
-
const modalClasses = clsx("modal fade", {
|
|
57534
|
-
"show d-block": isOpen,
|
|
57535
|
-
"modal-scrollable": scrollable,
|
|
57536
|
-
viewport: viewport2,
|
|
57537
|
-
[`modal-${size2}`]: size2
|
|
57538
|
-
}), dialogClasses = clsx("modal-dialog"), modalContextValue = {
|
|
57539
|
-
ariaLabelId,
|
|
57540
|
-
ariaDescriptionId,
|
|
57541
|
-
focusId
|
|
57542
|
-
}, transition2 = useTransition(isOpen, {
|
|
57543
|
-
from: {
|
|
57544
|
-
x: -50,
|
|
57545
|
-
opacity: 0
|
|
57546
|
-
},
|
|
57547
|
-
enter: {
|
|
57548
|
-
x: 0,
|
|
57549
|
-
opacity: 1
|
|
57550
|
-
},
|
|
57551
|
-
leave: {
|
|
57552
|
-
x: 50,
|
|
57553
|
-
opacity: 0
|
|
57554
|
-
}
|
|
57555
|
-
});
|
|
57556
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(ModalContext.Provider, { value: modalContextValue, children: transition2((style, isOpen2) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
57557
|
-
isOpen2 && /* @__PURE__ */ jsxRuntimeExports.jsx(animated.div, { id: id2, ref: ref2, role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelId, "aria-describedby": ariaDescriptionId, className: modalClasses, style, tabIndex: -1, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: `${id2}_ref`, ref: (node) => {
|
|
57558
|
-
modalRef.current = node, isOpen2 && (trapRef.current = node);
|
|
57559
|
-
}, className: dialogClasses, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal-content", children }) }) }),
|
|
57560
|
-
isOpen2 && /* @__PURE__ */ jsxRuntimeExports.jsx(animated.div, { className: "modal-backdrop fade show", style: {
|
|
57561
|
-
opacity: 0.65
|
|
57562
|
-
} })
|
|
57563
|
-
] })) });
|
|
57564
|
-
}), Modal = /* @__PURE__ */ Object.assign(Root$3, {
|
|
57565
|
-
Header: ModalHeader$1,
|
|
57566
|
-
Subtitle: ModalSubtitle$1,
|
|
57567
|
-
Body: ModalBody$1,
|
|
57568
|
-
Footer: ModalFooter$1
|
|
57569
|
-
}), Modal$1 = Modal;
|
|
57570
|
-
const DropdownContext = /* @__PURE__ */ reactExports.createContext(null), useDropdownContext = () => {
|
|
57571
|
-
const context2 = reactExports.useContext(DropdownContext);
|
|
57572
|
-
if (!context2)
|
|
57573
|
-
throw new Error("Cannot be rendered outside the Dropdown Component");
|
|
57574
|
-
return context2;
|
|
57575
|
-
}, Checkbox = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57576
|
-
label,
|
|
57577
|
-
disabled = false,
|
|
57578
|
-
checked = false,
|
|
57579
|
-
indeterminate = false,
|
|
57580
|
-
...restProps
|
|
57581
|
-
}, ref2) => {
|
|
57582
|
-
const refCheckbox = reactExports.useRef(null);
|
|
57583
|
-
reactExports.useImperativeHandle(ref2, () => ({
|
|
57584
|
-
...refCheckbox.current
|
|
57585
|
-
})), reactExports.useEffect(() => {
|
|
57586
|
-
refCheckbox.current.indeterminate = indeterminate;
|
|
57587
|
-
}, [refCheckbox, indeterminate]);
|
|
57588
|
-
const id2 = reactExports.useId(), checkboxProps = {
|
|
57589
|
-
type: "checkbox",
|
|
57590
|
-
checked,
|
|
57591
|
-
disabled,
|
|
57592
|
-
ref: refCheckbox,
|
|
57593
|
-
className: clsx(restProps.className, "form-check-input c-pointer"),
|
|
57594
|
-
id: id2
|
|
57595
|
-
}, inputProps = {
|
|
57596
|
-
...restProps,
|
|
57597
|
-
...checkboxProps
|
|
57598
|
-
};
|
|
57599
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "form-check d-flex align-items-center gap-8", children: [
|
|
57600
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("input", { ...inputProps }),
|
|
57601
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "form-check-label", htmlFor: inputProps.id, children: label })
|
|
57602
|
-
] });
|
|
57603
|
-
}), Checkbox$1 = Checkbox, DropdownCheckboxItem = ({
|
|
57604
|
-
children,
|
|
57605
|
-
value,
|
|
57606
|
-
model,
|
|
57607
|
-
onChange
|
|
57608
|
-
}) => {
|
|
57609
|
-
const {
|
|
57610
|
-
itemProps,
|
|
57611
|
-
itemRefs,
|
|
57612
|
-
isFocused
|
|
57613
|
-
} = useDropdownContext(), {
|
|
57614
|
-
onMenuItemKeyDown,
|
|
57615
|
-
onMenuItemMouseEnter
|
|
57616
|
-
} = itemProps, id2 = reactExports.useId(), checked = model.includes(value), checkboxProps = {
|
|
57617
|
-
value,
|
|
57618
|
-
model,
|
|
57619
|
-
checked,
|
|
57620
|
-
readOnly: true
|
|
57621
|
-
}, dropdownCheckboxItem = clsx("dropdown-item c-pointer", {
|
|
57622
|
-
focus: isFocused === id2
|
|
57623
|
-
});
|
|
57624
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: id2, ref: (el2) => itemRefs.current[id2] = el2, role: "menuitemcheckbox", "aria-checked": checked, onMouseUp: () => onChange(value), onKeyDown: (event) => onMenuItemKeyDown(event, () => onChange(value)), onMouseEnter: onMenuItemMouseEnter, tabIndex: checked ? 0 : -1, className: dropdownCheckboxItem, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "d-flex gap-8 align-items-center justify-content-between position-relative", children: [
|
|
57625
|
-
children,
|
|
57626
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox$1, { ...checkboxProps })
|
|
57627
|
-
] }) });
|
|
57628
|
-
}, DropdownCheckboxItem$1 = DropdownCheckboxItem, DropdownItem = ({
|
|
57629
|
-
type: type2 = "action",
|
|
57630
|
-
icon,
|
|
57631
|
-
onClick: onClick2,
|
|
57632
|
-
children,
|
|
57633
|
-
className,
|
|
57634
|
-
...restProps
|
|
57635
|
-
}) => {
|
|
57636
|
-
const {
|
|
57637
|
-
itemProps,
|
|
57638
|
-
itemRefs,
|
|
57639
|
-
isFocused
|
|
57640
|
-
} = useDropdownContext(), {
|
|
57641
|
-
onMenuItemKeyDown,
|
|
57642
|
-
onMenuItemMouseEnter,
|
|
57643
|
-
onMenuItemClick
|
|
57644
|
-
} = itemProps, handleOnClick = (event) => {
|
|
57645
|
-
onClick2 == null || onClick2(event), type2 === "action" && (onMenuItemClick(), event.stopPropagation());
|
|
57646
|
-
}, id2 = reactExports.useId(), dropdownItem = clsx("dropdown-item", {
|
|
57647
|
-
focus: isFocused === id2
|
|
57648
|
-
}, className);
|
|
57649
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: id2, role: "menuitem", ref: (el2) => itemRefs.current[id2] = el2, tabIndex: isFocused === id2 ? 0 : -1, className: dropdownItem, "aria-current": isFocused === id2, onClick: handleOnClick, onMouseEnter: onMenuItemMouseEnter, onKeyDown: (event) => onMenuItemKeyDown(event, onClick2), ...restProps, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "d-flex gap-8 align-items-center", children: [
|
|
57650
|
-
icon,
|
|
57651
|
-
children
|
|
57652
|
-
] }) });
|
|
57653
|
-
}, DropdownItem$1 = DropdownItem, DropdownMenu = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57654
|
-
children,
|
|
57655
|
-
block,
|
|
57656
|
-
unstyled,
|
|
57657
|
-
...restProps
|
|
57658
|
-
}, forwardRef2) => {
|
|
57659
|
-
const {
|
|
57660
|
-
menuProps,
|
|
57661
|
-
visible
|
|
57662
|
-
} = useDropdownContext(), className = clsx({
|
|
57663
|
-
"w-100": block,
|
|
57664
|
-
"bg-white shadow rounded-4 p-8": !unstyled
|
|
57665
|
-
}, menuProps.className, restProps.className), mergedProps = {
|
|
57666
|
-
...menuProps,
|
|
57667
|
-
...restProps,
|
|
57668
|
-
className
|
|
57669
|
-
};
|
|
57670
|
-
return visible ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: forwardRef2, ...mergedProps, children }) : null;
|
|
57671
|
-
}), DropdownMenu$1 = DropdownMenu, DropdownMenuGroup = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57672
|
-
label,
|
|
57673
|
-
children
|
|
57674
|
-
}, forwardRef2) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: forwardRef2, role: "group", children: [
|
|
57675
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "small px-4", children: /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: label }) }),
|
|
57676
|
-
children
|
|
57677
|
-
] })), DropdownMenuGroup$1 = DropdownMenuGroup, Radio = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57678
|
-
model,
|
|
57679
|
-
icon,
|
|
57680
|
-
label = false,
|
|
57681
|
-
disabled = false,
|
|
57682
|
-
checked,
|
|
57683
|
-
...restProps
|
|
57684
|
-
}, ref2) => {
|
|
57685
|
-
const id2 = reactExports.useId(), radioProps = {
|
|
57686
|
-
type: "radio",
|
|
57687
|
-
checked,
|
|
57688
|
-
disabled,
|
|
57689
|
-
ref: ref2,
|
|
57690
|
-
className: clsx(restProps.className, "form-check-input c-pointer", icon && "d-none"),
|
|
57691
|
-
id: id2
|
|
57692
|
-
}, inputProps = {
|
|
57693
|
-
...restProps,
|
|
57694
|
-
...radioProps
|
|
57695
|
-
};
|
|
57696
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("form-check d-flex align-items-center gap-8", icon && "ps-0"), children: [
|
|
57697
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("input", { ...inputProps }),
|
|
57698
|
-
icon && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: inputProps.id, className: clsx("c-pointer", model !== restProps.value && "text-muted"), children: icon }),
|
|
57699
|
-
!icon && label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "form-check-label", htmlFor: inputProps.id, children: label })
|
|
57700
|
-
] });
|
|
57701
|
-
}), Radio$1 = Radio, DropdownRadioItem = ({
|
|
57702
|
-
children,
|
|
57703
|
-
value,
|
|
57704
|
-
model,
|
|
57705
|
-
onChange
|
|
57706
|
-
}) => {
|
|
57707
|
-
const {
|
|
57708
|
-
itemProps,
|
|
57709
|
-
itemRefs,
|
|
57710
|
-
isFocused
|
|
57711
|
-
} = useDropdownContext(), {
|
|
57712
|
-
onMenuItemKeyDown,
|
|
57713
|
-
onMenuItemMouseEnter
|
|
57714
|
-
} = itemProps, id2 = reactExports.useId(), radioProps = {
|
|
57715
|
-
value,
|
|
57716
|
-
model,
|
|
57717
|
-
checked: value === model,
|
|
57718
|
-
readOnly: true
|
|
57719
|
-
}, dropdownRadioItem = clsx("dropdown-item c-pointer", {
|
|
57720
|
-
focus: isFocused === id2
|
|
57721
|
-
});
|
|
57722
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: id2, ref: (el2) => itemRefs.current[id2] = el2, role: "menuitemradio", "aria-checked": value === model, onMouseUp: () => onChange(value), onKeyDown: (event) => onMenuItemKeyDown(event, () => onChange(value)), onMouseEnter: onMenuItemMouseEnter, tabIndex: value === model ? 0 : -1, className: dropdownRadioItem, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "d-flex gap-8 align-items-center justify-content-between position-relative", children: [
|
|
57723
|
-
children,
|
|
57724
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Radio$1, { ...radioProps, className: "position-absolute start-0 end-0 top-0 bottom-0 opacity-0" })
|
|
57725
|
-
] }) });
|
|
57726
|
-
}, DropdownRadioItem$1 = DropdownRadioItem, DropdownSeparator = () => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { role: "separator", className: "px-4", children: /* @__PURE__ */ jsxRuntimeExports.jsx("hr", { className: "m-0" }) }), DropdownSeparator$1 = DropdownSeparator, DropdownTrigger = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57727
|
-
label,
|
|
57728
|
-
icon,
|
|
57729
|
-
variant,
|
|
57730
|
-
disabled = false,
|
|
57731
|
-
size: size2,
|
|
57732
|
-
badgeContent,
|
|
57733
|
-
hideCarret = false,
|
|
57734
|
-
...restProps
|
|
57735
|
-
}, forwardRef2) => {
|
|
57736
|
-
const {
|
|
57737
|
-
triggerProps,
|
|
57738
|
-
block
|
|
57739
|
-
} = useDropdownContext(), className = clsx("dropdown-toggle ", size2, variant, {
|
|
57740
|
-
"w-100": block
|
|
57741
|
-
}, triggerProps.className, restProps.className), mergedProps = {
|
|
57742
|
-
...triggerProps,
|
|
57743
|
-
...restProps,
|
|
57744
|
-
className
|
|
57745
|
-
};
|
|
57746
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { ref: forwardRef2, disabled, ...mergedProps, children: [
|
|
57747
|
-
icon,
|
|
57748
|
-
label,
|
|
57749
|
-
badgeContent ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "badge text-bg-secondary rounded-pill", children: badgeContent }) : !hideCarret && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterUp$1, { width: 16, height: 16, className: "dropdown-toggle-caret" })
|
|
57750
|
-
] });
|
|
57751
|
-
}), DropdownTrigger$1 = DropdownTrigger, Root$2 = ({
|
|
57752
|
-
children,
|
|
57753
|
-
block,
|
|
57754
|
-
overflow = true,
|
|
57755
|
-
placement = "bottom-start",
|
|
57756
|
-
extraTriggerKeyDownHandler,
|
|
57757
|
-
onToggle,
|
|
57758
|
-
isTriggerHovered = false
|
|
57759
|
-
}) => {
|
|
57760
|
-
const {
|
|
57761
|
-
visible,
|
|
57762
|
-
isFocused,
|
|
57763
|
-
triggerProps,
|
|
57764
|
-
menuProps,
|
|
57765
|
-
itemProps,
|
|
57766
|
-
itemRefs,
|
|
57767
|
-
setVisible
|
|
57768
|
-
} = useDropdown$1(placement, extraTriggerKeyDownHandler, isTriggerHovered), ref2 = useClickOutside(() => {
|
|
57769
|
-
setVisible(false);
|
|
57770
|
-
}), value = reactExports.useMemo(() => ({
|
|
57771
|
-
visible,
|
|
57772
|
-
isFocused,
|
|
57773
|
-
triggerProps,
|
|
57774
|
-
menuProps,
|
|
57775
|
-
itemProps,
|
|
57776
|
-
itemRefs,
|
|
57777
|
-
block,
|
|
57778
|
-
setVisible
|
|
57779
|
-
}), [visible, isFocused, triggerProps, menuProps, itemProps, itemRefs, block, setVisible]), dropdown = clsx("dropdown", {
|
|
57780
|
-
"w-100": block,
|
|
57781
|
-
overflow
|
|
57782
|
-
});
|
|
57783
|
-
return reactExports.useEffect(() => {
|
|
57784
|
-
onToggle == null || onToggle(visible);
|
|
57785
|
-
}, [visible]), /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownContext.Provider, { value, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: ref2, className: dropdown, children: typeof children == "function" ? children(triggerProps, itemRefs) : children }) });
|
|
57786
|
-
}, Dropdown = /* @__PURE__ */ Object.assign(Root$2, {
|
|
57787
|
-
Trigger: DropdownTrigger$1,
|
|
57788
|
-
Menu: DropdownMenu$1,
|
|
57789
|
-
Item: DropdownItem$1,
|
|
57790
|
-
Separator: DropdownSeparator$1,
|
|
57791
|
-
CheckboxItem: DropdownCheckboxItem$1,
|
|
57792
|
-
RadioItem: DropdownRadioItem$1,
|
|
57793
|
-
MenuGroup: DropdownMenuGroup$1
|
|
57794
|
-
}), Dropdown$1 = Dropdown, Tooltip = ({
|
|
57795
|
-
children,
|
|
57796
|
-
message,
|
|
57797
|
-
icon = null,
|
|
57798
|
-
placement = "auto"
|
|
57799
|
-
}) => {
|
|
57800
|
-
const [referenceElement, setReferenceElement] = reactExports.useState(null), [popperElement, setPopperElement] = reactExports.useState(null), [arrowElement, setArrowElement] = reactExports.useState(null), {
|
|
57801
|
-
styles,
|
|
57802
|
-
attributes
|
|
57803
|
-
} = usePopper(referenceElement, popperElement, {
|
|
57804
|
-
placement,
|
|
57805
|
-
modifiers: [{
|
|
57806
|
-
name: "arrow",
|
|
57807
|
-
options: {
|
|
57808
|
-
element: arrowElement
|
|
57809
|
-
}
|
|
57810
|
-
}]
|
|
57811
|
-
}), [visible, setVisible] = reactExports.useState(false);
|
|
57812
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
57813
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "d-inline-block position-relative z-2", ref: setReferenceElement, onMouseEnter: () => {
|
|
57814
|
-
setVisible(true);
|
|
57815
|
-
}, onMouseLeave: () => {
|
|
57816
|
-
setVisible(false);
|
|
57817
|
-
}, children }),
|
|
57818
|
-
visible && message && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("tooltip d-block show mb-12", "bs-tooltip-auto"), ref: setPopperElement, style: styles.popper, ...attributes.popper, children: [
|
|
57819
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "tooltip-inner shadow-hover d-flex gap-8 align-items-center", children: [
|
|
57820
|
-
icon && icon,
|
|
57821
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: message })
|
|
57822
|
-
] }),
|
|
57823
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "tooltip-arrow", ref: setArrowElement, style: styles.arrow })
|
|
57824
|
-
] })
|
|
57825
|
-
] });
|
|
57826
|
-
}, Tooltip$1 = Tooltip;
|
|
57827
|
-
const Avatar = /* @__PURE__ */ reactExports.forwardRef(({
|
|
56936
|
+
}), AppIcon$1 = AppIcon, Avatar = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57828
56937
|
variant = "square",
|
|
57829
56938
|
size: size2 = "md",
|
|
57830
56939
|
alt,
|
|
@@ -57848,8 +56957,7 @@ const Avatar = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
57848
56957
|
}
|
|
57849
56958
|
}, className);
|
|
57850
56959
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: ref2, className: classes2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Image$2, { src: src || placeholder, alt, imgPlaceholder: placeholder, ...restProps }) });
|
|
57851
|
-
}), Avatar$1 = Avatar
|
|
57852
|
-
const BreadcrumbItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
56960
|
+
}), Avatar$1 = Avatar, BreadcrumbItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57853
56961
|
children,
|
|
57854
56962
|
className,
|
|
57855
56963
|
...restProps
|
|
@@ -57956,7 +57064,7 @@ const BreadcrumbItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
57956
57064
|
}, CardTitle$1 = CardTitle, CardUser = ({
|
|
57957
57065
|
userSrc,
|
|
57958
57066
|
creatorName
|
|
57959
|
-
}) => userSrc ? /* @__PURE__ */ jsxRuntimeExports.jsx(Avatar$1, { alt: creatorName || "", size: "xs", src: userSrc, variant: "circle", width: "24", height: "24" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(SvgOneProfile$1, {}), CardUser$1 = CardUser, Root$
|
|
57067
|
+
}) => userSrc ? /* @__PURE__ */ jsxRuntimeExports.jsx(Avatar$1, { alt: creatorName || "", size: "xs", src: userSrc, variant: "circle", width: "24", height: "24" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(SvgOneProfile$1, {}), CardUser$1 = CardUser, Root$3 = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57960
57068
|
app,
|
|
57961
57069
|
isSelectable = true,
|
|
57962
57070
|
isClickable = true,
|
|
@@ -57983,7 +57091,7 @@ const BreadcrumbItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
57983
57091
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Card.Header, {}),
|
|
57984
57092
|
typeof children == "function" ? children(appCode) : children
|
|
57985
57093
|
] }) });
|
|
57986
|
-
}), Card = /* @__PURE__ */ Object.assign(Root$
|
|
57094
|
+
}), Card = /* @__PURE__ */ Object.assign(Root$3, {
|
|
57987
57095
|
Title: CardTitle$1,
|
|
57988
57096
|
Text: CardText$1,
|
|
57989
57097
|
Image: CardImage$1,
|
|
@@ -57991,7 +57099,72 @@ const BreadcrumbItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
57991
57099
|
User: CardUser$1,
|
|
57992
57100
|
Footer: CardFooter$1,
|
|
57993
57101
|
Header: CardHeader$1
|
|
57994
|
-
}), Card$1 = Card,
|
|
57102
|
+
}), Card$1 = Card, Checkbox = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57103
|
+
label,
|
|
57104
|
+
disabled = false,
|
|
57105
|
+
checked = false,
|
|
57106
|
+
indeterminate = false,
|
|
57107
|
+
...restProps
|
|
57108
|
+
}, ref2) => {
|
|
57109
|
+
const refCheckbox = reactExports.useRef(null);
|
|
57110
|
+
reactExports.useImperativeHandle(ref2, () => ({
|
|
57111
|
+
...refCheckbox.current
|
|
57112
|
+
})), reactExports.useEffect(() => {
|
|
57113
|
+
refCheckbox.current.indeterminate = indeterminate;
|
|
57114
|
+
}, [refCheckbox, indeterminate]);
|
|
57115
|
+
const id2 = reactExports.useId(), checkboxProps = {
|
|
57116
|
+
type: "checkbox",
|
|
57117
|
+
checked,
|
|
57118
|
+
disabled,
|
|
57119
|
+
ref: refCheckbox,
|
|
57120
|
+
className: clsx(restProps.className, "form-check-input c-pointer"),
|
|
57121
|
+
id: id2
|
|
57122
|
+
}, inputProps = {
|
|
57123
|
+
...restProps,
|
|
57124
|
+
...checkboxProps
|
|
57125
|
+
};
|
|
57126
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "form-check d-flex align-items-center gap-8", children: [
|
|
57127
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("input", { ...inputProps }),
|
|
57128
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "form-check-label", htmlFor: inputProps.id, children: label })
|
|
57129
|
+
] });
|
|
57130
|
+
}), Checkbox$1 = Checkbox, Tooltip = ({
|
|
57131
|
+
children,
|
|
57132
|
+
message,
|
|
57133
|
+
icon = null,
|
|
57134
|
+
placement = "auto"
|
|
57135
|
+
}) => {
|
|
57136
|
+
const [referenceElement, setReferenceElement] = reactExports.useState(null), [popperElement, setPopperElement] = reactExports.useState(null), [arrowElement, setArrowElement] = reactExports.useState(null), {
|
|
57137
|
+
styles,
|
|
57138
|
+
attributes
|
|
57139
|
+
} = usePopper(referenceElement, popperElement, {
|
|
57140
|
+
placement,
|
|
57141
|
+
modifiers: [{
|
|
57142
|
+
name: "arrow",
|
|
57143
|
+
options: {
|
|
57144
|
+
element: arrowElement
|
|
57145
|
+
}
|
|
57146
|
+
}]
|
|
57147
|
+
}), [visible, setVisible] = reactExports.useState(false);
|
|
57148
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
57149
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "d-inline-block position-relative z-2", ref: setReferenceElement, onMouseEnter: () => {
|
|
57150
|
+
setVisible(true);
|
|
57151
|
+
}, onMouseLeave: () => {
|
|
57152
|
+
setVisible(false);
|
|
57153
|
+
}, children }),
|
|
57154
|
+
visible && message && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("tooltip d-block show mb-12", "bs-tooltip-auto"), ref: setPopperElement, style: styles.popper, ...attributes.popper, children: [
|
|
57155
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "tooltip-inner shadow-hover d-flex gap-8 align-items-center", children: [
|
|
57156
|
+
icon && icon,
|
|
57157
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: message })
|
|
57158
|
+
] }),
|
|
57159
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "tooltip-arrow", ref: setArrowElement, style: styles.arrow })
|
|
57160
|
+
] })
|
|
57161
|
+
] });
|
|
57162
|
+
}, Tooltip$1 = Tooltip, DropdownContext = /* @__PURE__ */ reactExports.createContext(null), useDropdownContext = () => {
|
|
57163
|
+
const context2 = reactExports.useContext(DropdownContext);
|
|
57164
|
+
if (!context2)
|
|
57165
|
+
throw new Error("Cannot be rendered outside the Dropdown Component");
|
|
57166
|
+
return context2;
|
|
57167
|
+
}, Context = /* @__PURE__ */ reactExports.createContext(null), useFormControl = () => {
|
|
57995
57168
|
const context2 = reactExports.useContext(Context);
|
|
57996
57169
|
if (!context2)
|
|
57997
57170
|
throw new Error("Cannot be rendered outside the FormControl component");
|
|
@@ -58057,7 +57230,7 @@ const BreadcrumbItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
58057
57230
|
] }),
|
|
58058
57231
|
requiredState && /* @__PURE__ */ jsxRuntimeExports.jsx("em", { className: "required", children: requiredText })
|
|
58059
57232
|
] });
|
|
58060
|
-
}), Label$1 = Label, Root$
|
|
57233
|
+
}), Label$1 = Label, Root$2 = /* @__PURE__ */ reactExports.forwardRef(({
|
|
58061
57234
|
children,
|
|
58062
57235
|
className,
|
|
58063
57236
|
id: id2,
|
|
@@ -58075,7 +57248,7 @@ const BreadcrumbItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
58075
57248
|
status
|
|
58076
57249
|
}), [id2, isOptional, isReadOnly, isRequired, status]);
|
|
58077
57250
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Context.Provider, { value: values, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: ref2, className, ...restProps, children }) });
|
|
58078
|
-
}), FormControl = /* @__PURE__ */ Object.assign(Root$
|
|
57251
|
+
}), FormControl = /* @__PURE__ */ Object.assign(Root$2, {
|
|
58079
57252
|
Label: Label$1,
|
|
58080
57253
|
Input: Input$1,
|
|
58081
57254
|
Text: FormText$1
|
|
@@ -58100,7 +57273,192 @@ const BreadcrumbItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
58100
57273
|
return reactExports.useEffect(() => {
|
|
58101
57274
|
setVisible(value.length >= searchMinLength);
|
|
58102
57275
|
}, [setVisible, value, searchMinLength]), /* @__PURE__ */ jsxRuntimeExports.jsx(FormControl$1, { className: "d-flex align-items-center", id: "search", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Input$1, { ...inputProps, className: "max-w-512", noValidationIcon: true, placeholder, size: "md", type: "search", onKeyDown: itemProps.onMenuItemKeyDown }) });
|
|
58103
|
-
}, ComboboxTrigger$1 = ComboboxTrigger,
|
|
57276
|
+
}, ComboboxTrigger$1 = ComboboxTrigger, DropdownCheckboxItem = ({
|
|
57277
|
+
children,
|
|
57278
|
+
value,
|
|
57279
|
+
model,
|
|
57280
|
+
onChange
|
|
57281
|
+
}) => {
|
|
57282
|
+
const {
|
|
57283
|
+
itemProps,
|
|
57284
|
+
itemRefs,
|
|
57285
|
+
isFocused
|
|
57286
|
+
} = useDropdownContext(), {
|
|
57287
|
+
onMenuItemKeyDown,
|
|
57288
|
+
onMenuItemMouseEnter
|
|
57289
|
+
} = itemProps, id2 = reactExports.useId(), checked = model.includes(value), checkboxProps = {
|
|
57290
|
+
value,
|
|
57291
|
+
model,
|
|
57292
|
+
checked,
|
|
57293
|
+
readOnly: true
|
|
57294
|
+
}, dropdownCheckboxItem = clsx("dropdown-item c-pointer", {
|
|
57295
|
+
focus: isFocused === id2
|
|
57296
|
+
});
|
|
57297
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: id2, ref: (el2) => itemRefs.current[id2] = el2, role: "menuitemcheckbox", "aria-checked": checked, onMouseUp: () => onChange(value), onKeyDown: (event) => onMenuItemKeyDown(event, () => onChange(value)), onMouseEnter: onMenuItemMouseEnter, tabIndex: checked ? 0 : -1, className: dropdownCheckboxItem, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "d-flex gap-8 align-items-center justify-content-between position-relative", children: [
|
|
57298
|
+
children,
|
|
57299
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox$1, { ...checkboxProps })
|
|
57300
|
+
] }) });
|
|
57301
|
+
}, DropdownCheckboxItem$1 = DropdownCheckboxItem, DropdownItem = ({
|
|
57302
|
+
type: type2 = "action",
|
|
57303
|
+
icon,
|
|
57304
|
+
onClick: onClick2,
|
|
57305
|
+
children,
|
|
57306
|
+
...restProps
|
|
57307
|
+
}) => {
|
|
57308
|
+
const {
|
|
57309
|
+
itemProps,
|
|
57310
|
+
itemRefs,
|
|
57311
|
+
isFocused
|
|
57312
|
+
} = useDropdownContext(), {
|
|
57313
|
+
onMenuItemKeyDown,
|
|
57314
|
+
onMenuItemMouseEnter,
|
|
57315
|
+
onMenuItemClick
|
|
57316
|
+
} = itemProps, handleOnClick = (event) => {
|
|
57317
|
+
onClick2 == null || onClick2(event), type2 === "action" && onMenuItemClick();
|
|
57318
|
+
}, id2 = reactExports.useId(), dropdownItem = clsx("dropdown-item", {
|
|
57319
|
+
focus: isFocused === id2
|
|
57320
|
+
});
|
|
57321
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: id2, role: "menuitem", ref: (el2) => itemRefs.current[id2] = el2, tabIndex: isFocused === id2 ? 0 : -1, className: dropdownItem, "aria-current": isFocused === id2, onClick: handleOnClick, onMouseEnter: onMenuItemMouseEnter, onKeyDown: (event) => onMenuItemKeyDown(event, onClick2), ...restProps, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "d-flex gap-8 align-items-center", children: [
|
|
57322
|
+
icon,
|
|
57323
|
+
children
|
|
57324
|
+
] }) });
|
|
57325
|
+
}, DropdownItem$1 = DropdownItem, DropdownMenu = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57326
|
+
children,
|
|
57327
|
+
block,
|
|
57328
|
+
...restProps
|
|
57329
|
+
}, forwardRef2) => {
|
|
57330
|
+
const {
|
|
57331
|
+
menuProps,
|
|
57332
|
+
visible
|
|
57333
|
+
} = useDropdownContext(), {
|
|
57334
|
+
className,
|
|
57335
|
+
...restMenuProps
|
|
57336
|
+
} = menuProps, mergedProps = {
|
|
57337
|
+
...restMenuProps,
|
|
57338
|
+
...restProps
|
|
57339
|
+
}, dropdownMenu = clsx({
|
|
57340
|
+
"w-100": block
|
|
57341
|
+
}, className);
|
|
57342
|
+
return visible ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: forwardRef2, className: dropdownMenu, ...mergedProps, children }) : null;
|
|
57343
|
+
}), DropdownMenu$1 = DropdownMenu, DropdownMenuGroup = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57344
|
+
label,
|
|
57345
|
+
children
|
|
57346
|
+
}, forwardRef2) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: forwardRef2, role: "group", children: [
|
|
57347
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "small px-4", children: /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: label }) }),
|
|
57348
|
+
children
|
|
57349
|
+
] })), DropdownMenuGroup$1 = DropdownMenuGroup, Radio = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57350
|
+
model,
|
|
57351
|
+
icon,
|
|
57352
|
+
label = false,
|
|
57353
|
+
disabled = false,
|
|
57354
|
+
checked,
|
|
57355
|
+
...restProps
|
|
57356
|
+
}, ref2) => {
|
|
57357
|
+
const id2 = reactExports.useId(), radioProps = {
|
|
57358
|
+
type: "radio",
|
|
57359
|
+
checked,
|
|
57360
|
+
disabled,
|
|
57361
|
+
ref: ref2,
|
|
57362
|
+
className: clsx(restProps.className, "form-check-input c-pointer", icon && "d-none"),
|
|
57363
|
+
id: id2
|
|
57364
|
+
}, inputProps = {
|
|
57365
|
+
...restProps,
|
|
57366
|
+
...radioProps
|
|
57367
|
+
};
|
|
57368
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("form-check d-flex align-items-center gap-8", icon && "ps-0"), children: [
|
|
57369
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("input", { ...inputProps }),
|
|
57370
|
+
icon && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: inputProps.id, className: clsx("c-pointer", model !== restProps.value && "text-muted"), children: icon }),
|
|
57371
|
+
!icon && label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "form-check-label", htmlFor: inputProps.id, children: label })
|
|
57372
|
+
] });
|
|
57373
|
+
}), Radio$1 = Radio, DropdownRadioItem = ({
|
|
57374
|
+
children,
|
|
57375
|
+
value,
|
|
57376
|
+
model,
|
|
57377
|
+
onChange
|
|
57378
|
+
}) => {
|
|
57379
|
+
const {
|
|
57380
|
+
itemProps,
|
|
57381
|
+
itemRefs,
|
|
57382
|
+
isFocused
|
|
57383
|
+
} = useDropdownContext(), {
|
|
57384
|
+
onMenuItemKeyDown,
|
|
57385
|
+
onMenuItemMouseEnter
|
|
57386
|
+
} = itemProps, id2 = reactExports.useId(), radioProps = {
|
|
57387
|
+
value,
|
|
57388
|
+
model,
|
|
57389
|
+
checked: value === model,
|
|
57390
|
+
readOnly: true
|
|
57391
|
+
}, dropdownRadioItem = clsx("dropdown-item c-pointer", {
|
|
57392
|
+
focus: isFocused === id2
|
|
57393
|
+
});
|
|
57394
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: id2, ref: (el2) => itemRefs.current[id2] = el2, role: "menuitemradio", "aria-checked": value === model, onMouseUp: () => onChange(value), onKeyDown: (event) => onMenuItemKeyDown(event, () => onChange(value)), onMouseEnter: onMenuItemMouseEnter, tabIndex: value === model ? 0 : -1, className: dropdownRadioItem, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "d-flex gap-8 align-items-center justify-content-between position-relative", children: [
|
|
57395
|
+
children,
|
|
57396
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Radio$1, { ...radioProps, className: "position-absolute start-0 end-0 top-0 bottom-0 opacity-0" })
|
|
57397
|
+
] }) });
|
|
57398
|
+
}, DropdownRadioItem$1 = DropdownRadioItem, DropdownSeparator = () => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { role: "separator", className: "px-4", children: /* @__PURE__ */ jsxRuntimeExports.jsx("hr", { className: "m-0" }) }), DropdownSeparator$1 = DropdownSeparator, DropdownTrigger = /* @__PURE__ */ reactExports.forwardRef(({
|
|
57399
|
+
label,
|
|
57400
|
+
icon,
|
|
57401
|
+
variant,
|
|
57402
|
+
disabled = false,
|
|
57403
|
+
size: size2,
|
|
57404
|
+
badgeContent,
|
|
57405
|
+
...restProps
|
|
57406
|
+
}, forwardRef2) => {
|
|
57407
|
+
const {
|
|
57408
|
+
triggerProps,
|
|
57409
|
+
block
|
|
57410
|
+
} = useDropdownContext(), {
|
|
57411
|
+
className,
|
|
57412
|
+
...restTriggerProps
|
|
57413
|
+
} = triggerProps, mergedProps = {
|
|
57414
|
+
...restTriggerProps,
|
|
57415
|
+
...restProps
|
|
57416
|
+
}, dropdownTrigger = clsx("dropdown-toggle ", size2, variant, {
|
|
57417
|
+
"w-100": block
|
|
57418
|
+
}, className);
|
|
57419
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { ref: forwardRef2, className: dropdownTrigger, disabled, ...mergedProps, children: [
|
|
57420
|
+
icon || null,
|
|
57421
|
+
label,
|
|
57422
|
+
badgeContent ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "badge text-bg-secondary rounded-pill", children: badgeContent }) : /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterUp$1, { width: 16, height: 16, className: "dropdown-toggle-caret" })
|
|
57423
|
+
] });
|
|
57424
|
+
}), DropdownTrigger$1 = DropdownTrigger, Root$1 = ({
|
|
57425
|
+
children,
|
|
57426
|
+
block,
|
|
57427
|
+
overflow = true,
|
|
57428
|
+
placement = "bottom-start",
|
|
57429
|
+
extraTriggerKeyDownHandler
|
|
57430
|
+
}) => {
|
|
57431
|
+
const {
|
|
57432
|
+
visible,
|
|
57433
|
+
isFocused,
|
|
57434
|
+
triggerProps,
|
|
57435
|
+
menuProps,
|
|
57436
|
+
itemProps,
|
|
57437
|
+
itemRefs,
|
|
57438
|
+
setVisible
|
|
57439
|
+
} = useDropdown$1(placement, extraTriggerKeyDownHandler), ref2 = useClickOutside(() => setVisible(false)), value = reactExports.useMemo(() => ({
|
|
57440
|
+
visible,
|
|
57441
|
+
isFocused,
|
|
57442
|
+
triggerProps,
|
|
57443
|
+
menuProps,
|
|
57444
|
+
itemProps,
|
|
57445
|
+
itemRefs,
|
|
57446
|
+
block,
|
|
57447
|
+
setVisible
|
|
57448
|
+
}), [visible, isFocused, triggerProps, menuProps, itemProps, itemRefs, block, setVisible]), dropdown = clsx("dropdown", {
|
|
57449
|
+
"w-100": block,
|
|
57450
|
+
overflow
|
|
57451
|
+
});
|
|
57452
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownContext.Provider, { value, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: ref2, className: dropdown, children: typeof children == "function" ? children(triggerProps, itemRefs) : children }) });
|
|
57453
|
+
}, Dropdown = /* @__PURE__ */ Object.assign(Root$1, {
|
|
57454
|
+
Trigger: DropdownTrigger$1,
|
|
57455
|
+
Menu: DropdownMenu$1,
|
|
57456
|
+
Item: DropdownItem$1,
|
|
57457
|
+
Separator: DropdownSeparator$1,
|
|
57458
|
+
CheckboxItem: DropdownCheckboxItem$1,
|
|
57459
|
+
RadioItem: DropdownRadioItem$1,
|
|
57460
|
+
MenuGroup: DropdownMenuGroup$1
|
|
57461
|
+
}), Dropdown$1 = Dropdown, Combobox = ({
|
|
58104
57462
|
onSearchResultsChange,
|
|
58105
57463
|
onSearchInputChange,
|
|
58106
57464
|
options,
|
|
@@ -58241,7 +57599,97 @@ const ImagePicker = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
58241
57599
|
}, ref2) => {
|
|
58242
57600
|
const classes2 = clsx("navbar-brand d-none d-md-block");
|
|
58243
57601
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("a", { ref: ref2, className: classes2, href: "/timeline/timeline", "aria-label": translate2, children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { className: "logo", src, alt: `logo ${is1d ? "ONE" : "NEO"}`, width: "300", height: "52" }) });
|
|
58244
|
-
}), Logo$1 = Logo,
|
|
57602
|
+
}), Logo$1 = Logo, ModalContext = /* @__PURE__ */ reactExports.createContext({
|
|
57603
|
+
ariaLabelId: "",
|
|
57604
|
+
ariaDescriptionId: "",
|
|
57605
|
+
focusId: ""
|
|
57606
|
+
}), useModalContext = () => {
|
|
57607
|
+
const context2 = reactExports.useContext(ModalContext);
|
|
57608
|
+
if (!context2)
|
|
57609
|
+
throw new Error("Cannot be rendered outside the Modal component");
|
|
57610
|
+
return context2;
|
|
57611
|
+
}, ModalBody = (props) => {
|
|
57612
|
+
const {
|
|
57613
|
+
ariaDescriptionId
|
|
57614
|
+
} = useModalContext(), {
|
|
57615
|
+
children,
|
|
57616
|
+
className
|
|
57617
|
+
} = props, classes2 = clsx("modal-body", className);
|
|
57618
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: ariaDescriptionId, className: classes2, children });
|
|
57619
|
+
}, ModalBody$1 = ModalBody, ModalFooter = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal-footer", children: props.children }), ModalFooter$1 = ModalFooter, ModalHeader = (props) => {
|
|
57620
|
+
const {
|
|
57621
|
+
onModalClose,
|
|
57622
|
+
children
|
|
57623
|
+
} = props, {
|
|
57624
|
+
ariaLabelId,
|
|
57625
|
+
focusId
|
|
57626
|
+
} = useModalContext(), closeButtonRef = reactExports.useRef(null), {
|
|
57627
|
+
t: t2
|
|
57628
|
+
} = useTranslation();
|
|
57629
|
+
return reactExports.useEffect(() => {
|
|
57630
|
+
var _a2;
|
|
57631
|
+
focusId || (_a2 = closeButtonRef.current) == null || _a2.focus();
|
|
57632
|
+
}, [focusId]), /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "modal-header", children: [
|
|
57633
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { id: ariaLabelId, className: "modal-title", tabIndex: -1, children }),
|
|
57634
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { ref: closeButtonRef, "aria-label": t2("close"), color: "tertiary", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgClose$1, {}), type: "button", variant: "ghost", title: t2("close"), onClick: onModalClose, className: "btn-close" })
|
|
57635
|
+
] });
|
|
57636
|
+
}, ModalHeader$1 = ModalHeader, ModalSubtitle = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "modal-subtitle", children: props.children }), ModalSubtitle$1 = ModalSubtitle, Root$4 = /* @__PURE__ */ reactExports.forwardRef((props, ref2) => {
|
|
57637
|
+
const {
|
|
57638
|
+
id: id2,
|
|
57639
|
+
isOpen,
|
|
57640
|
+
onModalClose,
|
|
57641
|
+
size: size2 = "md",
|
|
57642
|
+
viewport: viewport2 = false,
|
|
57643
|
+
scrollable = false,
|
|
57644
|
+
focusId,
|
|
57645
|
+
children
|
|
57646
|
+
} = props, ariaLabelId = `aria_label_${id2}`, ariaDescriptionId = `aria_desc_${id2}`, modalRef = useClickOutside(onModalClose), trapRef = useTrapFocus();
|
|
57647
|
+
useKeyPress(onModalClose, ["Escape"]), reactExports.useEffect(() => {
|
|
57648
|
+
if (isOpen && (document.body.style.overflow = "hidden", focusId)) {
|
|
57649
|
+
const elem = document.getElementById(focusId);
|
|
57650
|
+
elem == null || elem.focus();
|
|
57651
|
+
}
|
|
57652
|
+
return () => {
|
|
57653
|
+
document.body.style.overflow = "";
|
|
57654
|
+
};
|
|
57655
|
+
}, [focusId, isOpen]);
|
|
57656
|
+
const modalClasses = clsx("modal fade", {
|
|
57657
|
+
"show d-block": isOpen,
|
|
57658
|
+
"modal-scrollable": scrollable,
|
|
57659
|
+
viewport: viewport2,
|
|
57660
|
+
[`modal-${size2}`]: size2
|
|
57661
|
+
}), dialogClasses = clsx("modal-dialog"), modalContextValue = {
|
|
57662
|
+
ariaLabelId,
|
|
57663
|
+
ariaDescriptionId,
|
|
57664
|
+
focusId
|
|
57665
|
+
}, transition2 = useTransition(isOpen, {
|
|
57666
|
+
from: {
|
|
57667
|
+
x: -50,
|
|
57668
|
+
opacity: 0
|
|
57669
|
+
},
|
|
57670
|
+
enter: {
|
|
57671
|
+
x: 0,
|
|
57672
|
+
opacity: 1
|
|
57673
|
+
},
|
|
57674
|
+
leave: {
|
|
57675
|
+
x: 50,
|
|
57676
|
+
opacity: 0
|
|
57677
|
+
}
|
|
57678
|
+
});
|
|
57679
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ModalContext.Provider, { value: modalContextValue, children: transition2((style, isOpen2) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
57680
|
+
isOpen2 && /* @__PURE__ */ jsxRuntimeExports.jsx(animated.div, { id: id2, ref: ref2, role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelId, "aria-describedby": ariaDescriptionId, className: modalClasses, style, tabIndex: -1, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: `${id2}_ref`, ref: (node) => {
|
|
57681
|
+
modalRef.current = node, isOpen2 && (trapRef.current = node);
|
|
57682
|
+
}, className: dialogClasses, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal-content", children }) }) }),
|
|
57683
|
+
isOpen2 && /* @__PURE__ */ jsxRuntimeExports.jsx(animated.div, { className: "modal-backdrop fade show", style: {
|
|
57684
|
+
opacity: 0.65
|
|
57685
|
+
} })
|
|
57686
|
+
] })) });
|
|
57687
|
+
}), Modal = /* @__PURE__ */ Object.assign(Root$4, {
|
|
57688
|
+
Header: ModalHeader$1,
|
|
57689
|
+
Subtitle: ModalSubtitle$1,
|
|
57690
|
+
Body: ModalBody$1,
|
|
57691
|
+
Footer: ModalFooter$1
|
|
57692
|
+
}), Modal$1 = Modal, PopoverBody = ({
|
|
58245
57693
|
children,
|
|
58246
57694
|
className
|
|
58247
57695
|
}) => {
|
|
@@ -58303,7 +57751,8 @@ const ImagePicker = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
58303
57751
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Dropdown$1.Item, { type: "action", onClick: () => setLocalValue(option), icon: icon2, children: label2 }, value);
|
|
58304
57752
|
}) })
|
|
58305
57753
|
] });
|
|
58306
|
-
}, Select$1 = Select
|
|
57754
|
+
}, Select$1 = Select;
|
|
57755
|
+
const TextArea = /* @__PURE__ */ reactExports.forwardRef(({
|
|
58307
57756
|
noValidationIcon,
|
|
58308
57757
|
placeholder,
|
|
58309
57758
|
size: size2 = "md",
|
|
@@ -63275,11 +62724,24 @@ const AppAction$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
63275
62724
|
__proto__: null,
|
|
63276
62725
|
default: AppAction
|
|
63277
62726
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
63278
|
-
const
|
|
63279
|
-
const {
|
|
62727
|
+
const useLibrary = () => {
|
|
62728
|
+
const { currentLanguage } = useOdeClient();
|
|
63280
62729
|
const { theme } = useOdeTheme();
|
|
63281
|
-
const libraryUrl = useLibraryUrl$1();
|
|
63282
62730
|
const [imagePath] = usePaths();
|
|
62731
|
+
const libraryUrl = useLibraryUrl$1();
|
|
62732
|
+
const imageFilename = currentLanguage === "fr" ? "image-library-year-end.gif" : "image-library.svg";
|
|
62733
|
+
const imageFullURL = `${imagePath}/${theme == null ? void 0 : theme.bootstrapVersion}/${imageFilename}`;
|
|
62734
|
+
const handleClick = () => {
|
|
62735
|
+
if (libraryUrl) {
|
|
62736
|
+
window.open(libraryUrl, "_blank");
|
|
62737
|
+
odeServices.data().trackAccessLibraryFromExplorer();
|
|
62738
|
+
}
|
|
62739
|
+
};
|
|
62740
|
+
return { libraryUrl, imageFullURL, handleClick };
|
|
62741
|
+
};
|
|
62742
|
+
const Library = () => {
|
|
62743
|
+
const { libraryUrl, imageFullURL, handleClick } = useLibrary();
|
|
62744
|
+
const { t: t2 } = useTranslation();
|
|
63283
62745
|
return libraryUrl && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-16", children: [
|
|
63284
62746
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
63285
62747
|
Image$2,
|
|
@@ -63288,18 +62750,18 @@ const Library = () => {
|
|
|
63288
62750
|
height: "140",
|
|
63289
62751
|
loading: "lazy",
|
|
63290
62752
|
className: "rounded",
|
|
63291
|
-
src:
|
|
62753
|
+
src: imageFullURL,
|
|
63292
62754
|
alt: t2("explorer.libray.img.alt")
|
|
63293
62755
|
}
|
|
63294
62756
|
),
|
|
63295
62757
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "m-8", children: t2("explorer.libray.title") }),
|
|
63296
62758
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
63297
|
-
"
|
|
62759
|
+
"button",
|
|
63298
62760
|
{
|
|
63299
|
-
|
|
63300
|
-
|
|
62761
|
+
type: "button",
|
|
62762
|
+
onClick: handleClick,
|
|
63301
62763
|
rel: "noreferrer",
|
|
63302
|
-
className: "d-inline-flex align-items-center gap-4
|
|
62764
|
+
className: "btn btn-ghost-primary d-inline-flex align-items-center gap-4 p-8",
|
|
63303
62765
|
children: [
|
|
63304
62766
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: t2("explorer.libray.btn") }),
|
|
63305
62767
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SvgArrowRight$1, {})
|