jamespot-react-components 1.3.58 → 1.3.60
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('.react-reset{visibility:visible}.react-reset input[type=text]{box-shadow:none}.react-reset *{align-content:stretch;align-items:stretch;align-self:auto;animation-delay:0s;animation-direction:normal;animation-duration:0s;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;azimuth:center;backface-visibility:visible;background-attachment:scroll;background-blend-mode:normal;background-clip:border-box;background-color:transparent;background-image:none;background-origin:padding-box;background-position:0% 0%;background-repeat:repeat;background-size:auto auto;border-block-end-color:currentcolor;border-block-end-style:none;border-block-end-width:medium;border-block-start-color:currentcolor;border-block-start-style:none;border-block-start-width:medium;border-bottom-color:currentcolor;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image-outset:0s;border-image-repeat:stretch;border-image-slice:100%;border-image-source:none;border-image-width:1;border-inline-end-color:currentcolor;border-inline-end-style:none;border-inline-end-width:medium;border-inline-start-color:currentcolor;border-inline-start-style:none;border-inline-start-width:medium;border-left-color:currentcolor;border-left-style:none;border-left-width:medium;border-right-color:currentcolor;border-right-style:none;border-right-width:medium;border-spacing:0;border-top-color:currentcolor;border-top-style:none;border-top-width:medium;-webkit-box-decoration-break:slice;box-decoration-break:slice;box-sizing:border-box;break-after:auto;break-before:auto;break-inside:auto;caption-side:top;caret-color:auto;clear:none;clip:auto;color:inherit;column-count:auto;column-fill:balance;column-gap:normal;column-rule-color:currentcolor;column-rule-style:none;column-rule-width:medium;column-span:none;column-width:auto;content:normal;counter-increment:none;counter-reset:none;empty-cells:show;flex-basis:auto;flex-direction:row;flex-grow:0;flex-shrink:1;flex-wrap:nowrap;float:none;font-feature-settings:normal;font-kerning:auto;font-language-override:normal;font-stretch:normal;font-synthesis:weight style;font-variant:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;grid-auto-columns:auto;grid-auto-flow:row;grid-auto-rows:auto;grid-column-end:auto;grid-column-gap:0;grid-column-start:auto;grid-row-end:auto;grid-row-gap:0;grid-row-start:auto;grid-template-areas:none;grid-template-columns:none;grid-template-rows:none;-webkit-hyphens:manual;hyphens:manual;image-orientation:0deg;image-rendering:auto;image-resolution:1dppx;ime-mode:auto;isolation:auto;justify-content:flex-start;inset:auto;letter-spacing:inherit;line-break:auto;list-style-image:none;list-style-position:outside;margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:0;margin:0;mask-clip:border-box;-webkit-mask-composite:source-over;mask-composite:add;-webkit-mask-image:none;mask-image:none;mask-mode:match-source;-webkit-mask-origin:border-box;mask-origin:border-box;-webkit-mask-position:0% 0%;mask-position:0% 0%;-webkit-mask-repeat:repeat;mask-repeat:repeat;-webkit-mask-size:auto;mask-size:auto;mask-type:luminance;max-height:none;max-width:none;min-height:none;min-inline-size:none;min-width:none;mix-blend-mode:normal;object-fit:fill;object-position:50% 50%;offset-block-end:auto;offset-block-start:auto;offset-inline-end:auto;offset-inline-start:auto;opacity:1;order:0;orphans:2;outline-color:initial;outline-offset:0;outline-style:none;outline-width:medium;padding-block-end:0;padding-block-start:0;padding-inline-end:0;padding-inline-start:0;padding:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:initial;resize:none;ruby-align:space-around;ruby-merge:separate;ruby-position:over;scroll-behavior:auto;scroll-snap-coordinate:none;scroll-snap-destination:0px 0px;scroll-snap-points-x:none;scroll-snap-points-y:none;scroll-snap-type:none;shape-image-threshold:0;shape-margin:0;shape-outside:none;tab-size:8;table-layout:auto;text-align:initial;text-align-last:auto;text-combine-upright:none;text-emphasis-color:currentcolor;text-emphasis-position:over right;text-emphasis-style:none;text-indent:0;text-justify:auto;text-orientation:mixed;text-overflow:clip;text-rendering:auto;text-shadow:none;text-transform:none;text-underline-position:auto;touch-action:auto;transform-box:border-box;transform-origin:50% 50% 0;transform-style:flat;transition-delay:0s;transition-duration:0s;transition-property:all;transition-timing-function:ease;vertical-align:baseline;visibility:inherit;widows:2;will-change:auto;word-break:normal;word-spacing:normal;word-wrap:normal;writing-mode:horizontal-tb;z-index:unset}.react-reset:not(svg),.react-reset:not(g){border-radius:0;transform:none;box-shadow:none;-webkit-box-shadow:none;filter:none;clip-path:none}:root{--rt-transition-show-delay: 0 !important;--rt-transition-closing-delay: 0 !important}.react-icon[class^=icon-],.react-icon[class*=" icon-"]{speak:none;font-style:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.react-icon[class^=icon-fs-],.react-icon[class*=" icon-fs-"]{font-family:fontSpot!important;speak:none;font-style:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.react-reset,.react-reset input,.react-reset input::placeholder,.react-reset textarea::placeholder,.react-reset button,.react-reset select,.react-reset textarea{font-family:var(--font-family);font-size:14px;line-height:1.5;font-weight:400}.react-reset{width:100%}.r-grid{width:100%;display:grid;--pageColWidthLeft: 230px;--pageColWidthRight: 270px}.r-grid.page-1-cols{grid-template-columns:1fr;-ms-grid-columns:1fr;grid-template-rows:auto 1fr;-ms-grid-template-rows:auto 1fr}.r-grid.page-1-cols #r-main{grid-row:2;grid-column:1;-ms-grid-row:2;-ms-grid-column:1}.r-grid.page-2-cols{grid-template-columns:var(--pageColWidthLeft) 1fr;-ms-grid-columns:var(--pageColWidthLeft) 1fr;grid-template-rows:auto 1fr;-ms-grid-template-rows:auto 1fr}.r-grid.page-2-cols #r-left{grid-row:2;grid-column:1;-ms-grid-row:2;-ms-grid-column:1}.r-grid.page-2-cols #r-main{margin-left:30px;grid-row:2;grid-column:2;-ms-grid-row:2;-ms-grid-column:2}.r-grid.page-3-cols{grid-template-columns:var(--pageColWidthLeft) 1fr var(--pageColWidthRight);-ms-grid-columns:var(--pageColWidthLeft) 1fr var(--pageColWidthRight);grid-template-rows:auto 1fr;-ms-grid-template-rows:auto 1fr}.r-grid.page-3-cols #r-left{grid-row:2;grid-column:1;-ms-grid-row:2;-ms-grid-column:1}.r-grid.page-3-cols #r-main{margin:0 30px;grid-row:2;grid-column:2;-ms-grid-row:2;-ms-grid-column:2}.r-grid.page-3-cols #r-right{grid-row:2;grid-column:3;-ms-grid-row:2;-ms-grid-column:3}#r-left,#r-right{display:flex;flex-direction:column;justify-content:flex-end}#r-right:focus,#r-right:focus-visible{outline:2px solid #4A4A52;outline-offset:2px}#r-left .sticky,#r-right .sticky{position:-webkit-sticky;position:sticky;z-index:1;bottom:var(--template-padding);min-height:var(--body-container-height)}#r-left .sticky .fixed,#r-right .sticky .fixed{position:fixed}.react-reset{--scrollbarTrack: white;--scrollbarThumb: #bebed1}.react-reset *{scrollbar-width:thin;scrollbar-color:var(--scrollbarThumb) var(--scrollbarTrack);scroll-behavior:smooth}.react-reset *::-webkit-scrollbar-track{background:var(--scrollbarTrack)}.react-reset *::-webkit-scrollbar-thumb{background-color:var(--scrollbarThumb)}.react-reset *::-webkit-scrollbar{width:8px}.wiggle{animation:.25s ease-in-out 0s 4 wiggle}@keyframes wiggle{0%{transform:rotate(0)}25%{transform:rotate(10deg) scale(1.1)}75%{transform:rotate(-10deg) scale(1.1)}to{transform:rotate(0)}}.scale-left{animation:scale var(--timeout, 1s) linear 0s 1}@keyframes scale{0%{width:0}to{width:100%}}.slide-right{animation:slide-right 1s}@keyframes slide-right{0%{opacity:0;transform:translate(75px)}to{opacity:1;transform:translate(0)}}@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;inset:0;pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px)}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;inset:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media(pointer:coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}')),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
import * as Ai from "react";
|
|
3
|
-
import Ae, { useState as E, useEffect as j, useRef as ae, useMemo as $, useContext as wc, forwardRef as Xe, createContext as Eg, useCallback as L, useImperativeHandle as Dg, useLayoutEffect as lo, createElement as Es, Fragment as
|
|
3
|
+
import Ae, { useState as E, useEffect as j, useRef as ae, useMemo as $, useContext as wc, forwardRef as Xe, createContext as Eg, useCallback as L, useImperativeHandle as Dg, useLayoutEffect as lo, createElement as Es, Fragment as nn, PureComponent as Qb, createRef as Ds, Component as y1, Suspense as C1, memo as Sg, Children as Hb } from "react";
|
|
4
4
|
import { DndProvider as Ig, useDrop as Co, useDrag as Xs } from "react-dnd";
|
|
5
5
|
import { HTML5Backend as Og } from "react-dnd-html5-backend";
|
|
6
6
|
import p, { ThemeContext as E1, css as _e, useTheme as lt, keyframes as Gs, ThemeProvider as Pp } from "styled-components";
|
|
@@ -875,7 +875,7 @@ const yc = (e = {}) => _e`
|
|
|
875
875
|
className: n ?? "",
|
|
876
876
|
noMargin: r ?? !1
|
|
877
877
|
}
|
|
878
|
-
),
|
|
878
|
+
), KA = {
|
|
879
879
|
color: "primary",
|
|
880
880
|
background: "transparent",
|
|
881
881
|
border: "transparent",
|
|
@@ -1207,46 +1207,46 @@ const yc = (e = {}) => _e`
|
|
|
1207
1207
|
}
|
|
1208
1208
|
},
|
|
1209
1209
|
link: {
|
|
1210
|
-
primary: { ...
|
|
1211
|
-
primaryLight: { ...
|
|
1210
|
+
primary: { ...KA },
|
|
1211
|
+
primaryLight: { ...KA },
|
|
1212
1212
|
valid: {
|
|
1213
|
-
...
|
|
1213
|
+
...KA,
|
|
1214
1214
|
color: "green"
|
|
1215
1215
|
},
|
|
1216
1216
|
validLight: {
|
|
1217
|
-
...
|
|
1217
|
+
...KA,
|
|
1218
1218
|
color: "green"
|
|
1219
1219
|
},
|
|
1220
1220
|
danger: {
|
|
1221
|
-
...
|
|
1221
|
+
...KA,
|
|
1222
1222
|
color: "red"
|
|
1223
1223
|
},
|
|
1224
1224
|
dangerLight: {
|
|
1225
|
-
...
|
|
1225
|
+
...KA,
|
|
1226
1226
|
color: "red"
|
|
1227
1227
|
},
|
|
1228
1228
|
secondary: {
|
|
1229
|
-
...
|
|
1229
|
+
...KA,
|
|
1230
1230
|
color: "secondary"
|
|
1231
1231
|
},
|
|
1232
1232
|
cancel: {
|
|
1233
|
-
...
|
|
1233
|
+
...KA,
|
|
1234
1234
|
color: "grey4"
|
|
1235
1235
|
},
|
|
1236
1236
|
disabled: {
|
|
1237
|
-
...
|
|
1237
|
+
...KA,
|
|
1238
1238
|
color: "grey3"
|
|
1239
1239
|
},
|
|
1240
1240
|
neutral: {
|
|
1241
|
-
...
|
|
1241
|
+
...KA,
|
|
1242
1242
|
color: "grey5"
|
|
1243
1243
|
},
|
|
1244
1244
|
white: {
|
|
1245
|
-
...
|
|
1245
|
+
...KA,
|
|
1246
1246
|
color: "white"
|
|
1247
1247
|
},
|
|
1248
1248
|
transparent: {
|
|
1249
|
-
...
|
|
1249
|
+
...KA,
|
|
1250
1250
|
color: "grey5"
|
|
1251
1251
|
}
|
|
1252
1252
|
}
|
|
@@ -2447,7 +2447,7 @@ const Zp = async ({ elementReference: e = null, tooltipReference: t = null, tool
|
|
|
2447
2447
|
t = t.parentElement;
|
|
2448
2448
|
}
|
|
2449
2449
|
return document.scrollingElement || document.documentElement;
|
|
2450
|
-
}, uI = typeof window < "u" ? lo : j,
|
|
2450
|
+
}, uI = typeof window < "u" ? lo : j, JA = (e) => {
|
|
2451
2451
|
e.current && (clearTimeout(e.current), e.current = null);
|
|
2452
2452
|
}, fI = "DEFAULT_TOOLTIP_ID", gI = { anchorRefs: /* @__PURE__ */ new Set(), activeAnchor: { current: null }, attach: () => {
|
|
2453
2453
|
}, detach: () => {
|
|
@@ -2459,17 +2459,17 @@ function lB(e = fI) {
|
|
|
2459
2459
|
var Ii = { tooltip: "core-styles-module_tooltip__3vRRp", fixed: "core-styles-module_fixed__pcSol", arrow: "core-styles-module_arrow__cvMwQ", noArrow: "core-styles-module_noArrow__xock6", clickable: "core-styles-module_clickable__ZuTTB", show: "core-styles-module_show__Nt9eE", closing: "core-styles-module_closing__sGnxF" }, xd = { tooltip: "styles-module_tooltip__mnnfp", arrow: "styles-module_arrow__K0L3T", dark: "styles-module_dark__xNqje", light: "styles-module_light__Z6W-X", success: "styles-module_success__A2AKt", warning: "styles-module_warning__SCK0X", error: "styles-module_error__JvumD", info: "styles-module_info__BWdHW" };
|
|
2460
2460
|
const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r = "dark", anchorId: i, anchorSelect: o, place: a = "top", offset: l = 10, events: c = ["hover"], openOnClick: d = !1, positionStrategy: u = "absolute", middlewares: f, wrapper: g, delayShow: h = 0, delayHide: m = 0, float: v = !1, hidden: w = !1, noArrow: x = !1, clickable: b = !1, closeOnEsc: B = !1, closeOnScroll: y = !1, closeOnResize: C = !1, openEvents: D, closeEvents: I, globalCloseEvents: O, imperativeModeOnly: F, style: k, position: z, afterShow: W, afterHide: M, disableTooltip: X, content: te, contentWrapperRef: G, isOpen: _, defaultIsOpen: V = !1, setIsOpen: Q, previousActiveAnchor: S, activeAnchor: N, setActiveAnchor: Z, border: U, opacity: R, arrowColor: J, arrowSize: Y = 8, role: H = "tooltip" }) => {
|
|
2461
2461
|
var ce;
|
|
2462
|
-
const le = ae(null), ke = ae(null), oe = ae(null), re = ae(null), De = ae(null), [Re, Oe] = E({ tooltipStyles: {}, tooltipArrowStyles: {}, place: a }), [Pe, ht] = E(!1), [de, je] = E(!1), [ge, yt] = E(null), an = ae(!1), vA = ae(null), { anchorRefs: wA, setActiveAnchor: xA } = lB(t), Wt = ae(!1), [bA, Qn] = E([]),
|
|
2463
|
-
!D &&
|
|
2462
|
+
const le = ae(null), ke = ae(null), oe = ae(null), re = ae(null), De = ae(null), [Re, Oe] = E({ tooltipStyles: {}, tooltipArrowStyles: {}, place: a }), [Pe, ht] = E(!1), [de, je] = E(!1), [ge, yt] = E(null), an = ae(!1), vA = ae(null), { anchorRefs: wA, setActiveAnchor: xA } = lB(t), Wt = ae(!1), [bA, Qn] = E([]), WA = ae(!1), XA = d || c.includes("click"), _n = XA || D?.click || D?.dblclick || D?.mousedown, GA = D ? { ...D } : { mouseover: !0, focus: !0, mouseenter: !1, click: !1, dblclick: !1, mousedown: !1 };
|
|
2463
|
+
!D && XA && Object.assign(GA, { mouseenter: !1, focus: !1, mouseover: !1, click: !0 });
|
|
2464
2464
|
const BA = I ? { ...I } : { mouseout: !0, blur: !0, mouseleave: !1, click: !1, dblclick: !1, mouseup: !1 };
|
|
2465
|
-
!I &&
|
|
2465
|
+
!I && XA && Object.assign(BA, { mouseleave: !1, blur: !1, mouseout: !1 });
|
|
2466
2466
|
const rt = O ? { ...O } : { escape: B || !1, scroll: y || !1, resize: C || !1, clickOutsideAnchor: _n || !1 };
|
|
2467
|
-
F && (Object.assign(
|
|
2468
|
-
|
|
2467
|
+
F && (Object.assign(GA, { mouseover: !1, focus: !1, mouseenter: !1, click: !1, dblclick: !1, mousedown: !1 }), Object.assign(BA, { mouseout: !1, blur: !1, mouseleave: !1, click: !1, dblclick: !1, mouseup: !1 }), Object.assign(rt, { escape: !1, scroll: !1, resize: !1, clickOutsideAnchor: !1 })), uI((() => (WA.current = !0, () => {
|
|
2468
|
+
WA.current = !1;
|
|
2469
2469
|
})), []);
|
|
2470
2470
|
const Ct = (ue) => {
|
|
2471
|
-
|
|
2472
|
-
|
|
2471
|
+
WA.current && (ue && je(!0), setTimeout((() => {
|
|
2472
|
+
WA.current && (Q?.(ue), _ === void 0 && ht(ue));
|
|
2473
2473
|
}), 10));
|
|
2474
2474
|
};
|
|
2475
2475
|
j((() => {
|
|
@@ -2501,7 +2501,7 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2501
2501
|
clearTimeout(ue);
|
|
2502
2502
|
};
|
|
2503
2503
|
}), [_]), j((() => {
|
|
2504
|
-
if (Pe !== an.current) if (
|
|
2504
|
+
if (Pe !== an.current) if (JA(De), an.current = Pe, Pe) W?.();
|
|
2505
2505
|
else {
|
|
2506
2506
|
const ue = ((ye) => {
|
|
2507
2507
|
const pe = ye.match(/^([\d.]+)(ms|s)$/);
|
|
@@ -2514,14 +2514,14 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2514
2514
|
}), ue + 25);
|
|
2515
2515
|
}
|
|
2516
2516
|
}), [Pe]);
|
|
2517
|
-
const
|
|
2517
|
+
const VA = (ue) => {
|
|
2518
2518
|
Oe(((ye) => ff(ye, ue) ? ye : ue));
|
|
2519
2519
|
}, ln = (ue = h) => {
|
|
2520
|
-
|
|
2520
|
+
JA(oe), de ? Ct(!0) : oe.current = setTimeout((() => {
|
|
2521
2521
|
Ct(!0);
|
|
2522
2522
|
}), ue);
|
|
2523
2523
|
}, Ie = (ue = m) => {
|
|
2524
|
-
|
|
2524
|
+
JA(re), re.current = setTimeout((() => {
|
|
2525
2525
|
Wt.current || Ct(!1);
|
|
2526
2526
|
}), ue);
|
|
2527
2527
|
}, Ue = (ue) => {
|
|
@@ -2529,14 +2529,14 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2529
2529
|
if (!ue) return;
|
|
2530
2530
|
const pe = (ye = ue.currentTarget) !== null && ye !== void 0 ? ye : ue.target;
|
|
2531
2531
|
if (!pe?.isConnected) return Z(null), void xA({ current: null });
|
|
2532
|
-
h ? ln() : Ct(!0), Z(pe), xA({ current: pe }),
|
|
2532
|
+
h ? ln() : Ct(!0), Z(pe), xA({ current: pe }), JA(re);
|
|
2533
2533
|
}, ve = () => {
|
|
2534
|
-
b ? Ie(m || 100) : m ? Ie() : Ct(!1),
|
|
2534
|
+
b ? Ie(m || 100) : m ? Ie() : Ct(!1), JA(oe);
|
|
2535
2535
|
}, We = ({ x: ue, y: ye }) => {
|
|
2536
2536
|
var pe;
|
|
2537
2537
|
const Ke = { getBoundingClientRect: () => ({ x: ue, y: ye, width: 0, height: 0, top: ye, left: ue, right: ue, bottom: ye }) };
|
|
2538
2538
|
Zp({ place: (pe = ge?.place) !== null && pe !== void 0 ? pe : a, offset: l, elementReference: Ke, tooltipReference: le.current, tooltipArrowReference: ke.current, strategy: u, middlewares: f, border: U, arrowSize: Y }).then(((Qt) => {
|
|
2539
|
-
|
|
2539
|
+
VA(Qt);
|
|
2540
2540
|
}));
|
|
2541
2541
|
}, ut = (ue) => {
|
|
2542
2542
|
if (!ue) return;
|
|
@@ -2546,7 +2546,7 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2546
2546
|
var ye;
|
|
2547
2547
|
if (!Pe) return;
|
|
2548
2548
|
const pe = ue.target;
|
|
2549
|
-
pe.isConnected && (!((ye = le.current) === null || ye === void 0) && ye.contains(pe) || [document.querySelector(`[id='${i}']`), ...bA].some(((Ke) => Ke?.contains(pe))) || (Ct(!1),
|
|
2549
|
+
pe.isConnected && (!((ye = le.current) === null || ye === void 0) && ye.contains(pe) || [document.querySelector(`[id='${i}']`), ...bA].some(((Ke) => Ke?.contains(pe))) || (Ct(!1), JA(oe)));
|
|
2550
2550
|
}, pr = $p(Ue, 50), Ne = $p(ve, 50), mt = (ue) => {
|
|
2551
2551
|
Ne.cancel(), pr(ue);
|
|
2552
2552
|
}, Be = () => {
|
|
@@ -2555,7 +2555,7 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2555
2555
|
var ue, ye;
|
|
2556
2556
|
const pe = (ue = ge?.position) !== null && ue !== void 0 ? ue : z;
|
|
2557
2557
|
pe ? We(pe) : v ? vA.current && We(vA.current) : N?.isConnected && Zp({ place: (ye = ge?.place) !== null && ye !== void 0 ? ye : a, offset: l, elementReference: N, tooltipReference: le.current, tooltipArrowReference: ke.current, strategy: u, middlewares: f, border: U, arrowSize: Y }).then(((Ke) => {
|
|
2558
|
-
|
|
2558
|
+
WA.current && VA(Ke);
|
|
2559
2559
|
}));
|
|
2560
2560
|
}), [Pe, N, te, k, a, ge?.place, l, u, z, ge?.position, v, Y]);
|
|
2561
2561
|
j((() => {
|
|
@@ -2581,7 +2581,7 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2581
2581
|
}, da = (Ce) => {
|
|
2582
2582
|
Pe && $n(Ce) && ve();
|
|
2583
2583
|
}, ua = ["mouseover", "mouseout", "mouseenter", "mouseleave", "focus", "blur"], we = ["click", "dblclick", "mousedown", "mouseup"];
|
|
2584
|
-
Object.entries(
|
|
2584
|
+
Object.entries(GA).forEach((([Ce, ft]) => {
|
|
2585
2585
|
ft && (ua.includes(Ce) ? ct.push({ event: Ce, listener: mt }) : we.includes(Ce) && ct.push({ event: Ce, listener: ca }));
|
|
2586
2586
|
})), Object.entries(BA).forEach((([Ce, ft]) => {
|
|
2587
2587
|
ft && (ua.includes(Ce) ? ct.push({ event: Ce, listener: Be }) : we.includes(Ce) && ct.push({ event: Ce, listener: da }));
|
|
@@ -2605,7 +2605,7 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2605
2605
|
}));
|
|
2606
2606
|
}));
|
|
2607
2607
|
};
|
|
2608
|
-
}), [N, ze, de, wA, bA, D, I, O,
|
|
2608
|
+
}), [N, ze, de, wA, bA, D, I, O, XA, h, m]), j((() => {
|
|
2609
2609
|
var ue, ye;
|
|
2610
2610
|
let pe = (ye = (ue = ge?.anchorSelect) !== null && ue !== void 0 ? ue : o) !== null && ye !== void 0 ? ye : "";
|
|
2611
2611
|
!pe && t && (pe = `[data-tooltip-id='${t.replace(/'/g, "\\'")}']`);
|
|
@@ -2621,7 +2621,7 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2621
2621
|
}
|
|
2622
2622
|
St.some(((ct) => {
|
|
2623
2623
|
var $n;
|
|
2624
|
-
return !!(!(($n = ct?.contains) === null || $n === void 0) && $n.call(ct, N)) && (je(!1), Ct(!1), Z(null),
|
|
2624
|
+
return !!(!(($n = ct?.contains) === null || $n === void 0) && $n.call(ct, N)) && (je(!1), Ct(!1), Z(null), JA(oe), JA(re), !0);
|
|
2625
2625
|
}));
|
|
2626
2626
|
}
|
|
2627
2627
|
if (pe) try {
|
|
@@ -2650,7 +2650,7 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2650
2650
|
const ye = document.querySelector(`[id='${i}']`), pe = [...bA, ye];
|
|
2651
2651
|
N && pe.includes(N) || Z((ue = bA[0]) !== null && ue !== void 0 ? ue : ye);
|
|
2652
2652
|
}), [i, bA, N]), j((() => (V && Ct(!0), () => {
|
|
2653
|
-
|
|
2653
|
+
JA(oe), JA(re);
|
|
2654
2654
|
})), []), j((() => {
|
|
2655
2655
|
var ue;
|
|
2656
2656
|
let ye = (ue = ge?.anchorSelect) !== null && ue !== void 0 ? ue : o;
|
|
@@ -2661,7 +2661,7 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2661
2661
|
Qn([]);
|
|
2662
2662
|
}
|
|
2663
2663
|
}), [t, o, ge?.anchorSelect]), j((() => {
|
|
2664
|
-
oe.current && (
|
|
2664
|
+
oe.current && (JA(oe), ln(h));
|
|
2665
2665
|
}), [h]);
|
|
2666
2666
|
const Jt = (ce = ge?.content) !== null && ce !== void 0 ? ce : te, Hn = Pe && Object.keys(Re.tooltipStyles).length > 0;
|
|
2667
2667
|
return Dg(e, (() => ({ open: (ue) => {
|
|
@@ -2674,10 +2674,10 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2674
2674
|
}, close: (ue) => {
|
|
2675
2675
|
ue?.delay ? Ie(ue.delay) : Ct(!1);
|
|
2676
2676
|
}, activeAnchor: N, place: Re.place, isOpen: !!(de && !w && Jt && Hn) }))), de && !w && Jt ? Ae.createElement(g, { id: t, role: H, className: Ql("react-tooltip", Ii.tooltip, xd.tooltip, xd[r], A, `react-tooltip__place-${Re.place}`, Ii[Hn ? "show" : "closing"], Hn ? "react-tooltip__show" : "react-tooltip__closing", u === "fixed" && Ii.fixed, b && Ii.clickable), onTransitionEnd: (ue) => {
|
|
2677
|
-
|
|
2677
|
+
JA(De), Pe || ue.propertyName !== "opacity" || (je(!1), yt(null), M?.());
|
|
2678
2678
|
}, style: { ...k, ...Re.tooltipStyles, opacity: R !== void 0 && Hn ? R : void 0 }, ref: le }, Jt, Ae.createElement(g, { className: Ql("react-tooltip-arrow", Ii.arrow, xd.arrow, n, x && Ii.noArrow), style: { ...Re.tooltipArrowStyles, background: J ? `linear-gradient(to right bottom, transparent 50%, ${J} 50%)` : void 0, "--rt-arrow-size": `${Y}px` }, ref: ke })) : null;
|
|
2679
2679
|
}, mI = ({ content: e }) => Ae.createElement("span", { dangerouslySetInnerHTML: { __html: e } }), vI = Ae.forwardRef((({ id: e, anchorId: t, anchorSelect: A, content: n, html: r, render: i, className: o, classNameArrow: a, variant: l = "dark", place: c = "top", offset: d = 10, wrapper: u = "div", children: f = null, events: g = ["hover"], openOnClick: h = !1, positionStrategy: m = "absolute", middlewares: v, delayShow: w = 0, delayHide: x = 0, float: b = !1, hidden: B = !1, noArrow: y = !1, clickable: C = !1, closeOnEsc: D = !1, closeOnScroll: I = !1, closeOnResize: O = !1, openEvents: F, closeEvents: k, globalCloseEvents: z, imperativeModeOnly: W = !1, style: M, position: X, isOpen: te, defaultIsOpen: G = !1, disableStyleInjection: _ = !1, border: V, opacity: Q, arrowColor: S, arrowSize: N, setIsOpen: Z, afterShow: U, afterHide: R, disableTooltip: J, role: Y = "tooltip" }, H) => {
|
|
2680
|
-
const [ce, le] = E(n), [ke, oe] = E(r), [re, De] = E(c), [Re, Oe] = E(l), [Pe, ht] = E(d), [de, je] = E(w), [ge, yt] = E(x), [an, vA] = E(b), [wA, xA] = E(B), [Wt, bA] = E(u), [Qn,
|
|
2680
|
+
const [ce, le] = E(n), [ke, oe] = E(r), [re, De] = E(c), [Re, Oe] = E(l), [Pe, ht] = E(d), [de, je] = E(w), [ge, yt] = E(x), [an, vA] = E(b), [wA, xA] = E(B), [Wt, bA] = E(u), [Qn, WA] = E(g), [XA, _n] = E(m), [GA, BA] = E(null), [rt, Ct] = E(null), VA = ae(null), ln = ae(_), { anchorRefs: Ie, activeAnchor: Ue } = lB(e), ve = (Ne) => Ne?.getAttributeNames().reduce(((mt, Be) => {
|
|
2681
2681
|
var ze;
|
|
2682
2682
|
return Be.startsWith("data-tooltip-") && (mt[Be.replace(/^data-tooltip-/, "")] = (ze = Ne?.getAttribute(Be)) !== null && ze !== void 0 ? ze : null), mt;
|
|
2683
2683
|
}), {}), We = (Ne) => {
|
|
@@ -2698,7 +2698,7 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2698
2698
|
bA((ze = Be) !== null && ze !== void 0 ? ze : u);
|
|
2699
2699
|
}, events: (Be) => {
|
|
2700
2700
|
const ze = Be?.split(" ");
|
|
2701
|
-
|
|
2701
|
+
WA(ze ?? g);
|
|
2702
2702
|
}, "position-strategy": (Be) => {
|
|
2703
2703
|
var ze;
|
|
2704
2704
|
_n((ze = Be) !== null && ze !== void 0 ? ze : m);
|
|
@@ -2780,8 +2780,8 @@ const pI = ({ forwardRef: e, id: t, className: A, classNameArrow: n, variant: r
|
|
|
2780
2780
|
ut = Ne ? Ae.createElement("div", { ref: Me, className: "react-tooltip-content-wrapper" }, Ne) : null;
|
|
2781
2781
|
} else ce && (ut = ce);
|
|
2782
2782
|
ke && (ut = Ae.createElement(mI, { content: ke }));
|
|
2783
|
-
const pr = { forwardRef: H, id: e, anchorId: t, anchorSelect: A, className: Ql(o,
|
|
2784
|
-
Ct(((mt) => (Ne?.isSameNode(mt) || (
|
|
2783
|
+
const pr = { forwardRef: H, id: e, anchorId: t, anchorSelect: A, className: Ql(o, GA), classNameArrow: a, content: ut, contentWrapperRef: Me, place: re, variant: Re, offset: Pe, wrapper: Wt, events: Qn, openOnClick: h, positionStrategy: XA, middlewares: v, delayShow: de, delayHide: ge, float: an, hidden: wA, noArrow: y, clickable: C, closeOnEsc: D, closeOnScroll: I, closeOnResize: O, openEvents: F, closeEvents: k, globalCloseEvents: z, imperativeModeOnly: W, style: M, position: X, isOpen: te, defaultIsOpen: G, border: V, opacity: Q, arrowColor: S, arrowSize: N, setIsOpen: Z, afterShow: U, afterHide: R, disableTooltip: J, activeAnchor: rt, previousActiveAnchor: VA.current, setActiveAnchor: (Ne) => {
|
|
2784
|
+
Ct(((mt) => (Ne?.isSameNode(mt) || (VA.current = mt), Ne)));
|
|
2785
2785
|
}, role: Y };
|
|
2786
2786
|
return Ae.createElement(pI, { ...pr });
|
|
2787
2787
|
}));
|
|
@@ -2805,7 +2805,7 @@ var BI = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(cryp
|
|
|
2805
2805
|
const Am = {
|
|
2806
2806
|
randomUUID: BI
|
|
2807
2807
|
};
|
|
2808
|
-
function
|
|
2808
|
+
function NA(e, t, A) {
|
|
2809
2809
|
if (Am.randomUUID && !e)
|
|
2810
2810
|
return Am.randomUUID();
|
|
2811
2811
|
e = e || {};
|
|
@@ -2843,7 +2843,7 @@ const yI = {
|
|
|
2843
2843
|
display: inline-block;
|
|
2844
2844
|
${(e) => e.height ? `height: ${e.height}` : ""}
|
|
2845
2845
|
`, Lg = Xe((e, t) => {
|
|
2846
|
-
const A = $(() =>
|
|
2846
|
+
const A = $(() => NA(), []), n = $(() => e.asBlock ? nm : DI, [e.asBlock]), r = $(() => e.asBlock ? nm : SI, [e.asBlock]);
|
|
2847
2847
|
return /* @__PURE__ */ s.jsxs(n, { className: e.className, height: e.height, children: [
|
|
2848
2848
|
/* @__PURE__ */ s.jsx(
|
|
2849
2849
|
r,
|
|
@@ -2984,7 +2984,7 @@ const NI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2984
2984
|
padStartTwoDigits: mn,
|
|
2985
2985
|
removeIfStartsWith: LI,
|
|
2986
2986
|
suffixIfDoesNotExist: RI
|
|
2987
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2987
|
+
}, Symbol.toStringTag, { value: "Module" })), _A = (e) => String(e).padStart(2, "0"), Xn = (e) => {
|
|
2988
2988
|
const t = e ? new Date(e) : /* @__PURE__ */ new Date();
|
|
2989
2989
|
return {
|
|
2990
2990
|
date: t.getDate(),
|
|
@@ -2995,10 +2995,10 @@ const NI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2995
2995
|
seconds: t.getSeconds()
|
|
2996
2996
|
};
|
|
2997
2997
|
}, Yi = (e) => {
|
|
2998
|
-
const t = e.getFullYear(), A =
|
|
2998
|
+
const t = e.getFullYear(), A = _A(e.getMonth() + 1), n = _A(e.getDate());
|
|
2999
2999
|
return `${t}-${A}-${n}`;
|
|
3000
3000
|
}, Fl = (e) => {
|
|
3001
|
-
const t =
|
|
3001
|
+
const t = _A(e.getHours()), A = _A(e.getMinutes()), n = _A(e.getSeconds());
|
|
3002
3002
|
return `${t}:${A}:${n}`;
|
|
3003
3003
|
}, Wi = (e) => {
|
|
3004
3004
|
const t = Yi(e), A = Fl(e);
|
|
@@ -3047,7 +3047,7 @@ const NI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3047
3047
|
isTomorrow: kg,
|
|
3048
3048
|
isValidDate: zI,
|
|
3049
3049
|
isYesterday: Ng,
|
|
3050
|
-
padDate:
|
|
3050
|
+
padDate: _A,
|
|
3051
3051
|
strToTimestamp: bi,
|
|
3052
3052
|
substractMonth: WI,
|
|
3053
3053
|
toHumanDate: UI,
|
|
@@ -3413,11 +3413,11 @@ function xB() {
|
|
|
3413
3413
|
let vA = !0, wA = !1, xA = {}, Wt = null;
|
|
3414
3414
|
const bA = Ve({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
3415
3415
|
let Qn = null;
|
|
3416
|
-
const
|
|
3417
|
-
let
|
|
3418
|
-
const _n = Ve({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]),
|
|
3419
|
-
let Ct = rt,
|
|
3420
|
-
const Ie = Ve({}, [
|
|
3416
|
+
const WA = Ve({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
3417
|
+
let XA = null;
|
|
3418
|
+
const _n = Ve({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), GA = "http://www.w3.org/1998/Math/MathML", BA = "http://www.w3.org/2000/svg", rt = "http://www.w3.org/1999/xhtml";
|
|
3419
|
+
let Ct = rt, VA = !1, ln = null;
|
|
3420
|
+
const Ie = Ve({}, [GA, BA, rt], Bd);
|
|
3421
3421
|
let Ue = Ve({}, ["mi", "mo", "mn", "ms", "mtext"]), ve = Ve({}, ["annotation-xml"]);
|
|
3422
3422
|
const We = Ve({}, ["title", "style", "font", "a", "script"]);
|
|
3423
3423
|
let ut = null;
|
|
@@ -3429,7 +3429,7 @@ function xB() {
|
|
|
3429
3429
|
let P = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3430
3430
|
if (!(mt && mt === P)) {
|
|
3431
3431
|
if ((!P || typeof P != "object") && (P = {}), P = jn(P), ut = // eslint-disable-next-line unicorn/prefer-includes
|
|
3432
|
-
Me.indexOf(P.PARSER_MEDIA_TYPE) === -1 ? pr : P.PARSER_MEDIA_TYPE, Ne = ut === "application/xhtml+xml" ? Bd : cl, S = hn(P, "ALLOWED_TAGS") ? Ve({}, P.ALLOWED_TAGS, Ne) : N, Z = hn(P, "ALLOWED_ATTR") ? Ve({}, P.ALLOWED_ATTR, Ne) : U, ln = hn(P, "ALLOWED_NAMESPACES") ? Ve({}, P.ALLOWED_NAMESPACES, Bd) : Ie,
|
|
3432
|
+
Me.indexOf(P.PARSER_MEDIA_TYPE) === -1 ? pr : P.PARSER_MEDIA_TYPE, Ne = ut === "application/xhtml+xml" ? Bd : cl, S = hn(P, "ALLOWED_TAGS") ? Ve({}, P.ALLOWED_TAGS, Ne) : N, Z = hn(P, "ALLOWED_ATTR") ? Ve({}, P.ALLOWED_ATTR, Ne) : U, ln = hn(P, "ALLOWED_NAMESPACES") ? Ve({}, P.ALLOWED_NAMESPACES, Bd) : Ie, XA = hn(P, "ADD_URI_SAFE_ATTR") ? Ve(jn(_n), P.ADD_URI_SAFE_ATTR, Ne) : _n, Qn = hn(P, "ADD_DATA_URI_TAGS") ? Ve(jn(WA), P.ADD_DATA_URI_TAGS, Ne) : WA, Wt = hn(P, "FORBID_CONTENTS") ? Ve({}, P.FORBID_CONTENTS, Ne) : bA, J = hn(P, "FORBID_TAGS") ? Ve({}, P.FORBID_TAGS, Ne) : jn({}), Y = hn(P, "FORBID_ATTR") ? Ve({}, P.FORBID_ATTR, Ne) : jn({}), xA = hn(P, "USE_PROFILES") ? P.USE_PROFILES : !1, ce = P.ALLOW_ARIA_ATTR !== !1, le = P.ALLOW_DATA_ATTR !== !1, ke = P.ALLOW_UNKNOWN_PROTOCOLS || !1, oe = P.ALLOW_SELF_CLOSE_IN_ATTR !== !1, re = P.SAFE_FOR_TEMPLATES || !1, De = P.SAFE_FOR_XML !== !1, Re = P.WHOLE_DOCUMENT || !1, ht = P.RETURN_DOM || !1, de = P.RETURN_DOM_FRAGMENT || !1, je = P.RETURN_TRUSTED_TYPE || !1, Pe = P.FORCE_BODY || !1, ge = P.SANITIZE_DOM !== !1, yt = P.SANITIZE_NAMED_PROPS || !1, vA = P.KEEP_CONTENT !== !1, wA = P.IN_PLACE || !1, Q = P.ALLOWED_URI_REGEXP || vB, Ct = P.NAMESPACE || rt, Ue = P.MATHML_TEXT_INTEGRATION_POINTS || Ue, ve = P.HTML_INTEGRATION_POINTS || ve, R = P.CUSTOM_ELEMENT_HANDLING || {}, P.CUSTOM_ELEMENT_HANDLING && ze(P.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (R.tagNameCheck = P.CUSTOM_ELEMENT_HANDLING.tagNameCheck), P.CUSTOM_ELEMENT_HANDLING && ze(P.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (R.attributeNameCheck = P.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), P.CUSTOM_ELEMENT_HANDLING && typeof P.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = P.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), re && (le = !1), de && (ht = !0), xA && (S = Ve({}, am), Z = [], xA.html === !0 && (Ve(S, sm), Ve(Z, lm)), xA.svg === !0 && (Ve(S, Cd), Ve(Z, Sd), Ve(Z, xa)), xA.svgFilters === !0 && (Ve(S, Ed), Ve(Z, Sd), Ve(Z, xa)), xA.mathMl === !0 && (Ve(S, Dd), Ve(Z, cm), Ve(Z, xa))), P.ADD_TAGS && (typeof P.ADD_TAGS == "function" ? H.tagCheck = P.ADD_TAGS : (S === N && (S = jn(S)), Ve(S, P.ADD_TAGS, Ne))), P.ADD_ATTR && (typeof P.ADD_ATTR == "function" ? H.attributeCheck = P.ADD_ATTR : (Z === U && (Z = jn(Z)), Ve(Z, P.ADD_ATTR, Ne))), P.ADD_URI_SAFE_ATTR && Ve(XA, P.ADD_URI_SAFE_ATTR, Ne), P.FORBID_CONTENTS && (Wt === bA && (Wt = jn(Wt)), Ve(Wt, P.FORBID_CONTENTS, Ne)), P.ADD_FORBID_CONTENTS && (Wt === bA && (Wt = jn(Wt)), Ve(Wt, P.ADD_FORBID_CONTENTS, Ne)), vA && (S["#text"] = !0), Re && Ve(S, ["html", "head", "body"]), S.table && (Ve(S, ["tbody"]), delete J.tbody), P.TRUSTED_TYPES_POLICY) {
|
|
3433
3433
|
if (typeof P.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
3434
3434
|
throw zo('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
3435
3435
|
if (typeof P.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -3446,7 +3446,7 @@ function xB() {
|
|
|
3446
3446
|
tagName: "template"
|
|
3447
3447
|
});
|
|
3448
3448
|
const me = cl(P.tagName), Ce = cl(se.tagName);
|
|
3449
|
-
return ln[P.namespaceURI] ? P.namespaceURI === BA ? se.namespaceURI === rt ? me === "svg" : se.namespaceURI ===
|
|
3449
|
+
return ln[P.namespaceURI] ? P.namespaceURI === BA ? se.namespaceURI === rt ? me === "svg" : se.namespaceURI === GA ? me === "svg" && (Ce === "annotation-xml" || Ue[Ce]) : !!Hn[me] : P.namespaceURI === GA ? se.namespaceURI === rt ? me === "math" : se.namespaceURI === BA ? me === "math" && ve[Ce] : !!ue[me] : P.namespaceURI === rt ? se.namespaceURI === BA && !ve[Ce] || se.namespaceURI === GA && !Ue[Ce] ? !1 : !ue[me] && (We[me] || !Hn[me]) : !!(ut === "application/xhtml+xml" && ln[P.namespaceURI]) : !1;
|
|
3450
3450
|
}, pe = function(P) {
|
|
3451
3451
|
ko(t.removed, {
|
|
3452
3452
|
element: P
|
|
@@ -3497,7 +3497,7 @@ function xB() {
|
|
|
3497
3497
|
if (!se || !se.documentElement) {
|
|
3498
3498
|
se = C.createDocument(Ct, "template", null);
|
|
3499
3499
|
try {
|
|
3500
|
-
se.documentElement.innerHTML =
|
|
3500
|
+
se.documentElement.innerHTML = VA ? y : Ce;
|
|
3501
3501
|
} catch {
|
|
3502
3502
|
}
|
|
3503
3503
|
}
|
|
@@ -3566,7 +3566,7 @@ function xB() {
|
|
|
3566
3566
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3567
3567
|
se === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && cA(R.tagNameCheck, me) || R.tagNameCheck instanceof Function && R.tagNameCheck(me)))
|
|
3568
3568
|
) return !1;
|
|
3569
|
-
} else if (!
|
|
3569
|
+
} else if (!XA[se]) {
|
|
3570
3570
|
if (!cA(Q, Uo(me, _, ""))) {
|
|
3571
3571
|
if (!((se === "src" || se === "xlink:href" || se === "href") && P !== "script" && gO(me, "data:") === 0 && Qn[P])) {
|
|
3572
3572
|
if (!(ke && !cA(G, Uo(me, _, "")))) {
|
|
@@ -3658,7 +3658,7 @@ function xB() {
|
|
|
3658
3658
|
};
|
|
3659
3659
|
return t.sanitize = function(we) {
|
|
3660
3660
|
let P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, se = null, me = null, Ce = null, ft = null;
|
|
3661
|
-
if (
|
|
3661
|
+
if (VA = !we, VA && (we = "<!-->"), typeof we != "string" && !Xt(we))
|
|
3662
3662
|
if (typeof we.toString == "function") {
|
|
3663
3663
|
if (we = we.toString(), typeof we != "string")
|
|
3664
3664
|
throw zo("dirty is not a string, aborting");
|
|
@@ -5207,7 +5207,7 @@ const jO = [
|
|
|
5207
5207
|
"otf",
|
|
5208
5208
|
"ai"
|
|
5209
5209
|
];
|
|
5210
|
-
function
|
|
5210
|
+
function qA(e, t, A) {
|
|
5211
5211
|
return {
|
|
5212
5212
|
path: A + e,
|
|
5213
5213
|
colors: {
|
|
@@ -5222,31 +5222,31 @@ function NO(e, t) {
|
|
|
5222
5222
|
switch (String(A).toLocaleLowerCase()) {
|
|
5223
5223
|
case "docx":
|
|
5224
5224
|
case "odt":
|
|
5225
|
-
return
|
|
5225
|
+
return qA("docx.png", "#0263D1", t);
|
|
5226
5226
|
case "xlsx":
|
|
5227
5227
|
case "csv":
|
|
5228
|
-
return
|
|
5228
|
+
return qA("xlsx.png", "#00733B", t);
|
|
5229
5229
|
case "pptx":
|
|
5230
|
-
return
|
|
5230
|
+
return qA("pptx.png", "#E03303", t);
|
|
5231
5231
|
case "pdf":
|
|
5232
|
-
return
|
|
5232
|
+
return qA("pdf.png", "#CC2353", t);
|
|
5233
5233
|
case "zip":
|
|
5234
|
-
return
|
|
5234
|
+
return qA("zip.png", "#566DC6", t);
|
|
5235
5235
|
case "mp3":
|
|
5236
|
-
return
|
|
5236
|
+
return qA("mp3.png", "#8762D7", t);
|
|
5237
5237
|
case "mp4":
|
|
5238
|
-
return
|
|
5238
|
+
return qA("mp4.png", "#218273", t);
|
|
5239
5239
|
case "svg":
|
|
5240
|
-
return
|
|
5240
|
+
return qA("svg.png", "#EA80CA", t);
|
|
5241
5241
|
case "psd":
|
|
5242
|
-
return
|
|
5242
|
+
return qA("psd.png", "#4DA7E6", t);
|
|
5243
5243
|
case "otf":
|
|
5244
5244
|
case "ttf":
|
|
5245
|
-
return
|
|
5245
|
+
return qA("ttf.png", "#131E4B", t);
|
|
5246
5246
|
case "ai":
|
|
5247
|
-
return
|
|
5247
|
+
return qA("ai.png", "#ED8200", t);
|
|
5248
5248
|
default:
|
|
5249
|
-
return
|
|
5249
|
+
return qA("default.png", "#7EDDCF", t);
|
|
5250
5250
|
}
|
|
5251
5251
|
}
|
|
5252
5252
|
const kO = (e, t, A, n = "fitx600") => `/imagecache/${n}/${e}/${t}.png${!!A && "?_=" + bi(A)}`, UO = (e, t, A = "fitx600") => `/imagestatic/${A}/icons/${e?.icon ?? "article"}-white.png${!!t && "?_=" + bi(t)}`, zO = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -6397,7 +6397,7 @@ const Qc = [
|
|
|
6397
6397
|
function UT(e) {
|
|
6398
6398
|
return Lt[e] ?? "";
|
|
6399
6399
|
}
|
|
6400
|
-
const
|
|
6400
|
+
const zA = () => {
|
|
6401
6401
|
const e = ae(new AbortController());
|
|
6402
6402
|
return j(() => {
|
|
6403
6403
|
const t = e.current;
|
|
@@ -6562,7 +6562,7 @@ const UA = () => {
|
|
|
6562
6562
|
e.semiTransparentClosed && !b && o && (x.background = "black20", x.border = "black20");
|
|
6563
6563
|
const C = (O) => {
|
|
6564
6564
|
O.stopPropagation(), B((F) => (F ? h?.() : v?.(), !F));
|
|
6565
|
-
}, D = $(() =>
|
|
6565
|
+
}, D = $(() => NA(), []), I = /* @__PURE__ */ s.jsxs(
|
|
6566
6566
|
Xg,
|
|
6567
6567
|
{
|
|
6568
6568
|
onClickAway: () => {
|
|
@@ -6645,7 +6645,7 @@ const UA = () => {
|
|
|
6645
6645
|
children: /* @__PURE__ */ s.jsx(eQ, { children: d.map((O, F) => /* @__PURE__ */ s.jsx(tQ, { children: /* @__PURE__ */ s.jsxs(
|
|
6646
6646
|
ZT,
|
|
6647
6647
|
{
|
|
6648
|
-
"data-cy": "dropdown_option_" + F,
|
|
6648
|
+
"data-cy": O.dataCy ?? "dropdown_option_" + F,
|
|
6649
6649
|
as: O.href && !O.disabled ? "a" : void 0,
|
|
6650
6650
|
href: O.href,
|
|
6651
6651
|
target: O.target,
|
|
@@ -6733,7 +6733,7 @@ const UA = () => {
|
|
|
6733
6733
|
description: c,
|
|
6734
6734
|
onError: d
|
|
6735
6735
|
}) => {
|
|
6736
|
-
const u = q(), f = lt(), g =
|
|
6736
|
+
const u = q(), f = lt(), g = zA(), [h, m] = E(!1), v = L(() => {
|
|
6737
6737
|
t && (m(!0), i.drive.logout({ id: t.id, service: l }).then(() => {
|
|
6738
6738
|
m(!1), A();
|
|
6739
6739
|
}).catch((b) => {
|
|
@@ -6997,7 +6997,7 @@ const pQ = p.div`
|
|
|
6997
6997
|
labelFor: l,
|
|
6998
6998
|
ref: c
|
|
6999
6999
|
}) => {
|
|
7000
|
-
const d = q(), u = lt(), { debouncedFunction: f, value: g } = cQ(e, o), h = $(() => l ?? `input-search-${
|
|
7000
|
+
const d = q(), u = lt(), { debouncedFunction: f, value: g } = cQ(e, o), h = $(() => l ?? `input-search-${NA()}`, [l]);
|
|
7001
7001
|
return /* @__PURE__ */ s.jsxs(pQ, { width: A ?? "100%", children: [
|
|
7002
7002
|
/* @__PURE__ */ s.jsx(mQ, { children: n ? /* @__PURE__ */ s.jsx(Ge, { size: "s" }) : /* @__PURE__ */ s.jsx(ie, { name: "icon-search", color: u.color.grey2, size: 18 }) }),
|
|
7003
7003
|
/* @__PURE__ */ s.jsxs(vQ, { children: [
|
|
@@ -7322,7 +7322,7 @@ const VB = (e, t) => {
|
|
|
7322
7322
|
`, MQ = p.div`
|
|
7323
7323
|
margin-top: ${({ theme: e }) => e.space.l}px;
|
|
7324
7324
|
`, NQ = (e) => {
|
|
7325
|
-
const t =
|
|
7325
|
+
const t = zA(), A = q(), {
|
|
7326
7326
|
initialFolderColor: n,
|
|
7327
7327
|
useNavigation: r,
|
|
7328
7328
|
useDocumentFilters: i,
|
|
@@ -7397,7 +7397,7 @@ const VB = (e, t) => {
|
|
|
7397
7397
|
onLogin: u,
|
|
7398
7398
|
currentAccount: f
|
|
7399
7399
|
}) => {
|
|
7400
|
-
const g = q(), h =
|
|
7400
|
+
const g = q(), h = zA(), [m, v] = E([]), [w, x] = E(), [b, B] = E([]), [y, C] = E(f), [D, I] = E(), [O, F] = E(!1), [k, z] = E(!0), [W, M] = E("");
|
|
7401
7401
|
j(() => {
|
|
7402
7402
|
a && a(b);
|
|
7403
7403
|
}, [b, a]), j(() => {
|
|
@@ -7532,7 +7532,7 @@ const VB = (e, t) => {
|
|
|
7532
7532
|
onError: i,
|
|
7533
7533
|
id: o
|
|
7534
7534
|
}) => {
|
|
7535
|
-
const a = q(), l = lt(), c =
|
|
7535
|
+
const a = q(), l = lt(), c = zA(), [d, u] = E(""), [f, g] = E("memberOf"), [h, m] = E(!1), [v, w] = E([]), x = L(
|
|
7536
7536
|
(b, B) => {
|
|
7537
7537
|
m(!0), r.drive.groups({ query: b, filter: B, id: o }, { signal: c.signal }).then((y) => {
|
|
7538
7538
|
w(y.result), m(!1);
|
|
@@ -7602,7 +7602,7 @@ const VB = (e, t) => {
|
|
|
7602
7602
|
}, WQ = p.div`
|
|
7603
7603
|
margin-bottom: ${({ theme: e }) => e.space.md}px;
|
|
7604
7604
|
`, XQ = (e) => {
|
|
7605
|
-
const t =
|
|
7605
|
+
const t = zA(), A = q(), {
|
|
7606
7606
|
driveDocumentParams: n,
|
|
7607
7607
|
initialFolderColor: r,
|
|
7608
7608
|
useNavigation: i,
|
|
@@ -7664,7 +7664,7 @@ const VB = (e, t) => {
|
|
|
7664
7664
|
] });
|
|
7665
7665
|
};
|
|
7666
7666
|
function GQ({ handlers: e, id: t }) {
|
|
7667
|
-
const A =
|
|
7667
|
+
const A = zA(), [n, r] = E(!1), [i, o] = E(void 0), [a, l] = E([]);
|
|
7668
7668
|
return j(() => {
|
|
7669
7669
|
r(!0), e.drive.tenants({ id: t }, { signal: A.signal }).then((c) => {
|
|
7670
7670
|
l(c.result), r(!1);
|
|
@@ -7731,7 +7731,7 @@ const VQ = ({
|
|
|
7731
7731
|
onLogin: f,
|
|
7732
7732
|
currentAccount: g
|
|
7733
7733
|
}) => {
|
|
7734
|
-
const h = q(), m =
|
|
7734
|
+
const h = q(), m = zA(), [v, w] = E([]), [x, b] = E(), [B, y] = E(), [C, D] = E(), [I, O] = E([]), [F, k] = E(g), [z, W] = E(), [M, X] = E(!1), [te, G] = E(!0);
|
|
7735
7735
|
j(() => {
|
|
7736
7736
|
const Q = e === void 0 ? { ...JQ } : { ...e };
|
|
7737
7737
|
v.forEach((S) => {
|
|
@@ -9364,7 +9364,7 @@ var QH = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
9364
9364
|
return [$t, $t];
|
|
9365
9365
|
case "to top":
|
|
9366
9366
|
case "bottom":
|
|
9367
|
-
return
|
|
9367
|
+
return tn(0);
|
|
9368
9368
|
case "to bottom left":
|
|
9369
9369
|
case "to left bottom":
|
|
9370
9370
|
case "right top":
|
|
@@ -9372,7 +9372,7 @@ var QH = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
9372
9372
|
return [$t, Dr];
|
|
9373
9373
|
case "to right":
|
|
9374
9374
|
case "left":
|
|
9375
|
-
return
|
|
9375
|
+
return tn(90);
|
|
9376
9376
|
case "to top left":
|
|
9377
9377
|
case "to left top":
|
|
9378
9378
|
case "right bottom":
|
|
@@ -9380,7 +9380,7 @@ var QH = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
9380
9380
|
return [Dr, Dr];
|
|
9381
9381
|
case "to bottom":
|
|
9382
9382
|
case "top":
|
|
9383
|
-
return
|
|
9383
|
+
return tn(180);
|
|
9384
9384
|
case "to top right":
|
|
9385
9385
|
case "to right top":
|
|
9386
9386
|
case "left bottom":
|
|
@@ -9388,10 +9388,10 @@ var QH = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
9388
9388
|
return [Dr, $t];
|
|
9389
9389
|
case "to left":
|
|
9390
9390
|
case "right":
|
|
9391
|
-
return
|
|
9391
|
+
return tn(270);
|
|
9392
9392
|
}
|
|
9393
9393
|
return 0;
|
|
9394
|
-
},
|
|
9394
|
+
}, tn = function(e) {
|
|
9395
9395
|
return Math.PI * e / 180;
|
|
9396
9396
|
}, Hr = {
|
|
9397
9397
|
name: "color",
|
|
@@ -9458,7 +9458,7 @@ function Ud(e, t, A) {
|
|
|
9458
9458
|
return A < 0 && (A += 1), A >= 1 && (A -= 1), A < 1 / 6 ? (t - e) * A * 6 + e : A < 1 / 2 ? t : A < 2 / 3 ? (t - e) * 6 * (2 / 3 - A) + e : e;
|
|
9459
9459
|
}
|
|
9460
9460
|
var Nm = function(e, t) {
|
|
9461
|
-
var A = t.filter(ho), n = A[0], r = A[1], i = A[2], o = A[3], a = (n.type === 17 ?
|
|
9461
|
+
var A = t.filter(ho), n = A[0], r = A[1], i = A[2], o = A[3], a = (n.type === 17 ? tn(n.number) : Lc.parse(e, n)) / (Math.PI * 2), l = Rt(r) ? r.number / 100 : 0, c = Rt(i) ? i.number / 100 : 0, d = typeof o < "u" && Rt(o) ? gt(o, 1) : 1;
|
|
9462
9462
|
if (l === 0)
|
|
9463
9463
|
return Sr(c * 255, c * 255, c * 255, 1);
|
|
9464
9464
|
var u = c <= 0.5 ? c * (l + 1) : c + l - c * l, f = c * 2 - u, g = Ud(f, u, a + 1 / 3), h = Ud(f, u, a), m = Ud(f, u, a - 1 / 3);
|
|
@@ -9724,7 +9724,7 @@ var Nm = function(e, t) {
|
|
|
9724
9724
|
}
|
|
9725
9725
|
return Array.isArray(e.size) && (i = gt(e.size[0], n), o = e.size.length === 2 ? gt(e.size[1], r) : i), [i, o];
|
|
9726
9726
|
}, sP = function(e, t) {
|
|
9727
|
-
var A =
|
|
9727
|
+
var A = tn(180), n = [];
|
|
9728
9728
|
return Jn(t).forEach(function(r, i) {
|
|
9729
9729
|
if (i === 0) {
|
|
9730
9730
|
var o = r[0];
|
|
@@ -9745,7 +9745,7 @@ var Nm = function(e, t) {
|
|
|
9745
9745
|
/* LINEAR_GRADIENT */
|
|
9746
9746
|
};
|
|
9747
9747
|
}, La = function(e, t) {
|
|
9748
|
-
var A =
|
|
9748
|
+
var A = tn(180), n = [];
|
|
9749
9749
|
return Jn(t).forEach(function(r, i) {
|
|
9750
9750
|
if (i === 0) {
|
|
9751
9751
|
var o = r[0];
|
|
@@ -9753,7 +9753,7 @@ var Nm = function(e, t) {
|
|
|
9753
9753
|
A = C0(r);
|
|
9754
9754
|
return;
|
|
9755
9755
|
} else if (y0(o)) {
|
|
9756
|
-
A = (Lc.parse(e, o) +
|
|
9756
|
+
A = (Lc.parse(e, o) + tn(270)) % tn(360);
|
|
9757
9757
|
return;
|
|
9758
9758
|
}
|
|
9759
9759
|
}
|
|
@@ -9766,7 +9766,7 @@ var Nm = function(e, t) {
|
|
|
9766
9766
|
/* LINEAR_GRADIENT */
|
|
9767
9767
|
};
|
|
9768
9768
|
}, aP = function(e, t) {
|
|
9769
|
-
var A =
|
|
9769
|
+
var A = tn(180), n = [], r = 1, i = 0, o = 3, a = [];
|
|
9770
9770
|
return Jn(t).forEach(function(l, c) {
|
|
9771
9771
|
var d = l[0];
|
|
9772
9772
|
if (c === 0) {
|
|
@@ -9797,7 +9797,7 @@ var Nm = function(e, t) {
|
|
|
9797
9797
|
}
|
|
9798
9798
|
}
|
|
9799
9799
|
}), r === 1 ? {
|
|
9800
|
-
angle: (A +
|
|
9800
|
+
angle: (A + tn(180)) % tn(360),
|
|
9801
9801
|
stops: n,
|
|
9802
9802
|
type: r
|
|
9803
9803
|
} : { size: o, shape: i, stops: n, position: a, type: r };
|
|
@@ -11036,27 +11036,27 @@ var eR = 1, Xd = 2, Gd = 3, qm = 4, Ym = 5, tR = 7, Zm = 8, Vd = 9, Kd = 10, _m
|
|
|
11036
11036
|
o <= 65535 ? n.push(o) : (o -= 65536, n.push((o >> 10) + 55296, o % 1024 + 56320)), (r + 1 === A || n.length > 16384) && (i += String.fromCharCode.apply(String, n), n.length = 0);
|
|
11037
11037
|
}
|
|
11038
11038
|
return i;
|
|
11039
|
-
}, rR = Zj(Rj),
|
|
11039
|
+
}, rR = Zj(Rj), YA = "×", qd = "÷", iR = function(e) {
|
|
11040
11040
|
return rR.get(e);
|
|
11041
11041
|
}, oR = function(e, t, A) {
|
|
11042
11042
|
var n = A - 2, r = t[n], i = t[A - 1], o = t[A];
|
|
11043
11043
|
if (i === Xd && o === Gd)
|
|
11044
|
-
return
|
|
11044
|
+
return YA;
|
|
11045
11045
|
if (i === Xd || i === Gd || i === qm || o === Xd || o === Gd || o === qm)
|
|
11046
11046
|
return qd;
|
|
11047
11047
|
if (i === Zm && [Zm, Vd, _m, $m].indexOf(o) !== -1 || (i === _m || i === Vd) && (o === Vd || o === Kd) || (i === $m || i === Kd) && o === Kd || o === ev || o === Ym || o === tR || i === eR)
|
|
11048
|
-
return
|
|
11048
|
+
return YA;
|
|
11049
11049
|
if (i === ev && o === tv) {
|
|
11050
11050
|
for (; r === Ym; )
|
|
11051
11051
|
r = t[--n];
|
|
11052
11052
|
if (r === tv)
|
|
11053
|
-
return
|
|
11053
|
+
return YA;
|
|
11054
11054
|
}
|
|
11055
11055
|
if (i === Jd && o === Jd) {
|
|
11056
11056
|
for (var a = 0; r === Jd; )
|
|
11057
11057
|
a++, r = t[--n];
|
|
11058
11058
|
if (a % 2 === 0)
|
|
11059
|
-
return
|
|
11059
|
+
return YA;
|
|
11060
11060
|
}
|
|
11061
11061
|
return qd;
|
|
11062
11062
|
}, sR = function(e) {
|
|
@@ -11065,9 +11065,9 @@ var eR = 1, Xd = 2, Gd = 3, qm = 4, Ym = 5, tR = 7, Zm = 8, Vd = 9, Kd = 10, _m
|
|
|
11065
11065
|
next: function() {
|
|
11066
11066
|
if (n >= A)
|
|
11067
11067
|
return { done: !0, value: null };
|
|
11068
|
-
for (var o =
|
|
11068
|
+
for (var o = YA; n < A && (o = oR(t, i, ++n)) === YA; )
|
|
11069
11069
|
;
|
|
11070
|
-
if (o !==
|
|
11070
|
+
if (o !== YA || n === A) {
|
|
11071
11071
|
var a = nR.apply(null, t.slice(r, n));
|
|
11072
11072
|
return r = n, { value: a, done: !1 };
|
|
11073
11073
|
}
|
|
@@ -12266,7 +12266,7 @@ var UR = function(e, t) {
|
|
|
12266
12266
|
return new e(this.end, this.endControl, this.startControl, this.start);
|
|
12267
12267
|
}, e;
|
|
12268
12268
|
})()
|
|
12269
|
-
),
|
|
12269
|
+
), $A = function(e) {
|
|
12270
12270
|
return e.type === 1;
|
|
12271
12271
|
}, oL = (
|
|
12272
12272
|
/** @class */
|
|
@@ -12485,35 +12485,35 @@ var wt = function(e, t, A, n, r) {
|
|
|
12485
12485
|
}, mv = function(e, t) {
|
|
12486
12486
|
switch (t) {
|
|
12487
12487
|
case 0:
|
|
12488
|
-
return
|
|
12488
|
+
return An(e.topLeftBorderBox, e.topLeftPaddingBox, e.topRightBorderBox, e.topRightPaddingBox);
|
|
12489
12489
|
case 1:
|
|
12490
|
-
return
|
|
12490
|
+
return An(e.topRightBorderBox, e.topRightPaddingBox, e.bottomRightBorderBox, e.bottomRightPaddingBox);
|
|
12491
12491
|
case 2:
|
|
12492
|
-
return
|
|
12492
|
+
return An(e.bottomRightBorderBox, e.bottomRightPaddingBox, e.bottomLeftBorderBox, e.bottomLeftPaddingBox);
|
|
12493
12493
|
default:
|
|
12494
|
-
return
|
|
12494
|
+
return An(e.bottomLeftBorderBox, e.bottomLeftPaddingBox, e.topLeftBorderBox, e.topLeftPaddingBox);
|
|
12495
12495
|
}
|
|
12496
12496
|
}, gL = function(e, t) {
|
|
12497
12497
|
switch (t) {
|
|
12498
12498
|
case 0:
|
|
12499
|
-
return
|
|
12499
|
+
return An(e.topLeftBorderBox, e.topLeftBorderDoubleOuterBox, e.topRightBorderBox, e.topRightBorderDoubleOuterBox);
|
|
12500
12500
|
case 1:
|
|
12501
|
-
return
|
|
12501
|
+
return An(e.topRightBorderBox, e.topRightBorderDoubleOuterBox, e.bottomRightBorderBox, e.bottomRightBorderDoubleOuterBox);
|
|
12502
12502
|
case 2:
|
|
12503
|
-
return
|
|
12503
|
+
return An(e.bottomRightBorderBox, e.bottomRightBorderDoubleOuterBox, e.bottomLeftBorderBox, e.bottomLeftBorderDoubleOuterBox);
|
|
12504
12504
|
default:
|
|
12505
|
-
return
|
|
12505
|
+
return An(e.bottomLeftBorderBox, e.bottomLeftBorderDoubleOuterBox, e.topLeftBorderBox, e.topLeftBorderDoubleOuterBox);
|
|
12506
12506
|
}
|
|
12507
12507
|
}, hL = function(e, t) {
|
|
12508
12508
|
switch (t) {
|
|
12509
12509
|
case 0:
|
|
12510
|
-
return
|
|
12510
|
+
return An(e.topLeftBorderDoubleInnerBox, e.topLeftPaddingBox, e.topRightBorderDoubleInnerBox, e.topRightPaddingBox);
|
|
12511
12511
|
case 1:
|
|
12512
|
-
return
|
|
12512
|
+
return An(e.topRightBorderDoubleInnerBox, e.topRightPaddingBox, e.bottomRightBorderDoubleInnerBox, e.bottomRightPaddingBox);
|
|
12513
12513
|
case 2:
|
|
12514
|
-
return
|
|
12514
|
+
return An(e.bottomRightBorderDoubleInnerBox, e.bottomRightPaddingBox, e.bottomLeftBorderDoubleInnerBox, e.bottomLeftPaddingBox);
|
|
12515
12515
|
default:
|
|
12516
|
-
return
|
|
12516
|
+
return An(e.bottomLeftBorderDoubleInnerBox, e.bottomLeftPaddingBox, e.topLeftBorderDoubleInnerBox, e.topLeftPaddingBox);
|
|
12517
12517
|
}
|
|
12518
12518
|
}, pL = function(e, t) {
|
|
12519
12519
|
switch (t) {
|
|
@@ -12528,10 +12528,10 @@ var wt = function(e, t, A, n, r) {
|
|
|
12528
12528
|
}
|
|
12529
12529
|
}, Wa = function(e, t) {
|
|
12530
12530
|
var A = [];
|
|
12531
|
-
return
|
|
12532
|
-
},
|
|
12531
|
+
return $A(e) ? A.push(e.subdivide(0.5, !1)) : A.push(e), $A(t) ? A.push(t.subdivide(0.5, !0)) : A.push(t), A;
|
|
12532
|
+
}, An = function(e, t, A, n) {
|
|
12533
12533
|
var r = [];
|
|
12534
|
-
return
|
|
12534
|
+
return $A(e) ? r.push(e.subdivide(0.5, !1)) : r.push(e), $A(A) ? r.push(A.subdivide(0.5, !0)) : r.push(A), $A(n) ? r.push(n.subdivide(0.5, !0).reverse()) : r.push(n), $A(t) ? r.push(t.subdivide(0.5, !1).reverse()) : r.push(t), r;
|
|
12535
12535
|
}, ny = function(e) {
|
|
12536
12536
|
var t = e.bounds, A = e.styles;
|
|
12537
12537
|
return t.add(A.borderLeftWidth, A.borderTopWidth, -(A.borderRightWidth + A.borderLeftWidth), -(A.borderTopWidth + A.borderBottomWidth));
|
|
@@ -12947,8 +12947,8 @@ var wt = function(e, t, A, n, r) {
|
|
|
12947
12947
|
}, t.prototype.formatPath = function(A) {
|
|
12948
12948
|
var n = this;
|
|
12949
12949
|
A.forEach(function(r, i) {
|
|
12950
|
-
var o =
|
|
12951
|
-
i === 0 ? n.ctx.moveTo(o.x, o.y) : n.ctx.lineTo(o.x, o.y),
|
|
12950
|
+
var o = $A(r) ? r.start : r;
|
|
12951
|
+
i === 0 ? n.ctx.moveTo(o.x, o.y) : n.ctx.lineTo(o.x, o.y), $A(r) && n.ctx.bezierCurveTo(r.startControl.x, r.startControl.y, r.endControl.x, r.endControl.y, r.end.x, r.end.y);
|
|
12952
12952
|
});
|
|
12953
12953
|
}, t.prototype.renderRepeat = function(A, n, r, i) {
|
|
12954
12954
|
this.path(A), this.ctx.fillStyle = n, this.ctx.translate(r, i), this.ctx.fill(), this.ctx.translate(-r, -i);
|
|
@@ -13115,7 +13115,7 @@ var wt = function(e, t, A, n, r) {
|
|
|
13115
13115
|
return dA(this, void 0, void 0, function() {
|
|
13116
13116
|
var a, l, c, d, u, f, g, h, m, v, w, x, b, B, y, C, y, C;
|
|
13117
13117
|
return AA(this, function(D) {
|
|
13118
|
-
return this.ctx.save(), a = pL(i, r), l = mv(i, r), o === 2 && (this.path(l), this.ctx.clip()),
|
|
13118
|
+
return this.ctx.save(), a = pL(i, r), l = mv(i, r), o === 2 && (this.path(l), this.ctx.clip()), $A(l[0]) ? (c = l[0].start.x, d = l[0].start.y) : (c = l[0].x, d = l[0].y), $A(l[1]) ? (u = l[1].end.x, f = l[1].end.y) : (u = l[1].x, f = l[1].y), r === 0 || r === 2 ? g = Math.abs(c - u) : g = Math.abs(d - f), this.ctx.beginPath(), o === 3 ? this.formatPath(a) : this.formatPath(l.slice(0, 2)), h = n < 3 ? n * 3 : n * 2, m = n < 3 ? n * 2 : n, o === 3 && (h = n, m = n), v = !0, g <= h * 2 ? v = !1 : g <= h * 2 + m ? (w = g / (2 * h + m), h *= w, m *= w) : (x = Math.floor((g + m) / (h + m)), b = (g - x * h) / (x - 1), B = (g - (x + 1) * h) / x, m = B <= 0 || Math.abs(m - b) < Math.abs(m - B) ? b : B), v && (o === 3 ? this.ctx.setLineDash([0, h + m]) : this.ctx.setLineDash([h, m])), o === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = n) : this.ctx.lineWidth = n * 2 + 1.1, this.ctx.strokeStyle = Gt(A), this.ctx.stroke(), this.ctx.setLineDash([]), o === 2 && ($A(l[0]) && (y = l[3], C = l[0], this.ctx.beginPath(), this.formatPath([new fe(y.end.x, y.end.y), new fe(C.start.x, C.start.y)]), this.ctx.stroke()), $A(l[1]) && (y = l[1], C = l[2], this.ctx.beginPath(), this.formatPath([new fe(y.end.x, y.end.y), new fe(C.start.x, C.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
|
|
13119
13119
|
2
|
|
13120
13120
|
/*return*/
|
|
13121
13121
|
];
|
|
@@ -13662,7 +13662,7 @@ const LL = p.button`
|
|
|
13662
13662
|
);
|
|
13663
13663
|
}, wv = Xe(_L), $L = (e, t) => {
|
|
13664
13664
|
let A = document.getElementById(t);
|
|
13665
|
-
return A || (A = document.createElement("div"), A.id =
|
|
13665
|
+
return A || (A = document.createElement("div"), A.id = NA(), e.appendChild(A)), A;
|
|
13666
13666
|
}, e4 = ({ open: e, portalId: t = "react-modal", inPlace: A = !1, ...n }, r) => {
|
|
13667
13667
|
const i = ae(null);
|
|
13668
13668
|
oh({
|
|
@@ -13671,7 +13671,7 @@ const LL = p.button`
|
|
|
13671
13671
|
closeHandler: n.closeHandler,
|
|
13672
13672
|
focusOnCloseRef: n.focusOnCloseRef
|
|
13673
13673
|
});
|
|
13674
|
-
const o = document.getElementById(t), [a] = E(() =>
|
|
13674
|
+
const o = document.getElementById(t), [a] = E(() => NA()), l = $(
|
|
13675
13675
|
() => e && !A && o && $L(o, a),
|
|
13676
13676
|
[e, A, o, a]
|
|
13677
13677
|
);
|
|
@@ -14538,7 +14538,7 @@ const I4 = ({ initialColor: e, width: t = 400, height: A = 200, palettes: n, onC
|
|
|
14538
14538
|
document.removeEventListener("keydown", x);
|
|
14539
14539
|
};
|
|
14540
14540
|
}, []);
|
|
14541
|
-
const m = $(() =>
|
|
14541
|
+
const m = $(() => NA(), []), v = $(() => `trigger-${m}`, [m]), w = $(() => `dropdown-${m}`, [m]);
|
|
14542
14542
|
return /* @__PURE__ */ s.jsx(K4, { onClickAway: h, children: /* @__PURE__ */ s.jsxs(X4, { $display: d ?? "inline", children: [
|
|
14543
14543
|
typeof e == "function" ? e({
|
|
14544
14544
|
role: "button",
|
|
@@ -17888,17 +17888,17 @@ function V2(e, t) {
|
|
|
17888
17888
|
return;
|
|
17889
17889
|
}
|
|
17890
17890
|
}
|
|
17891
|
-
function
|
|
17891
|
+
function ZA(e, t) {
|
|
17892
17892
|
return e instanceof rA && e.timeZone === t ? e : new rA(e, t);
|
|
17893
17893
|
}
|
|
17894
17894
|
function Li(e, t, A) {
|
|
17895
|
-
return
|
|
17895
|
+
return ZA(e, t);
|
|
17896
17896
|
}
|
|
17897
17897
|
function jv(e, t, A) {
|
|
17898
17898
|
return typeof e == "boolean" || typeof e == "function" ? e : e instanceof Date ? Li(e, t) : Array.isArray(e) ? e.map((n) => n instanceof Date ? Li(n, t) : n) : Vc(e) ? {
|
|
17899
17899
|
...e,
|
|
17900
|
-
from: e.from ?
|
|
17901
|
-
to: e.to ?
|
|
17900
|
+
from: e.from ? ZA(e.from, t) : e.from,
|
|
17901
|
+
to: e.to ? ZA(e.to, t) : e.to
|
|
17902
17902
|
} : vh(e) ? {
|
|
17903
17903
|
before: Li(e.before, t),
|
|
17904
17904
|
after: Li(e.after, t)
|
|
@@ -17917,9 +17917,9 @@ function K2(e) {
|
|
|
17917
17917
|
if (A && (t = {
|
|
17918
17918
|
...e,
|
|
17919
17919
|
timeZone: A
|
|
17920
|
-
}, t.today && (t.today =
|
|
17921
|
-
from: t.selected.from ?
|
|
17922
|
-
to: t.selected.to ?
|
|
17920
|
+
}, t.today && (t.today = ZA(t.today, A)), t.month && (t.month = ZA(t.month, A)), t.defaultMonth && (t.defaultMonth = ZA(t.defaultMonth, A)), t.startMonth && (t.startMonth = ZA(t.startMonth, A)), t.endMonth && (t.endMonth = ZA(t.endMonth, A)), t.mode === "single" && t.selected ? t.selected = ZA(t.selected, A) : t.mode === "multiple" && t.selected ? t.selected = t.selected?.map((Ie) => ZA(Ie, A)) : t.mode === "range" && t.selected && (t.selected = {
|
|
17921
|
+
from: t.selected.from ? ZA(t.selected.from, A) : t.selected.from,
|
|
17922
|
+
to: t.selected.to ? ZA(t.selected.to, A) : t.selected.to
|
|
17923
17923
|
}), t.disabled !== void 0 && (t.disabled = ru(t.disabled, A)), t.hidden !== void 0 && (t.hidden = ru(t.hidden, A)), t.modifiers)) {
|
|
17924
17924
|
const Ie = {};
|
|
17925
17925
|
Object.keys(t.modifiers).forEach((Ue) => {
|
|
@@ -17997,21 +17997,21 @@ function K2(e) {
|
|
|
17997
17997
|
ce(ut, Me);
|
|
17998
17998
|
}
|
|
17999
17999
|
v?.(Ie.date, Ue, ve);
|
|
18000
|
-
}, [ce, v, t.dir]),
|
|
18000
|
+
}, [ce, v, t.dir]), WA = L((Ie, Ue) => (ve) => {
|
|
18001
18001
|
w?.(Ie.date, Ue, ve);
|
|
18002
|
-
}, [w]),
|
|
18002
|
+
}, [w]), XA = L((Ie, Ue) => (ve) => {
|
|
18003
18003
|
x?.(Ie.date, Ue, ve);
|
|
18004
18004
|
}, [x]), _n = L((Ie) => (Ue) => {
|
|
18005
18005
|
const ve = Number(Ue.target.value), We = o.setMonth(o.startOfMonth(Ie), ve);
|
|
18006
18006
|
S(We);
|
|
18007
|
-
}, [o, S]),
|
|
18007
|
+
}, [o, S]), GA = L((Ie) => (Ue) => {
|
|
18008
18008
|
const ve = Number(Ue.target.value), We = o.setYear(o.startOfMonth(Ie), ve);
|
|
18009
18009
|
S(We);
|
|
18010
18010
|
}, [o, S]), { className: BA, style: rt } = $(() => ({
|
|
18011
18011
|
className: [l[be.Root], t.className].filter(Boolean).join(" "),
|
|
18012
18012
|
style: { ...C?.[be.Root], ...t.style }
|
|
18013
|
-
}), [l, t.className, t.style, C]), Ct = n2(t),
|
|
18014
|
-
S2(
|
|
18013
|
+
}), [l, t.className, t.style, C]), Ct = n2(t), VA = ae(null);
|
|
18014
|
+
S2(VA, !!t.animate, {
|
|
18015
18015
|
classNames: l,
|
|
18016
18016
|
months: te,
|
|
18017
18017
|
focused: Y,
|
|
@@ -18038,7 +18038,7 @@ function K2(e) {
|
|
|
18038
18038
|
{ value: ln },
|
|
18039
18039
|
Ae.createElement(
|
|
18040
18040
|
n.Root,
|
|
18041
|
-
{ rootRef: t.animate ?
|
|
18041
|
+
{ rootRef: t.animate ? VA : void 0, className: BA, style: rt, dir: t.dir, id: t.id, lang: t.lang, nonce: t.nonce, title: t.title, role: t.role, "aria-label": t["aria-label"], "aria-labelledby": t["aria-labelledby"], ...Ct },
|
|
18042
18042
|
Ae.createElement(
|
|
18043
18043
|
n.Months,
|
|
18044
18044
|
{ className: l[be.Months], style: C?.[be.Months] },
|
|
@@ -18063,7 +18063,7 @@ function K2(e) {
|
|
|
18063
18063
|
n.DropdownNav,
|
|
18064
18064
|
{ className: l[be.Dropdowns], style: C?.[be.Dropdowns] },
|
|
18065
18065
|
(() => {
|
|
18066
|
-
const ve = c === "dropdown" || c === "dropdown-months" ? Ae.createElement(n.MonthsDropdown, { key: "month", className: l[be.MonthsDropdown], "aria-label": De(), classNames: l, components: n, disabled: !!t.disableNavigation, onChange: _n(Ie.date), options: w2(Ie.date, G, _, r, o), style: C?.[be.Dropdown], value: o.getMonth(Ie.date) }) : Ae.createElement("span", { key: "month" }, O(Ie.date, o)), We = c === "dropdown" || c === "dropdown-years" ? Ae.createElement(n.YearsDropdown, { key: "year", className: l[be.YearsDropdown], "aria-label": ge(o.options), classNames: l, components: n, disabled: !!t.disableNavigation, onChange:
|
|
18066
|
+
const ve = c === "dropdown" || c === "dropdown-months" ? Ae.createElement(n.MonthsDropdown, { key: "month", className: l[be.MonthsDropdown], "aria-label": De(), classNames: l, components: n, disabled: !!t.disableNavigation, onChange: _n(Ie.date), options: w2(Ie.date, G, _, r, o), style: C?.[be.Dropdown], value: o.getMonth(Ie.date) }) : Ae.createElement("span", { key: "month" }, O(Ie.date, o)), We = c === "dropdown" || c === "dropdown-years" ? Ae.createElement(n.YearsDropdown, { key: "year", className: l[be.YearsDropdown], "aria-label": ge(o.options), classNames: l, components: n, disabled: !!t.disableNavigation, onChange: GA(Ie.date), options: B2(G, _, r, o, !!t.reverseYears), style: C?.[be.Dropdown], value: o.getYear(Ie.date) }) : Ae.createElement("span", { key: "year" }, W(Ie.date, o));
|
|
18067
18067
|
return o.getMonthYearOrder() === "year-first" ? [We, ve] : [ve, We];
|
|
18068
18068
|
})(),
|
|
18069
18069
|
Ae.createElement("span", { role: "status", "aria-live": "polite", style: {
|
|
@@ -18107,7 +18107,7 @@ function K2(e) {
|
|
|
18107
18107
|
Me[vn.range_start] = !!(Be && ze && o.isSameDay(ut, Be)), Me[vn.range_end] = !!(Be && ze && o.isSameDay(ut, ze)), Me[vn.range_middle] = ir(R, ut, !0, o);
|
|
18108
18108
|
}
|
|
18109
18109
|
const pr = x2(Me, C, t.modifiersStyles), Ne = t2(Me, l, t.modifiersClassNames), mt = !an && !Me.hidden ? oe(ut, Me, o.options, o) : void 0;
|
|
18110
|
-
return Ae.createElement(n.Day, { key: `${We.isoDate}_${We.displayMonthId}`, day: We, modifiers: Me, className: Ne.join(" "), style: pr, role: "gridcell", "aria-selected": Me.selected || void 0, "aria-label": mt, "data-day": We.isoDate, "data-month": We.outside ? We.dateMonthId : void 0, "data-selected": Me.selected || void 0, "data-disabled": Me.disabled || void 0, "data-hidden": Me.hidden || void 0, "data-outside": We.outside || void 0, "data-focused": Me.focused || void 0, "data-today": Me.today || void 0 }, !Me.hidden && an ? Ae.createElement(n.DayButton, { className: l[be.DayButton], style: C?.[be.DayButton], type: "button", day: We, modifiers: Me, disabled: !Me.focused && Me.disabled || void 0, "aria-disabled": Me.focused && Me.disabled || void 0, tabIndex: H(We) ? 0 : -1, "aria-label": ke(ut, Me, o.options, o), onClick: xA(We, Me), onBlur: bA(We, Me), onFocus: Wt(We, Me), onKeyDown: Qn(We, Me), onMouseEnter:
|
|
18110
|
+
return Ae.createElement(n.Day, { key: `${We.isoDate}_${We.displayMonthId}`, day: We, modifiers: Me, className: Ne.join(" "), style: pr, role: "gridcell", "aria-selected": Me.selected || void 0, "aria-label": mt, "data-day": We.isoDate, "data-month": We.outside ? We.dateMonthId : void 0, "data-selected": Me.selected || void 0, "data-disabled": Me.disabled || void 0, "data-hidden": Me.hidden || void 0, "data-outside": We.outside || void 0, "data-focused": Me.focused || void 0, "data-today": Me.today || void 0 }, !Me.hidden && an ? Ae.createElement(n.DayButton, { className: l[be.DayButton], style: C?.[be.DayButton], type: "button", day: We, modifiers: Me, disabled: !Me.focused && Me.disabled || void 0, "aria-disabled": Me.focused && Me.disabled || void 0, tabIndex: H(We) ? 0 : -1, "aria-label": ke(ut, Me, o.options, o), onClick: xA(We, Me), onBlur: bA(We, Me), onFocus: Wt(We, Me), onKeyDown: Qn(We, Me), onMouseEnter: WA(We, Me), onMouseLeave: XA(We, Me) }, I(ut, o.options, o)) : !Me.hidden && I(We.date, o.options, o));
|
|
18111
18111
|
})
|
|
18112
18112
|
)))
|
|
18113
18113
|
)
|
|
@@ -18139,7 +18139,7 @@ function q2() {
|
|
|
18139
18139
|
}
|
|
18140
18140
|
return [t];
|
|
18141
18141
|
}
|
|
18142
|
-
const
|
|
18142
|
+
const kA = 1e3, Y2 = "24px", Z2 = "16px", ql = "1376px", js = {
|
|
18143
18143
|
open: {
|
|
18144
18144
|
width: "296px",
|
|
18145
18145
|
padding: "32px",
|
|
@@ -18222,7 +18222,7 @@ const _2 = p.div`
|
|
|
18222
18222
|
display: flex;
|
|
18223
18223
|
flex-direction: column;
|
|
18224
18224
|
${(e) => !!e?.width && `width: ${e.width}px;`};
|
|
18225
|
-
transition: margin ${
|
|
18225
|
+
transition: margin ${kA}ms;
|
|
18226
18226
|
margin: 0;
|
|
18227
18227
|
background-color: white;
|
|
18228
18228
|
border-left: 1px solid ${(e) => e.theme.color.grey2};
|
|
@@ -18231,7 +18231,7 @@ const _2 = p.div`
|
|
|
18231
18231
|
|
|
18232
18232
|
${Ye()}
|
|
18233
18233
|
`, r3 = p.div`
|
|
18234
|
-
transition: padding ${
|
|
18234
|
+
transition: padding ${kA}ms;
|
|
18235
18235
|
min-height: var(--body-container-height);
|
|
18236
18236
|
position: sticky;
|
|
18237
18237
|
bottom: var(--template-padding);
|
|
@@ -18264,7 +18264,7 @@ const _2 = p.div`
|
|
|
18264
18264
|
}
|
|
18265
18265
|
}
|
|
18266
18266
|
`, s3 = _e`
|
|
18267
|
-
transition: all ${
|
|
18267
|
+
transition: all ${kA}ms;
|
|
18268
18268
|
max-height: ${(e) => e.open ? "150px" : "0"};
|
|
18269
18269
|
overflow: hidden;
|
|
18270
18270
|
margin: 0;
|
|
@@ -18279,7 +18279,7 @@ const _2 = p.div`
|
|
|
18279
18279
|
${s3};
|
|
18280
18280
|
width: calc(${js.open.width} - 2 * ${js.open.padding});
|
|
18281
18281
|
`, c3 = p.span`
|
|
18282
|
-
transition: all ${
|
|
18282
|
+
transition: all ${kA}ms;
|
|
18283
18283
|
max-width: ${(e) => e.open ? `calc(${js.open.width} - 2 * ${js.open.padding})` : "0"};
|
|
18284
18284
|
opacity: ${(e) => e.open ? "1" : "0"};
|
|
18285
18285
|
overflow: hidden;
|
|
@@ -18291,7 +18291,7 @@ function d3({ children: e, open: t }) {
|
|
|
18291
18291
|
}
|
|
18292
18292
|
const u3 = p.button`
|
|
18293
18293
|
transition:
|
|
18294
|
-
all ${
|
|
18294
|
+
all ${kA}ms,
|
|
18295
18295
|
opacity 500ms;
|
|
18296
18296
|
background-color: ${(e) => e.theme.color.secondary};
|
|
18297
18297
|
width: 20px;
|
|
@@ -18320,12 +18320,12 @@ const u3 = p.button`
|
|
|
18320
18320
|
`, Jc = p.span`
|
|
18321
18321
|
${Vn}
|
|
18322
18322
|
`, f3 = p.p`
|
|
18323
|
-
transition: all ${
|
|
18323
|
+
transition: all ${kA}ms;
|
|
18324
18324
|
opacity: ${(e) => e.open ? "1" : "0"};
|
|
18325
18325
|
padding: ${(e) => e.open ? "16px 0 4px" : "0"};
|
|
18326
18326
|
font-size: 12px;
|
|
18327
18327
|
`, Rv = p.nav`
|
|
18328
|
-
transition: all ${
|
|
18328
|
+
transition: all ${kA}ms;
|
|
18329
18329
|
outline: 1px solid ${(e) => e.open ? e.theme.color.grey2 : "white"};
|
|
18330
18330
|
border-radius: 8px;
|
|
18331
18331
|
overflow: hidden;
|
|
@@ -18418,7 +18418,7 @@ const u3 = p.button`
|
|
|
18418
18418
|
text-overflow: ellipsis;
|
|
18419
18419
|
margin-left: 4px;
|
|
18420
18420
|
`, x3 = p.nav`
|
|
18421
|
-
transition: all ${
|
|
18421
|
+
transition: all ${kA}ms;
|
|
18422
18422
|
${(e) => e.extraMargin && `padding-top: ${e.open ? "24px" : "16px"}`};
|
|
18423
18423
|
`, b3 = p(Xg)`
|
|
18424
18424
|
position: relative;
|
|
@@ -20305,7 +20305,7 @@ const nU = p.div`
|
|
|
20305
20305
|
function Ir(e, t) {
|
|
20306
20306
|
return typeof e == "function" ? e(t) : e;
|
|
20307
20307
|
}
|
|
20308
|
-
function
|
|
20308
|
+
function UA(e, t) {
|
|
20309
20309
|
return (A) => {
|
|
20310
20310
|
t.setState((n) => ({
|
|
20311
20311
|
...n,
|
|
@@ -20667,7 +20667,7 @@ const jU = {
|
|
|
20667
20667
|
...e
|
|
20668
20668
|
}),
|
|
20669
20669
|
getDefaultOptions: (e) => ({
|
|
20670
|
-
onColumnFiltersChange:
|
|
20670
|
+
onColumnFiltersChange: UA("columnFilters", e),
|
|
20671
20671
|
filterFromLeafRows: !1,
|
|
20672
20672
|
maxLeafRowFilterDepth: 100
|
|
20673
20673
|
}),
|
|
@@ -20796,7 +20796,7 @@ const RU = (e, t, A) => A.reduce((n, r) => {
|
|
|
20796
20796
|
...e
|
|
20797
20797
|
}),
|
|
20798
20798
|
getDefaultOptions: (e) => ({
|
|
20799
|
-
onGroupingChange:
|
|
20799
|
+
onGroupingChange: UA("grouping", e),
|
|
20800
20800
|
groupedColumnMode: "reorder"
|
|
20801
20801
|
}),
|
|
20802
20802
|
createColumn: (e, t) => {
|
|
@@ -20862,7 +20862,7 @@ const KU = {
|
|
|
20862
20862
|
...e
|
|
20863
20863
|
}),
|
|
20864
20864
|
getDefaultOptions: (e) => ({
|
|
20865
|
-
onColumnOrderChange:
|
|
20865
|
+
onColumnOrderChange: UA("columnOrder", e)
|
|
20866
20866
|
}),
|
|
20867
20867
|
createColumn: (e, t) => {
|
|
20868
20868
|
e.getIndex = Te((A) => [xs(t, A)], (A) => A.findIndex((n) => n.id === e.id), Qe(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (A) => {
|
|
@@ -20902,7 +20902,7 @@ const KU = {
|
|
|
20902
20902
|
...e
|
|
20903
20903
|
}),
|
|
20904
20904
|
getDefaultOptions: (e) => ({
|
|
20905
|
-
onColumnPinningChange:
|
|
20905
|
+
onColumnPinningChange: UA("columnPinning", e)
|
|
20906
20906
|
}),
|
|
20907
20907
|
createColumn: (e, t) => {
|
|
20908
20908
|
e.pin = (A) => {
|
|
@@ -20997,8 +20997,8 @@ const qa = {
|
|
|
20997
20997
|
getDefaultOptions: (e) => ({
|
|
20998
20998
|
columnResizeMode: "onEnd",
|
|
20999
20999
|
columnResizeDirection: "ltr",
|
|
21000
|
-
onColumnSizingChange:
|
|
21001
|
-
onColumnSizingInfoChange:
|
|
21000
|
+
onColumnSizingChange: UA("columnSizing", e),
|
|
21001
|
+
onColumnSizingInfoChange: UA("columnSizingInfo", e)
|
|
21002
21002
|
}),
|
|
21003
21003
|
createColumn: (e, t) => {
|
|
21004
21004
|
e.getSize = () => {
|
|
@@ -21141,7 +21141,7 @@ const _U = {
|
|
|
21141
21141
|
...e
|
|
21142
21142
|
}),
|
|
21143
21143
|
getDefaultOptions: (e) => ({
|
|
21144
|
-
onColumnVisibilityChange:
|
|
21144
|
+
onColumnVisibilityChange: UA("columnVisibility", e)
|
|
21145
21145
|
}),
|
|
21146
21146
|
createColumn: (e, t) => {
|
|
21147
21147
|
e.toggleVisibility = (A) => {
|
|
@@ -21196,7 +21196,7 @@ const $U = {
|
|
|
21196
21196
|
...e
|
|
21197
21197
|
}),
|
|
21198
21198
|
getDefaultOptions: (e) => ({
|
|
21199
|
-
onGlobalFilterChange:
|
|
21199
|
+
onGlobalFilterChange: UA("globalFilter", e),
|
|
21200
21200
|
globalFilterFn: "auto",
|
|
21201
21201
|
getColumnCanGlobalFilter: (t) => {
|
|
21202
21202
|
var A;
|
|
@@ -21229,7 +21229,7 @@ const $U = {
|
|
|
21229
21229
|
...e
|
|
21230
21230
|
}),
|
|
21231
21231
|
getDefaultOptions: (e) => ({
|
|
21232
|
-
onExpandedChange:
|
|
21232
|
+
onExpandedChange: UA("expanded", e),
|
|
21233
21233
|
paginateExpandedRows: !0
|
|
21234
21234
|
}),
|
|
21235
21235
|
createTable: (e) => {
|
|
@@ -21322,7 +21322,7 @@ const $U = {
|
|
|
21322
21322
|
}
|
|
21323
21323
|
}),
|
|
21324
21324
|
getDefaultOptions: (e) => ({
|
|
21325
|
-
onPaginationChange:
|
|
21325
|
+
onPaginationChange: UA("pagination", e)
|
|
21326
21326
|
}),
|
|
21327
21327
|
createTable: (e) => {
|
|
21328
21328
|
let t = !1, A = !1;
|
|
@@ -21402,7 +21402,7 @@ const $U = {
|
|
|
21402
21402
|
...e
|
|
21403
21403
|
}),
|
|
21404
21404
|
getDefaultOptions: (e) => ({
|
|
21405
|
-
onRowPinningChange:
|
|
21405
|
+
onRowPinningChange: UA("rowPinning", e)
|
|
21406
21406
|
}),
|
|
21407
21407
|
createRow: (e, t) => {
|
|
21408
21408
|
e.pin = (A, n, r) => {
|
|
@@ -21503,7 +21503,7 @@ const $U = {
|
|
|
21503
21503
|
...e
|
|
21504
21504
|
}),
|
|
21505
21505
|
getDefaultOptions: (e) => ({
|
|
21506
|
-
onRowSelectionChange:
|
|
21506
|
+
onRowSelectionChange: UA("rowSelection", e),
|
|
21507
21507
|
enableRowSelection: !0,
|
|
21508
21508
|
enableMultiRowSelection: !0,
|
|
21509
21509
|
enableSubRowSelection: !0
|
|
@@ -21700,7 +21700,7 @@ const Zo = {
|
|
|
21700
21700
|
sortUndefined: 1
|
|
21701
21701
|
}),
|
|
21702
21702
|
getDefaultOptions: (e) => ({
|
|
21703
|
-
onSortingChange:
|
|
21703
|
+
onSortingChange: UA("sorting", e),
|
|
21704
21704
|
isMultiSortEvent: (t) => t.shiftKey
|
|
21705
21705
|
}),
|
|
21706
21706
|
createColumn: (e, t) => {
|
|
@@ -22343,7 +22343,7 @@ const _c = (e) => {
|
|
|
22343
22343
|
const F = O.getIsSorted && O.getIsSorted() !== !1, k = O.getIsSorted?.() === "desc";
|
|
22344
22344
|
return O.getCanSort?.() ? F ? k ? /* @__PURE__ */ s.jsx(ie, { name: "icon-sort-desc", size: 12, color: "grey4" }) : /* @__PURE__ */ s.jsx(ie, { name: "icon-sort-asc", size: 12, color: "grey4" }) : /* @__PURE__ */ s.jsx(ie, { name: "icon-sort", size: 12, color: "grey2" }) : "";
|
|
22345
22345
|
}, D = b.getHeaderGroups(), I = b.getRowModel().rows;
|
|
22346
|
-
return /* @__PURE__ */ s.jsxs(
|
|
22346
|
+
return /* @__PURE__ */ s.jsxs(nn, { children: [
|
|
22347
22347
|
/* @__PURE__ */ s.jsxs(I5, { "data-cy": e.dataCy, className: e.className, loading: e.loading, title: e.title, children: [
|
|
22348
22348
|
/* @__PURE__ */ s.jsx(O5, { children: D.map((O, F) => /* @__PURE__ */ s.jsxs(Yl, { $isHead: !0, children: [
|
|
22349
22349
|
h && /* @__PURE__ */ s.jsx(_v, {}),
|
|
@@ -22558,7 +22558,7 @@ const _c = (e) => {
|
|
|
22558
22558
|
onError: a,
|
|
22559
22559
|
searchable: l
|
|
22560
22560
|
}) => {
|
|
22561
|
-
const c = q(), d =
|
|
22561
|
+
const c = q(), d = zA(), u = {
|
|
22562
22562
|
id: 0,
|
|
22563
22563
|
uri: "root/root",
|
|
22564
22564
|
type: "rootFolder",
|
|
@@ -23290,7 +23290,7 @@ const nz = p.label`
|
|
|
23290
23290
|
padding-top: ${({ theme: e }) => e.space.md}px;
|
|
23291
23291
|
`, hz = (e, t) => {
|
|
23292
23292
|
const {
|
|
23293
|
-
id: A = `file-${
|
|
23293
|
+
id: A = `file-${NA()}`,
|
|
23294
23294
|
name: n = "attachment",
|
|
23295
23295
|
content: r,
|
|
23296
23296
|
token: i = void 0,
|
|
@@ -23319,7 +23319,7 @@ const nz = p.label`
|
|
|
23319
23319
|
(re) => {
|
|
23320
23320
|
const Re = re.target.files, Oe = [];
|
|
23321
23321
|
for (let Pe = 0; Pe < Re.length; Pe++)
|
|
23322
|
-
Oe.push(Object.assign(Re[Pe], { id:
|
|
23322
|
+
Oe.push(Object.assign(Re[Pe], { id: NA() }));
|
|
23323
23323
|
if (a && l !== 1)
|
|
23324
23324
|
D({ ...C, files: a ? [...C.files, ...Oe] : Oe }), f && f(Oe.length);
|
|
23325
23325
|
else if (d && "getUrl" in d && "token" in d && "postFile" in d) {
|
|
@@ -26332,29 +26332,33 @@ const P8 = _e`
|
|
|
26332
26332
|
additionalExtensions: r,
|
|
26333
26333
|
handlers: i,
|
|
26334
26334
|
...o
|
|
26335
|
-
}) =>
|
|
26336
|
-
|
|
26337
|
-
{
|
|
26338
|
-
|
|
26339
|
-
|
|
26340
|
-
|
|
26341
|
-
|
|
26342
|
-
|
|
26343
|
-
|
|
26344
|
-
|
|
26345
|
-
|
|
26346
|
-
|
|
26347
|
-
|
|
26348
|
-
|
|
26349
|
-
|
|
26350
|
-
|
|
26351
|
-
|
|
26352
|
-
|
|
26353
|
-
|
|
26354
|
-
|
|
26355
|
-
|
|
26356
|
-
|
|
26357
|
-
|
|
26335
|
+
}) => {
|
|
26336
|
+
const a = $(() => o.htmlFor ?? `${NA()}-${o.name}`, [o.htmlFor, o.name]);
|
|
26337
|
+
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(
|
|
26338
|
+
Tt,
|
|
26339
|
+
{
|
|
26340
|
+
...o,
|
|
26341
|
+
htmlFor: a,
|
|
26342
|
+
renderFunction: ({ onChange: l, value: c, onBlur: d, ref: u }) => /* @__PURE__ */ s.jsx(
|
|
26343
|
+
jo,
|
|
26344
|
+
{
|
|
26345
|
+
id: a,
|
|
26346
|
+
token: t,
|
|
26347
|
+
dataCy: e,
|
|
26348
|
+
commonOptions: n,
|
|
26349
|
+
value: c,
|
|
26350
|
+
onChange: l,
|
|
26351
|
+
mentionsQueries: A,
|
|
26352
|
+
ref: u,
|
|
26353
|
+
onBlur: d,
|
|
26354
|
+
additionalExtensions: r,
|
|
26355
|
+
readOnly: o.readOnly,
|
|
26356
|
+
handlers: i
|
|
26357
|
+
}
|
|
26358
|
+
)
|
|
26359
|
+
}
|
|
26360
|
+
) });
|
|
26361
|
+
}, X8 = (e, t) => {
|
|
26358
26362
|
const A = typeof e.value == "string" ? BB(e.value) : e.value;
|
|
26359
26363
|
return /* @__PURE__ */ s.jsx(Gc, { type: "url", id: e.name, ...e, value: A, ref: t });
|
|
26360
26364
|
}, G8 = Xe(X8);
|
|
@@ -26564,7 +26568,7 @@ const Y8 = p.div`
|
|
|
26564
26568
|
initialBusinessContacts: A,
|
|
26565
26569
|
onSelectBusinessContact: n
|
|
26566
26570
|
}) => {
|
|
26567
|
-
const [r, i] = E(!0), [o, a] = E(1), [l, c] = E(), [d, u] = E(A), [f, g] = E(), h = q(), m =
|
|
26571
|
+
const [r, i] = E(!0), [o, a] = E(1), [l, c] = E(), [d, u] = E(A), [f, g] = E(), h = q(), m = zA(), v = L(
|
|
26568
26572
|
(w) => {
|
|
26569
26573
|
u((x) => {
|
|
26570
26574
|
const b = x.some((B) => B.uri === w.uri) ? x.filter((B) => B.uri !== w.uri) : [...x, i7(w)];
|
|
@@ -26625,7 +26629,7 @@ const Y8 = p.div`
|
|
|
26625
26629
|
cssColor: "",
|
|
26626
26630
|
class: ""
|
|
26627
26631
|
}), Ow = ({ handlers: e, onError: t, initialGroups: A, onSelectGroup: n, publicOnly: r }) => {
|
|
26628
|
-
const [i, o] = E(!0), [a, l] = E(1), [c, d] = E(), [u, f] = E(A), [g, h] = E(), m = q(), v =
|
|
26632
|
+
const [i, o] = E(!0), [a, l] = E(1), [c, d] = E(), [u, f] = E(A), [g, h] = E(), m = q(), v = zA(), w = L(
|
|
26629
26633
|
(x) => {
|
|
26630
26634
|
f((b) => {
|
|
26631
26635
|
const B = b.some((y) => y.uri === x.uri) ? b.filter((y) => y.uri !== x.uri) : [...b, a7(x)];
|
|
@@ -26688,7 +26692,7 @@ const Y8 = p.div`
|
|
|
26688
26692
|
cssColor: "",
|
|
26689
26693
|
class: ""
|
|
26690
26694
|
}), c7 = ({ handlers: e, onError: t, initialUsers: A, onSelectUser: n }) => {
|
|
26691
|
-
const [r, i] = E(!0), [o, a] = E(1), [l, c] = E(), [d, u] = E(A), [f, g] = E(), h = q(), m =
|
|
26695
|
+
const [r, i] = E(!0), [o, a] = E(1), [l, c] = E(), [d, u] = E(A), [f, g] = E(), h = q(), m = zA(), v = L(
|
|
26692
26696
|
(w) => {
|
|
26693
26697
|
u((x) => {
|
|
26694
26698
|
const b = x.some((B) => B.uri === w.uri) ? x.filter((B) => B.uri !== w.uri) : [...x, l7(w)];
|
|
@@ -27573,7 +27577,7 @@ const O7 = p.div`
|
|
|
27573
27577
|
] }) : n === ml.VIDEO ? /* @__PURE__ */ s.jsxs(T7, { width: t, height: A, children: [
|
|
27574
27578
|
/* @__PURE__ */ s.jsx(Hw, { children: e.title }),
|
|
27575
27579
|
/* @__PURE__ */ s.jsx(jl, { uri: e.uri, mimetype: e.mimetype })
|
|
27576
|
-
] }) : /* @__PURE__ */ s.jsx(
|
|
27580
|
+
] }) : /* @__PURE__ */ s.jsx(nn, {});
|
|
27577
27581
|
}, k7 = ({ uri: e, width: t, maxHeight: A }) => {
|
|
27578
27582
|
const { loading: n, width: r, height: i } = Zs(e), { width: o, height: a } = Yg(r, i, t, 0);
|
|
27579
27583
|
return n ? /* @__PURE__ */ s.jsx(Ge, {}) : a > A || o < t ? /* @__PURE__ */ s.jsx(
|
|
@@ -27597,7 +27601,7 @@ const O7 = p.div`
|
|
|
27597
27601
|
return /* @__PURE__ */ s.jsx(F7, { $width: t, $height: A, children: /* @__PURE__ */ s.jsx(P7, { loading: "lazy", src: e, $width: t, $top: o }) });
|
|
27598
27602
|
}, Ad = ({ files: e, maxWidth: t = Ro, maxHeight: A, onClick: n }) => {
|
|
27599
27603
|
const r = $(() => Math.floor(A ?? t / 1.7777777777777777), [t, A]);
|
|
27600
|
-
return /* @__PURE__ */ s.jsx(
|
|
27604
|
+
return /* @__PURE__ */ s.jsx(nn, { children: e.map((i) => /* @__PURE__ */ s.jsx(M7, { onClick: () => n(i.id), "data-testid": `album-button-${i.id}`, children: /* @__PURE__ */ s.jsx(N7, { file: i, width: t, height: r }) }, i.uri)) });
|
|
27601
27605
|
}, Ls = ({ files: e, maxWidth: t = Ro, onClick: A }) => {
|
|
27602
27606
|
const { width: n, height: r } = $(() => ({ width: Math.floor((t - hi) / 2), height: Math.floor((t - hi) / 2) }), [t]);
|
|
27603
27607
|
return /* @__PURE__ */ s.jsx(PC, { children: e.map((i) => /* @__PURE__ */ s.jsx(Ad, { files: [i], maxWidth: n, maxHeight: r, onClick: A }, i.uri)) });
|
|
@@ -27606,7 +27610,7 @@ const O7 = p.div`
|
|
|
27606
27610
|
filesX1: [...e].splice(0, 1),
|
|
27607
27611
|
filesX2: [...e].splice(1, 2)
|
|
27608
27612
|
}), [e]);
|
|
27609
|
-
return /* @__PURE__ */ s.jsxs(
|
|
27613
|
+
return /* @__PURE__ */ s.jsxs(nn, { children: [
|
|
27610
27614
|
/* @__PURE__ */ s.jsx(Ad, { files: n, maxWidth: t, onClick: A }),
|
|
27611
27615
|
/* @__PURE__ */ s.jsx(Ls, { files: r, maxWidth: t, onClick: A })
|
|
27612
27616
|
] });
|
|
@@ -27615,7 +27619,7 @@ const O7 = p.div`
|
|
|
27615
27619
|
filesX2Top: [...e].splice(0, 2),
|
|
27616
27620
|
filesX2Bottom: [...e].splice(2, 4)
|
|
27617
27621
|
}), [e]);
|
|
27618
|
-
return /* @__PURE__ */ s.jsxs(
|
|
27622
|
+
return /* @__PURE__ */ s.jsxs(nn, { children: [
|
|
27619
27623
|
/* @__PURE__ */ s.jsx(Ls, { files: n, maxWidth: t, onClick: A }),
|
|
27620
27624
|
/* @__PURE__ */ s.jsx(Ls, { files: r, maxWidth: t, onClick: A })
|
|
27621
27625
|
] });
|
|
@@ -27627,14 +27631,14 @@ const O7 = p.div`
|
|
|
27627
27631
|
filesX3: [...e].splice(2, 3),
|
|
27628
27632
|
count: e.length - 5
|
|
27629
27633
|
}), [e, t]);
|
|
27630
|
-
return /* @__PURE__ */ s.jsxs(
|
|
27634
|
+
return /* @__PURE__ */ s.jsxs(nn, { children: [
|
|
27631
27635
|
/* @__PURE__ */ s.jsx(Ls, { files: n, maxWidth: t, onClick: A }),
|
|
27632
27636
|
/* @__PURE__ */ s.jsx(PC, { children: r.map((l, c) => /* @__PURE__ */ s.jsxs(L7, { children: [
|
|
27633
27637
|
/* @__PURE__ */ s.jsx(Ad, { files: [l], maxWidth: o, maxHeight: a, onClick: A }),
|
|
27634
27638
|
i && c === 2 ? /* @__PURE__ */ s.jsxs(j7, { children: [
|
|
27635
27639
|
"+",
|
|
27636
27640
|
i
|
|
27637
|
-
] }) : /* @__PURE__ */ s.jsx(
|
|
27641
|
+
] }) : /* @__PURE__ */ s.jsx(nn, {})
|
|
27638
27642
|
] }, l.uri)) })
|
|
27639
27643
|
] });
|
|
27640
27644
|
}, G7 = ({
|
|
@@ -27654,7 +27658,7 @@ const O7 = p.div`
|
|
|
27654
27658
|
attachments: e.filter((l) => !Qw.includes(Sl(l.mimetype))),
|
|
27655
27659
|
filesViewer: e.map((l) => ({ ...l, path: n(l) }))
|
|
27656
27660
|
}), [e, r, n]);
|
|
27657
|
-
return /* @__PURE__ */ s.jsxs(
|
|
27661
|
+
return /* @__PURE__ */ s.jsxs(nn, { children: [
|
|
27658
27662
|
/* @__PURE__ */ s.jsx(Sh, { files: a, openWithOptions: [], children: (l) => /* @__PURE__ */ s.jsxs(O7, { children: [
|
|
27659
27663
|
i.length === 1 && /* @__PURE__ */ s.jsx(Ad, { files: i, maxWidth: t, onClick: l }),
|
|
27660
27664
|
i.length === 2 && /* @__PURE__ */ s.jsx(Ls, { files: i, maxWidth: t, onClick: l }),
|
|
@@ -28132,7 +28136,7 @@ const O7 = p.div`
|
|
|
28132
28136
|
a(f), setTimeout(() => l?.current?.click(), 0);
|
|
28133
28137
|
}
|
|
28134
28138
|
};
|
|
28135
|
-
return /* @__PURE__ */ s.jsxs(
|
|
28139
|
+
return /* @__PURE__ */ s.jsxs(nn, { children: [
|
|
28136
28140
|
A ? /* @__PURE__ */ s.jsx(Fe, { onClick: c, icon: e, color: t }) : /* @__PURE__ */ s.jsx(xe, { onClick: c, icon: e, ...i, children: i.children ?? /* @__PURE__ */ s.jsx(He, { id: "GLOBAL_Download" }) }),
|
|
28137
28141
|
/* @__PURE__ */ s.jsx(I9, { ref: l, download: `${r}.txt`, href: o })
|
|
28138
28142
|
] });
|
|
@@ -28154,7 +28158,7 @@ const O7 = p.div`
|
|
|
28154
28158
|
}
|
|
28155
28159
|
}
|
|
28156
28160
|
};
|
|
28157
|
-
return /* @__PURE__ */ s.jsxs(
|
|
28161
|
+
return /* @__PURE__ */ s.jsxs(nn, { children: [
|
|
28158
28162
|
/* @__PURE__ */ s.jsx(xe, { onClick: a, icon: e, ...n, children: n.children ?? /* @__PURE__ */ s.jsx(He, { id: "GLOBAL_Import" }) }),
|
|
28159
28163
|
/* @__PURE__ */ s.jsx("input", { ref: o, multiple: t, onChange: l, type: "file", hidden: !0 })
|
|
28160
28164
|
] });
|
|
@@ -39418,7 +39422,7 @@ const cq = /* @__PURE__ */ Xb(lq), dq = p(cq)`
|
|
|
39418
39422
|
max-width: ${(e) => e.$maxWidth ?? Yx};
|
|
39419
39423
|
width: ${Yx};
|
|
39420
39424
|
min-height: ${({ $offsetTop: e }) => e ? "initial" : "100%"};
|
|
39421
|
-
transition: margin ${
|
|
39425
|
+
transition: margin ${kA}ms;
|
|
39422
39426
|
${(e) => !e.$open && `margin-${e.$position === "left" ? "left" : "right"}: -100%;`};
|
|
39423
39427
|
`, hq = p.div`
|
|
39424
39428
|
padding: ${(e) => e.$removePadding ? 0 : "0px 24px 0 24px"};
|
|
@@ -40138,7 +40142,7 @@ const yq = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
|
|
|
40138
40142
|
else
|
|
40139
40143
|
return console.error(`Event ${H.uri} has no dateStart or dateEnd defined.`), null;
|
|
40140
40144
|
return {
|
|
40141
|
-
id: H.id === -1 ?
|
|
40145
|
+
id: H.id === -1 ? NA() : String(H.id),
|
|
40142
40146
|
title: H.title !== "" ? H.title : H._extend?.recurringEventRecord?.title ?? "",
|
|
40143
40147
|
dateStart: ce,
|
|
40144
40148
|
dateEnd: le,
|
|
@@ -40306,7 +40310,7 @@ const yq = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
|
|
|
40306
40310
|
isUpdateStatusLoading: x,
|
|
40307
40311
|
recurrent: H.event.extendedProps.recurrent
|
|
40308
40312
|
},
|
|
40309
|
-
`event-${
|
|
40313
|
+
`event-${NA()}`
|
|
40310
40314
|
),
|
|
40311
40315
|
ref: z,
|
|
40312
40316
|
allDayText: "",
|
|
@@ -40623,7 +40627,7 @@ const yq = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
|
|
|
40623
40627
|
const r = q(), [i, o] = E(), a = L(
|
|
40624
40628
|
(l) => {
|
|
40625
40629
|
const c = new Date(l), d = /* @__PURE__ */ new Date(), u = d.getTime() - c.getTime();
|
|
40626
|
-
return u < 1e3 * 60 ? r.formatMessage({ id: "COMMENT_Just_Now" }) : u < 1e3 * 60 * 60 ? r.formatMessage({ id: "COMMENT_Minutes_Ago" }, { minutes: Math.round(u / (1e3 * 60)) }) : u < 1e3 * 60 * 60 * 24 && c.getDate() === d.getDate() ? `${
|
|
40630
|
+
return u < 1e3 * 60 ? r.formatMessage({ id: "COMMENT_Just_Now" }) : u < 1e3 * 60 * 60 ? r.formatMessage({ id: "COMMENT_Minutes_Ago" }, { minutes: Math.round(u / (1e3 * 60)) }) : u < 1e3 * 60 * 60 * 24 && c.getDate() === d.getDate() ? `${_A(c.getHours())}:${_A(c.getMinutes())}` : u < 1e3 * 60 * 60 * 24 * 31 && c.getMonth() === d.getMonth() ? `${_A(c.getDate())}/${_A(c.getMonth() + 1)}` : `${_A(c.getDate())}/${_A(c.getMonth() + 1)}/${c.getFullYear()}`;
|
|
40627
40631
|
},
|
|
40628
40632
|
[r]
|
|
40629
40633
|
);
|
|
@@ -41196,7 +41200,7 @@ const yq = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
|
|
|
41196
41200
|
articleId: x,
|
|
41197
41201
|
onReport: b
|
|
41198
41202
|
}) => {
|
|
41199
|
-
const B = lt(), y = q(), [C, D] = E(!1), [I, O] = E(!1), [F, k] = E(!1), [z, W] = E(!1), [M, X] = E(!1), [te, G] = E(t.description), [_, V] = E(!1), [Q, S] = E(!1), [N, Z] = E(!0), U = ae(null), R = ae(null), J =
|
|
41203
|
+
const B = lt(), y = q(), [C, D] = E(!1), [I, O] = E(!1), [F, k] = E(!1), [z, W] = E(!1), [M, X] = E(!1), [te, G] = E(t.description), [_, V] = E(!1), [Q, S] = E(!1), [N, Z] = E(!0), U = ae(null), R = ae(null), J = zA(), Y = L(() => {
|
|
41200
41204
|
A && te && (V(!0), r({ idComment: t.id, description: te, token: A }).then(() => {
|
|
41201
41205
|
X(!1), V(!1);
|
|
41202
41206
|
}));
|
|
@@ -41599,7 +41603,7 @@ const yq = ({ dateStart: e, dateEnd: t, type: A, allDay: n }) => {
|
|
|
41599
41603
|
g
|
|
41600
41604
|
])), e.format === "time" && (l = [h, u, f]), e.format === "time-sec" && (l = [h, u, f, u, g]), /* @__PURE__ */ s.jsx(s.Fragment, { children: l.join("") });
|
|
41601
41605
|
}, gd = ({ children: e }) => /* @__PURE__ */ s.jsx(Ig, { backend: Og, children: e });
|
|
41602
|
-
var
|
|
41606
|
+
var en = /* @__PURE__ */ ((e) => (e.ITEM = "item", e.SECTION = "section", e))(en || {}), pn = /* @__PURE__ */ ((e) => (e.MAIN_ITEM = "oneLevel_mainItem", e.STACK_ITEM = "oneLevel_stackItem", e))(pn || {});
|
|
41603
41607
|
const VY = p.div`
|
|
41604
41608
|
cursor: ${({ $isDragging: e, $useDragHandle: t }) => t ? "default" : e ? "grabbing" : "grab"};
|
|
41605
41609
|
position: relative;
|
|
@@ -41650,18 +41654,18 @@ const VY = p.div`
|
|
|
41650
41654
|
() => ({
|
|
41651
41655
|
accept: e,
|
|
41652
41656
|
drop: (b) => {
|
|
41653
|
-
const B = e ===
|
|
41657
|
+
const B = e === en.ITEM && b.sectionId && i && b.sectionId !== i;
|
|
41654
41658
|
if (B && r)
|
|
41655
41659
|
return r(b, f), { handled: !0 };
|
|
41656
|
-
if (e ===
|
|
41660
|
+
if (e === en.SECTION && b.index !== A)
|
|
41657
41661
|
return n(b.index, f), { handled: !0 };
|
|
41658
|
-
if (e ===
|
|
41662
|
+
if (e === en.ITEM && !B && b.index !== A) {
|
|
41659
41663
|
let y = d === "before" ? A : d === "after" ? A + 1 : f >= 0 ? f : A;
|
|
41660
41664
|
return b.index < y && (y -= 1), y < 0 && (y = 0), n(b.index, y), { handled: !0 };
|
|
41661
41665
|
}
|
|
41662
41666
|
},
|
|
41663
41667
|
hover: (b, B) => {
|
|
41664
|
-
const y = b.index, C = A, D = e ===
|
|
41668
|
+
const y = b.index, C = A, D = e === en.ITEM && b.sectionId && i && b.sectionId !== i;
|
|
41665
41669
|
if (!l.current || B.getItemType() !== e || y === C && !D)
|
|
41666
41670
|
return;
|
|
41667
41671
|
const I = l.current?.getBoundingClientRect(), O = (I.bottom - I.top) / 2, F = B.getClientOffset();
|
|
@@ -41673,7 +41677,7 @@ const VY = p.div`
|
|
|
41673
41677
|
g(X);
|
|
41674
41678
|
return;
|
|
41675
41679
|
}
|
|
41676
|
-
if (e ===
|
|
41680
|
+
if (e === en.SECTION) {
|
|
41677
41681
|
u(z ? "before" : "after");
|
|
41678
41682
|
const X = z ? C : C + 1;
|
|
41679
41683
|
g(X);
|
|
@@ -41966,7 +41970,7 @@ const VY = p.div`
|
|
|
41966
41970
|
return /* @__PURE__ */ s.jsx(
|
|
41967
41971
|
hc,
|
|
41968
41972
|
{
|
|
41969
|
-
type:
|
|
41973
|
+
type: en.ITEM,
|
|
41970
41974
|
item: b,
|
|
41971
41975
|
onMove: v,
|
|
41972
41976
|
index: B,
|
|
@@ -41987,7 +41991,7 @@ const VY = p.div`
|
|
|
41987
41991
|
const B = b;
|
|
41988
41992
|
B.index !== void 0 && B.index !== t.length - 1 && v(B.index, t.length);
|
|
41989
41993
|
},
|
|
41990
|
-
accept:
|
|
41994
|
+
accept: en.ITEM,
|
|
41991
41995
|
children: /* @__PURE__ */ s.jsx(s.Fragment, { children: t.length > 0 ? /* @__PURE__ */ s.jsx(hZ, { children: t.map((b, B) => x(b, B)) }) : n ? /* @__PURE__ */ s.jsx(n, { "data-testid": "empty-state" }) : /* @__PURE__ */ s.jsx(Cg, { "data-testid": "empty-state", children: m }) })
|
|
41992
41996
|
}
|
|
41993
41997
|
) })
|
|
@@ -42482,7 +42486,7 @@ const QZ = GD, VD = Sg(
|
|
|
42482
42486
|
return /* @__PURE__ */ s.jsx(
|
|
42483
42487
|
hc,
|
|
42484
42488
|
{
|
|
42485
|
-
type:
|
|
42489
|
+
type: en.ITEM,
|
|
42486
42490
|
item: S,
|
|
42487
42491
|
onMove: (R, J) => W(R, J, Z),
|
|
42488
42492
|
onMoveToSection: (R, J) => M(R, J, Z),
|
|
@@ -42507,7 +42511,7 @@ const QZ = GD, VD = Sg(
|
|
|
42507
42511
|
(S, N) => /* @__PURE__ */ s.jsx(
|
|
42508
42512
|
hc,
|
|
42509
42513
|
{
|
|
42510
|
-
type:
|
|
42514
|
+
type: en.SECTION,
|
|
42511
42515
|
item: S,
|
|
42512
42516
|
onMove: X,
|
|
42513
42517
|
index: N,
|
|
@@ -42558,7 +42562,7 @@ const QZ = GD, VD = Sg(
|
|
|
42558
42562
|
const U = Z;
|
|
42559
42563
|
U.sectionId !== S.id && M(U, S.items.length, S.id);
|
|
42560
42564
|
},
|
|
42561
|
-
accept:
|
|
42565
|
+
accept: en.ITEM,
|
|
42562
42566
|
children: /* @__PURE__ */ s.jsxs(aZ, { children: [
|
|
42563
42567
|
S.items.map((Z, U) => V(Z, U, S.id)),
|
|
42564
42568
|
S.items.length === 0 && (A ? /* @__PURE__ */ s.jsx(A, { sectionId: S.id, "data-testid": "empty-state" }) : /* @__PURE__ */ s.jsx(Cg, { "data-testid": "empty-state", children: O }))
|
|
@@ -42597,7 +42601,7 @@ const QZ = GD, VD = Sg(
|
|
|
42597
42601
|
D.id
|
|
42598
42602
|
);
|
|
42599
42603
|
},
|
|
42600
|
-
accept:
|
|
42604
|
+
accept: en.ITEM,
|
|
42601
42605
|
children: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
42602
42606
|
D.items.map(
|
|
42603
42607
|
(S, N) => V(S, N, D.id)
|
|
@@ -42796,7 +42800,7 @@ const HZ = VD, FZ = p.form`
|
|
|
42796
42800
|
const u = /* @__PURE__ */ new Date();
|
|
42797
42801
|
return {
|
|
42798
42802
|
scheduleDate: r.formatDate(u, { format: "YYYY-MM-DD hh:mm" }),
|
|
42799
|
-
permalinkId:
|
|
42803
|
+
permalinkId: NA()
|
|
42800
42804
|
};
|
|
42801
42805
|
}
|
|
42802
42806
|
}), l = a.handleSubmit((u) => {
|
|
@@ -44011,7 +44015,7 @@ function Dp({ children: e, mode: t = "center", position: A, ...n }) {
|
|
|
44011
44015
|
return /* @__PURE__ */ s.jsx(A3, { $width: n?.width ?? 0, ...n, $position: A, id: n.id, children: /* @__PURE__ */ s.jsx(r3, { $mode: t, $position: A, className: "dimension", $padding: n?.padding ?? "", children: e }) });
|
|
44012
44016
|
}
|
|
44013
44017
|
const E$ = p(Dp)`
|
|
44014
|
-
transition: width ${
|
|
44018
|
+
transition: width ${kA}ms;
|
|
44015
44019
|
width: ${(e) => ws(e.open).width};
|
|
44016
44020
|
z-index: 2;
|
|
44017
44021
|
background-color: transparent;
|
|
@@ -44021,7 +44025,7 @@ const E$ = p(Dp)`
|
|
|
44021
44025
|
flex-shrink: 0;
|
|
44022
44026
|
|
|
44023
44027
|
& > .dimension {
|
|
44024
|
-
transition: padding ${
|
|
44028
|
+
transition: padding ${kA}ms;
|
|
44025
44029
|
padding-left: ${(e) => ws(e.open).padding};
|
|
44026
44030
|
padding-right: ${(e) => ws(e.open).padding};
|
|
44027
44031
|
|
|
@@ -44052,10 +44056,10 @@ function D$({ description: e, activeTab: t, tabs: A = [], mode: n = "center", ..
|
|
|
44052
44056
|
setTimeout(() => a(!o), 0), c(!0), f && clearTimeout(f);
|
|
44053
44057
|
const b = window.setTimeout(() => {
|
|
44054
44058
|
c(!1);
|
|
44055
|
-
},
|
|
44059
|
+
}, kA);
|
|
44056
44060
|
g(b);
|
|
44057
44061
|
}
|
|
44058
|
-
const x = $(() =>
|
|
44062
|
+
const x = $(() => NA(), []);
|
|
44059
44063
|
return /* @__PURE__ */ s.jsxs(E$, { mode: n, position: "left", ...r, open: o, id: x, children: [
|
|
44060
44064
|
/* @__PURE__ */ s.jsxs("div", { children: [
|
|
44061
44065
|
/* @__PURE__ */ s.jsxs(i3, { onClick: (b) => v(b), children: [
|
|
@@ -44096,7 +44100,7 @@ function D$({ description: e, activeTab: t, tabs: A = [], mode: n = "center", ..
|
|
|
44096
44100
|
open: o,
|
|
44097
44101
|
role: "navigation",
|
|
44098
44102
|
"aria-label": i.formatMessage({ id: "GLOBAL_A11Y_APP_NAV" }, { appName: e.label }),
|
|
44099
|
-
children: A?.[0]?.group ? Yy(A, (b) => b.group ?? "", !1).map((b, B) => /* @__PURE__ */ s.jsxs(
|
|
44103
|
+
children: A?.[0]?.group ? Yy(A, (b) => b.group ?? "", !1).map((b, B) => /* @__PURE__ */ s.jsxs(nn, { children: [
|
|
44100
44104
|
/* @__PURE__ */ s.jsx(f3, { open: o, children: b.label }),
|
|
44101
44105
|
/* @__PURE__ */ s.jsx(Rv, { open: o, role: "navigation", children: /* @__PURE__ */ s.jsx(
|
|
44102
44106
|
fb,
|
|
@@ -44146,7 +44150,7 @@ const S$ = ({ children: e, mode: t = "center", maxWidth: A, flexDirection: n, ha
|
|
|
44146
44150
|
mode: r = "centerTop",
|
|
44147
44151
|
maxWidth: i = "1280px"
|
|
44148
44152
|
}) => /* @__PURE__ */ s.jsx(A1, { mode: r, maxWidth: i, flexDirection: "column", children: /* @__PURE__ */ s.jsx(n1, { title: e, isLoading: t, loader: A, children: n }) }), H$ = ({ children: e, ...t }, A) => /* @__PURE__ */ s.jsx(_2, { ref: A, ...t, children: e }), F$ = Xe(H$), P$ = p(Dp)`
|
|
44149
|
-
transition: all ${
|
|
44153
|
+
transition: all ${kA}ms;
|
|
44150
44154
|
flex-grow: 1;
|
|
44151
44155
|
min-width: 0;
|
|
44152
44156
|
|
|
@@ -46663,7 +46667,7 @@ const OA = ({
|
|
|
46663
46667
|
open: n.open ?? !1
|
|
46664
46668
|
},
|
|
46665
46669
|
criteriaMode: "all"
|
|
46666
|
-
}), d =
|
|
46670
|
+
}), d = zA(), [u, f] = E(!1);
|
|
46667
46671
|
j(() => {
|
|
46668
46672
|
A && SA.widget.quickSurveyGetResponse({ uri: A, uniqid: t }, d.signal).then((m) => {
|
|
46669
46673
|
f(m.result.totalResponse > 0);
|
|
@@ -47381,7 +47385,7 @@ const FAe = p.div`
|
|
|
47381
47385
|
/* @__PURE__ */ s.jsx("div", { children: e.text })
|
|
47382
47386
|
] })
|
|
47383
47387
|
] });
|
|
47384
|
-
}, XAe = ({ list: e, total: t }) => t ? /* @__PURE__ */ s.jsx(mc, { list: e, left: t - e.length }) : /* @__PURE__ */ s.jsx(
|
|
47388
|
+
}, XAe = ({ list: e, total: t }) => t ? /* @__PURE__ */ s.jsx(mc, { list: e, left: t - e.length }) : /* @__PURE__ */ s.jsx(nn, {}), GAe = p.li`
|
|
47385
47389
|
border-radius: 8px;
|
|
47386
47390
|
border: 1px solid ${({ $isCheck: e, theme: t }) => e ? t.color.primary : t.color.grey1};
|
|
47387
47391
|
gap: 8px;
|
|
@@ -50153,7 +50157,7 @@ export {
|
|
|
50153
50157
|
zg as Utils,
|
|
50154
50158
|
zre as components,
|
|
50155
50159
|
Ao as getColor,
|
|
50156
|
-
|
|
50160
|
+
zA as useAbortController,
|
|
50157
50161
|
yq as useCalendarDate,
|
|
50158
50162
|
q2 as useCancelOnUnmount,
|
|
50159
50163
|
XB as useDebounce,
|