@agg-build/ui 1.0.0 → 1.0.1
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/{chunk-2QJXRRYP.mjs → chunk-43K4PFBC.mjs} +3 -2
- package/dist/{chunk-I2WBGEWK.mjs → chunk-5ES2VJHO.mjs} +159 -93
- package/dist/{chunk-DMKKNK76.mjs → chunk-BYMLPLEZ.mjs} +791 -583
- package/dist/{chunk-C7T56TJR.mjs → chunk-HD6HBTK2.mjs} +1 -1
- package/dist/{chunk-CGNDMLQL.mjs → chunk-LPNZOX3E.mjs} +123 -52
- package/dist/{chunk-75IGOQ4N.mjs → chunk-WLXYCBZV.mjs} +62 -32
- package/dist/{chunk-6NS7D73S.mjs → chunk-YZNO6IUD.mjs} +740 -521
- package/dist/events.js +196 -93
- package/dist/events.mjs +3 -3
- package/dist/index.js +3396 -2806
- package/dist/index.mjs +13 -7
- package/dist/modals.js +798 -535
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +378 -176
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +713 -531
- package/dist/primitives.mjs +7 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +242 -54
- package/dist/trading.mjs +4 -4
- package/dist/types/deposit/steps/card-payment-pending.d.mts +3 -1
- package/dist/types/deposit/steps/card-payment-pending.d.ts +3 -1
- package/dist/types/deposit/steps/crypto-transfer.d.mts +1 -1
- package/dist/types/deposit/steps/crypto-transfer.d.ts +1 -1
- package/dist/types/events/item/event-list-item.utils.d.mts +57 -0
- package/dist/types/events/item/event-list-item.utils.d.ts +57 -0
- package/dist/types/events/item-details/event-list-item-details.types.d.mts +16 -1
- package/dist/types/events/item-details/event-list-item-details.types.d.ts +16 -1
- package/dist/types/events/market-details/market-details.types.d.mts +8 -0
- package/dist/types/events/market-details/market-details.types.d.ts +8 -0
- package/dist/types/primitives/copy-button/index.d.mts +25 -0
- package/dist/types/primitives/copy-button/index.d.ts +25 -0
- package/dist/types/primitives/index.d.mts +2 -0
- package/dist/types/primitives/index.d.ts +2 -0
- package/dist/types/primitives/toast/index.d.mts +4 -0
- package/dist/types/primitives/toast/index.d.ts +4 -0
- package/dist/types/primitives/toast/toast.types.d.mts +31 -0
- package/dist/types/primitives/toast/toast.types.d.ts +31 -0
- package/dist/types/trading/place-order/index.place-order.constants.d.mts +8 -0
- package/dist/types/trading/place-order/index.place-order.constants.d.ts +8 -0
- package/dist/types/trading/place-order/index.place-order.types.d.mts +6 -0
- package/dist/types/trading/place-order/index.place-order.types.d.ts +6 -0
- package/dist/types/trading/place-order/index.place-order.utils.d.mts +4 -7
- package/dist/types/trading/place-order/index.place-order.utils.d.ts +4 -7
- package/dist/types/withdraw/index.d.mts +2 -2
- package/dist/types/withdraw/index.d.ts +2 -2
- package/dist/types/withdraw/steps/withdraw-amount.d.mts +6 -3
- package/dist/types/withdraw/steps/withdraw-amount.d.ts +6 -3
- package/dist/types/withdraw/steps/withdraw-success.d.mts +8 -1
- package/dist/types/withdraw/steps/withdraw-success.d.ts +8 -1
- package/dist/types/withdraw/steps/withdraw-success.utils.d.mts +36 -0
- package/dist/types/withdraw/steps/withdraw-success.utils.d.ts +36 -0
- package/dist/types/withdraw/withdraw-modal.types.d.mts +25 -15
- package/dist/types/withdraw/withdraw-modal.types.d.ts +25 -15
- package/package.json +6 -5
package/dist/primitives.js
CHANGED
|
@@ -86,6 +86,7 @@ __export(primitives_exports, {
|
|
|
86
86
|
ChevronRightIcon: () => ChevronRightIcon,
|
|
87
87
|
ChevronUpIcon: () => ChevronUpIcon,
|
|
88
88
|
CloseIcon: () => CloseIcon,
|
|
89
|
+
CopyButton: () => CopyButton,
|
|
89
90
|
CopyIcon: () => CopyIcon,
|
|
90
91
|
CreateAccountIcon: () => CreateAccountIcon,
|
|
91
92
|
CreditCardIcon: () => CreditCardIcon,
|
|
@@ -128,6 +129,7 @@ __export(primitives_exports, {
|
|
|
128
129
|
SuccessCheckIcon: () => SuccessCheckIcon,
|
|
129
130
|
SwitchButton: () => SwitchButton,
|
|
130
131
|
Tabs: () => Tabs,
|
|
132
|
+
ToastProvider: () => ToastProvider,
|
|
131
133
|
Tooltip: () => Tooltip,
|
|
132
134
|
TriangleDownIcon: () => TriangleDownIcon,
|
|
133
135
|
TriangleUpFilledIcon: () => TriangleUpFilledIcon,
|
|
@@ -146,6 +148,7 @@ __export(primitives_exports, {
|
|
|
146
148
|
iconNames: () => iconNames,
|
|
147
149
|
skeletonViews: () => skeletonViews,
|
|
148
150
|
typographyVariants: () => typographyVariants,
|
|
151
|
+
useToast: () => useToast,
|
|
149
152
|
venueLogoNames: () => venueLogoNames
|
|
150
153
|
});
|
|
151
154
|
module.exports = __toCommonJS(primitives_exports);
|
|
@@ -3921,9 +3924,64 @@ var LineChart = ({
|
|
|
3921
3924
|
};
|
|
3922
3925
|
LineChart.displayName = "LineChart";
|
|
3923
3926
|
|
|
3924
|
-
// src/primitives/
|
|
3927
|
+
// src/primitives/copy-button/index.tsx
|
|
3925
3928
|
var import_react5 = require("react");
|
|
3929
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
3930
|
+
var CopyButton = ({
|
|
3931
|
+
value,
|
|
3932
|
+
label,
|
|
3933
|
+
copiedLabel,
|
|
3934
|
+
"aria-label": ariaLabel,
|
|
3935
|
+
disabled,
|
|
3936
|
+
className,
|
|
3937
|
+
iconClassName = "h-4 w-4",
|
|
3938
|
+
onCopy,
|
|
3939
|
+
resetMs = 2e3
|
|
3940
|
+
}) => {
|
|
3941
|
+
const [isCopied, setIsCopied] = (0, import_react5.useState)(false);
|
|
3942
|
+
const timeoutRef = (0, import_react5.useRef)(null);
|
|
3943
|
+
(0, import_react5.useEffect)(
|
|
3944
|
+
() => () => {
|
|
3945
|
+
if (timeoutRef.current !== null) clearTimeout(timeoutRef.current);
|
|
3946
|
+
},
|
|
3947
|
+
[]
|
|
3948
|
+
);
|
|
3949
|
+
const handleClick = (0, import_react5.useCallback)(() => {
|
|
3950
|
+
var _a;
|
|
3951
|
+
if (!value) return;
|
|
3952
|
+
(_a = navigator.clipboard) == null ? void 0 : _a.writeText(value).catch(() => {
|
|
3953
|
+
});
|
|
3954
|
+
setIsCopied(true);
|
|
3955
|
+
onCopy == null ? void 0 : onCopy();
|
|
3956
|
+
if (timeoutRef.current !== null) clearTimeout(timeoutRef.current);
|
|
3957
|
+
timeoutRef.current = setTimeout(() => setIsCopied(false), resetMs);
|
|
3958
|
+
}, [onCopy, resetMs, value]);
|
|
3959
|
+
const showLabel = label !== void 0 || copiedLabel !== void 0;
|
|
3960
|
+
const visibleLabel = isCopied ? copiedLabel != null ? copiedLabel : label : label;
|
|
3961
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
|
|
3962
|
+
"button",
|
|
3963
|
+
{
|
|
3964
|
+
type: "button",
|
|
3965
|
+
onClick: handleClick,
|
|
3966
|
+
disabled,
|
|
3967
|
+
"aria-label": showLabel ? void 0 : ariaLabel,
|
|
3968
|
+
className: cn(
|
|
3969
|
+
"shrink-0 inline-flex items-center gap-1 transition-colors cursor-pointer",
|
|
3970
|
+
"disabled:opacity-40 disabled:cursor-not-allowed",
|
|
3971
|
+
className
|
|
3972
|
+
),
|
|
3973
|
+
children: [
|
|
3974
|
+
isCopied ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(CheckCircleIcon, { className: iconClassName }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(CopyIcon, { className: iconClassName }),
|
|
3975
|
+
showLabel ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "agg-type-label-strong", children: visibleLabel }) : null
|
|
3976
|
+
]
|
|
3977
|
+
}
|
|
3978
|
+
);
|
|
3979
|
+
};
|
|
3980
|
+
CopyButton.displayName = "CopyButton";
|
|
3981
|
+
|
|
3982
|
+
// src/primitives/currency-input/index.tsx
|
|
3926
3983
|
var import_hooks7 = require("@agg-build/hooks");
|
|
3984
|
+
var import_react6 = require("react");
|
|
3927
3985
|
|
|
3928
3986
|
// src/primitives/currency-input/currency-input.constants.ts
|
|
3929
3987
|
var CURRENCY_INPUT_DEFAULT_PREFIX = "$";
|
|
@@ -4014,7 +4072,7 @@ var sanitizeCurrencyInputPastedValue = (input, parts, decimalPlaces) => {
|
|
|
4014
4072
|
};
|
|
4015
4073
|
|
|
4016
4074
|
// src/primitives/currency-input/index.tsx
|
|
4017
|
-
var
|
|
4075
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
4018
4076
|
var CurrencyInput = ({
|
|
4019
4077
|
value,
|
|
4020
4078
|
onChange,
|
|
@@ -4033,19 +4091,19 @@ var CurrencyInput = ({
|
|
|
4033
4091
|
const {
|
|
4034
4092
|
general: { locale }
|
|
4035
4093
|
} = (0, import_hooks7.useSdkUiConfig)();
|
|
4036
|
-
const parts = (0,
|
|
4037
|
-
const [raw, setRaw] = (0,
|
|
4038
|
-
const isEditingRef = (0,
|
|
4039
|
-
const inputRef = (0,
|
|
4040
|
-
const caretPosRef = (0,
|
|
4041
|
-
(0,
|
|
4094
|
+
const parts = (0, import_react6.useMemo)(() => resolveCurrencyInputFormatParts(locale), [locale]);
|
|
4095
|
+
const [raw, setRaw] = (0, import_react6.useState)(() => value >= 0 ? String(value) : "");
|
|
4096
|
+
const isEditingRef = (0, import_react6.useRef)(false);
|
|
4097
|
+
const inputRef = (0, import_react6.useRef)(null);
|
|
4098
|
+
const caretPosRef = (0, import_react6.useRef)(null);
|
|
4099
|
+
(0, import_react6.useEffect)(() => {
|
|
4042
4100
|
if (!isEditingRef.current) {
|
|
4043
|
-
setRaw(value
|
|
4101
|
+
setRaw(value >= 0 ? String(value) : "");
|
|
4044
4102
|
}
|
|
4045
4103
|
}, [value]);
|
|
4046
4104
|
const numericDisplay = formatCurrencyInputRawValue(raw, locale, decimalPlaces, parts);
|
|
4047
4105
|
const displayValue = prefix + numericDisplay;
|
|
4048
|
-
(0,
|
|
4106
|
+
(0, import_react6.useLayoutEffect)(() => {
|
|
4049
4107
|
if (caretPosRef.current !== null && inputRef.current) {
|
|
4050
4108
|
inputRef.current.setSelectionRange(caretPosRef.current, caretPosRef.current);
|
|
4051
4109
|
caretPosRef.current = null;
|
|
@@ -4138,11 +4196,11 @@ var CurrencyInput = ({
|
|
|
4138
4196
|
isEditingRef.current = false;
|
|
4139
4197
|
const numericValue = parseFloat(raw);
|
|
4140
4198
|
const nextValue = isNaN(numericValue) ? min : clampCurrencyInputValue(numericValue, min, max);
|
|
4141
|
-
setRaw(nextValue
|
|
4199
|
+
setRaw(nextValue >= 0 ? String(nextValue) : "");
|
|
4142
4200
|
onChange == null ? void 0 : onChange(nextValue);
|
|
4143
4201
|
onBlur == null ? void 0 : onBlur();
|
|
4144
4202
|
};
|
|
4145
|
-
return /* @__PURE__ */ (0,
|
|
4203
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
4146
4204
|
"input",
|
|
4147
4205
|
{
|
|
4148
4206
|
ref: inputRef,
|
|
@@ -4172,11 +4230,11 @@ var CurrencyInput = ({
|
|
|
4172
4230
|
CurrencyInput.displayName = "CurrencyInput";
|
|
4173
4231
|
|
|
4174
4232
|
// src/primitives/footer/index.tsx
|
|
4175
|
-
var
|
|
4233
|
+
var import_react7 = require("react");
|
|
4176
4234
|
|
|
4177
4235
|
// src/primitives/footer/agg-build-logo.tsx
|
|
4178
|
-
var
|
|
4179
|
-
var AggBuildIcon = (props) => /* @__PURE__ */ (0,
|
|
4236
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
4237
|
+
var AggBuildIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4180
4238
|
"svg",
|
|
4181
4239
|
__spreadProps(__spreadValues({
|
|
4182
4240
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4187,29 +4245,29 @@ var AggBuildIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
|
4187
4245
|
"aria-hidden": "true"
|
|
4188
4246
|
}, props), {
|
|
4189
4247
|
children: [
|
|
4190
|
-
/* @__PURE__ */ (0,
|
|
4248
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4191
4249
|
"path",
|
|
4192
4250
|
{
|
|
4193
4251
|
d: "M14.6158 5.73509L12.5568 13.8499C12.5088 14.0367 12.3434 14.17 12.1567 14.17L4.22474 14.1807C4.05404 14.1807 3.95803 14.3834 4.05938 14.5222L5.00353 15.8293C5.08355 15.936 5.20623 16 5.33425 16L9.41493 15.9947C11.9967 15.9893 14.2477 14.1914 14.9038 11.6038L15.9867 7.32498C16.0187 7.19692 15.992 7.06353 15.9173 6.9622L14.9732 5.66037C14.8718 5.5217 14.6585 5.56436 14.6158 5.73509Z",
|
|
4194
4252
|
fill: "url(#agg-build-icon-g0)"
|
|
4195
4253
|
}
|
|
4196
4254
|
),
|
|
4197
|
-
/* @__PURE__ */ (0,
|
|
4255
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4198
4256
|
"path",
|
|
4199
4257
|
{
|
|
4200
4258
|
d: "M1.38421 10.2649L3.44322 2.15006C3.49123 1.96334 3.65659 1.82995 3.84328 1.82995L11.7753 1.81928C11.946 1.81928 12.042 1.61656 11.9406 1.47784L10.9965 0.170723C10.9165 0.0640015 10.7938 0 10.6657 0L6.58507 0.00533456C4.00331 0.010668 1.75227 1.80862 1.09616 4.39618L0.0133177 8.67502C-0.0186876 8.80308 0.00798503 8.93647 0.082664 9.0378L1.02682 10.3396C1.12817 10.4783 1.34154 10.4356 1.38421 10.2649Z",
|
|
4201
4259
|
fill: "url(#agg-build-icon-g1)"
|
|
4202
4260
|
}
|
|
4203
4261
|
),
|
|
4204
|
-
/* @__PURE__ */ (0,
|
|
4262
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4205
4263
|
"path",
|
|
4206
4264
|
{
|
|
4207
4265
|
d: "M9.55357 10.5796L5.15284 10.585C4.98215 10.585 4.85946 10.4196 4.90213 10.2489L6.04365 5.73529C6.09166 5.54857 6.25702 5.41518 6.44372 5.41518L10.726 5.41033C10.9426 5.41008 11.102 5.61332 11.05 5.82363L9.95363 10.2595C9.90563 10.4462 9.74027 10.5796 9.55357 10.5796Z",
|
|
4208
4266
|
fill: "url(#agg-build-icon-g2)"
|
|
4209
4267
|
}
|
|
4210
4268
|
),
|
|
4211
|
-
/* @__PURE__ */ (0,
|
|
4212
|
-
/* @__PURE__ */ (0,
|
|
4269
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("defs", { children: [
|
|
4270
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4213
4271
|
"linearGradient",
|
|
4214
4272
|
{
|
|
4215
4273
|
id: "agg-build-icon-g0",
|
|
@@ -4219,12 +4277,12 @@ var AggBuildIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
|
4219
4277
|
y2: "16",
|
|
4220
4278
|
gradientUnits: "userSpaceOnUse",
|
|
4221
4279
|
children: [
|
|
4222
|
-
/* @__PURE__ */ (0,
|
|
4223
|
-
/* @__PURE__ */ (0,
|
|
4280
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { stopColor: "#FE9943" }),
|
|
4281
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { offset: "1", stopColor: "#FE763C" })
|
|
4224
4282
|
]
|
|
4225
4283
|
}
|
|
4226
4284
|
),
|
|
4227
|
-
/* @__PURE__ */ (0,
|
|
4285
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4228
4286
|
"linearGradient",
|
|
4229
4287
|
{
|
|
4230
4288
|
id: "agg-build-icon-g1",
|
|
@@ -4234,12 +4292,12 @@ var AggBuildIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
|
4234
4292
|
y2: "16",
|
|
4235
4293
|
gradientUnits: "userSpaceOnUse",
|
|
4236
4294
|
children: [
|
|
4237
|
-
/* @__PURE__ */ (0,
|
|
4238
|
-
/* @__PURE__ */ (0,
|
|
4295
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { stopColor: "#FE763C" }),
|
|
4296
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { offset: "1", stopColor: "#FE9943" })
|
|
4239
4297
|
]
|
|
4240
4298
|
}
|
|
4241
4299
|
),
|
|
4242
|
-
/* @__PURE__ */ (0,
|
|
4300
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4243
4301
|
"linearGradient",
|
|
4244
4302
|
{
|
|
4245
4303
|
id: "agg-build-icon-g2",
|
|
@@ -4249,8 +4307,8 @@ var AggBuildIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
|
4249
4307
|
y2: "16",
|
|
4250
4308
|
gradientUnits: "userSpaceOnUse",
|
|
4251
4309
|
children: [
|
|
4252
|
-
/* @__PURE__ */ (0,
|
|
4253
|
-
/* @__PURE__ */ (0,
|
|
4310
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { stopColor: "#FEB549" }),
|
|
4311
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { offset: "1", stopColor: "#FDA349" })
|
|
4254
4312
|
]
|
|
4255
4313
|
}
|
|
4256
4314
|
)
|
|
@@ -4259,7 +4317,7 @@ var AggBuildIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
|
4259
4317
|
})
|
|
4260
4318
|
);
|
|
4261
4319
|
AggBuildIcon.displayName = "AggBuildIcon";
|
|
4262
|
-
var AggBuildLogo = (props) => /* @__PURE__ */ (0,
|
|
4320
|
+
var AggBuildLogo = (props) => /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4263
4321
|
"svg",
|
|
4264
4322
|
__spreadProps(__spreadValues({
|
|
4265
4323
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4269,79 +4327,79 @@ var AggBuildLogo = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
|
4269
4327
|
fill: "none"
|
|
4270
4328
|
}, props), {
|
|
4271
4329
|
children: [
|
|
4272
|
-
/* @__PURE__ */ (0,
|
|
4330
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4273
4331
|
"path",
|
|
4274
4332
|
{
|
|
4275
4333
|
d: "M12.7888 5.0182L10.9872 12.1187C10.9452 12.2821 10.8005 12.3988 10.6371 12.3988L3.69665 12.4081C3.54729 12.4081 3.46327 12.5855 3.55195 12.7069L4.37809 13.8506C4.4481 13.944 4.55545 14 4.66747 14L8.23806 13.9953C10.4971 13.9907 12.4668 12.4175 13.0409 10.1533L13.9883 6.40936C14.0164 6.29731 13.993 6.18059 13.9277 6.09192L13.1015 4.95282C13.0129 4.83148 12.8262 4.86882 12.7888 5.0182Z",
|
|
4276
4334
|
fill: "url(#agg-build-logo-g0)"
|
|
4277
4335
|
}
|
|
4278
4336
|
),
|
|
4279
|
-
/* @__PURE__ */ (0,
|
|
4337
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4280
4338
|
"path",
|
|
4281
4339
|
{
|
|
4282
4340
|
d: "M1.21119 8.9818L3.01282 1.8813C3.05482 1.71792 3.19951 1.60121 3.36287 1.60121L10.3034 1.59187C10.4527 1.59187 10.5367 1.41449 10.448 1.29311L9.62191 0.149383C9.5519 0.0560013 9.44454 0 9.33253 0L5.76194 0.00466774C3.5029 0.00933448 1.53324 1.58254 0.959144 3.84666L0.0116529 7.59064C-0.0163517 7.70269 0.0069869 7.81941 0.072331 7.90808L0.898466 9.04718C0.987147 9.16852 1.17385 9.13118 1.21119 8.9818Z",
|
|
4283
4341
|
fill: "url(#agg-build-logo-g1)"
|
|
4284
4342
|
}
|
|
4285
4343
|
),
|
|
4286
|
-
/* @__PURE__ */ (0,
|
|
4344
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4287
4345
|
"path",
|
|
4288
4346
|
{
|
|
4289
4347
|
d: "M8.35937 9.25718L4.50874 9.26185C4.35938 9.26185 4.25203 9.11713 4.28937 8.96775L5.2882 5.01838C5.3302 4.855 5.4749 4.73828 5.63826 4.73828L9.38521 4.73404C9.5748 4.73382 9.71422 4.91165 9.66874 5.09568L8.70943 8.97709C8.66742 9.14047 8.52273 9.25718 8.35937 9.25718Z",
|
|
4290
4348
|
fill: "url(#agg-build-logo-g2)"
|
|
4291
4349
|
}
|
|
4292
4350
|
),
|
|
4293
|
-
/* @__PURE__ */ (0,
|
|
4351
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4294
4352
|
"path",
|
|
4295
4353
|
{
|
|
4296
4354
|
d: "M24.5485 10.08L24.3175 7.87499L24.5905 7.10849L24.3175 6.35249L24.5485 4.13699H25.9555L25.6405 7.10849L25.9555 10.08H24.5485ZM24.9685 7.10849C24.8355 7.73149 24.615 8.27749 24.307 8.74649C23.999 9.21549 23.6175 9.57949 23.1625 9.83849C22.7145 10.0975 22.214 10.227 21.661 10.227C21.08 10.227 20.5655 10.0975 20.1175 9.83849C19.6695 9.57249 19.3195 9.20499 19.0675 8.73599C18.8155 8.26699 18.6895 7.72449 18.6895 7.10849C18.6895 6.48549 18.8155 5.94299 19.0675 5.48099C19.3195 5.01199 19.6695 4.64799 20.1175 4.38899C20.5655 4.12299 21.08 3.98999 21.661 3.98999C22.214 3.98999 22.7145 4.11949 23.1625 4.37849C23.6175 4.63749 23.999 5.00149 24.307 5.47049C24.622 5.93249 24.8425 6.47849 24.9685 7.10849ZM20.0755 7.10849C20.0755 7.50749 20.156 7.86099 20.317 8.16899C20.485 8.46999 20.7125 8.70799 20.9995 8.88299C21.2865 9.05099 21.6155 9.13499 21.9865 9.13499C22.3645 9.13499 22.7145 9.05099 23.0365 8.88299C23.3585 8.70799 23.642 8.46999 23.887 8.16899C24.139 7.86099 24.3385 7.50749 24.4855 7.10849C24.3385 6.70949 24.139 6.35949 23.887 6.05849C23.642 5.75049 23.3585 5.51249 23.0365 5.34449C22.7145 5.16949 22.3645 5.08199 21.9865 5.08199C21.6155 5.08199 21.2865 5.16949 20.9995 5.34449C20.7125 5.51249 20.485 5.75049 20.317 6.05849C20.156 6.35949 20.0755 6.70949 20.0755 7.10849Z",
|
|
4297
4355
|
fill: "currentColor"
|
|
4298
4356
|
}
|
|
4299
4357
|
),
|
|
4300
|
-
/* @__PURE__ */ (0,
|
|
4358
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4301
4359
|
"path",
|
|
4302
4360
|
{
|
|
4303
4361
|
d: "M32.6661 8.62049V7.57049L32.7186 7.38149V6.23699L32.6661 6.02699V4.13699H34.0311V8.49449C34.0311 9.25749 33.8701 9.89449 33.5481 10.4055C33.2261 10.9235 32.7851 11.312 32.2251 11.571C31.6651 11.83 31.0211 11.9595 30.2931 11.9595C29.7611 11.9595 29.2711 11.8895 28.8231 11.7495C28.3751 11.6095 27.9411 11.396 27.5211 11.109V9.97499C27.9481 10.311 28.3891 10.5455 28.8441 10.6785C29.2991 10.8185 29.7541 10.8885 30.2091 10.8885C31.0071 10.8885 31.6161 10.6925 32.0361 10.3005C32.4561 9.90849 32.6661 9.34849 32.6661 8.62049ZM29.8101 9.61799C29.2641 9.61799 28.7741 9.50249 28.3401 9.27149C27.9061 9.03349 27.5631 8.70449 27.3111 8.28449C27.0591 7.86449 26.9331 7.37099 26.9331 6.80399C26.9331 6.23699 27.0591 5.74349 27.3111 5.32349C27.5631 4.90349 27.9061 4.57799 28.3401 4.34699C28.7741 4.10899 29.2641 3.98999 29.8101 3.98999C30.2161 3.98999 30.5906 4.05299 30.9336 4.17899C31.2836 4.30499 31.5951 4.47299 31.8681 4.68299C32.1481 4.88599 32.3826 5.11349 32.5716 5.36549C32.7676 5.61049 32.9181 5.86249 33.0231 6.12149C33.1281 6.37349 33.1806 6.60449 33.1806 6.81449C33.1806 7.08749 33.1001 7.38849 32.9391 7.71749C32.7781 8.03949 32.5471 8.34399 32.2461 8.63099C31.9521 8.91799 31.5986 9.15599 31.1856 9.34499C30.7726 9.52699 30.3141 9.61799 29.8101 9.61799ZM30.2301 8.60999C30.7271 8.60999 31.1821 8.46649 31.5951 8.17949C32.0151 7.89249 32.3896 7.43399 32.7186 6.80399C32.3896 6.15999 32.0151 5.69799 31.5951 5.41799C31.1821 5.13099 30.7271 4.98749 30.2301 4.98749C29.8241 4.98749 29.4776 5.06449 29.1906 5.21849C28.9036 5.37249 28.6831 5.58599 28.5291 5.85899C28.3821 6.13199 28.3086 6.44699 28.3086 6.80399C28.3086 7.15399 28.3821 7.46549 28.5291 7.73849C28.6831 8.01149 28.9036 8.22499 29.1906 8.37899C29.4776 8.53299 29.8241 8.60999 30.2301 8.60999Z",
|
|
4304
4362
|
fill: "currentColor"
|
|
4305
4363
|
}
|
|
4306
4364
|
),
|
|
4307
|
-
/* @__PURE__ */ (0,
|
|
4365
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4308
4366
|
"path",
|
|
4309
4367
|
{
|
|
4310
4368
|
d: "M40.8487 8.62049V7.57049L40.9012 7.38149V6.23699L40.8487 6.02699V4.13699H42.2137V8.49449C42.2137 9.25749 42.0527 9.89449 41.7307 10.4055C41.4087 10.9235 40.9677 11.312 40.4077 11.571C39.8477 11.83 39.2037 11.9595 38.4757 11.9595C37.9437 11.9595 37.4537 11.8895 37.0057 11.7495C36.5577 11.6095 36.1237 11.396 35.7037 11.109V9.97499C36.1307 10.311 36.5717 10.5455 37.0267 10.6785C37.4817 10.8185 37.9367 10.8885 38.3917 10.8885C39.1897 10.8885 39.7987 10.6925 40.2187 10.3005C40.6387 9.90849 40.8487 9.34849 40.8487 8.62049ZM37.9927 9.61799C37.4467 9.61799 36.9567 9.50249 36.5227 9.27149C36.0887 9.03349 35.7457 8.70449 35.4937 8.28449C35.2417 7.86449 35.1157 7.37099 35.1157 6.80399C35.1157 6.23699 35.2417 5.74349 35.4937 5.32349C35.7457 4.90349 36.0887 4.57799 36.5227 4.34699C36.9567 4.10899 37.4467 3.98999 37.9927 3.98999C38.3987 3.98999 38.7732 4.05299 39.1162 4.17899C39.4662 4.30499 39.7777 4.47299 40.0507 4.68299C40.3307 4.88599 40.5652 5.11349 40.7542 5.36549C40.9502 5.61049 41.1007 5.86249 41.2057 6.12149C41.3107 6.37349 41.3632 6.60449 41.3632 6.81449C41.3632 7.08749 41.2827 7.38849 41.1217 7.71749C40.9607 8.03949 40.7297 8.34399 40.4287 8.63099C40.1347 8.91799 39.7812 9.15599 39.3682 9.34499C38.9552 9.52699 38.4967 9.61799 37.9927 9.61799ZM38.4127 8.60999C38.9097 8.60999 39.3647 8.46649 39.7777 8.17949C40.1977 7.89249 40.5722 7.43399 40.9012 6.80399C40.5722 6.15999 40.1977 5.69799 39.7777 5.41799C39.3647 5.13099 38.9097 4.98749 38.4127 4.98749C38.0067 4.98749 37.6602 5.06449 37.3732 5.21849C37.0862 5.37249 36.8657 5.58599 36.7117 5.85899C36.5647 6.13199 36.4912 6.44699 36.4912 6.80399C36.4912 7.15399 36.5647 7.46549 36.7117 7.73849C36.8657 8.01149 37.0862 8.22499 37.3732 8.37899C37.6602 8.53299 38.0067 8.60999 38.4127 8.60999Z",
|
|
4311
4369
|
fill: "currentColor"
|
|
4312
4370
|
}
|
|
4313
4371
|
),
|
|
4314
|
-
/* @__PURE__ */ (0,
|
|
4372
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4315
4373
|
"path",
|
|
4316
4374
|
{
|
|
4317
4375
|
d: "M49.1202 10.273C48.771 10.273 48.4495 10.2214 48.1559 10.1182C47.8701 10.0071 47.6201 9.86029 47.4058 9.67775C47.1915 9.48726 47.0209 9.27297 46.8939 9.03486L46.8225 10.1301H46.0605V1.55836H46.8939V5.21328C47.0923 4.87199 47.3781 4.5823 47.7511 4.34419C48.1241 4.10609 48.5805 3.98703 49.1202 3.98703C49.7075 3.98703 50.2194 4.12593 50.656 4.40372C51.0925 4.67357 51.4258 5.0466 51.656 5.52281C51.8941 5.99109 52.0132 6.52682 52.0132 7.13002C52.0132 7.73322 51.8941 8.27293 51.656 8.74914C51.4179 9.22535 51.0806 9.59838 50.6441 9.86823C50.2155 10.1381 49.7075 10.273 49.1202 10.273ZM49.0607 9.54679C49.4813 9.54679 49.8464 9.44758 50.156 9.24916C50.4655 9.05074 50.7115 8.76898 50.8941 8.40388C51.0766 8.03879 51.1679 7.61417 51.1679 7.13002C51.1679 6.63794 51.0766 6.21332 50.8941 5.85616C50.7115 5.49107 50.4615 5.20931 50.144 5.01089C49.8345 4.81247 49.4734 4.71326 49.0607 4.71326C48.648 4.71326 48.2789 4.81247 47.9535 5.01089C47.636 5.20931 47.386 5.49107 47.2035 5.85616C47.0288 6.22125 46.9415 6.64587 46.9415 7.13002C46.9415 7.62211 47.0288 8.05069 47.2035 8.41579C47.386 8.77295 47.636 9.05074 47.9535 9.24916C48.2789 9.44758 48.648 9.54679 49.0607 9.54679Z",
|
|
4318
4376
|
fill: "currentColor"
|
|
4319
4377
|
}
|
|
4320
4378
|
),
|
|
4321
|
-
/* @__PURE__ */ (0,
|
|
4379
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4322
4380
|
"path",
|
|
4323
4381
|
{
|
|
4324
4382
|
d: "M55.61 10.273C55.1576 10.273 54.7567 10.1857 54.4075 10.0111C54.0662 9.82855 53.8004 9.55472 53.6099 9.18963C53.4194 8.8166 53.3241 8.34039 53.3241 7.761V4.1299H54.1575V7.66576C54.1575 8.3007 54.2964 8.77295 54.5742 9.08248C54.8599 9.39202 55.2528 9.54679 55.7528 9.54679C56.11 9.54679 56.4274 9.46345 56.7052 9.29678C56.991 9.1301 57.2132 8.88406 57.3719 8.55865C57.5386 8.22531 57.6219 7.82053 57.6219 7.34432V4.1299H58.4553V10.1301H57.6934L57.6458 9.05867C57.4553 9.44758 57.1775 9.74918 56.8124 9.96347C56.4552 10.1698 56.0544 10.273 55.61 10.273Z",
|
|
4325
4383
|
fill: "currentColor"
|
|
4326
4384
|
}
|
|
4327
4385
|
),
|
|
4328
|
-
/* @__PURE__ */ (0,
|
|
4386
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4329
4387
|
"path",
|
|
4330
4388
|
{
|
|
4331
4389
|
d: "M60.2706 10.1301V4.1299H61.092V10.1301H60.2706ZM60.6873 2.71317C60.5206 2.71317 60.3777 2.65762 60.2587 2.5465C60.1396 2.42745 60.0801 2.28062 60.0801 2.106C60.0801 1.92346 60.1357 1.78059 60.2468 1.67742C60.3658 1.5663 60.5087 1.51074 60.6754 1.51074C60.842 1.51074 60.9849 1.5663 61.104 1.67742C61.223 1.78059 61.2825 1.92346 61.2825 2.106C61.2825 2.28062 61.223 2.42745 61.104 2.5465C60.9928 2.65762 60.8539 2.71317 60.6873 2.71317Z",
|
|
4332
4390
|
fill: "currentColor"
|
|
4333
4391
|
}
|
|
4334
4392
|
),
|
|
4335
|
-
/* @__PURE__ */ (0,
|
|
4336
|
-
/* @__PURE__ */ (0,
|
|
4393
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("path", { d: "M62.9069 10.1301V1.55836H63.7403V10.1301H62.9069Z", fill: "currentColor" }),
|
|
4394
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4337
4395
|
"path",
|
|
4338
4396
|
{
|
|
4339
4397
|
d: "M68.049 10.273C67.4696 10.273 66.9616 10.1381 66.5251 9.86823C66.0965 9.59044 65.7632 9.21344 65.5251 8.73723C65.287 8.26102 65.1679 7.72132 65.1679 7.11812C65.1679 6.51492 65.287 5.97918 65.5251 5.51091C65.7632 5.0347 66.1005 4.66167 66.537 4.39181C66.9736 4.12196 67.4815 3.98703 68.0609 3.98703C68.5689 3.98703 69.0133 4.09815 69.3943 4.32038C69.7832 4.53468 70.0808 4.84024 70.2872 5.23709V1.55836H71.1205V10.1301H70.3586L70.2872 9.04677C70.1602 9.25313 69.9935 9.45155 69.7872 9.64203C69.5887 9.83251 69.3427 9.98728 69.049 10.1063C68.7633 10.2175 68.43 10.273 68.049 10.273ZM68.1204 9.54679C68.5411 9.54679 68.9062 9.44758 69.2157 9.24916C69.5332 9.05074 69.7792 8.76898 69.9538 8.40388C70.1364 8.03879 70.2277 7.61417 70.2277 7.13002C70.2277 6.64587 70.1364 6.22125 69.9538 5.85616C69.7792 5.49107 69.5332 5.20931 69.2157 5.01089C68.9062 4.81247 68.5411 4.71326 68.1204 4.71326C67.7077 4.71326 67.3426 4.81247 67.0251 5.01089C66.7077 5.20931 66.4577 5.49107 66.2751 5.85616C66.1005 6.21332 66.0132 6.63794 66.0132 7.13002C66.0132 7.62211 66.1045 8.05069 66.287 8.41579C66.4696 8.77295 66.7196 9.05074 67.037 9.24916C67.3545 9.44758 67.7156 9.54679 68.1204 9.54679Z",
|
|
4340
4398
|
fill: "currentColor"
|
|
4341
4399
|
}
|
|
4342
4400
|
),
|
|
4343
|
-
/* @__PURE__ */ (0,
|
|
4344
|
-
/* @__PURE__ */ (0,
|
|
4401
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("defs", { children: [
|
|
4402
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4345
4403
|
"linearGradient",
|
|
4346
4404
|
{
|
|
4347
4405
|
id: "agg-build-logo-g0",
|
|
@@ -4351,12 +4409,12 @@ var AggBuildLogo = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
|
4351
4409
|
y2: "14",
|
|
4352
4410
|
gradientUnits: "userSpaceOnUse",
|
|
4353
4411
|
children: [
|
|
4354
|
-
/* @__PURE__ */ (0,
|
|
4355
|
-
/* @__PURE__ */ (0,
|
|
4412
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { stopColor: "#FE9943" }),
|
|
4413
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { offset: "1", stopColor: "#FE763C" })
|
|
4356
4414
|
]
|
|
4357
4415
|
}
|
|
4358
4416
|
),
|
|
4359
|
-
/* @__PURE__ */ (0,
|
|
4417
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4360
4418
|
"linearGradient",
|
|
4361
4419
|
{
|
|
4362
4420
|
id: "agg-build-logo-g1",
|
|
@@ -4366,12 +4424,12 @@ var AggBuildLogo = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
|
4366
4424
|
y2: "14",
|
|
4367
4425
|
gradientUnits: "userSpaceOnUse",
|
|
4368
4426
|
children: [
|
|
4369
|
-
/* @__PURE__ */ (0,
|
|
4370
|
-
/* @__PURE__ */ (0,
|
|
4427
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { stopColor: "#FE763C" }),
|
|
4428
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { offset: "1", stopColor: "#FE9943" })
|
|
4371
4429
|
]
|
|
4372
4430
|
}
|
|
4373
4431
|
),
|
|
4374
|
-
/* @__PURE__ */ (0,
|
|
4432
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4375
4433
|
"linearGradient",
|
|
4376
4434
|
{
|
|
4377
4435
|
id: "agg-build-logo-g2",
|
|
@@ -4381,8 +4439,8 @@ var AggBuildLogo = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
|
4381
4439
|
y2: "14",
|
|
4382
4440
|
gradientUnits: "userSpaceOnUse",
|
|
4383
4441
|
children: [
|
|
4384
|
-
/* @__PURE__ */ (0,
|
|
4385
|
-
/* @__PURE__ */ (0,
|
|
4442
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { stopColor: "#FEB549" }),
|
|
4443
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("stop", { offset: "1", stopColor: "#FDA349" })
|
|
4386
4444
|
]
|
|
4387
4445
|
}
|
|
4388
4446
|
)
|
|
@@ -4391,7 +4449,7 @@ var AggBuildLogo = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
|
4391
4449
|
})
|
|
4392
4450
|
);
|
|
4393
4451
|
AggBuildLogo.displayName = "AggBuildLogo";
|
|
4394
|
-
var AggBuildTextLogo = (props) => /* @__PURE__ */ (0,
|
|
4452
|
+
var AggBuildTextLogo = (props) => /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
4395
4453
|
"svg",
|
|
4396
4454
|
__spreadProps(__spreadValues({
|
|
4397
4455
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4401,50 +4459,50 @@ var AggBuildTextLogo = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)
|
|
|
4401
4459
|
fill: "none"
|
|
4402
4460
|
}, props), {
|
|
4403
4461
|
children: [
|
|
4404
|
-
/* @__PURE__ */ (0,
|
|
4462
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4405
4463
|
"path",
|
|
4406
4464
|
{
|
|
4407
4465
|
d: "M7.05537 10.5201L6.79138 8.00006L7.10337 7.12406L6.79138 6.26006L7.05537 3.72806H8.66337L8.30337 7.12406L8.66337 10.5201H7.05537ZM7.53537 7.12406C7.38337 7.83606 7.13137 8.46006 6.77937 8.99606C6.42737 9.53206 5.99137 9.94806 5.47137 10.2441C4.95937 10.5401 4.38737 10.6881 3.75537 10.6881C3.09137 10.6881 2.50337 10.5401 1.99137 10.2441C1.47938 9.94006 1.07937 9.52006 0.791375 8.98406C0.503375 8.44806 0.359375 7.82806 0.359375 7.12406C0.359375 6.41206 0.503375 5.79206 0.791375 5.26406C1.07937 4.72806 1.47938 4.31206 1.99137 4.01606C2.50337 3.71206 3.09137 3.56006 3.75537 3.56006C4.38737 3.56006 4.95937 3.70806 5.47137 4.00406C5.99137 4.30006 6.42737 4.71606 6.77937 5.25206C7.13937 5.78006 7.39137 6.40406 7.53537 7.12406ZM1.94337 7.12406C1.94337 7.58006 2.03537 7.98406 2.21937 8.33606C2.41137 8.68006 2.67137 8.95206 2.99937 9.15206C3.32737 9.34406 3.70337 9.44006 4.12737 9.44006C4.55937 9.44006 4.95937 9.34406 5.32737 9.15206C5.69537 8.95206 6.01937 8.68006 6.29938 8.33606C6.58738 7.98406 6.81537 7.58006 6.98337 7.12406C6.81537 6.66806 6.58738 6.26806 6.29938 5.92406C6.01937 5.57206 5.69537 5.30006 5.32737 5.10806C4.95937 4.90806 4.55937 4.80806 4.12737 4.80806C3.70337 4.80806 3.32737 4.90806 2.99937 5.10806C2.67137 5.30006 2.41137 5.57206 2.21937 5.92406C2.03537 6.26806 1.94337 6.66806 1.94337 7.12406Z",
|
|
4408
4466
|
fill: "currentColor"
|
|
4409
4467
|
}
|
|
4410
4468
|
),
|
|
4411
|
-
/* @__PURE__ */ (0,
|
|
4469
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4412
4470
|
"path",
|
|
4413
4471
|
{
|
|
4414
4472
|
d: "M16.3327 8.85206V7.65206L16.3927 7.43606V6.12806L16.3327 5.88806V3.72806H17.8927V8.70806C17.8927 9.58006 17.7087 10.3081 17.3407 10.8921C16.9727 11.4841 16.4687 11.9281 15.8287 12.2241C15.1887 12.5201 14.4527 12.6681 13.6207 12.6681C13.0127 12.6681 12.4527 12.5881 11.9407 12.4281C11.4287 12.2681 10.9327 12.0241 10.4527 11.6961V10.4001C10.9407 10.7841 11.4447 11.0521 11.9647 11.2041C12.4847 11.3641 13.0047 11.4441 13.5247 11.4441C14.4367 11.4441 15.1327 11.2201 15.6127 10.7721C16.0927 10.3241 16.3327 9.68406 16.3327 8.85206ZM13.0687 9.99206C12.4447 9.99206 11.8847 9.86006 11.3887 9.59606C10.8927 9.32406 10.5007 8.94806 10.2127 8.46806C9.92469 7.98806 9.78069 7.42406 9.78069 6.77606C9.78069 6.12806 9.92469 5.56406 10.2127 5.08406C10.5007 4.60406 10.8927 4.23206 11.3887 3.96806C11.8847 3.69606 12.4447 3.56006 13.0687 3.56006C13.5327 3.56006 13.9607 3.63206 14.3527 3.77606C14.7527 3.92006 15.1087 4.11206 15.4207 4.35206C15.7407 4.58406 16.0087 4.84406 16.2247 5.13206C16.4487 5.41206 16.6207 5.70006 16.7407 5.99606C16.8607 6.28406 16.9207 6.54806 16.9207 6.78806C16.9207 7.10006 16.8287 7.44406 16.6447 7.82006C16.4607 8.18806 16.1967 8.53606 15.8527 8.86406C15.5167 9.19206 15.1127 9.46406 14.6407 9.68006C14.1687 9.88806 13.6447 9.99206 13.0687 9.99206ZM13.5487 8.84006C14.1167 8.84006 14.6367 8.67606 15.1087 8.34806C15.5887 8.02006 16.0167 7.49606 16.3927 6.77606C16.0167 6.04006 15.5887 5.51206 15.1087 5.19206C14.6367 4.86406 14.1167 4.70006 13.5487 4.70006C13.0847 4.70006 12.6887 4.78806 12.3607 4.96406C12.0327 5.14006 11.7807 5.38406 11.6047 5.69606C11.4367 6.00806 11.3527 6.36806 11.3527 6.77606C11.3527 7.17606 11.4367 7.53206 11.6047 7.84406C11.7807 8.15606 12.0327 8.40006 12.3607 8.57606C12.6887 8.75206 13.0847 8.84006 13.5487 8.84006Z",
|
|
4415
4473
|
fill: "currentColor"
|
|
4416
4474
|
}
|
|
4417
4475
|
),
|
|
4418
|
-
/* @__PURE__ */ (0,
|
|
4476
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4419
4477
|
"path",
|
|
4420
4478
|
{
|
|
4421
4479
|
d: "M25.6842 8.85206V7.65206L25.7442 7.43606V6.12806L25.6842 5.88806V3.72806H27.2442V8.70806C27.2442 9.58006 27.0602 10.3081 26.6922 10.8921C26.3242 11.4841 25.8202 11.9281 25.1802 12.2241C24.5402 12.5201 23.8042 12.6681 22.9722 12.6681C22.3642 12.6681 21.8042 12.5881 21.2922 12.4281C20.7802 12.2681 20.2842 12.0241 19.8042 11.6961V10.4001C20.2922 10.7841 20.7962 11.0521 21.3162 11.2041C21.8362 11.3641 22.3562 11.4441 22.8762 11.4441C23.7882 11.4441 24.4842 11.2201 24.9642 10.7721C25.4442 10.3241 25.6842 9.68406 25.6842 8.85206ZM22.4202 9.99206C21.7962 9.99206 21.2362 9.86006 20.7402 9.59606C20.2442 9.32406 19.8522 8.94806 19.5642 8.46806C19.2762 7.98806 19.1322 7.42406 19.1322 6.77606C19.1322 6.12806 19.2762 5.56406 19.5642 5.08406C19.8522 4.60406 20.2442 4.23206 20.7402 3.96806C21.2362 3.69606 21.7962 3.56006 22.4202 3.56006C22.8842 3.56006 23.3122 3.63206 23.7042 3.77606C24.1042 3.92006 24.4602 4.11206 24.7722 4.35206C25.0922 4.58406 25.3602 4.84406 25.5762 5.13206C25.8002 5.41206 25.9722 5.70006 26.0922 5.99606C26.2122 6.28406 26.2722 6.54806 26.2722 6.78806C26.2722 7.10006 26.1802 7.44406 25.9962 7.82006C25.8122 8.18806 25.5482 8.53606 25.2042 8.86406C24.8682 9.19206 24.4642 9.46406 23.9922 9.68006C23.5202 9.88806 22.9962 9.99206 22.4202 9.99206ZM22.9002 8.84006C23.4682 8.84006 23.9882 8.67606 24.4602 8.34806C24.9402 8.02006 25.3682 7.49606 25.7442 6.77606C25.3682 6.04006 24.9402 5.51206 24.4602 5.19206C23.9882 4.86406 23.4682 4.70006 22.9002 4.70006C22.4362 4.70006 22.0402 4.78806 21.7122 4.96406C21.3842 5.14006 21.1322 5.38406 20.9562 5.69606C20.7882 6.00806 20.7042 6.36806 20.7042 6.77606C20.7042 7.17606 20.7882 7.53206 20.9562 7.84406C21.1322 8.15606 21.3842 8.40006 21.7122 8.57606C22.0402 8.75206 22.4362 8.84006 22.9002 8.84006Z",
|
|
4422
4480
|
fill: "currentColor"
|
|
4423
4481
|
}
|
|
4424
4482
|
),
|
|
4425
|
-
/* @__PURE__ */ (0,
|
|
4483
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4426
4484
|
"path",
|
|
4427
4485
|
{
|
|
4428
4486
|
d: "M35.1374 10.7411C34.7383 10.7411 34.3709 10.6821 34.0353 10.5642C33.7087 10.4372 33.423 10.2694 33.1781 10.0608C32.9332 9.84307 32.7382 9.59816 32.593 9.32604L32.5114 10.5778H31.6406V0.781475H32.593V4.95852C32.8198 4.56848 33.1464 4.2374 33.5727 3.96528C33.999 3.69316 34.5206 3.5571 35.1374 3.5571C35.8086 3.5571 36.3937 3.71584 36.8925 4.03331C37.3914 4.34171 37.7724 4.76803 38.0354 5.31227C38.3076 5.84744 38.4436 6.45971 38.4436 7.14908C38.4436 7.83845 38.3076 8.45526 38.0354 8.9995C37.7633 9.54374 37.3778 9.97006 36.8789 10.2785C36.3891 10.5869 35.8086 10.7411 35.1374 10.7411ZM35.0693 9.9111C35.5501 9.9111 35.9673 9.79772 36.3211 9.57095C36.6748 9.34419 36.956 9.02218 37.1647 8.60493C37.3733 8.18768 37.4776 7.70239 37.4776 7.14908C37.4776 6.5867 37.3733 6.10142 37.1647 5.69324C36.956 5.27599 36.6703 4.95398 36.3075 4.72722C35.9537 4.50045 35.541 4.38707 35.0693 4.38707C34.5977 4.38707 34.1759 4.50045 33.804 4.72722C33.4412 4.95398 33.1554 5.27599 32.9468 5.69324C32.7472 6.11049 32.6475 6.59577 32.6475 7.14908C32.6475 7.71147 32.7472 8.20128 32.9468 8.61853C33.1554 9.02671 33.4412 9.34419 33.804 9.57095C34.1759 9.79772 34.5977 9.9111 35.0693 9.9111Z",
|
|
4429
4487
|
fill: "currentColor"
|
|
4430
4488
|
}
|
|
4431
4489
|
),
|
|
4432
|
-
/* @__PURE__ */ (0,
|
|
4490
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4433
4491
|
"path",
|
|
4434
4492
|
{
|
|
4435
4493
|
d: "M42.5542 10.7411C42.0372 10.7411 41.5791 10.6413 41.18 10.4417C40.79 10.2331 40.4861 9.92017 40.2684 9.50292C40.0507 9.0766 39.9419 8.53236 39.9419 7.8702V3.72037H40.8943V7.76135C40.8943 8.48701 41.053 9.02671 41.3705 9.38047C41.6971 9.73422 42.1461 9.9111 42.7175 9.9111C43.1257 9.9111 43.4885 9.81586 43.806 9.62538C44.1325 9.43489 44.3865 9.1537 44.5679 8.78181C44.7584 8.40084 44.8536 7.93823 44.8536 7.39399V3.72037H45.8061V10.5778H44.9353L44.8809 9.35326C44.6632 9.79772 44.3457 10.1424 43.9284 10.3873C43.5203 10.6231 43.0622 10.7411 42.5542 10.7411Z",
|
|
4436
4494
|
fill: "currentColor"
|
|
4437
4495
|
}
|
|
4438
4496
|
),
|
|
4439
|
-
/* @__PURE__ */ (0,
|
|
4497
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4440
4498
|
"path",
|
|
4441
4499
|
{
|
|
4442
4500
|
d: "M47.8807 10.5778V3.72037H48.8195V10.5778H47.8807ZM48.3569 2.10126C48.1664 2.10126 48.0031 2.03776 47.8671 1.91077C47.731 1.77471 47.663 1.60691 47.663 1.40735C47.663 1.19873 47.7265 1.03545 47.8535 0.917535C47.9895 0.790545 48.1528 0.727051 48.3433 0.727051C48.5338 0.727051 48.697 0.790545 48.8331 0.917535C48.9691 1.03545 49.0372 1.19873 49.0372 1.40735C49.0372 1.60691 48.9691 1.77471 48.8331 1.91077C48.7061 2.03776 48.5474 2.10126 48.3569 2.10126Z",
|
|
4443
4501
|
fill: "currentColor"
|
|
4444
4502
|
}
|
|
4445
4503
|
),
|
|
4446
|
-
/* @__PURE__ */ (0,
|
|
4447
|
-
/* @__PURE__ */ (0,
|
|
4504
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("path", { d: "M50.8937 10.5778V0.781475H51.8461V10.5778H50.8937Z", fill: "currentColor" }),
|
|
4505
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4448
4506
|
"path",
|
|
4449
4507
|
{
|
|
4450
4508
|
d: "M56.7703 10.7411C56.1081 10.7411 55.5276 10.5869 55.0287 10.2785C54.5389 9.96099 54.1579 9.53013 53.8858 8.98589C53.6137 8.44165 53.4776 7.82485 53.4776 7.13548C53.4776 6.44611 53.6137 5.83384 53.8858 5.29867C54.1579 4.75443 54.5434 4.32811 55.0423 4.0197C55.5412 3.7113 56.1217 3.5571 56.7839 3.5571C57.3644 3.5571 57.8724 3.68409 58.3078 3.93807C58.7522 4.18298 59.0924 4.5322 59.3282 4.98573V0.781475H60.2806V10.5778H59.4098L59.3282 9.33965C59.1831 9.57549 58.9926 9.80225 58.7568 10.02C58.53 10.2376 58.2488 10.4145 57.9132 10.5506C57.5866 10.6776 57.2057 10.7411 56.7703 10.7411ZM56.8519 9.9111C57.3327 9.9111 57.7499 9.79772 58.1037 9.57095C58.4665 9.34419 58.7477 9.02218 58.9472 8.60493C59.1559 8.18768 59.2602 7.70239 59.2602 7.14908C59.2602 6.59577 59.1559 6.11049 58.9472 5.69324C58.7477 5.27599 58.4665 4.95398 58.1037 4.72722C57.7499 4.50045 57.3327 4.38707 56.8519 4.38707C56.3802 4.38707 55.963 4.50045 55.6002 4.72722C55.2373 4.95398 54.9516 5.27599 54.743 5.69324C54.5434 6.10142 54.4436 6.5867 54.4436 7.14908C54.4436 7.71147 54.548 8.20128 54.7566 8.61853C54.9652 9.02671 55.2509 9.34419 55.6138 9.57095C55.9766 9.79772 56.3893 9.9111 56.8519 9.9111Z",
|
|
@@ -4476,8 +4534,8 @@ var DEFAULT_FOOTER_LINKS = [
|
|
|
4476
4534
|
];
|
|
4477
4535
|
|
|
4478
4536
|
// src/primitives/footer/index.tsx
|
|
4479
|
-
var
|
|
4480
|
-
var XIcon = (props) => /* @__PURE__ */ (0,
|
|
4537
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
4538
|
+
var XIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4481
4539
|
"svg",
|
|
4482
4540
|
__spreadProps(__spreadValues({
|
|
4483
4541
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4487,7 +4545,7 @@ var XIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
|
4487
4545
|
fill: "none",
|
|
4488
4546
|
"aria-hidden": "true"
|
|
4489
4547
|
}, props), {
|
|
4490
|
-
children: /* @__PURE__ */ (0,
|
|
4548
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4491
4549
|
"path",
|
|
4492
4550
|
{
|
|
4493
4551
|
d: "M12.2167 1.33325H14.4669L9.5523 6.94875L15.3334 14.5913H10.8081L7.26125 9.95725L3.20714 14.5913H0.953359L6.20891 8.58347L0.666748 1.33325H5.30691L8.50975 5.56886L12.2167 1.33325ZM11.4266 13.2463H12.6726L4.62797 2.60803H3.28964L11.4266 13.2463Z",
|
|
@@ -4497,8 +4555,8 @@ var XIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
|
4497
4555
|
})
|
|
4498
4556
|
);
|
|
4499
4557
|
var renderLink = (link, linkClass) => {
|
|
4500
|
-
const inner = /* @__PURE__ */ (0,
|
|
4501
|
-
/* @__PURE__ */ (0,
|
|
4558
|
+
const inner = /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_jsx_runtime84.Fragment, { children: [
|
|
4559
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4502
4560
|
"span",
|
|
4503
4561
|
{
|
|
4504
4562
|
className: "hidden md:inline",
|
|
@@ -4506,11 +4564,11 @@ var renderLink = (link, linkClass) => {
|
|
|
4506
4564
|
children: link.label
|
|
4507
4565
|
}
|
|
4508
4566
|
),
|
|
4509
|
-
link.mobileLabel !== void 0 && link.mobileLabel !== link.label ? /* @__PURE__ */ (0,
|
|
4510
|
-
link.mobileLabel !== void 0 && link.mobileLabel !== link.label && /* @__PURE__ */ (0,
|
|
4567
|
+
link.mobileLabel !== void 0 && link.mobileLabel !== link.label ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: "md:hidden", children: link.mobileLabel }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: "md:hidden", "aria-hidden": "true", children: link.label }),
|
|
4568
|
+
link.mobileLabel !== void 0 && link.mobileLabel !== link.label && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: "sr-only", children: link.label })
|
|
4511
4569
|
] });
|
|
4512
4570
|
if (link.href) {
|
|
4513
|
-
return /* @__PURE__ */ (0,
|
|
4571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4514
4572
|
"a",
|
|
4515
4573
|
{
|
|
4516
4574
|
href: link.href,
|
|
@@ -4523,7 +4581,7 @@ var renderLink = (link, linkClass) => {
|
|
|
4523
4581
|
);
|
|
4524
4582
|
}
|
|
4525
4583
|
if (link.onClick) {
|
|
4526
|
-
return /* @__PURE__ */ (0,
|
|
4584
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4527
4585
|
"button",
|
|
4528
4586
|
{
|
|
4529
4587
|
type: "button",
|
|
@@ -4533,7 +4591,7 @@ var renderLink = (link, linkClass) => {
|
|
|
4533
4591
|
}
|
|
4534
4592
|
);
|
|
4535
4593
|
}
|
|
4536
|
-
return /* @__PURE__ */ (0,
|
|
4594
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: linkClass, children: inner });
|
|
4537
4595
|
};
|
|
4538
4596
|
var Footer = ({
|
|
4539
4597
|
links = DEFAULT_FOOTER_LINKS,
|
|
@@ -4549,13 +4607,13 @@ var Footer = ({
|
|
|
4549
4607
|
"text-xs text-agg-muted-foreground whitespace-nowrap transition-colors hover:text-agg-foreground md:text-sm",
|
|
4550
4608
|
classNames == null ? void 0 : classNames.link
|
|
4551
4609
|
);
|
|
4552
|
-
return /* @__PURE__ */ (0,
|
|
4610
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4553
4611
|
"footer",
|
|
4554
4612
|
{
|
|
4555
4613
|
role: "contentinfo",
|
|
4556
4614
|
"aria-label": ariaLabel,
|
|
4557
4615
|
className: cn(baseFooterClasses, classNames == null ? void 0 : classNames.root),
|
|
4558
|
-
children: /* @__PURE__ */ (0,
|
|
4616
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
|
|
4559
4617
|
"div",
|
|
4560
4618
|
{
|
|
4561
4619
|
className: cn(
|
|
@@ -4563,7 +4621,7 @@ var Footer = ({
|
|
|
4563
4621
|
classNames == null ? void 0 : classNames.inner
|
|
4564
4622
|
),
|
|
4565
4623
|
children: [
|
|
4566
|
-
/* @__PURE__ */ (0,
|
|
4624
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
|
|
4567
4625
|
"a",
|
|
4568
4626
|
{
|
|
4569
4627
|
href: AGG_DEFAULT_URL,
|
|
@@ -4574,16 +4632,16 @@ var Footer = ({
|
|
|
4574
4632
|
classNames == null ? void 0 : classNames.leftSection
|
|
4575
4633
|
),
|
|
4576
4634
|
children: [
|
|
4577
|
-
/* @__PURE__ */ (0,
|
|
4578
|
-
/* @__PURE__ */ (0,
|
|
4579
|
-
/* @__PURE__ */ (0,
|
|
4580
|
-
/* @__PURE__ */ (0,
|
|
4635
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "hidden items-center gap-1 md:flex", children: [
|
|
4636
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(AggBuildIcon, { className: "size-4 shrink-0" }),
|
|
4637
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: "whitespace-nowrap text-sm text-agg-muted-foreground transition-colors group-hover/brand:text-agg-foreground", children: "Built with" }),
|
|
4638
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(AggBuildTextLogo, { "aria-label": "agg build", className: "shrink-0 text-agg-foreground" })
|
|
4581
4639
|
] }),
|
|
4582
|
-
/* @__PURE__ */ (0,
|
|
4640
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(AggBuildLogo, { "aria-label": "agg build", className: "h-3.5 w-auto text-agg-foreground" }) })
|
|
4583
4641
|
]
|
|
4584
4642
|
}
|
|
4585
4643
|
),
|
|
4586
|
-
/* @__PURE__ */ (0,
|
|
4644
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
|
|
4587
4645
|
"div",
|
|
4588
4646
|
{
|
|
4589
4647
|
className: cn(
|
|
@@ -4591,8 +4649,8 @@ var Footer = ({
|
|
|
4591
4649
|
classNames == null ? void 0 : classNames.rightSection
|
|
4592
4650
|
),
|
|
4593
4651
|
children: [
|
|
4594
|
-
/* @__PURE__ */ (0,
|
|
4595
|
-
i > 0 && /* @__PURE__ */ (0,
|
|
4652
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "flex items-center gap-2", children: links.map((link, i) => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_react7.Fragment, { children: [
|
|
4653
|
+
i > 0 && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4596
4654
|
"span",
|
|
4597
4655
|
{
|
|
4598
4656
|
"aria-hidden": "true",
|
|
@@ -4605,15 +4663,15 @@ var Footer = ({
|
|
|
4605
4663
|
),
|
|
4606
4664
|
renderLink(link, linkClass)
|
|
4607
4665
|
] }, link.label)) }),
|
|
4608
|
-
email && /* @__PURE__ */ (0,
|
|
4609
|
-
/* @__PURE__ */ (0,
|
|
4666
|
+
email && /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_jsx_runtime84.Fragment, { children: [
|
|
4667
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4610
4668
|
"div",
|
|
4611
4669
|
{
|
|
4612
4670
|
"aria-hidden": "true",
|
|
4613
4671
|
className: "hidden h-3 w-px shrink-0 bg-agg-separator md:block"
|
|
4614
4672
|
}
|
|
4615
4673
|
),
|
|
4616
|
-
emailHref ? /* @__PURE__ */ (0,
|
|
4674
|
+
emailHref ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4617
4675
|
"a",
|
|
4618
4676
|
{
|
|
4619
4677
|
href: emailHref,
|
|
@@ -4625,7 +4683,7 @@ var Footer = ({
|
|
|
4625
4683
|
),
|
|
4626
4684
|
children: email
|
|
4627
4685
|
}
|
|
4628
|
-
) : /* @__PURE__ */ (0,
|
|
4686
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4629
4687
|
"span",
|
|
4630
4688
|
{
|
|
4631
4689
|
className: cn(
|
|
@@ -4636,15 +4694,15 @@ var Footer = ({
|
|
|
4636
4694
|
}
|
|
4637
4695
|
)
|
|
4638
4696
|
] }),
|
|
4639
|
-
hasX && /* @__PURE__ */ (0,
|
|
4640
|
-
/* @__PURE__ */ (0,
|
|
4697
|
+
hasX && /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_jsx_runtime84.Fragment, { children: [
|
|
4698
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4641
4699
|
"div",
|
|
4642
4700
|
{
|
|
4643
4701
|
"aria-hidden": "true",
|
|
4644
4702
|
className: "hidden h-3 w-px shrink-0 bg-agg-separator md:block"
|
|
4645
4703
|
}
|
|
4646
4704
|
),
|
|
4647
|
-
xHref ? /* @__PURE__ */ (0,
|
|
4705
|
+
xHref ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4648
4706
|
"a",
|
|
4649
4707
|
{
|
|
4650
4708
|
href: xHref,
|
|
@@ -4655,9 +4713,9 @@ var Footer = ({
|
|
|
4655
4713
|
"hidden items-center text-agg-muted-foreground transition-colors hover:text-agg-foreground md:flex",
|
|
4656
4714
|
classNames == null ? void 0 : classNames.xLink
|
|
4657
4715
|
),
|
|
4658
|
-
children: /* @__PURE__ */ (0,
|
|
4716
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(XIcon, { className: "size-4" })
|
|
4659
4717
|
}
|
|
4660
|
-
) : /* @__PURE__ */ (0,
|
|
4718
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4661
4719
|
"button",
|
|
4662
4720
|
{
|
|
4663
4721
|
type: "button",
|
|
@@ -4667,7 +4725,7 @@ var Footer = ({
|
|
|
4667
4725
|
"hidden cursor-pointer items-center border-0 bg-transparent p-0 text-agg-muted-foreground transition-colors hover:text-agg-foreground md:flex",
|
|
4668
4726
|
classNames == null ? void 0 : classNames.xLink
|
|
4669
4727
|
),
|
|
4670
|
-
children: /* @__PURE__ */ (0,
|
|
4728
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(XIcon, { className: "size-4" })
|
|
4671
4729
|
}
|
|
4672
4730
|
)
|
|
4673
4731
|
] })
|
|
@@ -4687,7 +4745,7 @@ var import_hooks27 = require("@agg-build/hooks");
|
|
|
4687
4745
|
|
|
4688
4746
|
// src/primitives/search/index.tsx
|
|
4689
4747
|
var import_hooks26 = require("@agg-build/hooks");
|
|
4690
|
-
var
|
|
4748
|
+
var import_react9 = require("react");
|
|
4691
4749
|
|
|
4692
4750
|
// src/events/list/event-list.utils.ts
|
|
4693
4751
|
var import_hooks8 = require("@agg-build/hooks");
|
|
@@ -4973,16 +5031,16 @@ var filterOpenEvents = (events) => {
|
|
|
4973
5031
|
|
|
4974
5032
|
// src/primitives/remote-image/index.tsx
|
|
4975
5033
|
var import_hooks10 = require("@agg-build/hooks");
|
|
4976
|
-
var
|
|
5034
|
+
var import_react8 = require("react");
|
|
4977
5035
|
|
|
4978
5036
|
// src/primitives/skeleton/skeleton-block.tsx
|
|
4979
5037
|
var import_hooks9 = require("@agg-build/hooks");
|
|
4980
|
-
var
|
|
5038
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
4981
5039
|
var SkeletonBlock = ({ className }) => {
|
|
4982
5040
|
const {
|
|
4983
5041
|
features: { enableAnimations }
|
|
4984
5042
|
} = (0, import_hooks9.useSdkUiConfig)();
|
|
4985
|
-
return /* @__PURE__ */ (0,
|
|
5043
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4986
5044
|
"div",
|
|
4987
5045
|
{
|
|
4988
5046
|
"aria-hidden": true,
|
|
@@ -5011,7 +5069,7 @@ var resolveRemoteImageStatusFromSrc = (src) => {
|
|
|
5011
5069
|
};
|
|
5012
5070
|
|
|
5013
5071
|
// src/primitives/remote-image/index.tsx
|
|
5014
|
-
var
|
|
5072
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
5015
5073
|
var RemoteImage = ({
|
|
5016
5074
|
src,
|
|
5017
5075
|
alt,
|
|
@@ -5027,10 +5085,10 @@ var RemoteImage = ({
|
|
|
5027
5085
|
general: { theme }
|
|
5028
5086
|
} = (0, import_hooks10.useSdkUiConfig)();
|
|
5029
5087
|
const isDarkTheme = theme === "dark";
|
|
5030
|
-
const [status, setStatus] = (0,
|
|
5088
|
+
const [status, setStatus] = (0, import_react8.useState)(
|
|
5031
5089
|
() => resolveRemoteImageStatusFromSrc(src)
|
|
5032
5090
|
);
|
|
5033
|
-
const prevSrcRef = (0,
|
|
5091
|
+
const prevSrcRef = (0, import_react8.useRef)(src);
|
|
5034
5092
|
if (src !== prevSrcRef.current) {
|
|
5035
5093
|
prevSrcRef.current = src;
|
|
5036
5094
|
const next = resolveRemoteImageStatusFromSrc(src);
|
|
@@ -5045,7 +5103,7 @@ var RemoteImage = ({
|
|
|
5045
5103
|
setStatus("error");
|
|
5046
5104
|
};
|
|
5047
5105
|
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
5048
|
-
return /* @__PURE__ */ (0,
|
|
5106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
|
|
5049
5107
|
"div",
|
|
5050
5108
|
{
|
|
5051
5109
|
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
@@ -5062,14 +5120,14 @@ var RemoteImage = ({
|
|
|
5062
5120
|
"aria-label": ariaLabel,
|
|
5063
5121
|
title,
|
|
5064
5122
|
children: [
|
|
5065
|
-
status === "loading" && /* @__PURE__ */ (0,
|
|
5066
|
-
status === "error" && /* @__PURE__ */ (0,
|
|
5123
|
+
status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
|
|
5124
|
+
status === "error" && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
5067
5125
|
"div",
|
|
5068
5126
|
{
|
|
5069
5127
|
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
5070
5128
|
"aria-hidden": true,
|
|
5071
5129
|
"aria-errormessage": "Image failed to load",
|
|
5072
|
-
children: /* @__PURE__ */ (0,
|
|
5130
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
5073
5131
|
Icon,
|
|
5074
5132
|
{
|
|
5075
5133
|
name: "image",
|
|
@@ -5080,7 +5138,7 @@ var RemoteImage = ({
|
|
|
5080
5138
|
)
|
|
5081
5139
|
}
|
|
5082
5140
|
),
|
|
5083
|
-
isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ (0,
|
|
5141
|
+
isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
5084
5142
|
"img",
|
|
5085
5143
|
{
|
|
5086
5144
|
src,
|
|
@@ -5112,7 +5170,7 @@ var import_hooks11 = require("@agg-build/hooks");
|
|
|
5112
5170
|
var baseCardClassName = "gap-3 overflow-hidden p-5 w-full";
|
|
5113
5171
|
|
|
5114
5172
|
// src/primitives/skeleton/views/event-list-item-skeleton-view.tsx
|
|
5115
|
-
var
|
|
5173
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
5116
5174
|
var EventListItemSkeletonView = ({
|
|
5117
5175
|
className,
|
|
5118
5176
|
ariaLabel,
|
|
@@ -5120,7 +5178,7 @@ var EventListItemSkeletonView = ({
|
|
|
5120
5178
|
}) => {
|
|
5121
5179
|
const labels = (0, import_hooks11.useLabels)();
|
|
5122
5180
|
const outcomeTitleWidths = ["w-40", "w-[200px]"];
|
|
5123
|
-
return /* @__PURE__ */ (0,
|
|
5181
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
5124
5182
|
Card,
|
|
5125
5183
|
{
|
|
5126
5184
|
className: cn("group/agg-skeleton", baseCardClassName, className),
|
|
@@ -5129,23 +5187,23 @@ var EventListItemSkeletonView = ({
|
|
|
5129
5187
|
"aria-busy": isStandalone || void 0,
|
|
5130
5188
|
"aria-hidden": isStandalone ? void 0 : true,
|
|
5131
5189
|
children: [
|
|
5132
|
-
/* @__PURE__ */ (0,
|
|
5133
|
-
/* @__PURE__ */ (0,
|
|
5134
|
-
/* @__PURE__ */ (0,
|
|
5190
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex h-10 w-full items-center gap-3 justify-stretch", children: [
|
|
5191
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
|
|
5192
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
|
|
5135
5193
|
] }),
|
|
5136
|
-
/* @__PURE__ */ (0,
|
|
5137
|
-
/* @__PURE__ */ (0,
|
|
5138
|
-
/* @__PURE__ */ (0,
|
|
5194
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-col gap-3", children: outcomeTitleWidths.map((outcomeTitleWidth, index) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex w-full items-center justify-between gap-3", children: [
|
|
5195
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SkeletonBlock, { className: cn("h-5 rounded-agg-sm", outcomeTitleWidth) }),
|
|
5196
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SkeletonBlock, { className: "h-8 w-[100px] rounded-agg-full" })
|
|
5139
5197
|
] }, index)) }),
|
|
5140
|
-
/* @__PURE__ */ (0,
|
|
5141
|
-
/* @__PURE__ */ (0,
|
|
5142
|
-
/* @__PURE__ */ (0,
|
|
5143
|
-
/* @__PURE__ */ (0,
|
|
5144
|
-
/* @__PURE__ */ (0,
|
|
5145
|
-
/* @__PURE__ */ (0,
|
|
5198
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center justify-between gap-5 text-agg-muted-foreground", children: [
|
|
5199
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
5200
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" }),
|
|
5201
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
5202
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" }),
|
|
5203
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" })
|
|
5146
5204
|
] })
|
|
5147
5205
|
] }),
|
|
5148
|
-
/* @__PURE__ */ (0,
|
|
5206
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
5149
5207
|
] })
|
|
5150
5208
|
]
|
|
5151
5209
|
}
|
|
@@ -5154,10 +5212,10 @@ var EventListItemSkeletonView = ({
|
|
|
5154
5212
|
EventListItemSkeletonView.displayName = "EventListItemSkeletonView";
|
|
5155
5213
|
|
|
5156
5214
|
// src/primitives/skeleton/views/event-list-skeleton-view.tsx
|
|
5157
|
-
var
|
|
5215
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
5158
5216
|
var EventListSkeletonView = ({ className, ariaLabel }) => {
|
|
5159
5217
|
const labels = (0, import_hooks12.useLabels)();
|
|
5160
|
-
return /* @__PURE__ */ (0,
|
|
5218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
|
|
5161
5219
|
"section",
|
|
5162
5220
|
{
|
|
5163
5221
|
className: cn("group/agg-skeleton", "flex w-full flex-col gap-5", className),
|
|
@@ -5165,11 +5223,11 @@ var EventListSkeletonView = ({ className, ariaLabel }) => {
|
|
|
5165
5223
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventList.loading("events"),
|
|
5166
5224
|
"aria-busy": true,
|
|
5167
5225
|
children: [
|
|
5168
|
-
/* @__PURE__ */ (0,
|
|
5169
|
-
/* @__PURE__ */ (0,
|
|
5170
|
-
/* @__PURE__ */ (0,
|
|
5226
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("header", { className: "flex w-full flex-col items-start justify-between gap-3 md:flex-row md:flex-nowrap md:items-center md:gap-5", children: [
|
|
5227
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(SkeletonBlock, { className: "h-7 w-[120px] rounded-agg-md" }),
|
|
5228
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(SkeletonBlock, { className: "h-8 w-full rounded-agg-md md:w-[400px]" })
|
|
5171
5229
|
] }),
|
|
5172
|
-
/* @__PURE__ */ (0,
|
|
5230
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "grid grid-cols-[repeat(auto-fit,minmax(240px,1fr))] md:grid-cols-[repeat(auto-fit,minmax(360px,1fr))] gap-4", children: Array.from({ length: DEFAULT_EVENTS_LIMIT }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5173
5231
|
EventListItemSkeletonView,
|
|
5174
5232
|
{
|
|
5175
5233
|
isStandalone: false,
|
|
@@ -5190,13 +5248,13 @@ var import_hooks13 = require("@agg-build/hooks");
|
|
|
5190
5248
|
var detailsBaseCardClassName = "w-full gap-6 p-5 md:gap-8";
|
|
5191
5249
|
|
|
5192
5250
|
// src/primitives/skeleton/views/event-list-item-details-skeleton-view.tsx
|
|
5193
|
-
var
|
|
5251
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
5194
5252
|
var EventListItemDetailsSkeletonView = ({
|
|
5195
5253
|
className,
|
|
5196
5254
|
ariaLabel
|
|
5197
5255
|
}) => {
|
|
5198
5256
|
const labels = (0, import_hooks13.useLabels)();
|
|
5199
|
-
return /* @__PURE__ */ (0,
|
|
5257
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
|
|
5200
5258
|
Card,
|
|
5201
5259
|
{
|
|
5202
5260
|
className: cn("group/agg-skeleton", detailsBaseCardClassName, className),
|
|
@@ -5204,24 +5262,24 @@ var EventListItemDetailsSkeletonView = ({
|
|
|
5204
5262
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventItemDetails.loading,
|
|
5205
5263
|
"aria-busy": true,
|
|
5206
5264
|
children: [
|
|
5207
|
-
/* @__PURE__ */ (0,
|
|
5208
|
-
/* @__PURE__ */ (0,
|
|
5209
|
-
/* @__PURE__ */ (0,
|
|
5265
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
|
|
5266
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
|
|
5267
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
|
|
5210
5268
|
] }),
|
|
5211
|
-
/* @__PURE__ */ (0,
|
|
5212
|
-
/* @__PURE__ */ (0,
|
|
5213
|
-
/* @__PURE__ */ (0,
|
|
5214
|
-
/* @__PURE__ */ (0,
|
|
5215
|
-
/* @__PURE__ */ (0,
|
|
5216
|
-
/* @__PURE__ */ (0,
|
|
5269
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "flex w-full flex-col gap-4 md:gap-6", children: [
|
|
5270
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "flex w-full flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
|
|
5271
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "flex max-w-full gap-2 overflow-hidden", children: [
|
|
5272
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
|
|
5273
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
|
|
5274
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
|
|
5217
5275
|
] }),
|
|
5218
|
-
/* @__PURE__ */ (0,
|
|
5276
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(SkeletonBlock, { className: "h-9 w-full max-w-[221px] rounded-agg-full md:w-[221px]" })
|
|
5219
5277
|
] }),
|
|
5220
|
-
/* @__PURE__ */ (0,
|
|
5221
|
-
/* @__PURE__ */ (0,
|
|
5222
|
-
/* @__PURE__ */ (0,
|
|
5223
|
-
/* @__PURE__ */ (0,
|
|
5224
|
-
/* @__PURE__ */ (0,
|
|
5278
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
5279
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(SkeletonBlock, { className: "h-[220px] w-full rounded-agg-xl md:h-[240px]" }),
|
|
5280
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
5281
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(SkeletonBlock, { className: "h-5 w-[59px] rounded-agg-sm" }),
|
|
5282
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
|
|
5225
5283
|
] })
|
|
5226
5284
|
] })
|
|
5227
5285
|
] })
|
|
@@ -5238,34 +5296,34 @@ var import_hooks14 = require("@agg-build/hooks");
|
|
|
5238
5296
|
var marketDetailsBaseCardClassName = "w-full overflow-hidden rounded-agg-lg border border-agg-separator bg-agg-secondary text-agg-foreground shadow-none hover:shadow-none";
|
|
5239
5297
|
|
|
5240
5298
|
// src/primitives/skeleton/views/market-details-skeleton-view.tsx
|
|
5241
|
-
var
|
|
5299
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
5242
5300
|
var orderBookAskBarScales = ["93%", "47%", "33%", "31%"];
|
|
5243
5301
|
var orderBookBidBarScales = ["9%", "33%", "53%", "73%"];
|
|
5244
5302
|
var MarketDetailsHeaderSkeleton = () => {
|
|
5245
|
-
return /* @__PURE__ */ (0,
|
|
5246
|
-
/* @__PURE__ */ (0,
|
|
5247
|
-
/* @__PURE__ */ (0,
|
|
5248
|
-
/* @__PURE__ */ (0,
|
|
5249
|
-
/* @__PURE__ */ (0,
|
|
5250
|
-
/* @__PURE__ */ (0,
|
|
5303
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-3 px-4 py-3 md:px-5", children: [
|
|
5304
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:min-w-52 md:gap-4", children: [
|
|
5305
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
|
|
5306
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex min-w-0 flex-col gap-2", children: [
|
|
5307
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-6 w-[132px] rounded-agg-sm" }),
|
|
5308
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-4 w-[141px] rounded-agg-sm" })
|
|
5251
5309
|
] })
|
|
5252
5310
|
] }),
|
|
5253
|
-
/* @__PURE__ */ (0,
|
|
5254
|
-
/* @__PURE__ */ (0,
|
|
5255
|
-
/* @__PURE__ */ (0,
|
|
5256
|
-
/* @__PURE__ */ (0,
|
|
5311
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-9 w-[60px] rounded-agg-md" }),
|
|
5312
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex w-full gap-2 md:w-auto", children: [
|
|
5313
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[135px]" }),
|
|
5314
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[131px]" })
|
|
5257
5315
|
] })
|
|
5258
5316
|
] });
|
|
5259
5317
|
};
|
|
5260
5318
|
var MarketDetailsTabsSkeleton = () => {
|
|
5261
|
-
return /* @__PURE__ */ (0,
|
|
5262
|
-
/* @__PURE__ */ (0,
|
|
5263
|
-
/* @__PURE__ */ (0,
|
|
5264
|
-
/* @__PURE__ */ (0,
|
|
5319
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex h-14 items-end px-4 md:px-5", children: [
|
|
5320
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex h-full flex-col items-end justify-end rounded-t-agg-lg", children: [
|
|
5321
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }) }),
|
|
5322
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-[2px] w-full rounded-t-agg-sm" })
|
|
5265
5323
|
] }),
|
|
5266
|
-
/* @__PURE__ */ (0,
|
|
5267
|
-
/* @__PURE__ */ (0,
|
|
5268
|
-
/* @__PURE__ */ (0,
|
|
5324
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex h-full flex-col justify-center", children: [
|
|
5325
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-6 w-12 rounded-agg-sm" }) }),
|
|
5326
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "h-[2px] w-full" })
|
|
5269
5327
|
] })
|
|
5270
5328
|
] });
|
|
5271
5329
|
};
|
|
@@ -5273,25 +5331,25 @@ var MarketDetailsOrderBookRows = ({
|
|
|
5273
5331
|
side,
|
|
5274
5332
|
barScales
|
|
5275
5333
|
}) => {
|
|
5276
|
-
return /* @__PURE__ */ (0,
|
|
5334
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "flex flex-col", children: barScales.map((barScale, index) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
5277
5335
|
"div",
|
|
5278
5336
|
{
|
|
5279
5337
|
className: "flex h-9 items-center gap-2 overflow-hidden pr-5 md:gap-10",
|
|
5280
5338
|
children: [
|
|
5281
|
-
/* @__PURE__ */ (0,
|
|
5339
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "relative h-9 min-h-0 min-w-0 flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
5282
5340
|
"div",
|
|
5283
5341
|
{
|
|
5284
5342
|
className: "absolute inset-y-0 left-0",
|
|
5285
5343
|
style: { right: `${100 - parseFloat(barScale)}%` },
|
|
5286
|
-
children: /* @__PURE__ */ (0,
|
|
5344
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-full w-full rounded-none" })
|
|
5287
5345
|
}
|
|
5288
5346
|
) }),
|
|
5289
|
-
/* @__PURE__ */ (0,
|
|
5290
|
-
/* @__PURE__ */ (0,
|
|
5291
|
-
/* @__PURE__ */ (0,
|
|
5347
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex w-20 shrink-0 items-center gap-1 md:w-[120px]", children: [
|
|
5348
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm md:w-12" }),
|
|
5349
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "size-3.5 rounded-agg-sm" })
|
|
5292
5350
|
] }),
|
|
5293
|
-
/* @__PURE__ */ (0,
|
|
5294
|
-
/* @__PURE__ */ (0,
|
|
5351
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
|
|
5352
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
|
|
5295
5353
|
]
|
|
5296
5354
|
},
|
|
5297
5355
|
`${side}-row-${index}`
|
|
@@ -5300,19 +5358,19 @@ var MarketDetailsOrderBookRows = ({
|
|
|
5300
5358
|
var MarketDetailsOderbookSkeleton = ({
|
|
5301
5359
|
className
|
|
5302
5360
|
}) => {
|
|
5303
|
-
return /* @__PURE__ */ (0,
|
|
5304
|
-
/* @__PURE__ */ (0,
|
|
5305
|
-
/* @__PURE__ */ (0,
|
|
5306
|
-
/* @__PURE__ */ (0,
|
|
5307
|
-
/* @__PURE__ */ (0,
|
|
5308
|
-
/* @__PURE__ */ (0,
|
|
5361
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: cn("flex flex-col", className), children: [
|
|
5362
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex h-9 items-center gap-2 border-b border-agg-separator px-3 md:gap-10 md:px-5", children: [
|
|
5363
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-4 w-16 flex-1 rounded-agg-sm md:w-20" }),
|
|
5364
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-4 w-20 shrink-0 rounded-agg-sm md:w-[120px]" }),
|
|
5365
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
|
|
5366
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
|
|
5309
5367
|
] }),
|
|
5310
|
-
/* @__PURE__ */ (0,
|
|
5311
|
-
/* @__PURE__ */ (0,
|
|
5312
|
-
/* @__PURE__ */ (0,
|
|
5313
|
-
/* @__PURE__ */ (0,
|
|
5368
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(MarketDetailsOrderBookRows, { side: "ask", barScales: orderBookAskBarScales }),
|
|
5369
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex h-9 items-center gap-2 border-y border-agg-separator px-3 md:gap-10 md:px-5", children: [
|
|
5370
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-5 w-24 flex-1 rounded-agg-sm" }),
|
|
5371
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SkeletonBlock, { className: "h-5 w-20 shrink-0 rounded-agg-sm" })
|
|
5314
5372
|
] }),
|
|
5315
|
-
/* @__PURE__ */ (0,
|
|
5373
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(MarketDetailsOrderBookRows, { side: "bid", barScales: orderBookBidBarScales })
|
|
5316
5374
|
] });
|
|
5317
5375
|
};
|
|
5318
5376
|
var MarketDetailsSkeletonView = ({
|
|
@@ -5321,7 +5379,7 @@ var MarketDetailsSkeletonView = ({
|
|
|
5321
5379
|
isDetailed
|
|
5322
5380
|
}) => {
|
|
5323
5381
|
const labels = (0, import_hooks14.useLabels)();
|
|
5324
|
-
return /* @__PURE__ */ (0,
|
|
5382
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
5325
5383
|
Card,
|
|
5326
5384
|
{
|
|
5327
5385
|
className: cn("group/agg-skeleton", marketDetailsBaseCardClassName, className),
|
|
@@ -5329,12 +5387,12 @@ var MarketDetailsSkeletonView = ({
|
|
|
5329
5387
|
"aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.loading,
|
|
5330
5388
|
"aria-busy": true,
|
|
5331
5389
|
children: [
|
|
5332
|
-
/* @__PURE__ */ (0,
|
|
5333
|
-
isDetailed ? /* @__PURE__ */ (0,
|
|
5334
|
-
/* @__PURE__ */ (0,
|
|
5335
|
-
/* @__PURE__ */ (0,
|
|
5336
|
-
/* @__PURE__ */ (0,
|
|
5337
|
-
/* @__PURE__ */ (0,
|
|
5390
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(MarketDetailsHeaderSkeleton, {}),
|
|
5391
|
+
isDetailed ? /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_jsx_runtime90.Fragment, { children: [
|
|
5392
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
5393
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(MarketDetailsTabsSkeleton, {}),
|
|
5394
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
5395
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(MarketDetailsOderbookSkeleton, {})
|
|
5338
5396
|
] }) : null
|
|
5339
5397
|
]
|
|
5340
5398
|
}
|
|
@@ -5343,62 +5401,62 @@ var MarketDetailsSkeletonView = ({
|
|
|
5343
5401
|
MarketDetailsSkeletonView.displayName = "MarketDetailsSkeletonView";
|
|
5344
5402
|
|
|
5345
5403
|
// src/primitives/skeleton/views/place-order-skeleton-view.tsx
|
|
5346
|
-
var
|
|
5404
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
5347
5405
|
var placeOrderCardClassName = "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
|
|
5348
5406
|
var TabsSkeletonBar = () => {
|
|
5349
|
-
return /* @__PURE__ */ (0,
|
|
5350
|
-
/* @__PURE__ */ (0,
|
|
5351
|
-
/* @__PURE__ */ (0,
|
|
5352
|
-
/* @__PURE__ */ (0,
|
|
5407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex w-full items-end border-b border-agg-border", children: [
|
|
5408
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex flex-col rounded-t-agg-lg", children: [
|
|
5409
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
|
|
5410
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-[2px] w-full rounded-t-agg-sm" })
|
|
5353
5411
|
] }),
|
|
5354
|
-
/* @__PURE__ */ (0,
|
|
5355
|
-
/* @__PURE__ */ (0,
|
|
5356
|
-
/* @__PURE__ */ (0,
|
|
5412
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex flex-col", children: [
|
|
5413
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
|
|
5414
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "h-[2px] w-full" })
|
|
5357
5415
|
] })
|
|
5358
5416
|
] });
|
|
5359
5417
|
};
|
|
5360
5418
|
var ContentBody = () => {
|
|
5361
|
-
return /* @__PURE__ */ (0,
|
|
5362
|
-
/* @__PURE__ */ (0,
|
|
5363
|
-
/* @__PURE__ */ (0,
|
|
5364
|
-
/* @__PURE__ */ (0,
|
|
5365
|
-
/* @__PURE__ */ (0,
|
|
5366
|
-
/* @__PURE__ */ (0,
|
|
5367
|
-
/* @__PURE__ */ (0,
|
|
5419
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: cn("flex flex-col gap-6 p-5"), children: [
|
|
5420
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
5421
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
5422
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
|
|
5423
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
5424
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-4 w-[92%] max-w-[240px] rounded-agg-sm" }),
|
|
5425
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-4 w-[64%] max-w-[160px] rounded-agg-sm" })
|
|
5368
5426
|
] })
|
|
5369
5427
|
] }),
|
|
5370
|
-
/* @__PURE__ */ (0,
|
|
5371
|
-
/* @__PURE__ */ (0,
|
|
5428
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-6 w-[92px] rounded-agg-sm" }),
|
|
5429
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(TabsSkeletonBar, {})
|
|
5372
5430
|
] }),
|
|
5373
|
-
/* @__PURE__ */ (0,
|
|
5374
|
-
/* @__PURE__ */ (0,
|
|
5375
|
-
/* @__PURE__ */ (0,
|
|
5376
|
-
/* @__PURE__ */ (0,
|
|
5431
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
5432
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex w-full gap-2", children: [
|
|
5433
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
|
|
5434
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
|
|
5377
5435
|
] }),
|
|
5378
|
-
/* @__PURE__ */ (0,
|
|
5379
|
-
/* @__PURE__ */ (0,
|
|
5380
|
-
/* @__PURE__ */ (0,
|
|
5381
|
-
/* @__PURE__ */ (0,
|
|
5436
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
5437
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
5438
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-5 w-[63px] rounded-agg-sm" }),
|
|
5439
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-4 w-[118px] rounded-agg-sm" })
|
|
5382
5440
|
] }),
|
|
5383
|
-
/* @__PURE__ */ (0,
|
|
5441
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("p", { className: cn("text-agg-3xl font-agg-bold leading-agg-9 text-agg-separator"), children: "$0" })
|
|
5384
5442
|
] })
|
|
5385
5443
|
] }),
|
|
5386
|
-
/* @__PURE__ */ (0,
|
|
5387
|
-
/* @__PURE__ */ (0,
|
|
5444
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }),
|
|
5445
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[240px] self-center rounded-agg-sm" })
|
|
5388
5446
|
] });
|
|
5389
5447
|
};
|
|
5390
5448
|
var PlaceOrderSkeletonView = ({
|
|
5391
5449
|
className,
|
|
5392
5450
|
ariaLabel
|
|
5393
5451
|
}) => {
|
|
5394
|
-
return /* @__PURE__ */ (0,
|
|
5452
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5395
5453
|
"div",
|
|
5396
5454
|
{
|
|
5397
5455
|
className: cn("group/agg-skeleton", "w-full", className),
|
|
5398
5456
|
role: "status",
|
|
5399
5457
|
"aria-label": ariaLabel != null ? ariaLabel : "Loading place order",
|
|
5400
5458
|
"aria-busy": true,
|
|
5401
|
-
children: /* @__PURE__ */ (0,
|
|
5459
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Card, { className: cn(placeOrderCardClassName, "w-full"), children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ContentBody, {}) }) })
|
|
5402
5460
|
}
|
|
5403
5461
|
);
|
|
5404
5462
|
};
|
|
@@ -5406,33 +5464,33 @@ PlaceOrderSkeletonView.displayName = "PlaceOrderSkeletonView";
|
|
|
5406
5464
|
|
|
5407
5465
|
// src/primitives/skeleton/views/search-skeleton-view.tsx
|
|
5408
5466
|
var import_hooks15 = require("@agg-build/hooks");
|
|
5409
|
-
var
|
|
5467
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
5410
5468
|
var SearchSkeletonRow = () => {
|
|
5411
|
-
return /* @__PURE__ */ (0,
|
|
5412
|
-
/* @__PURE__ */ (0,
|
|
5413
|
-
/* @__PURE__ */ (0,
|
|
5414
|
-
/* @__PURE__ */ (0,
|
|
5415
|
-
/* @__PURE__ */ (0,
|
|
5416
|
-
/* @__PURE__ */ (0,
|
|
5417
|
-
/* @__PURE__ */ (0,
|
|
5418
|
-
/* @__PURE__ */ (0,
|
|
5419
|
-
/* @__PURE__ */ (0,
|
|
5469
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "flex w-full items-center gap-6 px-5 py-4", children: [
|
|
5470
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
|
|
5471
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
5472
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-[320px] rounded-agg-sm" }),
|
|
5473
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
5474
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SkeletonBlock, { className: "h-4 w-[104px] rounded-agg-sm" }),
|
|
5475
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
5476
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SkeletonBlock, { className: "size-[14px] rounded-[4px]" }),
|
|
5477
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SkeletonBlock, { className: "size-[14px] rounded-[4px]" })
|
|
5420
5478
|
] })
|
|
5421
5479
|
] })
|
|
5422
5480
|
] }),
|
|
5423
|
-
/* @__PURE__ */ (0,
|
|
5424
|
-
/* @__PURE__ */ (0,
|
|
5425
|
-
/* @__PURE__ */ (0,
|
|
5426
|
-
/* @__PURE__ */ (0,
|
|
5427
|
-
/* @__PURE__ */ (0,
|
|
5481
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "flex w-[200px] shrink-0 items-center gap-2", children: [
|
|
5482
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SkeletonBlock, { className: "size-4 rounded-[4px]" }),
|
|
5483
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
5484
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }),
|
|
5485
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SkeletonBlock, { className: "h-4 w-[60px] rounded-agg-sm" })
|
|
5428
5486
|
] })
|
|
5429
5487
|
] }),
|
|
5430
|
-
/* @__PURE__ */ (0,
|
|
5488
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SkeletonBlock, { className: "size-5 rounded-[4px]" })
|
|
5431
5489
|
] });
|
|
5432
5490
|
};
|
|
5433
5491
|
var SearchSkeletonView = ({ className, ariaLabel }) => {
|
|
5434
5492
|
const labels = (0, import_hooks15.useLabels)();
|
|
5435
|
-
return /* @__PURE__ */ (0,
|
|
5493
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
5436
5494
|
"div",
|
|
5437
5495
|
{
|
|
5438
5496
|
className: cn(
|
|
@@ -5444,8 +5502,8 @@ var SearchSkeletonView = ({ className, ariaLabel }) => {
|
|
|
5444
5502
|
"aria-label": ariaLabel != null ? ariaLabel : labels.search.loadingResults,
|
|
5445
5503
|
"aria-busy": true,
|
|
5446
5504
|
children: [
|
|
5447
|
-
/* @__PURE__ */ (0,
|
|
5448
|
-
/* @__PURE__ */ (0,
|
|
5505
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "pt-2", children: Array.from({ length: 4 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: cn(index > 0 && "border-t border-agg-separator"), children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SearchSkeletonRow, {}) }, index)) }),
|
|
5506
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "border-t border-agg-separator px-5 py-5", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SkeletonBlock, { className: "h-5 w-[116px] rounded-agg-sm" }) })
|
|
5449
5507
|
]
|
|
5450
5508
|
}
|
|
5451
5509
|
);
|
|
@@ -5454,13 +5512,13 @@ SearchSkeletonView.displayName = "SearchSkeletonView";
|
|
|
5454
5512
|
|
|
5455
5513
|
// src/primitives/skeleton/views/settlement-skeleton-view.tsx
|
|
5456
5514
|
var import_hooks16 = require("@agg-build/hooks");
|
|
5457
|
-
var
|
|
5515
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
5458
5516
|
var SettlementSkeletonView = ({
|
|
5459
5517
|
className,
|
|
5460
5518
|
ariaLabel
|
|
5461
5519
|
}) => {
|
|
5462
5520
|
const labels = (0, import_hooks16.useLabels)();
|
|
5463
|
-
return /* @__PURE__ */ (0,
|
|
5521
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
|
|
5464
5522
|
Card,
|
|
5465
5523
|
{
|
|
5466
5524
|
className: cn(
|
|
@@ -5472,26 +5530,26 @@ var SettlementSkeletonView = ({
|
|
|
5472
5530
|
"aria-label": ariaLabel != null ? ariaLabel : labels.trading.settlementLoading,
|
|
5473
5531
|
"aria-busy": true,
|
|
5474
5532
|
children: [
|
|
5475
|
-
/* @__PURE__ */ (0,
|
|
5476
|
-
/* @__PURE__ */ (0,
|
|
5477
|
-
/* @__PURE__ */ (0,
|
|
5533
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex w-full items-center justify-between gap-4", children: [
|
|
5534
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
|
|
5535
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-[240px] rounded-agg-sm" })
|
|
5478
5536
|
] }),
|
|
5479
|
-
/* @__PURE__ */ (0,
|
|
5480
|
-
/* @__PURE__ */ (0,
|
|
5481
|
-
/* @__PURE__ */ (0,
|
|
5482
|
-
/* @__PURE__ */ (0,
|
|
5483
|
-
/* @__PURE__ */ (0,
|
|
5537
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
5538
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SkeletonBlock, { className: "h-5 w-[200px] rounded-agg-sm" }),
|
|
5539
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
5540
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[320px] rounded-agg-sm" }),
|
|
5541
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[280px] rounded-agg-sm" })
|
|
5484
5542
|
] })
|
|
5485
5543
|
] }),
|
|
5486
|
-
/* @__PURE__ */ (0,
|
|
5487
|
-
/* @__PURE__ */ (0,
|
|
5488
|
-
/* @__PURE__ */ (0,
|
|
5489
|
-
/* @__PURE__ */ (0,
|
|
5490
|
-
/* @__PURE__ */ (0,
|
|
5544
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
5545
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
5546
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
5547
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
5548
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
|
|
5491
5549
|
] }),
|
|
5492
|
-
/* @__PURE__ */ (0,
|
|
5493
|
-
/* @__PURE__ */ (0,
|
|
5494
|
-
/* @__PURE__ */ (0,
|
|
5550
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
5551
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
5552
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
5495
5553
|
] })
|
|
5496
5554
|
] })
|
|
5497
5555
|
]
|
|
@@ -5501,12 +5559,12 @@ var SettlementSkeletonView = ({
|
|
|
5501
5559
|
SettlementSkeletonView.displayName = "SettlementSkeletonView";
|
|
5502
5560
|
|
|
5503
5561
|
// src/primitives/skeleton/views/user-profile-overview-skeleton-view.tsx
|
|
5504
|
-
var
|
|
5562
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
5505
5563
|
var UserProfileOverviewSkeletonView = ({
|
|
5506
5564
|
className,
|
|
5507
5565
|
ariaLabel
|
|
5508
5566
|
}) => {
|
|
5509
|
-
return /* @__PURE__ */ (0,
|
|
5567
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
5510
5568
|
"div",
|
|
5511
5569
|
{
|
|
5512
5570
|
className: cn("flex w-full flex-col gap-6 sm:flex-row", className),
|
|
@@ -5514,49 +5572,49 @@ var UserProfileOverviewSkeletonView = ({
|
|
|
5514
5572
|
"aria-label": ariaLabel != null ? ariaLabel : "Loading profile overview",
|
|
5515
5573
|
"aria-busy": "true",
|
|
5516
5574
|
children: [
|
|
5517
|
-
/* @__PURE__ */ (0,
|
|
5518
|
-
/* @__PURE__ */ (0,
|
|
5519
|
-
/* @__PURE__ */ (0,
|
|
5520
|
-
/* @__PURE__ */ (0,
|
|
5521
|
-
/* @__PURE__ */ (0,
|
|
5522
|
-
/* @__PURE__ */ (0,
|
|
5523
|
-
/* @__PURE__ */ (0,
|
|
5575
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-4 sm:gap-6", children: [
|
|
5576
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex w-full items-center gap-5", children: [
|
|
5577
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-20 w-20 shrink-0 rounded-agg-full sm:h-[120px] sm:w-[120px]" }),
|
|
5578
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
5579
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex items-center justify-between gap-3", children: [
|
|
5580
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-9 w-[140px] rounded-agg-sm" }),
|
|
5581
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" })
|
|
5524
5582
|
] }),
|
|
5525
|
-
/* @__PURE__ */ (0,
|
|
5526
|
-
/* @__PURE__ */ (0,
|
|
5527
|
-
/* @__PURE__ */ (0,
|
|
5528
|
-
/* @__PURE__ */ (0,
|
|
5583
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
5584
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
5585
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-6 w-[140px] rounded-agg-sm" }),
|
|
5586
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-5 w-[72px] rounded-agg-sm" })
|
|
5529
5587
|
] })
|
|
5530
5588
|
] })
|
|
5531
5589
|
] }) }),
|
|
5532
|
-
/* @__PURE__ */ (0,
|
|
5533
|
-
/* @__PURE__ */ (0,
|
|
5534
|
-
/* @__PURE__ */ (0,
|
|
5535
|
-
/* @__PURE__ */ (0,
|
|
5590
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
5591
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex items-end gap-3", children: [
|
|
5592
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-9 w-[80px] rounded-agg-sm" }),
|
|
5593
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
|
|
5536
5594
|
] }),
|
|
5537
|
-
/* @__PURE__ */ (0,
|
|
5538
|
-
/* @__PURE__ */ (0,
|
|
5539
|
-
/* @__PURE__ */ (0,
|
|
5540
|
-
/* @__PURE__ */ (0,
|
|
5541
|
-
/* @__PURE__ */ (0,
|
|
5595
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
5596
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
5597
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
5598
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
5599
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" })
|
|
5542
5600
|
] })
|
|
5543
5601
|
] }) })
|
|
5544
5602
|
] }),
|
|
5545
|
-
/* @__PURE__ */ (0,
|
|
5546
|
-
/* @__PURE__ */ (0,
|
|
5547
|
-
/* @__PURE__ */ (0,
|
|
5548
|
-
/* @__PURE__ */ (0,
|
|
5603
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "w-full shrink-0 rounded-agg-md border border-agg-separator bg-agg-secondary p-5 sm:w-full md:w-[465px]", children: [
|
|
5604
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "mb-4 flex items-center justify-between", children: [
|
|
5605
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-7 w-[84px] rounded-agg-sm" }),
|
|
5606
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-7 w-[64px] rounded-agg-sm" })
|
|
5549
5607
|
] }),
|
|
5550
|
-
/* @__PURE__ */ (0,
|
|
5551
|
-
/* @__PURE__ */ (0,
|
|
5552
|
-
/* @__PURE__ */ (0,
|
|
5553
|
-
/* @__PURE__ */ (0,
|
|
5608
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "flex flex-col gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
5609
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
5610
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" }),
|
|
5611
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-6 w-[70px] rounded-agg-sm" })
|
|
5554
5612
|
] }),
|
|
5555
|
-
/* @__PURE__ */ (0,
|
|
5613
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-6 w-[96px] rounded-agg-sm" })
|
|
5556
5614
|
] }, index)) }),
|
|
5557
|
-
/* @__PURE__ */ (0,
|
|
5558
|
-
/* @__PURE__ */ (0,
|
|
5559
|
-
/* @__PURE__ */ (0,
|
|
5615
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "mt-4 flex gap-3", children: [
|
|
5616
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" }),
|
|
5617
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" })
|
|
5560
5618
|
] })
|
|
5561
5619
|
] })
|
|
5562
5620
|
]
|
|
@@ -5566,12 +5624,12 @@ var UserProfileOverviewSkeletonView = ({
|
|
|
5566
5624
|
UserProfileOverviewSkeletonView.displayName = "UserProfileOverviewSkeletonView";
|
|
5567
5625
|
|
|
5568
5626
|
// src/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.tsx
|
|
5569
|
-
var
|
|
5627
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
5570
5628
|
var UserProfilePositionsActivitySkeletonView = ({
|
|
5571
5629
|
className,
|
|
5572
5630
|
ariaLabel
|
|
5573
5631
|
}) => {
|
|
5574
|
-
return /* @__PURE__ */ (0,
|
|
5632
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
|
|
5575
5633
|
"div",
|
|
5576
5634
|
{
|
|
5577
5635
|
className: cn(
|
|
@@ -5582,18 +5640,18 @@ var UserProfilePositionsActivitySkeletonView = ({
|
|
|
5582
5640
|
"aria-label": ariaLabel != null ? ariaLabel : "Loading positions and activity",
|
|
5583
5641
|
"aria-busy": "true",
|
|
5584
5642
|
children: [
|
|
5585
|
-
/* @__PURE__ */ (0,
|
|
5586
|
-
/* @__PURE__ */ (0,
|
|
5587
|
-
/* @__PURE__ */ (0,
|
|
5643
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "h-11 border-b border-agg-separator px-4 sm:h-12 sm:px-6", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex h-full items-center gap-6", children: [
|
|
5644
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" }),
|
|
5645
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(SkeletonBlock, { className: "h-6 w-[64px] rounded-agg-sm" })
|
|
5588
5646
|
] }) }),
|
|
5589
|
-
/* @__PURE__ */ (0,
|
|
5590
|
-
/* @__PURE__ */ (0,
|
|
5591
|
-
/* @__PURE__ */ (0,
|
|
5592
|
-
/* @__PURE__ */ (0,
|
|
5647
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex flex-col gap-4 p-4 sm:gap-6 sm:p-6", children: [
|
|
5648
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex gap-5", children: [
|
|
5649
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
|
|
5650
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
|
|
5593
5651
|
] }),
|
|
5594
|
-
/* @__PURE__ */ (0,
|
|
5595
|
-
/* @__PURE__ */ (0,
|
|
5596
|
-
/* @__PURE__ */ (0,
|
|
5652
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "flex flex-col gap-3 sm:gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex items-center gap-5", children: [
|
|
5653
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
|
|
5654
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
|
|
5597
5655
|
] }, index)) })
|
|
5598
5656
|
] })
|
|
5599
5657
|
]
|
|
@@ -5633,37 +5691,37 @@ var resolveSkeletonView = (view) => {
|
|
|
5633
5691
|
};
|
|
5634
5692
|
|
|
5635
5693
|
// src/primitives/skeleton/index.tsx
|
|
5636
|
-
var
|
|
5694
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
5637
5695
|
var Skeleton = ({ view, className, ariaLabel }) => {
|
|
5638
5696
|
const resolvedView = resolveSkeletonView(view);
|
|
5639
5697
|
if (resolvedView === skeletonViews.eventListItem) {
|
|
5640
|
-
return /* @__PURE__ */ (0,
|
|
5698
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(EventListItemSkeletonView, { className, ariaLabel, isStandalone: true });
|
|
5641
5699
|
}
|
|
5642
5700
|
if (resolvedView === skeletonViews.eventListItemDetails) {
|
|
5643
|
-
return /* @__PURE__ */ (0,
|
|
5701
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(EventListItemDetailsSkeletonView, { className, ariaLabel });
|
|
5644
5702
|
}
|
|
5645
5703
|
if (resolvedView === skeletonViews.marketDetailsMinified) {
|
|
5646
|
-
return /* @__PURE__ */ (0,
|
|
5704
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: false });
|
|
5647
5705
|
}
|
|
5648
5706
|
if (resolvedView === skeletonViews.marketDetailsDetailed) {
|
|
5649
|
-
return /* @__PURE__ */ (0,
|
|
5707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: true });
|
|
5650
5708
|
}
|
|
5651
5709
|
if (resolvedView === skeletonViews.settlement) {
|
|
5652
|
-
return /* @__PURE__ */ (0,
|
|
5710
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(SettlementSkeletonView, { className, ariaLabel });
|
|
5653
5711
|
}
|
|
5654
5712
|
if (resolvedView === skeletonViews.placeOrder) {
|
|
5655
|
-
return /* @__PURE__ */ (0,
|
|
5713
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(PlaceOrderSkeletonView, { className, ariaLabel });
|
|
5656
5714
|
}
|
|
5657
5715
|
if (resolvedView === skeletonViews.search) {
|
|
5658
|
-
return /* @__PURE__ */ (0,
|
|
5716
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(SearchSkeletonView, { className, ariaLabel });
|
|
5659
5717
|
}
|
|
5660
5718
|
if (resolvedView === skeletonViews.userProfileOverview) {
|
|
5661
|
-
return /* @__PURE__ */ (0,
|
|
5719
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(UserProfileOverviewSkeletonView, { className, ariaLabel });
|
|
5662
5720
|
}
|
|
5663
5721
|
if (resolvedView === skeletonViews.userProfilePositionsActivity) {
|
|
5664
|
-
return /* @__PURE__ */ (0,
|
|
5722
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(UserProfilePositionsActivitySkeletonView, { className, ariaLabel });
|
|
5665
5723
|
}
|
|
5666
|
-
return /* @__PURE__ */ (0,
|
|
5724
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(EventListSkeletonView, { className, ariaLabel });
|
|
5667
5725
|
};
|
|
5668
5726
|
Skeleton.displayName = "Skeleton";
|
|
5669
5727
|
|
|
@@ -5686,7 +5744,7 @@ var resolveLogoPrimaryColor = ({
|
|
|
5686
5744
|
};
|
|
5687
5745
|
|
|
5688
5746
|
// src/primitives/venue-logo/svg/default-venue.tsx
|
|
5689
|
-
var
|
|
5747
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
5690
5748
|
var DefaultVenueIcon = (_a) => {
|
|
5691
5749
|
var _b = _a, {
|
|
5692
5750
|
title,
|
|
@@ -5704,7 +5762,7 @@ var DefaultVenueIcon = (_a) => {
|
|
|
5704
5762
|
isColor,
|
|
5705
5763
|
color
|
|
5706
5764
|
});
|
|
5707
|
-
return /* @__PURE__ */ (0,
|
|
5765
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
|
|
5708
5766
|
"svg",
|
|
5709
5767
|
__spreadProps(__spreadValues(__spreadValues({
|
|
5710
5768
|
viewBox: "0 0 100 100",
|
|
@@ -5712,9 +5770,9 @@ var DefaultVenueIcon = (_a) => {
|
|
|
5712
5770
|
fill: "none"
|
|
5713
5771
|
}, getIconA11yProps(title)), props), {
|
|
5714
5772
|
children: [
|
|
5715
|
-
title ? /* @__PURE__ */ (0,
|
|
5716
|
-
/* @__PURE__ */ (0,
|
|
5717
|
-
/* @__PURE__ */ (0,
|
|
5773
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("title", { children: title }) : null,
|
|
5774
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("circle", { cx: "50", cy: "50", r: "45", stroke: primaryColor, strokeWidth: "6", fill: "none" }),
|
|
5775
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("circle", { cx: "50", cy: "50", r: "8", fill: primaryColor })
|
|
5718
5776
|
]
|
|
5719
5777
|
})
|
|
5720
5778
|
);
|
|
@@ -5723,7 +5781,7 @@ var DefaultVenueIcon = (_a) => {
|
|
|
5723
5781
|
// src/primitives/venue-logo/svg/logo-hyperliquid.tsx
|
|
5724
5782
|
var import_hooks17 = require("@agg-build/hooks");
|
|
5725
5783
|
var import_sdk3 = require("@agg-build/sdk");
|
|
5726
|
-
var
|
|
5784
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
5727
5785
|
var LogoHyperliquidIcon = (_a) => {
|
|
5728
5786
|
var _b = _a, {
|
|
5729
5787
|
title,
|
|
@@ -5746,7 +5804,7 @@ var LogoHyperliquidIcon = (_a) => {
|
|
|
5746
5804
|
isColor,
|
|
5747
5805
|
color
|
|
5748
5806
|
});
|
|
5749
|
-
return /* @__PURE__ */ (0,
|
|
5807
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
5750
5808
|
"svg",
|
|
5751
5809
|
__spreadProps(__spreadValues(__spreadValues({
|
|
5752
5810
|
viewBox: "0 0 100 100",
|
|
@@ -5754,8 +5812,8 @@ var LogoHyperliquidIcon = (_a) => {
|
|
|
5754
5812
|
fill: "none"
|
|
5755
5813
|
}, getIconA11yProps(title)), props), {
|
|
5756
5814
|
children: [
|
|
5757
|
-
title ? /* @__PURE__ */ (0,
|
|
5758
|
-
/* @__PURE__ */ (0,
|
|
5815
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("title", { children: title }) : null,
|
|
5816
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
5759
5817
|
"path",
|
|
5760
5818
|
{
|
|
5761
5819
|
d: "M82 49.2724C82 70.431 69.0516 77.2204 62.2292 71.175C56.6135 66.2457 54.9427 55.8293 46.496 54.7597C35.7752 53.4112 34.847 67.6875 27.7926 67.6875C19.578 67.6875 18 55.7363 18 49.5979C18 43.3201 19.7636 34.7636 26.7716 34.7636C34.9398 34.7636 35.4039 46.9938 45.6142 46.3427C55.7781 45.6452 55.9637 32.9034 62.5542 27.4626C68.3089 22.7658 82 27.8346 82 49.2724Z",
|
|
@@ -5771,7 +5829,7 @@ LogoHyperliquidIcon.displayName = "LogoHyperliquidIcon";
|
|
|
5771
5829
|
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
5772
5830
|
var import_hooks18 = require("@agg-build/hooks");
|
|
5773
5831
|
var import_sdk4 = require("@agg-build/sdk");
|
|
5774
|
-
var
|
|
5832
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
5775
5833
|
var LogoKalshiIcon = (_a) => {
|
|
5776
5834
|
var _b = _a, {
|
|
5777
5835
|
title,
|
|
@@ -5794,7 +5852,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
5794
5852
|
isColor,
|
|
5795
5853
|
color
|
|
5796
5854
|
});
|
|
5797
|
-
return /* @__PURE__ */ (0,
|
|
5855
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
|
|
5798
5856
|
"svg",
|
|
5799
5857
|
__spreadProps(__spreadValues(__spreadValues({
|
|
5800
5858
|
viewBox: "0 0 100 100",
|
|
@@ -5802,8 +5860,8 @@ var LogoKalshiIcon = (_a) => {
|
|
|
5802
5860
|
fill: "none"
|
|
5803
5861
|
}, getIconA11yProps(title)), props), {
|
|
5804
5862
|
children: [
|
|
5805
|
-
title ? /* @__PURE__ */ (0,
|
|
5806
|
-
/* @__PURE__ */ (0,
|
|
5863
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("title", { children: title }) : null,
|
|
5864
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
5807
5865
|
"path",
|
|
5808
5866
|
{
|
|
5809
5867
|
d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
|
|
@@ -5819,7 +5877,7 @@ LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
|
5819
5877
|
// src/primitives/venue-logo/svg/logo-limitless.tsx
|
|
5820
5878
|
var import_hooks19 = require("@agg-build/hooks");
|
|
5821
5879
|
var import_sdk5 = require("@agg-build/sdk");
|
|
5822
|
-
var
|
|
5880
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
5823
5881
|
var LogoLimitlessIcon = (_a) => {
|
|
5824
5882
|
var _b = _a, {
|
|
5825
5883
|
title,
|
|
@@ -5842,7 +5900,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
5842
5900
|
isColor,
|
|
5843
5901
|
color
|
|
5844
5902
|
});
|
|
5845
|
-
return /* @__PURE__ */ (0,
|
|
5903
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(
|
|
5846
5904
|
"svg",
|
|
5847
5905
|
__spreadProps(__spreadValues(__spreadValues({
|
|
5848
5906
|
viewBox: "0 0 100 100",
|
|
@@ -5850,8 +5908,8 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
5850
5908
|
fill: "none"
|
|
5851
5909
|
}, getIconA11yProps(title)), props), {
|
|
5852
5910
|
children: [
|
|
5853
|
-
title ? /* @__PURE__ */ (0,
|
|
5854
|
-
/* @__PURE__ */ (0,
|
|
5911
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("title", { children: title }) : null,
|
|
5912
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
5855
5913
|
"path",
|
|
5856
5914
|
{
|
|
5857
5915
|
d: "M78.2762 44.4662H67.7966L81.9152 30.0554L82 29.9706L76.8528 24.8176H62.8524V21.6803C62.8524 19.6513 61.2036 18 59.1777 18H44.1555C42.1297 18 40.4809 19.6513 40.4809 21.6803V48.171H21.7238C19.6979 48.171 18.0491 49.8223 18.0491 51.8512C18.0491 53.8804 19.6979 55.5317 21.7238 55.5317H32.2034L18.0848 69.9379L18 70.0227L23.145 75.1755H37.1476V78.3195C37.1476 80.3487 38.7964 82 40.8222 82H55.8444C57.8703 82 59.5191 80.3487 59.5191 78.3195V51.8267H78.2762C80.3021 51.8267 81.9509 50.1754 81.9509 48.1464C81.9509 46.1175 80.3021 44.4662 78.2762 44.4662ZM57.9886 78.3173C57.9886 79.5018 57.0269 80.4647 55.8444 80.4647C54.6619 80.4647 53.7003 79.5018 53.7003 78.3173V57.2411L38.2096 73.0506L35.1752 70.0137L50.8712 54.0009H36.7459C35.5634 54.0009 34.6018 53.0377 34.6018 51.8535C34.6018 50.6692 35.5634 49.7038 36.7459 49.7038H54.8204C56.5673 49.7038 57.9886 51.1273 57.9886 52.8769V78.3195V78.3173ZM78.2762 50.2938H60.2018C58.4549 50.2938 57.0336 48.8704 57.0336 47.1208V21.6781C57.0336 20.4938 57.9953 19.5307 59.1777 19.5307C60.3602 19.5307 61.3241 20.4938 61.3241 21.6781V42.7544L76.8126 26.9403L79.847 29.9772L64.1509 45.9968H78.2762C79.4587 45.9968 80.4204 46.9599 80.4204 48.1442C80.4204 49.3285 79.4587 50.2916 78.2762 50.2916V50.2938Z",
|
|
@@ -5867,7 +5925,7 @@ LogoLimitlessIcon.displayName = "LogoLimitlessIcon";
|
|
|
5867
5925
|
// src/primitives/venue-logo/svg/logo-myriad.tsx
|
|
5868
5926
|
var import_hooks20 = require("@agg-build/hooks");
|
|
5869
5927
|
var import_sdk6 = require("@agg-build/sdk");
|
|
5870
|
-
var
|
|
5928
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
5871
5929
|
var LogoMyriadIcon = (_a) => {
|
|
5872
5930
|
var _b = _a, {
|
|
5873
5931
|
title,
|
|
@@ -5890,7 +5948,7 @@ var LogoMyriadIcon = (_a) => {
|
|
|
5890
5948
|
isColor,
|
|
5891
5949
|
color
|
|
5892
5950
|
});
|
|
5893
|
-
return /* @__PURE__ */ (0,
|
|
5951
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(
|
|
5894
5952
|
"svg",
|
|
5895
5953
|
__spreadProps(__spreadValues(__spreadValues({
|
|
5896
5954
|
viewBox: "0 0 100 100",
|
|
@@ -5898,8 +5956,8 @@ var LogoMyriadIcon = (_a) => {
|
|
|
5898
5956
|
fill: "none"
|
|
5899
5957
|
}, getIconA11yProps(title)), props), {
|
|
5900
5958
|
children: [
|
|
5901
|
-
title ? /* @__PURE__ */ (0,
|
|
5902
|
-
/* @__PURE__ */ (0,
|
|
5959
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("title", { children: title }) : null,
|
|
5960
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
5903
5961
|
"path",
|
|
5904
5962
|
{
|
|
5905
5963
|
d: "M24.356 52.5901C24.1479 52.8348 24.0342 53.1458 24.0352 53.467L24.0394 64.9354V68.672H44.3882V58.5767H32.5776L55.2898 31.713C55.4979 31.4683 55.6116 31.1573 55.6107 30.8361V19.3656C55.6107 18.093 54.0108 17.5155 53.1874 18.4887L24.356 52.5901ZM75.9594 31.3259V35.0646L75.9637 46.533C75.9637 46.8538 75.8504 47.1639 75.6429 47.4099L46.8137 81.5113C45.9902 82.4845 44.3925 81.907 44.3925 80.6344V69.1617C44.3925 68.8409 44.5059 68.5329 44.7133 68.287L67.4234 41.4233H55.6128V31.328L75.9594 31.3259Z",
|
|
@@ -5915,7 +5973,7 @@ LogoMyriadIcon.displayName = "LogoMyriadIcon";
|
|
|
5915
5973
|
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
5916
5974
|
var import_hooks21 = require("@agg-build/hooks");
|
|
5917
5975
|
var import_sdk7 = require("@agg-build/sdk");
|
|
5918
|
-
var
|
|
5976
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
5919
5977
|
var LogoOpinionIcon = (_a) => {
|
|
5920
5978
|
var _b = _a, {
|
|
5921
5979
|
title,
|
|
@@ -5938,7 +5996,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
5938
5996
|
isColor,
|
|
5939
5997
|
color
|
|
5940
5998
|
});
|
|
5941
|
-
return /* @__PURE__ */ (0,
|
|
5999
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
|
|
5942
6000
|
"svg",
|
|
5943
6001
|
__spreadProps(__spreadValues(__spreadValues({
|
|
5944
6002
|
viewBox: "0 0 100 100",
|
|
@@ -5946,8 +6004,8 @@ var LogoOpinionIcon = (_a) => {
|
|
|
5946
6004
|
fill: "none"
|
|
5947
6005
|
}, getIconA11yProps(title)), props), {
|
|
5948
6006
|
children: [
|
|
5949
|
-
title ? /* @__PURE__ */ (0,
|
|
5950
|
-
/* @__PURE__ */ (0,
|
|
6007
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("title", { children: title }) : null,
|
|
6008
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
5951
6009
|
"path",
|
|
5952
6010
|
{
|
|
5953
6011
|
d: "M51.8239 68.4603L56.9659 68.0094L58.8049 89.0576C61.1459 88.5314 63.4349 87.7952 65.6437 86.8578V68.1879H71.9955V83.4385C74.6496 81.6828 77.0863 79.619 79.2548 77.2898L80.0716 67.958L85.516 68.433C88.6185 62.4381 90.156 55.7558 89.9858 49.0072C89.8154 42.2584 87.9429 35.6623 84.542 29.8316L84.3394 32.1494L77.9876 31.5927L78.8042 22.2668C76.7468 20.1288 74.4594 18.225 71.9835 16.5902V31.9164H65.6317V13.1739C62.9224 12.0205 60.0929 11.173 57.1957 10.6473L59.0317 31.6441L53.8897 32.0949L51.9599 10.0482C51.3128 10.0179 50.6593 9.99976 50.006 9.99976C47.4581 9.99976 44.9161 10.2419 42.414 10.723L46.0438 31.3899L42.1297 32.0798L38.5304 11.6701C35.1755 12.6725 31.9677 14.1143 28.9905 15.9578L33.0435 31.0873L29.9705 31.9134L26.2018 17.8369C23.2938 19.9923 20.6902 22.5308 18.4615 25.3835L20.4246 30.7787L18.1833 31.5956L16.7707 27.7134C14.5111 31.0771 12.7772 34.7657 11.6287 38.652L12.2639 38.4221L20.4306 60.8471L18.1893 61.6641L10.8877 41.5963C9.21542 49.4012 9.91256 57.528 12.8896 64.9338C15.8667 72.3395 20.9879 78.6865 27.5961 83.1601L23.8031 68.9989L26.8762 68.1728L31.5162 85.4991C34.6952 87.1593 38.0844 88.3808 41.5914 89.1303L38.0132 68.7296L41.9301 68.0397L45.7684 89.8262C47.1811 89.9757 48.6007 90.0505 50.0212 90.0502C51.2583 90.0502 52.4863 89.9926 53.6963 89.8807L51.8239 68.4603ZM80.1017 37.8985L86.4385 38.4524L84.3605 62.2299L78.0087 61.6761L80.1017 37.8985ZM65.6528 38.1315H72.0046V61.9969H65.6528V38.1315ZM56.975 37.9501L59.053 61.7277L53.911 62.1785L51.8299 38.4009L56.975 37.9501ZM29.9976 62.003L23.8243 38.9486L26.8974 38.1255L33.0707 61.1649L29.9976 62.003ZM42.157 62.1603L38.0132 38.658L41.9301 37.9683L46.0709 61.4674L42.157 62.1603Z",
|
|
@@ -5963,7 +6021,7 @@ LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
|
5963
6021
|
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
5964
6022
|
var import_hooks22 = require("@agg-build/hooks");
|
|
5965
6023
|
var import_sdk8 = require("@agg-build/sdk");
|
|
5966
|
-
var
|
|
6024
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
5967
6025
|
var LogoPolymarketIcon = (_a) => {
|
|
5968
6026
|
var _b = _a, {
|
|
5969
6027
|
title,
|
|
@@ -5986,7 +6044,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
5986
6044
|
isColor,
|
|
5987
6045
|
color
|
|
5988
6046
|
});
|
|
5989
|
-
return /* @__PURE__ */ (0,
|
|
6047
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
|
|
5990
6048
|
"svg",
|
|
5991
6049
|
__spreadProps(__spreadValues(__spreadValues({
|
|
5992
6050
|
viewBox: "0 0 100 100",
|
|
@@ -5994,8 +6052,8 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
5994
6052
|
fill: "none"
|
|
5995
6053
|
}, getIconA11yProps(title)), props), {
|
|
5996
6054
|
children: [
|
|
5997
|
-
title ? /* @__PURE__ */ (0,
|
|
5998
|
-
/* @__PURE__ */ (0,
|
|
6055
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("title", { children: title }) : null,
|
|
6056
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
5999
6057
|
"path",
|
|
6000
6058
|
{
|
|
6001
6059
|
d: "M81.0904 84.2882C81.0904 87.9246 81.0904 89.7428 79.901 90.644C78.7119 91.5456 76.9613 91.0542 73.4603 90.0717L17.1975 74.2838C15.0881 73.6919 14.0332 73.3959 13.4233 72.5913C12.8135 71.7866 12.8135 70.6911 12.8135 68.5002V31.4998C12.8135 29.309 12.8135 28.2134 13.4233 27.4088C14.0332 26.6042 15.0881 26.3081 17.1975 25.7163L73.4603 9.92806C76.9613 8.94572 78.7119 8.45448 79.901 9.35587C81.0904 10.2573 81.0904 12.0755 81.0904 15.7119V84.2882ZM26.8451 69.1363L73.4308 82.2104V56.0637L26.8451 69.1363ZM20.4723 63.0711L67.0487 50L20.4723 36.929V63.0711ZM26.8446 30.8638L73.4308 43.9366V17.7896L26.8446 30.8638Z",
|
|
@@ -6011,7 +6069,7 @@ LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
|
6011
6069
|
// src/primitives/venue-logo/svg/logo-predict.tsx
|
|
6012
6070
|
var import_hooks23 = require("@agg-build/hooks");
|
|
6013
6071
|
var import_sdk9 = require("@agg-build/sdk");
|
|
6014
|
-
var
|
|
6072
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
6015
6073
|
var LogoPredictIcon = (_a) => {
|
|
6016
6074
|
var _b = _a, {
|
|
6017
6075
|
title,
|
|
@@ -6034,7 +6092,7 @@ var LogoPredictIcon = (_a) => {
|
|
|
6034
6092
|
isColor,
|
|
6035
6093
|
color
|
|
6036
6094
|
});
|
|
6037
|
-
return /* @__PURE__ */ (0,
|
|
6095
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(
|
|
6038
6096
|
"svg",
|
|
6039
6097
|
__spreadProps(__spreadValues(__spreadValues({
|
|
6040
6098
|
viewBox: "0 0 100 100",
|
|
@@ -6042,8 +6100,8 @@ var LogoPredictIcon = (_a) => {
|
|
|
6042
6100
|
fill: "none"
|
|
6043
6101
|
}, getIconA11yProps(title)), props), {
|
|
6044
6102
|
children: [
|
|
6045
|
-
title ? /* @__PURE__ */ (0,
|
|
6046
|
-
/* @__PURE__ */ (0,
|
|
6103
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("title", { children: title }) : null,
|
|
6104
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
6047
6105
|
"path",
|
|
6048
6106
|
{
|
|
6049
6107
|
fillRule: "evenodd",
|
|
@@ -6061,7 +6119,7 @@ LogoPredictIcon.displayName = "LogoPredictIcon";
|
|
|
6061
6119
|
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
6062
6120
|
var import_hooks24 = require("@agg-build/hooks");
|
|
6063
6121
|
var import_sdk10 = require("@agg-build/sdk");
|
|
6064
|
-
var
|
|
6122
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
6065
6123
|
var LogoProbableIcon = (_a) => {
|
|
6066
6124
|
var _b = _a, {
|
|
6067
6125
|
title,
|
|
@@ -6084,7 +6142,7 @@ var LogoProbableIcon = (_a) => {
|
|
|
6084
6142
|
isColor,
|
|
6085
6143
|
color
|
|
6086
6144
|
});
|
|
6087
|
-
return /* @__PURE__ */ (0,
|
|
6145
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
6088
6146
|
"svg",
|
|
6089
6147
|
__spreadProps(__spreadValues(__spreadValues({
|
|
6090
6148
|
viewBox: "0 0 100 100",
|
|
@@ -6092,16 +6150,16 @@ var LogoProbableIcon = (_a) => {
|
|
|
6092
6150
|
fill: "none"
|
|
6093
6151
|
}, getIconA11yProps(title)), props), {
|
|
6094
6152
|
children: [
|
|
6095
|
-
title ? /* @__PURE__ */ (0,
|
|
6096
|
-
/* @__PURE__ */ (0,
|
|
6153
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("title", { children: title }) : null,
|
|
6154
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6097
6155
|
"path",
|
|
6098
6156
|
{
|
|
6099
6157
|
d: "M75.625 59.3489C75.6247 53.7323 71.0719 49.1792 65.4551 49.179H33.9209C28.3039 49.179 23.7503 53.7321 23.75 59.3489C23.75 64.9659 28.3038 69.5198 33.9209 69.5198H65.4551C71.0719 69.5195 75.625 64.9658 75.625 59.3489ZM90.625 59.3489C90.625 73.2501 79.3562 84.5195 65.4551 84.5198H33.9209C20.0196 84.5198 8.75 73.2502 8.75 59.3489C8.75026 45.4477 20.0198 34.179 33.9209 34.179H65.4551C79.3559 34.1792 90.6247 45.4478 90.625 59.3489Z",
|
|
6100
6158
|
fill: primaryColor
|
|
6101
6159
|
}
|
|
6102
6160
|
),
|
|
6103
|
-
/* @__PURE__ */ (0,
|
|
6104
|
-
/* @__PURE__ */ (0,
|
|
6161
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
6162
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6105
6163
|
"path",
|
|
6106
6164
|
{
|
|
6107
6165
|
d: "M64.5742 51.3496C68.9894 51.3496 72.5742 54.9344 72.5742 59.3496C72.5742 63.7648 68.9894 67.3496 64.5742 67.3496C60.159 67.3496 56.5742 63.7648 56.5742 59.3496C56.5742 54.9344 60.159 51.3496 64.5742 51.3496Z",
|
|
@@ -6199,7 +6257,7 @@ var resolveVenueLogoIsColor = ({
|
|
|
6199
6257
|
};
|
|
6200
6258
|
|
|
6201
6259
|
// src/primitives/venue-logo/index.tsx
|
|
6202
|
-
var
|
|
6260
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
6203
6261
|
var VenueLogo = ({
|
|
6204
6262
|
venue,
|
|
6205
6263
|
variant = "icon",
|
|
@@ -6225,7 +6283,7 @@ var VenueLogo = ({
|
|
|
6225
6283
|
console.warn(`[AggUI] Unknown venue "${venue}" \u2014 using default logo`);
|
|
6226
6284
|
}
|
|
6227
6285
|
if (variant === "logo") {
|
|
6228
|
-
return /* @__PURE__ */ (0,
|
|
6286
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6229
6287
|
RemoteImage,
|
|
6230
6288
|
{
|
|
6231
6289
|
src: (_a = venueLogoUrlRegistry[venue]) != null ? _a : DEFAULT_VENUE_LOGO_URL,
|
|
@@ -6240,7 +6298,7 @@ var VenueLogo = ({
|
|
|
6240
6298
|
isColor,
|
|
6241
6299
|
isMonochromatic
|
|
6242
6300
|
});
|
|
6243
|
-
return /* @__PURE__ */ (0,
|
|
6301
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6244
6302
|
Component2,
|
|
6245
6303
|
{
|
|
6246
6304
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -6310,7 +6368,7 @@ var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCu
|
|
|
6310
6368
|
};
|
|
6311
6369
|
|
|
6312
6370
|
// src/primitives/search/index.tsx
|
|
6313
|
-
var
|
|
6371
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
6314
6372
|
var SearchResultRow = ({
|
|
6315
6373
|
item,
|
|
6316
6374
|
resultAria,
|
|
@@ -6321,7 +6379,7 @@ var SearchResultRow = ({
|
|
|
6321
6379
|
const handleResultClick = () => {
|
|
6322
6380
|
onSelect == null ? void 0 : onSelect(item);
|
|
6323
6381
|
};
|
|
6324
|
-
return /* @__PURE__ */ (0,
|
|
6382
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
6325
6383
|
"button",
|
|
6326
6384
|
{
|
|
6327
6385
|
type: "button",
|
|
@@ -6338,8 +6396,8 @@ var SearchResultRow = ({
|
|
|
6338
6396
|
onClick: handleResultClick,
|
|
6339
6397
|
"aria-label": resultAria(item.title),
|
|
6340
6398
|
children: [
|
|
6341
|
-
/* @__PURE__ */ (0,
|
|
6342
|
-
/* @__PURE__ */ (0,
|
|
6399
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
|
|
6400
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6343
6401
|
RemoteImage,
|
|
6344
6402
|
{
|
|
6345
6403
|
src: item.thumbnailSrc,
|
|
@@ -6351,8 +6409,8 @@ var SearchResultRow = ({
|
|
|
6351
6409
|
)
|
|
6352
6410
|
}
|
|
6353
6411
|
),
|
|
6354
|
-
/* @__PURE__ */ (0,
|
|
6355
|
-
/* @__PURE__ */ (0,
|
|
6412
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
6413
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6356
6414
|
"p",
|
|
6357
6415
|
{
|
|
6358
6416
|
className: cn(
|
|
@@ -6363,8 +6421,8 @@ var SearchResultRow = ({
|
|
|
6363
6421
|
children: item.title
|
|
6364
6422
|
}
|
|
6365
6423
|
),
|
|
6366
|
-
/* @__PURE__ */ (0,
|
|
6367
|
-
/* @__PURE__ */ (0,
|
|
6424
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
|
|
6425
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6368
6426
|
"p",
|
|
6369
6427
|
{
|
|
6370
6428
|
className: cn(
|
|
@@ -6374,7 +6432,7 @@ var SearchResultRow = ({
|
|
|
6374
6432
|
children: item.marketSummaryLabel
|
|
6375
6433
|
}
|
|
6376
6434
|
),
|
|
6377
|
-
/* @__PURE__ */ (0,
|
|
6435
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6378
6436
|
VenueLogo,
|
|
6379
6437
|
{
|
|
6380
6438
|
venue,
|
|
@@ -6384,9 +6442,9 @@ var SearchResultRow = ({
|
|
|
6384
6442
|
},
|
|
6385
6443
|
`${item.id}-${venue}`
|
|
6386
6444
|
)) }),
|
|
6387
|
-
item.volumeLabel ? /* @__PURE__ */ (0,
|
|
6388
|
-
/* @__PURE__ */ (0,
|
|
6389
|
-
/* @__PURE__ */ (0,
|
|
6445
|
+
item.volumeLabel ? /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_jsx_runtime107.Fragment, { children: [
|
|
6446
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
|
|
6447
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6390
6448
|
"p",
|
|
6391
6449
|
{
|
|
6392
6450
|
className: cn(
|
|
@@ -6400,7 +6458,7 @@ var SearchResultRow = ({
|
|
|
6400
6458
|
] })
|
|
6401
6459
|
] })
|
|
6402
6460
|
] }),
|
|
6403
|
-
/* @__PURE__ */ (0,
|
|
6461
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
6404
6462
|
"div",
|
|
6405
6463
|
{
|
|
6406
6464
|
className: cn(
|
|
@@ -6408,9 +6466,9 @@ var SearchResultRow = ({
|
|
|
6408
6466
|
classNames == null ? void 0 : classNames.resultMeta
|
|
6409
6467
|
),
|
|
6410
6468
|
children: [
|
|
6411
|
-
/* @__PURE__ */ (0,
|
|
6412
|
-
/* @__PURE__ */ (0,
|
|
6413
|
-
/* @__PURE__ */ (0,
|
|
6469
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(VenueLogo, { venue: item.venue, size: "small" }),
|
|
6470
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
|
|
6471
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6414
6472
|
"p",
|
|
6415
6473
|
{
|
|
6416
6474
|
className: cn(
|
|
@@ -6421,7 +6479,7 @@ var SearchResultRow = ({
|
|
|
6421
6479
|
children: item.valueLabel
|
|
6422
6480
|
}
|
|
6423
6481
|
),
|
|
6424
|
-
/* @__PURE__ */ (0,
|
|
6482
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6425
6483
|
"p",
|
|
6426
6484
|
{
|
|
6427
6485
|
className: cn(
|
|
@@ -6435,7 +6493,7 @@ var SearchResultRow = ({
|
|
|
6435
6493
|
]
|
|
6436
6494
|
}
|
|
6437
6495
|
),
|
|
6438
|
-
/* @__PURE__ */ (0,
|
|
6496
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6439
6497
|
Icon,
|
|
6440
6498
|
{
|
|
6441
6499
|
name: "chevron-right",
|
|
@@ -6455,7 +6513,7 @@ var SearchSeeAllResultsButton = ({
|
|
|
6455
6513
|
label,
|
|
6456
6514
|
onClick
|
|
6457
6515
|
}) => {
|
|
6458
|
-
return /* @__PURE__ */ (0,
|
|
6516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
6459
6517
|
"button",
|
|
6460
6518
|
{
|
|
6461
6519
|
type: "button",
|
|
@@ -6468,8 +6526,8 @@ var SearchSeeAllResultsButton = ({
|
|
|
6468
6526
|
),
|
|
6469
6527
|
onClick,
|
|
6470
6528
|
children: [
|
|
6471
|
-
/* @__PURE__ */ (0,
|
|
6472
|
-
/* @__PURE__ */ (0,
|
|
6529
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)("span", { children: label }),
|
|
6530
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
|
|
6473
6531
|
]
|
|
6474
6532
|
}
|
|
6475
6533
|
);
|
|
@@ -6490,13 +6548,13 @@ var Search = ({
|
|
|
6490
6548
|
} = (0, import_hooks26.useSdkUiConfig)();
|
|
6491
6549
|
const resolvedValue = searchConfig.value;
|
|
6492
6550
|
const trimmedValue = resolvedValue.trim();
|
|
6493
|
-
const [debouncedSearchValue, setDebouncedSearchValue] = (0,
|
|
6551
|
+
const [debouncedSearchValue, setDebouncedSearchValue] = (0, import_react9.useState)(() => {
|
|
6494
6552
|
return trimmedValue.length >= MIN_SEARCH_LENGTH ? trimmedValue : "";
|
|
6495
6553
|
});
|
|
6496
|
-
const [isFocused, setIsFocused] = (0,
|
|
6554
|
+
const [isFocused, setIsFocused] = (0, import_react9.useState)(false);
|
|
6497
6555
|
const shouldSearchValue = trimmedValue.length >= MIN_SEARCH_LENGTH;
|
|
6498
6556
|
const shouldFetchResults = isFocused && debouncedSearchValue.length >= MIN_SEARCH_LENGTH && !searchConfig.result && !searchConfig.isShowingAllResults;
|
|
6499
|
-
(0,
|
|
6557
|
+
(0, import_react9.useEffect)(() => {
|
|
6500
6558
|
if (!shouldSearchValue) {
|
|
6501
6559
|
setDebouncedSearchValue("");
|
|
6502
6560
|
return;
|
|
@@ -6515,11 +6573,11 @@ var Search = ({
|
|
|
6515
6573
|
limit: limit != null ? limit : DEFAULT_SEARCH_LIMIT,
|
|
6516
6574
|
enabled: shouldFetchResults
|
|
6517
6575
|
});
|
|
6518
|
-
const openEvents = (0,
|
|
6576
|
+
const openEvents = (0, import_react9.useMemo)(
|
|
6519
6577
|
() => filterOpenEvents(searchResults),
|
|
6520
6578
|
[searchResults]
|
|
6521
6579
|
);
|
|
6522
|
-
const { validatedResults, eventsByResultId } = (0,
|
|
6580
|
+
const { validatedResults, eventsByResultId } = (0, import_react9.useMemo)(() => {
|
|
6523
6581
|
const nextEventsByResultId = /* @__PURE__ */ new Map();
|
|
6524
6582
|
const nextResults = openEvents.map((event) => {
|
|
6525
6583
|
const item = mapVenueEventToSearchResult(
|
|
@@ -6544,8 +6602,8 @@ var Search = ({
|
|
|
6544
6602
|
const shouldRenderNoResults = shouldRenderDropdown && !isLoading && !validatedResults.length;
|
|
6545
6603
|
const shouldRenderResults = shouldRenderDropdown && !isLoading && !!validatedResults.length;
|
|
6546
6604
|
const shouldRenderShortcut = !isFocused && !hasSearchValue && !(inputProps == null ? void 0 : inputProps.disabled);
|
|
6547
|
-
const inputRef = (0,
|
|
6548
|
-
const handleSlashKey = (0,
|
|
6605
|
+
const inputRef = (0, import_react9.useRef)(null);
|
|
6606
|
+
const handleSlashKey = (0, import_react9.useCallback)((event) => {
|
|
6549
6607
|
var _a;
|
|
6550
6608
|
if (event.key !== "/") return;
|
|
6551
6609
|
const target = event.target;
|
|
@@ -6554,7 +6612,7 @@ var Search = ({
|
|
|
6554
6612
|
event.preventDefault();
|
|
6555
6613
|
(_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
6556
6614
|
}, []);
|
|
6557
|
-
(0,
|
|
6615
|
+
(0, import_react9.useEffect)(() => {
|
|
6558
6616
|
document.addEventListener("keydown", handleSlashKey);
|
|
6559
6617
|
return () => {
|
|
6560
6618
|
document.removeEventListener("keydown", handleSlashKey);
|
|
@@ -6603,14 +6661,14 @@ var Search = ({
|
|
|
6603
6661
|
event.preventDefault();
|
|
6604
6662
|
handleSeeAllResults();
|
|
6605
6663
|
};
|
|
6606
|
-
return /* @__PURE__ */ (0,
|
|
6664
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
6607
6665
|
"div",
|
|
6608
6666
|
{
|
|
6609
6667
|
className: cn("group/agg-search", "relative flex w-full flex-col", classNames == null ? void 0 : classNames.root),
|
|
6610
6668
|
onFocusCapture: handleFocusWithin,
|
|
6611
6669
|
onBlurCapture: handleBlurWithin,
|
|
6612
6670
|
children: [
|
|
6613
|
-
/* @__PURE__ */ (0,
|
|
6671
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)("label", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
6614
6672
|
"div",
|
|
6615
6673
|
{
|
|
6616
6674
|
className: cn(
|
|
@@ -6626,7 +6684,7 @@ var Search = ({
|
|
|
6626
6684
|
),
|
|
6627
6685
|
onClick: handleFocusWithin,
|
|
6628
6686
|
children: [
|
|
6629
|
-
/* @__PURE__ */ (0,
|
|
6687
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6630
6688
|
Icon,
|
|
6631
6689
|
{
|
|
6632
6690
|
name: "search",
|
|
@@ -6634,7 +6692,7 @@ var Search = ({
|
|
|
6634
6692
|
className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
|
|
6635
6693
|
}
|
|
6636
6694
|
),
|
|
6637
|
-
/* @__PURE__ */ (0,
|
|
6695
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6638
6696
|
"input",
|
|
6639
6697
|
__spreadProps(__spreadValues({}, inputProps), {
|
|
6640
6698
|
ref: inputRef,
|
|
@@ -6655,11 +6713,11 @@ var Search = ({
|
|
|
6655
6713
|
)
|
|
6656
6714
|
})
|
|
6657
6715
|
),
|
|
6658
|
-
shouldRenderShortcut ? /* @__PURE__ */ (0,
|
|
6716
|
+
shouldRenderShortcut ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
|
|
6659
6717
|
]
|
|
6660
6718
|
}
|
|
6661
6719
|
) }),
|
|
6662
|
-
shouldRenderLoadingState ? /* @__PURE__ */ (0,
|
|
6720
|
+
shouldRenderLoadingState ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6663
6721
|
"div",
|
|
6664
6722
|
{
|
|
6665
6723
|
className: cn(
|
|
@@ -6669,10 +6727,10 @@ var Search = ({
|
|
|
6669
6727
|
"mt-1",
|
|
6670
6728
|
classNames == null ? void 0 : classNames.emptyState
|
|
6671
6729
|
),
|
|
6672
|
-
children: /* @__PURE__ */ (0,
|
|
6730
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Skeleton, { view: "search" })
|
|
6673
6731
|
}
|
|
6674
6732
|
) : null,
|
|
6675
|
-
shouldRenderResults ? /* @__PURE__ */ (0,
|
|
6733
|
+
shouldRenderResults ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6676
6734
|
"div",
|
|
6677
6735
|
{
|
|
6678
6736
|
className: cn(
|
|
@@ -6682,7 +6740,7 @@ var Search = ({
|
|
|
6682
6740
|
"mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary pt-2 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
6683
6741
|
classNames == null ? void 0 : classNames.dropdown
|
|
6684
6742
|
),
|
|
6685
|
-
children: /* @__PURE__ */ (0,
|
|
6743
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
6686
6744
|
"ul",
|
|
6687
6745
|
{
|
|
6688
6746
|
className: cn(
|
|
@@ -6692,7 +6750,7 @@ var Search = ({
|
|
|
6692
6750
|
role: "listbox",
|
|
6693
6751
|
"aria-label": labels.search.resultsAria,
|
|
6694
6752
|
children: [
|
|
6695
|
-
validatedResults.map((item, index) => /* @__PURE__ */ (0,
|
|
6753
|
+
validatedResults.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6696
6754
|
"li",
|
|
6697
6755
|
{
|
|
6698
6756
|
role: "presentation",
|
|
@@ -6701,7 +6759,7 @@ var Search = ({
|
|
|
6701
6759
|
index > 0 && "border-t border-agg-separator",
|
|
6702
6760
|
classNames == null ? void 0 : classNames.resultItem
|
|
6703
6761
|
),
|
|
6704
|
-
children: /* @__PURE__ */ (0,
|
|
6762
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6705
6763
|
SearchResultRow,
|
|
6706
6764
|
{
|
|
6707
6765
|
item,
|
|
@@ -6713,12 +6771,12 @@ var Search = ({
|
|
|
6713
6771
|
},
|
|
6714
6772
|
item.id
|
|
6715
6773
|
)),
|
|
6716
|
-
/* @__PURE__ */ (0,
|
|
6774
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6717
6775
|
"li",
|
|
6718
6776
|
{
|
|
6719
6777
|
role: "presentation",
|
|
6720
6778
|
className: "agg-search-result-item border-t border-agg-separator",
|
|
6721
|
-
children: /* @__PURE__ */ (0,
|
|
6779
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6722
6780
|
SearchSeeAllResultsButton,
|
|
6723
6781
|
{
|
|
6724
6782
|
label: labels.search.seeAllResults,
|
|
@@ -6732,7 +6790,7 @@ var Search = ({
|
|
|
6732
6790
|
)
|
|
6733
6791
|
}
|
|
6734
6792
|
) : null,
|
|
6735
|
-
shouldRenderNoResults ? /* @__PURE__ */ (0,
|
|
6793
|
+
shouldRenderNoResults ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6736
6794
|
"div",
|
|
6737
6795
|
{
|
|
6738
6796
|
className: cn(
|
|
@@ -6742,7 +6800,7 @@ var Search = ({
|
|
|
6742
6800
|
"mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary py-10 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
|
|
6743
6801
|
classNames == null ? void 0 : classNames.emptyState
|
|
6744
6802
|
),
|
|
6745
|
-
children: /* @__PURE__ */ (0,
|
|
6803
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
6746
6804
|
"div",
|
|
6747
6805
|
{
|
|
6748
6806
|
className: cn(
|
|
@@ -6752,15 +6810,15 @@ var Search = ({
|
|
|
6752
6810
|
role: "status",
|
|
6753
6811
|
"aria-live": "polite",
|
|
6754
6812
|
children: [
|
|
6755
|
-
/* @__PURE__ */ (0,
|
|
6813
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6756
6814
|
SearchEmptyIcon,
|
|
6757
6815
|
{
|
|
6758
6816
|
className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
|
|
6759
6817
|
"aria-hidden": true
|
|
6760
6818
|
}
|
|
6761
6819
|
),
|
|
6762
|
-
/* @__PURE__ */ (0,
|
|
6763
|
-
/* @__PURE__ */ (0,
|
|
6820
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: "flex flex-col items-center gap-1 text-center", children: [
|
|
6821
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6764
6822
|
"p",
|
|
6765
6823
|
{
|
|
6766
6824
|
className: cn(
|
|
@@ -6771,7 +6829,7 @@ var Search = ({
|
|
|
6771
6829
|
children: labels.search.noResultsTitle
|
|
6772
6830
|
}
|
|
6773
6831
|
),
|
|
6774
|
-
/* @__PURE__ */ (0,
|
|
6832
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6775
6833
|
"p",
|
|
6776
6834
|
{
|
|
6777
6835
|
className: cn(
|
|
@@ -6821,7 +6879,7 @@ var resolveHeaderSearchContent = ({
|
|
|
6821
6879
|
};
|
|
6822
6880
|
|
|
6823
6881
|
// src/primitives/header/index.tsx
|
|
6824
|
-
var
|
|
6882
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
6825
6883
|
var Header = ({
|
|
6826
6884
|
logo,
|
|
6827
6885
|
logoHref,
|
|
@@ -6834,7 +6892,7 @@ var Header = ({
|
|
|
6834
6892
|
"aria-label": ariaLabel
|
|
6835
6893
|
}) => {
|
|
6836
6894
|
const labels = (0, import_hooks27.useLabels)();
|
|
6837
|
-
const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ (0,
|
|
6895
|
+
const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6838
6896
|
"img",
|
|
6839
6897
|
{
|
|
6840
6898
|
src: logo.src,
|
|
@@ -6843,14 +6901,14 @@ var Header = ({
|
|
|
6843
6901
|
height: logo.height,
|
|
6844
6902
|
className: cn("block max-h-full", classNames == null ? void 0 : classNames.logoElement)
|
|
6845
6903
|
}
|
|
6846
|
-
) : logo !== void 0 ? /* @__PURE__ */ (0,
|
|
6904
|
+
) : logo !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6847
6905
|
AggLogo,
|
|
6848
6906
|
{
|
|
6849
6907
|
className: cn("h-6 w-auto text-agg-foreground", classNames == null ? void 0 : classNames.logoElement),
|
|
6850
6908
|
title: labels.header.logoAria
|
|
6851
6909
|
}
|
|
6852
6910
|
);
|
|
6853
|
-
const wrappedLogo = logoHref ? /* @__PURE__ */ (0,
|
|
6911
|
+
const wrappedLogo = logoHref ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6854
6912
|
"a",
|
|
6855
6913
|
{
|
|
6856
6914
|
href: logoHref,
|
|
@@ -6859,7 +6917,7 @@ var Header = ({
|
|
|
6859
6917
|
onClick: onLogoClick,
|
|
6860
6918
|
children: logoContent
|
|
6861
6919
|
}
|
|
6862
|
-
) : onLogoClick ? /* @__PURE__ */ (0,
|
|
6920
|
+
) : onLogoClick ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6863
6921
|
"button",
|
|
6864
6922
|
{
|
|
6865
6923
|
type: "button",
|
|
@@ -6871,13 +6929,13 @@ var Header = ({
|
|
|
6871
6929
|
onClick: onLogoClick,
|
|
6872
6930
|
children: logoContent
|
|
6873
6931
|
}
|
|
6874
|
-
) : /* @__PURE__ */ (0,
|
|
6932
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
|
|
6875
6933
|
const searchContent = resolveHeaderSearchContent({
|
|
6876
6934
|
search,
|
|
6877
6935
|
searchProps,
|
|
6878
|
-
renderSearch: (nextSearchProps) => /* @__PURE__ */ (0,
|
|
6936
|
+
renderSearch: (nextSearchProps) => /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Search, __spreadValues({}, nextSearchProps))
|
|
6879
6937
|
});
|
|
6880
|
-
return /* @__PURE__ */ (0,
|
|
6938
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_jsx_runtime108.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6881
6939
|
"header",
|
|
6882
6940
|
{
|
|
6883
6941
|
role: "banner",
|
|
@@ -6886,7 +6944,7 @@ var Header = ({
|
|
|
6886
6944
|
fallbackLabel: labels.header.bannerAria
|
|
6887
6945
|
}),
|
|
6888
6946
|
className: cn(baseHeaderClasses, sticky && stickyHeaderClasses, classNames == null ? void 0 : classNames.root),
|
|
6889
|
-
children: /* @__PURE__ */ (0,
|
|
6947
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
6890
6948
|
"div",
|
|
6891
6949
|
{
|
|
6892
6950
|
className: cn(
|
|
@@ -6894,7 +6952,7 @@ var Header = ({
|
|
|
6894
6952
|
classNames == null ? void 0 : classNames.inner
|
|
6895
6953
|
),
|
|
6896
6954
|
children: [
|
|
6897
|
-
/* @__PURE__ */ (0,
|
|
6955
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6898
6956
|
"div",
|
|
6899
6957
|
{
|
|
6900
6958
|
className: cn(
|
|
@@ -6904,7 +6962,7 @@ var Header = ({
|
|
|
6904
6962
|
children: wrappedLogo
|
|
6905
6963
|
}
|
|
6906
6964
|
),
|
|
6907
|
-
searchContent ? /* @__PURE__ */ (0,
|
|
6965
|
+
searchContent ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6908
6966
|
"div",
|
|
6909
6967
|
{
|
|
6910
6968
|
className: cn(
|
|
@@ -6915,7 +6973,7 @@ var Header = ({
|
|
|
6915
6973
|
children: searchContent
|
|
6916
6974
|
}
|
|
6917
6975
|
) : null,
|
|
6918
|
-
/* @__PURE__ */ (0,
|
|
6976
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6919
6977
|
"div",
|
|
6920
6978
|
{
|
|
6921
6979
|
className: cn(
|
|
@@ -6978,7 +7036,7 @@ var resolveInlineAlertHasAction = ({
|
|
|
6978
7036
|
};
|
|
6979
7037
|
|
|
6980
7038
|
// src/primitives/inline-alert/index.tsx
|
|
6981
|
-
var
|
|
7039
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
6982
7040
|
var InlineAlert = ({
|
|
6983
7041
|
tone = INLINE_ALERT_DEFAULT_TONE,
|
|
6984
7042
|
variant,
|
|
@@ -6992,7 +7050,7 @@ var InlineAlert = ({
|
|
|
6992
7050
|
const resolvedVariant = resolveInlineAlertVariant({ tone, variant });
|
|
6993
7051
|
const hasAction = resolveInlineAlertHasAction({ actionLabel, onAction });
|
|
6994
7052
|
const { ariaLive, role } = INLINE_ALERT_LIVE_REGION_CONFIG[tone];
|
|
6995
|
-
return /* @__PURE__ */ (0,
|
|
7053
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
6996
7054
|
"div",
|
|
6997
7055
|
{
|
|
6998
7056
|
className: cn(
|
|
@@ -7004,7 +7062,7 @@ var InlineAlert = ({
|
|
|
7004
7062
|
"aria-live": ariaLive,
|
|
7005
7063
|
"aria-label": ariaLabel,
|
|
7006
7064
|
children: [
|
|
7007
|
-
/* @__PURE__ */ (0,
|
|
7065
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
7008
7066
|
Icon,
|
|
7009
7067
|
{
|
|
7010
7068
|
name: INLINE_ALERT_TONE_ICON_NAME[tone],
|
|
@@ -7012,14 +7070,14 @@ var InlineAlert = ({
|
|
|
7012
7070
|
"aria-hidden": "true"
|
|
7013
7071
|
}
|
|
7014
7072
|
),
|
|
7015
|
-
/* @__PURE__ */ (0,
|
|
7073
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
7016
7074
|
"div",
|
|
7017
7075
|
{
|
|
7018
7076
|
className: cn(
|
|
7019
7077
|
"min-w-0",
|
|
7020
7078
|
resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
|
|
7021
7079
|
),
|
|
7022
|
-
children: /* @__PURE__ */ (0,
|
|
7080
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
7023
7081
|
"div",
|
|
7024
7082
|
{
|
|
7025
7083
|
className: cn(
|
|
@@ -7028,14 +7086,14 @@ var InlineAlert = ({
|
|
|
7028
7086
|
resolvedVariant === "plain" && !hasAction ? "items-center" : null
|
|
7029
7087
|
),
|
|
7030
7088
|
children: [
|
|
7031
|
-
title ? /* @__PURE__ */ (0,
|
|
7032
|
-
/* @__PURE__ */ (0,
|
|
7089
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title }) : null,
|
|
7090
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
|
|
7033
7091
|
]
|
|
7034
7092
|
}
|
|
7035
7093
|
)
|
|
7036
7094
|
}
|
|
7037
7095
|
),
|
|
7038
|
-
hasAction ? /* @__PURE__ */ (0,
|
|
7096
|
+
hasAction ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
7039
7097
|
"button",
|
|
7040
7098
|
{
|
|
7041
7099
|
type: "button",
|
|
@@ -7073,7 +7131,7 @@ var resolveLoadingIconAriaLabel = ({
|
|
|
7073
7131
|
};
|
|
7074
7132
|
|
|
7075
7133
|
// src/primitives/loading-icon/index.tsx
|
|
7076
|
-
var
|
|
7134
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
7077
7135
|
var LoadingIcon = ({
|
|
7078
7136
|
size = LOADING_ICON_DEFAULT_SIZE,
|
|
7079
7137
|
variant = "default",
|
|
@@ -7084,7 +7142,7 @@ var LoadingIcon = ({
|
|
|
7084
7142
|
const {
|
|
7085
7143
|
features: { enableAnimations }
|
|
7086
7144
|
} = (0, import_hooks28.useSdkUiConfig)();
|
|
7087
|
-
return /* @__PURE__ */ (0,
|
|
7145
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7088
7146
|
"span",
|
|
7089
7147
|
{
|
|
7090
7148
|
role: "status",
|
|
@@ -7097,7 +7155,7 @@ var LoadingIcon = ({
|
|
|
7097
7155
|
"inline-grid place-items-center text-agg-primary will-change-transform",
|
|
7098
7156
|
className
|
|
7099
7157
|
),
|
|
7100
|
-
children: /* @__PURE__ */ (0,
|
|
7158
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7101
7159
|
"svg",
|
|
7102
7160
|
{
|
|
7103
7161
|
viewBox: LOADING_ICON_SVG_VIEW_BOX,
|
|
@@ -7105,8 +7163,8 @@ var LoadingIcon = ({
|
|
|
7105
7163
|
"block",
|
|
7106
7164
|
variant === "prominent" ? LOADING_ICON_PROMINENT_FRAME_CLASS : iconSizeClasses[size]
|
|
7107
7165
|
),
|
|
7108
|
-
children: variant === "prominent" ? /* @__PURE__ */ (0,
|
|
7109
|
-
enableAnimations ? /* @__PURE__ */ (0,
|
|
7166
|
+
children: variant === "prominent" ? /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("g", { children: [
|
|
7167
|
+
enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7110
7168
|
"animateTransform",
|
|
7111
7169
|
{
|
|
7112
7170
|
attributeName: "transform",
|
|
@@ -7118,7 +7176,7 @@ var LoadingIcon = ({
|
|
|
7118
7176
|
repeatCount: "indefinite"
|
|
7119
7177
|
}
|
|
7120
7178
|
) : null,
|
|
7121
|
-
/* @__PURE__ */ (0,
|
|
7179
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7122
7180
|
"circle",
|
|
7123
7181
|
{
|
|
7124
7182
|
cx: "22",
|
|
@@ -7132,8 +7190,8 @@ var LoadingIcon = ({
|
|
|
7132
7190
|
strokeDasharray: LOADING_ICON_PROMINENT_DASHARRAY
|
|
7133
7191
|
}
|
|
7134
7192
|
)
|
|
7135
|
-
] }) : /* @__PURE__ */ (0,
|
|
7136
|
-
enableAnimations ? /* @__PURE__ */ (0,
|
|
7193
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("g", { children: [
|
|
7194
|
+
enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7137
7195
|
"animateTransform",
|
|
7138
7196
|
{
|
|
7139
7197
|
attributeName: "transform",
|
|
@@ -7145,7 +7203,7 @@ var LoadingIcon = ({
|
|
|
7145
7203
|
repeatCount: "indefinite"
|
|
7146
7204
|
}
|
|
7147
7205
|
) : null,
|
|
7148
|
-
/* @__PURE__ */ (0,
|
|
7206
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7149
7207
|
"circle",
|
|
7150
7208
|
{
|
|
7151
7209
|
cx: "22",
|
|
@@ -7157,8 +7215,8 @@ var LoadingIcon = ({
|
|
|
7157
7215
|
strokeLinecap: "round",
|
|
7158
7216
|
strokeDasharray: "60 100",
|
|
7159
7217
|
strokeDashoffset: "0",
|
|
7160
|
-
children: enableAnimations ? /* @__PURE__ */ (0,
|
|
7161
|
-
/* @__PURE__ */ (0,
|
|
7218
|
+
children: enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_jsx_runtime110.Fragment, { children: [
|
|
7219
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7162
7220
|
"animate",
|
|
7163
7221
|
{
|
|
7164
7222
|
attributeName: "stroke-dasharray",
|
|
@@ -7167,7 +7225,7 @@ var LoadingIcon = ({
|
|
|
7167
7225
|
repeatCount: "indefinite"
|
|
7168
7226
|
}
|
|
7169
7227
|
),
|
|
7170
|
-
/* @__PURE__ */ (0,
|
|
7228
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7171
7229
|
"animate",
|
|
7172
7230
|
{
|
|
7173
7231
|
attributeName: "stroke-dashoffset",
|
|
@@ -7212,7 +7270,7 @@ var resolveModalCloseIcon = ({
|
|
|
7212
7270
|
};
|
|
7213
7271
|
|
|
7214
7272
|
// src/primitives/modal/index.tsx
|
|
7215
|
-
var
|
|
7273
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
7216
7274
|
var Modal = ({
|
|
7217
7275
|
open,
|
|
7218
7276
|
onOpenChange,
|
|
@@ -7220,7 +7278,7 @@ var Modal = ({
|
|
|
7220
7278
|
"aria-label": _ariaLabel,
|
|
7221
7279
|
"aria-labelledby": _ariaLabelledBy
|
|
7222
7280
|
}) => {
|
|
7223
|
-
return /* @__PURE__ */ (0,
|
|
7281
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Dialog.Root, { open, onOpenChange, children });
|
|
7224
7282
|
};
|
|
7225
7283
|
var ModalContainer = ({
|
|
7226
7284
|
children,
|
|
@@ -7235,8 +7293,8 @@ var ModalContainer = ({
|
|
|
7235
7293
|
} = (0, import_hooks29.useSdkUiConfig)();
|
|
7236
7294
|
const overlayAnimationClassName = resolveModalOverlayAnimationClassName(enableAnimations);
|
|
7237
7295
|
const panelAnimationClassName = resolveModalPanelAnimationClassName(enableAnimations);
|
|
7238
|
-
return /* @__PURE__ */ (0,
|
|
7239
|
-
/* @__PURE__ */ (0,
|
|
7296
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(Dialog.Portal, { children: [
|
|
7297
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7240
7298
|
Dialog.Overlay,
|
|
7241
7299
|
{
|
|
7242
7300
|
className: cn(
|
|
@@ -7247,7 +7305,7 @@ var ModalContainer = ({
|
|
|
7247
7305
|
)
|
|
7248
7306
|
}
|
|
7249
7307
|
),
|
|
7250
|
-
/* @__PURE__ */ (0,
|
|
7308
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7251
7309
|
Dialog.Content,
|
|
7252
7310
|
{
|
|
7253
7311
|
className: cn(
|
|
@@ -7273,7 +7331,7 @@ var ModalContainer = ({
|
|
|
7273
7331
|
event.preventDefault();
|
|
7274
7332
|
}
|
|
7275
7333
|
},
|
|
7276
|
-
children: /* @__PURE__ */ (0,
|
|
7334
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7277
7335
|
"div",
|
|
7278
7336
|
{
|
|
7279
7337
|
className: cn(
|
|
@@ -7281,7 +7339,7 @@ var ModalContainer = ({
|
|
|
7281
7339
|
"items-end md:items-center",
|
|
7282
7340
|
"flex h-full min-h-0 w-full justify-center p-0 sm:p-5"
|
|
7283
7341
|
),
|
|
7284
|
-
children: /* @__PURE__ */ (0,
|
|
7342
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7285
7343
|
"div",
|
|
7286
7344
|
{
|
|
7287
7345
|
className: cn(
|
|
@@ -7323,12 +7381,12 @@ var ModalHeader = ({
|
|
|
7323
7381
|
features: { enableAnimations }
|
|
7324
7382
|
} = (0, import_hooks29.useSdkUiConfig)();
|
|
7325
7383
|
const labels = (0, import_hooks29.useLabels)();
|
|
7326
|
-
const defaultCloseIcon = /* @__PURE__ */ (0,
|
|
7384
|
+
const defaultCloseIcon = /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CloseIcon, { className: "h-6 w-6" });
|
|
7327
7385
|
const resolvedCloseIcon = resolveModalCloseIcon({
|
|
7328
7386
|
closeIcon,
|
|
7329
7387
|
defaultCloseIcon
|
|
7330
7388
|
});
|
|
7331
|
-
return /* @__PURE__ */ (0,
|
|
7389
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
7332
7390
|
"div",
|
|
7333
7391
|
{
|
|
7334
7392
|
className: cn(
|
|
@@ -7341,7 +7399,7 @@ var ModalHeader = ({
|
|
|
7341
7399
|
classNames == null ? void 0 : classNames.root
|
|
7342
7400
|
),
|
|
7343
7401
|
children: [
|
|
7344
|
-
/* @__PURE__ */ (0,
|
|
7402
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
7345
7403
|
"div",
|
|
7346
7404
|
{
|
|
7347
7405
|
className: cn(
|
|
@@ -7354,8 +7412,8 @@ var ModalHeader = ({
|
|
|
7354
7412
|
classNames == null ? void 0 : classNames.container
|
|
7355
7413
|
),
|
|
7356
7414
|
children: [
|
|
7357
|
-
leftElement ? /* @__PURE__ */ (0,
|
|
7358
|
-
/* @__PURE__ */ (0,
|
|
7415
|
+
leftElement ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_jsx_runtime111.Fragment, { children: leftElement }) : null,
|
|
7416
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
7359
7417
|
"div",
|
|
7360
7418
|
{
|
|
7361
7419
|
className: cn(
|
|
@@ -7364,7 +7422,7 @@ var ModalHeader = ({
|
|
|
7364
7422
|
classNames == null ? void 0 : classNames.titleContainer
|
|
7365
7423
|
),
|
|
7366
7424
|
children: [
|
|
7367
|
-
/* @__PURE__ */ (0,
|
|
7425
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7368
7426
|
Dialog.Title,
|
|
7369
7427
|
{
|
|
7370
7428
|
className: cn(
|
|
@@ -7378,7 +7436,7 @@ var ModalHeader = ({
|
|
|
7378
7436
|
children: title
|
|
7379
7437
|
}
|
|
7380
7438
|
),
|
|
7381
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
7439
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7382
7440
|
"span",
|
|
7383
7441
|
{
|
|
7384
7442
|
className: cn(
|
|
@@ -7392,9 +7450,9 @@ var ModalHeader = ({
|
|
|
7392
7450
|
]
|
|
7393
7451
|
}
|
|
7394
7452
|
),
|
|
7395
|
-
/* @__PURE__ */ (0,
|
|
7396
|
-
rightElement ? /* @__PURE__ */ (0,
|
|
7397
|
-
!hideClose && /* @__PURE__ */ (0,
|
|
7453
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
|
|
7454
|
+
rightElement ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_jsx_runtime111.Fragment, { children: rightElement }) : null,
|
|
7455
|
+
!hideClose && /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7398
7456
|
Dialog.Close,
|
|
7399
7457
|
{
|
|
7400
7458
|
className: cn(
|
|
@@ -7411,14 +7469,14 @@ var ModalHeader = ({
|
|
|
7411
7469
|
]
|
|
7412
7470
|
}
|
|
7413
7471
|
),
|
|
7414
|
-
children ? /* @__PURE__ */ (0,
|
|
7472
|
+
children ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: "agg-modal-header-extra", children }) : null
|
|
7415
7473
|
]
|
|
7416
7474
|
}
|
|
7417
7475
|
);
|
|
7418
7476
|
};
|
|
7419
7477
|
Modal.Header = ModalHeader;
|
|
7420
7478
|
var ModalBody = ({ children, classNames }) => {
|
|
7421
|
-
return /* @__PURE__ */ (0,
|
|
7479
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7422
7480
|
"div",
|
|
7423
7481
|
{
|
|
7424
7482
|
className: cn(
|
|
@@ -7439,7 +7497,7 @@ var ModalFooter = ({
|
|
|
7439
7497
|
classNames,
|
|
7440
7498
|
hideBorder = false
|
|
7441
7499
|
}) => {
|
|
7442
|
-
return /* @__PURE__ */ (0,
|
|
7500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7443
7501
|
"div",
|
|
7444
7502
|
{
|
|
7445
7503
|
className: cn(
|
|
@@ -7460,9 +7518,9 @@ Modal.Footer = ModalFooter;
|
|
|
7460
7518
|
Modal.displayName = "Modal";
|
|
7461
7519
|
|
|
7462
7520
|
// src/primitives/number-value.tsx
|
|
7463
|
-
var
|
|
7521
|
+
var import_react10 = require("react");
|
|
7464
7522
|
var import_hooks30 = require("@agg-build/hooks");
|
|
7465
|
-
var
|
|
7523
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
7466
7524
|
var NumberValue = ({
|
|
7467
7525
|
value,
|
|
7468
7526
|
format = "number",
|
|
@@ -7473,7 +7531,7 @@ var NumberValue = ({
|
|
|
7473
7531
|
const {
|
|
7474
7532
|
formatting: { formatCompactCurrency, formatCurrency, formatDate, formatNumber, formatPercent }
|
|
7475
7533
|
} = (0, import_hooks30.useSdkUiConfig)();
|
|
7476
|
-
const formatted = (0,
|
|
7534
|
+
const formatted = (0, import_react10.useMemo)(() => {
|
|
7477
7535
|
if (value == null) return fallback;
|
|
7478
7536
|
if (format === "date") {
|
|
7479
7537
|
if (value instanceof Date) return formatDate(value);
|
|
@@ -7496,12 +7554,12 @@ var NumberValue = ({
|
|
|
7496
7554
|
formatPercent,
|
|
7497
7555
|
value
|
|
7498
7556
|
]);
|
|
7499
|
-
return /* @__PURE__ */ (0,
|
|
7557
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
|
|
7500
7558
|
};
|
|
7501
7559
|
NumberValue.displayName = "NumberValue";
|
|
7502
7560
|
|
|
7503
7561
|
// src/primitives/select/index.tsx
|
|
7504
|
-
var
|
|
7562
|
+
var import_react11 = require("react");
|
|
7505
7563
|
var import_react_dom = require("react-dom");
|
|
7506
7564
|
var import_hooks31 = require("@agg-build/hooks");
|
|
7507
7565
|
|
|
@@ -7526,7 +7584,7 @@ var resolveIsSelectDisabled = ({
|
|
|
7526
7584
|
};
|
|
7527
7585
|
|
|
7528
7586
|
// src/primitives/select/index.tsx
|
|
7529
|
-
var
|
|
7587
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
7530
7588
|
var SELECT_DROPDOWN_Z = 1e4;
|
|
7531
7589
|
function resolveSelectPortalContainer(triggerRoot) {
|
|
7532
7590
|
var _a, _b;
|
|
@@ -7550,27 +7608,27 @@ var Select = ({
|
|
|
7550
7608
|
const hasAnyIcon = resolveHasAnyIcon(items);
|
|
7551
7609
|
const isDisabled = resolveIsSelectDisabled({ disabled, items });
|
|
7552
7610
|
const selectedItem = resolveSelectedItem(items, value);
|
|
7553
|
-
const [isOpen, setIsOpen] = (0,
|
|
7554
|
-
const [menuRect, setMenuRect] = (0,
|
|
7611
|
+
const [isOpen, setIsOpen] = (0, import_react11.useState)(false);
|
|
7612
|
+
const [menuRect, setMenuRect] = (0, import_react11.useState)(
|
|
7555
7613
|
null
|
|
7556
7614
|
);
|
|
7557
|
-
const containerRef = (0,
|
|
7558
|
-
const portalRef = (0,
|
|
7559
|
-
const handleClose = (0,
|
|
7560
|
-
const updateMenuRect = (0,
|
|
7615
|
+
const containerRef = (0, import_react11.useRef)(null);
|
|
7616
|
+
const portalRef = (0, import_react11.useRef)(null);
|
|
7617
|
+
const handleClose = (0, import_react11.useCallback)(() => setIsOpen(false), []);
|
|
7618
|
+
const updateMenuRect = (0, import_react11.useCallback)(() => {
|
|
7561
7619
|
const el = containerRef.current;
|
|
7562
7620
|
if (!el) return;
|
|
7563
7621
|
const r = el.getBoundingClientRect();
|
|
7564
7622
|
setMenuRect({ top: r.bottom + 4, left: r.left, width: r.width });
|
|
7565
7623
|
}, []);
|
|
7566
|
-
(0,
|
|
7624
|
+
(0, import_react11.useLayoutEffect)(() => {
|
|
7567
7625
|
if (!isOpen || !hasAnyIcon) {
|
|
7568
7626
|
setMenuRect(null);
|
|
7569
7627
|
return;
|
|
7570
7628
|
}
|
|
7571
7629
|
updateMenuRect();
|
|
7572
7630
|
}, [isOpen, hasAnyIcon, updateMenuRect, value]);
|
|
7573
|
-
(0,
|
|
7631
|
+
(0, import_react11.useEffect)(() => {
|
|
7574
7632
|
if (!isOpen || !hasAnyIcon) return;
|
|
7575
7633
|
const handlePointerDown = (event) => {
|
|
7576
7634
|
var _a2, _b;
|
|
@@ -7591,7 +7649,7 @@ var Select = ({
|
|
|
7591
7649
|
document.removeEventListener("scroll", handleReposition, true);
|
|
7592
7650
|
};
|
|
7593
7651
|
}, [isOpen, hasAnyIcon, handleClose, updateMenuRect]);
|
|
7594
|
-
(0,
|
|
7652
|
+
(0, import_react11.useEffect)(() => {
|
|
7595
7653
|
if (!isOpen) return;
|
|
7596
7654
|
const handleKeyDown = (event) => {
|
|
7597
7655
|
if ((event == null ? void 0 : event.key) === "Escape") handleClose();
|
|
@@ -7601,8 +7659,8 @@ var Select = ({
|
|
|
7601
7659
|
}, [isOpen, handleClose]);
|
|
7602
7660
|
const triggerRadiusClass = triggerClassName != null ? triggerClassName : "rounded-agg-md";
|
|
7603
7661
|
if (!hasAnyIcon) {
|
|
7604
|
-
return /* @__PURE__ */ (0,
|
|
7605
|
-
/* @__PURE__ */ (0,
|
|
7662
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
|
|
7663
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7606
7664
|
"select",
|
|
7607
7665
|
{
|
|
7608
7666
|
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
@@ -7620,13 +7678,13 @@ var Select = ({
|
|
|
7620
7678
|
disabled: isDisabled,
|
|
7621
7679
|
value,
|
|
7622
7680
|
onChange: (event) => onChange(event.target.value),
|
|
7623
|
-
children: items.map((item) => /* @__PURE__ */ (0,
|
|
7681
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
7624
7682
|
}
|
|
7625
7683
|
),
|
|
7626
|
-
/* @__PURE__ */ (0,
|
|
7684
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "agg-select-chevron pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Icon, { name: "chevron-down-thin", size: "small", color: "currentColor" }) })
|
|
7627
7685
|
] });
|
|
7628
7686
|
}
|
|
7629
|
-
const listbox = menuRect ? /* @__PURE__ */ (0,
|
|
7687
|
+
const listbox = menuRect ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7630
7688
|
"div",
|
|
7631
7689
|
{
|
|
7632
7690
|
ref: portalRef,
|
|
@@ -7643,7 +7701,7 @@ var Select = ({
|
|
|
7643
7701
|
className: "agg-select-content pointer-events-auto max-h-[min(20rem,calc(100vh-4rem))] overflow-y-auto rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
|
|
7644
7702
|
children: items.map((item) => {
|
|
7645
7703
|
const isSelected = item.value === value;
|
|
7646
|
-
return /* @__PURE__ */ (0,
|
|
7704
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7647
7705
|
"button",
|
|
7648
7706
|
{
|
|
7649
7707
|
type: "button",
|
|
@@ -7665,8 +7723,8 @@ var Select = ({
|
|
|
7665
7723
|
handleClose();
|
|
7666
7724
|
},
|
|
7667
7725
|
children: [
|
|
7668
|
-
isSelected ? /* @__PURE__ */ (0,
|
|
7669
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
7726
|
+
isSelected ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "absolute left-0 top-0 bottom-0 w-1 bg-agg-primary" }) : null,
|
|
7727
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: item.icon }) : item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7670
7728
|
RemoteImage,
|
|
7671
7729
|
{
|
|
7672
7730
|
src: item.iconUrl,
|
|
@@ -7674,7 +7732,7 @@ var Select = ({
|
|
|
7674
7732
|
className: "agg-select-item-icon h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
7675
7733
|
}
|
|
7676
7734
|
) : null,
|
|
7677
|
-
/* @__PURE__ */ (0,
|
|
7735
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "agg-select-item-label truncate", children: item.label })
|
|
7678
7736
|
]
|
|
7679
7737
|
},
|
|
7680
7738
|
item.value
|
|
@@ -7682,13 +7740,13 @@ var Select = ({
|
|
|
7682
7740
|
})
|
|
7683
7741
|
}
|
|
7684
7742
|
) : null;
|
|
7685
|
-
return /* @__PURE__ */ (0,
|
|
7743
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7686
7744
|
"div",
|
|
7687
7745
|
{
|
|
7688
7746
|
ref: containerRef,
|
|
7689
7747
|
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
7690
7748
|
children: [
|
|
7691
|
-
/* @__PURE__ */ (0,
|
|
7749
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7692
7750
|
"button",
|
|
7693
7751
|
{
|
|
7694
7752
|
type: "button",
|
|
@@ -7710,7 +7768,7 @@ var Select = ({
|
|
|
7710
7768
|
),
|
|
7711
7769
|
onClick: () => setIsOpen((previousValue) => !previousValue),
|
|
7712
7770
|
children: [
|
|
7713
|
-
(selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ (0,
|
|
7771
|
+
(selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7714
7772
|
RemoteImage,
|
|
7715
7773
|
{
|
|
7716
7774
|
src: selectedItem.iconUrl,
|
|
@@ -7718,11 +7776,11 @@ var Select = ({
|
|
|
7718
7776
|
className: "agg-select-icon h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
7719
7777
|
}
|
|
7720
7778
|
) : null,
|
|
7721
|
-
/* @__PURE__ */ (0,
|
|
7779
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
7722
7780
|
]
|
|
7723
7781
|
}
|
|
7724
7782
|
),
|
|
7725
|
-
/* @__PURE__ */ (0,
|
|
7783
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "agg-select-chevron pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Icon, { name: "chevron-down-thin", size: "small", color: "currentColor" }) }),
|
|
7726
7784
|
isOpen && typeof document !== "undefined" && listbox ? (0, import_react_dom.createPortal)(listbox, resolveSelectPortalContainer(containerRef.current)) : null
|
|
7727
7785
|
]
|
|
7728
7786
|
}
|
|
@@ -7731,7 +7789,7 @@ var Select = ({
|
|
|
7731
7789
|
Select.displayName = "Select";
|
|
7732
7790
|
|
|
7733
7791
|
// src/primitives/state-message/index.tsx
|
|
7734
|
-
var
|
|
7792
|
+
var import_react12 = require("react");
|
|
7735
7793
|
var import_hooks32 = require("@agg-build/hooks");
|
|
7736
7794
|
|
|
7737
7795
|
// src/primitives/typography/typography.constants.ts
|
|
@@ -7784,14 +7842,14 @@ var getTypographyClassName = ({
|
|
|
7784
7842
|
};
|
|
7785
7843
|
|
|
7786
7844
|
// src/primitives/typography/index.tsx
|
|
7787
|
-
var
|
|
7845
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
7788
7846
|
var Typography = ({
|
|
7789
7847
|
as: Component2 = "p",
|
|
7790
7848
|
variant = "body",
|
|
7791
7849
|
className,
|
|
7792
7850
|
children
|
|
7793
7851
|
}) => {
|
|
7794
|
-
return /* @__PURE__ */ (0,
|
|
7852
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Component2, { className: getTypographyClassName({ className, variant }), children });
|
|
7795
7853
|
};
|
|
7796
7854
|
Typography.displayName = "Typography";
|
|
7797
7855
|
|
|
@@ -7804,7 +7862,7 @@ var resolveStateMessageHasAction = ({ onAction }) => {
|
|
|
7804
7862
|
};
|
|
7805
7863
|
|
|
7806
7864
|
// src/primitives/state-message/index.tsx
|
|
7807
|
-
var
|
|
7865
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
7808
7866
|
var StateMessage = ({
|
|
7809
7867
|
icon,
|
|
7810
7868
|
title,
|
|
@@ -7814,11 +7872,11 @@ var StateMessage = ({
|
|
|
7814
7872
|
}) => {
|
|
7815
7873
|
const labels = (0, import_hooks32.useLabels)();
|
|
7816
7874
|
const hasAction = resolveStateMessageHasAction({ onAction });
|
|
7817
|
-
const resolvedIcon = (0,
|
|
7875
|
+
const resolvedIcon = (0, import_react12.cloneElement)(icon, {
|
|
7818
7876
|
className: cn(STATE_MESSAGE_ICON_CLASS_NAME, icon.props.className, classNames == null ? void 0 : classNames.icon),
|
|
7819
7877
|
"aria-hidden": true
|
|
7820
7878
|
});
|
|
7821
|
-
return /* @__PURE__ */ (0,
|
|
7879
|
+
return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7822
7880
|
"div",
|
|
7823
7881
|
{
|
|
7824
7882
|
className: cn(
|
|
@@ -7829,7 +7887,7 @@ var StateMessage = ({
|
|
|
7829
7887
|
role: "status",
|
|
7830
7888
|
"aria-live": "polite",
|
|
7831
7889
|
"aria-label": title,
|
|
7832
|
-
children: /* @__PURE__ */ (0,
|
|
7890
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
|
|
7833
7891
|
"div",
|
|
7834
7892
|
{
|
|
7835
7893
|
className: cn(
|
|
@@ -7838,7 +7896,7 @@ var StateMessage = ({
|
|
|
7838
7896
|
),
|
|
7839
7897
|
children: [
|
|
7840
7898
|
resolvedIcon,
|
|
7841
|
-
/* @__PURE__ */ (0,
|
|
7899
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
|
|
7842
7900
|
"div",
|
|
7843
7901
|
{
|
|
7844
7902
|
className: cn(
|
|
@@ -7846,8 +7904,8 @@ var StateMessage = ({
|
|
|
7846
7904
|
classNames == null ? void 0 : classNames.text
|
|
7847
7905
|
),
|
|
7848
7906
|
children: [
|
|
7849
|
-
/* @__PURE__ */ (0,
|
|
7850
|
-
description ? /* @__PURE__ */ (0,
|
|
7907
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title }),
|
|
7908
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7851
7909
|
Typography,
|
|
7852
7910
|
{
|
|
7853
7911
|
variant: "label",
|
|
@@ -7858,7 +7916,7 @@ var StateMessage = ({
|
|
|
7858
7916
|
]
|
|
7859
7917
|
}
|
|
7860
7918
|
),
|
|
7861
|
-
hasAction ? /* @__PURE__ */ (0,
|
|
7919
|
+
hasAction ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7862
7920
|
Button,
|
|
7863
7921
|
{
|
|
7864
7922
|
variant: "tertiary",
|
|
@@ -7885,7 +7943,7 @@ var StateMessage = ({
|
|
|
7885
7943
|
StateMessage.displayName = "StateMessage";
|
|
7886
7944
|
|
|
7887
7945
|
// src/primitives/tabs/index.tsx
|
|
7888
|
-
var
|
|
7946
|
+
var import_react13 = require("react");
|
|
7889
7947
|
var import_hooks33 = require("@agg-build/hooks");
|
|
7890
7948
|
|
|
7891
7949
|
// src/primitives/tabs/tabs.constants.ts
|
|
@@ -7913,7 +7971,7 @@ var findEdgeEnabledIndex = (items, direction) => {
|
|
|
7913
7971
|
};
|
|
7914
7972
|
|
|
7915
7973
|
// src/primitives/tabs/index.tsx
|
|
7916
|
-
var
|
|
7974
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
7917
7975
|
var getTabButtonClassName = ({
|
|
7918
7976
|
enableAnimations,
|
|
7919
7977
|
isBarVariant,
|
|
@@ -7960,8 +8018,8 @@ var Tabs = ({
|
|
|
7960
8018
|
const {
|
|
7961
8019
|
features: { enableAnimations }
|
|
7962
8020
|
} = (0, import_hooks33.useSdkUiConfig)();
|
|
7963
|
-
const buttonRefs = (0,
|
|
7964
|
-
const dragStateRef = (0,
|
|
8021
|
+
const buttonRefs = (0, import_react13.useRef)([]);
|
|
8022
|
+
const dragStateRef = (0, import_react13.useRef)({
|
|
7965
8023
|
isPointerDown: false,
|
|
7966
8024
|
isDragging: false,
|
|
7967
8025
|
pointerId: null,
|
|
@@ -7969,29 +8027,29 @@ var Tabs = ({
|
|
|
7969
8027
|
startClientY: 0,
|
|
7970
8028
|
startScrollLeft: 0
|
|
7971
8029
|
});
|
|
7972
|
-
const suppressClickRef = (0,
|
|
8030
|
+
const suppressClickRef = (0, import_react13.useRef)(false);
|
|
7973
8031
|
const resolvedAriaLabel = ariaLabel != null ? ariaLabel : labels.common.tabsAria;
|
|
7974
|
-
const [isMobileViewport, setIsMobileViewport] = (0,
|
|
7975
|
-
const [isDraggingTabs, setIsDraggingTabs] = (0,
|
|
7976
|
-
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0,
|
|
8032
|
+
const [isMobileViewport, setIsMobileViewport] = (0, import_react13.useState)(false);
|
|
8033
|
+
const [isDraggingTabs, setIsDraggingTabs] = (0, import_react13.useState)(false);
|
|
8034
|
+
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0, import_react13.useState)({
|
|
7977
8035
|
transform: "translateX(0px)",
|
|
7978
8036
|
width: 0,
|
|
7979
8037
|
opacity: 0
|
|
7980
8038
|
});
|
|
7981
|
-
const [scrollAffordanceState, setScrollAffordanceState] = (0,
|
|
8039
|
+
const [scrollAffordanceState, setScrollAffordanceState] = (0, import_react13.useState)({
|
|
7982
8040
|
showStart: false,
|
|
7983
8041
|
showEnd: false
|
|
7984
8042
|
});
|
|
7985
|
-
const tabListRef = (0,
|
|
8043
|
+
const tabListRef = (0, import_react13.useRef)(null);
|
|
7986
8044
|
const isBarVariant = variant === "bar";
|
|
7987
|
-
const resolvedOverflowBehavior = (0,
|
|
8045
|
+
const resolvedOverflowBehavior = (0, import_react13.useMemo)(() => {
|
|
7988
8046
|
if (overflowBehavior) return overflowBehavior;
|
|
7989
8047
|
if (!isBarVariant) return "scroll";
|
|
7990
8048
|
return isMobileViewport ? "select" : "scroll";
|
|
7991
8049
|
}, [isBarVariant, isMobileViewport, overflowBehavior]);
|
|
7992
8050
|
const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
|
|
7993
8051
|
const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
|
|
7994
|
-
(0,
|
|
8052
|
+
(0, import_react13.useEffect)(() => {
|
|
7995
8053
|
if (typeof window === "undefined") return;
|
|
7996
8054
|
const mediaQueryList = window.matchMedia(MOBILE_TABS_MEDIA_QUERY);
|
|
7997
8055
|
const handleMediaQueryChange = (event) => {
|
|
@@ -8009,7 +8067,7 @@ var Tabs = ({
|
|
|
8009
8067
|
mediaQueryList.removeListener(handleMediaQueryChange);
|
|
8010
8068
|
};
|
|
8011
8069
|
}, []);
|
|
8012
|
-
const updateScrollAffordances = (0,
|
|
8070
|
+
const updateScrollAffordances = (0, import_react13.useCallback)(() => {
|
|
8013
8071
|
if (!shouldUseOverflowScroll) {
|
|
8014
8072
|
setScrollAffordanceState({
|
|
8015
8073
|
showStart: false,
|
|
@@ -8025,12 +8083,12 @@ var Tabs = ({
|
|
|
8025
8083
|
showEnd: maxScrollLeft - tabListElement.scrollLeft > 4
|
|
8026
8084
|
});
|
|
8027
8085
|
}, [shouldUseOverflowScroll]);
|
|
8028
|
-
const renderedItems = (0,
|
|
8086
|
+
const renderedItems = (0, import_react13.useMemo)(() => {
|
|
8029
8087
|
return items.map((item) => __spreadProps(__spreadValues({}, item), {
|
|
8030
8088
|
disabled: item.disabled || item.isComingSoon
|
|
8031
8089
|
}));
|
|
8032
8090
|
}, [items]);
|
|
8033
|
-
const selectItems = (0,
|
|
8091
|
+
const selectItems = (0, import_react13.useMemo)(() => {
|
|
8034
8092
|
return renderedItems.map((item) => ({
|
|
8035
8093
|
value: item.value,
|
|
8036
8094
|
label: item.isComingSoon ? `${item.label} (soon)` : item.label,
|
|
@@ -8162,7 +8220,7 @@ var Tabs = ({
|
|
|
8162
8220
|
event == null ? void 0 : event.stopPropagation();
|
|
8163
8221
|
suppressClickRef.current = false;
|
|
8164
8222
|
};
|
|
8165
|
-
const updateActiveUnderline = (0,
|
|
8223
|
+
const updateActiveUnderline = (0, import_react13.useCallback)(() => {
|
|
8166
8224
|
if (isBarVariant) {
|
|
8167
8225
|
setActiveUnderlineStyle({
|
|
8168
8226
|
transform: "translateX(0px)",
|
|
@@ -8185,10 +8243,10 @@ var Tabs = ({
|
|
|
8185
8243
|
opacity: 1
|
|
8186
8244
|
});
|
|
8187
8245
|
}, [isBarVariant, renderedItems, value]);
|
|
8188
|
-
(0,
|
|
8246
|
+
(0, import_react13.useLayoutEffect)(() => {
|
|
8189
8247
|
updateActiveUnderline();
|
|
8190
8248
|
}, [updateActiveUnderline]);
|
|
8191
|
-
(0,
|
|
8249
|
+
(0, import_react13.useEffect)(() => {
|
|
8192
8250
|
if (isBarVariant || !shouldUseOverflowScroll) return;
|
|
8193
8251
|
const tabListElement = tabListRef.current;
|
|
8194
8252
|
if (!tabListElement) return;
|
|
@@ -8202,11 +8260,11 @@ var Tabs = ({
|
|
|
8202
8260
|
tabListElement.removeEventListener("scroll", handleScroll);
|
|
8203
8261
|
};
|
|
8204
8262
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
8205
|
-
(0,
|
|
8263
|
+
(0, import_react13.useEffect)(() => {
|
|
8206
8264
|
if (!shouldUseOverflowScroll) return;
|
|
8207
8265
|
updateScrollAffordances();
|
|
8208
8266
|
}, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
|
|
8209
|
-
(0,
|
|
8267
|
+
(0, import_react13.useEffect)(() => {
|
|
8210
8268
|
if (isBarVariant && !shouldUseOverflowScroll) return;
|
|
8211
8269
|
if (typeof ResizeObserver === "undefined") return;
|
|
8212
8270
|
const tabListElement = tabListRef.current;
|
|
@@ -8220,7 +8278,7 @@ var Tabs = ({
|
|
|
8220
8278
|
resizeObserver.disconnect();
|
|
8221
8279
|
};
|
|
8222
8280
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
8223
|
-
(0,
|
|
8281
|
+
(0, import_react13.useEffect)(() => {
|
|
8224
8282
|
if (!shouldUseOverflowScroll) return;
|
|
8225
8283
|
const tabListElement = tabListRef.current;
|
|
8226
8284
|
if (!tabListElement) return;
|
|
@@ -8245,7 +8303,7 @@ var Tabs = ({
|
|
|
8245
8303
|
});
|
|
8246
8304
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
8247
8305
|
if (shouldUseOverflowSelect) {
|
|
8248
|
-
return /* @__PURE__ */ (0,
|
|
8306
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
8249
8307
|
Select,
|
|
8250
8308
|
{
|
|
8251
8309
|
ariaLabel,
|
|
@@ -8257,7 +8315,7 @@ var Tabs = ({
|
|
|
8257
8315
|
}
|
|
8258
8316
|
) });
|
|
8259
8317
|
}
|
|
8260
|
-
return /* @__PURE__ */ (0,
|
|
8318
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
|
|
8261
8319
|
"div",
|
|
8262
8320
|
{
|
|
8263
8321
|
className: cn(
|
|
@@ -8268,7 +8326,7 @@ var Tabs = ({
|
|
|
8268
8326
|
classNames == null ? void 0 : classNames.root
|
|
8269
8327
|
),
|
|
8270
8328
|
children: [
|
|
8271
|
-
/* @__PURE__ */ (0,
|
|
8329
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
|
|
8272
8330
|
"div",
|
|
8273
8331
|
{
|
|
8274
8332
|
ref: tabListRef,
|
|
@@ -8286,7 +8344,7 @@ var Tabs = ({
|
|
|
8286
8344
|
var _a;
|
|
8287
8345
|
const isActive = item.value === value;
|
|
8288
8346
|
const isComingSoon = (_a = item == null ? void 0 : item.isComingSoon) != null ? _a : false;
|
|
8289
|
-
return /* @__PURE__ */ (0,
|
|
8347
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
|
|
8290
8348
|
"button",
|
|
8291
8349
|
{
|
|
8292
8350
|
ref: (buttonElement) => {
|
|
@@ -8320,7 +8378,7 @@ var Tabs = ({
|
|
|
8320
8378
|
),
|
|
8321
8379
|
children: [
|
|
8322
8380
|
item.icon ? item.icon : null,
|
|
8323
|
-
/* @__PURE__ */ (0,
|
|
8381
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
|
|
8324
8382
|
"span",
|
|
8325
8383
|
{
|
|
8326
8384
|
className: cn(
|
|
@@ -8338,7 +8396,7 @@ var Tabs = ({
|
|
|
8338
8396
|
item.value
|
|
8339
8397
|
);
|
|
8340
8398
|
}),
|
|
8341
|
-
!isBarVariant ? /* @__PURE__ */ (0,
|
|
8399
|
+
!isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
8342
8400
|
"span",
|
|
8343
8401
|
{
|
|
8344
8402
|
"aria-hidden": true,
|
|
@@ -8357,8 +8415,8 @@ var Tabs = ({
|
|
|
8357
8415
|
]
|
|
8358
8416
|
}
|
|
8359
8417
|
),
|
|
8360
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0,
|
|
8361
|
-
/* @__PURE__ */ (0,
|
|
8418
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_jsx_runtime116.Fragment, { children: [
|
|
8419
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
8362
8420
|
"span",
|
|
8363
8421
|
{
|
|
8364
8422
|
"aria-hidden": true,
|
|
@@ -8370,7 +8428,7 @@ var Tabs = ({
|
|
|
8370
8428
|
)
|
|
8371
8429
|
}
|
|
8372
8430
|
),
|
|
8373
|
-
/* @__PURE__ */ (0,
|
|
8431
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
8374
8432
|
"span",
|
|
8375
8433
|
{
|
|
8376
8434
|
"aria-hidden": true,
|
|
@@ -8389,10 +8447,131 @@ var Tabs = ({
|
|
|
8389
8447
|
};
|
|
8390
8448
|
Tabs.displayName = "Tabs";
|
|
8391
8449
|
|
|
8450
|
+
// src/primitives/toast/index.tsx
|
|
8451
|
+
var RadixToast = __toESM(require("@radix-ui/react-toast"));
|
|
8452
|
+
var import_react14 = require("react");
|
|
8453
|
+
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
8454
|
+
var DEFAULT_DURATION_MS = 5e3;
|
|
8455
|
+
var TONE_ACCENT_CLASS = {
|
|
8456
|
+
info: "text-agg-primary",
|
|
8457
|
+
success: "text-agg-success",
|
|
8458
|
+
warning: "text-agg-warning",
|
|
8459
|
+
error: "text-agg-error"
|
|
8460
|
+
};
|
|
8461
|
+
var TONE_ICON_NAME = {
|
|
8462
|
+
info: "info",
|
|
8463
|
+
success: "success-check",
|
|
8464
|
+
warning: "warning-filled",
|
|
8465
|
+
error: "error-filled"
|
|
8466
|
+
};
|
|
8467
|
+
var ToastContext = (0, import_react14.createContext)(null);
|
|
8468
|
+
function ToastProvider({
|
|
8469
|
+
children,
|
|
8470
|
+
defaultDurationMs = DEFAULT_DURATION_MS,
|
|
8471
|
+
swipeDirection = "right",
|
|
8472
|
+
swipeThreshold = 50,
|
|
8473
|
+
viewportClassName
|
|
8474
|
+
}) {
|
|
8475
|
+
const [toasts, setToasts] = (0, import_react14.useState)([]);
|
|
8476
|
+
const idRef = (0, import_react14.useRef)(0);
|
|
8477
|
+
const dismiss = (0, import_react14.useCallback)((id) => {
|
|
8478
|
+
setToasts((current) => current.filter((entry) => entry.id !== id));
|
|
8479
|
+
}, []);
|
|
8480
|
+
const toast = (0, import_react14.useCallback)(
|
|
8481
|
+
(message, options) => {
|
|
8482
|
+
const id = ++idRef.current;
|
|
8483
|
+
setToasts((current) => {
|
|
8484
|
+
var _a, _b;
|
|
8485
|
+
return [
|
|
8486
|
+
...current,
|
|
8487
|
+
{
|
|
8488
|
+
id,
|
|
8489
|
+
message,
|
|
8490
|
+
tone: (_a = options == null ? void 0 : options.tone) != null ? _a : "info",
|
|
8491
|
+
title: options == null ? void 0 : options.title,
|
|
8492
|
+
durationMs: (_b = options == null ? void 0 : options.durationMs) != null ? _b : defaultDurationMs
|
|
8493
|
+
}
|
|
8494
|
+
];
|
|
8495
|
+
});
|
|
8496
|
+
return id;
|
|
8497
|
+
},
|
|
8498
|
+
[defaultDurationMs]
|
|
8499
|
+
);
|
|
8500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
|
|
8501
|
+
children,
|
|
8502
|
+
toasts.map((entry) => /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
8503
|
+
ToastRow,
|
|
8504
|
+
{
|
|
8505
|
+
entry,
|
|
8506
|
+
onOpenChange: (open) => {
|
|
8507
|
+
if (!open) dismiss(entry.id);
|
|
8508
|
+
}
|
|
8509
|
+
},
|
|
8510
|
+
entry.id
|
|
8511
|
+
)),
|
|
8512
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
8513
|
+
RadixToast.Viewport,
|
|
8514
|
+
{
|
|
8515
|
+
className: cn(
|
|
8516
|
+
"fixed top-4 right-4 z-[100] flex w-[360px] max-w-[calc(100vw-2rem)] flex-col gap-2 outline-none",
|
|
8517
|
+
viewportClassName
|
|
8518
|
+
)
|
|
8519
|
+
}
|
|
8520
|
+
)
|
|
8521
|
+
] }) });
|
|
8522
|
+
}
|
|
8523
|
+
function ToastRow({ entry, onOpenChange }) {
|
|
8524
|
+
const duration = entry.durationMs === 0 || !Number.isFinite(entry.durationMs) ? Number.POSITIVE_INFINITY : entry.durationMs;
|
|
8525
|
+
return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(
|
|
8526
|
+
RadixToast.Root,
|
|
8527
|
+
{
|
|
8528
|
+
duration,
|
|
8529
|
+
onOpenChange,
|
|
8530
|
+
className: cn(
|
|
8531
|
+
"flex items-start gap-3 rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-3 shadow-lg",
|
|
8532
|
+
"data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-top-2",
|
|
8533
|
+
"data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:slide-out-to-right-full",
|
|
8534
|
+
"data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)]",
|
|
8535
|
+
"data-[swipe=cancel]:translate-x-0 data-[swipe=cancel]:transition-transform",
|
|
8536
|
+
"data-[swipe=end]:animate-out data-[swipe=end]:slide-out-to-right-full"
|
|
8537
|
+
),
|
|
8538
|
+
children: [
|
|
8539
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
8540
|
+
Icon,
|
|
8541
|
+
{
|
|
8542
|
+
name: TONE_ICON_NAME[entry.tone],
|
|
8543
|
+
className: cn("h-5! w-5! mt-0.5 shrink-0", TONE_ACCENT_CLASS[entry.tone]),
|
|
8544
|
+
"aria-hidden": "true"
|
|
8545
|
+
}
|
|
8546
|
+
),
|
|
8547
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("div", { className: "min-w-0 flex-1", children: [
|
|
8548
|
+
entry.title ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
|
|
8549
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message })
|
|
8550
|
+
] }),
|
|
8551
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
8552
|
+
RadixToast.Close,
|
|
8553
|
+
{
|
|
8554
|
+
"aria-label": "Dismiss",
|
|
8555
|
+
className: "cursor-pointer text-agg-muted-foreground opacity-70 transition-opacity hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agg-primary",
|
|
8556
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
|
|
8557
|
+
}
|
|
8558
|
+
)
|
|
8559
|
+
]
|
|
8560
|
+
}
|
|
8561
|
+
);
|
|
8562
|
+
}
|
|
8563
|
+
function useToast() {
|
|
8564
|
+
const ctx = (0, import_react14.useContext)(ToastContext);
|
|
8565
|
+
if (!ctx) {
|
|
8566
|
+
throw new Error("useToast must be used within a <ToastProvider>");
|
|
8567
|
+
}
|
|
8568
|
+
return ctx;
|
|
8569
|
+
}
|
|
8570
|
+
|
|
8392
8571
|
// src/primitives/tooltip/index.tsx
|
|
8393
8572
|
var import_hooks34 = require("@agg-build/hooks");
|
|
8394
8573
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
|
8395
|
-
var
|
|
8574
|
+
var import_react15 = require("react");
|
|
8396
8575
|
|
|
8397
8576
|
// src/primitives/tooltip/tooltip.constants.ts
|
|
8398
8577
|
var tooltipSizeClasses = {
|
|
@@ -8424,7 +8603,7 @@ var resolveTooltipArrowDimensions = (size) => {
|
|
|
8424
8603
|
};
|
|
8425
8604
|
|
|
8426
8605
|
// src/primitives/tooltip/index.tsx
|
|
8427
|
-
var
|
|
8606
|
+
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
8428
8607
|
var Tooltip = ({
|
|
8429
8608
|
content,
|
|
8430
8609
|
children,
|
|
@@ -8438,24 +8617,24 @@ var Tooltip = ({
|
|
|
8438
8617
|
const {
|
|
8439
8618
|
features: { enableAnimations }
|
|
8440
8619
|
} = (0, import_hooks34.useSdkUiConfig)();
|
|
8441
|
-
const trigger = (0,
|
|
8620
|
+
const trigger = (0, import_react15.useMemo)(() => {
|
|
8442
8621
|
if (children) return children;
|
|
8443
|
-
return /* @__PURE__ */ (0,
|
|
8622
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
8444
8623
|
"button",
|
|
8445
8624
|
{
|
|
8446
8625
|
type: "button",
|
|
8447
8626
|
className: resolveTooltipTriggerClassName(classNames == null ? void 0 : classNames.trigger),
|
|
8448
8627
|
"aria-label": ariaLabel != null ? ariaLabel : defaultTooltipTriggerAriaLabel,
|
|
8449
|
-
children: /* @__PURE__ */ (0,
|
|
8628
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(Icon, { name: "info", size: "small", "aria-hidden": true })
|
|
8450
8629
|
}
|
|
8451
8630
|
);
|
|
8452
8631
|
}, [children, classNames == null ? void 0 : classNames.trigger, ariaLabel]);
|
|
8453
8632
|
const { width: arrowWidth, height: arrowHeight } = resolveTooltipArrowDimensions(size);
|
|
8454
8633
|
const arrowPoints = `0,0 ${arrowWidth},0 ${arrowWidth / 2},${arrowHeight}`;
|
|
8455
8634
|
const arrowBorderPath = `M0 0 L${arrowWidth / 2} ${arrowHeight} L${arrowWidth} 0`;
|
|
8456
|
-
return /* @__PURE__ */ (0,
|
|
8457
|
-
/* @__PURE__ */ (0,
|
|
8458
|
-
/* @__PURE__ */ (0,
|
|
8635
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(TooltipPrimitive.Root, { children: [
|
|
8636
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
|
|
8637
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(
|
|
8459
8638
|
TooltipPrimitive.Content,
|
|
8460
8639
|
{
|
|
8461
8640
|
side,
|
|
@@ -8477,7 +8656,7 @@ var Tooltip = ({
|
|
|
8477
8656
|
classNames == null ? void 0 : classNames.content
|
|
8478
8657
|
),
|
|
8479
8658
|
children: [
|
|
8480
|
-
/* @__PURE__ */ (0,
|
|
8659
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(
|
|
8481
8660
|
"svg",
|
|
8482
8661
|
{
|
|
8483
8662
|
width: arrowWidth,
|
|
@@ -8486,8 +8665,8 @@ var Tooltip = ({
|
|
|
8486
8665
|
"aria-hidden": "true",
|
|
8487
8666
|
className: cn("overflow-visible", classNames == null ? void 0 : classNames.arrow),
|
|
8488
8667
|
children: [
|
|
8489
|
-
/* @__PURE__ */ (0,
|
|
8490
|
-
/* @__PURE__ */ (0,
|
|
8668
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
|
|
8669
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
8491
8670
|
"path",
|
|
8492
8671
|
{
|
|
8493
8672
|
d: arrowBorderPath,
|
|
@@ -8535,6 +8714,7 @@ Tooltip.displayName = "Tooltip";
|
|
|
8535
8714
|
ChevronRightIcon,
|
|
8536
8715
|
ChevronUpIcon,
|
|
8537
8716
|
CloseIcon,
|
|
8717
|
+
CopyButton,
|
|
8538
8718
|
CopyIcon,
|
|
8539
8719
|
CreateAccountIcon,
|
|
8540
8720
|
CreditCardIcon,
|
|
@@ -8577,6 +8757,7 @@ Tooltip.displayName = "Tooltip";
|
|
|
8577
8757
|
SuccessCheckIcon,
|
|
8578
8758
|
SwitchButton,
|
|
8579
8759
|
Tabs,
|
|
8760
|
+
ToastProvider,
|
|
8580
8761
|
Tooltip,
|
|
8581
8762
|
TriangleDownIcon,
|
|
8582
8763
|
TriangleUpFilledIcon,
|
|
@@ -8595,5 +8776,6 @@ Tooltip.displayName = "Tooltip";
|
|
|
8595
8776
|
iconNames,
|
|
8596
8777
|
skeletonViews,
|
|
8597
8778
|
typographyVariants,
|
|
8779
|
+
useToast,
|
|
8598
8780
|
venueLogoNames
|
|
8599
8781
|
});
|