elseware-ui 3.0.2 → 3.0.4

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.mjs CHANGED
@@ -1,13 +1,13 @@
1
- import React26, { createContext, forwardRef, useState, useImperativeHandle, useEffect, useRef, useMemo, useCallback, useContext, Children, useId, createElement, isValidElement } from 'react';
1
+ import React26, { createContext, forwardRef, useState, useImperativeHandle, useEffect, useRef, useMemo, useContext, useCallback, Children, useId, createElement, isValidElement } from 'react';
2
2
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
3
3
  import { twMerge } from 'tailwind-merge';
4
4
  import { AiOutlineLoading } from 'react-icons/ai/index.js';
5
5
  import { useField, ErrorMessage, Field, useFormikContext, FieldArray, Formik, Form as Form$1 } from 'formik';
6
6
  import { FaGripVertical, FaTrash, FaPlus, FaTimes, FaBars, FaSun, FaMoon, FaEyeSlash, FaEye, FaCircle } from 'react-icons/fa/index.js';
7
- import classNames72 from 'classnames';
7
+ import classNames73 from 'classnames';
8
8
  import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
9
9
  import { Image, CloudinaryContext as CloudinaryContext$1 } from 'cloudinary-react';
10
- import { MdUpload, MdOutlineDone, MdOutlineRemoveCircleOutline } from 'react-icons/md/index.js';
10
+ import { MdUpload, MdOutlineDone, MdOutlineRemoveCircleOutline, MdDragIndicator, MdKeyboardArrowLeft, MdKeyboardArrowRight, MdOutlineDelete } from 'react-icons/md/index.js';
11
11
  import { BsStarFill, BsStar, BsChevronDown, BsStarHalf, BsFillDiamondFill } from 'react-icons/bs/index.js';
12
12
  import { AnimatePresence, motion } from 'framer-motion';
13
13
  import { ResponsiveContainer, LineChart, CartesianGrid, XAxis, YAxis, Tooltip, Line, AreaChart, Area, BarChart, Bar, PieChart, Pie, Cell, ScatterChart, Scatter } from 'recharts';
@@ -4718,7 +4718,7 @@ var init_python = __esm({
4718
4718
  });
4719
4719
 
4720
4720
  // node_modules/refractor/lang/jsx.js
