@geowiki/design-system 0.16.9-dev.9 → 0.16.10-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1272 -0
- package/dist/index.d.ts +55 -32
- package/dist/index.js +657 -723
- package/dist/index.mjs +546 -610
- package/dist/styles.css +1 -1
- package/package.json +52 -51
package/dist/index.mjs
CHANGED
|
@@ -56,16 +56,19 @@ var getPages = (totalPages, currentPage) => {
|
|
|
56
56
|
const hasRightSpill = totalPages - endPage > 1;
|
|
57
57
|
const spillOffset = totalNumbers - (pages.length + 3);
|
|
58
58
|
switch (true) {
|
|
59
|
+
// handle: (1) ... {6} [7] (8)
|
|
59
60
|
case (hasLeftSpill && !hasRightSpill): {
|
|
60
61
|
const extraPages = range(startPage - spillOffset, startPage - 1);
|
|
61
62
|
pages = ["SPACER", ...extraPages, ...pages];
|
|
62
63
|
break;
|
|
63
64
|
}
|
|
65
|
+
// handle: (1) {2} [3] {4} ... (8)
|
|
64
66
|
case (!hasLeftSpill && hasRightSpill): {
|
|
65
67
|
const extraPages = range(endPage + 1, endPage + spillOffset);
|
|
66
68
|
pages = [...pages, ...extraPages, "SPACER"];
|
|
67
69
|
break;
|
|
68
70
|
}
|
|
71
|
+
// handle: (1) ... {3} [4] {5} ... (8)
|
|
69
72
|
case (hasLeftSpill && hasRightSpill):
|
|
70
73
|
default: {
|
|
71
74
|
pages = ["SPACER", ...pages, "SPACER"];
|
|
@@ -1189,316 +1192,23 @@ var DropdownMenuShortcut = (_a) => {
|
|
|
1189
1192
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
1190
1193
|
|
|
1191
1194
|
// src/components/ui/form.tsx
|
|
1192
|
-
import * as
|
|
1195
|
+
import * as React13 from "react";
|
|
1193
1196
|
import { Slot as Slot2 } from "@radix-ui/react-slot";
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
var isNullOrUndefined = (value) => value == null;
|
|
1200
|
-
var isObjectType = (value) => typeof value === "object";
|
|
1201
|
-
var isObject = (value) => !isNullOrUndefined(value) && !Array.isArray(value) && isObjectType(value) && !isDateObject(value);
|
|
1202
|
-
var getEventValue = (event) => isObject(event) && event.target ? isCheckBoxInput(event.target) ? event.target.checked : event.target.value : event;
|
|
1203
|
-
var getNodeParentName = (name) => name.substring(0, name.search(/\.\d+(\.|$)/)) || name;
|
|
1204
|
-
var isNameInFieldArray = (names, name) => names.has(getNodeParentName(name));
|
|
1205
|
-
var isPlainObject = (tempObject) => {
|
|
1206
|
-
const prototypeCopy = tempObject.constructor && tempObject.constructor.prototype;
|
|
1207
|
-
return isObject(prototypeCopy) && prototypeCopy.hasOwnProperty("isPrototypeOf");
|
|
1208
|
-
};
|
|
1209
|
-
var isWeb = typeof window !== "undefined" && typeof window.HTMLElement !== "undefined" && typeof document !== "undefined";
|
|
1210
|
-
function cloneObject(data) {
|
|
1211
|
-
let copy;
|
|
1212
|
-
const isArray = Array.isArray(data);
|
|
1213
|
-
if (data instanceof Date) {
|
|
1214
|
-
copy = new Date(data);
|
|
1215
|
-
} else if (data instanceof Set) {
|
|
1216
|
-
copy = new Set(data);
|
|
1217
|
-
} else if (!(isWeb && (data instanceof Blob || data instanceof FileList)) && (isArray || isObject(data))) {
|
|
1218
|
-
copy = isArray ? [] : {};
|
|
1219
|
-
if (!isArray && !isPlainObject(data)) {
|
|
1220
|
-
copy = data;
|
|
1221
|
-
} else {
|
|
1222
|
-
for (const key in data) {
|
|
1223
|
-
if (data.hasOwnProperty(key)) {
|
|
1224
|
-
copy[key] = cloneObject(data[key]);
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1227
|
-
}
|
|
1228
|
-
} else {
|
|
1229
|
-
return data;
|
|
1230
|
-
}
|
|
1231
|
-
return copy;
|
|
1232
|
-
}
|
|
1233
|
-
var compact = (value) => Array.isArray(value) ? value.filter(Boolean) : [];
|
|
1234
|
-
var isUndefined = (val) => val === void 0;
|
|
1235
|
-
var get = (object, path, defaultValue) => {
|
|
1236
|
-
if (!path || !isObject(object)) {
|
|
1237
|
-
return defaultValue;
|
|
1238
|
-
}
|
|
1239
|
-
const result = compact(path.split(/[,[\].]+?/)).reduce((result2, key) => isNullOrUndefined(result2) ? result2 : result2[key], object);
|
|
1240
|
-
return isUndefined(result) || result === object ? isUndefined(object[path]) ? defaultValue : object[path] : result;
|
|
1241
|
-
};
|
|
1242
|
-
var isBoolean = (value) => typeof value === "boolean";
|
|
1243
|
-
var isKey = (value) => /^\w*$/.test(value);
|
|
1244
|
-
var stringToPath = (input) => compact(input.replace(/["|']|\]/g, "").split(/\.|\[/));
|
|
1245
|
-
var set = (object, path, value) => {
|
|
1246
|
-
let index = -1;
|
|
1247
|
-
const tempPath = isKey(path) ? [path] : stringToPath(path);
|
|
1248
|
-
const length = tempPath.length;
|
|
1249
|
-
const lastIndex = length - 1;
|
|
1250
|
-
while (++index < length) {
|
|
1251
|
-
const key = tempPath[index];
|
|
1252
|
-
let newValue = value;
|
|
1253
|
-
if (index !== lastIndex) {
|
|
1254
|
-
const objValue = object[key];
|
|
1255
|
-
newValue = isObject(objValue) || Array.isArray(objValue) ? objValue : !isNaN(+tempPath[index + 1]) ? [] : {};
|
|
1256
|
-
}
|
|
1257
|
-
if (key === "__proto__") {
|
|
1258
|
-
return;
|
|
1259
|
-
}
|
|
1260
|
-
object[key] = newValue;
|
|
1261
|
-
object = object[key];
|
|
1262
|
-
}
|
|
1263
|
-
return object;
|
|
1264
|
-
};
|
|
1265
|
-
var EVENTS = {
|
|
1266
|
-
BLUR: "blur",
|
|
1267
|
-
FOCUS_OUT: "focusout",
|
|
1268
|
-
CHANGE: "change"
|
|
1269
|
-
};
|
|
1270
|
-
var VALIDATION_MODE = {
|
|
1271
|
-
onBlur: "onBlur",
|
|
1272
|
-
onChange: "onChange",
|
|
1273
|
-
onSubmit: "onSubmit",
|
|
1274
|
-
onTouched: "onTouched",
|
|
1275
|
-
all: "all"
|
|
1276
|
-
};
|
|
1277
|
-
var HookFormContext = React12.createContext(null);
|
|
1278
|
-
var useFormContext = () => React12.useContext(HookFormContext);
|
|
1279
|
-
var FormProvider = (props) => {
|
|
1280
|
-
const _a = props, { children } = _a, data = __objRest(_a, ["children"]);
|
|
1281
|
-
return React12.createElement(HookFormContext.Provider, { value: data }, children);
|
|
1282
|
-
};
|
|
1283
|
-
var getProxyFormState = (formState, control, localProxyFormState, isRoot = true) => {
|
|
1284
|
-
const result = {
|
|
1285
|
-
defaultValues: control._defaultValues
|
|
1286
|
-
};
|
|
1287
|
-
for (const key in formState) {
|
|
1288
|
-
Object.defineProperty(result, key, {
|
|
1289
|
-
get: () => {
|
|
1290
|
-
const _key = key;
|
|
1291
|
-
if (control._proxyFormState[_key] !== VALIDATION_MODE.all) {
|
|
1292
|
-
control._proxyFormState[_key] = !isRoot || VALIDATION_MODE.all;
|
|
1293
|
-
}
|
|
1294
|
-
localProxyFormState && (localProxyFormState[_key] = true);
|
|
1295
|
-
return formState[_key];
|
|
1296
|
-
}
|
|
1297
|
-
});
|
|
1298
|
-
}
|
|
1299
|
-
return result;
|
|
1300
|
-
};
|
|
1301
|
-
var isEmptyObject = (value) => isObject(value) && !Object.keys(value).length;
|
|
1302
|
-
var shouldRenderFormState = (formStateData, _proxyFormState, updateFormState, isRoot) => {
|
|
1303
|
-
updateFormState(formStateData);
|
|
1304
|
-
const _a = formStateData, { name } = _a, formState = __objRest(_a, ["name"]);
|
|
1305
|
-
return isEmptyObject(formState) || Object.keys(formState).length >= Object.keys(_proxyFormState).length || Object.keys(formState).find((key) => _proxyFormState[key] === (!isRoot || VALIDATION_MODE.all));
|
|
1306
|
-
};
|
|
1307
|
-
var convertToArrayPayload = (value) => Array.isArray(value) ? value : [value];
|
|
1308
|
-
var shouldSubscribeByName = (name, signalName, exact) => !name || !signalName || name === signalName || convertToArrayPayload(name).some((currentName) => currentName && (exact ? currentName === signalName : currentName.startsWith(signalName) || signalName.startsWith(currentName)));
|
|
1309
|
-
function useSubscribe(props) {
|
|
1310
|
-
const _props = React12.useRef(props);
|
|
1311
|
-
_props.current = props;
|
|
1312
|
-
React12.useEffect(() => {
|
|
1313
|
-
const subscription = !props.disabled && _props.current.subject && _props.current.subject.subscribe({
|
|
1314
|
-
next: _props.current.next
|
|
1315
|
-
});
|
|
1316
|
-
return () => {
|
|
1317
|
-
subscription && subscription.unsubscribe();
|
|
1318
|
-
};
|
|
1319
|
-
}, [props.disabled]);
|
|
1320
|
-
}
|
|
1321
|
-
function useFormState(props) {
|
|
1322
|
-
const methods = useFormContext();
|
|
1323
|
-
const { control = methods.control, disabled, name, exact } = props || {};
|
|
1324
|
-
const [formState, updateFormState] = React12.useState(control._formState);
|
|
1325
|
-
const _mounted = React12.useRef(true);
|
|
1326
|
-
const _localProxyFormState = React12.useRef({
|
|
1327
|
-
isDirty: false,
|
|
1328
|
-
isLoading: false,
|
|
1329
|
-
dirtyFields: false,
|
|
1330
|
-
touchedFields: false,
|
|
1331
|
-
validatingFields: false,
|
|
1332
|
-
isValidating: false,
|
|
1333
|
-
isValid: false,
|
|
1334
|
-
errors: false
|
|
1335
|
-
});
|
|
1336
|
-
const _name = React12.useRef(name);
|
|
1337
|
-
_name.current = name;
|
|
1338
|
-
useSubscribe({
|
|
1339
|
-
disabled,
|
|
1340
|
-
next: (value) => _mounted.current && shouldSubscribeByName(_name.current, value.name, exact) && shouldRenderFormState(value, _localProxyFormState.current, control._updateFormState) && updateFormState(__spreadValues(__spreadValues({}, control._formState), value)),
|
|
1341
|
-
subject: control._subjects.state
|
|
1342
|
-
});
|
|
1343
|
-
React12.useEffect(() => {
|
|
1344
|
-
_mounted.current = true;
|
|
1345
|
-
_localProxyFormState.current.isValid && control._updateValid(true);
|
|
1346
|
-
return () => {
|
|
1347
|
-
_mounted.current = false;
|
|
1348
|
-
};
|
|
1349
|
-
}, [control]);
|
|
1350
|
-
return getProxyFormState(formState, control, _localProxyFormState.current, false);
|
|
1351
|
-
}
|
|
1352
|
-
var isString = (value) => typeof value === "string";
|
|
1353
|
-
var generateWatchOutput = (names, _names, formValues, isGlobal, defaultValue) => {
|
|
1354
|
-
if (isString(names)) {
|
|
1355
|
-
isGlobal && _names.watch.add(names);
|
|
1356
|
-
return get(formValues, names, defaultValue);
|
|
1357
|
-
}
|
|
1358
|
-
if (Array.isArray(names)) {
|
|
1359
|
-
return names.map((fieldName) => (isGlobal && _names.watch.add(fieldName), get(formValues, fieldName)));
|
|
1360
|
-
}
|
|
1361
|
-
isGlobal && (_names.watchAll = true);
|
|
1362
|
-
return formValues;
|
|
1363
|
-
};
|
|
1364
|
-
function useWatch(props) {
|
|
1365
|
-
const methods = useFormContext();
|
|
1366
|
-
const { control = methods.control, name, defaultValue, disabled, exact } = props || {};
|
|
1367
|
-
const _name = React12.useRef(name);
|
|
1368
|
-
_name.current = name;
|
|
1369
|
-
useSubscribe({
|
|
1370
|
-
disabled,
|
|
1371
|
-
subject: control._subjects.values,
|
|
1372
|
-
next: (formState) => {
|
|
1373
|
-
if (shouldSubscribeByName(_name.current, formState.name, exact)) {
|
|
1374
|
-
updateValue(cloneObject(generateWatchOutput(_name.current, control._names, formState.values || control._formValues, false, defaultValue)));
|
|
1375
|
-
}
|
|
1376
|
-
}
|
|
1377
|
-
});
|
|
1378
|
-
const [value, updateValue] = React12.useState(control._getWatch(name, defaultValue));
|
|
1379
|
-
React12.useEffect(() => control._removeUnmounted());
|
|
1380
|
-
return value;
|
|
1381
|
-
}
|
|
1382
|
-
function useController(props) {
|
|
1383
|
-
const methods = useFormContext();
|
|
1384
|
-
const { name, disabled, control = methods.control, shouldUnregister } = props;
|
|
1385
|
-
const isArrayField = isNameInFieldArray(control._names.array, name);
|
|
1386
|
-
const value = useWatch({
|
|
1387
|
-
control,
|
|
1388
|
-
name,
|
|
1389
|
-
defaultValue: get(control._formValues, name, get(control._defaultValues, name, props.defaultValue)),
|
|
1390
|
-
exact: true
|
|
1391
|
-
});
|
|
1392
|
-
const formState = useFormState({
|
|
1393
|
-
control,
|
|
1394
|
-
name,
|
|
1395
|
-
exact: true
|
|
1396
|
-
});
|
|
1397
|
-
const _registerProps = React12.useRef(control.register(name, __spreadValues(__spreadProps(__spreadValues({}, props.rules), {
|
|
1398
|
-
value
|
|
1399
|
-
}), isBoolean(props.disabled) ? { disabled: props.disabled } : {})));
|
|
1400
|
-
React12.useEffect(() => {
|
|
1401
|
-
const _shouldUnregisterField = control._options.shouldUnregister || shouldUnregister;
|
|
1402
|
-
const updateMounted = (name2, value2) => {
|
|
1403
|
-
const field = get(control._fields, name2);
|
|
1404
|
-
if (field && field._f) {
|
|
1405
|
-
field._f.mount = value2;
|
|
1406
|
-
}
|
|
1407
|
-
};
|
|
1408
|
-
updateMounted(name, true);
|
|
1409
|
-
if (_shouldUnregisterField) {
|
|
1410
|
-
const value2 = cloneObject(get(control._options.defaultValues, name));
|
|
1411
|
-
set(control._defaultValues, name, value2);
|
|
1412
|
-
if (isUndefined(get(control._formValues, name))) {
|
|
1413
|
-
set(control._formValues, name, value2);
|
|
1414
|
-
}
|
|
1415
|
-
}
|
|
1416
|
-
return () => {
|
|
1417
|
-
(isArrayField ? _shouldUnregisterField && !control._state.action : _shouldUnregisterField) ? control.unregister(name) : updateMounted(name, false);
|
|
1418
|
-
};
|
|
1419
|
-
}, [name, control, isArrayField, shouldUnregister]);
|
|
1420
|
-
React12.useEffect(() => {
|
|
1421
|
-
if (get(control._fields, name)) {
|
|
1422
|
-
control._updateDisabledField({
|
|
1423
|
-
disabled,
|
|
1424
|
-
fields: control._fields,
|
|
1425
|
-
name,
|
|
1426
|
-
value: get(control._fields, name)._f.value
|
|
1427
|
-
});
|
|
1428
|
-
}
|
|
1429
|
-
}, [disabled, name, control]);
|
|
1430
|
-
return {
|
|
1431
|
-
field: __spreadProps(__spreadValues({
|
|
1432
|
-
name,
|
|
1433
|
-
value
|
|
1434
|
-
}, isBoolean(disabled) || formState.disabled ? { disabled: formState.disabled || disabled } : {}), {
|
|
1435
|
-
onChange: React12.useCallback((event) => _registerProps.current.onChange({
|
|
1436
|
-
target: {
|
|
1437
|
-
value: getEventValue(event),
|
|
1438
|
-
name
|
|
1439
|
-
},
|
|
1440
|
-
type: EVENTS.CHANGE
|
|
1441
|
-
}), [name]),
|
|
1442
|
-
onBlur: React12.useCallback(() => _registerProps.current.onBlur({
|
|
1443
|
-
target: {
|
|
1444
|
-
value: get(control._formValues, name),
|
|
1445
|
-
name
|
|
1446
|
-
},
|
|
1447
|
-
type: EVENTS.BLUR
|
|
1448
|
-
}), [name, control]),
|
|
1449
|
-
ref: React12.useCallback((elm) => {
|
|
1450
|
-
const field = get(control._fields, name);
|
|
1451
|
-
if (field && elm) {
|
|
1452
|
-
field._f.ref = {
|
|
1453
|
-
focus: () => elm.focus(),
|
|
1454
|
-
select: () => elm.select(),
|
|
1455
|
-
setCustomValidity: (message) => elm.setCustomValidity(message),
|
|
1456
|
-
reportValidity: () => elm.reportValidity()
|
|
1457
|
-
};
|
|
1458
|
-
}
|
|
1459
|
-
}, [control._fields, name])
|
|
1460
|
-
}),
|
|
1461
|
-
formState,
|
|
1462
|
-
fieldState: Object.defineProperties({}, {
|
|
1463
|
-
invalid: {
|
|
1464
|
-
enumerable: true,
|
|
1465
|
-
get: () => !!get(formState.errors, name)
|
|
1466
|
-
},
|
|
1467
|
-
isDirty: {
|
|
1468
|
-
enumerable: true,
|
|
1469
|
-
get: () => !!get(formState.dirtyFields, name)
|
|
1470
|
-
},
|
|
1471
|
-
isTouched: {
|
|
1472
|
-
enumerable: true,
|
|
1473
|
-
get: () => !!get(formState.touchedFields, name)
|
|
1474
|
-
},
|
|
1475
|
-
isValidating: {
|
|
1476
|
-
enumerable: true,
|
|
1477
|
-
get: () => !!get(formState.validatingFields, name)
|
|
1478
|
-
},
|
|
1479
|
-
error: {
|
|
1480
|
-
enumerable: true,
|
|
1481
|
-
get: () => get(formState.errors, name)
|
|
1482
|
-
}
|
|
1483
|
-
})
|
|
1484
|
-
};
|
|
1485
|
-
}
|
|
1486
|
-
var Controller = (props) => props.render(useController(props));
|
|
1487
|
-
var defaultOptions = {
|
|
1488
|
-
mode: VALIDATION_MODE.onSubmit,
|
|
1489
|
-
reValidateMode: VALIDATION_MODE.onChange,
|
|
1490
|
-
shouldFocusError: true
|
|
1491
|
-
};
|
|
1197
|
+
import {
|
|
1198
|
+
Controller,
|
|
1199
|
+
FormProvider,
|
|
1200
|
+
useFormContext
|
|
1201
|
+
} from "react-hook-form";
|
|
1492
1202
|
|
|
1493
1203
|
// src/components/ui/label.tsx
|
|
1494
|
-
import * as
|
|
1204
|
+
import * as React12 from "react";
|
|
1495
1205
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
1496
1206
|
import { cva as cva4 } from "class-variance-authority";
|
|
1497
1207
|
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
1498
1208
|
var labelVariants = cva4(
|
|
1499
1209
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
1500
1210
|
);
|
|
1501
|
-
var Label3 =
|
|
1211
|
+
var Label3 = React12.forwardRef((_a, ref) => {
|
|
1502
1212
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1503
1213
|
return /* @__PURE__ */ jsx14(
|
|
1504
1214
|
LabelPrimitive.Root,
|
|
@@ -1513,7 +1223,7 @@ Label3.displayName = LabelPrimitive.Root.displayName;
|
|
|
1513
1223
|
// src/components/ui/form.tsx
|
|
1514
1224
|
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
1515
1225
|
var Form = FormProvider;
|
|
1516
|
-
var FormFieldContext =
|
|
1226
|
+
var FormFieldContext = React13.createContext(
|
|
1517
1227
|
{}
|
|
1518
1228
|
);
|
|
1519
1229
|
var FormField = (_a) => {
|
|
@@ -1521,8 +1231,8 @@ var FormField = (_a) => {
|
|
|
1521
1231
|
return /* @__PURE__ */ jsx15(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx15(Controller, __spreadValues({}, props)) });
|
|
1522
1232
|
};
|
|
1523
1233
|
var useFormField = () => {
|
|
1524
|
-
const fieldContext =
|
|
1525
|
-
const itemContext =
|
|
1234
|
+
const fieldContext = React13.useContext(FormFieldContext);
|
|
1235
|
+
const itemContext = React13.useContext(FormItemContext);
|
|
1526
1236
|
const { getFieldState, formState } = useFormContext();
|
|
1527
1237
|
const fieldState = getFieldState(fieldContext.name, formState);
|
|
1528
1238
|
if (!fieldContext) {
|
|
@@ -1537,16 +1247,16 @@ var useFormField = () => {
|
|
|
1537
1247
|
formMessageId: `${id}-form-item-message`
|
|
1538
1248
|
}, fieldState);
|
|
1539
1249
|
};
|
|
1540
|
-
var FormItemContext =
|
|
1250
|
+
var FormItemContext = React13.createContext(
|
|
1541
1251
|
{}
|
|
1542
1252
|
);
|
|
1543
|
-
var FormItem =
|
|
1253
|
+
var FormItem = React13.forwardRef((_a, ref) => {
|
|
1544
1254
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1545
|
-
const id =
|
|
1255
|
+
const id = React13.useId();
|
|
1546
1256
|
return /* @__PURE__ */ jsx15(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx15("div", __spreadValues({ ref, className: cn("", className) }, props)) });
|
|
1547
1257
|
});
|
|
1548
1258
|
FormItem.displayName = "FormItem";
|
|
1549
|
-
var FormLabel =
|
|
1259
|
+
var FormLabel = React13.forwardRef((_a, ref) => {
|
|
1550
1260
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1551
1261
|
const { error, formItemId } = useFormField();
|
|
1552
1262
|
return /* @__PURE__ */ jsx15(
|
|
@@ -1559,7 +1269,7 @@ var FormLabel = React14.forwardRef((_a, ref) => {
|
|
|
1559
1269
|
);
|
|
1560
1270
|
});
|
|
1561
1271
|
FormLabel.displayName = "FormLabel";
|
|
1562
|
-
var FormControl =
|
|
1272
|
+
var FormControl = React13.forwardRef((_a, ref) => {
|
|
1563
1273
|
var props = __objRest(_a, []);
|
|
1564
1274
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
1565
1275
|
return /* @__PURE__ */ jsx15(
|
|
@@ -1573,7 +1283,7 @@ var FormControl = React14.forwardRef((_a, ref) => {
|
|
|
1573
1283
|
);
|
|
1574
1284
|
});
|
|
1575
1285
|
FormControl.displayName = "FormControl";
|
|
1576
|
-
var FormDescription =
|
|
1286
|
+
var FormDescription = React13.forwardRef((_a, ref) => {
|
|
1577
1287
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1578
1288
|
const { formDescriptionId } = useFormField();
|
|
1579
1289
|
return /* @__PURE__ */ jsx15(
|
|
@@ -1586,7 +1296,7 @@ var FormDescription = React14.forwardRef((_a, ref) => {
|
|
|
1586
1296
|
);
|
|
1587
1297
|
});
|
|
1588
1298
|
FormDescription.displayName = "FormDescription";
|
|
1589
|
-
var FormMessage =
|
|
1299
|
+
var FormMessage = React13.forwardRef((_a, ref) => {
|
|
1590
1300
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
1591
1301
|
const { error, formMessageId } = useFormField();
|
|
1592
1302
|
const body = error ? String(error == null ? void 0 : error.message) : children;
|
|
@@ -1607,12 +1317,12 @@ var FormMessage = React14.forwardRef((_a, ref) => {
|
|
|
1607
1317
|
FormMessage.displayName = "FormMessage";
|
|
1608
1318
|
|
|
1609
1319
|
// src/components/ui/hover-card.tsx
|
|
1610
|
-
import * as
|
|
1320
|
+
import * as React14 from "react";
|
|
1611
1321
|
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
|
|
1612
1322
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
1613
1323
|
var HoverCard = HoverCardPrimitive.Root;
|
|
1614
1324
|
var HoverCardTrigger = HoverCardPrimitive.Trigger;
|
|
1615
|
-
var HoverCardContent =
|
|
1325
|
+
var HoverCardContent = React14.forwardRef((_a, ref) => {
|
|
1616
1326
|
var _b = _a, { className, align = "center", sideOffset = 4 } = _b, props = __objRest(_b, ["className", "align", "sideOffset"]);
|
|
1617
1327
|
return /* @__PURE__ */ jsx16(
|
|
1618
1328
|
HoverCardPrimitive.Content,
|
|
@@ -1630,9 +1340,9 @@ var HoverCardContent = React15.forwardRef((_a, ref) => {
|
|
|
1630
1340
|
HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
|
|
1631
1341
|
|
|
1632
1342
|
// src/components/ui/input.tsx
|
|
1633
|
-
import * as
|
|
1343
|
+
import * as React15 from "react";
|
|
1634
1344
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
1635
|
-
var Input =
|
|
1345
|
+
var Input = React15.forwardRef(
|
|
1636
1346
|
(_a, ref) => {
|
|
1637
1347
|
var _b = _a, { className, type } = _b, props = __objRest(_b, ["className", "type"]);
|
|
1638
1348
|
return /* @__PURE__ */ jsx17(
|
|
@@ -1651,7 +1361,7 @@ var Input = React16.forwardRef(
|
|
|
1651
1361
|
Input.displayName = "Input";
|
|
1652
1362
|
|
|
1653
1363
|
// src/components/ui/menubar.tsx
|
|
1654
|
-
import * as
|
|
1364
|
+
import * as React16 from "react";
|
|
1655
1365
|
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
1656
1366
|
import { Check as Check4, ChevronRight as ChevronRight3, Circle as Circle3 } from "lucide-react";
|
|
1657
1367
|
import { jsx as jsx18, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
@@ -1660,7 +1370,7 @@ var MenubarGroup = MenubarPrimitive.Group;
|
|
|
1660
1370
|
var MenubarPortal = MenubarPrimitive.Portal;
|
|
1661
1371
|
var MenubarSub = MenubarPrimitive.Sub;
|
|
1662
1372
|
var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
|
|
1663
|
-
var Menubar =
|
|
1373
|
+
var Menubar = React16.forwardRef((_a, ref) => {
|
|
1664
1374
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1665
1375
|
return /* @__PURE__ */ jsx18(
|
|
1666
1376
|
MenubarPrimitive.Root,
|
|
@@ -1674,7 +1384,7 @@ var Menubar = React17.forwardRef((_a, ref) => {
|
|
|
1674
1384
|
);
|
|
1675
1385
|
});
|
|
1676
1386
|
Menubar.displayName = MenubarPrimitive.Root.displayName;
|
|
1677
|
-
var MenubarTrigger =
|
|
1387
|
+
var MenubarTrigger = React16.forwardRef((_a, ref) => {
|
|
1678
1388
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1679
1389
|
return /* @__PURE__ */ jsx18(
|
|
1680
1390
|
MenubarPrimitive.Trigger,
|
|
@@ -1688,7 +1398,7 @@ var MenubarTrigger = React17.forwardRef((_a, ref) => {
|
|
|
1688
1398
|
);
|
|
1689
1399
|
});
|
|
1690
1400
|
MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
|
|
1691
|
-
var MenubarSubTrigger =
|
|
1401
|
+
var MenubarSubTrigger = React16.forwardRef((_a, ref) => {
|
|
1692
1402
|
var _b = _a, { className, inset, children } = _b, props = __objRest(_b, ["className", "inset", "children"]);
|
|
1693
1403
|
return /* @__PURE__ */ jsxs7(
|
|
1694
1404
|
MenubarPrimitive.SubTrigger,
|
|
@@ -1708,7 +1418,7 @@ var MenubarSubTrigger = React17.forwardRef((_a, ref) => {
|
|
|
1708
1418
|
);
|
|
1709
1419
|
});
|
|
1710
1420
|
MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
|
|
1711
|
-
var MenubarSubContent =
|
|
1421
|
+
var MenubarSubContent = React16.forwardRef((_a, ref) => {
|
|
1712
1422
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1713
1423
|
return /* @__PURE__ */ jsx18(
|
|
1714
1424
|
MenubarPrimitive.SubContent,
|
|
@@ -1722,7 +1432,7 @@ var MenubarSubContent = React17.forwardRef((_a, ref) => {
|
|
|
1722
1432
|
);
|
|
1723
1433
|
});
|
|
1724
1434
|
MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
|
|
1725
|
-
var MenubarContent =
|
|
1435
|
+
var MenubarContent = React16.forwardRef(
|
|
1726
1436
|
(_a, ref) => {
|
|
1727
1437
|
var _b = _a, { className, align = "start", alignOffset = -4, sideOffset = 8 } = _b, props = __objRest(_b, ["className", "align", "alignOffset", "sideOffset"]);
|
|
1728
1438
|
return /* @__PURE__ */ jsx18(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx18(
|
|
@@ -1741,7 +1451,7 @@ var MenubarContent = React17.forwardRef(
|
|
|
1741
1451
|
}
|
|
1742
1452
|
);
|
|
1743
1453
|
MenubarContent.displayName = MenubarPrimitive.Content.displayName;
|
|
1744
|
-
var MenubarItem =
|
|
1454
|
+
var MenubarItem = React16.forwardRef((_a, ref) => {
|
|
1745
1455
|
var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
|
|
1746
1456
|
return /* @__PURE__ */ jsx18(
|
|
1747
1457
|
MenubarPrimitive.Item,
|
|
@@ -1756,7 +1466,7 @@ var MenubarItem = React17.forwardRef((_a, ref) => {
|
|
|
1756
1466
|
);
|
|
1757
1467
|
});
|
|
1758
1468
|
MenubarItem.displayName = MenubarPrimitive.Item.displayName;
|
|
1759
|
-
var MenubarCheckboxItem =
|
|
1469
|
+
var MenubarCheckboxItem = React16.forwardRef((_a, ref) => {
|
|
1760
1470
|
var _b = _a, { className, children, checked } = _b, props = __objRest(_b, ["className", "children", "checked"]);
|
|
1761
1471
|
return /* @__PURE__ */ jsxs7(
|
|
1762
1472
|
MenubarPrimitive.CheckboxItem,
|
|
@@ -1776,7 +1486,7 @@ var MenubarCheckboxItem = React17.forwardRef((_a, ref) => {
|
|
|
1776
1486
|
);
|
|
1777
1487
|
});
|
|
1778
1488
|
MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
|
|
1779
|
-
var MenubarRadioItem =
|
|
1489
|
+
var MenubarRadioItem = React16.forwardRef((_a, ref) => {
|
|
1780
1490
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
1781
1491
|
return /* @__PURE__ */ jsxs7(
|
|
1782
1492
|
MenubarPrimitive.RadioItem,
|
|
@@ -1795,7 +1505,7 @@ var MenubarRadioItem = React17.forwardRef((_a, ref) => {
|
|
|
1795
1505
|
);
|
|
1796
1506
|
});
|
|
1797
1507
|
MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
|
|
1798
|
-
var MenubarLabel =
|
|
1508
|
+
var MenubarLabel = React16.forwardRef((_a, ref) => {
|
|
1799
1509
|
var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
|
|
1800
1510
|
return /* @__PURE__ */ jsx18(
|
|
1801
1511
|
MenubarPrimitive.Label,
|
|
@@ -1810,7 +1520,7 @@ var MenubarLabel = React17.forwardRef((_a, ref) => {
|
|
|
1810
1520
|
);
|
|
1811
1521
|
});
|
|
1812
1522
|
MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
|
|
1813
|
-
var MenubarSeparator =
|
|
1523
|
+
var MenubarSeparator = React16.forwardRef((_a, ref) => {
|
|
1814
1524
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1815
1525
|
return /* @__PURE__ */ jsx18(
|
|
1816
1526
|
MenubarPrimitive.Separator,
|
|
@@ -1840,12 +1550,12 @@ var MenubarShortcut = (_a) => {
|
|
|
1840
1550
|
MenubarShortcut.displayname = "MenubarShortcut";
|
|
1841
1551
|
|
|
1842
1552
|
// src/components/ui/navigation-menu.tsx
|
|
1843
|
-
import * as
|
|
1553
|
+
import * as React17 from "react";
|
|
1844
1554
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
1845
1555
|
import { cva as cva5 } from "class-variance-authority";
|
|
1846
1556
|
import { ChevronDown as ChevronDown2 } from "lucide-react";
|
|
1847
1557
|
import { jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1848
|
-
var NavigationMenu =
|
|
1558
|
+
var NavigationMenu = React17.forwardRef((_a, ref) => {
|
|
1849
1559
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
1850
1560
|
return /* @__PURE__ */ jsxs8(
|
|
1851
1561
|
NavigationMenuPrimitive.Root,
|
|
@@ -1864,7 +1574,7 @@ var NavigationMenu = React18.forwardRef((_a, ref) => {
|
|
|
1864
1574
|
);
|
|
1865
1575
|
});
|
|
1866
1576
|
NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
1867
|
-
var NavigationMenuList =
|
|
1577
|
+
var NavigationMenuList = React17.forwardRef((_a, ref) => {
|
|
1868
1578
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1869
1579
|
return /* @__PURE__ */ jsx19(
|
|
1870
1580
|
NavigationMenuPrimitive.List,
|
|
@@ -1882,7 +1592,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
|
1882
1592
|
var navigationMenuTriggerStyle = cva5(
|
|
1883
1593
|
"group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
|
|
1884
1594
|
);
|
|
1885
|
-
var NavigationMenuTrigger =
|
|
1595
|
+
var NavigationMenuTrigger = React17.forwardRef((_a, ref) => {
|
|
1886
1596
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
1887
1597
|
return /* @__PURE__ */ jsxs8(
|
|
1888
1598
|
NavigationMenuPrimitive.Trigger,
|
|
@@ -1905,7 +1615,7 @@ var NavigationMenuTrigger = React18.forwardRef((_a, ref) => {
|
|
|
1905
1615
|
);
|
|
1906
1616
|
});
|
|
1907
1617
|
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
1908
|
-
var NavigationMenuContent =
|
|
1618
|
+
var NavigationMenuContent = React17.forwardRef((_a, ref) => {
|
|
1909
1619
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1910
1620
|
return /* @__PURE__ */ jsx19(
|
|
1911
1621
|
NavigationMenuPrimitive.Content,
|
|
@@ -1920,7 +1630,7 @@ var NavigationMenuContent = React18.forwardRef((_a, ref) => {
|
|
|
1920
1630
|
});
|
|
1921
1631
|
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
1922
1632
|
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
1923
|
-
var NavigationMenuViewport =
|
|
1633
|
+
var NavigationMenuViewport = React17.forwardRef((_a, ref) => {
|
|
1924
1634
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1925
1635
|
return /* @__PURE__ */ jsx19("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx19(
|
|
1926
1636
|
NavigationMenuPrimitive.Viewport,
|
|
@@ -1934,7 +1644,7 @@ var NavigationMenuViewport = React18.forwardRef((_a, ref) => {
|
|
|
1934
1644
|
) });
|
|
1935
1645
|
});
|
|
1936
1646
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
1937
|
-
var NavigationMenuIndicator =
|
|
1647
|
+
var NavigationMenuIndicator = React17.forwardRef((_a, ref) => {
|
|
1938
1648
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1939
1649
|
return /* @__PURE__ */ jsx19(
|
|
1940
1650
|
NavigationMenuPrimitive.Indicator,
|
|
@@ -1952,13 +1662,13 @@ var NavigationMenuIndicator = React18.forwardRef((_a, ref) => {
|
|
|
1952
1662
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
1953
1663
|
|
|
1954
1664
|
// src/components/ui/popover.tsx
|
|
1955
|
-
import * as
|
|
1665
|
+
import * as React18 from "react";
|
|
1956
1666
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
1957
1667
|
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
1958
1668
|
var Popover = PopoverPrimitive.Root;
|
|
1959
1669
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
1960
1670
|
var PopoverAnchor = PopoverPrimitive.Anchor;
|
|
1961
|
-
var PopoverContent =
|
|
1671
|
+
var PopoverContent = React18.forwardRef((_a, ref) => {
|
|
1962
1672
|
var _b = _a, { className, align = "center", sideOffset = 4 } = _b, props = __objRest(_b, ["className", "align", "sideOffset"]);
|
|
1963
1673
|
return /* @__PURE__ */ jsx20(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx20(
|
|
1964
1674
|
PopoverPrimitive.Content,
|
|
@@ -1976,10 +1686,10 @@ var PopoverContent = React19.forwardRef((_a, ref) => {
|
|
|
1976
1686
|
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
1977
1687
|
|
|
1978
1688
|
// src/components/ui/progress.tsx
|
|
1979
|
-
import * as
|
|
1689
|
+
import * as React19 from "react";
|
|
1980
1690
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
1981
1691
|
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
1982
|
-
var Progress =
|
|
1692
|
+
var Progress = React19.forwardRef((_a, ref) => {
|
|
1983
1693
|
var _b = _a, { className, value } = _b, props = __objRest(_b, ["className", "value"]);
|
|
1984
1694
|
return /* @__PURE__ */ jsx21(
|
|
1985
1695
|
ProgressPrimitive.Root,
|
|
@@ -2003,11 +1713,11 @@ var Progress = React20.forwardRef((_a, ref) => {
|
|
|
2003
1713
|
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
2004
1714
|
|
|
2005
1715
|
// src/components/ui/radio-group.tsx
|
|
2006
|
-
import * as
|
|
1716
|
+
import * as React20 from "react";
|
|
2007
1717
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
2008
1718
|
import { Circle as Circle4 } from "lucide-react";
|
|
2009
1719
|
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
2010
|
-
var RadioGroup4 =
|
|
1720
|
+
var RadioGroup4 = React20.forwardRef((_a, ref) => {
|
|
2011
1721
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2012
1722
|
return /* @__PURE__ */ jsx22(
|
|
2013
1723
|
RadioGroupPrimitive.Root,
|
|
@@ -2019,7 +1729,7 @@ var RadioGroup4 = React21.forwardRef((_a, ref) => {
|
|
|
2019
1729
|
);
|
|
2020
1730
|
});
|
|
2021
1731
|
RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
|
|
2022
|
-
var RadioGroupItem =
|
|
1732
|
+
var RadioGroupItem = React20.forwardRef((_a, ref) => {
|
|
2023
1733
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
2024
1734
|
return /* @__PURE__ */ jsx22(
|
|
2025
1735
|
RadioGroupPrimitive.Item,
|
|
@@ -2037,10 +1747,10 @@ var RadioGroupItem = React21.forwardRef((_a, ref) => {
|
|
|
2037
1747
|
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
2038
1748
|
|
|
2039
1749
|
// src/components/ui/scroll-area.tsx
|
|
2040
|
-
import * as
|
|
1750
|
+
import * as React21 from "react";
|
|
2041
1751
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
2042
1752
|
import { jsx as jsx23, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2043
|
-
var ScrollArea =
|
|
1753
|
+
var ScrollArea = React21.forwardRef((_a, ref) => {
|
|
2044
1754
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
2045
1755
|
return /* @__PURE__ */ jsxs9(
|
|
2046
1756
|
ScrollAreaPrimitive.Root,
|
|
@@ -2057,7 +1767,7 @@ var ScrollArea = React22.forwardRef((_a, ref) => {
|
|
|
2057
1767
|
);
|
|
2058
1768
|
});
|
|
2059
1769
|
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
2060
|
-
var ScrollBar =
|
|
1770
|
+
var ScrollBar = React21.forwardRef((_a, ref) => {
|
|
2061
1771
|
var _b = _a, { className, orientation = "vertical" } = _b, props = __objRest(_b, ["className", "orientation"]);
|
|
2062
1772
|
return /* @__PURE__ */ jsx23(
|
|
2063
1773
|
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
@@ -2078,14 +1788,14 @@ var ScrollBar = React22.forwardRef((_a, ref) => {
|
|
|
2078
1788
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
2079
1789
|
|
|
2080
1790
|
// src/components/ui/select.tsx
|
|
2081
|
-
import * as
|
|
1791
|
+
import * as React22 from "react";
|
|
2082
1792
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
2083
1793
|
import { Check as Check5, ChevronDown as ChevronDown3 } from "lucide-react";
|
|
2084
1794
|
import { jsx as jsx24, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
2085
1795
|
var Select = SelectPrimitive.Root;
|
|
2086
1796
|
var SelectGroup = SelectPrimitive.Group;
|
|
2087
1797
|
var SelectValue = SelectPrimitive.Value;
|
|
2088
|
-
var SelectTrigger =
|
|
1798
|
+
var SelectTrigger = React22.forwardRef((_a, ref) => {
|
|
2089
1799
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
2090
1800
|
return /* @__PURE__ */ jsxs10(
|
|
2091
1801
|
SelectPrimitive.Trigger,
|
|
@@ -2104,7 +1814,7 @@ var SelectTrigger = React23.forwardRef((_a, ref) => {
|
|
|
2104
1814
|
);
|
|
2105
1815
|
});
|
|
2106
1816
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
2107
|
-
var SelectContent =
|
|
1817
|
+
var SelectContent = React22.forwardRef((_a, ref) => {
|
|
2108
1818
|
var _b = _a, { className, children, position = "popper" } = _b, props = __objRest(_b, ["className", "children", "position"]);
|
|
2109
1819
|
return /* @__PURE__ */ jsx24(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx24(
|
|
2110
1820
|
SelectPrimitive.Content,
|
|
@@ -2131,7 +1841,7 @@ var SelectContent = React23.forwardRef((_a, ref) => {
|
|
|
2131
1841
|
) });
|
|
2132
1842
|
});
|
|
2133
1843
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
2134
|
-
var SelectLabel =
|
|
1844
|
+
var SelectLabel = React22.forwardRef((_a, ref) => {
|
|
2135
1845
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2136
1846
|
return /* @__PURE__ */ jsx24(
|
|
2137
1847
|
SelectPrimitive.Label,
|
|
@@ -2142,7 +1852,7 @@ var SelectLabel = React23.forwardRef((_a, ref) => {
|
|
|
2142
1852
|
);
|
|
2143
1853
|
});
|
|
2144
1854
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
2145
|
-
var SelectItem =
|
|
1855
|
+
var SelectItem = React22.forwardRef((_a, ref) => {
|
|
2146
1856
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
2147
1857
|
return /* @__PURE__ */ jsxs10(
|
|
2148
1858
|
SelectPrimitive.Item,
|
|
@@ -2161,7 +1871,7 @@ var SelectItem = React23.forwardRef((_a, ref) => {
|
|
|
2161
1871
|
);
|
|
2162
1872
|
});
|
|
2163
1873
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
2164
|
-
var SelectSeparator =
|
|
1874
|
+
var SelectSeparator = React22.forwardRef((_a, ref) => {
|
|
2165
1875
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2166
1876
|
return /* @__PURE__ */ jsx24(
|
|
2167
1877
|
SelectPrimitive.Separator,
|
|
@@ -2174,10 +1884,10 @@ var SelectSeparator = React23.forwardRef((_a, ref) => {
|
|
|
2174
1884
|
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
2175
1885
|
|
|
2176
1886
|
// src/components/ui/separator.tsx
|
|
2177
|
-
import * as
|
|
1887
|
+
import * as React23 from "react";
|
|
2178
1888
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
2179
1889
|
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
2180
|
-
var Separator5 =
|
|
1890
|
+
var Separator5 = React23.forwardRef(
|
|
2181
1891
|
(_a, ref) => {
|
|
2182
1892
|
var _b = _a, { className, orientation = "horizontal", decorative = true } = _b, props = __objRest(_b, ["className", "orientation", "decorative"]);
|
|
2183
1893
|
return /* @__PURE__ */ jsx25(
|
|
@@ -2198,7 +1908,7 @@ var Separator5 = React24.forwardRef(
|
|
|
2198
1908
|
Separator5.displayName = SeparatorPrimitive.Root.displayName;
|
|
2199
1909
|
|
|
2200
1910
|
// src/components/ui/sheet.tsx
|
|
2201
|
-
import * as
|
|
1911
|
+
import * as React24 from "react";
|
|
2202
1912
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
2203
1913
|
import { Cross2Icon as Cross2Icon2 } from "@radix-ui/react-icons";
|
|
2204
1914
|
import { cva as cva6 } from "class-variance-authority";
|
|
@@ -2207,7 +1917,7 @@ var Sheet = SheetPrimitive.Root;
|
|
|
2207
1917
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
2208
1918
|
var SheetClose = SheetPrimitive.Close;
|
|
2209
1919
|
var SheetPortal = SheetPrimitive.Portal;
|
|
2210
|
-
var SheetOverlay =
|
|
1920
|
+
var SheetOverlay = React24.forwardRef((_a, ref) => {
|
|
2211
1921
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2212
1922
|
return /* @__PURE__ */ jsx26(
|
|
2213
1923
|
SheetPrimitive.Overlay,
|
|
@@ -2238,7 +1948,7 @@ var sheetVariants = cva6(
|
|
|
2238
1948
|
}
|
|
2239
1949
|
}
|
|
2240
1950
|
);
|
|
2241
|
-
var SheetContent =
|
|
1951
|
+
var SheetContent = React24.forwardRef((_a, ref) => {
|
|
2242
1952
|
var _b = _a, { side = "right", className, children } = _b, props = __objRest(_b, ["side", "className", "children"]);
|
|
2243
1953
|
return /* @__PURE__ */ jsxs11(SheetPortal, { children: [
|
|
2244
1954
|
/* @__PURE__ */ jsx26(SheetOverlay, {}),
|
|
@@ -2294,7 +2004,7 @@ var SheetFooter = (_a) => {
|
|
|
2294
2004
|
);
|
|
2295
2005
|
};
|
|
2296
2006
|
SheetFooter.displayName = "SheetFooter";
|
|
2297
|
-
var SheetTitle =
|
|
2007
|
+
var SheetTitle = React24.forwardRef((_a, ref) => {
|
|
2298
2008
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2299
2009
|
return /* @__PURE__ */ jsx26(
|
|
2300
2010
|
SheetPrimitive.Title,
|
|
@@ -2305,7 +2015,7 @@ var SheetTitle = React25.forwardRef((_a, ref) => {
|
|
|
2305
2015
|
);
|
|
2306
2016
|
});
|
|
2307
2017
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
2308
|
-
var SheetDescription =
|
|
2018
|
+
var SheetDescription = React24.forwardRef((_a, ref) => {
|
|
2309
2019
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2310
2020
|
return /* @__PURE__ */ jsx26(
|
|
2311
2021
|
SheetPrimitive.Description,
|
|
@@ -2334,10 +2044,10 @@ function Skeleton(_a) {
|
|
|
2334
2044
|
}
|
|
2335
2045
|
|
|
2336
2046
|
// src/components/ui/slider.tsx
|
|
2337
|
-
import * as
|
|
2047
|
+
import * as React25 from "react";
|
|
2338
2048
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
2339
2049
|
import { jsx as jsx28, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2340
|
-
var Slider =
|
|
2050
|
+
var Slider = React25.forwardRef((_a, ref) => {
|
|
2341
2051
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2342
2052
|
const value = props.value || props.defaultValue;
|
|
2343
2053
|
const thumbs = value && Array.isArray(value) ? value.length : 1;
|
|
@@ -2366,10 +2076,10 @@ var Slider = React26.forwardRef((_a, ref) => {
|
|
|
2366
2076
|
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
2367
2077
|
|
|
2368
2078
|
// src/components/ui/switch.tsx
|
|
2369
|
-
import * as
|
|
2079
|
+
import * as React26 from "react";
|
|
2370
2080
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
2371
2081
|
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
2372
|
-
var Switch =
|
|
2082
|
+
var Switch = React26.forwardRef((_a, ref) => {
|
|
2373
2083
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2374
2084
|
return /* @__PURE__ */ jsx29(
|
|
2375
2085
|
SwitchPrimitives.Root,
|
|
@@ -2394,9 +2104,9 @@ var Switch = React27.forwardRef((_a, ref) => {
|
|
|
2394
2104
|
Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
2395
2105
|
|
|
2396
2106
|
// src/components/ui/table.tsx
|
|
2397
|
-
import * as
|
|
2107
|
+
import * as React27 from "react";
|
|
2398
2108
|
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
2399
|
-
var Table =
|
|
2109
|
+
var Table = React27.forwardRef((_a, ref) => {
|
|
2400
2110
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2401
2111
|
return /* @__PURE__ */ jsx30("div", { className: "w-full overflow-auto", children: /* @__PURE__ */ jsx30(
|
|
2402
2112
|
"table",
|
|
@@ -2407,12 +2117,12 @@ var Table = React28.forwardRef((_a, ref) => {
|
|
|
2407
2117
|
) });
|
|
2408
2118
|
});
|
|
2409
2119
|
Table.displayName = "Table";
|
|
2410
|
-
var TableHeader =
|
|
2120
|
+
var TableHeader = React27.forwardRef((_a, ref) => {
|
|
2411
2121
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2412
2122
|
return /* @__PURE__ */ jsx30("thead", __spreadValues({ ref, className: cn("[&_tr]:border-b", className) }, props));
|
|
2413
2123
|
});
|
|
2414
2124
|
TableHeader.displayName = "TableHeader";
|
|
2415
|
-
var TableBody =
|
|
2125
|
+
var TableBody = React27.forwardRef((_a, ref) => {
|
|
2416
2126
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2417
2127
|
return /* @__PURE__ */ jsx30(
|
|
2418
2128
|
"tbody",
|
|
@@ -2423,7 +2133,7 @@ var TableBody = React28.forwardRef((_a, ref) => {
|
|
|
2423
2133
|
);
|
|
2424
2134
|
});
|
|
2425
2135
|
TableBody.displayName = "TableBody";
|
|
2426
|
-
var TableFooter =
|
|
2136
|
+
var TableFooter = React27.forwardRef((_a, ref) => {
|
|
2427
2137
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2428
2138
|
return /* @__PURE__ */ jsx30(
|
|
2429
2139
|
"tfoot",
|
|
@@ -2434,7 +2144,7 @@ var TableFooter = React28.forwardRef((_a, ref) => {
|
|
|
2434
2144
|
);
|
|
2435
2145
|
});
|
|
2436
2146
|
TableFooter.displayName = "TableFooter";
|
|
2437
|
-
var TableRow =
|
|
2147
|
+
var TableRow = React27.forwardRef((_a, ref) => {
|
|
2438
2148
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2439
2149
|
return /* @__PURE__ */ jsx30(
|
|
2440
2150
|
"tr",
|
|
@@ -2448,7 +2158,7 @@ var TableRow = React28.forwardRef((_a, ref) => {
|
|
|
2448
2158
|
);
|
|
2449
2159
|
});
|
|
2450
2160
|
TableRow.displayName = "TableRow";
|
|
2451
|
-
var TableHead =
|
|
2161
|
+
var TableHead = React27.forwardRef((_a, ref) => {
|
|
2452
2162
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2453
2163
|
return /* @__PURE__ */ jsx30(
|
|
2454
2164
|
"th",
|
|
@@ -2462,7 +2172,7 @@ var TableHead = React28.forwardRef((_a, ref) => {
|
|
|
2462
2172
|
);
|
|
2463
2173
|
});
|
|
2464
2174
|
TableHead.displayName = "TableHead";
|
|
2465
|
-
var TableCell =
|
|
2175
|
+
var TableCell = React27.forwardRef((_a, ref) => {
|
|
2466
2176
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2467
2177
|
return /* @__PURE__ */ jsx30(
|
|
2468
2178
|
"td",
|
|
@@ -2473,7 +2183,7 @@ var TableCell = React28.forwardRef((_a, ref) => {
|
|
|
2473
2183
|
);
|
|
2474
2184
|
});
|
|
2475
2185
|
TableCell.displayName = "TableCell";
|
|
2476
|
-
var TableCaption =
|
|
2186
|
+
var TableCaption = React27.forwardRef((_a, ref) => {
|
|
2477
2187
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2478
2188
|
return /* @__PURE__ */ jsx30(
|
|
2479
2189
|
"caption",
|
|
@@ -2486,11 +2196,11 @@ var TableCaption = React28.forwardRef((_a, ref) => {
|
|
|
2486
2196
|
TableCaption.displayName = "TableCaption";
|
|
2487
2197
|
|
|
2488
2198
|
// src/components/ui/tabs.tsx
|
|
2489
|
-
import * as
|
|
2199
|
+
import * as React28 from "react";
|
|
2490
2200
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
2491
2201
|
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
2492
2202
|
var Tabs = TabsPrimitive.Root;
|
|
2493
|
-
var TabsList =
|
|
2203
|
+
var TabsList = React28.forwardRef((_a, ref) => {
|
|
2494
2204
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2495
2205
|
return /* @__PURE__ */ jsx31(
|
|
2496
2206
|
TabsPrimitive.List,
|
|
@@ -2504,7 +2214,7 @@ var TabsList = React29.forwardRef((_a, ref) => {
|
|
|
2504
2214
|
);
|
|
2505
2215
|
});
|
|
2506
2216
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
2507
|
-
var TabsTrigger =
|
|
2217
|
+
var TabsTrigger = React28.forwardRef((_a, ref) => {
|
|
2508
2218
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2509
2219
|
return /* @__PURE__ */ jsx31(
|
|
2510
2220
|
TabsPrimitive.Trigger,
|
|
@@ -2518,7 +2228,7 @@ var TabsTrigger = React29.forwardRef((_a, ref) => {
|
|
|
2518
2228
|
);
|
|
2519
2229
|
});
|
|
2520
2230
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
2521
|
-
var TabsContent =
|
|
2231
|
+
var TabsContent = React28.forwardRef((_a, ref) => {
|
|
2522
2232
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2523
2233
|
return /* @__PURE__ */ jsx31(
|
|
2524
2234
|
TabsPrimitive.Content,
|
|
@@ -2566,9 +2276,9 @@ var TagList = (props) => {
|
|
|
2566
2276
|
var tag_list_default = TagList;
|
|
2567
2277
|
|
|
2568
2278
|
// src/components/ui/textarea.tsx
|
|
2569
|
-
import * as
|
|
2279
|
+
import * as React29 from "react";
|
|
2570
2280
|
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
2571
|
-
var Textarea =
|
|
2281
|
+
var Textarea = React29.forwardRef(
|
|
2572
2282
|
(_a, ref) => {
|
|
2573
2283
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2574
2284
|
return /* @__PURE__ */ jsx34(
|
|
@@ -2586,13 +2296,13 @@ var Textarea = React30.forwardRef(
|
|
|
2586
2296
|
Textarea.displayName = "Textarea";
|
|
2587
2297
|
|
|
2588
2298
|
// src/components/ui/toast.tsx
|
|
2589
|
-
import * as
|
|
2299
|
+
import * as React30 from "react";
|
|
2590
2300
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
2591
2301
|
import { cva as cva7 } from "class-variance-authority";
|
|
2592
2302
|
import { X } from "lucide-react";
|
|
2593
2303
|
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
2594
2304
|
var ToastProvider = ToastPrimitives.Provider;
|
|
2595
|
-
var ToastViewport =
|
|
2305
|
+
var ToastViewport = React30.forwardRef((_a, ref) => {
|
|
2596
2306
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2597
2307
|
return /* @__PURE__ */ jsx35(
|
|
2598
2308
|
ToastPrimitives.Viewport,
|
|
@@ -2620,7 +2330,7 @@ var toastVariants = cva7(
|
|
|
2620
2330
|
}
|
|
2621
2331
|
}
|
|
2622
2332
|
);
|
|
2623
|
-
var Toast =
|
|
2333
|
+
var Toast = React30.forwardRef((_a, ref) => {
|
|
2624
2334
|
var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
|
|
2625
2335
|
return /* @__PURE__ */ jsx35(
|
|
2626
2336
|
ToastPrimitives.Root,
|
|
@@ -2631,7 +2341,7 @@ var Toast = React31.forwardRef((_a, ref) => {
|
|
|
2631
2341
|
);
|
|
2632
2342
|
});
|
|
2633
2343
|
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
2634
|
-
var ToastAction =
|
|
2344
|
+
var ToastAction = React30.forwardRef((_a, ref) => {
|
|
2635
2345
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2636
2346
|
return /* @__PURE__ */ jsx35(
|
|
2637
2347
|
ToastPrimitives.Action,
|
|
@@ -2645,7 +2355,7 @@ var ToastAction = React31.forwardRef((_a, ref) => {
|
|
|
2645
2355
|
);
|
|
2646
2356
|
});
|
|
2647
2357
|
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
2648
|
-
var ToastClose =
|
|
2358
|
+
var ToastClose = React30.forwardRef((_a, ref) => {
|
|
2649
2359
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2650
2360
|
return /* @__PURE__ */ jsx35(
|
|
2651
2361
|
ToastPrimitives.Close,
|
|
@@ -2662,7 +2372,7 @@ var ToastClose = React31.forwardRef((_a, ref) => {
|
|
|
2662
2372
|
);
|
|
2663
2373
|
});
|
|
2664
2374
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
2665
|
-
var ToastTitle =
|
|
2375
|
+
var ToastTitle = React30.forwardRef((_a, ref) => {
|
|
2666
2376
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2667
2377
|
return /* @__PURE__ */ jsx35(
|
|
2668
2378
|
ToastPrimitives.Title,
|
|
@@ -2673,7 +2383,7 @@ var ToastTitle = React31.forwardRef((_a, ref) => {
|
|
|
2673
2383
|
);
|
|
2674
2384
|
});
|
|
2675
2385
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
2676
|
-
var ToastDescription =
|
|
2386
|
+
var ToastDescription = React30.forwardRef((_a, ref) => {
|
|
2677
2387
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2678
2388
|
return /* @__PURE__ */ jsx35(
|
|
2679
2389
|
ToastPrimitives.Description,
|
|
@@ -2686,7 +2396,7 @@ var ToastDescription = React31.forwardRef((_a, ref) => {
|
|
|
2686
2396
|
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
|
2687
2397
|
|
|
2688
2398
|
// src/components/ui/use-toast.ts
|
|
2689
|
-
import * as
|
|
2399
|
+
import * as React31 from "react";
|
|
2690
2400
|
var TOAST_LIMIT = 1;
|
|
2691
2401
|
var TOAST_REMOVE_DELAY = 1e6;
|
|
2692
2402
|
var count = 0;
|
|
@@ -2770,8 +2480,7 @@ function toast(_a) {
|
|
|
2770
2480
|
id,
|
|
2771
2481
|
open: true,
|
|
2772
2482
|
onOpenChange: (open) => {
|
|
2773
|
-
if (!open)
|
|
2774
|
-
dismiss();
|
|
2483
|
+
if (!open) dismiss();
|
|
2775
2484
|
}
|
|
2776
2485
|
})
|
|
2777
2486
|
});
|
|
@@ -2782,8 +2491,8 @@ function toast(_a) {
|
|
|
2782
2491
|
};
|
|
2783
2492
|
}
|
|
2784
2493
|
function useToast() {
|
|
2785
|
-
const [state, setState] =
|
|
2786
|
-
|
|
2494
|
+
const [state, setState] = React31.useState(memoryState);
|
|
2495
|
+
React31.useEffect(() => {
|
|
2787
2496
|
listeners.push(setState);
|
|
2788
2497
|
return () => {
|
|
2789
2498
|
const index = listeners.indexOf(setState);
|
|
@@ -2819,7 +2528,7 @@ function Toaster() {
|
|
|
2819
2528
|
}
|
|
2820
2529
|
|
|
2821
2530
|
// src/components/ui/toggle.tsx
|
|
2822
|
-
import * as
|
|
2531
|
+
import * as React32 from "react";
|
|
2823
2532
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
2824
2533
|
import { cva as cva8 } from "class-variance-authority";
|
|
2825
2534
|
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
@@ -2843,7 +2552,7 @@ var toggleVariants = cva8(
|
|
|
2843
2552
|
}
|
|
2844
2553
|
}
|
|
2845
2554
|
);
|
|
2846
|
-
var Toggle =
|
|
2555
|
+
var Toggle = React32.forwardRef((_a, ref) => {
|
|
2847
2556
|
var _b = _a, { className, variant, size } = _b, props = __objRest(_b, ["className", "variant", "size"]);
|
|
2848
2557
|
return /* @__PURE__ */ jsx37(
|
|
2849
2558
|
TogglePrimitive.Root,
|
|
@@ -2856,13 +2565,13 @@ var Toggle = React33.forwardRef((_a, ref) => {
|
|
|
2856
2565
|
Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
2857
2566
|
|
|
2858
2567
|
// src/components/ui/tooltip.tsx
|
|
2859
|
-
import * as
|
|
2568
|
+
import * as React33 from "react";
|
|
2860
2569
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
2861
2570
|
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
2862
2571
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
2863
2572
|
var Tooltip = TooltipPrimitive.Root;
|
|
2864
2573
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
2865
|
-
var TooltipContent =
|
|
2574
|
+
var TooltipContent = React33.forwardRef((_a, ref) => {
|
|
2866
2575
|
var _b = _a, { className, sideOffset = 4 } = _b, props = __objRest(_b, ["className", "sideOffset"]);
|
|
2867
2576
|
return /* @__PURE__ */ jsx38(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx38(
|
|
2868
2577
|
TooltipPrimitive.Content,
|
|
@@ -3916,8 +3625,7 @@ var Pagination = ({
|
|
|
3916
3625
|
variant: "default",
|
|
3917
3626
|
disabled: !table.getCanPreviousPage(),
|
|
3918
3627
|
onClick: () => {
|
|
3919
|
-
if (!table.getCanPreviousPage())
|
|
3920
|
-
return;
|
|
3628
|
+
if (!table.getCanPreviousPage()) return;
|
|
3921
3629
|
table.setPageIndex(0);
|
|
3922
3630
|
},
|
|
3923
3631
|
children: /* @__PURE__ */ jsx78(ChevronDoubleLeftIcon, { width: 24, height: 24 })
|
|
@@ -3930,8 +3638,7 @@ var Pagination = ({
|
|
|
3930
3638
|
variant: "default",
|
|
3931
3639
|
disabled: !table.getCanPreviousPage(),
|
|
3932
3640
|
onClick: () => {
|
|
3933
|
-
if (!table.getCanPreviousPage())
|
|
3934
|
-
return;
|
|
3641
|
+
if (!table.getCanPreviousPage()) return;
|
|
3935
3642
|
table.previousPage();
|
|
3936
3643
|
},
|
|
3937
3644
|
children: /* @__PURE__ */ jsx78(ChevronLeftIcon2, { width: 24, height: 24 })
|
|
@@ -3988,8 +3695,7 @@ var TableView = ({
|
|
|
3988
3695
|
return headerGroups.map((headerGroup) => {
|
|
3989
3696
|
const headers = headerGroup.headers;
|
|
3990
3697
|
return /* @__PURE__ */ jsx79("tr", { className: "first:hidden", children: headers.map((header) => {
|
|
3991
|
-
if (header.isPlaceholder)
|
|
3992
|
-
return false;
|
|
3698
|
+
if (header.isPlaceholder) return false;
|
|
3993
3699
|
return /* @__PURE__ */ jsx79(
|
|
3994
3700
|
"th",
|
|
3995
3701
|
{
|
|
@@ -4168,8 +3874,7 @@ var SearchInput = ({ onUpdate, value }) => {
|
|
|
4168
3874
|
[onUpdate]
|
|
4169
3875
|
);
|
|
4170
3876
|
useEffect3(() => {
|
|
4171
|
-
if (searchStr)
|
|
4172
|
-
onUpdate(searchStr);
|
|
3877
|
+
if (searchStr) onUpdate(searchStr);
|
|
4173
3878
|
}, [onUpdate, searchStr]);
|
|
4174
3879
|
useEffect3(() => {
|
|
4175
3880
|
var _a;
|
|
@@ -4197,12 +3902,12 @@ import { BoxSelect, Check as Check6, Palette } from "lucide-react";
|
|
|
4197
3902
|
// src/components/Shared/DropdownMenu.tsx
|
|
4198
3903
|
import * as DropdownMenuPrimitive2 from "@radix-ui/react-dropdown-menu";
|
|
4199
3904
|
import { CheckIcon, ChevronRightIcon as ChevronRightIcon3 } from "lucide-react";
|
|
4200
|
-
import
|
|
3905
|
+
import React34 from "react";
|
|
4201
3906
|
import { DotFilledIcon } from "@radix-ui/react-icons";
|
|
4202
3907
|
import { jsx as jsx86, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
4203
3908
|
var DropdownMenu2 = DropdownMenuPrimitive2.Root;
|
|
4204
3909
|
var DropdownMenuTrigger2 = DropdownMenuPrimitive2.Trigger;
|
|
4205
|
-
var DropdownMenuSubTrigger2 =
|
|
3910
|
+
var DropdownMenuSubTrigger2 = React34.forwardRef((_a, ref) => {
|
|
4206
3911
|
var _b = _a, { className, inset, children } = _b, props = __objRest(_b, ["className", "inset", "children"]);
|
|
4207
3912
|
return /* @__PURE__ */ jsxs24(
|
|
4208
3913
|
DropdownMenuPrimitive2.SubTrigger,
|
|
@@ -4222,7 +3927,7 @@ var DropdownMenuSubTrigger2 = React35.forwardRef((_a, ref) => {
|
|
|
4222
3927
|
);
|
|
4223
3928
|
});
|
|
4224
3929
|
DropdownMenuSubTrigger2.displayName = DropdownMenuPrimitive2.SubTrigger.displayName;
|
|
4225
|
-
var DropdownMenuSubContent2 =
|
|
3930
|
+
var DropdownMenuSubContent2 = React34.forwardRef((_a, ref) => {
|
|
4226
3931
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4227
3932
|
return /* @__PURE__ */ jsx86(
|
|
4228
3933
|
DropdownMenuPrimitive2.SubContent,
|
|
@@ -4236,7 +3941,7 @@ var DropdownMenuSubContent2 = React35.forwardRef((_a, ref) => {
|
|
|
4236
3941
|
);
|
|
4237
3942
|
});
|
|
4238
3943
|
DropdownMenuSubContent2.displayName = DropdownMenuPrimitive2.SubContent.displayName;
|
|
4239
|
-
var DropdownMenuContent2 =
|
|
3944
|
+
var DropdownMenuContent2 = React34.forwardRef((_a, ref) => {
|
|
4240
3945
|
var _b = _a, { className, sideOffset = 4 } = _b, props = __objRest(_b, ["className", "sideOffset"]);
|
|
4241
3946
|
return /* @__PURE__ */ jsx86(DropdownMenuPrimitive2.Portal, { children: /* @__PURE__ */ jsx86(
|
|
4242
3947
|
DropdownMenuPrimitive2.Content,
|
|
@@ -4252,7 +3957,7 @@ var DropdownMenuContent2 = React35.forwardRef((_a, ref) => {
|
|
|
4252
3957
|
) });
|
|
4253
3958
|
});
|
|
4254
3959
|
DropdownMenuContent2.displayName = DropdownMenuPrimitive2.Content.displayName;
|
|
4255
|
-
var DropdownMenuItem2 =
|
|
3960
|
+
var DropdownMenuItem2 = React34.forwardRef((_a, ref) => {
|
|
4256
3961
|
var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
|
|
4257
3962
|
return /* @__PURE__ */ jsx86(
|
|
4258
3963
|
DropdownMenuPrimitive2.Item,
|
|
@@ -4267,7 +3972,7 @@ var DropdownMenuItem2 = React35.forwardRef((_a, ref) => {
|
|
|
4267
3972
|
);
|
|
4268
3973
|
});
|
|
4269
3974
|
DropdownMenuItem2.displayName = DropdownMenuPrimitive2.Item.displayName;
|
|
4270
|
-
var DropdownMenuCheckboxItem2 =
|
|
3975
|
+
var DropdownMenuCheckboxItem2 = React34.forwardRef((_a, ref) => {
|
|
4271
3976
|
var _b = _a, { className, children, checked } = _b, props = __objRest(_b, ["className", "children", "checked"]);
|
|
4272
3977
|
return /* @__PURE__ */ jsxs24(
|
|
4273
3978
|
DropdownMenuPrimitive2.CheckboxItem,
|
|
@@ -4287,7 +3992,7 @@ var DropdownMenuCheckboxItem2 = React35.forwardRef((_a, ref) => {
|
|
|
4287
3992
|
);
|
|
4288
3993
|
});
|
|
4289
3994
|
DropdownMenuCheckboxItem2.displayName = DropdownMenuPrimitive2.CheckboxItem.displayName;
|
|
4290
|
-
var DropdownMenuRadioItem2 =
|
|
3995
|
+
var DropdownMenuRadioItem2 = React34.forwardRef((_a, ref) => {
|
|
4291
3996
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
4292
3997
|
return /* @__PURE__ */ jsxs24(
|
|
4293
3998
|
DropdownMenuPrimitive2.RadioItem,
|
|
@@ -4306,7 +4011,7 @@ var DropdownMenuRadioItem2 = React35.forwardRef((_a, ref) => {
|
|
|
4306
4011
|
);
|
|
4307
4012
|
});
|
|
4308
4013
|
DropdownMenuRadioItem2.displayName = DropdownMenuPrimitive2.RadioItem.displayName;
|
|
4309
|
-
var DropdownMenuLabel2 =
|
|
4014
|
+
var DropdownMenuLabel2 = React34.forwardRef((_a, ref) => {
|
|
4310
4015
|
var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
|
|
4311
4016
|
return /* @__PURE__ */ jsx86(
|
|
4312
4017
|
DropdownMenuPrimitive2.Label,
|
|
@@ -4321,7 +4026,7 @@ var DropdownMenuLabel2 = React35.forwardRef((_a, ref) => {
|
|
|
4321
4026
|
);
|
|
4322
4027
|
});
|
|
4323
4028
|
DropdownMenuLabel2.displayName = DropdownMenuPrimitive2.Label.displayName;
|
|
4324
|
-
var DropdownMenuSeparator2 =
|
|
4029
|
+
var DropdownMenuSeparator2 = React34.forwardRef((_a, ref) => {
|
|
4325
4030
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4326
4031
|
return /* @__PURE__ */ jsx86(
|
|
4327
4032
|
DropdownMenuPrimitive2.Separator,
|
|
@@ -4363,11 +4068,9 @@ var ThemeSwitcher = () => {
|
|
|
4363
4068
|
setCurrTheme(theme);
|
|
4364
4069
|
};
|
|
4365
4070
|
const getCurrentSelectedTheme = () => {
|
|
4366
|
-
if (typeof window === "undefined")
|
|
4367
|
-
return "light";
|
|
4071
|
+
if (typeof window === "undefined") return "light";
|
|
4368
4072
|
const selectedTheme = window.localStorage.getItem("theme");
|
|
4369
|
-
if (selectedTheme === null)
|
|
4370
|
-
return "light";
|
|
4073
|
+
if (selectedTheme === null) return "light";
|
|
4371
4074
|
return selectedTheme;
|
|
4372
4075
|
};
|
|
4373
4076
|
return /* @__PURE__ */ jsxs25(DropdownMenu2, { children: [
|
|
@@ -4448,6 +4151,7 @@ var OldCustomInput = (props) => {
|
|
|
4448
4151
|
};
|
|
4449
4152
|
|
|
4450
4153
|
// src/components/Input/MultiSelect.tsx
|
|
4154
|
+
import { Controller as Controller2 } from "react-hook-form";
|
|
4451
4155
|
import Select2 from "react-select";
|
|
4452
4156
|
import { jsx as jsx89, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
4453
4157
|
var MultiSelect = (props) => {
|
|
@@ -4460,7 +4164,7 @@ var MultiSelect = (props) => {
|
|
|
4460
4164
|
};
|
|
4461
4165
|
return /* @__PURE__ */ jsxs27("div", { children: [
|
|
4462
4166
|
/* @__PURE__ */ jsx89(
|
|
4463
|
-
|
|
4167
|
+
Controller2,
|
|
4464
4168
|
{
|
|
4465
4169
|
control: props.control,
|
|
4466
4170
|
rules: { required: props.isRequired },
|
|
@@ -5154,16 +4858,16 @@ var AboutInfoItem = ({ title, description }) => {
|
|
|
5154
4858
|
};
|
|
5155
4859
|
|
|
5156
4860
|
// src/components/DesignElements/breadcrumb.tsx
|
|
5157
|
-
import * as
|
|
4861
|
+
import * as React35 from "react";
|
|
5158
4862
|
import { ChevronRightIcon as ChevronRightIcon4, DotsHorizontalIcon } from "@radix-ui/react-icons";
|
|
5159
4863
|
import { Slot as Slot3 } from "@radix-ui/react-slot";
|
|
5160
4864
|
import { jsx as jsx96, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
5161
|
-
var Breadcrumb =
|
|
4865
|
+
var Breadcrumb = React35.forwardRef((_a, ref) => {
|
|
5162
4866
|
var props = __objRest(_a, []);
|
|
5163
4867
|
return /* @__PURE__ */ jsx96("nav", __spreadValues({ ref, "aria-label": "breadcrumb" }, props));
|
|
5164
4868
|
});
|
|
5165
4869
|
Breadcrumb.displayName = "Breadcrumb";
|
|
5166
|
-
var BreadcrumbList =
|
|
4870
|
+
var BreadcrumbList = React35.forwardRef((_a, ref) => {
|
|
5167
4871
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5168
4872
|
return /* @__PURE__ */ jsx96(
|
|
5169
4873
|
"ol",
|
|
@@ -5177,7 +4881,7 @@ var BreadcrumbList = React36.forwardRef((_a, ref) => {
|
|
|
5177
4881
|
);
|
|
5178
4882
|
});
|
|
5179
4883
|
BreadcrumbList.displayName = "BreadcrumbList";
|
|
5180
|
-
var BreadcrumbItem =
|
|
4884
|
+
var BreadcrumbItem = React35.forwardRef((_a, ref) => {
|
|
5181
4885
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5182
4886
|
return /* @__PURE__ */ jsx96(
|
|
5183
4887
|
"li",
|
|
@@ -5188,7 +4892,7 @@ var BreadcrumbItem = React36.forwardRef((_a, ref) => {
|
|
|
5188
4892
|
);
|
|
5189
4893
|
});
|
|
5190
4894
|
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
5191
|
-
var BreadcrumbLink =
|
|
4895
|
+
var BreadcrumbLink = React35.forwardRef((_a, ref) => {
|
|
5192
4896
|
var _b = _a, { asChild, className } = _b, props = __objRest(_b, ["asChild", "className"]);
|
|
5193
4897
|
const Comp = asChild ? Slot3 : "a";
|
|
5194
4898
|
return /* @__PURE__ */ jsx96(
|
|
@@ -5200,7 +4904,7 @@ var BreadcrumbLink = React36.forwardRef((_a, ref) => {
|
|
|
5200
4904
|
);
|
|
5201
4905
|
});
|
|
5202
4906
|
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
5203
|
-
var BreadcrumbPage =
|
|
4907
|
+
var BreadcrumbPage = React35.forwardRef((_a, ref) => {
|
|
5204
4908
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5205
4909
|
return /* @__PURE__ */ jsx96(
|
|
5206
4910
|
"span",
|
|
@@ -5258,7 +4962,7 @@ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
|
|
|
5258
4962
|
|
|
5259
4963
|
// src/components/DesignElements/button.tsx
|
|
5260
4964
|
import { Slot as Slot4 } from "@radix-ui/react-slot";
|
|
5261
|
-
import
|
|
4965
|
+
import React36 from "react";
|
|
5262
4966
|
import { cva as cva9 } from "class-variance-authority";
|
|
5263
4967
|
import { jsx as jsx97, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
5264
4968
|
var designButtonVariants = cva9(
|
|
@@ -5287,7 +4991,7 @@ var designButtonVariants = cva9(
|
|
|
5287
4991
|
}
|
|
5288
4992
|
}
|
|
5289
4993
|
);
|
|
5290
|
-
var DesignButton =
|
|
4994
|
+
var DesignButton = React36.forwardRef(
|
|
5291
4995
|
(_a, ref) => {
|
|
5292
4996
|
var _b = _a, {
|
|
5293
4997
|
className,
|
|
@@ -5349,19 +5053,19 @@ var DesignButton = React37.forwardRef(
|
|
|
5349
5053
|
DesignButton.displayName = "DesignButton";
|
|
5350
5054
|
|
|
5351
5055
|
// src/components/DesignElements/carousel.tsx
|
|
5352
|
-
import * as
|
|
5056
|
+
import * as React37 from "react";
|
|
5353
5057
|
import useEmblaCarousel from "embla-carousel-react";
|
|
5354
5058
|
import { ChevronLeft, ChevronRight as ChevronRight4 } from "lucide-react";
|
|
5355
5059
|
import { jsx as jsx98, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
5356
|
-
var CarouselContext =
|
|
5060
|
+
var CarouselContext = React37.createContext(null);
|
|
5357
5061
|
function useCarousel() {
|
|
5358
|
-
const context =
|
|
5062
|
+
const context = React37.useContext(CarouselContext);
|
|
5359
5063
|
if (!context) {
|
|
5360
5064
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
5361
5065
|
}
|
|
5362
5066
|
return context;
|
|
5363
5067
|
}
|
|
5364
|
-
var Carousel =
|
|
5068
|
+
var Carousel = React37.forwardRef(
|
|
5365
5069
|
(_a, ref) => {
|
|
5366
5070
|
var _b = _a, {
|
|
5367
5071
|
orientation = "horizontal",
|
|
@@ -5387,22 +5091,22 @@ var Carousel = React38.forwardRef(
|
|
|
5387
5091
|
}),
|
|
5388
5092
|
plugins
|
|
5389
5093
|
);
|
|
5390
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
5391
|
-
const [canScrollNext, setCanScrollNext] =
|
|
5392
|
-
const onSelect =
|
|
5094
|
+
const [canScrollPrev, setCanScrollPrev] = React37.useState(false);
|
|
5095
|
+
const [canScrollNext, setCanScrollNext] = React37.useState(false);
|
|
5096
|
+
const onSelect = React37.useCallback((api2) => {
|
|
5393
5097
|
if (!api2) {
|
|
5394
5098
|
return;
|
|
5395
5099
|
}
|
|
5396
5100
|
setCanScrollPrev(api2.canScrollPrev());
|
|
5397
5101
|
setCanScrollNext(api2.canScrollNext());
|
|
5398
5102
|
}, []);
|
|
5399
|
-
const scrollPrev =
|
|
5103
|
+
const scrollPrev = React37.useCallback(() => {
|
|
5400
5104
|
api == null ? void 0 : api.scrollPrev();
|
|
5401
5105
|
}, [api]);
|
|
5402
|
-
const scrollNext =
|
|
5106
|
+
const scrollNext = React37.useCallback(() => {
|
|
5403
5107
|
api == null ? void 0 : api.scrollNext();
|
|
5404
5108
|
}, [api]);
|
|
5405
|
-
const handleKeyDown =
|
|
5109
|
+
const handleKeyDown = React37.useCallback(
|
|
5406
5110
|
(event) => {
|
|
5407
5111
|
if (event.key === "ArrowLeft") {
|
|
5408
5112
|
event.preventDefault();
|
|
@@ -5414,13 +5118,13 @@ var Carousel = React38.forwardRef(
|
|
|
5414
5118
|
},
|
|
5415
5119
|
[scrollPrev, scrollNext]
|
|
5416
5120
|
);
|
|
5417
|
-
|
|
5121
|
+
React37.useEffect(() => {
|
|
5418
5122
|
if (!api || !setApi) {
|
|
5419
5123
|
return;
|
|
5420
5124
|
}
|
|
5421
5125
|
setApi(api);
|
|
5422
5126
|
}, [api, setApi]);
|
|
5423
|
-
|
|
5127
|
+
React37.useEffect(() => {
|
|
5424
5128
|
if (!api) {
|
|
5425
5129
|
return;
|
|
5426
5130
|
}
|
|
@@ -5462,7 +5166,7 @@ var Carousel = React38.forwardRef(
|
|
|
5462
5166
|
}
|
|
5463
5167
|
);
|
|
5464
5168
|
Carousel.displayName = "Carousel";
|
|
5465
|
-
var CarouselContent =
|
|
5169
|
+
var CarouselContent = React37.forwardRef((_a, ref) => {
|
|
5466
5170
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5467
5171
|
const { carouselRef, orientation } = useCarousel();
|
|
5468
5172
|
return /* @__PURE__ */ jsx98("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx98(
|
|
@@ -5478,7 +5182,7 @@ var CarouselContent = React38.forwardRef((_a, ref) => {
|
|
|
5478
5182
|
) });
|
|
5479
5183
|
});
|
|
5480
5184
|
CarouselContent.displayName = "CarouselContent";
|
|
5481
|
-
var CarouselItem =
|
|
5185
|
+
var CarouselItem = React37.forwardRef((_a, ref) => {
|
|
5482
5186
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5483
5187
|
const { orientation } = useCarousel();
|
|
5484
5188
|
return /* @__PURE__ */ jsx98(
|
|
@@ -5496,7 +5200,7 @@ var CarouselItem = React38.forwardRef((_a, ref) => {
|
|
|
5496
5200
|
);
|
|
5497
5201
|
});
|
|
5498
5202
|
CarouselItem.displayName = "CarouselItem";
|
|
5499
|
-
var CarouselPrevious =
|
|
5203
|
+
var CarouselPrevious = React37.forwardRef((_a, ref) => {
|
|
5500
5204
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5501
5205
|
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
5502
5206
|
return /* @__PURE__ */ jsxs32(
|
|
@@ -5519,7 +5223,7 @@ var CarouselPrevious = React38.forwardRef((_a, ref) => {
|
|
|
5519
5223
|
);
|
|
5520
5224
|
});
|
|
5521
5225
|
CarouselPrevious.displayName = "CarouselPrevious";
|
|
5522
|
-
var CarouselNext =
|
|
5226
|
+
var CarouselNext = React37.forwardRef(
|
|
5523
5227
|
(_a, ref) => {
|
|
5524
5228
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5525
5229
|
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
@@ -5546,11 +5250,11 @@ var CarouselNext = React38.forwardRef(
|
|
|
5546
5250
|
CarouselNext.displayName = "CarouselNext";
|
|
5547
5251
|
|
|
5548
5252
|
// src/components/DesignElements/checkbox.tsx
|
|
5549
|
-
import * as
|
|
5253
|
+
import * as React38 from "react";
|
|
5550
5254
|
import * as CheckboxPrimitive2 from "@radix-ui/react-checkbox";
|
|
5551
5255
|
import { Check as Check7 } from "lucide-react";
|
|
5552
5256
|
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
5553
|
-
var Checkbox2 =
|
|
5257
|
+
var Checkbox2 = React38.forwardRef((_a, ref) => {
|
|
5554
5258
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5555
5259
|
return /* @__PURE__ */ jsx99(
|
|
5556
5260
|
CheckboxPrimitive2.Root,
|
|
@@ -5676,7 +5380,7 @@ var InfoBox = ({ title, text }) => {
|
|
|
5676
5380
|
};
|
|
5677
5381
|
|
|
5678
5382
|
// src/components/DesignElements/input.tsx
|
|
5679
|
-
import * as
|
|
5383
|
+
import * as React39 from "react";
|
|
5680
5384
|
import { cva as cva10 } from "class-variance-authority";
|
|
5681
5385
|
import { jsx as jsx103, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
5682
5386
|
var designInputVariants = cva10(
|
|
@@ -5694,7 +5398,7 @@ var designInputVariants = cva10(
|
|
|
5694
5398
|
}
|
|
5695
5399
|
}
|
|
5696
5400
|
);
|
|
5697
|
-
var DesignInput =
|
|
5401
|
+
var DesignInput = React39.forwardRef(
|
|
5698
5402
|
(_a, ref) => {
|
|
5699
5403
|
var _b = _a, { className, type, variant } = _b, props = __objRest(_b, ["className", "type", "variant"]);
|
|
5700
5404
|
return /* @__PURE__ */ jsxs36("div", { className: "relative", children: [
|
|
@@ -5780,11 +5484,11 @@ var NoResults = () => {
|
|
|
5780
5484
|
};
|
|
5781
5485
|
|
|
5782
5486
|
// src/components/DesignElements/radio-group.tsx
|
|
5783
|
-
import * as
|
|
5487
|
+
import * as React40 from "react";
|
|
5784
5488
|
import * as RadioGroupPrimitive2 from "@radix-ui/react-radio-group";
|
|
5785
5489
|
import { Circle as Circle5 } from "lucide-react";
|
|
5786
5490
|
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
5787
|
-
var DesignRadioGroup =
|
|
5491
|
+
var DesignRadioGroup = React40.forwardRef((_a, ref) => {
|
|
5788
5492
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5789
5493
|
return /* @__PURE__ */ jsx107(
|
|
5790
5494
|
RadioGroupPrimitive2.Root,
|
|
@@ -5796,7 +5500,7 @@ var DesignRadioGroup = React41.forwardRef((_a, ref) => {
|
|
|
5796
5500
|
);
|
|
5797
5501
|
});
|
|
5798
5502
|
DesignRadioGroup.displayName = RadioGroupPrimitive2.Root.displayName;
|
|
5799
|
-
var DesignRadioGroupItem =
|
|
5503
|
+
var DesignRadioGroupItem = React40.forwardRef((_a, ref) => {
|
|
5800
5504
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
5801
5505
|
return /* @__PURE__ */ jsx107(
|
|
5802
5506
|
RadioGroupPrimitive2.Item,
|
|
@@ -5996,10 +5700,10 @@ var DesignSimpleTag = ({
|
|
|
5996
5700
|
};
|
|
5997
5701
|
|
|
5998
5702
|
// src/components/DesignElements/switch.tsx
|
|
5999
|
-
import * as
|
|
5703
|
+
import * as React41 from "react";
|
|
6000
5704
|
import * as SwitchPrimitives2 from "@radix-ui/react-switch";
|
|
6001
5705
|
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
6002
|
-
var DesignSwitch =
|
|
5706
|
+
var DesignSwitch = React41.forwardRef((_a, ref) => {
|
|
6003
5707
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6004
5708
|
return /* @__PURE__ */ jsx110(
|
|
6005
5709
|
SwitchPrimitives2.Root,
|
|
@@ -6252,13 +5956,11 @@ var VersionDisplay = () => {
|
|
|
6252
5956
|
const [version, setVersion] = useState8();
|
|
6253
5957
|
useEffect6(() => {
|
|
6254
5958
|
fetch("/version.json").then((res) => {
|
|
6255
|
-
if (!res.ok)
|
|
6256
|
-
throw new Error("Version file not found");
|
|
5959
|
+
if (!res.ok) throw new Error("Version file not found");
|
|
6257
5960
|
return res.json();
|
|
6258
5961
|
}).then((data) => setVersion(data.version)).catch(() => setVersion(void 0));
|
|
6259
5962
|
}, []);
|
|
6260
|
-
if (!version)
|
|
6261
|
-
return null;
|
|
5963
|
+
if (!version) return null;
|
|
6262
5964
|
return /* @__PURE__ */ jsxs45("div", { className: "text-grey text-sm lg:text-base font-normal leading-[130%]", children: [
|
|
6263
5965
|
"Version: ",
|
|
6264
5966
|
version
|
|
@@ -6281,10 +5983,7 @@ var ImageElement = ({
|
|
|
6281
5983
|
height,
|
|
6282
5984
|
alt = "Image",
|
|
6283
5985
|
className,
|
|
6284
|
-
// = "relative w-full h-full",
|
|
6285
5986
|
showPlaceholder = true
|
|
6286
|
-
//shimmer, toBase64,
|
|
6287
|
-
//cmsImageUrlPath
|
|
6288
5987
|
}) => {
|
|
6289
5988
|
if (width && height) {
|
|
6290
5989
|
if (!showPlaceholder)
|
|
@@ -7065,8 +6764,8 @@ var BasicFooter = (props) => {
|
|
|
7065
6764
|
return /* @__PURE__ */ jsxs51("div", { className: "w-full bg-zinc-100 md:bg-white rounded-tl-3xl rounded-tr-3xl overflow-hidden mt-20", children: [
|
|
7066
6765
|
/* @__PURE__ */ jsxs51("div", { className: "w-full bg-zinc-100 md:p-12 p-8 md:flex justify-between items-center", children: [
|
|
7067
6766
|
/* @__PURE__ */ jsxs51("div", { className: "flex gap-6 justify-center md:justify-start", children: [
|
|
7068
|
-
/* @__PURE__ */ jsx124("a", { className: "text-gray-900 text-lg font-normal leading-6", href: props.privacy_policy_url, children: "Privacy policy" }),
|
|
7069
|
-
/* @__PURE__ */ jsx124("a", { className: "text-gray-900 text-lg font-normal leading-6", href: props.termsUrl, children: "Terms of Use" })
|
|
6767
|
+
/* @__PURE__ */ jsx124("a", { className: "text-gray-900 text-lg font-normal leading-6", href: props.privacy_policy_url, target: props.openInNewTab ? "_blank" : "_self", children: "Privacy policy" }),
|
|
6768
|
+
/* @__PURE__ */ jsx124("a", { className: "text-gray-900 text-lg font-normal leading-6", href: props.termsUrl, target: props.openInNewTab ? "_blank" : "_self", children: "Terms of Use" })
|
|
7070
6769
|
] }),
|
|
7071
6770
|
/* @__PURE__ */ jsxs51("div", { className: "hidden md:flex gap-6", children: [
|
|
7072
6771
|
/* @__PURE__ */ jsxs51("div", { className: "text-zinc-500 text-base font-normal leading-5", children: [
|
|
@@ -7084,7 +6783,7 @@ var BasicFooter = (props) => {
|
|
|
7084
6783
|
props.showGeoWiki && /* @__PURE__ */ jsx124("a", { href: "https://www.geo-wiki.org/", target: "_blank", className: "mt-5 mb-5 mr-10 flex", children: /* @__PURE__ */ jsx124("img", { id: "image0_539_1533", src: "data:image/png;base64,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" }) })
|
|
7085
6784
|
] }),
|
|
7086
6785
|
/* @__PURE__ */ jsxs51("div", { className: "flex items-center md:hidden justify-center gap-6 h-20", children: [
|
|
7087
|
-
/* @__PURE__ */ jsxs51("div", { className: "text-zinc-500 text-base font-normal leading-5", children: [
|
|
6786
|
+
props.version && /* @__PURE__ */ jsxs51("div", { className: "text-zinc-500 text-base font-normal leading-5", children: [
|
|
7088
6787
|
"Version: ",
|
|
7089
6788
|
props.version
|
|
7090
6789
|
] }),
|
|
@@ -7312,7 +7011,7 @@ function AppItemPopUpView({
|
|
|
7312
7011
|
return /* @__PURE__ */ jsx127("div", { className: "border-b-2", children: /* @__PURE__ */ jsxs53("div", { className: "flex justify-between items-center w-full gap-14 lg:mb-6 mb-2", children: [
|
|
7313
7012
|
/* @__PURE__ */ jsx127("div", { className: "text-zinc-500 text-base font-normal leading-5", children: x.name }),
|
|
7314
7013
|
/* @__PURE__ */ jsx127("div", { className: "text-right text-gray-900 text-base font-medium leading-5", children: x.value })
|
|
7315
|
-
] }) });
|
|
7014
|
+
] }) }, x.name);
|
|
7316
7015
|
}) }),
|
|
7317
7016
|
currentTypes && resource.publisher && /* @__PURE__ */ jsxs53("div", { className: "my-6 lg:my-10", children: [
|
|
7318
7017
|
currentTypes && /* @__PURE__ */ jsx127(
|
|
@@ -7403,12 +7102,13 @@ var AppItem = (props) => {
|
|
|
7403
7102
|
}, children: [
|
|
7404
7103
|
/* @__PURE__ */ jsxs54("div", { className: "w-full h-64 relative overflow-hidden rounded-xl", children: [
|
|
7405
7104
|
/* @__PURE__ */ jsx128("img", { className: "absolute w-full h-64 rounded-xl object-cover", src: props.item.logoUrl }),
|
|
7406
|
-
/* @__PURE__ */ jsx128("div", { className: "inset-0 absolute bg-black/
|
|
7105
|
+
/* @__PURE__ */ jsx128("div", { className: "inset-0 absolute bg-black/20 rounded-xl" }),
|
|
7407
7106
|
/* @__PURE__ */ jsx128("div", { className: "left-4 md:left-6 top-44 absolute justify-start text-white text-base font-medium leading-5", children: props.item.locationType }),
|
|
7408
7107
|
/* @__PURE__ */ jsx128("div", { className: "w-80 left-4 md:left-6 top-48 mt-2 absolute justify-start text-white text-xl font-semibold leading-7", children: (_a = props.item) == null ? void 0 : _a.name }),
|
|
7409
7108
|
/* @__PURE__ */ jsx128(
|
|
7410
|
-
"
|
|
7109
|
+
"button",
|
|
7411
7110
|
{
|
|
7111
|
+
type: "button",
|
|
7412
7112
|
className: "w-14 h-14 bottom-4 right-6 md:bottom-2 md:right-8 lg:bottom-0 -mb-3 lg:right-10 absolute origin-top-left -rotate-45 bg-primary rounded-full hidden md:block md:pointer-events-auto hover:cursor-pointer",
|
|
7413
7113
|
onClick: () => setOpen(true),
|
|
7414
7114
|
children: /* @__PURE__ */ jsx128("div", { className: "w-4 h-4 left-[40px] top-[16px] absolute origin-top-left rotate-90", children: /* @__PURE__ */ jsx128("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx128("path", { d: "M19.092 5.22341V15.1215C19.092 15.3973 18.9802 15.6476 18.7992 15.8286C18.6182 16.0096 18.3679 16.1214 18.0921 16.1214C17.5391 16.1214 17.0922 15.6745 17.0922 15.1215V7.63613L6.07127 18.6571C5.68024 19.0481 5.04738 19.0474 4.65705 18.6571C4.26673 18.2667 4.26602 17.6339 4.65705 17.2428L15.678 6.22192L8.19259 6.22192C7.63963 6.22192 7.19269 5.77498 7.19269 5.22203C7.19269 4.66907 7.63963 4.22213 8.19259 4.22213L18.0907 4.22213C18.2222 4.22213 18.3516 4.24822 18.4746 4.29913C18.7186 4.40024 18.9139 4.59552 19.015 4.83947C19.0659 4.96251 19.092 5.09188 19.092 5.22341Z", fill: "white" }) }) })
|
|
@@ -7441,18 +7141,253 @@ var AppItemsList = (props) => {
|
|
|
7441
7141
|
] });
|
|
7442
7142
|
};
|
|
7443
7143
|
|
|
7144
|
+
// src/components/DesignElements/SummaryCard.tsx
|
|
7145
|
+
import { UserGroupIcon as UserGroupIcon2, PhotoIcon, DocumentCheckIcon } from "@heroicons/react/24/solid";
|
|
7146
|
+
import { jsx as jsx130, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7147
|
+
var SummaryCard = (props) => {
|
|
7148
|
+
return /* @__PURE__ */ jsxs56("div", { className: "w-96 h-32 relative rounded-xl outline outline-1 outline-offset-[-1px] outline-zinc-300 overflow-hidden flex-row flex w-full items-center justify-between", children: [
|
|
7149
|
+
/* @__PURE__ */ jsxs56("div", { children: [
|
|
7150
|
+
/* @__PURE__ */ jsx130("div", { className: "ml-6 justify-center text-black text-4xl font-semibold leading-8", children: props.count }),
|
|
7151
|
+
/* @__PURE__ */ jsx130("div", { className: "mt-2 ml-6 justify-start text-primary text-base font-semibold leading-5", children: props.name })
|
|
7152
|
+
] }),
|
|
7153
|
+
/* @__PURE__ */ jsxs56("div", { className: "relative -mt-4 mr-6", children: [
|
|
7154
|
+
/* @__PURE__ */ jsx130("div", { className: "w-14 h-14 bg-primary rounded-lg" }),
|
|
7155
|
+
/* @__PURE__ */ jsx130("div", { children: /* @__PURE__ */ jsxs56("div", { className: "w-7 h-7 top-3.5 left-3.5 absolute", children: [
|
|
7156
|
+
props.imageSrc === "document" && /* @__PURE__ */ jsx130(DocumentCheckIcon, { fill: "white", stroke: props.iconColor }),
|
|
7157
|
+
props.imageSrc === "photo" && /* @__PURE__ */ jsx130(PhotoIcon, { fill: "white", stroke: props.iconColor }),
|
|
7158
|
+
props.imageSrc === "group" && /* @__PURE__ */ jsx130(UserGroupIcon2, { fill: "white", stroke: props.iconColor })
|
|
7159
|
+
] }) })
|
|
7160
|
+
] })
|
|
7161
|
+
] });
|
|
7162
|
+
};
|
|
7163
|
+
|
|
7164
|
+
// src/components/ui/VideoPlayer.tsx
|
|
7165
|
+
import { jsx as jsx131 } from "react/jsx-runtime";
|
|
7166
|
+
var VideoPlayer = (props) => {
|
|
7167
|
+
return /* @__PURE__ */ jsx131("div", { className: " max-w-sm aspect-square overflow-hidden bg-black rounded-lg " + props.className, children: /* @__PURE__ */ jsx131(
|
|
7168
|
+
"video",
|
|
7169
|
+
{
|
|
7170
|
+
src: props.url,
|
|
7171
|
+
controls: true,
|
|
7172
|
+
preload: "metadata",
|
|
7173
|
+
className: "object-cover",
|
|
7174
|
+
style: { width: props.width, height: props.height }
|
|
7175
|
+
}
|
|
7176
|
+
) });
|
|
7177
|
+
};
|
|
7178
|
+
|
|
7179
|
+
// src/components/DesignElements/Carousel/CarouselGalleryItem.tsx
|
|
7180
|
+
import { Fragment as Fragment9, jsx as jsx132, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7181
|
+
var CarouselGalleryItem = ({ text, url }) => {
|
|
7182
|
+
return /* @__PURE__ */ jsxs57(Fragment9, { children: [
|
|
7183
|
+
!url.includes(".mp4") && /* @__PURE__ */ jsxs57("div", { className: "aspect-square sm:w-auto bg-center relative flex group ", children: [
|
|
7184
|
+
/* @__PURE__ */ jsx132(
|
|
7185
|
+
ImageElement,
|
|
7186
|
+
{
|
|
7187
|
+
src: url,
|
|
7188
|
+
width: 432,
|
|
7189
|
+
height: 356,
|
|
7190
|
+
className: "h-full bg-black group-hover:brightness-50 rounded-xl object-cover"
|
|
7191
|
+
}
|
|
7192
|
+
),
|
|
7193
|
+
/* @__PURE__ */ jsx132("div", { className: " absolute bottom-6 opacity-0 group-hover:opacity-100", children: /* @__PURE__ */ jsx132("div", { className: " mx-6 text-white text-base leading-[120%] line-clamp-4", children: text }) })
|
|
7194
|
+
] }),
|
|
7195
|
+
url.includes(".mp4") && /* @__PURE__ */ jsxs57("div", { className: " max-w-sm aspect-square relative group cursor-pointer overflow-hidden rounded-xl", children: [
|
|
7196
|
+
/* @__PURE__ */ jsx132("div", { className: "transition-all duration-300 group-hover:brightness-50", children: /* @__PURE__ */ jsx132(
|
|
7197
|
+
VideoPlayer,
|
|
7198
|
+
{
|
|
7199
|
+
url,
|
|
7200
|
+
width: 432,
|
|
7201
|
+
height: 570
|
|
7202
|
+
}
|
|
7203
|
+
) }),
|
|
7204
|
+
/* @__PURE__ */ jsx132("div", { className: " absolute bottom-6 opacity-0 group-hover:opacity-100", children: /* @__PURE__ */ jsx132("div", { className: " mx-6 text-white text-base leading-[120%] line-clamp-4", children: text }) })
|
|
7205
|
+
] })
|
|
7206
|
+
] });
|
|
7207
|
+
};
|
|
7208
|
+
|
|
7209
|
+
// src/components/DesignElements/Carousel/CarouselOpen.tsx
|
|
7210
|
+
import { Fragment as Fragment10 } from "react";
|
|
7211
|
+
import { Dialog as Dialog5, Transition as Transition3 } from "@headlessui/react";
|
|
7212
|
+
import { XMarkIcon as XMarkIcon4 } from "@heroicons/react/24/outline";
|
|
7213
|
+
import { useState as useState14, useEffect as useEffect8 } from "react";
|
|
7214
|
+
import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight5, RotateCw, RotateCcw } from "lucide-react";
|
|
7215
|
+
import { jsx as jsx133, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
7216
|
+
var GalleryCarouselOpen = ({
|
|
7217
|
+
list,
|
|
7218
|
+
currentPhoto,
|
|
7219
|
+
open,
|
|
7220
|
+
setOpen
|
|
7221
|
+
}) => {
|
|
7222
|
+
const [defaultPhoto, setDefaultPhoto] = useState14(currentPhoto);
|
|
7223
|
+
const [text, setDefaultText] = useState14("");
|
|
7224
|
+
const [rotation, setRotation] = useState14(0);
|
|
7225
|
+
useEffect8(() => {
|
|
7226
|
+
setDefaultPhoto(currentPhoto);
|
|
7227
|
+
}, [currentPhoto]);
|
|
7228
|
+
const handlePrevious = () => {
|
|
7229
|
+
const currentIndex = list.findIndex(
|
|
7230
|
+
(item) => item.url === defaultPhoto.imageUrl
|
|
7231
|
+
);
|
|
7232
|
+
if (currentIndex > 0) {
|
|
7233
|
+
const previousIndex = currentIndex - 1;
|
|
7234
|
+
setDefaultPhoto({ imageUrl: list[previousIndex].url });
|
|
7235
|
+
}
|
|
7236
|
+
};
|
|
7237
|
+
const handleNext = () => {
|
|
7238
|
+
const currentIndex = list.findIndex(
|
|
7239
|
+
(item) => item.url === defaultPhoto.imageUrl
|
|
7240
|
+
);
|
|
7241
|
+
if (currentIndex < list.length - 1) {
|
|
7242
|
+
const nextIndex = currentIndex + 1;
|
|
7243
|
+
setDefaultPhoto({ imageUrl: list[nextIndex].url });
|
|
7244
|
+
}
|
|
7245
|
+
};
|
|
7246
|
+
useEffect8(() => {
|
|
7247
|
+
const foundPhoto = list.find((list2) => list2.url === defaultPhoto.imageUrl);
|
|
7248
|
+
if (foundPhoto) {
|
|
7249
|
+
setDefaultText(foundPhoto.text);
|
|
7250
|
+
}
|
|
7251
|
+
}, [defaultPhoto, list]);
|
|
7252
|
+
return /* @__PURE__ */ jsx133(Transition3.Root, { show: open, as: Fragment10, "data-component": "ResourceView", children: /* @__PURE__ */ jsxs58(Dialog5, { as: "div", className: "relative z-10", onClose: setOpen, children: [
|
|
7253
|
+
/* @__PURE__ */ jsx133(
|
|
7254
|
+
Transition3.Child,
|
|
7255
|
+
{
|
|
7256
|
+
as: Fragment10,
|
|
7257
|
+
enter: "ease-out duration-300",
|
|
7258
|
+
enterFrom: "opacity-0",
|
|
7259
|
+
enterTo: "opacity-100",
|
|
7260
|
+
leave: "ease-in duration-200",
|
|
7261
|
+
leaveFrom: "opacity-100",
|
|
7262
|
+
leaveTo: "opacity-0",
|
|
7263
|
+
children: /* @__PURE__ */ jsx133("div", { className: "fixed inset-0 bg-black bg-opacity-90 transition-opacity" })
|
|
7264
|
+
}
|
|
7265
|
+
),
|
|
7266
|
+
/* @__PURE__ */ jsx133(Dialog5.Panel, { className: "relative ", children: /* @__PURE__ */ jsxs58("div", { className: "fixed inset-0 flex items-center justify-between", children: [
|
|
7267
|
+
/* @__PURE__ */ jsx133("div", { className: "absolute top-0 right-0 pt-4 pr-4 z-40", children: /* @__PURE__ */ jsxs58(
|
|
7268
|
+
"button",
|
|
7269
|
+
{
|
|
7270
|
+
type: "button",
|
|
7271
|
+
className: " rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 ",
|
|
7272
|
+
onClick: () => setOpen(false),
|
|
7273
|
+
children: [
|
|
7274
|
+
/* @__PURE__ */ jsx133("span", { className: "sr-only", children: "Close" }),
|
|
7275
|
+
/* @__PURE__ */ jsx133(
|
|
7276
|
+
XMarkIcon4,
|
|
7277
|
+
{
|
|
7278
|
+
className: "h-4 w-4 lg:h-6 lg:w-6 text-white",
|
|
7279
|
+
"aria-hidden": "true"
|
|
7280
|
+
}
|
|
7281
|
+
)
|
|
7282
|
+
]
|
|
7283
|
+
}
|
|
7284
|
+
) }),
|
|
7285
|
+
/* @__PURE__ */ jsx133("div", { className: "mx-20 w-full items-center z-30 cursor-default ", children: /* @__PURE__ */ jsxs58("div", { className: "flex flex-col", children: [
|
|
7286
|
+
/* @__PURE__ */ jsxs58("div", { className: "flex justify-between items-center w-full ", children: [
|
|
7287
|
+
/* @__PURE__ */ jsx133(
|
|
7288
|
+
"button",
|
|
7289
|
+
{
|
|
7290
|
+
type: "button",
|
|
7291
|
+
className: " rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 z-40 ",
|
|
7292
|
+
onClick: handlePrevious,
|
|
7293
|
+
children: /* @__PURE__ */ jsx133(ChevronLeft2, { className: "h-8 w-8 disabled:pointer-events-none disabled:opacity-60 text-white", onClick: () => setRotation(0) })
|
|
7294
|
+
}
|
|
7295
|
+
),
|
|
7296
|
+
/* @__PURE__ */ jsxs58("div", { className: "w-full flex-col flex justify-center items-center", children: [
|
|
7297
|
+
!defaultPhoto.imageUrl.includes(".mp4") && /* @__PURE__ */ jsx133(
|
|
7298
|
+
"img",
|
|
7299
|
+
{
|
|
7300
|
+
src: defaultPhoto.imageUrl,
|
|
7301
|
+
alt: "Description",
|
|
7302
|
+
style: { maxWidth: "100%", maxHeight: "95vh", transform: `rotate(${rotation}deg)` },
|
|
7303
|
+
className: " p-4"
|
|
7304
|
+
}
|
|
7305
|
+
),
|
|
7306
|
+
defaultPhoto.imageUrl.includes(".mp4") && /* @__PURE__ */ jsx133(
|
|
7307
|
+
"video",
|
|
7308
|
+
{
|
|
7309
|
+
src: defaultPhoto.imageUrl,
|
|
7310
|
+
controls: true,
|
|
7311
|
+
preload: "metadata",
|
|
7312
|
+
style: { maxWidth: "100%", maxHeight: "95vh", transform: `rotate(${rotation}deg)` },
|
|
7313
|
+
className: " p-4"
|
|
7314
|
+
}
|
|
7315
|
+
),
|
|
7316
|
+
/* @__PURE__ */ jsx133(Body16, { className: "z-40 text-white", children: text })
|
|
7317
|
+
] }),
|
|
7318
|
+
/* @__PURE__ */ jsx133(
|
|
7319
|
+
"button",
|
|
7320
|
+
{
|
|
7321
|
+
type: "button",
|
|
7322
|
+
className: " rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 z-40",
|
|
7323
|
+
onClick: handleNext,
|
|
7324
|
+
children: /* @__PURE__ */ jsx133(ChevronRight5, { className: "h-8 w-8 disabled:pointer-events-none disabled:opacity-60 text-white", onClick: () => setRotation(0) })
|
|
7325
|
+
}
|
|
7326
|
+
)
|
|
7327
|
+
] }),
|
|
7328
|
+
/* @__PURE__ */ jsxs58("div", { className: "gap-2 flex flex-row", children: [
|
|
7329
|
+
/* @__PURE__ */ jsx133(RotateCcw, { className: "h-6 w-6 text-white cursor-pointer", onClick: () => {
|
|
7330
|
+
setRotation(rotation - 90);
|
|
7331
|
+
} }),
|
|
7332
|
+
/* @__PURE__ */ jsx133(RotateCw, { className: "h-6 w-6 text-white cursor-pointer", onClick: () => {
|
|
7333
|
+
setRotation(rotation + 90);
|
|
7334
|
+
} })
|
|
7335
|
+
] })
|
|
7336
|
+
] }) })
|
|
7337
|
+
] }) })
|
|
7338
|
+
] }) });
|
|
7339
|
+
};
|
|
7340
|
+
|
|
7341
|
+
// src/components/DesignElements/Carousel/CarouselGalleryItemList.tsx
|
|
7342
|
+
import { useState as useState15 } from "react";
|
|
7343
|
+
import { jsx as jsx134, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
7344
|
+
var CarouselItemList = ({ galleryItems }) => {
|
|
7345
|
+
const [open, setOpen] = useState15(false);
|
|
7346
|
+
const [selectedItemId, setSelectedItemId] = useState15("");
|
|
7347
|
+
const handleOpenGallery = (id) => {
|
|
7348
|
+
setOpen(true);
|
|
7349
|
+
setSelectedItemId(id);
|
|
7350
|
+
};
|
|
7351
|
+
return /* @__PURE__ */ jsxs59("div", { children: [
|
|
7352
|
+
/* @__PURE__ */ jsxs59(Carousel, { className: "w-full px-8", children: [
|
|
7353
|
+
/* @__PURE__ */ jsx134(CarouselContent, { className: "px-3", children: galleryItems.map((galleryItem, index) => /* @__PURE__ */ jsx134(CarouselItem, { className: " md:basis-1/2 lg:basis-1/3", children: /* @__PURE__ */ jsx134("div", { className: "p-1", children: /* @__PURE__ */ jsx134(
|
|
7354
|
+
"div",
|
|
7355
|
+
{
|
|
7356
|
+
className: "flex aspect-square items-center justify-center cursor-pointer",
|
|
7357
|
+
onClick: () => handleOpenGallery(galleryItem.url),
|
|
7358
|
+
children: /* @__PURE__ */ jsx134(CarouselGalleryItem, { text: galleryItem.text, url: galleryItem.url })
|
|
7359
|
+
}
|
|
7360
|
+
) }) }, index)) }),
|
|
7361
|
+
/* @__PURE__ */ jsx134(CarouselPrevious, {}),
|
|
7362
|
+
/* @__PURE__ */ jsx134(CarouselNext, {})
|
|
7363
|
+
] }),
|
|
7364
|
+
/* @__PURE__ */ jsx134(
|
|
7365
|
+
GalleryCarouselOpen,
|
|
7366
|
+
{
|
|
7367
|
+
currentPhoto: { imageUrl: selectedItemId },
|
|
7368
|
+
list: galleryItems.map((galleryItem) => ({
|
|
7369
|
+
url: galleryItem.url,
|
|
7370
|
+
text: galleryItem.text
|
|
7371
|
+
})),
|
|
7372
|
+
open,
|
|
7373
|
+
setOpen
|
|
7374
|
+
}
|
|
7375
|
+
)
|
|
7376
|
+
] });
|
|
7377
|
+
};
|
|
7378
|
+
|
|
7444
7379
|
// src/components/Elements/button.tsx
|
|
7445
7380
|
import classNames4 from "classnames";
|
|
7446
|
-
import { jsx as
|
|
7381
|
+
import { jsx as jsx135 } from "react/jsx-runtime";
|
|
7447
7382
|
var OldButton = ({
|
|
7448
7383
|
label,
|
|
7449
7384
|
appearance,
|
|
7450
|
-
compact
|
|
7385
|
+
compact = false,
|
|
7451
7386
|
handleClick,
|
|
7452
7387
|
loading = false,
|
|
7453
7388
|
type
|
|
7454
7389
|
}) => {
|
|
7455
|
-
return /* @__PURE__ */
|
|
7390
|
+
return /* @__PURE__ */ jsx135("button", { onClick: handleClick, type, children: /* @__PURE__ */ jsx135(
|
|
7456
7391
|
"div",
|
|
7457
7392
|
{
|
|
7458
7393
|
className: classNames4(
|
|
@@ -7460,11 +7395,11 @@ var OldButton = ({
|
|
|
7460
7395
|
"flex w-full justify-center lg:w-auto text-center uppercase tracking-wide font-semibold text-base md:text-sm border-2 rounded-md",
|
|
7461
7396
|
// Full-size button
|
|
7462
7397
|
{
|
|
7463
|
-
"px-8 py-4":
|
|
7398
|
+
"px-8 py-4": compact === false
|
|
7464
7399
|
},
|
|
7465
7400
|
// Compact button
|
|
7466
7401
|
{
|
|
7467
|
-
"px-6 py-2":
|
|
7402
|
+
"px-6 py-2": compact === true
|
|
7468
7403
|
},
|
|
7469
7404
|
// Specific to when the button is fully dark
|
|
7470
7405
|
{
|
|
@@ -7490,9 +7425,9 @@ var OldButton = ({
|
|
|
7490
7425
|
|
|
7491
7426
|
// src/components/Elements/button-link.tsx
|
|
7492
7427
|
import classNames5 from "classnames";
|
|
7493
|
-
import { jsx as
|
|
7494
|
-
var ButtonContent = ({ button, appearance, compact
|
|
7495
|
-
return /* @__PURE__ */
|
|
7428
|
+
import { jsx as jsx136 } from "react/jsx-runtime";
|
|
7429
|
+
var ButtonContent = ({ button, appearance, compact }) => {
|
|
7430
|
+
return /* @__PURE__ */ jsx136(
|
|
7496
7431
|
"div",
|
|
7497
7432
|
{
|
|
7498
7433
|
className: classNames5(
|
|
@@ -7500,11 +7435,11 @@ var ButtonContent = ({ button, appearance, compact: compact2 }) => {
|
|
|
7500
7435
|
"block mr-4 w-full lg:w-auto text-center uppercase tracking-wide font-semibold text-base md:text-sm border-2 rounded-md",
|
|
7501
7436
|
// Full-size button
|
|
7502
7437
|
{
|
|
7503
|
-
"px-8 py-4":
|
|
7438
|
+
"px-8 py-4": compact === false
|
|
7504
7439
|
},
|
|
7505
7440
|
// Compact button
|
|
7506
7441
|
{
|
|
7507
|
-
"px-6 py-2":
|
|
7442
|
+
"px-6 py-2": compact === true
|
|
7508
7443
|
},
|
|
7509
7444
|
// Specific to when the button is fully dark
|
|
7510
7445
|
{
|
|
@@ -7530,15 +7465,15 @@ var ButtonContent = ({ button, appearance, compact: compact2 }) => {
|
|
|
7530
7465
|
var ButtonLink = ({
|
|
7531
7466
|
button,
|
|
7532
7467
|
appearance,
|
|
7533
|
-
compact
|
|
7468
|
+
compact = false
|
|
7534
7469
|
}) => {
|
|
7535
|
-
return /* @__PURE__ */
|
|
7470
|
+
return /* @__PURE__ */ jsx136(ButtonContent, { button, appearance, compact });
|
|
7536
7471
|
};
|
|
7537
7472
|
|
|
7538
7473
|
// src/components/Elements/Error.tsx
|
|
7539
|
-
import { jsxs as
|
|
7474
|
+
import { jsxs as jsxs60 } from "react/jsx-runtime";
|
|
7540
7475
|
var ErrorMessage = (props) => {
|
|
7541
|
-
return /* @__PURE__ */
|
|
7476
|
+
return /* @__PURE__ */ jsxs60("div", { children: [
|
|
7542
7477
|
"Error (: ",
|
|
7543
7478
|
props.message,
|
|
7544
7479
|
")"
|
|
@@ -7546,10 +7481,10 @@ var ErrorMessage = (props) => {
|
|
|
7546
7481
|
};
|
|
7547
7482
|
|
|
7548
7483
|
// src/components/Elements/feature-disabled.tsx
|
|
7549
|
-
import { jsx as
|
|
7484
|
+
import { jsx as jsx137, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
7550
7485
|
var FeatureDisabled = () => {
|
|
7551
|
-
return /* @__PURE__ */
|
|
7552
|
-
/* @__PURE__ */
|
|
7486
|
+
return /* @__PURE__ */ jsx137("div", { className: "container mx-auto", children: /* @__PURE__ */ jsx137("div", { className: "max-w-3xl mx-auto", children: /* @__PURE__ */ jsxs61("div", { className: "relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500", children: [
|
|
7487
|
+
/* @__PURE__ */ jsx137(
|
|
7553
7488
|
"svg",
|
|
7554
7489
|
{
|
|
7555
7490
|
className: "mx-auto h-12 w-12 text-gray-400",
|
|
@@ -7557,7 +7492,7 @@ var FeatureDisabled = () => {
|
|
|
7557
7492
|
fill: "none",
|
|
7558
7493
|
viewBox: "0 0 24 24",
|
|
7559
7494
|
stroke: "currentColor",
|
|
7560
|
-
children: /* @__PURE__ */
|
|
7495
|
+
children: /* @__PURE__ */ jsx137(
|
|
7561
7496
|
"path",
|
|
7562
7497
|
{
|
|
7563
7498
|
strokeLinecap: "round",
|
|
@@ -7568,16 +7503,16 @@ var FeatureDisabled = () => {
|
|
|
7568
7503
|
)
|
|
7569
7504
|
}
|
|
7570
7505
|
),
|
|
7571
|
-
/* @__PURE__ */
|
|
7506
|
+
/* @__PURE__ */ jsx137("span", { className: "mt-2 block text-sm font-medium ", children: "This feature is disabled for your site." })
|
|
7572
7507
|
] }) }) });
|
|
7573
7508
|
};
|
|
7574
7509
|
|
|
7575
7510
|
// src/components/Elements/IframeViewer.tsx
|
|
7576
|
-
import { useEffect as
|
|
7577
|
-
import { jsx as
|
|
7511
|
+
import { useEffect as useEffect9, useRef as useRef2 } from "react";
|
|
7512
|
+
import { jsx as jsx138 } from "react/jsx-runtime";
|
|
7578
7513
|
var IframeViewer = ({ html, className }) => {
|
|
7579
7514
|
const containerRef = useRef2(null);
|
|
7580
|
-
|
|
7515
|
+
useEffect9(() => {
|
|
7581
7516
|
if (containerRef.current) {
|
|
7582
7517
|
containerRef.current.innerHTML = "";
|
|
7583
7518
|
const tempDiv = document.createElement("div");
|
|
@@ -7604,28 +7539,28 @@ var IframeViewer = ({ html, className }) => {
|
|
|
7604
7539
|
});
|
|
7605
7540
|
}
|
|
7606
7541
|
}, [html]);
|
|
7607
|
-
return /* @__PURE__ */
|
|
7542
|
+
return /* @__PURE__ */ jsx138("div", { ref: containerRef, className: className != null ? className : "" });
|
|
7608
7543
|
};
|
|
7609
7544
|
|
|
7610
7545
|
// src/components/Elements/loader.tsx
|
|
7611
|
-
import { jsx as
|
|
7546
|
+
import { jsx as jsx139, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
7612
7547
|
var LoaderFull = ({
|
|
7613
7548
|
showInCenter = true,
|
|
7614
7549
|
cssClass = null
|
|
7615
7550
|
}) => {
|
|
7616
|
-
return /* @__PURE__ */
|
|
7551
|
+
return /* @__PURE__ */ jsx139(
|
|
7617
7552
|
"div",
|
|
7618
7553
|
{
|
|
7619
7554
|
className: showInCenter ? "w-full min-h-screen flex items-center justify-center " + (cssClass !== null ? cssClass : "z-[1000] fixed top-0 left-0") : "w-full flex items-center justify-center " + (cssClass !== null ? cssClass : "z-[1000] fixed top-0 left-0"),
|
|
7620
|
-
children: /* @__PURE__ */
|
|
7555
|
+
children: /* @__PURE__ */ jsx139(
|
|
7621
7556
|
"svg",
|
|
7622
7557
|
{
|
|
7623
7558
|
viewBox: "0 0 38 38",
|
|
7624
7559
|
className: "animate-spin h-20 w-20 stroke-current text-black-600 mr-2",
|
|
7625
7560
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7626
|
-
children: /* @__PURE__ */
|
|
7627
|
-
/* @__PURE__ */
|
|
7628
|
-
/* @__PURE__ */
|
|
7561
|
+
children: /* @__PURE__ */ jsx139("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs62("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
|
|
7562
|
+
/* @__PURE__ */ jsx139("circle", { strokeOpacity: ".5", cx: "18", cy: "18", r: "18" }),
|
|
7563
|
+
/* @__PURE__ */ jsx139("path", { d: "M36 18c0-9.94-8.06-18-18-18", children: /* @__PURE__ */ jsx139(
|
|
7629
7564
|
"animateTransform",
|
|
7630
7565
|
{
|
|
7631
7566
|
attributeName: "transform",
|
|
@@ -7644,17 +7579,17 @@ var LoaderFull = ({
|
|
|
7644
7579
|
};
|
|
7645
7580
|
|
|
7646
7581
|
// src/components/Elements/LocalLoader.tsx
|
|
7647
|
-
import { jsx as
|
|
7582
|
+
import { jsx as jsx140, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
7648
7583
|
var LocalLoader = () => {
|
|
7649
|
-
return /* @__PURE__ */
|
|
7584
|
+
return /* @__PURE__ */ jsx140("div", { className: "flex items-center justify-center ", children: /* @__PURE__ */ jsx140(
|
|
7650
7585
|
"svg",
|
|
7651
7586
|
{
|
|
7652
7587
|
viewBox: "0 0 38 38",
|
|
7653
7588
|
className: "animate-spin h-20 w-20 stroke-current text-black-600 mr-2",
|
|
7654
7589
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7655
|
-
children: /* @__PURE__ */
|
|
7656
|
-
/* @__PURE__ */
|
|
7657
|
-
/* @__PURE__ */
|
|
7590
|
+
children: /* @__PURE__ */ jsx140("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs63("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
|
|
7591
|
+
/* @__PURE__ */ jsx140("circle", { strokeOpacity: ".5", cx: "18", cy: "18", r: "18" }),
|
|
7592
|
+
/* @__PURE__ */ jsx140("path", { d: "M36 18c0-9.94-8.06-18-18-18", children: /* @__PURE__ */ jsx140(
|
|
7658
7593
|
"animateTransform",
|
|
7659
7594
|
{
|
|
7660
7595
|
attributeName: "transform",
|
|
@@ -7671,9 +7606,9 @@ var LocalLoader = () => {
|
|
|
7671
7606
|
};
|
|
7672
7607
|
|
|
7673
7608
|
// src/components/Elements/MediaEmbedItem.tsx
|
|
7674
|
-
import { jsx as
|
|
7609
|
+
import { jsx as jsx141 } from "react/jsx-runtime";
|
|
7675
7610
|
var MediaEmbedItem = ({ alt, src }) => {
|
|
7676
|
-
return /* @__PURE__ */
|
|
7611
|
+
return /* @__PURE__ */ jsx141(
|
|
7677
7612
|
"img",
|
|
7678
7613
|
{
|
|
7679
7614
|
alt,
|
|
@@ -7684,10 +7619,10 @@ var MediaEmbedItem = ({ alt, src }) => {
|
|
|
7684
7619
|
};
|
|
7685
7620
|
|
|
7686
7621
|
// src/components/Elements/permission-disabled.tsx
|
|
7687
|
-
import { jsx as
|
|
7622
|
+
import { jsx as jsx142, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
7688
7623
|
var PermissionDisabled = () => {
|
|
7689
|
-
return /* @__PURE__ */
|
|
7690
|
-
/* @__PURE__ */
|
|
7624
|
+
return /* @__PURE__ */ jsx142("div", { className: "container mx-auto", children: /* @__PURE__ */ jsx142("div", { className: "max-w-3xl mx-auto", children: /* @__PURE__ */ jsxs64("div", { className: "relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500", children: [
|
|
7625
|
+
/* @__PURE__ */ jsx142(
|
|
7691
7626
|
"svg",
|
|
7692
7627
|
{
|
|
7693
7628
|
className: "mx-auto h-12 w-12 text-gray-400",
|
|
@@ -7695,7 +7630,7 @@ var PermissionDisabled = () => {
|
|
|
7695
7630
|
fill: "none",
|
|
7696
7631
|
viewBox: "0 0 24 24",
|
|
7697
7632
|
stroke: "currentColor",
|
|
7698
|
-
children: /* @__PURE__ */
|
|
7633
|
+
children: /* @__PURE__ */ jsx142(
|
|
7699
7634
|
"path",
|
|
7700
7635
|
{
|
|
7701
7636
|
strokeLinecap: "round",
|
|
@@ -7706,38 +7641,38 @@ var PermissionDisabled = () => {
|
|
|
7706
7641
|
)
|
|
7707
7642
|
}
|
|
7708
7643
|
),
|
|
7709
|
-
/* @__PURE__ */
|
|
7644
|
+
/* @__PURE__ */ jsx142("span", { className: "mt-2 block text-sm font-medium ", children: "Permission denied" })
|
|
7710
7645
|
] }) }) });
|
|
7711
7646
|
};
|
|
7712
7647
|
|
|
7713
7648
|
// src/components/Elements/ShowLargeText.tsx
|
|
7714
|
-
import { jsx as
|
|
7649
|
+
import { jsx as jsx143, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
7715
7650
|
var ShowLargeText = (props) => {
|
|
7716
|
-
return /* @__PURE__ */
|
|
7651
|
+
return /* @__PURE__ */ jsxs65(
|
|
7717
7652
|
"div",
|
|
7718
7653
|
{
|
|
7719
7654
|
className: props.colSpan != null ? "sm:col-span-" + props.colSpan : "sm:col-span-1",
|
|
7720
7655
|
children: [
|
|
7721
|
-
/* @__PURE__ */
|
|
7722
|
-
/* @__PURE__ */
|
|
7656
|
+
/* @__PURE__ */ jsx143("dt", { className: "text-sm font-bold", children: props.label }),
|
|
7657
|
+
/* @__PURE__ */ jsx143("dd", { className: "mt-1 text-sm", children: props.value })
|
|
7723
7658
|
]
|
|
7724
7659
|
}
|
|
7725
7660
|
);
|
|
7726
7661
|
};
|
|
7727
7662
|
|
|
7728
7663
|
// src/components/Elements/ShowShortText.tsx
|
|
7729
|
-
import { jsx as
|
|
7664
|
+
import { jsx as jsx144, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
7730
7665
|
var ShowShortText = (props) => {
|
|
7731
|
-
return /* @__PURE__ */
|
|
7732
|
-
/* @__PURE__ */
|
|
7733
|
-
/* @__PURE__ */
|
|
7666
|
+
return /* @__PURE__ */ jsxs66("div", { className: "sm:col-span-1", children: [
|
|
7667
|
+
/* @__PURE__ */ jsx144("dt", { className: "text-sm font-bold", children: props.label }),
|
|
7668
|
+
/* @__PURE__ */ jsx144("dd", { className: "mt-1 text-sm", children: props.value })
|
|
7734
7669
|
] });
|
|
7735
7670
|
};
|
|
7736
7671
|
|
|
7737
7672
|
// src/components/Elements/SizedImage.tsx
|
|
7738
|
-
import { jsx as
|
|
7673
|
+
import { jsx as jsx145 } from "react/jsx-runtime";
|
|
7739
7674
|
var SizedImage = (props) => {
|
|
7740
|
-
return /* @__PURE__ */
|
|
7675
|
+
return /* @__PURE__ */ jsx145(
|
|
7741
7676
|
"img",
|
|
7742
7677
|
{
|
|
7743
7678
|
className: props.className,
|
|
@@ -7750,43 +7685,42 @@ var SizedImage = (props) => {
|
|
|
7750
7685
|
};
|
|
7751
7686
|
|
|
7752
7687
|
// src/components/Elements/UnderConstruction.tsx
|
|
7753
|
-
import { jsx as
|
|
7688
|
+
import { jsx as jsx146, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
7754
7689
|
var UnderConstruction = () => {
|
|
7755
|
-
return /* @__PURE__ */
|
|
7756
|
-
/* @__PURE__ */
|
|
7757
|
-
/* @__PURE__ */
|
|
7758
|
-
/* @__PURE__ */
|
|
7759
|
-
/* @__PURE__ */
|
|
7690
|
+
return /* @__PURE__ */ jsx146("div", { className: " min-h-screen px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8", children: /* @__PURE__ */ jsx146("div", { className: "max-w-max mx-auto", children: /* @__PURE__ */ jsxs67("main", { className: "sm:flex", children: [
|
|
7691
|
+
/* @__PURE__ */ jsx146("p", { className: "text-4xl font-extrabold text-primary-600 sm:text-5xl", children: "recodo.io" }),
|
|
7692
|
+
/* @__PURE__ */ jsx146("div", { className: "sm:ml-6", children: /* @__PURE__ */ jsxs67("div", { className: "sm:border-l sm:border-gray-200 sm:pl-6", children: [
|
|
7693
|
+
/* @__PURE__ */ jsx146("h1", { className: "text-4xl font-extrabold tracking-tight sm:text-5xl", children: "Under Construction" }),
|
|
7694
|
+
/* @__PURE__ */ jsx146("p", { className: "mt-4 text-xl ", children: "Please check back later." })
|
|
7760
7695
|
] }) })
|
|
7761
7696
|
] }) }) });
|
|
7762
7697
|
};
|
|
7763
7698
|
|
|
7764
7699
|
// src/components/Elements/FeaturedItemWithBannerImage.tsx
|
|
7765
|
-
import { jsx as
|
|
7700
|
+
import { jsx as jsx147, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
7766
7701
|
var FeaturedItemWithBannerImage = (props) => {
|
|
7767
7702
|
var _a, _b, _c, _d;
|
|
7768
|
-
return /* @__PURE__ */
|
|
7769
|
-
if (window.innerWidth < 700 && props.itemDetails.externalWebsiteLink)
|
|
7770
|
-
window.open(props.itemDetails.externalWebsiteLink, "_blank");
|
|
7703
|
+
return /* @__PURE__ */ jsxs68("div", { className: "w-full h-full mt-15 pointer-events-auto md:pointer-events-none", onClick: () => {
|
|
7704
|
+
if (window.innerWidth < 700 && props.itemDetails.externalWebsiteLink) window.open(props.itemDetails.externalWebsiteLink, "_blank");
|
|
7771
7705
|
}, children: [
|
|
7772
|
-
/* @__PURE__ */
|
|
7773
|
-
/* @__PURE__ */
|
|
7774
|
-
props.itemDetails.externalWebsiteLink && /* @__PURE__ */
|
|
7775
|
-
/* @__PURE__ */
|
|
7776
|
-
/* @__PURE__ */
|
|
7706
|
+
/* @__PURE__ */ jsxs68("div", { className: "hidden md:block relative", children: [
|
|
7707
|
+
/* @__PURE__ */ jsx147("img", { src: (_a = props.featuredItem[0]) == null ? void 0 : _a.landscapeBannerUrl, className: "relative w-full object-contain rounded-xl mt-6 lg:mt-12 " }),
|
|
7708
|
+
props.itemDetails.externalWebsiteLink && /* @__PURE__ */ jsx147("a", { className: "hidden md:block md:pointer-events-auto absolute featuredItemButton ml-5 h-24 rounded-tr-xl", target: "_blank", href: (_b = props.itemDetails) == null ? void 0 : _b.externalWebsiteLink, children: /* @__PURE__ */ jsx147("div", { className: "w-auto h-14 bg-primary rounded-[40px] flex items-center justify-center", children: /* @__PURE__ */ jsxs68("div", { className: "inline-flex gap-2", children: [
|
|
7709
|
+
/* @__PURE__ */ jsx147("div", { className: "text-white text-base text-lg font-medium ml-6", children: "View Quest" }),
|
|
7710
|
+
/* @__PURE__ */ jsx147("svg", { width: "13", height: "13", viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "-rotate-1 mt-2 mr-6", children: /* @__PURE__ */ jsx147("path", { d: "M14.728 1.00124V10.8994C14.728 11.1751 14.6162 11.4254 14.4352 11.6065C14.2542 11.7875 14.0038 11.8992 13.7281 11.8992C13.1751 11.8992 12.7282 11.4523 12.7282 10.8994V3.41396L1.70725 14.4349C1.31622 14.8259 0.683362 14.8252 0.293039 14.4349C-0.0972836 14.0446 -0.0979906 13.4117 0.293039 13.0207L11.314 1.99975L3.82857 1.99975C3.27562 1.99975 2.82868 1.55281 2.82868 0.999856C2.82868 0.446899 3.27562 -3.6872e-05 3.82857 -3.67244e-05L13.7267 -3.66612e-05C13.8582 -3.69984e-05 13.9876 0.0260465 14.1106 0.0769579C14.3546 0.178074 14.5498 0.373349 14.651 0.617301C14.7019 0.740338 14.728 0.869715 14.728 1.00124Z", fill: "white" }) })
|
|
7777
7711
|
] }) }) })
|
|
7778
7712
|
] }),
|
|
7779
|
-
((_c = props.featuredItem[0]) == null ? void 0 : _c.portraitBannerUrl) && /* @__PURE__ */
|
|
7780
|
-
/* @__PURE__ */
|
|
7781
|
-
/* @__PURE__ */
|
|
7713
|
+
((_c = props.featuredItem[0]) == null ? void 0 : _c.portraitBannerUrl) && /* @__PURE__ */ jsx147("div", { className: "md:hidden", children: /* @__PURE__ */ jsxs68("div", { className: "w-full relative pt-10", children: [
|
|
7714
|
+
/* @__PURE__ */ jsx147("div", { className: "justify-start text-black text-lg font-normal leading-6 mb-2", children: "Feature Quest" }),
|
|
7715
|
+
/* @__PURE__ */ jsx147("img", { src: (_d = props.featuredItem[0]) == null ? void 0 : _d.portraitBannerUrl, className: "w-full h-full overflow-hidden rounded-xl object-cover mt-5" })
|
|
7782
7716
|
] }) })
|
|
7783
7717
|
] });
|
|
7784
7718
|
};
|
|
7785
7719
|
|
|
7786
7720
|
// src/components/Hero/HeroImage.tsx
|
|
7787
|
-
import { jsx as
|
|
7721
|
+
import { jsx as jsx148 } from "react/jsx-runtime";
|
|
7788
7722
|
var HeroImage = ({ path, cmsUrl }) => {
|
|
7789
|
-
return /* @__PURE__ */
|
|
7723
|
+
return /* @__PURE__ */ jsx148(
|
|
7790
7724
|
"div",
|
|
7791
7725
|
{
|
|
7792
7726
|
className: "w-full bg-center bg-cover hero-geo-wiki rounded-xl overflow-hidden",
|
|
@@ -7798,12 +7732,12 @@ var HeroImage = ({ path, cmsUrl }) => {
|
|
|
7798
7732
|
};
|
|
7799
7733
|
|
|
7800
7734
|
// src/components/Hero/HeroImageRightWithAppButtons.tsx
|
|
7801
|
-
import { useEffect as
|
|
7735
|
+
import { useEffect as useEffect10, useState as useState16 } from "react";
|
|
7802
7736
|
|
|
7803
7737
|
// src/components/HeadingTextBlocks/H1BodyButton.tsx
|
|
7804
7738
|
import { Link as Link6 } from "@geowiki/core";
|
|
7805
7739
|
import parse2 from "html-react-parser";
|
|
7806
|
-
import { jsx as
|
|
7740
|
+
import { jsx as jsx149, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
7807
7741
|
var HtmlView2 = (props) => {
|
|
7808
7742
|
const options = {
|
|
7809
7743
|
replace: (domNode) => {
|
|
@@ -7817,11 +7751,11 @@ var HtmlView2 = (props) => {
|
|
|
7817
7751
|
data = data.replace(match, imageHtml);
|
|
7818
7752
|
});
|
|
7819
7753
|
}
|
|
7820
|
-
return /* @__PURE__ */
|
|
7754
|
+
return /* @__PURE__ */ jsx149("span", { children: parse2(data) });
|
|
7821
7755
|
}
|
|
7822
7756
|
}
|
|
7823
7757
|
};
|
|
7824
|
-
return /* @__PURE__ */
|
|
7758
|
+
return /* @__PURE__ */ jsxs69(
|
|
7825
7759
|
"div",
|
|
7826
7760
|
{
|
|
7827
7761
|
className: props.cssClass !== void 0 && props.cssClass !== null ? props.cssClass : "m-5 ",
|
|
@@ -7841,40 +7775,40 @@ var H1BodyButton = (props) => {
|
|
|
7841
7775
|
const modifiedText = text.replace(regex, `$1${textToAdd}`);
|
|
7842
7776
|
return modifiedText;
|
|
7843
7777
|
};
|
|
7844
|
-
return /* @__PURE__ */
|
|
7778
|
+
return /* @__PURE__ */ jsxs69(
|
|
7845
7779
|
"div",
|
|
7846
7780
|
{
|
|
7847
7781
|
className: "px-0 container mx-auto mt-6 lg:mt-10 flex justify-start",
|
|
7848
7782
|
"data-component-name": "H1BodyButton",
|
|
7849
7783
|
children: [
|
|
7850
|
-
/* @__PURE__ */
|
|
7851
|
-
/* @__PURE__ */
|
|
7852
|
-
isNeedParse && /* @__PURE__ */
|
|
7853
|
-
!isNeedParse && /* @__PURE__ */
|
|
7784
|
+
/* @__PURE__ */ jsx149("div", { className: "hidden lg:block lg:w-1/4" }),
|
|
7785
|
+
/* @__PURE__ */ jsxs69("div", { className: "w-full max-w-3xl lg:px-5", children: [
|
|
7786
|
+
isNeedParse && /* @__PURE__ */ jsx149(HtmlView2, { cssClass: "m-0", html: parseTitle(props.title, "H1") }),
|
|
7787
|
+
!isNeedParse && /* @__PURE__ */ jsxs69(H1Design, { children: [
|
|
7854
7788
|
props.title,
|
|
7855
7789
|
" "
|
|
7856
7790
|
] }),
|
|
7857
|
-
props.textBody && /* @__PURE__ */
|
|
7791
|
+
props.textBody && /* @__PURE__ */ jsx149(
|
|
7858
7792
|
HtmlView2,
|
|
7859
7793
|
{
|
|
7860
7794
|
cssClass: "m-0 text-base lg:text-lg leading-[130%] pt-4 lg:pt-6",
|
|
7861
7795
|
html: addLinksStyles(props.textBody)
|
|
7862
7796
|
}
|
|
7863
7797
|
),
|
|
7864
|
-
((_a = props.button) == null ? void 0 : _a.text) && ((_b = props.button) == null ? void 0 : _b.link) && /* @__PURE__ */
|
|
7798
|
+
((_a = props.button) == null ? void 0 : _a.text) && ((_b = props.button) == null ? void 0 : _b.link) && /* @__PURE__ */ jsx149("div", { className: "pt-4 lg:pt-6", children: /* @__PURE__ */ jsx149(
|
|
7865
7799
|
Link6,
|
|
7866
7800
|
{
|
|
7867
7801
|
href: props.button.link,
|
|
7868
7802
|
target: props.button.isNewTab ? "_blank" : "_self",
|
|
7869
7803
|
rel: "noreferrer",
|
|
7870
|
-
children: props.button.isNewTab ? /* @__PURE__ */
|
|
7804
|
+
children: props.button.isNewTab ? /* @__PURE__ */ jsx149(
|
|
7871
7805
|
DesignButton,
|
|
7872
7806
|
{
|
|
7873
7807
|
variant: "externalLink",
|
|
7874
7808
|
className: "h-auto p-0 lg:p-0",
|
|
7875
7809
|
children: props.button.text
|
|
7876
7810
|
}
|
|
7877
|
-
) : /* @__PURE__ */
|
|
7811
|
+
) : /* @__PURE__ */ jsx149(DesignButton, { children: props.button.text })
|
|
7878
7812
|
}
|
|
7879
7813
|
) })
|
|
7880
7814
|
] })
|
|
@@ -7891,57 +7825,57 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
7891
7825
|
const modifiedText = text.replace(regex, `$1${textToAdd}`);
|
|
7892
7826
|
return modifiedText;
|
|
7893
7827
|
};
|
|
7894
|
-
return /* @__PURE__ */
|
|
7828
|
+
return /* @__PURE__ */ jsxs69(
|
|
7895
7829
|
"div",
|
|
7896
7830
|
{
|
|
7897
7831
|
className: "px-0 container mx-auto mt-2 lg:mt-10 flex justify-start",
|
|
7898
7832
|
"data-component-name": "H1BodyButton",
|
|
7899
7833
|
children: [
|
|
7900
|
-
/* @__PURE__ */
|
|
7901
|
-
/* @__PURE__ */
|
|
7902
|
-
isNeedParse && /* @__PURE__ */
|
|
7903
|
-
!isNeedParse && /* @__PURE__ */
|
|
7834
|
+
/* @__PURE__ */ jsx149("div", { className: "hidden lg:block lg:w-1/4" }),
|
|
7835
|
+
/* @__PURE__ */ jsxs69("div", { className: "max-w-3xl lg:px-5", children: [
|
|
7836
|
+
isNeedParse && /* @__PURE__ */ jsx149(HtmlView2, { cssClass: "m-0", html: parseTitle(props.title, "H1") }),
|
|
7837
|
+
!isNeedParse && /* @__PURE__ */ jsxs69(BigLandingTitle, { children: [
|
|
7904
7838
|
props.title,
|
|
7905
7839
|
" "
|
|
7906
7840
|
] }),
|
|
7907
|
-
props.textBody && /* @__PURE__ */
|
|
7841
|
+
props.textBody && /* @__PURE__ */ jsx149(
|
|
7908
7842
|
HtmlView2,
|
|
7909
7843
|
{
|
|
7910
7844
|
cssClass: "m-0 text-base lg:text-lg leading-[130%] pt-4 lg:pt-6",
|
|
7911
7845
|
html: addLinksStyles(props.textBody)
|
|
7912
7846
|
}
|
|
7913
7847
|
),
|
|
7914
|
-
((_a = props.button) == null ? void 0 : _a.text) && ((_b = props.button) == null ? void 0 : _b.link) && /* @__PURE__ */
|
|
7848
|
+
((_a = props.button) == null ? void 0 : _a.text) && ((_b = props.button) == null ? void 0 : _b.link) && /* @__PURE__ */ jsx149("div", { className: "pt-4 lg:pt-6", children: /* @__PURE__ */ jsx149(
|
|
7915
7849
|
Link6,
|
|
7916
7850
|
{
|
|
7917
7851
|
href: props.button.link,
|
|
7918
7852
|
target: props.button.isNewTab ? "_blank" : "_self",
|
|
7919
7853
|
rel: "noreferrer",
|
|
7920
|
-
children: props.button.isNewTab ? /* @__PURE__ */
|
|
7854
|
+
children: props.button.isNewTab ? /* @__PURE__ */ jsx149(
|
|
7921
7855
|
DesignButton,
|
|
7922
7856
|
{
|
|
7923
7857
|
variant: "externalLink",
|
|
7924
7858
|
className: "h-auto p-0 lg:p-0",
|
|
7925
7859
|
children: props.button.text
|
|
7926
7860
|
}
|
|
7927
|
-
) : /* @__PURE__ */
|
|
7861
|
+
) : /* @__PURE__ */ jsx149(DesignButton, { children: props.button.text })
|
|
7928
7862
|
}
|
|
7929
7863
|
) }),
|
|
7930
|
-
props.show_app_stores && /* @__PURE__ */
|
|
7931
|
-
/* @__PURE__ */
|
|
7932
|
-
/* @__PURE__ */
|
|
7933
|
-
/* @__PURE__ */
|
|
7934
|
-
/* @__PURE__ */
|
|
7935
|
-
/* @__PURE__ */
|
|
7936
|
-
/* @__PURE__ */
|
|
7937
|
-
/* @__PURE__ */
|
|
7938
|
-
/* @__PURE__ */
|
|
7939
|
-
/* @__PURE__ */
|
|
7940
|
-
/* @__PURE__ */
|
|
7864
|
+
props.show_app_stores && /* @__PURE__ */ jsxs69("div", { className: "mt-6 gap-3 lg:gap-2 flex flex-row md:px-0", children: [
|
|
7865
|
+
/* @__PURE__ */ jsx149("a", { href: props.google_marketplace_link, target: "_blank", className: "w-full h-full", children: /* @__PURE__ */ jsxs69("svg", { xmlns: "http://www.w3.org/2000/svg", className: "w-full md:w-auto h-auto", viewBox: "0 0 180 53", fill: "none", children: [
|
|
7866
|
+
/* @__PURE__ */ jsxs69("g", { clipPath: "url(#clip0_5955_146)", children: [
|
|
7867
|
+
/* @__PURE__ */ jsx149("path", { d: "M173.33 53H6.66992C3.00332 53 0.00341797 50.0188 0.00341797 46.3751V6.62585C0.00341797 2.98215 3.00332 0.000976562 6.66992 0.000976562H173.33C176.997 0.000976562 179.996 2.98215 179.996 6.62585V46.3751C179.996 50.0188 176.997 53 173.33 53Z", fill: "#100F0D" }),
|
|
7868
|
+
/* @__PURE__ */ jsx149("path", { d: "M173.33 0.000976562H6.66992C3.00332 0.000976562 0.00341797 2.98215 0.00341797 6.62585V46.3751C0.00341797 50.0188 3.00332 53 6.66992 53H173.33C176.997 53 179.996 50.0188 179.996 46.3751V6.62585C179.996 2.98215 176.997 0.000976562 173.33 0.000976562ZM173.33 1.06042C176.418 1.06042 178.93 3.55723 178.93 6.62585V46.3751C178.93 49.4437 176.418 51.9405 173.33 51.9405H6.66992C3.58202 51.9405 1.07062 49.4437 1.07062 46.3751V6.62585C1.07062 3.55723 3.58202 1.06042 6.66992 1.06042H173.33Z", fill: "#A2A2A1" }),
|
|
7869
|
+
/* @__PURE__ */ jsx149("path", { d: "M142.58 39.7504H145.068V23.1854H142.58V39.7504ZM164.989 29.1529L162.137 36.3342H162.052L159.092 29.1529H156.412L160.852 39.1899L158.32 44.7733H160.915L167.756 29.1534L164.989 29.1529ZM150.879 37.8688C150.066 37.8688 148.928 37.4635 148.928 36.462C148.928 35.1836 150.344 34.6934 151.566 34.6934C152.659 34.6934 153.175 34.9274 153.839 35.2473C153.646 36.7818 152.316 37.8688 150.879 37.8688ZM151.18 28.7906C149.379 28.7906 147.514 29.5794 146.742 31.3268L148.95 32.2429C149.422 31.3268 150.3 31.0287 151.223 31.0287C152.51 31.0287 153.818 31.7952 153.839 33.1595V33.3298C153.388 33.074 152.423 32.6906 151.244 32.6906C148.863 32.6906 146.44 33.9901 146.44 36.4196C146.44 38.6359 148.392 40.0638 150.579 40.0638C152.251 40.0638 153.175 39.3179 153.752 38.4439H153.839V39.7232H156.241V33.3721C156.241 30.4313 154.031 28.7906 151.18 28.7906ZM135.804 31.1694H132.266V25.4917H135.804C137.664 25.4917 138.72 27.0217 138.72 28.3305C138.72 29.6141 137.664 31.1694 135.804 31.1694ZM135.74 23.1858H129.779V39.7508H132.266V33.4753H135.74C138.498 33.4753 141.208 31.4919 141.208 28.3311C141.208 25.1709 138.498 23.1858 135.74 23.1858ZM103.233 37.8716C101.514 37.8716 100.076 36.441 100.076 34.4779C100.076 32.492 101.514 31.0412 103.233 31.0412C104.93 31.0412 106.262 32.4921 106.262 34.4779C106.262 36.441 104.93 37.8716 103.233 37.8716ZM106.09 30.0802H106.004C105.446 29.4187 104.371 28.8209 103.019 28.8209C100.183 28.8209 97.5839 31.2975 97.5839 34.4779C97.5839 37.6366 100.183 40.0914 103.019 40.0914C104.371 40.0914 105.446 39.4936 106.004 38.811H106.09V39.6214C106.09 41.7782 104.93 42.9303 103.061 42.9303C101.537 42.9303 100.592 41.8418 100.205 40.9241L98.0356 41.8205C98.658 43.3141 100.311 45.1506 103.061 45.1506C105.983 45.1506 108.453 43.4425 108.453 39.2798V29.1623H106.09L106.09 30.0802ZM110.172 39.7499H112.663V23.1849H110.172V39.7499ZM116.336 34.2854C116.272 32.108 118.034 30.9982 119.301 30.9982C120.289 30.9982 121.126 31.4894 121.406 32.1933L116.336 34.2854ZM124.069 32.4066C123.596 31.1479 122.157 28.8209 119.215 28.8209C116.293 28.8209 113.866 31.1049 113.866 34.4562C113.866 37.6155 116.272 40.0915 119.493 40.0915C122.092 40.0915 123.596 38.5124 124.22 37.5942L122.286 36.3133C121.642 37.2527 120.762 37.8717 119.493 37.8717C118.227 37.8717 117.324 37.2952 116.745 36.1638L124.327 33.0475L124.069 32.4066ZM63.6598 30.5501V32.9407H69.4163C69.2444 34.2855 68.7934 35.2672 68.1059 35.9504C67.2679 36.7827 65.9576 37.7008 63.6597 37.7008C60.1154 37.7008 57.3447 34.862 57.3447 31.3399C57.3447 27.8178 60.1154 24.9786 63.6597 24.9786C65.5715 24.9786 66.9674 25.7259 67.9985 26.6864L69.6959 24.9997C68.2563 23.6338 66.3449 22.5879 63.6597 22.5879C58.8045 22.5879 54.7234 26.5156 54.7234 31.3399C54.7234 36.1637 58.8045 40.0915 63.6597 40.0915C66.2799 40.0915 68.2564 39.2376 69.8027 37.6367C71.3923 36.0571 71.8865 33.8372 71.8865 32.0439C71.8865 31.4895 71.8432 30.9772 71.7573 30.5501H63.6598ZM78.4318 37.8716C76.713 37.8716 75.2308 36.4627 75.2308 34.4562C75.2308 32.4284 76.713 31.0413 78.4318 31.0413C80.1499 31.0413 81.6321 32.4284 81.6321 34.4562C81.6321 36.4627 80.1499 37.8716 78.4318 37.8716ZM78.4318 28.8209C75.2948 28.8209 72.7391 31.1902 72.7391 34.4562C72.7391 37.7008 75.2948 40.0915 78.4318 40.0915C81.5676 40.0915 84.1238 37.7008 84.1238 34.4562C84.1238 31.1902 81.5676 28.8209 78.4318 28.8209ZM90.8488 37.8716C89.1312 37.8716 87.6485 36.4627 87.6485 34.4562C87.6485 32.4284 89.1313 31.0413 90.8488 31.0413C92.5676 31.0413 94.0493 32.4284 94.0493 34.4562C94.0493 36.4627 92.5676 37.8716 90.8488 37.8716ZM90.8488 28.8209C87.713 28.8209 85.1573 31.1902 85.1573 34.4562C85.1573 37.7008 87.713 40.0915 90.8488 40.0915C93.9858 40.0915 96.5415 37.7008 96.5415 34.4562C96.5415 31.1902 93.9858 28.8209 90.8488 28.8209Z", fill: "white" }),
|
|
7870
|
+
/* @__PURE__ */ jsx149("path", { d: "M27.622 25.7372L13.428 40.7092C13.4285 40.7122 13.4296 40.7148 13.4301 40.718C13.8654 42.3438 15.3597 43.5409 17.1331 43.5409C17.842 43.5409 18.5076 43.3504 19.0784 43.0161L19.1237 42.9897L35.1017 33.8272L27.622 25.7372Z", fill: "#EB3131" }),
|
|
7871
|
+
/* @__PURE__ */ jsx149("path", { d: "M41.9831 23.1884L41.9695 23.1791L35.0713 19.2051L27.2996 26.0775L35.0983 33.8265L41.9601 29.892C43.1631 29.2466 43.9798 27.9863 43.9798 26.5329C43.9798 25.09 43.1742 23.8359 41.9831 23.1884Z", fill: "#F6B60B" }),
|
|
7872
|
+
/* @__PURE__ */ jsx149("path", { d: "M13.4261 12.2927C13.3407 12.6054 13.2959 12.933 13.2959 13.2731V39.7298C13.2959 40.0693 13.3402 40.398 13.4266 40.7096L28.1106 26.1202L13.4261 12.2927Z", fill: "#5778C5" }),
|
|
7873
|
+
/* @__PURE__ */ jsx149("path", { d: "M27.727 26.5016L35.0743 19.2024L19.1143 10.0067C18.5342 9.66144 17.8571 9.46216 17.1326 9.46216C15.3592 9.46216 13.8629 10.6614 13.4275 12.2891C13.427 12.2907 13.427 12.2918 13.427 12.2932L27.727 26.5016Z", fill: "#3BAD49" }),
|
|
7874
|
+
/* @__PURE__ */ jsx149("path", { d: "M63.193 12.9606H59.3035V13.9171H62.2181C62.1389 14.6976 61.8263 15.3104 61.2993 15.7555C60.7722 16.2007 60.0993 16.4243 59.3035 16.4243C58.4306 16.4243 57.691 16.122 57.0849 15.5217C56.491 14.9089 56.189 14.1511 56.189 13.2381C56.189 12.3252 56.491 11.5674 57.0849 10.9547C57.691 10.3543 58.4306 10.0541 59.3035 10.0541C59.7515 10.0541 60.1785 10.1307 60.5701 10.2984C60.9618 10.466 61.2763 10.7 61.5222 11.0003L62.2618 10.2653C61.9263 9.88636 61.5014 9.59658 60.9742 9.38539C60.4471 9.17419 59.8972 9.07282 59.3034 9.07282C58.1389 9.07282 57.1515 9.47442 56.3452 10.2757C55.5389 11.0789 55.1348 12.0685 55.1348 13.2382C55.1348 14.4078 55.5389 15.3996 56.3452 16.2008C57.1514 17.0019 58.1389 17.4037 59.3034 17.4037C60.5263 17.4037 61.5013 17.0144 62.2513 16.2235C62.9116 15.5653 63.2491 14.675 63.2491 13.5612C63.2491 13.3728 63.2263 13.1718 63.193 12.9606ZM64.6998 9.2507V17.2255H69.385V16.2462H65.731V13.7164H69.0268V12.7599H65.731V10.2321H69.385V9.25067L64.6998 9.2507ZM75.9548 10.2321V9.2507H70.4403V10.2321H72.682V17.2255H73.7132V10.2321H75.9548ZM80.9473 9.2507H79.9161V17.2255H80.9473V9.2507ZM87.7539 10.2321V9.2507H82.2395V10.2321H84.481V17.2255H85.5122V10.2321H87.7539ZM98.1599 10.288C97.364 9.47436 96.3891 9.07275 95.2245 9.07275C94.0579 9.07275 93.083 9.47435 92.2871 10.2756C91.4912 11.0665 91.0997 12.0581 91.0997 13.2381C91.0997 14.4181 91.4912 15.4098 92.2871 16.2008C93.0829 17.0018 94.0579 17.4036 95.2245 17.4036C96.3786 17.4036 97.364 17.0019 98.1599 16.2008C98.9557 15.4099 99.3473 14.4182 99.3473 13.2381C99.3473 12.0684 98.9557 11.0788 98.1599 10.288ZM93.0267 10.9546C93.6204 10.3543 94.3496 10.054 95.2245 10.054C96.0974 10.054 96.8266 10.3543 97.4099 10.9546C98.0036 11.5446 98.2952 12.3147 98.2952 13.2381C98.2952 14.1636 98.0036 14.9315 97.4099 15.5216C96.8265 16.122 96.0974 16.4242 95.2245 16.4242C94.3495 16.4242 93.6204 16.122 93.0267 15.5216C92.4453 14.9192 92.1537 14.1635 92.1537 13.2381C92.1537 12.3147 92.4453 11.557 93.0267 10.9546ZM101.797 12.2589L101.754 10.7206H101.797L105.876 17.2254H106.953V9.25062H105.922V13.917L105.966 15.4553H105.922L102.022 9.25062H100.766V17.2254H101.797V12.2589Z", fill: "white", stroke: "white", strokeWidth: "0.26666", strokeMiterlimit: "10" })
|
|
7941
7875
|
] }),
|
|
7942
|
-
/* @__PURE__ */
|
|
7876
|
+
/* @__PURE__ */ jsx149("defs", { children: /* @__PURE__ */ jsx149("clipPath", { id: "clip0_5955_146", children: /* @__PURE__ */ jsx149("rect", { width: "180", height: "53", fill: "white" }) }) })
|
|
7943
7877
|
] }) }),
|
|
7944
|
-
/* @__PURE__ */
|
|
7878
|
+
/* @__PURE__ */ jsx149("a", { href: props.apple_store_link, target: "_blank", className: "w-full h-full", children: /* @__PURE__ */ jsxs69(
|
|
7945
7879
|
"svg",
|
|
7946
7880
|
{
|
|
7947
7881
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7950,34 +7884,34 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
7950
7884
|
fill: "none",
|
|
7951
7885
|
onClick: () => props.apple_store_link,
|
|
7952
7886
|
children: [
|
|
7953
|
-
/* @__PURE__ */
|
|
7954
|
-
/* @__PURE__ */
|
|
7955
|
-
/* @__PURE__ */
|
|
7956
|
-
/* @__PURE__ */
|
|
7957
|
-
/* @__PURE__ */
|
|
7958
|
-
/* @__PURE__ */
|
|
7959
|
-
/* @__PURE__ */
|
|
7960
|
-
/* @__PURE__ */
|
|
7961
|
-
/* @__PURE__ */
|
|
7962
|
-
/* @__PURE__ */
|
|
7963
|
-
/* @__PURE__ */
|
|
7964
|
-
/* @__PURE__ */
|
|
7965
|
-
/* @__PURE__ */
|
|
7966
|
-
/* @__PURE__ */
|
|
7967
|
-
/* @__PURE__ */
|
|
7968
|
-
/* @__PURE__ */
|
|
7969
|
-
/* @__PURE__ */
|
|
7970
|
-
/* @__PURE__ */
|
|
7971
|
-
/* @__PURE__ */
|
|
7972
|
-
/* @__PURE__ */
|
|
7973
|
-
/* @__PURE__ */
|
|
7974
|
-
/* @__PURE__ */
|
|
7975
|
-
/* @__PURE__ */
|
|
7976
|
-
/* @__PURE__ */
|
|
7977
|
-
/* @__PURE__ */
|
|
7978
|
-
/* @__PURE__ */
|
|
7887
|
+
/* @__PURE__ */ jsxs69("g", { clipPath: "url(#clip0_5955_114)", children: [
|
|
7888
|
+
/* @__PURE__ */ jsx149("path", { d: "M173.596 53H6.30533C2.82933 53 0 50.1804 0 46.7288V6.26195C0 2.809 2.82933 0 6.30533 0H173.596C177.071 0 180 2.809 180 6.26195V46.7288C180 50.1804 177.071 53 173.596 53Z", fill: "#A6A6A6" }),
|
|
7889
|
+
/* @__PURE__ */ jsx149("path", { d: "M178.709 46.73C178.709 49.5337 176.424 51.8048 173.597 51.8048H6.30543C3.4801 51.8048 1.18677 49.5337 1.18677 46.73V6.26057C1.18677 3.4582 3.4801 1.1792 6.30543 1.1792H173.596C176.424 1.1792 178.708 3.4582 178.708 6.26057L178.709 46.73Z", fill: "black" }),
|
|
7890
|
+
/* @__PURE__ */ jsx149("path", { d: "M40.1707 26.2137C40.132 21.9432 43.6894 19.8656 43.852 19.7689C41.8374 16.8499 38.7147 16.4511 37.6174 16.4193C34.9947 16.145 32.4507 17.9788 31.1147 17.9788C29.752 17.9788 27.6947 16.4458 25.4774 16.4909C22.624 16.5346 19.9547 18.1763 18.4907 20.7256C15.4694 25.9235 17.7227 33.5622 20.6174 37.7637C22.0654 39.8215 23.7574 42.119 25.972 42.0382C28.1387 41.9494 28.948 40.6655 31.5627 40.6655C34.1534 40.6655 34.9134 42.0382 37.172 41.9865C39.4974 41.9494 40.9614 39.9195 42.3587 37.8432C44.032 35.4847 44.704 33.162 44.7307 33.0428C44.676 33.0242 40.2147 31.3322 40.1707 26.2137Z", fill: "white" }),
|
|
7891
|
+
/* @__PURE__ */ jsx149("path", { d: "M35.9041 13.6555C37.0694 12.2072 37.8667 10.237 37.6454 8.23755C35.9587 8.31175 33.8494 9.39692 32.6347 10.8133C31.5601 12.0615 30.6001 14.1073 30.8481 16.0312C32.7427 16.1716 34.6881 15.0812 35.9041 13.6555Z", fill: "white" }),
|
|
7892
|
+
/* @__PURE__ */ jsx149("path", { d: "M71.5266 41.7427H68.4986L66.84 36.5633H61.0746L59.4946 41.7427H56.5466L62.2586 24.1096H65.7866L71.5266 41.7427ZM66.34 34.3903L64.84 29.7859C64.6813 29.3155 64.384 28.2078 63.9453 26.4641H63.892C63.7173 27.2141 63.436 28.3218 63.0493 29.7859L61.576 34.3903H66.34Z", fill: "white" }),
|
|
7893
|
+
/* @__PURE__ */ jsx149("path", { d: "M86.2159 35.2291C86.2159 37.3915 85.6279 39.1008 84.4519 40.3555C83.3985 41.4725 82.0905 42.0303 80.5292 42.0303C78.8439 42.0303 77.6332 41.4288 76.8959 40.2257H76.8425V46.9236H73.9999V33.2138C73.9999 31.8543 73.9639 30.4591 73.8945 29.0281H76.3945L76.5532 31.0434H76.6065C77.5545 29.525 78.9932 28.7671 80.9239 28.7671C82.4332 28.7671 83.6932 29.3594 84.7012 30.5452C85.7119 31.7324 86.2159 33.2933 86.2159 35.2291ZM83.3199 35.3325C83.3199 34.0949 83.0399 33.0747 82.4772 32.2717C81.8625 31.4343 81.0372 31.0156 80.0025 31.0156C79.3012 31.0156 78.6639 31.2488 78.0945 31.7086C77.5239 32.1723 77.1505 32.7779 76.9759 33.5278C76.8879 33.8776 76.8439 34.1638 76.8439 34.3891V36.5091C76.8439 37.4339 77.1292 38.2143 77.6999 38.8517C78.2705 39.489 79.0119 39.807 79.9239 39.807C80.9945 39.807 81.8279 39.3962 82.4239 38.5774C83.0212 37.7572 83.3199 36.676 83.3199 35.3325Z", fill: "white" }),
|
|
7894
|
+
/* @__PURE__ */ jsx149("path", { d: "M100.932 35.2291C100.932 37.3915 100.344 39.1008 99.1667 40.3555C98.1147 41.4725 96.8067 42.0303 95.2454 42.0303C93.5601 42.0303 92.3494 41.4288 91.6134 40.2257H91.5601V46.9236H88.7174V33.2138C88.7174 31.8543 88.6814 30.4591 88.6121 29.0281H91.1121L91.2707 31.0434H91.3241C92.2707 29.525 93.7094 28.7671 95.6414 28.7671C97.1494 28.7671 98.4094 29.3594 99.4201 30.5452C100.427 31.7324 100.932 33.2933 100.932 35.2291ZM98.0361 35.3325C98.0361 34.0949 97.7547 33.0747 97.1921 32.2717C96.5774 31.4343 95.7547 31.0156 94.7187 31.0156C94.0161 31.0156 93.3801 31.2488 92.8094 31.7086C92.2387 32.1723 91.8667 32.7779 91.6921 33.5278C91.6054 33.8776 91.5601 34.1638 91.5601 34.3891V36.5091C91.5601 37.4339 91.8454 38.2143 92.4134 38.8517C92.9841 39.4877 93.7254 39.807 94.6401 39.807C95.7107 39.807 96.5441 39.3962 97.1401 38.5774C97.7374 37.7572 98.0361 36.676 98.0361 35.3325Z", fill: "white" }),
|
|
7895
|
+
/* @__PURE__ */ jsx149("path", { d: "M117.385 36.7979C117.385 38.2978 116.861 39.5181 115.809 40.4602C114.653 41.4897 113.044 42.0038 110.976 42.0038C109.067 42.0038 107.536 41.6381 106.377 40.9054L107.036 38.5509C108.284 39.3008 109.653 39.6771 111.145 39.6771C112.216 39.6771 113.049 39.436 113.648 38.9563C114.244 38.4767 114.541 37.8327 114.541 37.0298C114.541 36.3143 114.296 35.7114 113.804 35.2225C113.315 34.7335 112.497 34.2791 111.356 33.859C108.249 32.7076 106.697 31.0209 106.697 28.8028C106.697 27.3533 107.241 26.1648 108.331 25.2399C109.416 24.3137 110.864 23.8513 112.675 23.8513C114.289 23.8513 115.631 24.1309 116.701 24.6887L115.991 26.9916C114.991 26.451 113.86 26.1807 112.595 26.1807C111.595 26.1807 110.813 26.4258 110.253 26.9134C109.78 27.3493 109.543 27.8806 109.543 28.51C109.543 29.207 109.813 29.7833 110.357 30.2365C110.831 30.6552 111.691 31.1083 112.939 31.5973C114.465 32.2081 115.587 32.9223 116.308 33.7411C117.027 34.5573 117.385 35.5789 117.385 36.7979Z", fill: "white" }),
|
|
7896
|
+
/* @__PURE__ */ jsx149("path", { d: "M126.784 31.1482H123.651V37.3214C123.651 38.8915 124.203 39.6759 125.309 39.6759C125.817 39.6759 126.239 39.6322 126.572 39.5447L126.651 41.6899C126.091 41.8979 125.353 42.0026 124.44 42.0026C123.317 42.0026 122.44 41.6621 121.807 40.9823C121.176 40.3013 120.859 39.1591 120.859 37.5546V31.1455H118.992V29.0255H120.859V26.6975L123.651 25.8601V29.0255H126.784V31.1482Z", fill: "white" }),
|
|
7897
|
+
/* @__PURE__ */ jsx149("path", { d: "M140.921 35.2807C140.921 37.2351 140.359 38.8396 139.236 40.0944C138.059 41.3863 136.496 42.0302 134.548 42.0302C132.671 42.0302 131.176 41.4115 130.061 40.1739C128.947 38.9364 128.389 37.3742 128.389 35.4914C128.389 33.5211 128.963 31.9072 130.113 30.6525C131.261 29.3964 132.811 28.7683 134.759 28.7683C136.636 28.7683 138.147 29.3871 139.287 30.626C140.377 31.8277 140.921 33.3793 140.921 35.2807ZM137.972 35.3721C137.972 34.1995 137.72 33.1938 137.209 32.3551C136.613 31.3401 135.761 30.834 134.657 30.834C133.515 30.834 132.647 31.3415 132.051 32.3551C131.54 33.1951 131.288 34.2167 131.288 35.4251C131.288 36.5977 131.54 37.6034 132.051 38.4408C132.665 39.4558 133.524 39.9619 134.632 39.9619C135.717 39.9619 136.569 39.4452 137.184 38.4143C137.708 37.5597 137.972 36.5434 137.972 35.3721Z", fill: "white" }),
|
|
7898
|
+
/* @__PURE__ */ jsx149("path", { d: "M150.161 31.5125C149.88 31.4608 149.58 31.4343 149.265 31.4343C148.265 31.4343 147.492 31.8093 146.948 32.5606C146.475 33.2231 146.237 34.0605 146.237 35.0714V41.7428H143.396L143.423 33.0323C143.423 31.5668 143.387 30.2325 143.316 29.0294H145.792L145.896 31.4621H145.975C146.275 30.6261 146.748 29.953 147.396 29.4481C148.029 28.9937 148.713 28.7671 149.451 28.7671C149.713 28.7671 149.951 28.7856 150.161 28.8188V31.5125Z", fill: "white" }),
|
|
7899
|
+
/* @__PURE__ */ jsx149("path", { d: "M162.875 34.7838C162.875 35.29 162.841 35.7166 162.771 36.0651H154.243C154.276 37.3212 154.688 38.2818 155.48 38.9443C156.199 39.5366 157.128 39.8334 158.269 39.8334C159.532 39.8334 160.684 39.6333 161.72 39.2319L162.165 41.1929C160.955 41.7176 159.525 41.9786 157.876 41.9786C155.892 41.9786 154.335 41.3982 153.201 40.2389C152.071 39.0795 151.504 37.5226 151.504 35.5696C151.504 33.6523 152.031 32.0557 153.085 30.7823C154.189 29.4229 155.681 28.7432 157.559 28.7432C159.403 28.7432 160.799 29.4229 161.747 30.7823C162.497 31.8622 162.875 33.1978 162.875 34.7838ZM160.164 34.0511C160.183 33.2137 159.997 32.4903 159.612 31.8794C159.12 31.0937 158.364 30.7015 157.347 30.7015C156.417 30.7015 155.661 31.0844 155.084 31.8529C154.611 32.4638 154.329 33.1965 154.243 34.0498L160.164 34.0511Z", fill: "white" }),
|
|
7900
|
+
/* @__PURE__ */ jsx149("path", { d: "M65.4 13.262C65.4 14.8215 64.9293 15.9955 63.9893 16.7839C63.1186 17.5113 61.8813 17.8757 60.2786 17.8757C59.484 17.8757 58.804 17.8412 58.2346 17.7723V9.25124C58.9773 9.13199 59.7773 9.07104 60.6413 9.07104C62.168 9.07104 63.3186 9.40097 64.0946 10.0608C64.964 10.8068 65.4 11.8734 65.4 13.262ZM63.9266 13.3004C63.9266 12.2895 63.6573 11.5143 63.1186 10.9737C62.58 10.4345 61.7933 10.1642 60.7573 10.1642C60.3173 10.1642 59.9426 10.1933 59.632 10.2543V16.7322C59.804 16.7587 60.1186 16.7706 60.576 16.7706C61.6453 16.7706 62.4706 16.4751 63.052 15.8842C63.6333 15.2932 63.9266 14.432 63.9266 13.3004Z", fill: "white" }),
|
|
7901
|
+
/* @__PURE__ */ jsx149("path", { d: "M73.2119 14.6241C73.2119 15.5847 72.9359 16.3718 72.3839 16.9892C71.8052 17.6239 71.0386 17.9406 70.0812 17.9406C69.1586 17.9406 68.4239 17.6371 67.8759 17.0276C67.3292 16.4195 67.0559 15.6523 67.0559 14.7274C67.0559 13.7602 67.3372 12.9665 67.9026 12.3504C68.4679 11.7343 69.2279 11.4255 70.1852 11.4255C71.1079 11.4255 71.8492 11.729 72.4106 12.3371C72.9439 12.9281 73.2119 13.6913 73.2119 14.6241ZM71.7626 14.6691C71.7626 14.0928 71.6372 13.5985 71.3879 13.1865C71.0946 12.6883 70.6772 12.4392 70.1346 12.4392C69.5732 12.4392 69.1466 12.6883 68.8532 13.1865C68.6026 13.5985 68.4786 14.1007 68.4786 14.6943C68.4786 15.2707 68.6039 15.7649 68.8532 16.177C69.1559 16.6752 69.5772 16.9243 70.1212 16.9243C70.6546 16.9243 71.0732 16.6712 71.3746 16.1637C71.6332 15.7437 71.7626 15.2455 71.7626 14.6691Z", fill: "white" }),
|
|
7902
|
+
/* @__PURE__ */ jsx149("path", { d: "M83.6867 11.5527L81.7201 17.7988H80.4401L79.6254 15.0865C79.4187 14.4094 79.2507 13.7363 79.1201 13.0685H79.0947C78.9734 13.7549 78.8054 14.4267 78.5894 15.0865L77.7241 17.7988H76.4294L74.5801 11.5527H76.0161L76.7267 14.5221C76.8987 15.2243 77.0401 15.8934 77.1534 16.5268H77.1787C77.2827 16.0047 77.4547 15.3396 77.6974 14.5353L78.5894 11.5541H79.7281L80.5827 14.4717C80.7894 15.1832 80.9574 15.8683 81.0867 16.5281H81.1254C81.2201 15.8855 81.3627 15.2005 81.5521 14.4717L82.3147 11.5541H83.6867V11.5527Z", fill: "white" }),
|
|
7903
|
+
/* @__PURE__ */ jsx149("path", { d: "M90.9307 17.7989H89.5334V14.2214C89.5334 13.119 89.112 12.5678 88.2667 12.5678C87.852 12.5678 87.5174 12.7188 87.2574 13.0222C87.0001 13.3257 86.8694 13.6834 86.8694 14.0928V17.7975H85.472V13.3376C85.472 12.789 85.4547 12.1941 85.4214 11.5502H86.6494L86.7147 12.5267H86.7534C86.9161 12.2233 87.1587 11.9728 87.4774 11.7728C87.8561 11.5396 88.28 11.4216 88.744 11.4216C89.3307 11.4216 89.8187 11.6098 90.2067 11.9874C90.6894 12.4498 90.9307 13.1402 90.9307 14.0571V17.7989Z", fill: "white" }),
|
|
7904
|
+
/* @__PURE__ */ jsx149("path", { d: "M94.7839 17.7988H93.3879V8.68677H94.7839V17.7988Z", fill: "white" }),
|
|
7905
|
+
/* @__PURE__ */ jsx149("path", { d: "M103.011 14.6241C103.011 15.5847 102.735 16.3718 102.183 16.9892C101.604 17.6239 100.836 17.9406 99.8801 17.9406C98.9561 17.9406 98.2214 17.6371 97.6747 17.0276C97.1281 16.4195 96.8547 15.6523 96.8547 14.7274C96.8547 13.7602 97.1361 12.9665 97.7014 12.3504C98.2667 11.7343 99.0267 11.4255 99.9827 11.4255C100.907 11.4255 101.647 11.729 102.209 12.3371C102.743 12.9281 103.011 13.6913 103.011 14.6241ZM101.56 14.6691C101.56 14.0928 101.435 13.5985 101.185 13.1865C100.893 12.6883 100.475 12.4392 99.9334 12.4392C99.3707 12.4392 98.9441 12.6883 98.6521 13.1865C98.4014 13.5985 98.2774 14.1007 98.2774 14.6943C98.2774 15.2707 98.4027 15.7649 98.6521 16.177C98.9547 16.6752 99.3761 16.9243 99.9201 16.9243C100.453 16.9243 100.871 16.6712 101.172 16.1637C101.432 15.7437 101.56 15.2455 101.56 14.6691Z", fill: "white" }),
|
|
7906
|
+
/* @__PURE__ */ jsx149("path", { d: "M109.773 17.7988H108.519L108.415 17.0793H108.376C107.947 17.653 107.335 17.9406 106.54 17.9406C105.947 17.9406 105.467 17.7511 105.105 17.3748C104.777 17.0329 104.613 16.6076 104.613 16.1028C104.613 15.3396 104.933 14.7579 105.577 14.3551C106.22 13.9523 107.124 13.7549 108.288 13.7642V13.6476C108.288 12.8247 107.853 12.414 106.983 12.414C106.363 12.414 105.816 12.569 105.344 12.8764L105.06 11.9648C105.644 11.6057 106.365 11.4255 107.216 11.4255C108.859 11.4255 109.683 12.2868 109.683 14.0093V16.3095C109.683 16.9336 109.713 17.4304 109.773 17.7988ZM108.323 15.6523V14.689C106.781 14.6625 106.011 15.0825 106.011 15.9478C106.011 16.2737 106.099 16.5175 106.279 16.6805C106.459 16.8435 106.688 16.9243 106.961 16.9243C107.268 16.9243 107.555 16.8276 107.816 16.6354C108.079 16.442 108.24 16.1969 108.3 15.8961C108.315 15.8285 108.323 15.7464 108.323 15.6523Z", fill: "white" }),
|
|
7907
|
+
/* @__PURE__ */ jsx149("path", { d: "M117.713 17.7988H116.473L116.408 16.7958H116.369C115.973 17.559 115.299 17.9406 114.351 17.9406C113.593 17.9406 112.963 17.6451 112.463 17.0541C111.963 16.4632 111.713 15.696 111.713 14.7539C111.713 13.743 111.984 12.9241 112.528 12.2987C113.055 11.7157 113.7 11.4242 114.468 11.4242C115.312 11.4242 115.903 11.7064 116.239 12.2722H116.265V8.68677H117.664V16.116C117.664 16.7242 117.68 17.2847 117.713 17.7988ZM116.265 15.1647V14.1232C116.265 13.943 116.252 13.7973 116.227 13.686C116.148 13.3521 115.979 13.0712 115.721 12.8446C115.461 12.618 115.148 12.5041 114.787 12.5041C114.265 12.5041 113.857 12.7095 113.557 13.1215C113.26 13.5336 113.109 14.0596 113.109 14.7023C113.109 15.3197 113.252 15.8206 113.539 16.2061C113.841 16.6169 114.249 16.8223 114.76 16.8223C115.219 16.8223 115.585 16.6513 115.864 16.3082C116.133 15.9915 116.265 15.6099 116.265 15.1647Z", fill: "white" }),
|
|
7908
|
+
/* @__PURE__ */ jsx149("path", { d: "M129.664 14.6241C129.664 15.5847 129.388 16.3718 128.836 16.9892C128.257 17.6239 127.492 17.9406 126.533 17.9406C125.612 17.9406 124.877 17.6371 124.328 17.0276C123.781 16.4195 123.508 15.6523 123.508 14.7274C123.508 13.7602 123.789 12.9665 124.355 12.3504C124.92 11.7343 125.68 11.4255 126.639 11.4255C127.56 11.4255 128.303 11.729 128.863 12.3371C129.396 12.9281 129.664 13.6913 129.664 14.6241ZM128.216 14.6691C128.216 14.0928 128.091 13.5985 127.841 13.1865C127.547 12.6883 127.131 12.4392 126.587 12.4392C126.027 12.4392 125.6 12.6883 125.305 13.1865C125.055 13.5985 124.931 14.1007 124.931 14.6943C124.931 15.2707 125.056 15.7649 125.305 16.177C125.608 16.6752 126.029 16.9243 126.573 16.9243C127.107 16.9243 127.527 16.6712 127.828 16.1637C128.085 15.7437 128.216 15.2455 128.216 14.6691Z", fill: "white" }),
|
|
7909
|
+
/* @__PURE__ */ jsx149("path", { d: "M137.177 17.7989H135.781V14.2214C135.781 13.119 135.36 12.5678 134.513 12.5678C134.099 12.5678 133.764 12.7188 133.505 13.0222C133.247 13.3257 133.117 13.6834 133.117 14.0928V17.7975H131.719V13.3376C131.719 12.789 131.703 12.1941 131.669 11.5502H132.896L132.961 12.5267H133C133.164 12.2233 133.407 11.9728 133.724 11.7728C134.104 11.5396 134.527 11.4216 134.992 11.4216C135.577 11.4216 136.065 11.6098 136.453 11.9874C136.937 12.4498 137.177 13.1402 137.177 14.0571V17.7989Z", fill: "white" }),
|
|
7910
|
+
/* @__PURE__ */ jsx149("path", { d: "M146.581 12.593H145.043V15.6272C145.043 16.3984 145.316 16.784 145.857 16.784C146.108 16.784 146.316 16.7628 146.48 16.719L146.516 17.7724C146.24 17.8758 145.877 17.9274 145.431 17.9274C144.879 17.9274 144.449 17.7605 144.139 17.4266C143.827 17.0927 143.672 16.5309 143.672 15.7425V12.593H142.753V11.5529H143.672V10.4081L145.041 9.99731V11.5515H146.58L146.581 12.593Z", fill: "white" }),
|
|
7911
|
+
/* @__PURE__ */ jsx149("path", { d: "M153.979 17.7988H152.58V14.2478C152.58 13.1282 152.159 12.5677 151.315 12.5677C150.667 12.5677 150.224 12.8923 149.981 13.5416C149.94 13.678 149.916 13.845 149.916 14.0411V17.7975H148.52V8.68677H149.916V12.4511H149.943C150.383 11.7661 151.013 11.4242 151.831 11.4242C152.409 11.4242 152.888 11.6124 153.268 11.99C153.741 12.4604 153.979 13.16 153.979 14.0848V17.7988Z", fill: "white" }),
|
|
7912
|
+
/* @__PURE__ */ jsx149("path", { d: "M161.609 14.3802C161.609 14.6293 161.591 14.8387 161.557 15.0096H157.367C157.385 15.6271 157.585 16.0974 157.973 16.4234C158.328 16.7149 158.785 16.8606 159.345 16.8606C159.965 16.8606 160.531 16.7626 161.04 16.5652L161.259 17.5298C160.663 17.7868 159.961 17.9153 159.149 17.9153C158.176 17.9153 157.409 17.6305 156.855 17.0607C156.297 16.491 156.021 15.7264 156.021 14.7671C156.021 13.8251 156.279 13.0407 156.797 12.4153C157.339 11.7475 158.071 11.4136 158.995 11.4136C159.899 11.4136 160.585 11.7475 161.049 12.4153C161.424 12.9453 161.609 13.6011 161.609 14.3802ZM160.276 14.0212C160.287 13.6091 160.195 13.254 160.005 12.9545C159.763 12.569 159.393 12.3755 158.893 12.3755C158.437 12.3755 158.065 12.5637 157.781 12.9413C157.549 13.2421 157.412 13.6011 157.367 14.0212H160.276Z", fill: "white" })
|
|
7979
7913
|
] }),
|
|
7980
|
-
/* @__PURE__ */
|
|
7914
|
+
/* @__PURE__ */ jsx149("defs", { children: /* @__PURE__ */ jsx149("clipPath", { id: "clip0_5955_114", children: /* @__PURE__ */ jsx149("rect", { width: "180", height: "53", fill: "white" }) }) })
|
|
7981
7915
|
]
|
|
7982
7916
|
}
|
|
7983
7917
|
) })
|
|
@@ -7989,18 +7923,18 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
7989
7923
|
};
|
|
7990
7924
|
|
|
7991
7925
|
// src/components/Hero/HeroImageRightWithAppButtons.tsx
|
|
7992
|
-
import { jsx as
|
|
7926
|
+
import { jsx as jsx150, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
7993
7927
|
var HeroImageRightWithAppButtons = (props) => {
|
|
7994
|
-
const [description, setDescription] =
|
|
7995
|
-
|
|
7928
|
+
const [description, setDescription] = useState16(props.description);
|
|
7929
|
+
useEffect10(() => {
|
|
7996
7930
|
var _a;
|
|
7997
7931
|
if (typeof window !== "undefined") {
|
|
7998
7932
|
const desc = window.innerWidth < 700 ? (_a = props.description) == null ? void 0 : _a.replaceAll("<br>", "") : props.description;
|
|
7999
7933
|
setDescription(desc);
|
|
8000
7934
|
}
|
|
8001
7935
|
}, [props.description]);
|
|
8002
|
-
return /* @__PURE__ */
|
|
8003
|
-
/* @__PURE__ */
|
|
7936
|
+
return /* @__PURE__ */ jsx150("div", { children: /* @__PURE__ */ jsx150("div", { className: "lg:mt-10", children: /* @__PURE__ */ jsx150("div", { className: "justify-end", children: /* @__PURE__ */ jsxs70("div", { className: "flex gap-5 max-md:flex-col max-md:gap-0", children: [
|
|
7937
|
+
/* @__PURE__ */ jsx150("div", { className: "flex flex-col w-[50%] max-md:ml-0 max-md:w-full lg:pr-5", children: /* @__PURE__ */ jsx150("div", { className: "flex flex-col self-stretch lg:pr-5 my-auto max-md:max-w-full", children: props.title && props.description && /* @__PURE__ */ jsx150(
|
|
8004
7938
|
H1BodyButtonWithApp,
|
|
8005
7939
|
{
|
|
8006
7940
|
title: props.title,
|
|
@@ -8010,7 +7944,7 @@ var HeroImageRightWithAppButtons = (props) => {
|
|
|
8010
7944
|
apple_store_link: props.app_store_link
|
|
8011
7945
|
}
|
|
8012
7946
|
) }) }),
|
|
8013
|
-
/* @__PURE__ */
|
|
7947
|
+
/* @__PURE__ */ jsx150("div", { className: "flex flex-col ml-5 w-[50%] max-md:ml-0 max-md:w-full", children: /* @__PURE__ */ jsx150("div", { className: "flex overflow-hidden relative min-h-[430px] flex-col grow justify-center lg:min-h-[784px] max-md:mt-6 max-md:max-w-full", children: /* @__PURE__ */ jsx150(
|
|
8014
7948
|
ImageElement,
|
|
8015
7949
|
{
|
|
8016
7950
|
src: props.path,
|
|
@@ -8021,16 +7955,16 @@ var HeroImageRightWithAppButtons = (props) => {
|
|
|
8021
7955
|
};
|
|
8022
7956
|
|
|
8023
7957
|
// src/components/Panel/Horizontal.tsx
|
|
8024
|
-
import { jsx as
|
|
7958
|
+
import { jsx as jsx151 } from "react/jsx-runtime";
|
|
8025
7959
|
var PanelHorizontal = ({
|
|
8026
7960
|
children
|
|
8027
7961
|
}) => {
|
|
8028
|
-
return /* @__PURE__ */
|
|
7962
|
+
return /* @__PURE__ */ jsx151("div", { className: "panel-horizontal", children });
|
|
8029
7963
|
};
|
|
8030
7964
|
|
|
8031
7965
|
// src/components/HeadingTextBlocks/H2BodyButton.tsx
|
|
8032
7966
|
import { Link as Link7 } from "@geowiki/core";
|
|
8033
|
-
import { jsx as
|
|
7967
|
+
import { jsx as jsx152, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
8034
7968
|
var H2BodyButton = (props) => {
|
|
8035
7969
|
var _a;
|
|
8036
7970
|
const isNeedParse = /<em>(.*?)<\/em>/g.test(props.title);
|
|
@@ -8040,43 +7974,43 @@ var H2BodyButton = (props) => {
|
|
|
8040
7974
|
const modifiedText = content.replace(regex, `$1${textToAdd}`);
|
|
8041
7975
|
return modifiedText;
|
|
8042
7976
|
};
|
|
8043
|
-
return /* @__PURE__ */
|
|
7977
|
+
return /* @__PURE__ */ jsxs71(
|
|
8044
7978
|
"div",
|
|
8045
7979
|
{
|
|
8046
7980
|
id: props.id,
|
|
8047
7981
|
className: `${props.noContainer ? `lg:ml-8` : `lg:container`} mx-auto flex flex-col lg:flex-row justify-between mt-4 lg:pt-20 ${props.bottomPadding && `lg:mb-${props.bottomPadding}`}`,
|
|
8048
7982
|
children: [
|
|
8049
|
-
/* @__PURE__ */
|
|
8050
|
-
/* @__PURE__ */
|
|
8051
|
-
isNeedParse && /* @__PURE__ */
|
|
7983
|
+
/* @__PURE__ */ jsx152("div", { className: "flex flex-col lg:w-[14%]", children: /* @__PURE__ */ jsx152(Body18, { children: props.tag }) }),
|
|
7984
|
+
/* @__PURE__ */ jsxs71("div", { className: "flex flex-col lg:w-[51%] space-y-4 lg:space-y-6", children: [
|
|
7985
|
+
isNeedParse && /* @__PURE__ */ jsx152(
|
|
8052
7986
|
HtmlView,
|
|
8053
7987
|
{
|
|
8054
7988
|
cssClass: "m-0 pt-2 lg:pt-0",
|
|
8055
7989
|
html: parseTitle(props.title, "H2")
|
|
8056
7990
|
}
|
|
8057
7991
|
),
|
|
8058
|
-
!isNeedParse && /* @__PURE__ */
|
|
7992
|
+
!isNeedParse && /* @__PURE__ */ jsxs71(H2Design, { className: "pt-2 lg:pt-0", children: [
|
|
8059
7993
|
props.title,
|
|
8060
7994
|
" "
|
|
8061
7995
|
] }),
|
|
8062
|
-
/* @__PURE__ */
|
|
7996
|
+
/* @__PURE__ */ jsx152(
|
|
8063
7997
|
HtmlView,
|
|
8064
7998
|
{
|
|
8065
7999
|
cssClass: "m-0 text-base lg:text-lg leading-[130%] lg:mt-4",
|
|
8066
8000
|
html: addLinksStyles(props.textBody)
|
|
8067
8001
|
}
|
|
8068
8002
|
),
|
|
8069
|
-
((_a = props.button) == null ? void 0 : _a.text) && props.button.link && /* @__PURE__ */
|
|
8003
|
+
((_a = props.button) == null ? void 0 : _a.text) && props.button.link && /* @__PURE__ */ jsx152("div", { children: /* @__PURE__ */ jsx152(
|
|
8070
8004
|
Link7,
|
|
8071
8005
|
{
|
|
8072
8006
|
href: props.button.link,
|
|
8073
8007
|
target: props.button.isNewTab ? "_blank" : "_self",
|
|
8074
8008
|
rel: "noreferrer",
|
|
8075
|
-
children: /* @__PURE__ */
|
|
8009
|
+
children: /* @__PURE__ */ jsx152(DesignButton, { children: props.button.text })
|
|
8076
8010
|
}
|
|
8077
8011
|
) })
|
|
8078
8012
|
] }),
|
|
8079
|
-
/* @__PURE__ */
|
|
8013
|
+
/* @__PURE__ */ jsx152("div", { className: "hidden lg:w-[15%] lg:inline" })
|
|
8080
8014
|
]
|
|
8081
8015
|
}
|
|
8082
8016
|
);
|
|
@@ -8157,6 +8091,7 @@ export {
|
|
|
8157
8091
|
Carousel,
|
|
8158
8092
|
CarouselContent,
|
|
8159
8093
|
CarouselItem,
|
|
8094
|
+
CarouselItemList,
|
|
8160
8095
|
CarouselNext,
|
|
8161
8096
|
CarouselPrevious,
|
|
8162
8097
|
ChartLineDotsIcon,
|
|
@@ -8379,6 +8314,7 @@ export {
|
|
|
8379
8314
|
Skeleton,
|
|
8380
8315
|
Slider,
|
|
8381
8316
|
StopWatchCheckIcon,
|
|
8317
|
+
SummaryCard,
|
|
8382
8318
|
Switch,
|
|
8383
8319
|
Table,
|
|
8384
8320
|
TableBody,
|