@inploi/plugin-feedback 1.0.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugin-feedback.cjs +44 -51
- package/dist/plugin-feedback.js +44 -51
- package/package.json +3 -3
- package/cdn/index.js +0 -45
package/dist/plugin-feedback.cjs
CHANGED
|
@@ -1920,8 +1920,9 @@ function getOppositeAxis(axis) {
|
|
|
1920
1920
|
function getAxisLength(axis) {
|
|
1921
1921
|
return axis === "y" ? "height" : "width";
|
|
1922
1922
|
}
|
|
1923
|
+
const yAxisSides = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
1923
1924
|
function getSideAxis(placement) {
|
|
1924
|
-
return
|
|
1925
|
+
return yAxisSides.has(getSide(placement)) ? "y" : "x";
|
|
1925
1926
|
}
|
|
1926
1927
|
function getAlignmentAxis(placement) {
|
|
1927
1928
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -1946,20 +1947,20 @@ function getExpandedPlacements(placement) {
|
|
|
1946
1947
|
function getOppositeAlignmentPlacement(placement) {
|
|
1947
1948
|
return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
|
|
1948
1949
|
}
|
|
1950
|
+
const lrPlacement = ["left", "right"];
|
|
1951
|
+
const rlPlacement = ["right", "left"];
|
|
1952
|
+
const tbPlacement = ["top", "bottom"];
|
|
1953
|
+
const btPlacement = ["bottom", "top"];
|
|
1949
1954
|
function getSideList(side, isStart, rtl) {
|
|
1950
|
-
const lr = ["left", "right"];
|
|
1951
|
-
const rl = ["right", "left"];
|
|
1952
|
-
const tb = ["top", "bottom"];
|
|
1953
|
-
const bt = ["bottom", "top"];
|
|
1954
1955
|
switch (side) {
|
|
1955
1956
|
case "top":
|
|
1956
1957
|
case "bottom":
|
|
1957
1958
|
if (rtl)
|
|
1958
|
-
return isStart ?
|
|
1959
|
-
return isStart ?
|
|
1959
|
+
return isStart ? rlPlacement : lrPlacement;
|
|
1960
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
1960
1961
|
case "left":
|
|
1961
1962
|
case "right":
|
|
1962
|
-
return isStart ?
|
|
1963
|
+
return isStart ? tbPlacement : btPlacement;
|
|
1963
1964
|
default:
|
|
1964
1965
|
return [];
|
|
1965
1966
|
}
|
|
@@ -2710,6 +2711,9 @@ const size$2 = function(options2) {
|
|
|
2710
2711
|
}
|
|
2711
2712
|
};
|
|
2712
2713
|
};
|
|
2714
|
+
function hasWindow() {
|
|
2715
|
+
return typeof window !== "undefined";
|
|
2716
|
+
}
|
|
2713
2717
|
function getNodeName(node) {
|
|
2714
2718
|
if (isNode(node)) {
|
|
2715
2719
|
return (node.nodeName || "").toLowerCase();
|
|
@@ -2725,20 +2729,30 @@ function getDocumentElement(node) {
|
|
|
2725
2729
|
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
2726
2730
|
}
|
|
2727
2731
|
function isNode(value) {
|
|
2732
|
+
if (!hasWindow()) {
|
|
2733
|
+
return false;
|
|
2734
|
+
}
|
|
2728
2735
|
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
2729
2736
|
}
|
|
2730
2737
|
function isElement(value) {
|
|
2738
|
+
if (!hasWindow()) {
|
|
2739
|
+
return false;
|
|
2740
|
+
}
|
|
2731
2741
|
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
2732
2742
|
}
|
|
2733
2743
|
function isHTMLElement(value) {
|
|
2744
|
+
if (!hasWindow()) {
|
|
2745
|
+
return false;
|
|
2746
|
+
}
|
|
2734
2747
|
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
2735
2748
|
}
|
|
2736
2749
|
function isShadowRoot(value) {
|
|
2737
|
-
if (typeof ShadowRoot === "undefined") {
|
|
2750
|
+
if (!hasWindow() || typeof ShadowRoot === "undefined") {
|
|
2738
2751
|
return false;
|
|
2739
2752
|
}
|
|
2740
2753
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
2741
2754
|
}
|
|
2755
|
+
const invalidOverflowDisplayValues = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
2742
2756
|
function isOverflowElement(element) {
|
|
2743
2757
|
const {
|
|
2744
2758
|
overflow,
|
|
@@ -2746,24 +2760,29 @@ function isOverflowElement(element) {
|
|
|
2746
2760
|
overflowY,
|
|
2747
2761
|
display
|
|
2748
2762
|
} = getComputedStyle$1(element);
|
|
2749
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !
|
|
2763
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
|
|
2750
2764
|
}
|
|
2765
|
+
const tableElements = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
2751
2766
|
function isTableElement(element) {
|
|
2752
|
-
return
|
|
2767
|
+
return tableElements.has(getNodeName(element));
|
|
2753
2768
|
}
|
|
2769
|
+
const topLayerSelectors = [":popover-open", ":modal"];
|
|
2754
2770
|
function isTopLayer(element) {
|
|
2755
|
-
return
|
|
2771
|
+
return topLayerSelectors.some((selector) => {
|
|
2756
2772
|
try {
|
|
2757
2773
|
return element.matches(selector);
|
|
2758
|
-
} catch (
|
|
2774
|
+
} catch (_e) {
|
|
2759
2775
|
return false;
|
|
2760
2776
|
}
|
|
2761
2777
|
});
|
|
2762
2778
|
}
|
|
2779
|
+
const transformProperties = ["transform", "translate", "scale", "rotate", "perspective"];
|
|
2780
|
+
const willChangeValues = ["transform", "translate", "scale", "rotate", "perspective", "filter"];
|
|
2781
|
+
const containValues = ["paint", "layout", "strict", "content"];
|
|
2763
2782
|
function isContainingBlock(elementOrCss) {
|
|
2764
2783
|
const webkit = isWebKit();
|
|
2765
2784
|
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
2766
|
-
return
|
|
2785
|
+
return transformProperties.some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || willChangeValues.some((value) => (css.willChange || "").includes(value)) || containValues.some((value) => (css.contain || "").includes(value));
|
|
2767
2786
|
}
|
|
2768
2787
|
function getContainingBlock(element) {
|
|
2769
2788
|
let currentNode = getParentNode(element);
|
|
@@ -2782,8 +2801,9 @@ function isWebKit() {
|
|
|
2782
2801
|
return false;
|
|
2783
2802
|
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
2784
2803
|
}
|
|
2804
|
+
const lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
2785
2805
|
function isLastTraversableNode(node) {
|
|
2786
|
-
return
|
|
2806
|
+
return lastTraversableNodeNames.has(getNodeName(node));
|
|
2787
2807
|
}
|
|
2788
2808
|
function getComputedStyle$1(element) {
|
|
2789
2809
|
return getWindow(element).getComputedStyle(element);
|
|
@@ -4221,8 +4241,8 @@ var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
|
4221
4241
|
targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live], script")));
|
|
4222
4242
|
return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
|
|
4223
4243
|
};
|
|
4224
|
-
var __assign
|
|
4225
|
-
__assign
|
|
4244
|
+
var __assign = function() {
|
|
4245
|
+
__assign = Object.assign || function __assign2(t2) {
|
|
4226
4246
|
for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
|
|
4227
4247
|
s2 = arguments[i2];
|
|
4228
4248
|
for (var p2 in s2)
|
|
@@ -4231,9 +4251,9 @@ var __assign$1 = function() {
|
|
|
4231
4251
|
}
|
|
4232
4252
|
return t2;
|
|
4233
4253
|
};
|
|
4234
|
-
return __assign
|
|
4254
|
+
return __assign.apply(this, arguments);
|
|
4235
4255
|
};
|
|
4236
|
-
function __rest
|
|
4256
|
+
function __rest(s2, e2) {
|
|
4237
4257
|
var t2 = {};
|
|
4238
4258
|
for (var p2 in s2)
|
|
4239
4259
|
if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0)
|
|
@@ -4326,34 +4346,6 @@ function useMergeRefs(refs, defaultValue) {
|
|
|
4326
4346
|
}, [refs]);
|
|
4327
4347
|
return callbackRef;
|
|
4328
4348
|
}
|
|
4329
|
-
var __assign = function() {
|
|
4330
|
-
__assign = Object.assign || function __assign2(t2) {
|
|
4331
|
-
for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
|
|
4332
|
-
s2 = arguments[i2];
|
|
4333
|
-
for (var p2 in s2)
|
|
4334
|
-
if (Object.prototype.hasOwnProperty.call(s2, p2))
|
|
4335
|
-
t2[p2] = s2[p2];
|
|
4336
|
-
}
|
|
4337
|
-
return t2;
|
|
4338
|
-
};
|
|
4339
|
-
return __assign.apply(this, arguments);
|
|
4340
|
-
};
|
|
4341
|
-
function __rest(s2, e2) {
|
|
4342
|
-
var t2 = {};
|
|
4343
|
-
for (var p2 in s2)
|
|
4344
|
-
if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0)
|
|
4345
|
-
t2[p2] = s2[p2];
|
|
4346
|
-
if (s2 != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4347
|
-
for (var i2 = 0, p2 = Object.getOwnPropertySymbols(s2); i2 < p2.length; i2++) {
|
|
4348
|
-
if (e2.indexOf(p2[i2]) < 0 && Object.prototype.propertyIsEnumerable.call(s2, p2[i2]))
|
|
4349
|
-
t2[p2[i2]] = s2[p2[i2]];
|
|
4350
|
-
}
|
|
4351
|
-
return t2;
|
|
4352
|
-
}
|
|
4353
|
-
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
4354
|
-
var e2 = new Error(message);
|
|
4355
|
-
return e2.name = "SuppressedError", e2.error = error, e2.suppressed = suppressed, e2;
|
|
4356
|
-
};
|
|
4357
4349
|
function ItoI(a2) {
|
|
4358
4350
|
return a2;
|
|
4359
4351
|
}
|
|
@@ -4465,15 +4457,15 @@ var RemoveScroll = D(function(props, parentRef) {
|
|
|
4465
4457
|
onWheelCapture: nothing,
|
|
4466
4458
|
onTouchMoveCapture: nothing
|
|
4467
4459
|
}), callbacks = _a[0], setCallbacks = _a[1];
|
|
4468
|
-
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, rest = __rest
|
|
4460
|
+
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, rest = __rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]);
|
|
4469
4461
|
var SideCar2 = sideCar;
|
|
4470
4462
|
var containerRef = useMergeRefs([ref, parentRef]);
|
|
4471
|
-
var containerProps = __assign
|
|
4463
|
+
var containerProps = __assign(__assign({}, rest), callbacks);
|
|
4472
4464
|
return _$1(
|
|
4473
4465
|
k$3,
|
|
4474
4466
|
null,
|
|
4475
4467
|
enabled && _$1(SideCar2, { sideCar: effectCar, removeScrollBar, shards, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref }),
|
|
4476
|
-
forwardProps ? _n(O.only(children), __assign
|
|
4468
|
+
forwardProps ? _n(O.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : _$1(Container, __assign({}, containerProps, { className, ref: containerRef }), children)
|
|
4477
4469
|
);
|
|
4478
4470
|
});
|
|
4479
4471
|
RemoveScroll.defaultProps = {
|
|
@@ -4892,7 +4884,7 @@ function RemoveScrollSideCar(props) {
|
|
|
4892
4884
|
}
|
|
4893
4885
|
const SideCar = exportSidecar(effectCar, RemoveScrollSideCar);
|
|
4894
4886
|
var ReactRemoveScroll = D(function(props, ref) {
|
|
4895
|
-
return _$1(RemoveScroll, __assign
|
|
4887
|
+
return _$1(RemoveScroll, __assign({}, props, { ref, sideCar: SideCar }));
|
|
4896
4888
|
});
|
|
4897
4889
|
ReactRemoveScroll.classNames = RemoveScroll.classNames;
|
|
4898
4890
|
const $am6gm$RemoveScroll = ReactRemoveScroll;
|
|
@@ -5239,6 +5231,7 @@ var createTranslateFunction = ({
|
|
|
5239
5231
|
var TranslationContext = J$1(null);
|
|
5240
5232
|
var createTranslation = (defaultTerms) => {
|
|
5241
5233
|
return {
|
|
5234
|
+
defaultTerms,
|
|
5242
5235
|
TranslationProvider: ({ terms, children, locale }) => {
|
|
5243
5236
|
const t2 = T$1(() => {
|
|
5244
5237
|
return createTranslateFunction({ locale, terms: defaultTerms, overrides: terms });
|
package/dist/plugin-feedback.js
CHANGED
|
@@ -1918,8 +1918,9 @@ function getOppositeAxis(axis) {
|
|
|
1918
1918
|
function getAxisLength(axis) {
|
|
1919
1919
|
return axis === "y" ? "height" : "width";
|
|
1920
1920
|
}
|
|
1921
|
+
const yAxisSides = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
1921
1922
|
function getSideAxis(placement) {
|
|
1922
|
-
return
|
|
1923
|
+
return yAxisSides.has(getSide(placement)) ? "y" : "x";
|
|
1923
1924
|
}
|
|
1924
1925
|
function getAlignmentAxis(placement) {
|
|
1925
1926
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -1944,20 +1945,20 @@ function getExpandedPlacements(placement) {
|
|
|
1944
1945
|
function getOppositeAlignmentPlacement(placement) {
|
|
1945
1946
|
return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
|
|
1946
1947
|
}
|
|
1948
|
+
const lrPlacement = ["left", "right"];
|
|
1949
|
+
const rlPlacement = ["right", "left"];
|
|
1950
|
+
const tbPlacement = ["top", "bottom"];
|
|
1951
|
+
const btPlacement = ["bottom", "top"];
|
|
1947
1952
|
function getSideList(side, isStart, rtl) {
|
|
1948
|
-
const lr = ["left", "right"];
|
|
1949
|
-
const rl = ["right", "left"];
|
|
1950
|
-
const tb = ["top", "bottom"];
|
|
1951
|
-
const bt = ["bottom", "top"];
|
|
1952
1953
|
switch (side) {
|
|
1953
1954
|
case "top":
|
|
1954
1955
|
case "bottom":
|
|
1955
1956
|
if (rtl)
|
|
1956
|
-
return isStart ?
|
|
1957
|
-
return isStart ?
|
|
1957
|
+
return isStart ? rlPlacement : lrPlacement;
|
|
1958
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
1958
1959
|
case "left":
|
|
1959
1960
|
case "right":
|
|
1960
|
-
return isStart ?
|
|
1961
|
+
return isStart ? tbPlacement : btPlacement;
|
|
1961
1962
|
default:
|
|
1962
1963
|
return [];
|
|
1963
1964
|
}
|
|
@@ -2708,6 +2709,9 @@ const size$2 = function(options2) {
|
|
|
2708
2709
|
}
|
|
2709
2710
|
};
|
|
2710
2711
|
};
|
|
2712
|
+
function hasWindow() {
|
|
2713
|
+
return typeof window !== "undefined";
|
|
2714
|
+
}
|
|
2711
2715
|
function getNodeName(node) {
|
|
2712
2716
|
if (isNode(node)) {
|
|
2713
2717
|
return (node.nodeName || "").toLowerCase();
|
|
@@ -2723,20 +2727,30 @@ function getDocumentElement(node) {
|
|
|
2723
2727
|
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
2724
2728
|
}
|
|
2725
2729
|
function isNode(value) {
|
|
2730
|
+
if (!hasWindow()) {
|
|
2731
|
+
return false;
|
|
2732
|
+
}
|
|
2726
2733
|
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
2727
2734
|
}
|
|
2728
2735
|
function isElement(value) {
|
|
2736
|
+
if (!hasWindow()) {
|
|
2737
|
+
return false;
|
|
2738
|
+
}
|
|
2729
2739
|
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
2730
2740
|
}
|
|
2731
2741
|
function isHTMLElement(value) {
|
|
2742
|
+
if (!hasWindow()) {
|
|
2743
|
+
return false;
|
|
2744
|
+
}
|
|
2732
2745
|
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
2733
2746
|
}
|
|
2734
2747
|
function isShadowRoot(value) {
|
|
2735
|
-
if (typeof ShadowRoot === "undefined") {
|
|
2748
|
+
if (!hasWindow() || typeof ShadowRoot === "undefined") {
|
|
2736
2749
|
return false;
|
|
2737
2750
|
}
|
|
2738
2751
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
2739
2752
|
}
|
|
2753
|
+
const invalidOverflowDisplayValues = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
2740
2754
|
function isOverflowElement(element) {
|
|
2741
2755
|
const {
|
|
2742
2756
|
overflow,
|
|
@@ -2744,24 +2758,29 @@ function isOverflowElement(element) {
|
|
|
2744
2758
|
overflowY,
|
|
2745
2759
|
display
|
|
2746
2760
|
} = getComputedStyle$1(element);
|
|
2747
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !
|
|
2761
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
|
|
2748
2762
|
}
|
|
2763
|
+
const tableElements = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
2749
2764
|
function isTableElement(element) {
|
|
2750
|
-
return
|
|
2765
|
+
return tableElements.has(getNodeName(element));
|
|
2751
2766
|
}
|
|
2767
|
+
const topLayerSelectors = [":popover-open", ":modal"];
|
|
2752
2768
|
function isTopLayer(element) {
|
|
2753
|
-
return
|
|
2769
|
+
return topLayerSelectors.some((selector) => {
|
|
2754
2770
|
try {
|
|
2755
2771
|
return element.matches(selector);
|
|
2756
|
-
} catch (
|
|
2772
|
+
} catch (_e) {
|
|
2757
2773
|
return false;
|
|
2758
2774
|
}
|
|
2759
2775
|
});
|
|
2760
2776
|
}
|
|
2777
|
+
const transformProperties = ["transform", "translate", "scale", "rotate", "perspective"];
|
|
2778
|
+
const willChangeValues = ["transform", "translate", "scale", "rotate", "perspective", "filter"];
|
|
2779
|
+
const containValues = ["paint", "layout", "strict", "content"];
|
|
2761
2780
|
function isContainingBlock(elementOrCss) {
|
|
2762
2781
|
const webkit = isWebKit();
|
|
2763
2782
|
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
2764
|
-
return
|
|
2783
|
+
return transformProperties.some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || willChangeValues.some((value) => (css.willChange || "").includes(value)) || containValues.some((value) => (css.contain || "").includes(value));
|
|
2765
2784
|
}
|
|
2766
2785
|
function getContainingBlock(element) {
|
|
2767
2786
|
let currentNode = getParentNode(element);
|
|
@@ -2780,8 +2799,9 @@ function isWebKit() {
|
|
|
2780
2799
|
return false;
|
|
2781
2800
|
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
2782
2801
|
}
|
|
2802
|
+
const lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
2783
2803
|
function isLastTraversableNode(node) {
|
|
2784
|
-
return
|
|
2804
|
+
return lastTraversableNodeNames.has(getNodeName(node));
|
|
2785
2805
|
}
|
|
2786
2806
|
function getComputedStyle$1(element) {
|
|
2787
2807
|
return getWindow(element).getComputedStyle(element);
|
|
@@ -4219,8 +4239,8 @@ var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
|
4219
4239
|
targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live], script")));
|
|
4220
4240
|
return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
|
|
4221
4241
|
};
|
|
4222
|
-
var __assign
|
|
4223
|
-
__assign
|
|
4242
|
+
var __assign = function() {
|
|
4243
|
+
__assign = Object.assign || function __assign2(t2) {
|
|
4224
4244
|
for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
|
|
4225
4245
|
s2 = arguments[i2];
|
|
4226
4246
|
for (var p2 in s2)
|
|
@@ -4229,9 +4249,9 @@ var __assign$1 = function() {
|
|
|
4229
4249
|
}
|
|
4230
4250
|
return t2;
|
|
4231
4251
|
};
|
|
4232
|
-
return __assign
|
|
4252
|
+
return __assign.apply(this, arguments);
|
|
4233
4253
|
};
|
|
4234
|
-
function __rest
|
|
4254
|
+
function __rest(s2, e2) {
|
|
4235
4255
|
var t2 = {};
|
|
4236
4256
|
for (var p2 in s2)
|
|
4237
4257
|
if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0)
|
|
@@ -4324,34 +4344,6 @@ function useMergeRefs(refs, defaultValue) {
|
|
|
4324
4344
|
}, [refs]);
|
|
4325
4345
|
return callbackRef;
|
|
4326
4346
|
}
|
|
4327
|
-
var __assign = function() {
|
|
4328
|
-
__assign = Object.assign || function __assign2(t2) {
|
|
4329
|
-
for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
|
|
4330
|
-
s2 = arguments[i2];
|
|
4331
|
-
for (var p2 in s2)
|
|
4332
|
-
if (Object.prototype.hasOwnProperty.call(s2, p2))
|
|
4333
|
-
t2[p2] = s2[p2];
|
|
4334
|
-
}
|
|
4335
|
-
return t2;
|
|
4336
|
-
};
|
|
4337
|
-
return __assign.apply(this, arguments);
|
|
4338
|
-
};
|
|
4339
|
-
function __rest(s2, e2) {
|
|
4340
|
-
var t2 = {};
|
|
4341
|
-
for (var p2 in s2)
|
|
4342
|
-
if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0)
|
|
4343
|
-
t2[p2] = s2[p2];
|
|
4344
|
-
if (s2 != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4345
|
-
for (var i2 = 0, p2 = Object.getOwnPropertySymbols(s2); i2 < p2.length; i2++) {
|
|
4346
|
-
if (e2.indexOf(p2[i2]) < 0 && Object.prototype.propertyIsEnumerable.call(s2, p2[i2]))
|
|
4347
|
-
t2[p2[i2]] = s2[p2[i2]];
|
|
4348
|
-
}
|
|
4349
|
-
return t2;
|
|
4350
|
-
}
|
|
4351
|
-
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
4352
|
-
var e2 = new Error(message);
|
|
4353
|
-
return e2.name = "SuppressedError", e2.error = error, e2.suppressed = suppressed, e2;
|
|
4354
|
-
};
|
|
4355
4347
|
function ItoI(a2) {
|
|
4356
4348
|
return a2;
|
|
4357
4349
|
}
|
|
@@ -4463,15 +4455,15 @@ var RemoveScroll = D(function(props, parentRef) {
|
|
|
4463
4455
|
onWheelCapture: nothing,
|
|
4464
4456
|
onTouchMoveCapture: nothing
|
|
4465
4457
|
}), callbacks = _a[0], setCallbacks = _a[1];
|
|
4466
|
-
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, rest = __rest
|
|
4458
|
+
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, rest = __rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]);
|
|
4467
4459
|
var SideCar2 = sideCar;
|
|
4468
4460
|
var containerRef = useMergeRefs([ref, parentRef]);
|
|
4469
|
-
var containerProps = __assign
|
|
4461
|
+
var containerProps = __assign(__assign({}, rest), callbacks);
|
|
4470
4462
|
return _$1(
|
|
4471
4463
|
k$3,
|
|
4472
4464
|
null,
|
|
4473
4465
|
enabled && _$1(SideCar2, { sideCar: effectCar, removeScrollBar, shards, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref }),
|
|
4474
|
-
forwardProps ? _n(O.only(children), __assign
|
|
4466
|
+
forwardProps ? _n(O.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : _$1(Container, __assign({}, containerProps, { className, ref: containerRef }), children)
|
|
4475
4467
|
);
|
|
4476
4468
|
});
|
|
4477
4469
|
RemoveScroll.defaultProps = {
|
|
@@ -4890,7 +4882,7 @@ function RemoveScrollSideCar(props) {
|
|
|
4890
4882
|
}
|
|
4891
4883
|
const SideCar = exportSidecar(effectCar, RemoveScrollSideCar);
|
|
4892
4884
|
var ReactRemoveScroll = D(function(props, ref) {
|
|
4893
|
-
return _$1(RemoveScroll, __assign
|
|
4885
|
+
return _$1(RemoveScroll, __assign({}, props, { ref, sideCar: SideCar }));
|
|
4894
4886
|
});
|
|
4895
4887
|
ReactRemoveScroll.classNames = RemoveScroll.classNames;
|
|
4896
4888
|
const $am6gm$RemoveScroll = ReactRemoveScroll;
|
|
@@ -5237,6 +5229,7 @@ var createTranslateFunction = ({
|
|
|
5237
5229
|
var TranslationContext = J$1(null);
|
|
5238
5230
|
var createTranslation = (defaultTerms) => {
|
|
5239
5231
|
return {
|
|
5232
|
+
defaultTerms,
|
|
5240
5233
|
TranslationProvider: ({ terms, children, locale }) => {
|
|
5241
5234
|
const t2 = T$1(() => {
|
|
5242
5235
|
return createTranslateFunction({ locale, terms: defaultTerms, overrides: terms });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-feedback",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/plugin-feedback.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"zustand-context": "^1.0.0",
|
|
59
59
|
"@inploi/core": "1.16.1",
|
|
60
60
|
"@inploi/design-tokens": "0.2.1",
|
|
61
|
-
"@inploi/sdk": "1.
|
|
61
|
+
"@inploi/sdk": "1.16.0",
|
|
62
62
|
"eslint-config-custom": "0.1.0",
|
|
63
|
-
"@inploi/i18n": "0.1.
|
|
63
|
+
"@inploi/i18n": "0.1.5"
|
|
64
64
|
},
|
|
65
65
|
"msw": {
|
|
66
66
|
"workerDirectory": "public"
|
package/cdn/index.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
(function(){"use strict";function Jo(e,t){if(!e)throw new Error(t)}var ei=e=>e,Ye,k,Ln,be,Fn,Mn,In,Wn,Ft,Mt,It,zn,Ke={},Hn=[],ti=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,at=Array.isArray;function oe(e,t){for(var n in t)e[n]=t[n];return e}function Wt(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function x(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?Ye.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return Xe(e,a,r,o,null)}function Xe(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++Ln,__i:-1,__u:0};return o==null&&k.vnode!=null&&k.vnode(i),i}function Un(){return{current:null}}function j(e){return e.children}function Q(e,t){this.props=e,this.context=t}function Ee(e,t){if(t==null)return e.__?Ee(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Ee(e):null}function jn(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return jn(e)}}function zt(e){(!e.__d&&(e.__d=!0)&&be.push(e)&&!ct.__r++||Fn!==k.debounceRendering)&&((Fn=k.debounceRendering)||Mn)(ct)}function ct(){for(var e,t,n,r,o,i,a,c=1;be.length;)be.length>c&&be.sort(In),e=be.shift(),c=be.length,e.__d&&(n=void 0,o=(r=(t=e).__v).__e,i=[],a=[],t.__P&&((n=oe({},r)).__v=r.__v+1,k.vnode&&k.vnode(n),Ht(t.__P,n,r,t.__n,t.__P.namespaceURI,32&r.__u?[o]:null,i,o??Ee(r),!!(32&r.__u),a),n.__v=r.__v,n.__.__k[n.__i]=n,Xn(i,n,a),n.__e!=o&&jn(n)));ct.__r=0}function Bn(e,t,n,r,o,i,a,c,l,d,f){var s,p,u,v,h,g,w=r&&r.__k||Hn,_=t.length;for(l=ni(n,t,w,l,_),s=0;s<_;s++)(u=n.__k[s])!=null&&(p=u.__i===-1?Ke:w[u.__i]||Ke,u.__i=s,g=Ht(e,u,p,o,i,a,c,l,d,f),v=u.__e,u.ref&&p.ref!=u.ref&&(p.ref&&Ut(p.ref,null,u),f.push(u.ref,u.__c||v,u)),h==null&&v!=null&&(h=v),4&u.__u||p.__k===u.__k?l=Vn(u,l,e):typeof u.type=="function"&&g!==void 0?l=g:v&&(l=v.nextSibling),u.__u&=-7);return n.__e=h,l}function ni(e,t,n,r,o){var i,a,c,l,d,f=n.length,s=f,p=0;for(e.__k=new Array(o),i=0;i<o;i++)(a=t[i])!=null&&typeof a!="boolean"&&typeof a!="function"?(l=i+p,(a=e.__k[i]=typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?Xe(null,a,null,null,null):at(a)?Xe(j,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?Xe(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a).__=e,a.__b=e.__b+1,c=null,(d=a.__i=ri(a,n,l,s))!==-1&&(s--,(c=n[d])&&(c.__u|=2)),c==null||c.__v===null?(d==-1&&(o>f?p--:o<f&&p++),typeof a.type!="function"&&(a.__u|=4)):d!=l&&(d==l-1?p--:d==l+1?p++:(d>l?p--:p++,a.__u|=4))):e.__k[i]=null;if(s)for(i=0;i<f;i++)(c=n[i])!=null&&!(2&c.__u)&&(c.__e==r&&(r=Ee(c)),Zn(c,c));return r}function Vn(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Vn(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=Ee(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function ie(e,t){return t=t||[],e==null||typeof e=="boolean"||(at(e)?e.some(function(n){ie(n,t)}):t.push(e)),t}function ri(e,t,n,r){var o,i,a=e.key,c=e.type,l=t[n];if(l===null&&e.key==null||l&&a==l.key&&c===l.type&&!(2&l.__u))return n;if(r>(l!=null&&!(2&l.__u)?1:0))for(o=n-1,i=n+1;o>=0||i<t.length;){if(o>=0){if((l=t[o])&&!(2&l.__u)&&a==l.key&&c===l.type)return o;o--}if(i<t.length){if((l=t[i])&&!(2&l.__u)&&a==l.key&&c===l.type)return i;i++}}return-1}function Yn(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||ti.test(t)?n:n+"px"}function st(e,t,n,r,o){var i;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Yn(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Yn(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")i=t!=(t=t.replace(Wn,"$1")),t=t.toLowerCase()in e||t=="onFocusOut"||t=="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Ft,e.addEventListener(t,i?It:Mt,i)):e.removeEventListener(t,i?It:Mt,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Kn(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Ft++;else if(t.t<n.u)return;return n(k.event?k.event(t):t)}}}function Ht(e,t,n,r,o,i,a,c,l,d){var f,s,p,u,v,h,g,w,_,b,m,y,S,A,$,R,L,z,T=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[c=t.__e=n.__e]),(f=k.__b)&&f(t);e:if(typeof T=="function")try{if(w=t.props,_="prototype"in T&&T.prototype.render,b=(f=T.contextType)&&r[f.__c],m=f?b?b.props.value:f.__:r,n.__c?g=(s=t.__c=n.__c).__=s.__E:(_?t.__c=s=new T(w,m):(t.__c=s=new Q(w,m),s.constructor=T,s.render=ii),b&&b.sub(s),s.props=w,s.state||(s.state={}),s.context=m,s.__n=r,p=s.__d=!0,s.__h=[],s._sb=[]),_&&s.__s==null&&(s.__s=s.state),_&&T.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=oe({},s.__s)),oe(s.__s,T.getDerivedStateFromProps(w,s.__s))),u=s.props,v=s.state,s.__v=t,p)_&&T.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),_&&s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(_&&T.getDerivedStateFromProps==null&&w!==u&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(w,m),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(w,s.__s,m)===!1||t.__v==n.__v)){for(t.__v!=n.__v&&(s.props=w,s.state=s.__s,s.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(W){W&&(W.__=t)}),y=0;y<s._sb.length;y++)s.__h.push(s._sb[y]);s._sb=[],s.__h.length&&a.push(s);break e}s.componentWillUpdate!=null&&s.componentWillUpdate(w,s.__s,m),_&&s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(u,v,h)})}if(s.context=m,s.props=w,s.__P=e,s.__e=!1,S=k.__r,A=0,_){for(s.state=s.__s,s.__d=!1,S&&S(t),f=s.render(s.props,s.state,s.context),$=0;$<s._sb.length;$++)s.__h.push(s._sb[$]);s._sb=[]}else do s.__d=!1,S&&S(t),f=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++A<25);s.state=s.__s,s.getChildContext!=null&&(r=oe(oe({},r),s.getChildContext())),_&&!p&&s.getSnapshotBeforeUpdate!=null&&(h=s.getSnapshotBeforeUpdate(u,v)),L=(R=f!=null&&f.type===j&&f.key==null)?f.props.children:f,R&&(f.props.children=null),c=Bn(e,at(L)?L:[L],t,n,r,o,i,a,c,l,d),s.base=t.__e,t.__u&=-161,s.__h.length&&a.push(s),g&&(s.__E=s.__=null)}catch(W){if(t.__v=null,l||i!=null)if(W.then){for(t.__u|=l?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;i[i.indexOf(c)]=null,t.__e=c}else for(z=i.length;z--;)Wt(i[z]);else t.__e=n.__e,t.__k=n.__k;k.__e(W,t,n)}else i==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):c=t.__e=oi(n.__e,t,n,r,o,i,a,l,d);return(f=k.diffed)&&f(t),128&t.__u?void 0:c}function Xn(e,t,n){for(var r=0;r<n.length;r++)Ut(n[r],n[++r],n[++r]);k.__c&&k.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){k.__e(i,o.__v)}})}function oi(e,t,n,r,o,i,a,c,l){var d,f,s,p,u,v,h,g=n.props,w=t.props,_=t.type;if(_=="svg"?o="http://www.w3.org/2000/svg":_=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(d=0;d<i.length;d++)if((u=i[d])&&"setAttribute"in u==!!_&&(_?u.localName==_:u.nodeType==3)){e=u,i[d]=null;break}}if(e==null){if(_==null)return document.createTextNode(w);e=document.createElementNS(o,_,w.is&&w),c&&(k.__m&&k.__m(t,i),c=!1),i=null}if(_===null)g===w||c&&e.data===w||(e.data=w);else{if(i=i&&Ye.call(e.childNodes),g=n.props||Ke,!c&&i!=null)for(g={},d=0;d<e.attributes.length;d++)g[(u=e.attributes[d]).name]=u.value;for(d in g)if(u=g[d],d!="children"){if(d=="dangerouslySetInnerHTML")s=u;else if(!(d in w)){if(d=="value"&&"defaultValue"in w||d=="checked"&&"defaultChecked"in w)continue;st(e,d,null,u,o)}}for(d in w)u=w[d],d=="children"?p=u:d=="dangerouslySetInnerHTML"?f=u:d=="value"?v=u:d=="checked"?h=u:c&&typeof u!="function"||g[d]===u||st(e,d,u,g[d],o);if(f)c||s&&(f.__html===s.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(s&&(e.innerHTML=""),Bn(t.type==="template"?e.content:e,at(p)?p:[p],t,n,r,_=="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Ee(n,0),c,l),i!=null)for(d=i.length;d--;)Wt(i[d]);c||(d="value",_=="progress"&&v==null?e.removeAttribute("value"):v!==void 0&&(v!==e[d]||_=="progress"&&!v||_=="option"&&v!==g[d])&&st(e,d,v,g[d],o),d="checked",h!==void 0&&h!==e[d]&&st(e,d,h,g[d],o))}return e}function Ut(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(o){k.__e(o,n)}}function Zn(e,t,n){var r,o;if(k.unmount&&k.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Ut(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){k.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Zn(r[o],t,n||typeof e.type!="function");n||Wt(e.__e),e.__c=e.__=e.__e=void 0}function ii(e,t,n){return this.constructor(e,n)}function Se(e,t,n){var r,o,i,a;t==document&&(t=document.documentElement),k.__&&k.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],Ht(t,e=(!r&&n||t).__k=x(j,null,[e]),o||Ke,Ke,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?Ye.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Xn(i,e,a)}function jt(e,t){Se(e,t,jt)}function ai(e,t,n){var r,o,i,a,c=oe({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:c[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(c.children=arguments.length>3?Ye.call(arguments,2):n),Xe(e.type,c,r||e.key,o||e.ref,null)}function Pe(e){function t(n){var r,o;return this.getChildContext||(r=new Set,(o={})[t.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&r.forEach(function(a){a.__e=!0,zt(a)})},this.sub=function(i){r.add(i);var a=i.componentWillUnmount;i.componentWillUnmount=function(){r&&r.delete(i),a&&a.call(i)}}),n.children}return t.__c="__cC"+zn++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,r){return n.children(r)}).contextType=t,t}Ye=Hn.slice,k={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(c){e=c}throw e}},Ln=0,Q.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=oe({},this.state),typeof e=="function"&&(e=e(oe({},n),this.props)),e&&oe(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),zt(this))},Q.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),zt(this))},Q.prototype.render=j,be=[],Mn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,In=function(e,t){return e.__v.__b-t.__v.__b},ct.__r=0,Wn=/(PointerCapture)$|Capture$/i,Ft=0,Mt=Kn(!1),It=Kn(!0),zn=0;var qn=/[\s\n\\/='"\0<>]/,Gn=/^(xlink|xmlns|xml)([A-Z])/,ci=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/,si=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,li=/["&<]/;function lt(e){if(e.length===0||li.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var Qn={},di=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),ui=/[A-Z]/g;function fi(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Qn[n]||(Qn[n]=n.replace(ui,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||di.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var Bt,ye,Ze,qe,Jn=[],er=Array.isArray,Vt=Object.assign;function pi(e,t,n){var r=k.__s;k.__s=!0,Bt=k.__b,ye=k.diffed,Ze=k.__r,qe=k.unmount;var o=x(j,null);o.__k=[e];try{var i=te(e,t||nr,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{k.__c&&k.__c(e,Jn),k.__s=r,Jn.length=0}}function tr(){this.__d=!0}var nr={};function rr(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=nr),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Vt({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),Ze&&Ze(e),n.render(n.props,n.state,t)}function te(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":lt(e+"");if(er(e)){var c,l="";o.__k=e;for(var d=0;d<e.length;d++){var f=e[d];if(f!=null&&typeof f!="boolean"){var s,p=te(f,t,n,r,o,i,a);typeof p=="string"?l+=p:(c=c||[],l&&c.push(l),l="",Array.isArray(p)?(s=c).push.apply(s,p):c.push(p))}}return c?(l&&c.push(l),c):l}if(e.constructor!==void 0)return"";e.__=o,Bt&&Bt(e);var u,v,h,g=e.type,w=e.props,_=t;if(typeof g=="function"){if(g===j){if(w.tpl){for(var b="",m=0;m<w.tpl.length;m++)if(b+=w.tpl[m],w.exprs&&m<w.exprs.length){var y=w.exprs[m];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!er(y)?b+=y:b+=te(y,t,n,r,e,i,a)}return b}if(w.UNSTABLE_comment)return"<!--"+lt(w.UNSTABLE_comment||"")+"-->";v=w.children}else{if((u=g.contextType)!=null){var S=t[u.__c];_=S?S.props.value:u.__}if(g.prototype&&typeof g.prototype.render=="function")v=rr(e,_),h=e.__c;else{e.__c=h={__v:e,props:w,context:_,setState:tr,forceUpdate:tr,__d:!0,__h:[]};for(var A=0;h.__d&&A++<25;)h.__d=!1,Ze&&Ze(e),v=g.call(h,w,_);h.__d=!0}if(h.getChildContext!=null&&(t=Vt({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&k.errorBoundaries){var $="";v=v!=null&&v.type===j&&v.key==null?v.props.children:v;try{return $=te(v,t,n,r,e,i,a)}catch(Z){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(Z)),h.componentDidCatch&&h.componentDidCatch(Z,{}),h.__d&&(v=rr(e,t),(h=e.__c).getChildContext!=null&&(t=Vt({},t,h.getChildContext())),$=te(v=v!=null&&v.type===j&&v.key==null?v.props.children:v,t,n,r,e,i,a)),$}finally{ye&&ye(e),e.__=null,qe&&qe(e)}}}v=v!=null&&v.type===j&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var R=te(v,t,n,r,e,i,a);return ye&&ye(e),e.__=null,k.unmount&&k.unmount(e),R}catch(Z){if(!i&&a&&a.onError){var L=a.onError(Z,e,function(me){return te(me,t,n,r,e,i,a)});if(L!==void 0)return L;var z=k.__e;return z&&z(Z,e),""}if(!i||!Z||typeof Z.then!="function")throw Z;var T=function me(){try{return te(v,t,n,r,e,i,a)}catch(Be){if(!Be||typeof Be.then!="function")throw Be;return Be.then(function(){return te(v,t,n,r,e,i,a)},function(){return me()})}};return Z.then(function(){return T()})}}var W,O="<"+g,M="";for(var P in w){var C=w[P];switch(P){case"children":W=C;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in w)continue;P="for";break;case"className":if("class"in w)continue;P="class";break;case"defaultChecked":P="checked";break;case"defaultSelected":P="selected";break;case"defaultValue":case"value":switch(P="value",g){case"textarea":W=C;continue;case"select":r=C;continue;case"option":r!=C||"selected"in w||(O+=" selected")}break;case"dangerouslySetInnerHTML":M=C&&C.__html;continue;case"style":typeof C=="object"&&(C=fi(C));break;case"acceptCharset":P="accept-charset";break;case"httpEquiv":P="http-equiv";break;default:if(Gn.test(P))P=P.replace(Gn,"$1:$2").toLowerCase();else{if(qn.test(P))continue;P[4]!=="-"&&P!=="draggable"||C==null?n?si.test(P)&&(P=P==="panose1"?"panose-1":P.replace(/([A-Z])/g,"-$1").toLowerCase()):ci.test(P)&&(P=P.toLowerCase()):C+=""}}C!=null&&C!==!1&&typeof C!="function"&&(O=C===!0||C===""?O+" "+P:O+" "+P+'="'+lt(C+"")+'"')}if(qn.test(g))throw new Error(g+" is not a valid HTML tag name in "+O+">");if(M||(typeof W=="string"?M=lt(W):W!=null&&W!==!1&&W!==!0&&(M=te(W,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),ye&&ye(e),e.__=null,qe&&qe(e),!M&&hi.has(g))return O+"/>";var V="</"+g+">",U=O+">";return Array.isArray(M)?[U].concat(M,[V]):typeof M!="string"?[U,M,V]:U+M+V}var hi=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),vi=0;function E(e,t,n,r,o,i){t||(t={});var a,c,l=t;if("ref"in l)for(c in l={},t)c=="ref"?a=t[c]:l[c]=t[c];var d={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--vi,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(c in a)l[c]===void 0&&(l[c]=a[c]);return k.vnode&&k.vnode(d),d}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(this,arguments)}var ae,F,Yt,or,Ae=0,ir=[],H=k,ar=H.__b,cr=H.__r,sr=H.diffed,lr=H.__c,dr=H.unmount,ur=H.__;function xe(e,t){H.__h&&H.__h(F,e,Ae||t),Ae=0;var n=F.__H||(F.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function N(e){return Ae=1,Ge(pr,e)}function Ge(e,t,n){var r=xe(ae++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):pr(void 0,t),function(c){var l=r.__N?r.__N[0]:r.__[0],d=r.t(l,c);l!==d&&(r.__N=[d,r.__[1]],r.__c.setState({}))}],r.__c=F,!F.__f)){var o=function(c,l,d){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,c,l,d);var s=r.__c.props!==c;return f.forEach(function(p){if(p.__N){var u=p.__[0];p.__=p.__N,p.__N=void 0,u!==p.__[0]&&(s=!0)}}),i&&i.call(this,c,l,d)||s};F.__f=!0;var i=F.shouldComponentUpdate,a=F.componentWillUpdate;F.componentWillUpdate=function(c,l,d){if(this.__e){var f=i;i=void 0,o(c,l,d),i=f}a&&a.call(this,c,l,d)},F.shouldComponentUpdate=o}return r.__N||r.__}function I(e,t){var n=xe(ae++,3);!H.__s&&qt(n.__H,t)&&(n.__=e,n.u=t,F.__H.__h.push(n))}function ce(e,t){var n=xe(ae++,4);!H.__s&&qt(n.__H,t)&&(n.__=e,n.u=t,F.__h.push(n))}function D(e){return Ae=5,X(function(){return{current:e}},[])}function Kt(e,t,n){Ae=6,ce(function(){if(typeof e=="function"){var r=e(t());return function(){e(null),r&&typeof r=="function"&&r()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function X(e,t){var n=xe(ae++,7);return qt(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function B(e,t){return Ae=8,X(function(){return e},t)}function Oe(e){var t=F.context[e.__c],n=xe(ae++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(F)),t.props.value):e.__}function Xt(e,t){H.useDebugValue&&H.useDebugValue(t?t(e):e)}function gi(e){var t=xe(ae++,10),n=N();return t.__=e,F.componentDidCatch||(F.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Qe(){var e=xe(ae++,11);if(!e.__){for(var t=F.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function wi(){for(var e;e=ir.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(dt),e.__H.__h.forEach(Zt),e.__H.__h=[]}catch(t){e.__H.__h=[],H.__e(t,e.__v)}}H.__b=function(e){F=null,ar&&ar(e)},H.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ur&&ur(e,t)},H.__r=function(e){cr&&cr(e),ae=0;var t=(F=e.__c).__H;t&&(Yt===F?(t.__h=[],F.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.forEach(dt),t.__h.forEach(Zt),t.__h=[],ae=0)),Yt=F},H.diffed=function(e){sr&&sr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ir.push(t)!==1&&or===H.requestAnimationFrame||((or=H.requestAnimationFrame)||_i)(wi)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),Yt=F=null},H.__c=function(e,t){t.some(function(n){try{n.__h.forEach(dt),n.__h=n.__h.filter(function(r){return!r.__||Zt(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],H.__e(r,n.__v)}}),lr&&lr(e,t)},H.unmount=function(e){dr&&dr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{dt(r)}catch(o){t=o}}),n.__H=void 0,t&&H.__e(t,n.__v))};var fr=typeof requestAnimationFrame=="function";function _i(e){var t,n=function(){clearTimeout(r),fr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);fr&&(t=requestAnimationFrame(n))}function dt(e){var t=F,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),F=t}function Zt(e){var t=F;e.__c=e.__(),F=t}function qt(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function pr(e,t){return typeof t=="function"?t(e):t}function hr(e,t){for(var n in t)e[n]=t[n];return e}function Gt(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Qt(e,t){var n=t(),r=N({t:{__:n,u:t}}),o=r[0].t,i=r[1];return ce(function(){o.__=n,o.u=t,Jt(o)&&i({t:o})},[e,n,t]),I(function(){return Jt(o)&&i({t:o}),e(function(){Jt(o)&&i({t:o})})},[e]),n}function Jt(e){var t,n,r=e.u,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function en(e){e()}function tn(e){return e}function nn(){return[!1,en]}var rn=ce;function ut(e,t){this.props=e,this.context=t}function vr(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Gt(this.props,o)}function r(o){return this.shouldComponentUpdate=n,x(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(ut.prototype=new Q).isPureReactComponent=!0,ut.prototype.shouldComponentUpdate=function(e,t){return Gt(this.props,e)||Gt(this.state,t)};var gr=k.__b;k.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),gr&&gr(e)};var mi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function K(e){function t(n){var r=hr({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=mi,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var wr=function(e,t){return e==null?null:ie(ie(e).map(t))},se={map:wr,forEach:wr,count:function(e){return e?ie(e).length:0},only:function(e){var t=ie(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:ie},bi=k.__e;k.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}bi(e,t,n,r)};var _r=k.unmount;function mr(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=hr({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return mr(r,t,n)})),e}function br(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return br(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Je(){this.__u=0,this.o=null,this.__b=null}function yr(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function xr(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return x(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Te(){this.i=null,this.l=null}k.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),_r&&_r(e)},(Je.prototype=new Q).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=yr(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(c):c())};n.__R=a;var c=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=br(l,l.__c.__P,l.__c.__O)}var d;for(r.setState({__a:r.__b=null});d=r.o.pop();)d.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Je.prototype.componentWillUnmount=function(){this.o=[]},Je.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=mr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&x(j,null,e.fallback);return o&&(o.__u&=-33),[x(j,null,t.__a?null:e.children),o]};var kr=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function yi(e){return this.getChildContext=function(){return e.context},e.children}function xi(e){var t=this,n=e.h;t.componentWillUnmount=function(){Se(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.h.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.h.insertBefore(r,o)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}),Se(x(yi,{context:t.context},e.__v),t.v)}function $r(e,t){var n=x(xi,{__v:e,h:t});return n.containerInfo=t,n}(Te.prototype=new Q).__a=function(e){var t=this,n=yr(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),kr(t,e,r)):o()};n?n(i):i()}},Te.prototype.render=function(e){this.i=null,this.l=new Map;var t=ie(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Te.prototype.componentDidUpdate=Te.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){kr(e,n,t)})};var Cr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ki=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,$i=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ci=/[A-Z0-9]/g,Ei=typeof document<"u",Si=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Er(e,t,n){return t.__k==null&&(t.textContent=""),Se(e,t),typeof n=="function"&&n(),e?e.__c:null}function Sr(e,t,n){return jt(e,t),typeof n=="function"&&n(),e?e.__c:null}Q.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Q.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Pr=k.event;function Pi(){}function Ai(){return this.cancelBubble}function Oi(){return this.defaultPrevented}k.event=function(e){return Pr&&(e=Pr(e)),e.persist=Pi,e.isPropagationStopped=Ai,e.isDefaultPrevented=Oi,e.nativeEvent=e};var on,Ti={enumerable:!1,configurable:!0,get:function(){return this.class}},Ar=k.vnode;k.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var a in n){var c=n[a];if(!(a==="value"&&"defaultValue"in n&&c==null||Ei&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var l=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&c===!0?c="":l==="translate"&&c==="no"?c=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?a="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||Si(n.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":$i.test(a)&&(a=l):l=a="oninput":i&&ki.test(a)?a=a.replace(Ci,"-$&").toLowerCase():c===null&&(c=void 0),l==="oninput"&&o[a=l]&&(a="oninputCapture"),o[a]=c}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=ie(n.children).forEach(function(d){d.props.selected=o.value.indexOf(d.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=ie(n.children).forEach(function(d){d.props.selected=o.multiple?o.defaultValue.indexOf(d.props.value)!=-1:o.defaultValue==d.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Ti)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Cr,Ar&&Ar(e)};var Or=k.__r;k.__r=function(e){Or&&Or(e),on=e.__c};var Tr=k.diffed;k.diffed=function(e){Tr&&Tr(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),on=null};var Dr={ReactCurrentDispatcher:{current:{readContext:function(e){return on.__n[e.__c].props.value},useCallback:B,useContext:Oe,useDebugValue:Xt,useDeferredValue:tn,useEffect:I,useId:Qe,useImperativeHandle:Kt,useInsertionEffect:rn,useLayoutEffect:ce,useMemo:X,useReducer:Ge,useRef:D,useState:N,useSyncExternalStore:Qt,useTransition:nn}}},Di="18.3.1";function Rr(e){return x.bind(null,e)}function le(e){return!!e&&e.$$typeof===Cr}function Nr(e){return le(e)&&e.type===j}function Lr(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function De(e){return le(e)?ai.apply(null,arguments):e}function Fr(e){return!!e.__k&&(Se(null,e),!0)}function Mr(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ir=function(e,t){return e(t)},et=function(e,t){return e(t)},Wr=j,zr=le,Hr={useState:N,useId:Qe,useReducer:Ge,useEffect:I,useLayoutEffect:ce,useInsertionEffect:rn,useTransition:nn,useDeferredValue:tn,useSyncExternalStore:Qt,startTransition:en,useRef:D,useImperativeHandle:Kt,useMemo:X,useCallback:B,useContext:Oe,useDebugValue:Xt,version:"18.3.1",Children:se,render:Er,hydrate:Sr,unmountComponentAtNode:Fr,createPortal:$r,createElement:x,createContext:Pe,createFactory:Rr,cloneElement:De,createRef:Un,Fragment:j,isValidElement:le,isElement:zr,isFragment:Nr,isMemo:Lr,findDOMNode:Mr,Component:Q,PureComponent:ut,memo:vr,forwardRef:K,flushSync:et,unstable_batchedUpdates:Ir,StrictMode:Wr,Suspense:Je,SuspenseList:Te,lazy:xr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Dr};const Ri=Object.freeze(Object.defineProperty({__proto__:null,Children:se,Component:Q,Fragment:j,PureComponent:ut,StrictMode:Wr,Suspense:Je,SuspenseList:Te,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Dr,cloneElement:De,createContext:Pe,createElement:x,createFactory:Rr,createPortal:$r,createRef:Un,default:Hr,findDOMNode:Mr,flushSync:et,forwardRef:K,hydrate:Sr,isElement:zr,isFragment:Nr,isMemo:Lr,isValidElement:le,lazy:xr,memo:vr,render:Er,startTransition:en,unmountComponentAtNode:Fr,unstable_batchedUpdates:Ir,useCallback:B,useContext:Oe,useDebugValue:Xt,useDeferredValue:tn,useEffect:I,useErrorBoundary:gi,useId:Qe,useImperativeHandle:Kt,useInsertionEffect:rn,useLayoutEffect:ce,useMemo:X,useReducer:Ge,useRef:D,useState:N,useSyncExternalStore:Qt,useTransition:nn,version:Di},Symbol.toStringTag,{value:"Module"}));function ke(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Ni(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ur(...e){return t=>e.forEach(n=>Ni(n,t))}function $e(...e){return B(Ur(...e),e)}function jr(e,t=[]){let n=[];function r(i,a){const c=Pe(a),l=n.length;n=[...n,a];function d(s){const{scope:p,children:u,...v}=s,h=(p==null?void 0:p[e][l])||c,g=X(()=>v,Object.values(v));return x(h.Provider,{value:g},u)}function f(s,p){const u=(p==null?void 0:p[e][l])||c,v=Oe(u);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${s}\` must be used within \`${i}\``)}return d.displayName=i+"Provider",[d,f]}const o=()=>{const i=n.map(a=>Pe(a));return function(c){const l=(c==null?void 0:c[e])||i;return X(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return o.scopeName=e,[r,Li(o,...t)]}function Li(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((c,{useScope:l,scopeName:d})=>{const s=l(i)[`__scope${d}`];return{...c,...s}},{});return X(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const an=K((e,t)=>{const{children:n,...r}=e,o=se.toArray(n),i=o.find(Mi);if(i){const a=i.props.children,c=o.map(l=>l===i?se.count(a)>1?se.only(null):le(a)?a.props.children:null:l);return x(cn,Y({},r,{ref:t}),le(a)?De(a,void 0,c):null)}return x(cn,Y({},r,{ref:t}),n)});an.displayName="Slot";const cn=K((e,t)=>{const{children:n,...r}=e;return le(n)?De(n,{...Ii(r,n.props),ref:t?Ur(t,n.ref):n.ref}):se.count(n)>1?se.only(null):null});cn.displayName="SlotClone";const Fi=({children:e})=>x(j,null,e);function Mi(e){return le(e)&&e.type===Fi}function Ii(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...c)=>{i(...c),o(...c)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const Re=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=K((r,o)=>{const{asChild:i,...a}=r,c=i?an:t;return I(()=>{window[Symbol.for("radix-ui")]=!0},[]),x(c,Y({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Wi(e,t){e&&et(()=>e.dispatchEvent(t))}function pe(e){const t=D(e);return I(()=>{t.current=e}),X(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function zi(e,t=globalThis==null?void 0:globalThis.document){const n=pe(e);I(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const sn="dismissableLayer.update",Hi="dismissableLayer.pointerDownOutside",Ui="dismissableLayer.focusOutside";let Br;const ji=Pe({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Bi=K((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:c,onDismiss:l,...d}=e,f=Oe(ji),[s,p]=N(null),u=(n=s==null?void 0:s.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,v]=N({}),h=$e(t,$=>p($)),g=Array.from(f.layers),[w]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),_=g.indexOf(w),b=s?g.indexOf(s):-1,m=f.layersWithOutsidePointerEventsDisabled.size>0,y=b>=_,S=Vi($=>{const R=$.target,L=[...f.branches].some(z=>z.contains(R));!y||L||(i==null||i($),c==null||c($),$.defaultPrevented||l==null||l())},u),A=Yi($=>{const R=$.target;[...f.branches].some(z=>z.contains(R))||(a==null||a($),c==null||c($),$.defaultPrevented||l==null||l())},u);return zi($=>{b===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&l&&($.preventDefault(),l()))},u),I(()=>{if(s)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Br=u.body.style.pointerEvents,u.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(s)),f.layers.add(s),Vr(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(u.body.style.pointerEvents=Br)}},[s,u,r,f]),I(()=>()=>{s&&(f.layers.delete(s),f.layersWithOutsidePointerEventsDisabled.delete(s),Vr())},[s,f]),I(()=>{const $=()=>v({});return document.addEventListener(sn,$),()=>document.removeEventListener(sn,$)},[]),x(Re.div,Y({},d,{ref:h,style:{pointerEvents:m?y?"auto":"none":void 0,...e.style},onFocusCapture:ke(e.onFocusCapture,A.onFocusCapture),onBlurCapture:ke(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:ke(e.onPointerDownCapture,S.onPointerDownCapture)}))});function Vi(e,t=globalThis==null?void 0:globalThis.document){const n=pe(e),r=D(!1),o=D(()=>{});return I(()=>{const i=c=>{if(c.target&&!r.current){let d=function(){Yr(Hi,n,l,{discrete:!0})};const l={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Yi(e,t=globalThis==null?void 0:globalThis.document){const n=pe(e),r=D(!1);return I(()=>{const o=i=>{i.target&&!r.current&&Yr(Ui,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Vr(){const e=new CustomEvent(sn);document.dispatchEvent(e)}function Yr(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Wi(o,i):o.dispatchEvent(i)}let ln=0;function Ki(){I(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Kr()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Kr()),ln++,()=>{ln===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),ln--}},[])}function Kr(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const dn="focusScope.autoFocusOnMount",un="focusScope.autoFocusOnUnmount",Xr={bubbles:!1,cancelable:!0},Xi=K((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[c,l]=N(null),d=pe(o),f=pe(i),s=D(null),p=$e(t,h=>l(h)),u=D({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;I(()=>{if(r){let h=function(b){if(u.paused||!c)return;const m=b.target;c.contains(m)?s.current=m:he(s.current,{select:!0})},g=function(b){if(u.paused||!c)return;const m=b.relatedTarget;m!==null&&(c.contains(m)||he(s.current,{select:!0}))},w=function(b){if(document.activeElement===document.body)for(const y of b)y.removedNodes.length>0&&he(c)};document.addEventListener("focusin",h),document.addEventListener("focusout",g);const _=new MutationObserver(w);return c&&_.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",g),_.disconnect()}}},[r,c,u.paused]),I(()=>{if(c){Gr.add(u);const h=document.activeElement;if(!c.contains(h)){const w=new CustomEvent(dn,Xr);c.addEventListener(dn,d),c.dispatchEvent(w),w.defaultPrevented||(Zi(ea(Zr(c)),{select:!0}),document.activeElement===h&&he(c))}return()=>{c.removeEventListener(dn,d),setTimeout(()=>{const w=new CustomEvent(un,Xr);c.addEventListener(un,f),c.dispatchEvent(w),w.defaultPrevented||he(h??document.body,{select:!0}),c.removeEventListener(un,f),Gr.remove(u)},0)}}},[c,d,f,u]);const v=B(h=>{if(!n&&!r||u.paused)return;const g=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,w=document.activeElement;if(g&&w){const _=h.currentTarget,[b,m]=qi(_);b&&m?!h.shiftKey&&w===m?(h.preventDefault(),n&&he(b,{select:!0})):h.shiftKey&&w===b&&(h.preventDefault(),n&&he(m,{select:!0})):w===_&&h.preventDefault()}},[n,r,u.paused]);return x(Re.div,Y({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function Zi(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(he(r,{select:t}),document.activeElement!==n)return}function qi(e){const t=Zr(e),n=qr(t,e),r=qr(t.reverse(),e);return[n,r]}function Zr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function qr(e,t){for(const n of e)if(!Gi(n,{upTo:t}))return n}function Gi(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Qi(e){return e instanceof HTMLInputElement&&"select"in e}function he(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Qi(e)&&t&&e.select()}}const Gr=Ji();function Ji(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Qr(e,t),e.unshift(t)},remove(t){var n;e=Qr(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Qr(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function ea(e){return e.filter(t=>t.tagName!=="A")}const Ne=globalThis!=null&&globalThis.document?ce:()=>{},ta=Ri["useId".toString()]||(()=>{});let na=0;function ra(e){const[t,n]=N(ta());return Ne(()=>{e||n(r=>r??String(na++))},[e]),e||(t?`radix-${t}`:"")}const oa=["top","right","bottom","left"],ne=Math.min,q=Math.max,ft=Math.round,pt=Math.floor,ve=e=>({x:e,y:e}),ia={left:"right",right:"left",bottom:"top",top:"bottom"},aa={start:"end",end:"start"};function fn(e,t,n){return q(e,ne(t,n))}function de(e,t){return typeof e=="function"?e(t):e}function ue(e){return e.split("-")[0]}function Le(e){return e.split("-")[1]}function pn(e){return e==="x"?"y":"x"}function hn(e){return e==="y"?"height":"width"}function ge(e){return["top","bottom"].includes(ue(e))?"y":"x"}function vn(e){return pn(ge(e))}function ca(e,t,n){n===void 0&&(n=!1);const r=Le(e),o=vn(e),i=hn(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=ht(a)),[a,ht(a)]}function sa(e){const t=ht(e);return[gn(e),t,gn(t)]}function gn(e){return e.replace(/start|end/g,t=>aa[t])}function la(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function da(e,t,n,r){const o=Le(e);let i=la(ue(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(gn)))),i}function ht(e){return e.replace(/left|right|bottom|top/g,t=>ia[t])}function ua(e){return{top:0,right:0,bottom:0,left:0,...e}}function Jr(e){return typeof e!="number"?ua(e):{top:e,right:e,bottom:e,left:e}}function vt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function eo(e,t,n){let{reference:r,floating:o}=e;const i=ge(t),a=vn(t),c=hn(a),l=ue(t),d=i==="y",f=r.x+r.width/2-o.width/2,s=r.y+r.height/2-o.height/2,p=r[c]/2-o[c]/2;let u;switch(l){case"top":u={x:f,y:r.y-o.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:s};break;case"left":u={x:r.x-o.width,y:s};break;default:u={x:r.x,y:r.y}}switch(Le(t)){case"start":u[a]-=p*(n&&d?-1:1);break;case"end":u[a]+=p*(n&&d?-1:1);break}return u}const fa=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,c=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let d=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:s}=eo(d,r,l),p=r,u={},v=0;for(let h=0;h<c.length;h++){const{name:g,fn:w}=c[h],{x:_,y:b,data:m,reset:y}=await w({x:f,y:s,initialPlacement:r,placement:p,strategy:o,middlewareData:u,rects:d,platform:a,elements:{reference:e,floating:t}});f=_??f,s=b??s,u={...u,[g]:{...u[g],...m}},y&&v<=50&&(v++,typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(d=y.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:f,y:s}=eo(d,p,l)),h=-1)}return{x:f,y:s,placement:p,strategy:o,middlewareData:u}};async function tt(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:s="floating",altBoundary:p=!1,padding:u=0}=de(t,e),v=Jr(u),g=c[p?s==="floating"?"reference":"floating":s],w=vt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:d,rootBoundary:f,strategy:l})),_=s==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),m=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},y=vt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:_,offsetParent:b,strategy:l}):_);return{top:(w.top-y.top+v.top)/m.y,bottom:(y.bottom-w.bottom+v.bottom)/m.y,left:(w.left-y.left+v.left)/m.x,right:(y.right-w.right+v.right)/m.x}}const pa=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:c,middlewareData:l}=t,{element:d,padding:f=0}=de(e,t)||{};if(d==null)return{};const s=Jr(f),p={x:n,y:r},u=vn(o),v=hn(u),h=await a.getDimensions(d),g=u==="y",w=g?"top":"left",_=g?"bottom":"right",b=g?"clientHeight":"clientWidth",m=i.reference[v]+i.reference[u]-p[u]-i.floating[v],y=p[u]-i.reference[u],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let A=S?S[b]:0;(!A||!await(a.isElement==null?void 0:a.isElement(S)))&&(A=c.floating[b]||i.floating[v]);const $=m/2-y/2,R=A/2-h[v]/2-1,L=ne(s[w],R),z=ne(s[_],R),T=L,W=A-h[v]-z,O=A/2-h[v]/2+$,M=fn(T,O,W),P=!l.arrow&&Le(o)!=null&&O!==M&&i.reference[v]/2-(O<T?L:z)-h[v]/2<0,C=P?O<T?O-T:O-W:0;return{[u]:p[u]+C,data:{[u]:M,centerOffset:O-M-C,...P&&{alignmentOffset:C}},reset:P}}}),ha=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:c,platform:l,elements:d}=t,{mainAxis:f=!0,crossAxis:s=!0,fallbackPlacements:p,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:h=!0,...g}=de(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=ue(o),_=ge(c),b=ue(c)===c,m=await(l.isRTL==null?void 0:l.isRTL(d.floating)),y=p||(b||!h?[ht(c)]:sa(c)),S=v!=="none";!p&&S&&y.push(...da(c,h,v,m));const A=[c,...y],$=await tt(t,g),R=[];let L=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&R.push($[w]),s){const O=ca(o,a,m);R.push($[O[0]],$[O[1]])}if(L=[...L,{placement:o,overflows:R}],!R.every(O=>O<=0)){var z,T;const O=(((z=i.flip)==null?void 0:z.index)||0)+1,M=A[O];if(M)return{data:{index:O,overflows:L},reset:{placement:M}};let P=(T=L.filter(C=>C.overflows[0]<=0).sort((C,V)=>C.overflows[1]-V.overflows[1])[0])==null?void 0:T.placement;if(!P)switch(u){case"bestFit":{var W;const C=(W=L.filter(V=>{if(S){const U=ge(V.placement);return U===_||U==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(U=>U>0).reduce((U,Z)=>U+Z,0)]).sort((V,U)=>V[1]-U[1])[0])==null?void 0:W[0];C&&(P=C);break}case"initialPlacement":P=c;break}if(o!==P)return{reset:{placement:P}}}return{}}}};function to(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function no(e){return oa.some(t=>e[t]>=0)}const va=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=de(e,t);switch(r){case"referenceHidden":{const i=await tt(t,{...o,elementContext:"reference"}),a=to(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:no(a)}}}case"escaped":{const i=await tt(t,{...o,altBoundary:!0}),a=to(i,n.floating);return{data:{escapedOffsets:a,escaped:no(a)}}}default:return{}}}}};async function ga(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ue(n),c=Le(n),l=ge(n)==="y",d=["left","top"].includes(a)?-1:1,f=i&&l?-1:1,s=de(t,e);let{mainAxis:p,crossAxis:u,alignmentAxis:v}=typeof s=="number"?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...s};return c&&typeof v=="number"&&(u=c==="end"?v*-1:v),l?{x:u*f,y:p*d}:{x:p*d,y:u*f}}const wa=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:c}=t,l=await ga(t,e);return a===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},_a=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:g=>{let{x:w,y:_}=g;return{x:w,y:_}}},...l}=de(e,t),d={x:n,y:r},f=await tt(t,l),s=ge(ue(o)),p=pn(s);let u=d[p],v=d[s];if(i){const g=p==="y"?"top":"left",w=p==="y"?"bottom":"right",_=u+f[g],b=u-f[w];u=fn(_,u,b)}if(a){const g=s==="y"?"top":"left",w=s==="y"?"bottom":"right",_=v+f[g],b=v-f[w];v=fn(_,v,b)}const h=c.fn({...t,[p]:u,[s]:v});return{...h,data:{x:h.x-n,y:h.y-r}}}}},ma=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:c=0,mainAxis:l=!0,crossAxis:d=!0}=de(e,t),f={x:n,y:r},s=ge(o),p=pn(s);let u=f[p],v=f[s];const h=de(c,t),g=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const b=p==="y"?"height":"width",m=i.reference[p]-i.floating[b]+g.mainAxis,y=i.reference[p]+i.reference[b]-g.mainAxis;u<m?u=m:u>y&&(u=y)}if(d){var w,_;const b=p==="y"?"width":"height",m=["top","left"].includes(ue(o)),y=i.reference[s]-i.floating[b]+(m&&((w=a.offset)==null?void 0:w[s])||0)+(m?0:g.crossAxis),S=i.reference[s]+i.reference[b]+(m?0:((_=a.offset)==null?void 0:_[s])||0)-(m?g.crossAxis:0);v<y?v=y:v>S&&(v=S)}return{[p]:u,[s]:v}}}},ba=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...c}=de(e,t),l=await tt(t,c),d=ue(n),f=Le(n),s=ge(n)==="y",{width:p,height:u}=r.floating;let v,h;d==="top"||d==="bottom"?(v=d,h=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=d,v=f==="end"?"top":"bottom");const g=u-l.top-l.bottom,w=p-l.left-l.right,_=ne(u-l[v],g),b=ne(p-l[h],w),m=!t.middlewareData.shift;let y=_,S=b;if(s?S=f||m?ne(b,w):w:y=f||m?ne(_,g):g,m&&!f){const $=q(l.left,0),R=q(l.right,0),L=q(l.top,0),z=q(l.bottom,0);s?S=p-2*($!==0||R!==0?$+R:q(l.left,l.right)):y=u-2*(L!==0||z!==0?L+z:q(l.top,l.bottom))}await a({...t,availableWidth:S,availableHeight:y});const A=await o.getDimensions(i.floating);return p!==A.width||u!==A.height?{reset:{rects:!0}}:{}}}};function Fe(e){return ro(e)?(e.nodeName||"").toLowerCase():"#document"}function G(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function fe(e){var t;return(t=(ro(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ro(e){return e instanceof Node||e instanceof G(e).Node}function J(e){return e instanceof Element||e instanceof G(e).Element}function re(e){return e instanceof HTMLElement||e instanceof G(e).HTMLElement}function oo(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof G(e).ShadowRoot}function nt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ya(e){return["table","td","th"].includes(Fe(e))}function gt(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function wn(e){const t=_n(),n=J(e)?ee(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function xa(e){let t=we(e);for(;re(t)&&!Me(t);){if(wn(t))return t;if(gt(t))return null;t=we(t)}return null}function _n(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Me(e){return["html","body","#document"].includes(Fe(e))}function ee(e){return G(e).getComputedStyle(e)}function wt(e){return J(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function we(e){if(Fe(e)==="html")return e;const t=e.assignedSlot||e.parentNode||oo(e)&&e.host||fe(e);return oo(t)?t.host:t}function io(e){const t=we(e);return Me(t)?e.ownerDocument?e.ownerDocument.body:e.body:re(t)&&nt(t)?t:io(t)}function rt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=io(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=G(o);if(i){const c=mn(a);return t.concat(a,a.visualViewport||[],nt(o)?o:[],c&&n?rt(c):[])}return t.concat(o,rt(o,[],n))}function mn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ao(e){const t=ee(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=re(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,c=ft(n)!==i||ft(r)!==a;return c&&(n=i,r=a),{width:n,height:r,$:c}}function bn(e){return J(e)?e:e.contextElement}function Ie(e){const t=bn(e);if(!re(t))return ve(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ao(t);let a=(i?ft(n.width):n.width)/r,c=(i?ft(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const ka=ve(0);function co(e){const t=G(e);return!_n()||!t.visualViewport?ka:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $a(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==G(e)?!1:t}function Ce(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=bn(e);let a=ve(1);t&&(r?J(r)&&(a=Ie(r)):a=Ie(e));const c=$a(i,n,r)?co(i):ve(0);let l=(o.left+c.x)/a.x,d=(o.top+c.y)/a.y,f=o.width/a.x,s=o.height/a.y;if(i){const p=G(i),u=r&&J(r)?G(r):r;let v=p,h=mn(v);for(;h&&r&&u!==v;){const g=Ie(h),w=h.getBoundingClientRect(),_=ee(h),b=w.left+(h.clientLeft+parseFloat(_.paddingLeft))*g.x,m=w.top+(h.clientTop+parseFloat(_.paddingTop))*g.y;l*=g.x,d*=g.y,f*=g.x,s*=g.y,l+=b,d+=m,v=G(h),h=mn(v)}}return vt({width:f,height:s,x:l,y:d})}function Ca(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=fe(r),c=t?gt(t.floating):!1;if(r===a||c&&i)return n;let l={scrollLeft:0,scrollTop:0},d=ve(1);const f=ve(0),s=re(r);if((s||!s&&!i)&&((Fe(r)!=="body"||nt(a))&&(l=wt(r)),re(r))){const p=Ce(r);d=Ie(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-l.scrollLeft*d.x+f.x,y:n.y*d.y-l.scrollTop*d.y+f.y}}function Ea(e){return Array.from(e.getClientRects())}function so(e){return Ce(fe(e)).left+wt(e).scrollLeft}function Sa(e){const t=fe(e),n=wt(e),r=e.ownerDocument.body,o=q(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=q(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+so(e);const c=-n.scrollTop;return ee(r).direction==="rtl"&&(a+=q(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:c}}function Pa(e,t){const n=G(e),r=fe(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,l=0;if(o){i=o.width,a=o.height;const d=_n();(!d||d&&t==="fixed")&&(c=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:c,y:l}}function Aa(e,t){const n=Ce(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=re(e)?Ie(e):ve(1),a=e.clientWidth*i.x,c=e.clientHeight*i.y,l=o*i.x,d=r*i.y;return{width:a,height:c,x:l,y:d}}function lo(e,t,n){let r;if(t==="viewport")r=Pa(e,n);else if(t==="document")r=Sa(fe(e));else if(J(t))r=Aa(t,n);else{const o=co(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return vt(r)}function uo(e,t){const n=we(e);return n===t||!J(n)||Me(n)?!1:ee(n).position==="fixed"||uo(n,t)}function Oa(e,t){const n=t.get(e);if(n)return n;let r=rt(e,[],!1).filter(c=>J(c)&&Fe(c)!=="body"),o=null;const i=ee(e).position==="fixed";let a=i?we(e):e;for(;J(a)&&!Me(a);){const c=ee(a),l=wn(a);!l&&c.position==="fixed"&&(o=null),(i?!l&&!o:!l&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||nt(a)&&!l&&uo(e,a))?r=r.filter(f=>f!==a):o=c,a=we(a)}return t.set(e,r),r}function Ta(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?gt(t)?[]:Oa(t,this._c):[].concat(n),r],c=a[0],l=a.reduce((d,f)=>{const s=lo(t,f,o);return d.top=q(s.top,d.top),d.right=ne(s.right,d.right),d.bottom=ne(s.bottom,d.bottom),d.left=q(s.left,d.left),d},lo(t,c,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Da(e){const{width:t,height:n}=ao(e);return{width:t,height:n}}function Ra(e,t,n){const r=re(t),o=fe(t),i=n==="fixed",a=Ce(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const l=ve(0);if(r||!r&&!i)if((Fe(t)!=="body"||nt(o))&&(c=wt(t)),r){const s=Ce(t,!0,i,t);l.x=s.x+t.clientLeft,l.y=s.y+t.clientTop}else o&&(l.x=so(o));const d=a.left+c.scrollLeft-l.x,f=a.top+c.scrollTop-l.y;return{x:d,y:f,width:a.width,height:a.height}}function yn(e){return ee(e).position==="static"}function fo(e,t){return!re(e)||ee(e).position==="fixed"?null:t?t(e):e.offsetParent}function po(e,t){const n=G(e);if(gt(e))return n;if(!re(e)){let o=we(e);for(;o&&!Me(o);){if(J(o)&&!yn(o))return o;o=we(o)}return n}let r=fo(e,t);for(;r&&ya(r)&&yn(r);)r=fo(r,t);return r&&Me(r)&&yn(r)&&!wn(r)?n:r||xa(e)||n}const Na=async function(e){const t=this.getOffsetParent||po,n=this.getDimensions,r=await n(e.floating);return{reference:Ra(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function La(e){return ee(e).direction==="rtl"}const Fa={convertOffsetParentRelativeRectToViewportRelativeRect:Ca,getDocumentElement:fe,getClippingRect:Ta,getOffsetParent:po,getElementRects:Na,getClientRects:Ea,getDimensions:Da,getScale:Ie,isElement:J,isRTL:La};function Ma(e,t){let n=null,r;const o=fe(e);function i(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function a(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),i();const{left:d,top:f,width:s,height:p}=e.getBoundingClientRect();if(c||t(),!s||!p)return;const u=pt(f),v=pt(o.clientWidth-(d+s)),h=pt(o.clientHeight-(f+p)),g=pt(d),_={rootMargin:-u+"px "+-v+"px "+-h+"px "+-g+"px",threshold:q(0,ne(1,l))||1};let b=!0;function m(y){const S=y[0].intersectionRatio;if(S!==l){if(!b)return a();S?a(!1,S):r=setTimeout(()=>{a(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(m,{..._,root:o.ownerDocument})}catch{n=new IntersectionObserver(m,_)}n.observe(e)}return a(!0),i}function Ia(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,d=bn(e),f=o||i?[...d?rt(d):[],...rt(t)]:[];f.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),i&&w.addEventListener("resize",n)});const s=d&&c?Ma(d,n):null;let p=-1,u=null;a&&(u=new ResizeObserver(w=>{let[_]=w;_&&_.target===d&&u&&(u.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var b;(b=u)==null||b.observe(t)})),n()}),d&&!l&&u.observe(d),u.observe(t));let v,h=l?Ce(e):null;l&&g();function g(){const w=Ce(e);h&&(w.x!==h.x||w.y!==h.y||w.width!==h.width||w.height!==h.height)&&n(),h=w,v=requestAnimationFrame(g)}return n(),()=>{var w;f.forEach(_=>{o&&_.removeEventListener("scroll",n),i&&_.removeEventListener("resize",n)}),s==null||s(),(w=u)==null||w.disconnect(),u=null,l&&cancelAnimationFrame(v)}}const Wa=wa,za=_a,Ha=ha,Ua=ba,ja=va,ho=pa,Ba=ma,Va=(e,t,n)=>{const r=new Map,o={platform:Fa,...n},i={...o.platform,_c:r};return fa(e,t,{...o,platform:i})};var _t=typeof document<"u"?ce:I;function mt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!mt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!mt(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function vo(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function go(e,t){const n=vo(e);return Math.round(t*n)/n}function wo(e){const t=D(e);return _t(()=>{t.current=e}),t}function Ya(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:c=!0,whileElementsMounted:l,open:d}=e,[f,s]=N({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,u]=N(r);mt(p,r)||u(r);const[v,h]=N(null),[g,w]=N(null),_=B(C=>{C!==S.current&&(S.current=C,h(C))},[]),b=B(C=>{C!==A.current&&(A.current=C,w(C))},[]),m=i||v,y=a||g,S=D(null),A=D(null),$=D(f),R=l!=null,L=wo(l),z=wo(o),T=B(()=>{if(!S.current||!A.current)return;const C={placement:t,strategy:n,middleware:p};z.current&&(C.platform=z.current),Va(S.current,A.current,C).then(V=>{const U={...V,isPositioned:!0};W.current&&!mt($.current,U)&&($.current=U,et(()=>{s(U)}))})},[p,t,n,z]);_t(()=>{d===!1&&$.current.isPositioned&&($.current.isPositioned=!1,s(C=>({...C,isPositioned:!1})))},[d]);const W=D(!1);_t(()=>(W.current=!0,()=>{W.current=!1}),[]),_t(()=>{if(m&&(S.current=m),y&&(A.current=y),m&&y){if(L.current)return L.current(m,y,T);T()}},[m,y,T,L,R]);const O=X(()=>({reference:S,floating:A,setReference:_,setFloating:b}),[_,b]),M=X(()=>({reference:m,floating:y}),[m,y]),P=X(()=>{const C={position:n,left:0,top:0};if(!M.floating)return C;const V=go(M.floating,f.x),U=go(M.floating,f.y);return c?{...C,transform:"translate("+V+"px, "+U+"px)",...vo(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:U}},[n,c,M.floating,f.x,f.y]);return X(()=>({...f,update:T,refs:O,elements:M,floatingStyles:P}),[f,T,O,M,P])}const Ka=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?ho({element:r.current,padding:o}).fn(n):{}:r?ho({element:r,padding:o}).fn(n):{}}}},Xa=(e,t)=>({...Wa(e),options:[e,t]}),Za=(e,t)=>({...za(e),options:[e,t]}),qa=(e,t)=>({...Ba(e),options:[e,t]}),Ga=(e,t)=>({...Ha(e),options:[e,t]}),Qa=(e,t)=>({...Ua(e),options:[e,t]}),Ja=(e,t)=>({...ja(e),options:[e,t]}),ec=(e,t)=>({...Ka(e),options:[e,t]});function tc(e){const[t,n]=N(void 0);return Ne(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,c;if("borderBoxSize"in i){const l=i.borderBoxSize,d=Array.isArray(l)?l[0]:l;a=d.inlineSize,c=d.blockSize}else a=e.offsetWidth,c=e.offsetHeight;n({width:a,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const _o="Popper",[mo,bo]=jr(_o),[nc,yo]=mo(_o),rc=e=>{const{__scopePopper:t,children:n}=e,[r,o]=N(null);return x(nc,{scope:t,anchor:r,onAnchorChange:o},n)},oc="PopperAnchor",ic=K((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=yo(oc,n),a=D(null),c=$e(t,a);return I(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:x(Re.div,Y({},o,{ref:c}))}),xo="PopperContent",[ac,cl]=mo(xo),cc=K((e,t)=>{var n,r,o,i,a,c,l,d;const{__scopePopper:f,side:s="bottom",sideOffset:p=0,align:u="center",alignOffset:v=0,arrowPadding:h=0,avoidCollisions:g=!0,collisionBoundary:w=[],collisionPadding:_=0,sticky:b="partial",hideWhenDetached:m=!1,updatePositionStrategy:y="optimized",onPlaced:S,...A}=e,$=yo(xo,f),[R,L]=N(null),z=$e(t,it=>L(it)),[T,W]=N(null),O=tc(T),M=(n=O==null?void 0:O.width)!==null&&n!==void 0?n:0,P=(r=O==null?void 0:O.height)!==null&&r!==void 0?r:0,C=s+(u!=="center"?"-"+u:""),V=typeof _=="number"?_:{top:0,right:0,bottom:0,left:0,..._},U=Array.isArray(w)?w:[w],Z=U.length>0,me={padding:V,boundary:U.filter(sc),altBoundary:Z},{refs:Be,floatingStyles:qo,placement:Zs,isPositioned:Rt,middlewareData:Ve}=Ya({strategy:"fixed",placement:C,whileElementsMounted:(...it)=>Ia(...it,{animationFrame:y==="always"}),elements:{reference:$.anchor},middleware:[Xa({mainAxis:p+P,alignmentAxis:v}),g&&Za({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?qa():void 0,...me}),g&&Ga({...me}),Qa({...me,apply:({elements:it,rects:Qo,availableWidth:nl,availableHeight:rl})=>{const{width:ol,height:il}=Qo.reference,Lt=it.floating.style;Lt.setProperty("--radix-popper-available-width",`${nl}px`),Lt.setProperty("--radix-popper-available-height",`${rl}px`),Lt.setProperty("--radix-popper-anchor-width",`${ol}px`),Lt.setProperty("--radix-popper-anchor-height",`${il}px`)}}),T&&ec({element:T,padding:h}),lc({arrowWidth:M,arrowHeight:P}),m&&Ja({strategy:"referenceHidden",...me})]}),[Go,qs]=ko(Zs),Nt=pe(S);Ne(()=>{Rt&&(Nt==null||Nt())},[Rt,Nt]);const Gs=(o=Ve.arrow)===null||o===void 0?void 0:o.x,Qs=(i=Ve.arrow)===null||i===void 0?void 0:i.y,Js=((a=Ve.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[el,tl]=N();return Ne(()=>{R&&tl(window.getComputedStyle(R).zIndex)},[R]),x("div",{ref:Be.setFloating,"data-radix-popper-content-wrapper":"",style:{...qo,transform:Rt?qo.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:el,"--radix-popper-transform-origin":[(c=Ve.transformOrigin)===null||c===void 0?void 0:c.x,(l=Ve.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},x(ac,{scope:f,placedSide:Go,onArrowChange:W,arrowX:Gs,arrowY:Qs,shouldHideArrow:Js},x(Re.div,Y({"data-side":Go,"data-align":qs},A,{ref:z,style:{...A.style,animation:Rt?void 0:"none",opacity:(d=Ve.hide)!==null&&d!==void 0&&d.referenceHidden?0:void 0}}))))});function sc(e){return e!==null}const lc=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:c,rects:l,middlewareData:d}=t,s=((n=d.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=s?0:e.arrowWidth,u=s?0:e.arrowHeight,[v,h]=ko(c),g={start:"0%",center:"50%",end:"100%"}[h],w=((r=(o=d.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,_=((i=(a=d.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+u/2;let b="",m="";return v==="bottom"?(b=s?g:`${w}px`,m=`${-u}px`):v==="top"?(b=s?g:`${w}px`,m=`${l.floating.height+u}px`):v==="right"?(b=`${-u}px`,m=s?g:`${_}px`):v==="left"&&(b=`${l.floating.width+u}px`,m=s?g:`${_}px`),{data:{x:b,y:m}}}});function ko(e){const[t,n="center"]=e.split("-");return[t,n]}const dc=rc,uc=ic,fc=cc,pc=K((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Hr.createPortal(x(Re.div,Y({},o,{ref:t})),r):null});function hc(e,t){return Ge((n,r)=>{const o=t[n][r];return o??n},e)}const xn=e=>{const{present:t,children:n}=e,r=vc(t),o=typeof n=="function"?n({present:r.isPresent}):se.only(n),i=$e(r.ref,o.ref);return typeof n=="function"||r.isPresent?De(o,{ref:i}):null};xn.displayName="Presence";function vc(e){const[t,n]=N(),r=D({}),o=D(e),i=D("none"),a=e?"mounted":"unmounted",[c,l]=hc(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return I(()=>{const d=bt(r.current);i.current=c==="mounted"?d:"none"},[c]),Ne(()=>{const d=r.current,f=o.current;if(f!==e){const p=i.current,u=bt(d);e?l("MOUNT"):u==="none"||(d==null?void 0:d.display)==="none"?l("UNMOUNT"):l(f&&p!==u?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ne(()=>{if(t){const d=s=>{const u=bt(r.current).includes(s.animationName);s.target===t&&u&&et(()=>l("ANIMATION_END"))},f=s=>{s.target===t&&(i.current=bt(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:B(d=>{d&&(r.current=getComputedStyle(d)),n(d)},[])}}function bt(e){return(e==null?void 0:e.animationName)||"none"}function gc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=wc({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,c=pe(n),l=B(d=>{if(i){const s=typeof d=="function"?d(e):d;s!==e&&c(s)}else o(d)},[i,e,o,c]);return[a,l]}function wc({defaultProp:e,onChange:t}){const n=N(e),[r]=n,o=D(r),i=pe(t);return I(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var _c=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},We=new WeakMap,yt=new WeakMap,xt={},kn=0,$o=function(e){return e&&(e.host||$o(e.parentNode))},mc=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=$o(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},bc=function(e,t,n,r){var o=mc(t,Array.isArray(e)?e:[e]);xt[n]||(xt[n]=new WeakMap);var i=xt[n],a=[],c=new Set,l=new Set(o),d=function(s){!s||c.has(s)||(c.add(s),d(s.parentNode))};o.forEach(d);var f=function(s){!s||l.has(s)||Array.prototype.forEach.call(s.children,function(p){if(c.has(p))f(p);else try{var u=p.getAttribute(r),v=u!==null&&u!=="false",h=(We.get(p)||0)+1,g=(i.get(p)||0)+1;We.set(p,h),i.set(p,g),a.push(p),h===1&&v&&yt.set(p,!0),g===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",p,w)}})};return f(t),c.clear(),kn++,function(){a.forEach(function(s){var p=We.get(s)-1,u=i.get(s)-1;We.set(s,p),i.set(s,u),p||(yt.has(s)||s.removeAttribute(r),yt.delete(s)),u||s.removeAttribute(n)}),kn--,kn||(We=new WeakMap,We=new WeakMap,yt=new WeakMap,xt={})}},yc=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||_c(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),bc(r,o,n,"aria-hidden")):function(){return null}},_e=function(){return _e=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},_e.apply(this,arguments)};function xc(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function kc(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var kt="right-scroll-bar-position",$t="width-before-scroll-bar",$c="with-scroll-bars-hidden",Cc="--removed-body-scroll-bar-size";function $n(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ec(e,t){var n=N(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Sc=typeof window<"u"?ce:I,Co=new WeakMap;function Pc(e,t){var n=Ec(t||null,function(r){return e.forEach(function(o){return $n(o,r)})});return Sc(function(){var r=Co.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(c){i.has(c)||$n(c,null)}),i.forEach(function(c){o.has(c)||$n(c,a)})}Co.set(n,e)},[e]),n}var Ct=function(){return Ct=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Ct.apply(this,arguments)};function Ac(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}typeof SuppressedError=="function"&&SuppressedError;function Oc(e){return e}function Tc(e,t){t===void 0&&(t=Oc);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(c){return c!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(c){return i(c)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var c=n;n=[],c.forEach(i),a=n}var l=function(){var f=a;a=[],f.forEach(i)},d=function(){return Promise.resolve().then(l)};d(),n={push:function(f){a.push(f),d()},filter:function(f){return a=a.filter(f),n}}}};return o}function Dc(e){e===void 0&&(e={});var t=Tc(null);return t.options=Ct({async:!0,ssr:!1},e),t}var Eo=function(e){var t=e.sideCar,n=Ac(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return x(r,Ct({},n))};Eo.isSideCarExport=!0;function Rc(e,t){return e.useMedium(t),Eo}var So=Dc(),Cn=function(){},Et=K(function(e,t){var n=D(null),r=N({onScrollCapture:Cn,onWheelCapture:Cn,onTouchMoveCapture:Cn}),o=r[0],i=r[1],a=e.forwardProps,c=e.children,l=e.className,d=e.removeScrollBar,f=e.enabled,s=e.shards,p=e.sideCar,u=e.noIsolation,v=e.inert,h=e.allowPinchZoom,g=e.as,w=g===void 0?"div":g,_=xc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=p,m=Pc([n,t]),y=_e(_e({},_),o);return x(j,null,f&&x(b,{sideCar:So,removeScrollBar:d,shards:s,noIsolation:u,inert:v,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?De(se.only(c),_e(_e({},y),{ref:m})):x(w,_e({},y,{className:l,ref:m}),c))});Et.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Et.classNames={fullWidth:$t,zeroRight:kt};var Po,Nc=function(){if(Po)return Po;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Lc(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Nc();return t&&e.setAttribute("nonce",t),e}function Fc(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Mc(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ic=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Lc())&&(Fc(t,n),Mc(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Wc=function(){var e=Ic();return function(t,n){I(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ao=function(){var e=Wc(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},zc={left:0,top:0,right:0,gap:0},En=function(e){return parseInt(e||"",10)||0},Hc=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[En(n),En(r),En(o)]},Uc=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return zc;var t=Hc(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},jc=Ao(),ze="data-scroll-locked",Bc=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,c=e.gap;return n===void 0&&(n="margin"),`
|
|
2
|
-
.`.concat($c,` {
|
|
3
|
-
overflow: hidden `).concat(r,`;
|
|
4
|
-
padding-right: `).concat(c,"px ").concat(r,`;
|
|
5
|
-
}
|
|
6
|
-
body[`).concat(ze,`] {
|
|
7
|
-
overflow: hidden `).concat(r,`;
|
|
8
|
-
overscroll-behavior: contain;
|
|
9
|
-
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
10
|
-
padding-left: `.concat(o,`px;
|
|
11
|
-
padding-top: `).concat(i,`px;
|
|
12
|
-
padding-right: `).concat(a,`px;
|
|
13
|
-
margin-left:0;
|
|
14
|
-
margin-top:0;
|
|
15
|
-
margin-right: `).concat(c,"px ").concat(r,`;
|
|
16
|
-
`),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.`).concat(kt,` {
|
|
20
|
-
right: `).concat(c,"px ").concat(r,`;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.`).concat($t,` {
|
|
24
|
-
margin-right: `).concat(c,"px ").concat(r,`;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.`).concat(kt," .").concat(kt,` {
|
|
28
|
-
right: 0 `).concat(r,`;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.`).concat($t," .").concat($t,` {
|
|
32
|
-
margin-right: 0 `).concat(r,`;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
body[`).concat(ze,`] {
|
|
36
|
-
`).concat(Cc,": ").concat(c,`px;
|
|
37
|
-
}
|
|
38
|
-
`)},Oo=function(){var e=parseInt(document.body.getAttribute(ze)||"0",10);return isFinite(e)?e:0},Vc=function(){I(function(){return document.body.setAttribute(ze,(Oo()+1).toString()),function(){var e=Oo()-1;e<=0?document.body.removeAttribute(ze):document.body.setAttribute(ze,e.toString())}},[])},Yc=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Vc();var i=X(function(){return Uc(o)},[o]);return x(jc,{styles:Bc(i,!t,o,n?"":"!important")})},Sn=!1;if(typeof window<"u")try{var St=Object.defineProperty({},"passive",{get:function(){return Sn=!0,!0}});window.addEventListener("test",St,St),window.removeEventListener("test",St,St)}catch{Sn=!1}var He=Sn?{passive:!1}:!1,Kc=function(e){return e.tagName==="TEXTAREA"},To=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Kc(e)&&n[t]==="visible")},Xc=function(e){return To(e,"overflowY")},Zc=function(e){return To(e,"overflowX")},Do=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Ro(e,n);if(r){var o=No(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},qc=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Gc=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Ro=function(e,t){return e==="v"?Xc(t):Zc(t)},No=function(e,t){return e==="v"?qc(t):Gc(t)},Qc=function(e,t){return e==="h"&&t==="rtl"?-1:1},Jc=function(e,t,n,r,o){var i=Qc(e,window.getComputedStyle(t).direction),a=i*r,c=n.target,l=t.contains(c),d=!1,f=a>0,s=0,p=0;do{var u=No(e,c),v=u[0],h=u[1],g=u[2],w=h-g-i*v;(v||w)&&Ro(e,c)&&(s+=w,p+=v),c=c.parentNode}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return(f&&(o&&s===0||!o&&a>s)||!f&&(o&&p===0||!o&&-a>p))&&(d=!0),d},Pt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Lo=function(e){return[e.deltaX,e.deltaY]},Fo=function(e){return e&&"current"in e?e.current:e},es=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ts=function(e){return`
|
|
39
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
-
`)},ns=0,Ue=[];function rs(e){var t=D([]),n=D([0,0]),r=D(),o=N(ns++)[0],i=N(function(){return Ao()})[0],a=D(e);I(function(){a.current=e},[e]),I(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=kc([e.lockRef.current],(e.shards||[]).map(Fo),!0).filter(Boolean);return h.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=B(function(h,g){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var w=Pt(h),_=n.current,b="deltaX"in h?h.deltaX:_[0]-w[0],m="deltaY"in h?h.deltaY:_[1]-w[1],y,S=h.target,A=Math.abs(b)>Math.abs(m)?"h":"v";if("touches"in h&&A==="h"&&S.type==="range")return!1;var $=Do(A,S);if(!$)return!0;if($?y=A:(y=A==="v"?"h":"v",$=Do(A,S)),!$)return!1;if(!r.current&&"changedTouches"in h&&(b||m)&&(r.current=y),!y)return!0;var R=r.current||y;return Jc(R,g,h,R==="h"?b:m,!0)},[]),l=B(function(h){var g=h;if(!(!Ue.length||Ue[Ue.length-1]!==i)){var w="deltaY"in g?Lo(g):Pt(g),_=t.current.filter(function(y){return y.name===g.type&&y.target===g.target&&es(y.delta,w)})[0];if(_&&_.should){g.cancelable&&g.preventDefault();return}if(!_){var b=(a.current.shards||[]).map(Fo).filter(Boolean).filter(function(y){return y.contains(g.target)}),m=b.length>0?c(g,b[0]):!a.current.noIsolation;m&&g.cancelable&&g.preventDefault()}}},[]),d=B(function(h,g,w,_){var b={name:h,delta:g,target:w,should:_};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(m){return m!==b})},1)},[]),f=B(function(h){n.current=Pt(h),r.current=void 0},[]),s=B(function(h){d(h.type,Lo(h),h.target,c(h,e.lockRef.current))},[]),p=B(function(h){d(h.type,Pt(h),h.target,c(h,e.lockRef.current))},[]);I(function(){return Ue.push(i),e.setCallbacks({onScrollCapture:s,onWheelCapture:s,onTouchMoveCapture:p}),document.addEventListener("wheel",l,He),document.addEventListener("touchmove",l,He),document.addEventListener("touchstart",f,He),function(){Ue=Ue.filter(function(h){return h!==i}),document.removeEventListener("wheel",l,He),document.removeEventListener("touchmove",l,He),document.removeEventListener("touchstart",f,He)}},[]);var u=e.removeScrollBar,v=e.inert;return x(j,null,v?x(i,{styles:ts(o)}):null,u?x(Yc,{gapMode:"margin"}):null)}const os=Rc(So,rs);var Mo=K(function(e,t){return x(Et,_e({},e,{ref:t,sideCar:os}))});Mo.classNames=Et.classNames;const is=Mo,Io="Popover",[Wo,sl]=jr(Io,[bo]),Pn=bo(),[as,je]=Wo(Io),cs=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,c=Pn(t),l=D(null),[d,f]=N(!1),[s=!1,p]=gc({prop:r,defaultProp:o,onChange:i});return x(dc,c,x(as,{scope:t,contentId:ra(),triggerRef:l,open:s,onOpenChange:p,onOpenToggle:B(()=>p(u=>!u),[p]),hasCustomAnchor:d,onCustomAnchorAdd:B(()=>f(!0),[]),onCustomAnchorRemove:B(()=>f(!1),[]),modal:a},n))},ss="PopoverTrigger",ls=K((e,t)=>{const{__scopePopover:n,...r}=e,o=je(ss,n),i=Pn(n),a=$e(t,o.triggerRef),c=x(Re.button,Y({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Uo(o.open)},r,{ref:a,onClick:ke(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?c:x(uc,Y({asChild:!0},i),c)}),zo="PopoverPortal",[ds,us]=Wo(zo,{forceMount:void 0}),fs=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=je(zo,t);return x(ds,{scope:t,forceMount:n},x(xn,{present:n||i.open},x(pc,{asChild:!0,container:o},r)))},ot="PopoverContent",ps=K((e,t)=>{const n=us(ot,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=je(ot,e.__scopePopover);return x(xn,{present:r||i.open},i.modal?x(hs,Y({},o,{ref:t})):x(vs,Y({},o,{ref:t})))}),hs=K((e,t)=>{const n=je(ot,e.__scopePopover),r=D(null),o=$e(t,r),i=D(!1);return I(()=>{const a=r.current;if(a)return yc(a)},[]),x(is,{as:an,allowPinchZoom:!0},x(Ho,Y({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ke(e.onCloseAutoFocus,a=>{var c;a.preventDefault(),i.current||(c=n.triggerRef.current)===null||c===void 0||c.focus()}),onPointerDownOutside:ke(e.onPointerDownOutside,a=>{const c=a.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0,d=c.button===2||l;i.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:ke(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),vs=K((e,t)=>{const n=je(ot,e.__scopePopover),r=D(!1),o=D(!1);return x(Ho,Y({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var c;r.current||(c=n.triggerRef.current)===null||c===void 0||c.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,c;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=i.target;((c=n.triggerRef.current)===null||c===void 0?void 0:c.contains(l))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),Ho=K((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:f,...s}=e,p=je(ot,n),u=Pn(n);return Ki(),x(Xi,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},x(Bi,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>p.onOpenChange(!1)},x(fc,Y({"data-state":Uo(p.open),role:"dialog",id:p.contentId},u,s,{ref:t,style:{...s.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function Uo(e){return e?"open":"closed"}const gs=cs,ws=ls,_s=fs,ms=ps;function jo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=jo(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function bs(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=jo(e))&&(r&&(r+=" "),r+=t);return r}function Bo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Bo(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function An(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Bo(e))&&(r&&(r+=" "),r+=t);return r}const Vo=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,ys=e=>{const t=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c,l;return typeof(e==null||(c=e.hooks)===null||c===void 0?void 0:c["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](An(i)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(An(i)):An(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return c=>{const l=Object.fromEntries(Object.entries(c||{}).filter(d=>{let[f]=d;return!["class","className"].includes(f)}));return t(i.map(d=>d(l)),c==null?void 0:c.class,c==null?void 0:c.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return t(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:c,defaultVariants:l}=o,d=Object.keys(c).map(p=>{const u=i==null?void 0:i[p],v=l==null?void 0:l[p],h=Vo(u)||Vo(v);return c[p][h]}),f={...l,...i&&Object.entries(i).reduce((p,u)=>{let[v,h]=u;return typeof h>"u"?p:{...p,[v]:h}},{})},s=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,u)=>{let{class:v,className:h,...g}=u;return Object.entries(g).every(w=>{let[_,b]=w;const m=f[_];return Array.isArray(b)?b.includes(m):m===b})?[...p,v,h]:p},[]);return t(o==null?void 0:o.base,d,s,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},{compose:ll,cva:xs,cx:dl}=ys(),At="inploi-feedback";var ks=["other","few","many","two","one","zero"],Yo=({terms:e,overrides:t,locale:n})=>{const r=new Intl.PluralRules(n);function o(i,a){const c=(t==null?void 0:t[i])??e[i];switch(typeof c){case"string":return c.replace(/{{(\w+)}}/g,(l,d)=>{var f;return((f=a==null?void 0:a[d])==null?void 0:f.toString())??""});case"object":{if(typeof(a==null?void 0:a.count)!="number")throw new Error(`Missing count for translation key “${i.toString()}”`);let l=r.select(a.count);if(!(l in c)){const d=ks.find(f=>f in c);if(!d)throw new Error(`Missing plural rule for translation key “${i.toString()}”`);l=d}return c[l].replace(/{{(\w+)}}/g,(d,f)=>{var s;return((s=a==null?void 0:a[f])==null?void 0:s.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${i.toString()}”.`)}}return o},Ko=Pe(null),$s=e=>({TranslationProvider:({terms:t,children:n,locale:r})=>{const o=X(()=>Yo({locale:r,terms:e,overrides:t}),[t,r]);return E(Ko.Provider,{value:{t:o,locale:r},children:n})},useTranslation:()=>{const t=Oe(Ko);if(t===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:t.t,locale:t.locale}},createTFunction:({overrides:t,locale:n})=>Yo({terms:e,overrides:t,locale:n})});const{TranslationProvider:Cs,createTFunction:ul,useTranslation:Xo}=$s({a11y_label:"How was your experience?",positive_heading:"Thanks!",negative_heading:"We’re sorry to hear that",positive_text:"Would you like to tell us more about your experience?",negative_text:"Would you like to tell us more about your experience?",submit:"Send feedback",submitting:"Sending feedback...",skip:"No, thanks",submitted_heading:"Thank you!",submitted_text:"Your feedback has been sent and will be used to improve our products."});var Es=["1","2","3","4","5","6","7","8","9","10","11","12"],Ss={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},Ps=(e,t=1,n)=>r=>{const[o,i]=Ss[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},Ot=e=>{const t=Ps(e.hue,e.chroma,e.mode);return Object.fromEntries(Es.map(n=>[e.prefix+n,e.transform(t(n))]))},Tt=e=>e,As=e=>{const t=Object.keys(e).flatMap(n=>{const r=e[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(t)},Dt=e=>!!e&&typeof e=="object"&&!Array.isArray(e),On=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Dt(e)&&Dt(n))for(const r in n){const o=n[r];if(Dt(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Dt(i)&&On(i,o)}else Object.assign(e,{[r]:n[r]})}return On(e,...t)},Os=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Ts=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),c=e({theme:o}),l=t({theme:o,core:a,raw:{core:c}}),d=n({theme:o,core:a,semantic:a,raw:{core:c,semantic:l}}),f=As(On(c,l,d)),s=([p,u],v)=>{const h=[v,p].filter(Boolean).join(".");return typeof u=="object"?Object.entries(u).flatMap(g=>s(g,h)):[[r.getToken("declaration",h),u]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>s(p))),ref:p=>i("reference",p.toString())}}})})})});const[Tn,Dn,Ds]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Rs=Ts().core(({theme:e})=>({color:{transparent:Ds,black:Tn,white:Dn,lowest:e.mode==="light"?Dn:Tn,highest:e.mode==="light"?Tn:Dn,...Ot({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:Tt}),...Ot({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:Tt}),...Ot({prefix:"p-",hue:e.positive.hue,chroma:e.positive.chroma,mode:e.mode,transform:Tt}),...Ot({prefix:"e-",hue:e.negative.hue,chroma:e.negative.chroma,mode:e.mode,transform:Tt})},radius:{base:e.corners==="rounded"?".25rem":e.corners==="soft"?".125rem":"0",multiplier:e.corners==="rounded"?"0.5rem":e.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:e})=>({radius:{sm:`calc(${e("radius.base")} + (0 * ${e("radius.multiplier")}))`,md:`calc(${e("radius.base")} + (1 * ${e("radius.multiplier")}))`,lg:`calc(${e("radius.base")} + (2 * ${e("radius.multiplier")}))`,xl:`calc(${e("radius.base")} + (3 * ${e("radius.multiplier")}))`}})).component(()=>({})),Ns=Os({prefix:"i-"}),Ls=e=>{const t=Rs.from({theme:e.theme,getToken:Ns}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`[data-widget="${At}"][data-key="${e.key}"] {
|
|
42
|
-
${n.concat(n).join(`
|
|
43
|
-
`)}
|
|
44
|
-
}`},Fs=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},Ms={happy:"M8 15a5 5 0 0 0 8 0",neutral:"M9 16h6",sad:"M8 16a6 5 0 0 1 8 0"},Rn=e=>E(j,{children:[E("circle",{cx:"12",cy:"12",r:"10"}),E("path",{d:Ms[e]}),E("path",{d:"M9 10h0m6 0h0",strokeWidth:"2"})]}),Is={warning:E("path",{fill:"currentColor",stroke:"none",d:"M12 20.4C16.63 20.4 20.4 16.64 20.4 12C20.4 7.36 16.64 3.6 12.0 3.6C7.36 3.6 3.6 7.36 3.6 12C3.6 16.64 7.36 20.4 12 20.4ZM10.8 12.6V7.8H13.2V12.6H10.8ZM10.8 16.8V14.4H13.2V16.8H10.8Z"}),x:E("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":E("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"}),happy:Rn("happy"),neutral:Rn("neutral"),sad:Rn("sad")},Ws=({theme:e})=>E("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:E("defs",{children:Object.entries(Is).map(([t,n])=>E("symbol",{id:`i-icon-${t}`,children:E("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),Nn=({name:e,...t})=>E("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:E("use",{href:`#i-icon-${e}`})}),zs=xs({base:"fr flex w-full text-neutral-11 items-center justify-center gap-2 overflow-hidden text-sm font-medium transition-all hover:z-10 focus:z-20 theme-stroke:ring-[1px] theme-stroke:mx-[0.5px] theme-stroke:ring-neutral-4 theme-stroke:focus:ring-neutral-7 theme-stroke:hover:z-10 theme-fill:hover:bg-neutral-3 theme-fill:active:bg-neutral-4 theme-fill:bg-neutral-2 first-of-type:rounded-l-lg last-of-type:rounded-r-lg duration-snappy ease-expo-out active:scale-[.97] group",variants:{colorScheme:{positive:"aria-[pressed=true]:text-positive-11 aria-[pressed=true]:theme-fill:bg-positive-3 aria-[pressed=true]:theme-stroke:ring-positive-4 aria-[pressed=true]:theme-stroke:bg-positive-2 theme-stroke:hover:ring-positive-9",negative:"aria-[pressed=true]:text-negative-11 aria-[pressed=true]:theme-fill:bg-negative-3 aria-[pressed=true]:theme-stroke:ring-negative-4 aria-[pressed=true]:theme-stroke:bg-negative-2 theme-stroke:hover:ring-negative-9"},size:{sm:"px-1.5 py-1",md:"px-3 py-1.5",lg:"px-5 py-2.5"}}});function Zo(){}const Hs=[{label:"Good",icon:E(Nn,{name:"happy"}),value:1,variant:"positive"},{label:"Bad",icon:E(Nn,{name:"sad"}),value:-1,variant:"negative"}],Us=e=>{if(!(e.key==="Enter"&&e.metaKey))return;const n=e.currentTarget.form;n&&n.requestSubmit()},js=()=>{const{t:e}=Xo();return e("a11y_label")},Bs=({analytics:e,params:t,logger:n})=>{const r=Fs(t.theme).join(" "),o=Qe(),[i,a]=N(0),[c,l]=N();return E(Cs,{locale:void 0,terms:t.terms,children:E("div",{role:"group","aria-labelledby":`${o}-label`,class:r,children:[E("span",{id:`${o}-label`,className:"sr-only",children:E(js,{})}),E("div",{class:"isolate flex",children:Hs.map(d=>E(gs,{open:c===d.value,onOpenChange:()=>{if(!c)return l(d.value);l(void 0)},children:[E(ws,{"aria-label":d.label,"aria-pressed":i===d.value,class:zs({colorScheme:d.variant,size:t.size}),onClick:f=>{const s=d.value===i?0:d.value;if(a(s),s===0){f.preventDefault(),l(void 0);return}e.log({event:"FEEDBACK",properties:{key:t.key,score:s}}).then(()=>{var p;(p=t.onRate)==null||p.call(t,s)}).catch(p=>{n.error(p),a(0)})},children:E("div",{class:"ease-expo-out duration-medium scale-75 transition-transform group-aria-[pressed=true]:scale-100",children:d.icon})}),E(_s,{container:t.host,children:E("div",{"data-widget":At,"data-key":t.key,children:E("div",{class:bs("absolute isolate z-50",r),children:E(ms,{collisionPadding:16,class:"data-[state=open]:animate-slideDownAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",sideOffset:5,children:E(Vs,{analytics:e,params:t,onClose:()=>l(0),score:i})})})})})]},d.value))})]})})},Vs=({params:e,onClose:t,score:n,analytics:r})=>{const{t:o}=Xo(),i=Qe(),[a,c]=N({state:"idle"});return a.state==="success"?E("div",{class:"text-balance flex flex-col gap-1 p-4 text-center",children:[E("p",{class:"text-neutral-12 text-pretty text-base font-semibold leading-tight tracking-tight",children:o("submitted_heading")}),E("p",{class:"text-neutral-11 text-pretty text-sm leading-tight",children:o("submitted_text")})]}):E("form",{class:"flex flex-col gap-2.5 p-2",onSubmit:l=>{l.preventDefault(),c({state:"submitting"});const f=new FormData(l.currentTarget).get("comment");if(typeof f!="string"||f.length<=5){c({state:"error",error:"Please type more characters in the comment box"});return}Promise.all([r.log({event:"FEEDBACK",properties:{key:e.key,comment:f}}),new Promise(s=>setTimeout(s,1e3))]).then(()=>{var s;(s=e.onLeaveComment)==null||s.call(e),c({state:"success"})}).catch(s=>{if(s instanceof Error){c({state:"error",error:s.message});return}c({state:"error",error:"An unknown error occurred"})})},children:[E("input",{type:"hidden",name:"key",value:e.key}),E("fieldset",{class:"flex flex-col gap-4",children:[E("label",{htmlFor:i,class:"flex flex-col gap-1",children:[E("p",{class:"text-neutral-12 text-pretty text-base font-semibold leading-tight tracking-tight",children:o(n===-1?"negative_heading":"positive_heading")}),E("p",{class:"text-neutral-11 text-pretty text-sm leading-tight",children:o(n===-1?"negative_text":"positive_text")})]}),E("div",{class:"flex flex-col gap-2",children:[E("textarea",{rows:3,name:"comment",onKeyDown:Us,class:"theme-rounded:rounded-sm bg-neutral-1 text-accent-11 ease-expo-out duration-snappy ring-neutral-4 fr inline-flex max-h-[calc(8lh+1rem)] min-h-[calc(1lh+1rem)] w-full resize-y items-center justify-center px-3 py-2 text-base shadow-[0_0_0_1px] outline-none ring-1 transition-[background,color,border-color,box-shadow] autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] focus:shadow-[0_0_0_2px] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)]",id:i}),a.state==="error"?E("div",{role:"alert",class:"text-balance flex gap-1 text-xs",children:[E(Nn,{name:"warning",class:"size-[1lh] flex-none"}),a.error]}):null]})]}),E("div",{class:"flex flex-col gap-1",children:[E("button",{onTouchStart:Zo,class:"bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",children:a.state==="submitting"?o("submitting"):o("submit")}),E("button",{type:"button",onTouchStart:Zo,onClick:t,class:"fr ease-expo-out duration-snappy text-accent-10 theme-dark:text-accent-10 grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center underline-offset-4 transition-all hover:underline active:scale-[.97]",children:o("skip")})]})]})},Ys=`[data-widget=inploi-feedback]{font-size:16px;--tw-content: ""}[data-widget=inploi-feedback] *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}[data-widget=inploi-feedback] :before,[data-widget=inploi-feedback] :after{box-sizing:border-box}[data-widget=inploi-feedback] :is(a){text-decoration:none}[data-widget=inploi-feedback] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-feedback] :is(p){margin:0;padding:0}[data-widget=inploi-feedback] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-feedback] :is(fieldset){margin:0;padding:0}[data-widget=inploi-feedback] :is(button),[data-widget=inploi-feedback] :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-feedback] :is(input),[data-widget=inploi-feedback] :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}[data-widget=inploi-feedback] :is(svg){display:block}@media (prefers-reduced-motion){[data-widget=inploi-feedback] *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}[data-widget=inploi-feedback] *,[data-widget=inploi-feedback] :before,[data-widget=inploi-feedback] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-feedback] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-feedback] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-feedback] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-feedback] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-feedback] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-feedback] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-feedback] .container{max-width:1536px}}[data-widget=inploi-feedback] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-feedback] .visible{visibility:visible}[data-widget=inploi-feedback] .invisible{visibility:hidden}[data-widget=inploi-feedback] .collapse{visibility:collapse}[data-widget=inploi-feedback] .static{position:static}[data-widget=inploi-feedback] .fixed{position:fixed}[data-widget=inploi-feedback] .absolute{position:absolute}[data-widget=inploi-feedback] .relative{position:relative}[data-widget=inploi-feedback] .sticky{position:sticky}[data-widget=inploi-feedback] .isolate{isolation:isolate}[data-widget=inploi-feedback] .z-50{z-index:50}[data-widget=inploi-feedback] .block{display:block}[data-widget=inploi-feedback] .inline-block{display:inline-block}[data-widget=inploi-feedback] .inline{display:inline}[data-widget=inploi-feedback] .flex{display:flex}[data-widget=inploi-feedback] .inline-flex{display:inline-flex}[data-widget=inploi-feedback] .table{display:table}[data-widget=inploi-feedback] .table-row{display:table-row}[data-widget=inploi-feedback] .flow-root{display:flow-root}[data-widget=inploi-feedback] .grid{display:grid}[data-widget=inploi-feedback] .inline-grid{display:inline-grid}[data-widget=inploi-feedback] .contents{display:contents}[data-widget=inploi-feedback] .list-item{display:list-item}[data-widget=inploi-feedback] .\\!hidden{display:none!important}[data-widget=inploi-feedback] .hidden{display:none}[data-widget=inploi-feedback] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-feedback] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 1rem)}[data-widget=inploi-feedback] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 1rem)}[data-widget=inploi-feedback] .w-64{width:16rem}[data-widget=inploi-feedback] .w-full{width:100%}[data-widget=inploi-feedback] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-feedback] .flex-none{flex:none}[data-widget=inploi-feedback] .flex-shrink,[data-widget=inploi-feedback] .shrink{flex-shrink:1}[data-widget=inploi-feedback] .flex-grow,[data-widget=inploi-feedback] .grow{flex-grow:1}[data-widget=inploi-feedback] .border-collapse{border-collapse:collapse}[data-widget=inploi-feedback] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-feedback] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-feedback] .resize-y{resize:vertical}[data-widget=inploi-feedback] .resize{resize:both}[data-widget=inploi-feedback] .flex-col{flex-direction:column}[data-widget=inploi-feedback] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-feedback] .items-center{align-items:center}[data-widget=inploi-feedback] .justify-center{justify-content:center}[data-widget=inploi-feedback] .gap-1{gap:.25rem}[data-widget=inploi-feedback] .gap-2{gap:.5rem}[data-widget=inploi-feedback] .gap-2\\.5{gap:.625rem}[data-widget=inploi-feedback] .gap-4{gap:1rem}[data-widget=inploi-feedback] .overflow-hidden{overflow:hidden}[data-widget=inploi-feedback] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-feedback] .text-balance{text-wrap:balance}[data-widget=inploi-feedback] .text-pretty{text-wrap:pretty}[data-widget=inploi-feedback] .rounded-lg{border-radius:var(--i-radius-lg)}[data-widget=inploi-feedback] .border{border-width:1px}[data-widget=inploi-feedback] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-feedback] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-feedback] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-feedback] .p-2{padding:.5rem}[data-widget=inploi-feedback] .p-4{padding:1rem}[data-widget=inploi-feedback] .px-1\\.5{padding-left:.375rem;padding-right:.375rem}[data-widget=inploi-feedback] .px-3{padding-left:.75rem;padding-right:.75rem}[data-widget=inploi-feedback] .px-5{padding-left:1.25rem;padding-right:1.25rem}[data-widget=inploi-feedback] .py-1{padding-top:.25rem;padding-bottom:.25rem}[data-widget=inploi-feedback] .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}[data-widget=inploi-feedback] .py-2{padding-top:.5rem;padding-bottom:.5rem}[data-widget=inploi-feedback] .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}[data-widget=inploi-feedback] .pl-2\\.5{padding-left:.625rem}[data-widget=inploi-feedback] .text-center{text-align:center}[data-widget=inploi-feedback] .text-justify{text-align:justify}[data-widget=inploi-feedback] .text-base{font-size:1rem;line-height:1.5rem}[data-widget=inploi-feedback] .text-sm{font-size:.875rem;line-height:1.25rem}[data-widget=inploi-feedback] .text-xs{font-size:.75rem;line-height:1rem}[data-widget=inploi-feedback] .font-medium{font-weight:500}[data-widget=inploi-feedback] .font-semibold{font-weight:600}[data-widget=inploi-feedback] .uppercase{text-transform:uppercase}[data-widget=inploi-feedback] .lowercase{text-transform:lowercase}[data-widget=inploi-feedback] .capitalize{text-transform:capitalize}[data-widget=inploi-feedback] .italic{font-style:italic}[data-widget=inploi-feedback] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-feedback] .leading-tight{line-height:1.25}[data-widget=inploi-feedback] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-feedback] .text-accent-1{color:var(--i-color-a-1)}[data-widget=inploi-feedback] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-feedback] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-feedback] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-feedback] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-feedback] .underline{text-decoration-line:underline}[data-widget=inploi-feedback] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-feedback] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-feedback] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-feedback] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-feedback] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-feedback] .outline{outline-style:solid}[data-widget=inploi-feedback] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-feedback] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-feedback] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-feedback] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-feedback] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-feedback] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-feedback] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-feedback] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-feedback] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-feedback] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .duration-medium{transition-duration:var(--i-duration-medium)}[data-widget=inploi-feedback] .duration-snappy{transition-duration:var(--i-duration-snappy)}[data-widget=inploi-feedback] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-feedback] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-feedback] .fr{outline:none}[data-widget=inploi-feedback] .fr:focus{outline:none}[data-widget=inploi-feedback] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-feedback] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-feedback] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:var(--i-radius-lg);border-bottom-left-radius:var(--i-radius-lg)}[data-widget=inploi-feedback] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:var(--i-radius-lg);border-bottom-right-radius:var(--i-radius-lg)}[data-widget=inploi-feedback] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-feedback] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-feedback] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-feedback] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-feedback] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-feedback] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-feedback] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-feedback] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-feedback] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-feedback] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-feedback] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-feedback] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-feedback] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-feedback] .aria-\\[pressed\\=true\\]\\:text-negative-11[aria-pressed=true]{color:var(--i-color-e-11)}[data-widget=inploi-feedback] .aria-\\[pressed\\=true\\]\\:text-positive-11[aria-pressed=true]{color:var(--i-color-p-11)}[data-widget=inploi-feedback] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes slideDownAndFade{0%{opacity:0;transform:scale(.95) translateY(-16px)}to{opacity:1;transform:scale(1) translateY(0)}}[data-widget=inploi-feedback] .data-\\[state\\=open\\]\\:animate-slideDownAndFade[data-state=open]{animation:slideDownAndFade .2s cubic-bezier(.34,1.56,.64,1)}[data-widget=inploi-feedback] .dark .theme-dark\\:text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-feedback] .dark .theme-dark\\:text-highest{color:var(--i-color-highest)}[data-widget=inploi-feedback] .dark .theme-dark\\:active\\:bg-accent-8:active{background-color:var(--i-color-a-8)}[data-widget=inploi-feedback] .rounded .theme-rounded\\:rounded-sm{border-radius:var(--i-radius-sm)}[data-widget=inploi-feedback] .fill .theme-fill\\:bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-feedback] .fill .theme-fill\\:hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-feedback] .fill .theme-fill\\:active\\:bg-neutral-4:active{background-color:var(--i-color-n-4)}[data-widget=inploi-feedback] .fill .aria-\\[pressed\\=true\\]\\:theme-fill\\:bg-negative-3[aria-pressed=true]{background-color:var(--i-color-e-3)}[data-widget=inploi-feedback] .fill .aria-\\[pressed\\=true\\]\\:theme-fill\\:bg-positive-3[aria-pressed=true]{background-color:var(--i-color-p-3)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:mx-\\[0\\.5px\\]{margin-left:.5px;margin-right:.5px}[data-widget=inploi-feedback] .stroke .theme-stroke\\:ring-\\[1px\\]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:hover\\:z-10:hover{z-index:10}[data-widget=inploi-feedback] .stroke .theme-stroke\\:hover\\:ring-negative-9:hover{--tw-ring-color: var(--i-color-e-9)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:hover\\:ring-positive-9:hover{--tw-ring-color: var(--i-color-p-9)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:focus\\:ring-neutral-7:focus{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:bg-negative-2[aria-pressed=true]{background-color:var(--i-color-e-2)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:bg-positive-2[aria-pressed=true]{background-color:var(--i-color-p-2)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:ring-negative-4[aria-pressed=true]{--tw-ring-color: var(--i-color-e-4)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:ring-positive-4[aria-pressed=true]{--tw-ring-color: var(--i-color-p-4)}
|
|
45
|
-
`,Ks=e=>({getRenderTargetElement:t=>{const n=document.body.querySelector(`*[data-widget=${At}][data-key=${t}]`);if(!n)throw e.error(`Please ensure there is an element with the properties data-widget="${At}" data-key="${t}"`),new Error("Feedback widget didn’t find element");return n}}),Xs=()=>ei(({apiClient:e,logger:t,analytics:n})=>{const r=Ks(t);let o=!1;const i=({params:a})=>x(j,{},[[x("style",{id:"inploi-feedback-styles"},Ys),x("style",{id:"inploi-feedback-theme"},Ls(a))],x(Ws,{theme:a.theme}),x(Bs,{params:a,apiClient:e,logger:t,analytics:n})]);return{prerender:async a=>(o=!0,{html:pi(x(j,{},x(i,{params:a})))}),render:async a=>{const c=o?jt:Se;Jo(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),c(x(i,{params:a}),r.getRenderTargetElement(a.key))},"~brand":"@inploi/plugin-feedback"}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.feedbackPlugin=Xs})();
|