4721
- function jsx218(Prism2) {
4721
+ function jsx217(Prism2) {
4722
4722
  Prism2.register(javascript);
4723
4723
  Prism2.register(markup);
4724
4724
  (function(Prism3) {
@@ -4851,14 +4851,14 @@ var init_jsx = __esm({
4851
4851
  "node_modules/refractor/lang/jsx.js"() {
4852
4852
  init_javascript();
4853
4853
  init_markup();
4854
- jsx218.displayName = "jsx";
4855
- jsx218.aliases = [];
4854
+ jsx217.displayName = "jsx";
4855
+ jsx217.aliases = [];
4856
4856
  }
4857
4857
  });
4858
4858
 
4859
4859
  // node_modules/refractor/lang/tsx.js
4860
4860
  function tsx(Prism2) {
4861
- Prism2.register(jsx218);
4861
+ Prism2.register(jsx217);
4862
4862
  Prism2.register(typescript);
4863
4863
  (function(Prism3) {
4864
4864
  var typescript2 = Prism3.util.clone(Prism3.languages.typescript);
@@ -6453,7 +6453,7 @@ var Backdrop = ({ children: children3, styles }) => {
6453
6453
  return /* @__PURE__ */ jsx(
6454
6454
  "div",
6455
6455
  {
6456
- className: classNames72({
6456
+ className: classNames73({
6457
6457
  "bg-black/75 top-0 bottom-0 left-0 right-0 z-50 fixed inset-0 flex items-center justify-center overflow-hidden": true,
6458
6458
  [`${styles}`]: styles
6459
6459
  }),
@@ -7043,7 +7043,7 @@ function renderTransitionChild(children3, className) {
7043
7043
  }
7044
7044
  const element7 = child;
7045
7045
  return React26.cloneElement(element7, {
7046
- className: classNames72(element7.props.className, className)
7046
+ className: classNames73(element7.props.className, className)
7047
7047
  });
7048
7048
  }
7049
7049
  function TransitionBase({
@@ -7063,7 +7063,7 @@ function TransitionBase({
7063
7063
  if (!mounted && unmountOnExit) {
7064
7064
  return null;
7065
7065
  }
7066
- const transitionClassName = classNames72(
7066
+ const transitionClassName = classNames73(
7067
7067
  visibility ? enterClassName : leaveClassName,
7068
7068
  active ? visibleClassName : hiddenClassName
7069
7069
  );
@@ -7416,7 +7416,7 @@ var InputFile = ({
7416
7416
  /* @__PURE__ */ jsx(
7417
7417
  "div",
7418
7418
  {
7419
- className: classNames72(
7419
+ className: classNames73(
7420
7420
  "border rounded-sm bg-eui-primary-300/10 px-3 pt-3 text-md text-eui-dark-100 cursor-pointer h-[50px] flex items-center",
7421
7421
  {
7422
7422
  "border-eui-primary-400 focus:border-eui-secondary-500": !(meta.touched && meta.error),
@@ -7442,7 +7442,7 @@ var InputFile = ({
7442
7442
  InputLabel,
7443
7443
  {
7444
7444
  text: placeholder,
7445
- className: classNames72({
7445
+ className: classNames73({
7446
7446
  "absolute left-2 eui-text-sm peer-placeholder-shown:text-base peer-placeholder-shown:top-3 pointer-events-none": true,
7447
7447
  "top-[0.7px]": showFloatingLabel,
7448
7448
  "top-[13px] text-base": !showFloatingLabel
@@ -7495,7 +7495,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
7495
7495
  /* @__PURE__ */ jsx("div", { className: "mt-2", children: /* @__PURE__ */ jsx(FieldArray, { name: name2, children: ({ push: push2, remove: remove2, move }) => /* @__PURE__ */ jsxs(
7496
7496
  "div",
7497
7497
  {
7498
- className: classNames72(
7498
+ className: classNames73(
7499
7499
  "flex w-full flex-col space-y-2 bg-eui-primary-300/10",
7500
7500
  shapes[resolvedShape]
7501
7501
  ),
@@ -7524,7 +7524,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
7524
7524
  ref: provided2.innerRef,
7525
7525
  ...draggableProps,
7526
7526
  style: draggableStyle,
7527
- className: classNames72(
7527
+ className: classNames73(
7528
7528
  "flex items-center space-x-2 bg-eui-primary-300/10 p-2",
7529
7529
  shapes[resolvedShape]
7530
7530
  ),
@@ -7535,7 +7535,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
7535
7535
  {
7536
7536
  name: `${name2}[${index3}]`,
7537
7537
  placeholder: `Item ${index3 + 1}`,
7538
- className: classNames72(
7538
+ className: classNames73(
7539
7539
  "peer h-[50px] w-full border bg-eui-primary-300/10 px-3 pb-2 pt-5 text-md placeholder-transparent placeholder-shown:p-3 focus:outline-none eui-text-md",
7540
7540
  shapes[resolvedShape],
7541
7541
  hasItemError ? "border-eui-danger-500" : "border-eui-primary-400 focus:border-eui-secondary-500"
@@ -7631,7 +7631,7 @@ var InputListGroup = ({
7631
7631
  return /* @__PURE__ */ jsxs(
7632
7632
  "div",
7633
7633
  {
7634
- className: classNames72(
7634
+ className: classNames73(
7635
7635
  "flex flex-col gap-2 bg-eui-primary-300/10 p-3",
7636
7636
  shapes[resolvedShape]
7637
7637
  ),
@@ -7643,7 +7643,7 @@ var InputListGroup = ({
7643
7643
  {
7644
7644
  name: `${name2}[${groupIndex}].name`,
7645
7645
  placeholder: `Group ${groupIndex + 1}`,
7646
- className: classNames72(
7646
+ className: classNames73(
7647
7647
  "h-[40px] w-full border bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none",
7648
7648
  shapes[resolvedShape],
7649
7649
  "border-eui-primary-400 focus:border-eui-secondary-500"
@@ -7674,7 +7674,7 @@ var InputListGroup = ({
7674
7674
  {
7675
7675
  ref: provided.innerRef,
7676
7676
  ...provided.droppableProps,
7677
- className: classNames72(
7677
+ className: classNames73(
7678
7678
  "space-y-2 bg-eui-primary-300/10 p-2",
7679
7679
  shapes[resolvedShape]
7680
7680
  ),
@@ -7694,7 +7694,7 @@ var InputListGroup = ({
7694
7694
  ref: provided2.innerRef,
7695
7695
  ...draggableProps,
7696
7696
  style: draggableStyle,
7697
- className: classNames72(
7697
+ className: classNames73(
7698
7698
  "flex items-center gap-2 bg-eui-primary-300/10 p-2",
7699
7699
  shapes[resolvedShape]
7700
7700
  ),
@@ -7705,7 +7705,7 @@ var InputListGroup = ({
7705
7705
  {
7706
7706
  name: `${itemsFieldName}[${itemIndex}]`,
7707
7707
  placeholder: `Item ${itemIndex + 1}`,
7708
- className: classNames72(
7708
+ className: classNames73(
7709
7709
  "h-[40px] w-full border bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none",
7710
7710
  shapes[resolvedShape],
7711
7711
  "border-eui-primary-400 focus:border-eui-secondary-500"
@@ -7778,6 +7778,17 @@ var InputListGroup = ({
7778
7778
  function isMultiCheckbox(props) {
7779
7779
  return Array.isArray(props.options);
7780
7780
  }
7781
+ function resolveCheckboxColumns(columns) {
7782
+ return columns ?? 1;
7783
+ }
7784
+ function chunkCheckboxOptions(options, columns) {
7785
+ const resolvedColumns = resolveCheckboxColumns(columns);
7786
+ const chunkSize = Math.ceil(options.length / resolvedColumns);
7787
+ return Array.from(
7788
+ { length: resolvedColumns },
7789
+ (_2, columnIndex) => options.slice(columnIndex * chunkSize, (columnIndex + 1) * chunkSize)
7790
+ ).filter((columnOptions) => columnOptions.length > 0);
7791
+ }
7781
7792
  function useResolvedCheckboxConfig({
7782
7793
  label,
7783
7794
  placeholder,
@@ -7936,6 +7947,7 @@ function Checkbox(checkboxProps) {
7936
7947
  const activeFieldName = isMulti ? multiField.name : singleField.name;
7937
7948
  const activeMeta = isMulti ? multiMeta : singleMeta;
7938
7949
  const multiProps = isMultiCheckbox(checkboxProps) ? checkboxProps : null;
7950
+ const optionColumns = multiProps ? chunkCheckboxOptions(multiProps.options, multiProps.columns) : [];
7939
7951
  const singleChecked = singleField.value;
7940
7952
  return /* @__PURE__ */ jsxs("div", { className: cn(checkboxGroupClassName, groupClassName), children: [
7941
7953
  !isMulti && /* @__PURE__ */ jsxs("div", { className: cn(checkboxOptionRowClassName, optionClassName), children: [
@@ -7979,67 +7991,74 @@ function Checkbox(checkboxProps) {
7979
7991
  }
7980
7992
  ) : null
7981
7993
  ] }),
7982
- isMulti && multiProps?.options.map((option) => {
7983
- const values = multiField.value ?? [];
7984
- const checked = values.includes(option.value);
7985
- const optionDisabled = disabled || option.disabled === true;
7986
- return /* @__PURE__ */ jsxs(
7987
- "div",
7988
- {
7989
- className: cn(checkboxOptionRowClassName, optionClassName),
7990
- children: [
7991
- /* @__PURE__ */ jsxs("span", { className: "relative inline-flex h-5 w-5 shrink-0 items-center justify-center", children: [
7992
- /* @__PURE__ */ jsx(
7993
- "input",
7994
- {
7995
- id: option.value,
7996
- name: multiField.name,
7997
- type: "checkbox",
7998
- checked,
7999
- disabled: optionDisabled,
8000
- onBlur: multiField.onBlur,
8001
- onChange: () => {
8002
- multiHelpers.setValue(
8003
- checked ? values.filter((value) => value !== option.value) : [...values, option.value]
8004
- );
8005
- },
8006
- className: getIndicatorClassName({
8007
- checked,
8008
- className,
8009
- disabled: optionDisabled,
8010
- indicatorClassName,
8011
- checkedIndicatorClassName,
8012
- resolvedShape,
8013
- variantCheckedClassName: variantStyles.checkedClassName
8014
- })
8015
- }
8016
- ),
8017
- /* @__PURE__ */ jsx(
8018
- Tick,
8019
- {
8020
- checked,
8021
- checkedIconClassName,
8022
- iconClassName: variantStyles.iconClassName
8023
- }
8024
- )
8025
- ] }),
8026
- /* @__PURE__ */ jsx(
8027
- "label",
8028
- {
8029
- htmlFor: option.value,
8030
- className: cn(
8031
- checkboxLabelClassName,
8032
- optionDisabled && "cursor-not-allowed opacity-60",
8033
- labelClassName
8034
- ),
8035
- children: option.label
8036
- }
8037
- )
8038
- ]
8039
- },
8040
- option.value
8041
- );
8042
- }),
7994
+ isMulti && multiProps ? /* @__PURE__ */ jsx("div", { className: "flex w-full flex-row gap-6", children: optionColumns.map((columnOptions, columnIndex) => /* @__PURE__ */ jsx(
7995
+ "div",
7996
+ {
7997
+ className: "flex min-w-0 flex-1 flex-col gap-2",
7998
+ children: columnOptions.map((option) => {
7999
+ const values = multiField.value ?? [];
8000
+ const checked = values.includes(option.value);
8001
+ const optionDisabled = disabled || option.disabled === true;
8002
+ return /* @__PURE__ */ jsxs(
8003
+ "div",
8004
+ {
8005
+ className: cn(checkboxOptionRowClassName, optionClassName),
8006
+ children: [
8007
+ /* @__PURE__ */ jsxs("span", { className: "relative inline-flex h-5 w-5 shrink-0 items-center justify-center", children: [
8008
+ /* @__PURE__ */ jsx(
8009
+ "input",
8010
+ {
8011
+ id: option.value,
8012
+ name: multiField.name,
8013
+ type: "checkbox",
8014
+ checked,
8015
+ disabled: optionDisabled,
8016
+ onBlur: multiField.onBlur,
8017
+ onChange: () => {
8018
+ multiHelpers.setValue(
8019
+ checked ? values.filter((value) => value !== option.value) : [...values, option.value]
8020
+ );
8021
+ },
8022
+ className: getIndicatorClassName({
8023
+ checked,
8024
+ className,
8025
+ disabled: optionDisabled,
8026
+ indicatorClassName,
8027
+ checkedIndicatorClassName,
8028
+ resolvedShape,
8029
+ variantCheckedClassName: variantStyles.checkedClassName
8030
+ })
8031
+ }
8032
+ ),
8033
+ /* @__PURE__ */ jsx(
8034
+ Tick,
8035
+ {
8036
+ checked,
8037
+ checkedIconClassName,
8038
+ iconClassName: variantStyles.iconClassName
8039
+ }
8040
+ )
8041
+ ] }),
8042
+ /* @__PURE__ */ jsx(
8043
+ "label",
8044
+ {
8045
+ htmlFor: option.value,
8046
+ className: cn(
8047
+ checkboxLabelClassName,
8048
+ optionDisabled && "cursor-not-allowed opacity-60",
8049
+ labelClassName
8050
+ ),
8051
+ children: option.label
8052
+ }
8053
+ )
8054
+ ]
8055
+ },
8056
+ option.value
8057
+ );
8058
+ })
8059
+ },
8060
+ `${multiField.name}-column-${columnIndex}`
8061
+ )) }) : null,
8043
8062
  /* @__PURE__ */ jsx(
8044
8063
  InputResponse,
8045
8064
  {
@@ -8074,7 +8093,7 @@ var DateSelector = ({
8074
8093
  ...field,
8075
8094
  ...props,
8076
8095
  placeholder,
8077
- className: classNames72({
8096
+ className: classNames73({
8078
8097
  "border border-eui-primary-400 peer w-full bg-eui-primary-300/10 pt-5 px-3 pb-2 text-md eui-text-md placeholder-transparent placeholder-shown:p-3 focus:border-eui-secondary-500 focus:outline-none h-[50px]": true,
8079
8098
  "border-eui-danger-500": meta.touched && meta.error,
8080
8099
  "transition-all ease-in-out": true,
@@ -8237,23 +8256,47 @@ function FormResponse({
8237
8256
  const styles = resolveFormResponseStyles({ shape, size, variant });
8238
8257
  return /* @__PURE__ */ jsx(Transition.TransitionDropdown, { visibility: Boolean(text10), children: /* @__PURE__ */ jsx("div", { className: cn(styles.rootClassName, className), children: /* @__PURE__ */ jsx("span", { className: cn(styles.textClassName, textClassName), children: text10 }) }) });
8239
8258
  }
8240
- function ImageView({ imageUrl, secure = true, alt = "image" }) {
8259
+ var CloudinaryContext = createContext(null);
8260
+ var CloudinaryProvider = ({
8261
+ cloudName,
8262
+ uploadPreset,
8263
+ children: children3
8264
+ }) => /* @__PURE__ */ jsx(CloudinaryContext.Provider, { value: { cloudName, uploadPreset }, children: children3 });
8265
+ var useCloudinaryConfig = () => {
8266
+ const ctx = useContext(CloudinaryContext);
8267
+ if (!ctx) {
8268
+ throw new Error(
8269
+ "CloudinaryProvider is missing. Wrap your app with <CloudinaryProvider />"
8270
+ );
8271
+ }
8272
+ return ctx;
8273
+ };
8274
+
8275
+ // src/components/data-entry/image-input/base/ImageInput.config.ts
8276
+ var defaultImageInputTitle = "Upload Image";
8277
+ var defaultImageInputUploadDir = "eg-frontend-admin-temp";
8278
+ var imageInputPlaceholderPublicId = "public/placeholders/placeholder-dark_uwuxct";
8279
+ function ImageView({
8280
+ imageUrl,
8281
+ secure = true,
8282
+ alt = "image"
8283
+ }) {
8284
+ const { cloudName } = useCloudinaryConfig();
8241
8285
  return /* @__PURE__ */ jsx("div", { className: "h-[200px] w-[300px]", children: /* @__PURE__ */ jsx("div", { className: "w-full h-full overflow-hidden bg-gray-900 flex items-center justify-center", children: /* @__PURE__ */ jsx(
8242
8286
  Image,
8243
8287
  {
8244
- cloudName: process.env.REACT_APP_CLOUDINARY_CLOUD_NAME || "",
8245
- publicId: imageUrl ? imageUrl : "public/placeholders/placeholder-dark_uwuxct",
8288
+ cloudName,
8289
+ publicId: imageUrl ? imageUrl : imageInputPlaceholderPublicId,
8246
8290
  secure,
8247
8291
  alt,
8248
8292
  className: "w-full h-full object-cover"
8249
8293
  }
8250
8294
  ) }) });
8251
8295
  }
8252
- var ImageView_default = ImageView;
8253
8296
  var ImageInput = forwardRef(
8254
8297
  ({
8255
- title = "Upload Image",
8256
- uploadDir = "eg-frontend-admin-temp",
8298
+ title = defaultImageInputTitle,
8299
+ uploadDir = defaultImageInputUploadDir,
8257
8300
  onValueChanged = () => {
8258
8301
  },
8259
8302
  disableSetValue = false,
@@ -8262,6 +8305,7 @@ var ImageInput = forwardRef(
8262
8305
  const [field, meta, helpers] = useField(props);
8263
8306
  const { value: imageUrl } = field;
8264
8307
  const { setValue } = helpers;
8308
+ const { cloudName, uploadPreset = "" } = useCloudinaryConfig();
8265
8309
  const [image3, setImage] = useState(null);
8266
8310
  const [url, setUrl] = useState(imageUrl);
8267
8311
  const [loading, setLoading] = useState(false);
@@ -8271,8 +8315,6 @@ var ImageInput = forwardRef(
8271
8315
  setLoading(true);
8272
8316
  const data = new FormData();
8273
8317
  data.append("file", image3);
8274
- const uploadPreset = process.env.REACT_APP_CLOUDINARY_UPLOAD_PRESET || "";
8275
- const cloudName = process.env.REACT_APP_CLOUDINARY_CLOUD_NAME || "";
8276
8318
  data.append("upload_preset", uploadPreset);
8277
8319
  data.append("cloud_name", cloudName);
8278
8320
  data.append("folder", uploadDir);
@@ -8289,7 +8331,7 @@ var ImageInput = forwardRef(
8289
8331
  if (!disableSetValue) setValue(res.public_id);
8290
8332
  onValueChanged(res.public_id);
8291
8333
  setLoading(false);
8292
- } catch (error) {
8334
+ } catch {
8293
8335
  setLoading(false);
8294
8336
  }
8295
8337
  };
@@ -8333,7 +8375,7 @@ var ImageInput = forwardRef(
8333
8375
  /* @__PURE__ */ jsxs(
8334
8376
  "label",
8335
8377
  {
8336
- className: classNames72({
8378
+ className: classNames73({
8337
8379
  "border-2 border-dashed border-gray-700 bg-gray-900 h-[200px] w-[300px] flex flex-col gap-2 items-center justify-center group": true,
8338
8380
  "hover:cursor-pointer hover:border-solid hover:border-gray-600 hover:bg-gray-900/80": true,
8339
8381
  "transition-all ease-in-out duration-150": true
@@ -8358,7 +8400,7 @@ var ImageInput = forwardRef(
8358
8400
  /* @__PURE__ */ jsx("div", { className: "h-[200px] w-[300px] bg-black opacity-50" }),
8359
8401
  /* @__PURE__ */ jsx("div", { className: "absolute top-0 left-0 w-full h-full flex items-center justify-center", children: /* @__PURE__ */ jsx(AiOutlineLoading, { className: "animate-spin" }) })
8360
8402
  ] }),
8361
- !loading && url && /* @__PURE__ */ jsx(ImageView_default, { imageUrl: url, alt: url ? url : "image" }),
8403
+ !loading && url && /* @__PURE__ */ jsx(ImageView, { imageUrl: url, alt: url ? url : "image" }),
8362
8404
  (preview || url) && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1 text-3xl", children: [
8363
8405
  /* @__PURE__ */ jsx(
8364
8406
  "div",
@@ -8390,29 +8432,230 @@ var ImageInput = forwardRef(
8390
8432
  ] });
8391
8433
  }
8392
8434
  );
8393
- var ImageInput_default = ImageInput;
8435
+ var ImageInput_web_default = ImageInput;
8436
+
8437
+ // src/components/data-entry/multi-image-input/base/MultiImageInput.config.ts
8438
+ var defaultMultiImageInputTitle = "Upload Images";
8439
+ var defaultMultiImageInputUploadDir = "eg-frontend-admin-temp";
8440
+ function areImageListsEqual(current, next2) {
8441
+ return current.length === next2.length && current.every((imageUrl, index3) => imageUrl === next2[index3]);
8442
+ }
8394
8443
  function MultiImageInput({
8395
- title = "Upload Images",
8396
- uploadDir = "eg-frontend-admin-temp",
8444
+ title = defaultMultiImageInputTitle,
8445
+ uploadDir = defaultMultiImageInputUploadDir,
8397
8446
  ...props
8398
8447
  }) {
8399
8448
  const [field, meta, helpers] = useField(props);
8400
- const { value: imageUrls } = field;
8401
8449
  const { setValue } = helpers;
8450
+ const { cloudName, uploadPreset = "" } = useCloudinaryConfig();
8451
+ const fieldImageUrls = useMemo(
8452
+ () => Array.isArray(field.value) ? field.value : [],
8453
+ [field.value]
8454
+ );
8455
+ const [imageUrls, setImageUrls] = useState(fieldImageUrls);
8402
8456
  const imageInputRef = useRef(null);
8457
+ const replaceInputRefs = useRef({});
8458
+ const [draggedIndex, setDraggedIndex] = useState(null);
8459
+ const [replacingIndex, setReplacingIndex] = useState(null);
8460
+ const isOrganizerBusy = replacingIndex !== null;
8461
+ useEffect(() => {
8462
+ setImageUrls(
8463
+ (currentImageUrls) => areImageListsEqual(currentImageUrls, fieldImageUrls) ? currentImageUrls : fieldImageUrls
8464
+ );
8465
+ }, [fieldImageUrls]);
8466
+ const commitImageUrls = (nextImageUrls) => {
8467
+ setImageUrls(nextImageUrls);
8468
+ void setValue(nextImageUrls);
8469
+ };
8403
8470
  const onValueChanged = (url) => {
8404
- setValue([...imageUrls, url]);
8471
+ if (!url) {
8472
+ return;
8473
+ }
8474
+ commitImageUrls([...imageUrls, url]);
8405
8475
  if (imageInputRef.current) {
8406
8476
  imageInputRef.current.handleResetClick();
8407
8477
  }
8408
8478
  };
8409
- useEffect(() => {
8410
- }, [imageUrls]);
8479
+ const uploadImage = async (file) => {
8480
+ const data = new FormData();
8481
+ data.append("file", file);
8482
+ data.append("upload_preset", uploadPreset);
8483
+ data.append("cloud_name", cloudName);
8484
+ data.append("folder", uploadDir);
8485
+ const response = await fetch(
8486
+ `https://api.cloudinary.com/v1_1/${cloudName}/image/upload`,
8487
+ {
8488
+ method: "POST",
8489
+ body: data
8490
+ }
8491
+ );
8492
+ const res = await response.json();
8493
+ if (!res.public_id) {
8494
+ throw new Error("Cloudinary upload failed");
8495
+ }
8496
+ return res.public_id;
8497
+ };
8498
+ const removeImage = (index3) => {
8499
+ commitImageUrls(
8500
+ imageUrls.filter((_2, imageIndex) => imageIndex !== index3)
8501
+ );
8502
+ };
8503
+ const moveImage = (fromIndex, toIndex) => {
8504
+ if (toIndex < 0 || toIndex >= imageUrls.length || fromIndex === toIndex || isOrganizerBusy) {
8505
+ return;
8506
+ }
8507
+ const nextImageUrls = [...imageUrls];
8508
+ const [movedImage] = nextImageUrls.splice(fromIndex, 1);
8509
+ if (!movedImage) {
8510
+ return;
8511
+ }
8512
+ nextImageUrls.splice(toIndex, 0, movedImage);
8513
+ commitImageUrls(nextImageUrls);
8514
+ };
8515
+ const handleReplaceImage = async (index3, event) => {
8516
+ const input = event.currentTarget;
8517
+ const file = input.files?.[0];
8518
+ if (!file || isOrganizerBusy) {
8519
+ return;
8520
+ }
8521
+ setReplacingIndex(index3);
8522
+ try {
8523
+ const publicId = await uploadImage(file);
8524
+ const nextImageUrls = [...imageUrls];
8525
+ nextImageUrls[index3] = publicId;
8526
+ commitImageUrls(nextImageUrls);
8527
+ } catch {
8528
+ } finally {
8529
+ setReplacingIndex(null);
8530
+ input.value = "";
8531
+ }
8532
+ };
8533
+ const handleDragStart = (index3) => {
8534
+ if (isOrganizerBusy) {
8535
+ return;
8536
+ }
8537
+ setDraggedIndex(index3);
8538
+ };
8539
+ const handleDragOver = (event) => {
8540
+ if (!isOrganizerBusy) {
8541
+ event.preventDefault();
8542
+ }
8543
+ };
8544
+ const handleDrop = (index3) => {
8545
+ if (draggedIndex === null) {
8546
+ return;
8547
+ }
8548
+ moveImage(draggedIndex, index3);
8549
+ setDraggedIndex(null);
8550
+ };
8551
+ const openReplacePicker = (index3) => {
8552
+ replaceInputRefs.current[index3]?.click();
8553
+ };
8411
8554
  return /* @__PURE__ */ jsxs("div", { children: [
8412
- /* @__PURE__ */ jsxs("div", { className: "flex flex-row flex-wrap gap-5 w-ful", children: [
8413
- imageUrls.map((url, index3) => /* @__PURE__ */ jsx(ImageView_default, { imageUrl: url }, index3)),
8555
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-row flex-wrap gap-5 w-full", children: [
8556
+ imageUrls.map((url, index3) => {
8557
+ const isReplacing = replacingIndex === index3;
8558
+ return /* @__PURE__ */ jsxs(
8559
+ "div",
8560
+ {
8561
+ draggable: !isOrganizerBusy,
8562
+ onDragStart: () => handleDragStart(index3),
8563
+ onDragOver: handleDragOver,
8564
+ onDrop: () => handleDrop(index3),
8565
+ onDragEnd: () => setDraggedIndex(null),
8566
+ className: classNames73(
8567
+ "relative h-[200px] w-[300px] overflow-hidden bg-gray-900",
8568
+ "transition-all duration-150",
8569
+ draggedIndex === index3 && "opacity-60",
8570
+ !isOrganizerBusy && "cursor-grab active:cursor-grabbing"
8571
+ ),
8572
+ children: [
8573
+ /* @__PURE__ */ jsx(ImageView, { imageUrl: url }),
8574
+ /* @__PURE__ */ jsxs("div", { className: "absolute left-2 top-2 inline-flex items-center gap-1 rounded bg-black/60 px-2 py-1 text-xs text-white", children: [
8575
+ /* @__PURE__ */ jsx(MdDragIndicator, {}),
8576
+ index3 + 1
8577
+ ] }),
8578
+ /* @__PURE__ */ jsxs("div", { className: "absolute right-2 top-2 flex gap-1", children: [
8579
+ /* @__PURE__ */ jsx(
8580
+ Button_web_default,
8581
+ {
8582
+ title: "Move image left",
8583
+ accessibilityLabel: "Move image left",
8584
+ disabled: index3 === 0 || isOrganizerBusy,
8585
+ glow: false,
8586
+ icon: /* @__PURE__ */ jsx(MdKeyboardArrowLeft, {}),
8587
+ onPress: () => moveImage(index3, index3 - 1),
8588
+ size: "xs",
8589
+ className: "h-8 w-8 bg-black/60 p-0 text-xl text-white hover:bg-black/80 disabled:opacity-40"
8590
+ }
8591
+ ),
8592
+ /* @__PURE__ */ jsx(
8593
+ Button_web_default,
8594
+ {
8595
+ title: "Move image right",
8596
+ accessibilityLabel: "Move image right",
8597
+ disabled: index3 === imageUrls.length - 1 || isOrganizerBusy,
8598
+ glow: false,
8599
+ icon: /* @__PURE__ */ jsx(MdKeyboardArrowRight, {}),
8600
+ onPress: () => moveImage(index3, index3 + 1),
8601
+ size: "xs",
8602
+ className: "h-8 w-8 bg-black/60 p-0 text-xl text-white hover:bg-black/80 disabled:opacity-40"
8603
+ }
8604
+ )
8605
+ ] }),
8606
+ /* @__PURE__ */ jsxs("div", { className: "absolute bottom-2 left-2 right-2 flex items-center justify-between gap-2", children: [
8607
+ /* @__PURE__ */ jsx(
8608
+ "input",
8609
+ {
8610
+ ref: (input) => {
8611
+ replaceInputRefs.current[index3] = input;
8612
+ },
8613
+ type: "file",
8614
+ className: "hidden",
8615
+ accept: "image/*",
8616
+ disabled: isOrganizerBusy,
8617
+ onChange: (event) => void handleReplaceImage(index3, event)
8618
+ }
8619
+ ),
8620
+ /* @__PURE__ */ jsx(
8621
+ Button_web_default,
8622
+ {
8623
+ block: true,
8624
+ appearance: "solid",
8625
+ title: "Change image",
8626
+ accessibilityLabel: "Change image",
8627
+ disabled: isOrganizerBusy,
8628
+ glow: false,
8629
+ icon: /* @__PURE__ */ jsx(MdUpload, {}),
8630
+ onPress: () => openReplacePicker(index3),
8631
+ size: "sm",
8632
+ text: "Change",
8633
+ variant: "success"
8634
+ }
8635
+ ),
8636
+ /* @__PURE__ */ jsx(
8637
+ Button_web_default,
8638
+ {
8639
+ appearance: "solid",
8640
+ title: "Delete image",
8641
+ accessibilityLabel: "Delete image",
8642
+ disabled: isOrganizerBusy,
8643
+ glow: false,
8644
+ icon: /* @__PURE__ */ jsx(MdOutlineDelete, {}),
8645
+ onPress: () => removeImage(index3),
8646
+ size: "sm",
8647
+ variant: "danger"
8648
+ }
8649
+ )
8650
+ ] }),
8651
+ isReplacing && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center justify-center bg-black/60 text-2xl text-white", children: /* @__PURE__ */ jsx(AiOutlineLoading, { className: "animate-spin" }) })
8652
+ ]
8653
+ },
8654
+ `${url}-${index3}`
8655
+ );
8656
+ }),
8414
8657
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
8415
- ImageInput_default,
8658
+ ImageInput_web_default,
8416
8659
  {
8417
8660
  ref: imageInputRef,
8418
8661
  name: "new_img",
@@ -8434,7 +8677,7 @@ function MultiImageInput({
8434
8677
  )
8435
8678
  ] });
8436
8679
  }
8437
- var MultiImageInput_default = MultiImageInput;
8680
+ var MultiImageInput_web_default = MultiImageInput;
8438
8681
  function Radio({
8439
8682
  placeholder,
8440
8683
  options,
@@ -8450,7 +8693,7 @@ function Radio({
8450
8693
  return /* @__PURE__ */ jsxs(
8451
8694
  "div",
8452
8695
  {
8453
- className: classNames72({
8696
+ className: classNames73({
8454
8697
  "flex flex-row gap-2 items-center mx-1 my-2": true
8455
8698
  }),
8456
8699
  children: [
@@ -8463,7 +8706,7 @@ function Radio({
8463
8706
  ...props,
8464
8707
  value: option.value,
8465
8708
  checked: field2.value === option.value,
8466
- className: classNames72({
8709
+ className: classNames73({
8467
8710
  "appearance-none w-4 h-4 border-2 border-eui-primary-400 rounded-full cursor-pointer transition-all duration-300": true,
8468
8711
  // base radio button styles
8469
8712
  "checked:bg-eui-secondary-700 checked:border-eui-primary-400": field2.value === option.value
@@ -8475,7 +8718,7 @@ function Radio({
8475
8718
  "label",
8476
8719
  {
8477
8720
  htmlFor: option.value,
8478
- className: classNames72({
8721
+ className: classNames73({
8479
8722
  "eui-text-md text-sm": true
8480
8723
  }),
8481
8724
  children: option.label
@@ -8518,7 +8761,7 @@ function StarRatingInput({
8518
8761
  return /* @__PURE__ */ jsxs(
8519
8762
  "div",
8520
8763
  {
8521
- className: classNames72({
8764
+ className: classNames73({
8522
8765
  "inline-flex gap-[4px] text-[20px]": true,
8523
8766
  [`${styles}`]: styles
8524
8767
  }),
@@ -8531,7 +8774,7 @@ function StarRatingInput({
8531
8774
  onClick: () => handleOnClick(index3),
8532
8775
  onMouseEnter: () => setHover(index3),
8533
8776
  onMouseLeave: () => setHover(null),
8534
- className: classNames72({
8777
+ className: classNames73({
8535
8778
  "text-yellow-600": index3 <= (hover ?? rating - 1),
8536
8779
  "text-gray-400": index3 > (hover ?? rating - 1)
8537
8780
  }),
@@ -8575,7 +8818,7 @@ function Select({
8575
8818
  {
8576
8819
  as: "select",
8577
8820
  ...props,
8578
- className: classNames72({
8821
+ className: classNames73({
8579
8822
  "border peer w-full bg-eui-primary-300/10 pt-5 px-3 pb-2 text-md eui-text-md placeholder-transparent placeholder-shown:p-3 focus:border-eui-secondary-500 focus:outline-none h-[50px]": true,
8580
8823
  "border-eui-primary-400": !(meta.touched && meta.error),
8581
8824
  "border-red-500": meta.touched && meta.error,
@@ -8627,7 +8870,7 @@ function Switch({
8627
8870
  "div",
8628
8871
  {
8629
8872
  onClick: () => helpers.setValue(!field.value),
8630
- className: classNames72(
8873
+ className: classNames73(
8631
8874
  "w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer dark:bg-eui-dark-100",
8632
8875
  "peer-checked:after:translate-x-full peer-checked:after:border-white",
8633
8876
  "after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white",
@@ -8684,7 +8927,7 @@ function Tags({
8684
8927
  /* @__PURE__ */ jsxs(
8685
8928
  "div",
8686
8929
  {
8687
- className: classNames72(
8930
+ className: classNames73(
8688
8931
  "border rounded-sm flex flex-wrap items-center gap-2 px-2 pt-2 pb-6 min-h-[3rem]",
8689
8932
  {
8690
8933
  "bg-eui-primary-300/10 eui-text-md": true,
@@ -8732,7 +8975,7 @@ function Tags({
8732
8975
  InputLabel,
8733
8976
  {
8734
8977
  text: placeholder,
8735
- className: classNames72(
8978
+ className: classNames73(
8736
8979
  "absolute left-2 transition-all pointer-events-none text-eui-dark-200",
8737
8980
  input.length > 0 || field.value.length > 0 ? "top-[2px] text-[13.5px]" : "top-3 text-base"
8738
8981
  )
@@ -8773,7 +9016,7 @@ function TextArea({
8773
9016
  as: "textarea",
8774
9017
  ...field,
8775
9018
  ...props,
8776
- className: classNames72({
9019
+ className: classNames73({
8777
9020
  "border peer w-full bg-eui-primary-300/10 eui-text-md outline-none px-3 py-5 resize-none focus:resize-none focus:outline-none": true,
8778
9021
  "transition-all ease-in-out": true,
8779
9022
  "border-eui-primary-400 focus:border-eui-secondary-500": !(meta.touched && meta.error),
@@ -8787,7 +9030,7 @@ function TextArea({
8787
9030
  InputLabel,
8788
9031
  {
8789
9032
  text: placeholder,
8790
- className: classNames72(
9033
+ className: classNames73(
8791
9034
  "absolute left-2 transition-all pointer-events-none text-eui-dark-200",
8792
9035
  field.value ? "top-[2px] text-[13.5px]" : "top-3 text-base"
8793
9036
  )
@@ -8821,7 +9064,7 @@ function BreadcrumbItem({
8821
9064
  {
8822
9065
  href,
8823
9066
  onClick,
8824
- className: classNames72({
9067
+ className: classNames73({
8825
9068
  "text-lg font-semibold": true,
8826
9069
  "text-gray-400 hover:text-gray-600 cursor-pointer": !active,
8827
9070
  "text-eui-light-800": active,
@@ -8898,7 +9141,7 @@ var Breadcrumb = ({
8898
9141
  index3 < resolvedData.length - 1 && /* @__PURE__ */ jsx(
8899
9142
  "span",
8900
9143
  {
8901
- className: classNames72({
9144
+ className: classNames73({
8902
9145
  "text-lg font-semibold text-gray-500": true,
8903
9146
  [`px-${gap}`]: gap
8904
9147
  }),
@@ -8912,7 +9155,7 @@ var Breadcrumb = ({
8912
9155
  return /* @__PURE__ */ jsx(
8913
9156
  "div",
8914
9157
  {
8915
- className: classNames72({
9158
+ className: classNames73({
8916
9159
  "inline-flex": true,
8917
9160
  [`${styles}`]: styles
8918
9161
  }),
@@ -8956,7 +9199,7 @@ var Drawer = ({
8956
9199
  isMobile && showBackdrop && /* @__PURE__ */ jsx(TransitionFade_default, { visibility, leaveDuration: 200, children: /* @__PURE__ */ jsx(
8957
9200
  "div",
8958
9201
  {
8959
- className: classNames72(
9202
+ className: classNames73(
8960
9203
  "fixed inset-0 bg-black/50 z-40",
8961
9204
  backdropStyles
8962
9205
  ),
@@ -8967,7 +9210,7 @@ var Drawer = ({
8967
9210
  "div",
8968
9211
  {
8969
9212
  style: drawerStyle,
8970
- className: classNames72(
9213
+ className: classNames73(
8971
9214
  "fixed shadow-lg z-50",
8972
9215
  {
8973
9216
  "h-full w-[300px] top-0": isHorizontal && !hasOffset,
@@ -8996,7 +9239,7 @@ function DrawerToggler({
8996
9239
  return /* @__PURE__ */ jsx(
8997
9240
  "div",
8998
9241
  {
8999
- className: classNames72({
9242
+ className: classNames73({
9000
9243
  "text-xl p-3 cursor-pointer": true,
9001
9244
  "transition-all ease-in-out": true,
9002
9245
  "text-eui-dark-500 dark:text-eui-secondary-600": !styles,
@@ -9044,7 +9287,7 @@ function FooterNav({ data = [], styles }) {
9044
9287
  childrenContent = /* @__PURE__ */ jsx(
9045
9288
  "div",
9046
9289
  {
9047
- className: classNames72({
9290
+ className: classNames73({
9048
9291
  "grid w-full": true,
9049
9292
  "grid-cols-1": isMobile,
9050
9293
  "grid-cols-3": !isMobile,
@@ -9057,7 +9300,7 @@ function FooterNav({ data = [], styles }) {
9057
9300
  return /* @__PURE__ */ jsx(
9058
9301
  "div",
9059
9302
  {
9060
- className: classNames72({
9303
+ className: classNames73({
9061
9304
  [`${styles}`]: styles
9062
9305
  }),
9063
9306
  children: childrenContent
@@ -9098,7 +9341,7 @@ var FooterNavGroup = ({
9098
9341
  /* @__PURE__ */ jsx(
9099
9342
  "div",
9100
9343
  {
9101
- className: classNames72({
9344
+ className: classNames73({
9102
9345
  "": true,
9103
9346
  "py-2 font-semibold eui-text-lg": !styles,
9104
9347
  [`${styles}`]: styles
@@ -9143,7 +9386,7 @@ var FooterNavItem = ({
9143
9386
  "div",
9144
9387
  {
9145
9388
  onClick: handleNavigation,
9146
- className: classNames72({
9389
+ className: classNames73({
9147
9390
  "flex flex-row items-center gap-3 cursor-pointer p-1 w-full": true,
9148
9391
  "transition-all duration-200 ease-in-out": true,
9149
9392
  "text-sm eui-text-sm": !styles,
@@ -9172,7 +9415,7 @@ var FooterNavItemTitle = ({
9172
9415
  return /* @__PURE__ */ jsx(
9173
9416
  "div",
9174
9417
  {
9175
- className: classNames72({
9418
+ className: classNames73({
9176
9419
  "": true,
9177
9420
  "py-2 font-thin eui-text-md": !styles,
9178
9421
  [`${styles}`]: styles
@@ -9225,7 +9468,7 @@ function HeaderNav({ data = [], styles }) {
9225
9468
  return /* @__PURE__ */ jsx(
9226
9469
  "div",
9227
9470
  {
9228
- className: classNames72({
9471
+ className: classNames73({
9229
9472
  [`${styles}`]: styles
9230
9473
  }),
9231
9474
  children: childrenContent
@@ -9287,7 +9530,7 @@ var HeaderNavGroup = ({
9287
9530
  /* @__PURE__ */ jsxs(
9288
9531
  "div",
9289
9532
  {
9290
- className: classNames72({
9533
+ className: classNames73({
9291
9534
  "flex flex-row gap-2 items-center justify-between cursor-pointer p-3 w-full": true,
9292
9535
  "transition-all duration-300 ease-in-out": true,
9293
9536
  "eui-text-md bg-gradient-to-t from-eui-dark-500/10 dark:from-green-700/10": !styles,
@@ -9315,7 +9558,7 @@ var HeaderNavGroup = ({
9315
9558
  children3 && /* @__PURE__ */ jsx(
9316
9559
  BsChevronDown,
9317
9560
  {
9318
- className: classNames72({
9561
+ className: classNames73({
9319
9562
  "text-md": true,
9320
9563
  "transition-all ease-in-out duration-300": true,
9321
9564
  "rotate-180": !collapsed
@@ -9328,7 +9571,7 @@ var HeaderNavGroup = ({
9328
9571
  !collapsed && children3 && /* @__PURE__ */ jsx(
9329
9572
  "div",
9330
9573
  {
9331
- className: classNames72({
9574
+ className: classNames73({
9332
9575
  "absolute min-w-80 left-0 top-full mt-1 border border-eui-dark-300/10 dark:border-eui-dark-300/50 shadow-lg eui-shadow-lg z-50 w-full eui-bg-md": true,
9333
9576
  "transition-all duration-300 ease-in-out": true
9334
9577
  }),
@@ -9358,7 +9601,7 @@ var HeaderNavItem = ({
9358
9601
  "div",
9359
9602
  {
9360
9603
  onClick: handleNavigation,
9361
- className: classNames72({
9604
+ className: classNames73({
9362
9605
  "flex flex-row items-center gap-3 cursor-pointer p-3 w-full": true,
9363
9606
  "transition-all duration-200 ease-in-out": true,
9364
9607
  "eui-text-md border-b border-eui-dark-500/20 dark:border-eui-secondary-900/20 bg-gradient-to-r from-eui-dark-500/10 dark:from-eui-secondary-900/10": !styles,
@@ -9387,7 +9630,7 @@ var HeaderNavItemTitle = ({
9387
9630
  return /* @__PURE__ */ jsx(
9388
9631
  "div",
9389
9632
  {
9390
- className: classNames72({
9633
+ className: classNames73({
9391
9634
  "p-3 font-thin": true,
9392
9635
  "eui-text-md": !styles,
9393
9636
  [`${styles}`]: styles
@@ -9427,7 +9670,7 @@ var Link = ({
9427
9670
  href: href || "#",
9428
9671
  target: targets[target],
9429
9672
  onClick: handleClick,
9430
- className: classNames72({
9673
+ className: classNames73({
9431
9674
  [`${textVariants[variant]}`]: variant,
9432
9675
  [`${decorations[decoration]}`]: decoration,
9433
9676
  "font-bold": bold,
@@ -12619,7 +12862,7 @@ function Accordion({
12619
12862
  /* @__PURE__ */ jsxs(
12620
12863
  "div",
12621
12864
  {
12622
- className: classNames72(
12865
+ className: classNames73(
12623
12866
  "inline-flex gap-3 items-center px-3 py-2 w-full eui-gradient-to-r-general-xs",
12624
12867
  {
12625
12868
  "hover:cursor-pointer": toggleOnSummaryClick
@@ -12640,7 +12883,7 @@ function Accordion({
12640
12883
  children: /* @__PURE__ */ jsx(
12641
12884
  FaCircleChevronDown,
12642
12885
  {
12643
- className: classNames72("text-xl transition-transform duration-300", {
12886
+ className: classNames73("text-xl transition-transform duration-300", {
12644
12887
  "rotate-180": collapse
12645
12888
  })
12646
12889
  }
@@ -12654,7 +12897,7 @@ function Accordion({
12654
12897
  /* @__PURE__ */ jsx(TransitionAccordion_default, { visibility: collapse, children: /* @__PURE__ */ jsx(
12655
12898
  "div",
12656
12899
  {
12657
- className: classNames72(
12900
+ className: classNames73(
12658
12901
  "border-t border-t-eui-dark-400/40 eui-text-sm",
12659
12902
  {
12660
12903
  "p-5": enableChildrenPadding
@@ -12711,7 +12954,7 @@ function CardHeader({ icon, title, description, className }) {
12711
12954
  return /* @__PURE__ */ jsxs(
12712
12955
  "div",
12713
12956
  {
12714
- className: classNames72(
12957
+ className: classNames73(
12715
12958
  "flex items-start gap-4 p-6 border-b border-white/10",
12716
12959
  className
12717
12960
  ),
@@ -12727,14 +12970,14 @@ function CardHeader({ icon, title, description, className }) {
12727
12970
  }
12728
12971
  var CardHeader_default = CardHeader;
12729
12972
  function CardContent({ children: children3, className }) {
12730
- return /* @__PURE__ */ jsx("div", { className: classNames72("p-6 text-gray-300 text-sm", className), children: children3 });
12973
+ return /* @__PURE__ */ jsx("div", { className: classNames73("p-6 text-gray-300 text-sm", className), children: children3 });
12731
12974
  }
12732
12975
  var CardContent_default = CardContent;
12733
12976
  function CardFooter({ children: children3, className }) {
12734
12977
  return /* @__PURE__ */ jsx(
12735
12978
  "div",
12736
12979
  {
12737
- className: classNames72(
12980
+ className: classNames73(
12738
12981
  "flex items-center gap-3 p-5 border-t border-white/10 text-sm text-gray-400",
12739
12982
  className
12740
12983
  ),
@@ -12776,7 +13019,7 @@ function GradientAnimation({
12776
13019
  return /* @__PURE__ */ jsx(
12777
13020
  "div",
12778
13021
  {
12779
- className: classNames72("absolute inset-0"),
13022
+ className: classNames73("absolute inset-0"),
12780
13023
  style: {
12781
13024
  background: `linear-gradient(${cfg.angle}deg, ${cfg.colors?.join(",")})`,
12782
13025
  backgroundSize: cfg.backgroundSize,
@@ -12922,7 +13165,7 @@ function MotionSurface({
12922
13165
  }) {
12923
13166
  const AnimationComponent = animationVariant === "custom" ? CustomAnimation : animationRegistry[animationVariant];
12924
13167
  const OverlayComponent = overlay === "custom" ? CustomOverlay : overlayRegistry[overlay];
12925
- return /* @__PURE__ */ jsxs("div", { className: classNames72("relative overflow-hidden", className), children: [
13168
+ return /* @__PURE__ */ jsxs("div", { className: classNames73("relative overflow-hidden", className), children: [
12926
13169
  AnimationComponent && /* @__PURE__ */ jsx(AnimationComponent, { config: animationConfig, animated }),
12927
13170
  OverlayComponent && /* @__PURE__ */ jsx(OverlayComponent, { config: overlayConfig }),
12928
13171
  /* @__PURE__ */ jsx("div", { className: "relative z-10", children: children3 })
@@ -16304,20 +16547,6 @@ var Graph = ({
16304
16547
  }
16305
16548
  );
16306
16549
  };
16307
- var CloudinaryContext = createContext(null);
16308
- var CloudinaryProvider = ({
16309
- cloudName,
16310
- children: children3
16311
- }) => /* @__PURE__ */ jsx(CloudinaryContext.Provider, { value: { cloudName }, children: children3 });
16312
- var useCloudinaryConfig = () => {
16313
- const ctx = useContext(CloudinaryContext);
16314
- if (!ctx) {
16315
- throw new Error(
16316
- "CloudinaryProvider is missing. Wrap your app with <CloudinaryProvider />"
16317
- );
16318
- }
16319
- return ctx;
16320
- };
16321
16550
  var DEFAULT_PUBLIC_CLOUD = "demo";
16322
16551
  var CloudinaryImage2 = ({
16323
16552
  publicId = "sample",
@@ -18007,7 +18236,7 @@ var ThemeSwitch = () => {
18007
18236
  /* @__PURE__ */ jsx(
18008
18237
  "div",
18009
18238
  {
18010
- className: classNames72(
18239
+ className: classNames73(
18011
18240
  "w-6 h-6 bg-white dark:bg-gray-600 rounded-full shadow-md transition-transform duration-300",
18012
18241
  theme === "dark" ? "translate-x-8" : "translate-x-0"
18013
18242
  )
@@ -29776,7 +30005,7 @@ function Modal({
29776
30005
  "div",
29777
30006
  {
29778
30007
  ref: modalRef,
29779
- className: classNames72(
30008
+ className: classNames73(
29780
30009
  "eui-bg-md eui-shadow-lg border border-gray-700/80 w-fit h-fit",
29781
30010
  shapes[resolvedShape],
29782
30011
  styles
@@ -29788,7 +30017,7 @@ function Modal({
29788
30017
  "button",
29789
30018
  {
29790
30019
  type: "button",
29791
- className: classNames72(
30020
+ className: classNames73(
29792
30021
  "w-[60px] h-[60px] flex items-center justify-center transition-standard-fast",
29793
30022
  "hover:cursor-pointer hover:bg-eui-dark-500"
29794
30023
  ),
@@ -30180,7 +30409,7 @@ var ContentArea = forwardRef(
30180
30409
  "div",
30181
30410
  {
30182
30411
  ref,
30183
- className: classNames72({
30412
+ className: classNames73({
30184
30413
  "min-h-screen h-full w-full transition-all duration-[200ms]": true,
30185
30414
  "py-3 px-5": !enablePadding,
30186
30415
  "py-3 px-5 lg:px-[150px]": enablePadding,
@@ -30197,7 +30426,7 @@ function FlexCol({ children: children3, gap = 3, styles }) {
30197
30426
  return /* @__PURE__ */ jsx(
30198
30427
  "div",
30199
30428
  {
30200
- className: classNames72({
30429
+ className: classNames73({
30201
30430
  [`flex flex-col gap-${gap}`]: true,
30202
30431
  [`${styles}`]: styles
30203
30432
  }),
@@ -30210,7 +30439,7 @@ function FlexRow({ children: children3, gap = 3, styles }) {
30210
30439
  return /* @__PURE__ */ jsx(
30211
30440
  "div",
30212
30441
  {
30213
- className: classNames72({
30442
+ className: classNames73({
30214
30443
  [`flex flex-row gap-${gap}`]: true,
30215
30444
  [`${styles}`]: styles
30216
30445
  }),
@@ -30229,7 +30458,7 @@ function Grid({ children: children3, styles }) {
30229
30458
  return /* @__PURE__ */ jsx(
30230
30459
  "div",
30231
30460
  {
30232
- className: classNames72({
30461
+ className: classNames73({
30233
30462
  [`grid`]: true,
30234
30463
  [`${styles}`]: styles
30235
30464
  }),
@@ -30246,7 +30475,7 @@ var Layout = ({
30246
30475
  return /* @__PURE__ */ jsx(
30247
30476
  "div",
30248
30477
  {
30249
- className: classNames72({
30478
+ className: classNames73({
30250
30479
  // "flex h-full w-screen bg-gray-100 overflow-auto": true,
30251
30480
  "flex bg-eui-light-600": true,
30252
30481
  "flex-col": flexDirection === "vertical",
@@ -30268,7 +30497,7 @@ var Header = ({
30268
30497
  return /* @__PURE__ */ jsx(
30269
30498
  "div",
30270
30499
  {
30271
- className: classNames72({
30500
+ className: classNames73({
30272
30501
  static: position4 === "static",
30273
30502
  fixed: position4 === "fixed",
30274
30503
  sticky: position4 === "sticky",
@@ -30303,7 +30532,7 @@ var Content = ({
30303
30532
  return /* @__PURE__ */ jsx(
30304
30533
  "div",
30305
30534
  {
30306
- className: classNames72({
30535
+ className: classNames73({
30307
30536
  "w-full min-h-screen transition-all duration-200 eui-bg-sm": true,
30308
30537
  "md:pl-[300px]": !overlayedSidebar && sidebarVisible && !isMobile,
30309
30538
  // Shift when sidebar is open (desktop)
@@ -30319,7 +30548,7 @@ var Footer = ({ children: children3, styles }) => {
30319
30548
  return /* @__PURE__ */ jsx(
30320
30549
  "div",
30321
30550
  {
30322
- className: classNames72({
30551
+ className: classNames73({
30323
30552
  "bottom-0 w-full h-fit": true,
30324
30553
  "border-t border-eui-dark-500/40 dark:border-eui-secondary-800 eui-bg-md": !styles,
30325
30554
  [`${styles}`]: styles
@@ -30507,7 +30736,7 @@ function ShowMore({ text: text10, limit }) {
30507
30736
  /* @__PURE__ */ jsx(
30508
30737
  "div",
30509
30738
  {
30510
- className: classNames72({
30739
+ className: classNames73({
30511
30740
  "text-blue-300 px-1 pb-1 mt-1": true,
30512
30741
  "bg-slate-900/70": !showMore,
30513
30742
  "bg-gradient-to-t from-slate-900/50 to-transparent": showMore
@@ -31423,7 +31652,7 @@ function DocumentationPanel({
31423
31652
  return /* @__PURE__ */ jsx(MarkdownProvider_default, { markdown: value, children: /* @__PURE__ */ jsxs(
31424
31653
  "section",
31425
31654
  {
31426
- className: classNames72(
31655
+ className: classNames73(
31427
31656
  "eui-documentation-panel",
31428
31657
  "min-h-0 overflow-hidden bg-white text-gray-900",
31429
31658
  "dark:bg-gray-950 dark:text-gray-100",
@@ -31437,7 +31666,7 @@ function DocumentationPanel({
31437
31666
  /* @__PURE__ */ jsx(
31438
31667
  "main",
31439
31668
  {
31440
- className: classNames72(
31669
+ className: classNames73(
31441
31670
  "eui-documentation-panel-viewer",
31442
31671
  "documentation-panel-scrollbar min-w-0 overflow-y-auto scroll-smooth",
31443
31672
  viewerClassName
@@ -31445,7 +31674,7 @@ function DocumentationPanel({
31445
31674
  children: /* @__PURE__ */ jsx(
31446
31675
  "div",
31447
31676
  {
31448
- className: classNames72(
31677
+ className: classNames73(
31449
31678
  "mx-auto px-5 py-8 sm:px-6 lg:px-8",
31450
31679
  contentMaxWidthClassName,
31451
31680
  contentClassName
@@ -31458,7 +31687,7 @@ function DocumentationPanel({
31458
31687
  toc ? /* @__PURE__ */ jsx(
31459
31688
  "aside",
31460
31689
  {
31461
- className: classNames72(
31690
+ className: classNames73(
31462
31691
  "eui-documentation-panel-toc",
31463
31692
  "hidden min-w-0 border-l border-gray-200 bg-white lg:block",
31464
31693
  "dark:border-gray-800 dark:bg-gray-950",
@@ -31467,7 +31696,7 @@ function DocumentationPanel({
31467
31696
  children: /* @__PURE__ */ jsx(
31468
31697
  "div",
31469
31698
  {
31470
- className: classNames72(
31699
+ className: classNames73(
31471
31700
  "documentation-panel-scrollbar h-full overflow-y-auto px-5 py-8"
31472
31701
  ),
31473
31702
  children: /* @__PURE__ */ jsx("div", { className: "sticky top-0", children: /* @__PURE__ */ jsx(MarkdownTOC_default, {}) })
@@ -31743,7 +31972,7 @@ function BoxNavItem({ icon, name: name2, to, selected, onClick }) {
31743
31972
  type: "button",
31744
31973
  onClick: handleClick,
31745
31974
  "aria-current": selected ? "page" : void 0,
31746
- className: classNames72(
31975
+ className: classNames73(
31747
31976
  "w-full min-w-[80px] flex flex-col items-center justify-center py-3 text-center",
31748
31977
  "hover:text-secondary-700 hover:bg-gray-300/10 hover:cursor-pointer",
31749
31978
  selected ? "text-eui-secondary-700 bg-gray-300/10" : "text-gray-400",
@@ -34445,11 +34674,11 @@ function addChildren(props, children3) {
34445
34674
  }
34446
34675
  }
34447
34676
  }
34448
- function productionCreate(_2, jsx257, jsxs129) {
34677
+ function productionCreate(_2, jsx256, jsxs129) {
34449
34678
  return create3;
34450
34679
  function create3(_3, type2, props, key) {
34451
34680
  const isStaticChildren = Array.isArray(props.children);
34452
- const fn = isStaticChildren ? jsxs129 : jsx257;
34681
+ const fn = isStaticChildren ? jsxs129 : jsx256;
34453
34682
  return key ? fn(type2, props, key) : fn(type2, props);
34454
34683
  }
34455
34684
  }
@@ -54480,7 +54709,7 @@ function MarkdownHeading({
54480
54709
  id: id2,
54481
54710
  level: typographyLevel,
54482
54711
  bold: true,
54483
- className: classNames72(
54712
+ className: classNames73(
54484
54713
  "eui-markdown-heading group relative scroll-mt-24 font-bold leading-tight text-gray-900 dark:text-gray-100",
54485
54714
  HEADING_STYLES[level],
54486
54715
  className
@@ -54643,18 +54872,18 @@ function powerSetPermutations(arr) {
54643
54872
  }
54644
54873
  }
54645
54874
  var classNameCombinations = {};
54646
- function getClassNameCombinations(classNames76) {
54647
- if (classNames76.length === 0 || classNames76.length === 1) return classNames76;
54648
- var key = classNames76.join(".");
54875
+ function getClassNameCombinations(classNames77) {
54876
+ if (classNames77.length === 0 || classNames77.length === 1) return classNames77;
54877
+ var key = classNames77.join(".");
54649
54878
  if (!classNameCombinations[key]) {
54650
- classNameCombinations[key] = powerSetPermutations(classNames76);
54879
+ classNameCombinations[key] = powerSetPermutations(classNames77);
54651
54880
  }
54652
54881
  return classNameCombinations[key];
54653
54882
  }
54654
- function createStyleObject(classNames76) {
54883
+ function createStyleObject(classNames77) {
54655
54884
  var elementStyle = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
54656
54885
  var stylesheet = arguments.length > 2 ? arguments[2] : void 0;
54657
- var nonTokenClassNames = classNames76.filter(function(className) {
54886
+ var nonTokenClassNames = classNames77.filter(function(className) {
54658
54887
  return className !== "token";
54659
54888
  });
54660
54889
  var classNamesCombinations = getClassNameCombinations(nonTokenClassNames);
@@ -54662,8 +54891,8 @@ function createStyleObject(classNames76) {
54662
54891
  return _objectSpread(_objectSpread({}, styleObject), stylesheet[className]);
54663
54892
  }, elementStyle);
54664
54893
  }
54665
- function createClassNameString(classNames76) {
54666
- return classNames76.join(" ");
54894
+ function createClassNameString(classNames77) {
54895
+ return classNames77.join(" ");
54667
54896
  }
54668
54897
  function createChildren2(stylesheet, useInlineStyles) {
54669
54898
  var childrenCount = 0;
@@ -54836,8 +55065,8 @@ function flattenCodeTree(tree) {
54836
55065
  }));
54837
55066
  } else if (node2.children) {
54838
55067
  var _node$properties;
54839
- var classNames76 = className.concat(((_node$properties = node2.properties) === null || _node$properties === void 0 ? void 0 : _node$properties.className) || []);
54840
- flattenCodeTree(node2.children, classNames76).forEach(function(i2) {
55068
+ var classNames77 = className.concat(((_node$properties = node2.properties) === null || _node$properties === void 0 ? void 0 : _node$properties.className) || []);
55069
+ flattenCodeTree(node2.children, classNames77).forEach(function(i2) {
54841
55070
  return newTree.push(i2);
54842
55071
  });
54843
55072
  }
@@ -55368,7 +55597,7 @@ var json_default = json;
55368
55597
 
55369
55598
  // node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
55370
55599
  init_jsx();
55371
- var jsx_default = jsx218;
55600
+ var jsx_default = jsx217;
55372
55601
 
55373
55602
  // node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js
55374
55603
  init_markup();
@@ -55501,7 +55730,7 @@ function MarkdownCodeBlock({
55501
55730
  "div",
55502
55731
  {
55503
55732
  ...props,
55504
- className: classNames72(
55733
+ className: classNames73(
55505
55734
  "eui-markdown-code my-6 overflow-hidden rounded-md border border-slate-700 bg-[#0d1117] text-slate-300",
55506
55735
  className
55507
55736
  ),
@@ -55572,7 +55801,7 @@ function MarkdownInlineCode({
55572
55801
  Code,
55573
55802
  {
55574
55803
  ...props,
55575
- className: classNames72(
55804
+ className: classNames73(
55576
55805
  "eui-markdown-inline-code whitespace-break-spaces rounded-md border border-gray-300/70 bg-gray-200/60 px-1.5 py-0.5 font-mono text-[0.875em] font-medium text-gray-900 dark:border-gray-600/70 dark:bg-gray-700/50 dark:text-gray-200",
55577
55806
  className
55578
55807
  ),
@@ -55613,7 +55842,7 @@ function MarkdownLink({
55613
55842
  href: safeHref,
55614
55843
  target: resolvedTarget,
55615
55844
  rel,
55616
- className: classNames72(
55845
+ className: classNames73(
55617
55846
  "eui-markdown-link font-medium text-blue-600 underline underline-offset-4 transition-colors hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300",
55618
55847
  className
55619
55848
  ),
@@ -55648,7 +55877,7 @@ function MarkdownImage({
55648
55877
  title,
55649
55878
  loading: "lazy",
55650
55879
  decoding: "async",
55651
- className: classNames72(
55880
+ className: classNames73(
55652
55881
  "eui-markdown-image my-6 h-auto max-w-full rounded-md border border-gray-200 dark:border-gray-700",
55653
55882
  className
55654
55883
  )
@@ -55665,7 +55894,7 @@ function MarkdownTable({
55665
55894
  TableElement,
55666
55895
  {
55667
55896
  ...props,
55668
- className: classNames72(
55897
+ className: classNames73(
55669
55898
  "eui-markdown-table w-full border-collapse text-[0.925rem]",
55670
55899
  className
55671
55900
  ),
@@ -55682,7 +55911,7 @@ function MarkdownTableCell({
55682
55911
  TableCell,
55683
55912
  {
55684
55913
  ...props,
55685
- className: classNames72(
55914
+ className: classNames73(
55686
55915
  "eui-markdown-table-cell border-b border-r border-gray-200 p-3 text-left align-top last:border-r-0 dark:border-gray-700",
55687
55916
  className
55688
55917
  ),
@@ -55699,7 +55928,7 @@ function MarkdownTableHeaderCell({
55699
55928
  TableHeaderCell,
55700
55929
  {
55701
55930
  ...props,
55702
- className: classNames72(
55931
+ className: classNames73(
55703
55932
  "eui-markdown-table-header-cell border-b border-r border-gray-200 p-3 text-left align-top font-bold text-gray-900 last:border-r-0 dark:border-gray-700 dark:text-gray-100",
55704
55933
  className
55705
55934
  ),
@@ -55715,7 +55944,7 @@ function MarkdownTableHead({
55715
55944
  TableHead,
55716
55945
  {
55717
55946
  ...props,
55718
- className: classNames72(
55947
+ className: classNames73(
55719
55948
  "eui-markdown-table-head bg-gray-50 dark:bg-gray-900",
55720
55949
  className
55721
55950
  )
@@ -55730,7 +55959,7 @@ function MarkdownTableBody({
55730
55959
  TableBody,
55731
55960
  {
55732
55961
  ...props,
55733
- className: classNames72("eui-markdown-table-body", className)
55962
+ className: classNames73("eui-markdown-table-body", className)
55734
55963
  }
55735
55964
  );
55736
55965
  }
@@ -55742,7 +55971,7 @@ function MarkdownTableRow({
55742
55971
  TableRow,
55743
55972
  {
55744
55973
  ...props,
55745
- className: classNames72(
55974
+ className: classNames73(
55746
55975
  "eui-markdown-table-row even:bg-gray-50/70 dark:even:bg-gray-900/60",
55747
55976
  className
55748
55977
  )
@@ -55760,7 +55989,7 @@ function MarkdownBlockquote({
55760
55989
  {
55761
55990
  ...props,
55762
55991
  as: "blockquote",
55763
- className: classNames72(
55992
+ className: classNames73(
55764
55993
  "eui-markdown-blockquote my-6 border-l-4 border-gray-300 bg-transparent px-4 py-0 text-gray-600 [&>*:first-child]:mt-0 [&>*:last-child]:mb-0 dark:border-gray-700 dark:text-gray-400",
55765
55994
  className
55766
55995
  ),
@@ -55779,7 +56008,7 @@ function MarkdownParagraph({
55779
56008
  {
55780
56009
  ...props,
55781
56010
  level: 1,
55782
- className: classNames72("eui-markdown-paragraph my-4", className),
56011
+ className: classNames73("eui-markdown-paragraph my-4", className),
55783
56012
  children: /* @__PURE__ */ jsx(Fragment, { children: children3 })
55784
56013
  }
55785
56014
  );
@@ -55790,7 +56019,7 @@ function MarkdownStrong({ className, ...props }) {
55790
56019
  "strong",
55791
56020
  {
55792
56021
  ...props,
55793
- className: classNames72(
56022
+ className: classNames73(
55794
56023
  "eui-markdown-strong font-semibold text-gray-950 dark:text-gray-100",
55795
56024
  className
55796
56025
  )
@@ -55803,7 +56032,7 @@ function MarkdownEmphasis({ className, ...props }) {
55803
56032
  "em",
55804
56033
  {
55805
56034
  ...props,
55806
- className: classNames72("eui-markdown-emphasis italic", className)
56035
+ className: classNames73("eui-markdown-emphasis italic", className)
55807
56036
  }
55808
56037
  );
55809
56038
  }
@@ -55816,7 +56045,7 @@ function MarkdownStrikethrough({
55816
56045
  "del",
55817
56046
  {
55818
56047
  ...props,
55819
- className: classNames72(
56048
+ className: classNames73(
55820
56049
  "eui-markdown-strikethrough text-gray-500 dark:text-gray-400",
55821
56050
  className
55822
56051
  )
@@ -55877,7 +56106,7 @@ function MarkdownTaskCheckbox({
55877
56106
  "input",
55878
56107
  {
55879
56108
  ...props,
55880
- className: classNames72(
56109
+ className: classNames73(
55881
56110
  "eui-markdown-task-checkbox mr-2 translate-y-px accent-blue-600",
55882
56111
  className
55883
56112
  )
@@ -55893,7 +56122,7 @@ function MarkdownThematicBreak({
55893
56122
  "hr",
55894
56123
  {
55895
56124
  ...props,
55896
- className: classNames72(
56125
+ className: classNames73(
55897
56126
  "eui-markdown-thematic-break my-8 border-0 border-t border-gray-200 dark:border-gray-800",
55898
56127
  className
55899
56128
  )
@@ -55910,7 +56139,7 @@ function MarkdownDetails({ className, ...props }) {
55910
56139
  "details",
55911
56140
  {
55912
56141
  ...props,
55913
- className: classNames72(
56142
+ className: classNames73(
55914
56143
  "eui-markdown-details my-4 rounded-md border border-gray-200 bg-gray-50 px-4 py-3 dark:border-gray-800 dark:bg-gray-900",
55915
56144
  className
55916
56145
  )
@@ -55922,7 +56151,7 @@ function MarkdownSummary({ className, ...props }) {
55922
56151
  "summary",
55923
56152
  {
55924
56153
  ...props,
55925
- className: classNames72(
56154
+ className: classNames73(
55926
56155
  "eui-markdown-summary cursor-pointer font-semibold text-gray-950 dark:text-gray-100",
55927
56156
  className
55928
56157
  )
@@ -55934,7 +56163,7 @@ function MarkdownFigure({ className, ...props }) {
55934
56163
  "figure",
55935
56164
  {
55936
56165
  ...props,
55937
- className: classNames72("eui-markdown-figure my-6", className)
56166
+ className: classNames73("eui-markdown-figure my-6", className)
55938
56167
  }
55939
56168
  );
55940
56169
  }
@@ -55946,7 +56175,7 @@ function MarkdownFigcaption({
55946
56175
  return /* @__PURE__ */ jsx("figcaption", { ...props, className: "eui-markdown-figcaption mt-2 text-center", children: /* @__PURE__ */ jsx(
55947
56176
  Caption,
55948
56177
  {
55949
- className: classNames72(
56178
+ className: classNames73(
55950
56179
  "text-gray-500 opacity-100 dark:text-gray-400",
55951
56180
  className
55952
56181
  ),
@@ -56345,14 +56574,14 @@ function MarkdownRenderer({
56345
56574
  return /* @__PURE__ */ jsx(
56346
56575
  "div",
56347
56576
  {
56348
- className: classNames72(
56577
+ className: classNames73(
56349
56578
  "eui-markdown markdown-body break-words bg-transparent text-[0.95rem] leading-7 text-gray-800 dark:text-gray-300",
56350
56579
  className
56351
56580
  ),
56352
56581
  children: /* @__PURE__ */ jsx(
56353
56582
  "div",
56354
56583
  {
56355
- className: classNames72(
56584
+ className: classNames73(
56356
56585
  "[&>*:first-child]:mt-0 [&>*:last-child]:mb-0",
56357
56586
  contentClassName
56358
56587
  ),
@@ -56430,11 +56659,11 @@ function MarkdownTOCItem({
56430
56659
  onClick: () => onSelect?.(heading3),
56431
56660
  "aria-current": active ? "location" : void 0,
56432
56661
  title: label,
56433
- className: classNames72(
56662
+ className: classNames73(
56434
56663
  "eui-markdown-toc-item",
56435
56664
  "block w-full text-left text-sm transition-all ease-in-out duration-150",
56436
56665
  "hover:text-primary",
56437
- active ? classNames72("text-primary font-semibold underline", activeClassName) : classNames72("text-gray-500 dark:text-gray-400", inactiveClassName),
56666
+ active ? classNames73("text-primary font-semibold underline", activeClassName) : classNames73("text-gray-500 dark:text-gray-400", inactiveClassName),
56438
56667
  className
56439
56668
  ),
56440
56669
  style: {
@@ -56500,7 +56729,7 @@ function MarkdownTOC({
56500
56729
  return emptyState ? /* @__PURE__ */ jsx(
56501
56730
  "div",
56502
56731
  {
56503
- className: classNames72(
56732
+ className: classNames73(
56504
56733
  "eui-markdown-toc",
56505
56734
  "text-sm text-gray-500 dark:text-gray-400",
56506
56735
  className
@@ -56520,7 +56749,7 @@ function MarkdownTOC({
56520
56749
  {
56521
56750
  type: "button",
56522
56751
  onClick: () => setCollapsed((value) => !value),
56523
- className: classNames72(
56752
+ className: classNames73(
56524
56753
  "eui-markdown-toc-title",
56525
56754
  "flex w-full items-center justify-between gap-2 text-left",
56526
56755
  "text-sm font-semibold uppercase tracking-wide",
@@ -56533,7 +56762,7 @@ function MarkdownTOC({
56533
56762
  /* @__PURE__ */ jsx(
56534
56763
  "span",
56535
56764
  {
56536
- className: classNames72(
56765
+ className: classNames73(
56537
56766
  "text-xs opacity-60 transition-transform duration-150",
56538
56767
  !collapsed && "rotate-90"
56539
56768
  ),
@@ -56546,7 +56775,7 @@ function MarkdownTOC({
56546
56775
  ) : /* @__PURE__ */ jsx(
56547
56776
  "h2",
56548
56777
  {
56549
- className: classNames72(
56778
+ className: classNames73(
56550
56779
  "eui-markdown-toc-title",
56551
56780
  "text-sm font-semibold uppercase tracking-wide",
56552
56781
  "text-gray-900 dark:text-gray-100",
@@ -56558,7 +56787,7 @@ function MarkdownTOC({
56558
56787
  !collapsed ? /* @__PURE__ */ jsx(
56559
56788
  "nav",
56560
56789
  {
56561
- className: classNames72(
56790
+ className: classNames73(
56562
56791
  "eui-markdown-toc-list",
56563
56792
  "space-y-1",
56564
56793
  listClassName
@@ -56582,7 +56811,7 @@ function MarkdownTOC({
56582
56811
  }
56583
56812
  ) : null
56584
56813
  ] });
56585
- return /* @__PURE__ */ jsx("aside", { className: classNames72("eui-markdown-toc", "space-y-4", className), children: content3 });
56814
+ return /* @__PURE__ */ jsx("aside", { className: classNames73("eui-markdown-toc", "space-y-4", className), children: content3 });
56586
56815
  }
56587
56816
  var MarkdownTOC_default = MarkdownTOC;
56588
56817
  var DEFAULT_MARKDOWN_TOOLBAR_ACTIONS = [
@@ -56681,7 +56910,7 @@ function MarkdownToolbar({
56681
56910
  return /* @__PURE__ */ jsxs(
56682
56911
  "div",
56683
56912
  {
56684
- className: classNames72(
56913
+ className: classNames73(
56685
56914
  "eui-markdown-toolbar",
56686
56915
  "flex flex-wrap items-center gap-1 border-b border-gray-200 bg-gray-50 p-2",
56687
56916
  "dark:border-gray-700 dark:bg-gray-900",
@@ -56695,7 +56924,7 @@ function MarkdownToolbar({
56695
56924
  disabled: disabled || actionsDisabled,
56696
56925
  title: action.shortcut ? `${action.title || action.label} (${action.shortcut})` : action.title || action.label,
56697
56926
  onClick: () => onAction?.(action.id),
56698
- className: classNames72(
56927
+ className: classNames73(
56699
56928
  "eui-markdown-toolbar-button",
56700
56929
  "inline-flex items-center justify-center rounded border border-transparent",
56701
56930
  "text-gray-700 transition-colors hover:border-gray-300 hover:bg-white",
@@ -56715,7 +56944,7 @@ function MarkdownToolbar({
56715
56944
  disabled,
56716
56945
  onClick: onViewModeToggle,
56717
56946
  title: isPreviewMode ? "Switch to Markdown syntax" : "Switch to preview",
56718
- className: classNames72(
56947
+ className: classNames73(
56719
56948
  "eui-markdown-view-toggle",
56720
56949
  "inline-flex items-center justify-center rounded border font-medium transition-colors",
56721
56950
  "border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -56972,7 +57201,7 @@ function MarkdownSourceEditor({
56972
57201
  return /* @__PURE__ */ jsxs(
56973
57202
  "div",
56974
57203
  {
56975
- className: classNames72(
57204
+ className: classNames73(
56976
57205
  "eui-markdown-editor",
56977
57206
  "overflow-hidden rounded border border-gray-300 bg-white",
56978
57207
  "dark:border-gray-700 dark:bg-gray-950",
@@ -56988,7 +57217,7 @@ function MarkdownSourceEditor({
56988
57217
  actionsDisabled: readOnly,
56989
57218
  viewMode: currentViewMode,
56990
57219
  showViewModeToggle,
56991
- className: classNames72(toolbarClassName, toolbarProps?.className),
57220
+ className: classNames73(toolbarClassName, toolbarProps?.className),
56992
57221
  onViewModeToggle: toggleViewMode,
56993
57222
  onAction: handleToolbarAction
56994
57223
  }
@@ -56996,7 +57225,7 @@ function MarkdownSourceEditor({
56996
57225
  currentViewMode === "preview" ? /* @__PURE__ */ jsx(
56997
57226
  "div",
56998
57227
  {
56999
- className: classNames72(
57228
+ className: classNames73(
57000
57229
  "eui-markdown-editor-preview",
57001
57230
  "min-h-[260px] p-4",
57002
57231
  previewClassName
@@ -57019,7 +57248,7 @@ function MarkdownSourceEditor({
57019
57248
  onChange: (event) => updateValue(event.target.value),
57020
57249
  onBlur,
57021
57250
  onKeyDown: handleKeyDown,
57022
- className: classNames72(
57251
+ className: classNames73(
57023
57252
  "eui-markdown-source-textarea",
57024
57253
  "block w-full resize-y border-0 bg-transparent p-4 font-mono text-sm leading-7",
57025
57254
  "text-gray-900 outline-none placeholder:text-gray-400",
@@ -57049,7 +57278,7 @@ function MarkdownPreviewPane({
57049
57278
  return /* @__PURE__ */ jsx(
57050
57279
  "div",
57051
57280
  {
57052
- className: classNames72(
57281
+ className: classNames73(
57053
57282
  "eui-markdown-preview-pane",
57054
57283
  "rounded border border-gray-300 bg-white p-4",
57055
57284
  "dark:border-gray-700 dark:bg-gray-950",
@@ -57099,7 +57328,7 @@ function MarkdownSplitEditor({
57099
57328
  return /* @__PURE__ */ jsxs(
57100
57329
  "div",
57101
57330
  {
57102
- className: classNames72(
57331
+ className: classNames73(
57103
57332
  "eui-markdown-split-editor",
57104
57333
  "grid gap-4",
57105
57334
  isHorizontal ? "grid-cols-1 lg:grid-cols-2" : "grid-cols-1",
@@ -57109,7 +57338,7 @@ function MarkdownSplitEditor({
57109
57338
  /* @__PURE__ */ jsxs(
57110
57339
  "div",
57111
57340
  {
57112
- className: classNames72(
57341
+ className: classNames73(
57113
57342
  "eui-markdown-split-source",
57114
57343
  "min-w-0 space-y-2",
57115
57344
  sourceWrapperClassName
@@ -57133,7 +57362,7 @@ function MarkdownSplitEditor({
57133
57362
  /* @__PURE__ */ jsxs(
57134
57363
  "div",
57135
57364
  {
57136
- className: classNames72(
57365
+ className: classNames73(
57137
57366
  "eui-markdown-split-preview",
57138
57367
  "min-w-0 space-y-2",
57139
57368
  previewWrapperClassName
@@ -57223,7 +57452,7 @@ function MarkdownField({
57223
57452
  return /* @__PURE__ */ jsxs(
57224
57453
  "div",
57225
57454
  {
57226
- className: classNames72(
57455
+ className: classNames73(
57227
57456
  "eui-markdown-field",
57228
57457
  "relative space-y-2",
57229
57458
  wrapperClassName
@@ -57233,7 +57462,7 @@ function MarkdownField({
57233
57462
  "label",
57234
57463
  {
57235
57464
  htmlFor: editorProps.id || field.name,
57236
- className: classNames72(
57465
+ className: classNames73(
57237
57466
  "block text-sm font-medium text-gray-700 dark:text-gray-200",
57238
57467
  labelClassName
57239
57468
  ),
@@ -57258,7 +57487,7 @@ function MarkdownField({
57258
57487
  helperText && !hasError ? /* @__PURE__ */ jsx(
57259
57488
  "p",
57260
57489
  {
57261
- className: classNames72(
57490
+ className: classNames73(
57262
57491
  "text-sm text-gray-500 dark:text-gray-400",
57263
57492
  helperTextClassName
57264
57493
  ),
@@ -57313,7 +57542,7 @@ function CodeMirrorMarkdownEditor({
57313
57542
  {
57314
57543
  id: id2,
57315
57544
  "data-name": name2,
57316
- className: classNames72(
57545
+ className: classNames73(
57317
57546
  "eui-markdown-adapter",
57318
57547
  "eui-markdown-codemirror-adapter",
57319
57548
  "overflow-hidden rounded border border-gray-300 bg-white",
@@ -57347,7 +57576,7 @@ function CodeMirrorMarkdownEditor({
57347
57576
  closeBrackets: true,
57348
57577
  bracketMatching: true
57349
57578
  },
57350
- className: classNames72("eui-markdown-codemirror", editorClassName),
57579
+ className: classNames73("eui-markdown-codemirror", editorClassName),
57351
57580
  onChange: updateValue,
57352
57581
  onBlur
57353
57582
  }
@@ -57442,7 +57671,7 @@ function createDefaultPlugins({
57442
57671
  ...showToolbar ? [
57443
57672
  toolbarPlugin({
57444
57673
  toolbarContents: toolbarContents ?? DefaultToolbar,
57445
- toolbarClassName: classNames72(
57674
+ toolbarClassName: classNames73(
57446
57675
  "eui-markdown-mdx-toolbar",
57447
57676
  toolbarClassName
57448
57677
  ),
@@ -57559,7 +57788,7 @@ var MDXMarkdownEditor = forwardRef(
57559
57788
  "aria-required": required || void 0,
57560
57789
  "aria-invalid": invalid || void 0,
57561
57790
  onBlurCapture: handleBlur,
57562
- className: classNames72(
57791
+ className: classNames73(
57563
57792
  "eui-markdown-adapter",
57564
57793
  "eui-markdown-mdx-adapter",
57565
57794
  dark && ["dark", "dark-theme"],
@@ -57577,8 +57806,8 @@ var MDXMarkdownEditor = forwardRef(
57577
57806
  markdown: currentValue ?? "",
57578
57807
  readOnly: disabled || readOnly,
57579
57808
  plugins: plugins ?? defaultPlugins,
57580
- className: classNames72("eui-markdown-mdx-editor", editorClassName),
57581
- contentEditableClassName: classNames72(
57809
+ className: classNames73("eui-markdown-mdx-editor", editorClassName),
57810
+ contentEditableClassName: classNames73(
57582
57811
  "eui-markdown-mdx-content",
57583
57812
  contentEditableClassName
57584
57813
  ),
@@ -57615,7 +57844,7 @@ function MDXMarkdownField({
57615
57844
  return /* @__PURE__ */ jsxs(
57616
57845
  "div",
57617
57846
  {
57618
- className: classNames72(
57847
+ className: classNames73(
57619
57848
  "eui-markdown-mdx-field",
57620
57849
  "relative space-y-2",
57621
57850
  wrapperClassName
@@ -57625,7 +57854,7 @@ function MDXMarkdownField({
57625
57854
  "label",
57626
57855
  {
57627
57856
  htmlFor: editorId,
57628
- className: classNames72(
57857
+ className: classNames73(
57629
57858
  "block text-sm font-medium text-gray-700 dark:text-gray-200",
57630
57859
  labelClassName
57631
57860
  ),
@@ -57659,7 +57888,7 @@ function MDXMarkdownField({
57659
57888
  "p",
57660
57889
  {
57661
57890
  id: helperId,
57662
- className: classNames72(
57891
+ className: classNames73(
57663
57892
  "text-sm text-gray-500 dark:text-gray-400",
57664
57893
  helperTextClassName
57665
57894
  ),
@@ -57719,10 +57948,10 @@ function MarkdownLayout({
57719
57948
  };
57720
57949
  const hasLeftToc = hasToc && tocPosition === "left";
57721
57950
  const hasRightToc = hasToc && tocPosition === "right";
57722
- return /* @__PURE__ */ jsx("div", { className: classNames72("eui-markdown-layout", "w-full", className), children: /* @__PURE__ */ jsxs(
57951
+ return /* @__PURE__ */ jsx("div", { className: classNames73("eui-markdown-layout", "w-full", className), children: /* @__PURE__ */ jsxs(
57723
57952
  "div",
57724
57953
  {
57725
- className: classNames72(
57954
+ className: classNames73(
57726
57955
  "eui-markdown-layout-container",
57727
57956
  "mx-auto w-full px-4 sm:px-6 lg:px-8",
57728
57957
  containerClassName
@@ -57734,7 +57963,7 @@ function MarkdownLayout({
57734
57963
  header ? /* @__PURE__ */ jsx(
57735
57964
  "header",
57736
57965
  {
57737
- className: classNames72(
57966
+ className: classNames73(
57738
57967
  "eui-markdown-layout-header",
57739
57968
  "mb-8",
57740
57969
  headerClassName
@@ -57745,7 +57974,7 @@ function MarkdownLayout({
57745
57974
  /* @__PURE__ */ jsxs(
57746
57975
  "div",
57747
57976
  {
57748
- className: classNames72(
57977
+ className: classNames73(
57749
57978
  "eui-markdown-layout-grid",
57750
57979
  "grid grid-cols-1 gap-8",
57751
57980
  hasSidebar && hasToc && "xl:grid-cols-[16rem_minmax(0,1fr)_18rem]",
@@ -57758,7 +57987,7 @@ function MarkdownLayout({
57758
57987
  hasSidebar ? /* @__PURE__ */ jsx(
57759
57988
  "aside",
57760
57989
  {
57761
- className: classNames72(
57990
+ className: classNames73(
57762
57991
  "eui-markdown-layout-sidebar",
57763
57992
  "min-w-0",
57764
57993
  stickySidebar && "lg:sticky lg:self-start",
@@ -57771,7 +58000,7 @@ function MarkdownLayout({
57771
58000
  hasLeftToc ? /* @__PURE__ */ jsx(
57772
58001
  "aside",
57773
58002
  {
57774
- className: classNames72(
58003
+ className: classNames73(
57775
58004
  "eui-markdown-layout-toc",
57776
58005
  "min-w-0",
57777
58006
  stickyToc && "lg:sticky lg:self-start",
@@ -57784,7 +58013,7 @@ function MarkdownLayout({
57784
58013
  /* @__PURE__ */ jsx(
57785
58014
  "main",
57786
58015
  {
57787
- className: classNames72(
58016
+ className: classNames73(
57788
58017
  "eui-markdown-layout-content",
57789
58018
  "min-w-0",
57790
58019
  contentClassName
@@ -57795,7 +58024,7 @@ function MarkdownLayout({
57795
58024
  hasRightToc ? /* @__PURE__ */ jsx(
57796
58025
  "aside",
57797
58026
  {
57798
- className: classNames72(
58027
+ className: classNames73(
57799
58028
  "eui-markdown-layout-toc",
57800
58029
  "min-w-0",
57801
58030
  stickyToc && "lg:sticky lg:self-start",
@@ -57808,7 +58037,7 @@ function MarkdownLayout({
57808
58037
  hasAside ? /* @__PURE__ */ jsx(
57809
58038
  "aside",
57810
58039
  {
57811
- className: classNames72(
58040
+ className: classNames73(
57812
58041
  "eui-markdown-layout-aside",
57813
58042
  "min-w-0",
57814
58043
  stickyAside && "2xl:sticky 2xl:self-start",
@@ -57824,7 +58053,7 @@ function MarkdownLayout({
57824
58053
  footer2 ? /* @__PURE__ */ jsx(
57825
58054
  "footer",
57826
58055
  {
57827
- className: classNames72(
58056
+ className: classNames73(
57828
58057
  "eui-markdown-layout-footer",
57829
58058
  "mt-10",
57830
58059
  footerClassName
@@ -57861,7 +58090,7 @@ function MarkdownDocsLayoutContent({
57861
58090
  const resolvedHeader = header ?? (title || description || headerActions ? /* @__PURE__ */ jsx(
57862
58091
  "div",
57863
58092
  {
57864
- className: classNames72(
58093
+ className: classNames73(
57865
58094
  "eui-markdown-docs-header",
57866
58095
  "flex flex-col gap-4 border-b border-gray-200 pb-6",
57867
58096
  "dark:border-gray-700",
@@ -57872,7 +58101,7 @@ function MarkdownDocsLayoutContent({
57872
58101
  title ? /* @__PURE__ */ jsx(
57873
58102
  "h1",
57874
58103
  {
57875
- className: classNames72(
58104
+ className: classNames73(
57876
58105
  "eui-markdown-docs-title",
57877
58106
  "text-3xl font-bold tracking-tight text-gray-950",
57878
58107
  "dark:text-gray-50",
@@ -57884,7 +58113,7 @@ function MarkdownDocsLayoutContent({
57884
58113
  description ? /* @__PURE__ */ jsx(
57885
58114
  "div",
57886
58115
  {
57887
- className: classNames72(
58116
+ className: classNames73(
57888
58117
  "eui-markdown-docs-description",
57889
58118
  "max-w-3xl text-base leading-7 text-gray-600",
57890
58119
  "dark:text-gray-400",
@@ -57972,7 +58201,7 @@ function GenericLayout({
57972
58201
  return /* @__PURE__ */ jsx(ThemeProvider, { defaultTheme, children: /* @__PURE__ */ jsx(
57973
58202
  "div",
57974
58203
  {
57975
- className: classNames72({
58204
+ className: classNames73({
57976
58205
  [`${styles}`]: styles
57977
58206
  }),
57978
58207
  children: children3
@@ -58021,7 +58250,7 @@ function SidemenuLayout({ data, children: children3 }) {
58021
58250
  return /* @__PURE__ */ jsx(DefaultLayout_default, { children: /* @__PURE__ */ jsxs(
58022
58251
  "div",
58023
58252
  {
58024
- className: classNames72({
58253
+ className: classNames73({
58025
58254
  grid: true,
58026
58255
  "grid-cols-7 gap-10": !isMobile,
58027
58256
  "grid-cols-1 gap-": isMobile
@@ -58101,6 +58330,6 @@ function ScrollToTop({
58101
58330
  }
58102
58331
  var ScrollToTop_default = ScrollToTop;
58103
58332
 
58104
- export { Accordion_default as Accordion, AnalyticsContext, AnalyticsProvider, AreaPlot, AsyncComponentWrapper_default as AsyncComponentWrapper, Avatar, Backdrop_default as Backdrop, Badge, BarPlot, BaseChartDataSource, Block_default as Block, BlockGroup_default as BlockGroup, BoxNav_default as BoxNav, BoxNavItem_default as BoxNavItem, Brand, Breadcrumb, BreadcrumbItem_default as BreadcrumbItem, Button_web_default as Button, CHART_COLOR_PALETTE, CHART_DARK_THEME, CHART_DATA_MODES, CHART_DEFAULT_ACTIVE_DOT_RADIUS, CHART_DEFAULT_ANIMATION_DURATION, CHART_DEFAULT_BAR_RADIUS, CHART_DEFAULT_HEIGHT, CHART_DEFAULT_HORIZONTAL_BAR_RADIUS, CHART_DEFAULT_MARGIN, CHART_DEFAULT_MAX_REALTIME_POINTS, CHART_DEFAULT_POLLING_INTERVAL, CHART_DEFAULT_STROKE_WIDTH, CHART_EMPTY_MESSAGE, CHART_ERROR_MESSAGE, CHART_LIGHT_THEME, CHART_LOADING_MESSAGE, CHART_STATUSES, CHART_STATUS_COLORS, CHART_VALUE_FORMATS, Caption, Card_default as Card, CardContent_default as CardContent, CardFooter_default as CardFooter, CardHeader_default as CardHeader, Chapter, Chart, ChartContainer, ChartContext, ChartEmptyState, ChartErrorState, ChartHeader, ChartLegend, ChartLoadingState, ChartPanel, ChartPlotFrame, ChartProvider, ChartToolbar, ChartTooltip, Checkbox, Chip, CloudinaryImage2 as CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Code, CodeMirrorMarkdownEditor_default as CodeMirrorMarkdownEditor, CommentThread_default as CommentThread, ConfigBootstrap_default as ConfigBootstrap, Configurator, ConfiguratorError, Content, ContentArea_default as ContentArea, CookieBanner, CookiePreferencesModal, DEFAULT_ANALYTICS_CONFIG, DEFAULT_COOKIE_CATEGORIES, DEFAULT_REVIEW_THREAD_CONFIG, DataView2 as DataView, DataViewContent, DataViewFilterGroup, DataViewFooter, DataViewHeader, DataViewPageSize, DataViewPagination, DataViewProvider, DataViewSearch, DataViewSidebar, DataViewSort, DataViewTable_default as DataViewTable, DateSelector_default as DateSelector, DefaultLayout_default as DefaultLayout, Display, DocumentationPanel_default as DocumentationPanel, Drawer, DrawerToggler_default as DrawerToggler, EUIDevLayout_default as EUIDevLayout, EUIProvider, EUI_ANALYTICS_ANONYMOUS_ID_STORAGE_KEY, EUI_ANALYTICS_CONSENT_STORAGE_KEY, EUI_ANALYTICS_QUEUE_STORAGE_KEY, EnvErrorScreen_default as EnvErrorScreen, Flag, Flex, FlexCol_default as FlexCol, FlexRow_default as FlexRow, Footer, FooterNav_default as FooterNav, FooterNavGroup_default as FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, Form, FormResponse, GaugePlot, GenericLayout_default as GenericLayout, GlowWrapper_default as GlowWrapper, Graph, GraphEdge, GraphNode, GraphRenderer, Grid_default as Grid, Header, HeaderNav_default as HeaderNav, HeaderNavGroup_default as HeaderNavGroup, HeaderNavItem, HeaderNavItemContext, HeaderNavItemTitle, HomeLayout_default as HomeLayout, Image2 as Image, ImageInput_default as ImageInput, InfiniteScrollTrigger_default as InfiniteScrollTrigger, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Label, Layout, Lead, LinePlot, Link, List, ListItem, ListItemElement, ListRoot, MDXMarkdownEditor_default as MDXMarkdownEditor, MDXMarkdownField_default as MDXMarkdownField, MarkdownBlockquote_default as MarkdownBlockquote, MarkdownBreak_default as MarkdownBreak, MarkdownCodeBlock_default as MarkdownCodeBlock, MarkdownContext, MarkdownDetails, MarkdownDocsLayout_default as MarkdownDocsLayout, MarkdownEditor_default as MarkdownEditor, MarkdownEmphasis_default as MarkdownEmphasis, MarkdownField_default as MarkdownField, MarkdownFigcaption, MarkdownFigure, MarkdownHeading_default as MarkdownHeadingComponent, MarkdownImage_default as MarkdownImage, MarkdownInlineCode_default as MarkdownInlineCode, MarkdownLayout_default as MarkdownLayout, MarkdownLink_default as MarkdownLink, MarkdownListItem_default as MarkdownListItem, MarkdownOrderedList, MarkdownParagraph_default as MarkdownParagraph, MarkdownPreviewPane_default as MarkdownPreviewPane, MarkdownProvider_default as MarkdownProvider, MarkdownRenderer_default as MarkdownRenderer, MarkdownSourceEditor_default as MarkdownSourceEditor, MarkdownSplitEditor_default as MarkdownSplitEditor, MarkdownStrikethrough_default as MarkdownStrikethrough, MarkdownStrong_default as MarkdownStrong, MarkdownSummary, MarkdownTOC_default as MarkdownTOC, MarkdownTOCItem_default as MarkdownTOCItem, MarkdownTable_default as MarkdownTable, MarkdownTableBody, MarkdownTableCell, MarkdownTableHead, MarkdownTableHeaderCell, MarkdownTableRow, MarkdownTaskCheckbox_default as MarkdownTaskCheckbox, MarkdownThematicBreak_default as MarkdownThematicBreak, MarkdownToolbar_default as MarkdownToolbar, MarkdownUnorderedList, MarkdownViewer_default as MarkdownViewer, Menu, MenuGroup, MenuItem, MenuItemTitle, Modal_default as Modal, MotionSurface_default as MotionSurface, MultiImageInput_default as MultiImageInput, NumericRating, Overline, Paragraph, PiePlot, PollingChartDataSource, PreviewSwitch, PriceTag, ProgressBar, ProgressBarRating, Quote, Radio_default as Radio, RealtimeChartDataSource, ReviewThread_default as ReviewThread, RouteTab_default as RouteTab, RouteTabs_default as RouteTabs, ScatterPlot, ScrollToTop_default as ScrollToTop, Section, Select_default as Select, ShapeSwitch, ShowMore_default as ShowMore, Sidebar_default as Sidebar, SidebarLayout_default as SidebarLayout, SidemenuLayout_default as SidemenuLayout, Skeleton, Slider_default as Slider, Spinner, StarRating, StarRatingDistribution_default as StarRatingDistribution, StarRatingInput_default as StarRatingInput, StatPlot, StaticChartDataSource, Switch_default as Switch, TNDropdown, TNDropdownItem, TNDropdownTitle, TNGroup, Table, TableBody, TableCell, TableElement, TableFrame, TableHead, TableHeaderCell, TableRow, Tag, Tags_default as Tags, TextArea_default as TextArea, ThemeContext, ThemeProvider, ThemeSelect, ThemeSwitch, TitleBanner, Toast, Tooltip6 as Tooltip, TopNav, Transition, TransitionAccordion_default as TransitionAccordion, TransitionBase_default as TransitionBase, TransitionDropdown_default as TransitionDropdown, TransitionFade_default as TransitionFade, TransitionFadeIn_default as TransitionFadeIn, TransitionScale_default as TransitionScale, TransitionSlide_default as TransitionSlide, Typography, UnderConstructionBanner, ValueBadge, WorldMap, WorldMapCountryTable, YoutubeVideo, YoutubeVideo as YoutubeVideoPlayer, addReplyToCache, addReviewReply, appendReview, applyReactionState, assertAbsoluteURL, buildURL, canDeleteReview, canDeleteReviewReply, canEditReview, canEditReviewReply, canReplyToReview, canReportReview, canReportReviewReply, clearAnalyticsQueueStorage, clearAnonymousIdStorage, clearConsentStorage, cn, createAnalyticsEvent, createAnalyticsId, createConfigurator, createDefaultConsent, createForceLayout, createGridLayout, createHeadingSlug, createTreeLayout, createURLResolver, decrementReplyCount, defaultFormatValue, defaultTiers, ensureAnonymousIdStorage, enumValues, euiToast, extractHeadings, findReview, formatChartLabel, formatChartValue, formatCommentDate, formatConfigError, formatReviewDate, generateHeadingNumbers, getAllowedOrigins, getBrowserHref, getBrowserOrigin, getBrowserRedirectURL, getConsentStatusFromCategories, getCurrencySymbol, getCurrentFullUrl, getCurrentPath, getCurrentReferrer, getCurrentTitle, getDeviceInfo, getDoNotTrackEnabled, getLayout, getNowISOString, getOptimisticDislikeState, getOptimisticLikeState, getSafeRedirect, getViewport, hasReviewReply, incrementReplyCount, isBrowser, isMatch, isRenderFn, limitRealtimePoints, normalize, normalizeChartData, normalizeChartDataPoint, normalizeMarkdown, normalizeReview, normalizeReviewAuthor, normalizeReviewReply, parseJson, parseJsonRecord, parseUrlMap, prependReview, readAnalyticsQueueStorage, readAnonymousIdStorage, readConsentStorage, registerLayout, removeComment, removeCommentTreeFromCache, removeReview, removeReviewReply, replaceRealtimePoints, replaceReview, replaceReviewReply, resolveAppearanceStyles, resolveChartColor, resolveChartColors, resolveWithGlobal, safeReadStorage, safeRemoveStorage, safeWriteStorage, sanitizeHeading, sendToast, slugify, toConfiguratorError, updateComment, updateReplyCacheComment, updateReview, updateReviewReply, upsertReview, useActiveHeading, useAnalytics, useChartContext, useChartData, useChartPolling, useChartRealtime, useChartSeries, useChartTheme, useClickOutside, useCloudinaryConfig, useCookieConsent, useCurrentTheme_default as useCurrentTheme, useDrawer_default as useDrawer, useEUIConfig, useEUIDevPreviewPlatform, useIsMobile_default as useIsMobile, useMarkdown, useMarkdownHeadings, useModal_default as useModal, usePageTracking, useResolvedChartState, useReviewThreadState, useSessionTracking, useTheme_default as useTheme, writeAnalyticsQueueStorage, writeConsentStorage };
58333
+ export { Accordion_default as Accordion, AnalyticsContext, AnalyticsProvider, AreaPlot, AsyncComponentWrapper_default as AsyncComponentWrapper, Avatar, Backdrop_default as Backdrop, Badge, BarPlot, BaseChartDataSource, Block_default as Block, BlockGroup_default as BlockGroup, BoxNav_default as BoxNav, BoxNavItem_default as BoxNavItem, Brand, Breadcrumb, BreadcrumbItem_default as BreadcrumbItem, Button_web_default as Button, CHART_COLOR_PALETTE, CHART_DARK_THEME, CHART_DATA_MODES, CHART_DEFAULT_ACTIVE_DOT_RADIUS, CHART_DEFAULT_ANIMATION_DURATION, CHART_DEFAULT_BAR_RADIUS, CHART_DEFAULT_HEIGHT, CHART_DEFAULT_HORIZONTAL_BAR_RADIUS, CHART_DEFAULT_MARGIN, CHART_DEFAULT_MAX_REALTIME_POINTS, CHART_DEFAULT_POLLING_INTERVAL, CHART_DEFAULT_STROKE_WIDTH, CHART_EMPTY_MESSAGE, CHART_ERROR_MESSAGE, CHART_LIGHT_THEME, CHART_LOADING_MESSAGE, CHART_STATUSES, CHART_STATUS_COLORS, CHART_VALUE_FORMATS, Caption, Card_default as Card, CardContent_default as CardContent, CardFooter_default as CardFooter, CardHeader_default as CardHeader, Chapter, Chart, ChartContainer, ChartContext, ChartEmptyState, ChartErrorState, ChartHeader, ChartLegend, ChartLoadingState, ChartPanel, ChartPlotFrame, ChartProvider, ChartToolbar, ChartTooltip, Checkbox, Chip, CloudinaryImage2 as CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Code, CodeMirrorMarkdownEditor_default as CodeMirrorMarkdownEditor, CommentThread_default as CommentThread, ConfigBootstrap_default as ConfigBootstrap, Configurator, ConfiguratorError, Content, ContentArea_default as ContentArea, CookieBanner, CookiePreferencesModal, DEFAULT_ANALYTICS_CONFIG, DEFAULT_COOKIE_CATEGORIES, DEFAULT_REVIEW_THREAD_CONFIG, DataView2 as DataView, DataViewContent, DataViewFilterGroup, DataViewFooter, DataViewHeader, DataViewPageSize, DataViewPagination, DataViewProvider, DataViewSearch, DataViewSidebar, DataViewSort, DataViewTable_default as DataViewTable, DateSelector_default as DateSelector, DefaultLayout_default as DefaultLayout, Display, DocumentationPanel_default as DocumentationPanel, Drawer, DrawerToggler_default as DrawerToggler, EUIDevLayout_default as EUIDevLayout, EUIProvider, EUI_ANALYTICS_ANONYMOUS_ID_STORAGE_KEY, EUI_ANALYTICS_CONSENT_STORAGE_KEY, EUI_ANALYTICS_QUEUE_STORAGE_KEY, EnvErrorScreen_default as EnvErrorScreen, Flag, Flex, FlexCol_default as FlexCol, FlexRow_default as FlexRow, Footer, FooterNav_default as FooterNav, FooterNavGroup_default as FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, Form, FormResponse, GaugePlot, GenericLayout_default as GenericLayout, GlowWrapper_default as GlowWrapper, Graph, GraphEdge, GraphNode, GraphRenderer, Grid_default as Grid, Header, HeaderNav_default as HeaderNav, HeaderNavGroup_default as HeaderNavGroup, HeaderNavItem, HeaderNavItemContext, HeaderNavItemTitle, HomeLayout_default as HomeLayout, Image2 as Image, ImageInput_web_default as ImageInput, ImageView, InfiniteScrollTrigger_default as InfiniteScrollTrigger, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Label, Layout, Lead, LinePlot, Link, List, ListItem, ListItemElement, ListRoot, MDXMarkdownEditor_default as MDXMarkdownEditor, MDXMarkdownField_default as MDXMarkdownField, MarkdownBlockquote_default as MarkdownBlockquote, MarkdownBreak_default as MarkdownBreak, MarkdownCodeBlock_default as MarkdownCodeBlock, MarkdownContext, MarkdownDetails, MarkdownDocsLayout_default as MarkdownDocsLayout, MarkdownEditor_default as MarkdownEditor, MarkdownEmphasis_default as MarkdownEmphasis, MarkdownField_default as MarkdownField, MarkdownFigcaption, MarkdownFigure, MarkdownHeading_default as MarkdownHeadingComponent, MarkdownImage_default as MarkdownImage, MarkdownInlineCode_default as MarkdownInlineCode, MarkdownLayout_default as MarkdownLayout, MarkdownLink_default as MarkdownLink, MarkdownListItem_default as MarkdownListItem, MarkdownOrderedList, MarkdownParagraph_default as MarkdownParagraph, MarkdownPreviewPane_default as MarkdownPreviewPane, MarkdownProvider_default as MarkdownProvider, MarkdownRenderer_default as MarkdownRenderer, MarkdownSourceEditor_default as MarkdownSourceEditor, MarkdownSplitEditor_default as MarkdownSplitEditor, MarkdownStrikethrough_default as MarkdownStrikethrough, MarkdownStrong_default as MarkdownStrong, MarkdownSummary, MarkdownTOC_default as MarkdownTOC, MarkdownTOCItem_default as MarkdownTOCItem, MarkdownTable_default as MarkdownTable, MarkdownTableBody, MarkdownTableCell, MarkdownTableHead, MarkdownTableHeaderCell, MarkdownTableRow, MarkdownTaskCheckbox_default as MarkdownTaskCheckbox, MarkdownThematicBreak_default as MarkdownThematicBreak, MarkdownToolbar_default as MarkdownToolbar, MarkdownUnorderedList, MarkdownViewer_default as MarkdownViewer, Menu, MenuGroup, MenuItem, MenuItemTitle, Modal_default as Modal, MotionSurface_default as MotionSurface, MultiImageInput_web_default as MultiImageInput, NumericRating, Overline, Paragraph, PiePlot, PollingChartDataSource, PreviewSwitch, PriceTag, ProgressBar, ProgressBarRating, Quote, Radio_default as Radio, RealtimeChartDataSource, ReviewThread_default as ReviewThread, RouteTab_default as RouteTab, RouteTabs_default as RouteTabs, ScatterPlot, ScrollToTop_default as ScrollToTop, Section, Select_default as Select, ShapeSwitch, ShowMore_default as ShowMore, Sidebar_default as Sidebar, SidebarLayout_default as SidebarLayout, SidemenuLayout_default as SidemenuLayout, Skeleton, Slider_default as Slider, Spinner, StarRating, StarRatingDistribution_default as StarRatingDistribution, StarRatingInput_default as StarRatingInput, StatPlot, StaticChartDataSource, Switch_default as Switch, TNDropdown, TNDropdownItem, TNDropdownTitle, TNGroup, Table, TableBody, TableCell, TableElement, TableFrame, TableHead, TableHeaderCell, TableRow, Tag, Tags_default as Tags, TextArea_default as TextArea, ThemeContext, ThemeProvider, ThemeSelect, ThemeSwitch, TitleBanner, Toast, Tooltip6 as Tooltip, TopNav, Transition, TransitionAccordion_default as TransitionAccordion, TransitionBase_default as TransitionBase, TransitionDropdown_default as TransitionDropdown, TransitionFade_default as TransitionFade, TransitionFadeIn_default as TransitionFadeIn, TransitionScale_default as TransitionScale, TransitionSlide_default as TransitionSlide, Typography, UnderConstructionBanner, ValueBadge, WorldMap, WorldMapCountryTable, YoutubeVideo, YoutubeVideo as YoutubeVideoPlayer, addReplyToCache, addReviewReply, appendReview, applyReactionState, assertAbsoluteURL, buildURL, canDeleteReview, canDeleteReviewReply, canEditReview, canEditReviewReply, canReplyToReview, canReportReview, canReportReviewReply, clearAnalyticsQueueStorage, clearAnonymousIdStorage, clearConsentStorage, cn, createAnalyticsEvent, createAnalyticsId, createConfigurator, createDefaultConsent, createForceLayout, createGridLayout, createHeadingSlug, createTreeLayout, createURLResolver, decrementReplyCount, defaultFormatValue, defaultTiers, ensureAnonymousIdStorage, enumValues, euiToast, extractHeadings, findReview, formatChartLabel, formatChartValue, formatCommentDate, formatConfigError, formatReviewDate, generateHeadingNumbers, getAllowedOrigins, getBrowserHref, getBrowserOrigin, getBrowserRedirectURL, getConsentStatusFromCategories, getCurrencySymbol, getCurrentFullUrl, getCurrentPath, getCurrentReferrer, getCurrentTitle, getDeviceInfo, getDoNotTrackEnabled, getLayout, getNowISOString, getOptimisticDislikeState, getOptimisticLikeState, getSafeRedirect, getViewport, hasReviewReply, incrementReplyCount, isBrowser, isMatch, isRenderFn, limitRealtimePoints, normalize, normalizeChartData, normalizeChartDataPoint, normalizeMarkdown, normalizeReview, normalizeReviewAuthor, normalizeReviewReply, parseJson, parseJsonRecord, parseUrlMap, prependReview, readAnalyticsQueueStorage, readAnonymousIdStorage, readConsentStorage, registerLayout, removeComment, removeCommentTreeFromCache, removeReview, removeReviewReply, replaceRealtimePoints, replaceReview, replaceReviewReply, resolveAppearanceStyles, resolveChartColor, resolveChartColors, resolveWithGlobal, safeReadStorage, safeRemoveStorage, safeWriteStorage, sanitizeHeading, sendToast, slugify, toConfiguratorError, updateComment, updateReplyCacheComment, updateReview, updateReviewReply, upsertReview, useActiveHeading, useAnalytics, useChartContext, useChartData, useChartPolling, useChartRealtime, useChartSeries, useChartTheme, useClickOutside, useCloudinaryConfig, useCookieConsent, useCurrentTheme_default as useCurrentTheme, useDrawer_default as useDrawer, useEUIConfig, useEUIDevPreviewPlatform, useIsMobile_default as useIsMobile, useMarkdown, useMarkdownHeadings, useModal_default as useModal, usePageTracking, useResolvedChartState, useReviewThreadState, useSessionTracking, useTheme_default as useTheme, writeAnalyticsQueueStorage, writeConsentStorage };
58105
58334
  //# sourceMappingURL=index.mjs.map
58106
58335
  //# sourceMappingURL=index.mjs.map