@streamoid/ui 0.6.10 → 0.6.11

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.js CHANGED
@@ -54,6 +54,7 @@ __export(index_exports, {
54
54
  ScCxoCopilotLogo: () => ScCxoCopilotLogo,
55
55
  ScDp: () => ScDp,
56
56
  ScFieldButton: () => ScFieldButton,
57
+ ScFileField: () => ScFileField,
57
58
  ScGoogleSignIn: () => ScGoogleSignIn,
58
59
  ScGuide: () => ScGuide,
59
60
  ScHDivider: () => ScHDivider,
@@ -63,6 +64,8 @@ __export(index_exports, {
63
64
  ScInChatMessage: () => ScInChatMessage,
64
65
  ScIntialProfileCover: () => ScIntialProfileCover,
65
66
  ScLogoUnit: () => ScLogoUnit,
67
+ ScMediaApproval: () => ScMediaApproval,
68
+ ScMediaSelect: () => ScMediaSelect,
66
69
  ScMenuOptions: () => ScMenuOptions,
67
70
  ScMobileBottomAction: () => ScMobileBottomAction,
68
71
  ScMobileTopNav: () => ScMobileTopNav,
@@ -89,6 +92,7 @@ __export(index_exports, {
89
92
  ScReferralTableList: () => ScReferralTableList,
90
93
  ScRole: () => ScRole,
91
94
  ScRoleMobile: () => ScRoleMobile,
95
+ ScSelect: () => ScSelect,
92
96
  ScSelection: () => ScSelection,
93
97
  ScSelectionList: () => ScSelectionList,
94
98
  ScSettingsNav: () => ScSettingsNav,
@@ -110,8 +114,10 @@ __export(index_exports, {
110
114
  ScTableHeader: () => ScTableHeader,
111
115
  ScTableList: () => ScTableList,
112
116
  ScTableListMobile: () => ScTableListMobile,
117
+ ScTextArea: () => ScTextArea,
113
118
  ScTextField: () => ScTextField,
114
119
  ScThinkingStepIcon: () => ScThinkingStepIcon,
120
+ ScTodoList: () => ScTodoList,
115
121
  ScToggleSwitch: () => ScToggleSwitch,
116
122
  ScVDivider: () => ScVDivider,
117
123
  ScVersion: () => ScVersion,
@@ -1084,8 +1090,19 @@ var ScButton = ({
1084
1090
  return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1085
1091
  "div",
1086
1092
  {
1087
- className: ScButton_default.scButton + " " + className + " " + variantsClassName,
1093
+ className: [ScButton_default.scButton, variantsClassName, className].filter(Boolean).join(" "),
1094
+ role: "button",
1095
+ tabIndex: state === "disabled" ? -1 : 0,
1096
+ "aria-disabled": state === "disabled" || void 0,
1088
1097
  ...props,
1098
+ onKeyDown: (e) => {
1099
+ props.onKeyDown?.(e);
1100
+ if (state === "disabled") return;
1101
+ if (e.key === "Enter" || e.key === " ") {
1102
+ e.preventDefault();
1103
+ props.onClick?.(e);
1104
+ }
1105
+ },
1089
1106
  children: [
1090
1107
  noiseUrl && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1091
1108
  "div",
@@ -7482,7 +7499,7 @@ var ScSelection = ({
7482
7499
  ),
7483
7500
  /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: ScSelection_default.wrapper, children: [
7484
7501
  /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: ScSelection_default.title, children: title }),
7485
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: ScSelection_default.description, children: description })
7502
+ description && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: ScSelection_default.description, children: description })
7486
7503
  ] })
7487
7504
  ]
7488
7505
  }
@@ -7611,6 +7628,957 @@ var ScSelectionList = ({
7611
7628
  );
7612
7629
  };
7613
7630
 
7631
+ // src/SC-textArea/ScTextArea.tsx
7632
+ var import_react15 = require("react");
7633
+
7634
+ // src/SC-textArea/ScTextArea.module.css
7635
+ var ScTextArea_default = {
7636
+ scTextArea: "ScTextArea_scTextArea",
7637
+ "label-group-none": "ScTextArea_label-group-none",
7638
+ labelContainer: "ScTextArea_labelContainer",
7639
+ label: "ScTextArea_label",
7640
+ info: "ScTextArea_info",
7641
+ inputContainer: "ScTextArea_inputContainer",
7642
+ inputText: "ScTextArea_inputText",
7643
+ "state-hover": "ScTextArea_state-hover",
7644
+ "state-filled": "ScTextArea_state-filled",
7645
+ "state-active": "ScTextArea_state-active",
7646
+ "state-error": "ScTextArea_state-error",
7647
+ "state-disabled": "ScTextArea_state-disabled"
7648
+ };
7649
+
7650
+ // src/SC-textArea/ScTextArea.tsx
7651
+ var import_jsx_runtime85 = require("react/jsx-runtime");
7652
+ var ScTextArea = ({
7653
+ state,
7654
+ labelGroup = "",
7655
+ label = "",
7656
+ info = "info",
7657
+ placeholderFilled = "Placeholder",
7658
+ className,
7659
+ style,
7660
+ ...props
7661
+ }) => {
7662
+ const [focused, setFocused] = (0, import_react15.useState)(false);
7663
+ const derivedState = state ?? (props.disabled ? "disabled" : focused ? "active" : (props.value !== void 0 ? String(props.value).length > 0 : false) ? "filled" : "default");
7664
+ const stateClass = ScTextArea_default["state-" + derivedState];
7665
+ const labelGroupClass = ScTextArea_default["label-group-" + (labelGroup || "none")];
7666
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
7667
+ "div",
7668
+ {
7669
+ className: [ScTextArea_default.scTextArea, stateClass, labelGroupClass, className].filter(Boolean).join(" "),
7670
+ style,
7671
+ children: [
7672
+ labelGroup && /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: ScTextArea_default.labelContainer, children: [
7673
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: ScTextArea_default.label, children: [
7674
+ label,
7675
+ " "
7676
+ ] }),
7677
+ labelGroup === "text" && /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: ScTextArea_default.info, children: [
7678
+ info,
7679
+ " "
7680
+ ] })
7681
+ ] }),
7682
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScTextArea_default.inputContainer, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
7683
+ "textarea",
7684
+ {
7685
+ className: ScTextArea_default.inputText,
7686
+ placeholder: placeholderFilled,
7687
+ ...props,
7688
+ onFocus: (e) => {
7689
+ setFocused(true);
7690
+ props.onFocus?.(e);
7691
+ },
7692
+ onBlur: (e) => {
7693
+ setFocused(false);
7694
+ props.onBlur?.(e);
7695
+ }
7696
+ }
7697
+ ) })
7698
+ ]
7699
+ }
7700
+ );
7701
+ };
7702
+
7703
+ // src/SC-select/ScSelect.tsx
7704
+ var import_react16 = require("react");
7705
+
7706
+ // src/SC-select/ScSelect.module.css
7707
+ var ScSelect_default = {
7708
+ scSelect: "ScSelect_scSelect",
7709
+ "label-group-": "ScSelect_label-group-",
7710
+ labelContainer: "ScSelect_labelContainer",
7711
+ label: "ScSelect_label",
7712
+ selectArea: "ScSelect_selectArea",
7713
+ trigger: "ScSelect_trigger",
7714
+ triggerText: "ScSelect_triggerText",
7715
+ placeholder: "ScSelect_placeholder",
7716
+ chevron: "ScSelect_chevron",
7717
+ chevronOpen: "ScSelect_chevronOpen",
7718
+ "state-filled": "ScSelect_state-filled",
7719
+ "state-active": "ScSelect_state-active",
7720
+ "state-disabled": "ScSelect_state-disabled",
7721
+ menu: "ScSelect_menu",
7722
+ option: "ScSelect_option",
7723
+ "option-selected": "ScSelect_option-selected",
7724
+ optionLabel: "ScSelect_optionLabel",
7725
+ optionDescription: "ScSelect_optionDescription"
7726
+ };
7727
+
7728
+ // src/SC-select/ScSelect.tsx
7729
+ var import_jsx_runtime86 = require("react/jsx-runtime");
7730
+ var ScSelect = (props) => {
7731
+ const {
7732
+ value,
7733
+ onChange,
7734
+ options = [],
7735
+ placeholder = "Select an option...",
7736
+ label,
7737
+ labelGroup = "",
7738
+ disabled = false,
7739
+ className
7740
+ } = props;
7741
+ const [open, setOpen] = (0, import_react16.useState)(false);
7742
+ const rootRef = (0, import_react16.useRef)(null);
7743
+ (0, import_react16.useEffect)(() => {
7744
+ if (!open) return;
7745
+ const handleClick = (e) => {
7746
+ if (rootRef.current && !rootRef.current.contains(e.target)) {
7747
+ setOpen(false);
7748
+ }
7749
+ };
7750
+ document.addEventListener("mousedown", handleClick);
7751
+ return () => document.removeEventListener("mousedown", handleClick);
7752
+ }, [open]);
7753
+ const selected = options.find((o) => o.id === value);
7754
+ const state = disabled ? "disabled" : open ? "active" : selected ? "filled" : "default";
7755
+ const handleToggle = () => {
7756
+ if (disabled) return;
7757
+ setOpen((prev) => !prev);
7758
+ };
7759
+ const handleSelect = (id) => {
7760
+ if (onChange) onChange(id);
7761
+ setOpen(false);
7762
+ };
7763
+ const rootClass = [
7764
+ ScSelect_default.scSelect,
7765
+ ScSelect_default["state-" + state],
7766
+ labelGroup ? ScSelect_default["label-group-" + labelGroup] : void 0,
7767
+ className
7768
+ ].filter(Boolean).join(" ");
7769
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: rootClass, ref: rootRef, children: [
7770
+ labelGroup === "label" && label ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSelect_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSelect_default.label, children: label }) }) : null,
7771
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScSelect_default.selectArea, children: [
7772
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
7773
+ "button",
7774
+ {
7775
+ type: "button",
7776
+ className: ScSelect_default.trigger,
7777
+ onClick: handleToggle,
7778
+ disabled,
7779
+ "aria-haspopup": "listbox",
7780
+ "aria-expanded": open,
7781
+ children: [
7782
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7783
+ "span",
7784
+ {
7785
+ className: [ScSelect_default.triggerText, selected ? void 0 : ScSelect_default.placeholder].filter(Boolean).join(" "),
7786
+ children: selected ? selected.label : placeholder
7787
+ }
7788
+ ),
7789
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7790
+ "span",
7791
+ {
7792
+ className: [ScSelect_default.chevron, open ? ScSelect_default.chevronOpen : void 0].filter(Boolean).join(" "),
7793
+ children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7794
+ "path",
7795
+ {
7796
+ d: "M5 7.5L10 12.5L15 7.5",
7797
+ stroke: "currentColor",
7798
+ strokeWidth: "1.5",
7799
+ strokeLinecap: "round",
7800
+ strokeLinejoin: "round"
7801
+ }
7802
+ ) })
7803
+ }
7804
+ )
7805
+ ]
7806
+ }
7807
+ ),
7808
+ open ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSelect_default.menu, role: "listbox", children: options.map((option) => {
7809
+ const isSelected = option.id === value;
7810
+ const optionClass = [
7811
+ ScSelect_default.option,
7812
+ isSelected ? ScSelect_default["option-selected"] : void 0
7813
+ ].filter(Boolean).join(" ");
7814
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
7815
+ "div",
7816
+ {
7817
+ className: optionClass,
7818
+ role: "option",
7819
+ "aria-selected": isSelected,
7820
+ onClick: () => handleSelect(option.id),
7821
+ children: [
7822
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: ScSelect_default.optionLabel, children: option.label }),
7823
+ option.description ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: ScSelect_default.optionDescription, children: option.description }) : null
7824
+ ]
7825
+ },
7826
+ option.id
7827
+ );
7828
+ }) }) : null
7829
+ ] })
7830
+ ] });
7831
+ };
7832
+
7833
+ // src/SC-fileField/ScFileField.tsx
7834
+ var import_react17 = require("react");
7835
+
7836
+ // src/SC-fileField/ScFileField.module.css
7837
+ var ScFileField_default = {
7838
+ scFileField: "ScFileField_scFileField",
7839
+ labelContainer: "ScFileField_labelContainer",
7840
+ label: "ScFileField_label",
7841
+ dropzone: "ScFileField_dropzone",
7842
+ hiddenInput: "ScFileField_hiddenInput",
7843
+ uploadIcon: "ScFileField_uploadIcon",
7844
+ dropzoneText: "ScFileField_dropzoneText",
7845
+ dropzoneAction: "ScFileField_dropzoneAction",
7846
+ acceptedText: "ScFileField_acceptedText",
7847
+ inputContainer: "ScFileField_inputContainer",
7848
+ fileIcon: "ScFileField_fileIcon",
7849
+ fileInfo: "ScFileField_fileInfo",
7850
+ fileName: "ScFileField_fileName",
7851
+ progressTrack: "ScFileField_progressTrack",
7852
+ progressFill: "ScFileField_progressFill",
7853
+ clearButton: "ScFileField_clearButton",
7854
+ errorText: "ScFileField_errorText"
7855
+ };
7856
+
7857
+ // src/SC-fileField/ScFileField.tsx
7858
+ var import_jsx_runtime87 = require("react/jsx-runtime");
7859
+ var ScFileField = (props) => {
7860
+ const {
7861
+ onFileSelect,
7862
+ accept,
7863
+ multiple,
7864
+ fileName,
7865
+ uploading,
7866
+ progress = 0,
7867
+ error,
7868
+ onClear,
7869
+ label,
7870
+ className
7871
+ } = props;
7872
+ const inputRef = (0, import_react17.useRef)(null);
7873
+ const hasFile = Boolean(fileName);
7874
+ const isUploading = Boolean(uploading);
7875
+ const clampedProgress = Math.max(0, Math.min(100, progress));
7876
+ const handleChange = (e) => {
7877
+ if (onFileSelect) {
7878
+ onFileSelect(e.target.files);
7879
+ }
7880
+ };
7881
+ const uploadIcon = /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
7882
+ "svg",
7883
+ {
7884
+ className: ScFileField_default.uploadIcon,
7885
+ width: "28",
7886
+ height: "28",
7887
+ viewBox: "0 0 24 24",
7888
+ fill: "none",
7889
+ stroke: "currentColor",
7890
+ strokeWidth: "1.5",
7891
+ strokeLinecap: "round",
7892
+ strokeLinejoin: "round",
7893
+ "aria-hidden": "true",
7894
+ children: [
7895
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
7896
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { d: "M12 16V4" }),
7897
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { d: "M7 9l5-5 5 5" })
7898
+ ]
7899
+ }
7900
+ );
7901
+ const fileIcon = /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
7902
+ "svg",
7903
+ {
7904
+ className: ScFileField_default.fileIcon,
7905
+ width: "20",
7906
+ height: "20",
7907
+ viewBox: "0 0 24 24",
7908
+ fill: "none",
7909
+ stroke: "currentColor",
7910
+ strokeWidth: "1.5",
7911
+ strokeLinecap: "round",
7912
+ strokeLinejoin: "round",
7913
+ "aria-hidden": "true",
7914
+ children: [
7915
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
7916
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { d: "M14 2v6h6" })
7917
+ ]
7918
+ }
7919
+ );
7920
+ const clearIcon = /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
7921
+ "svg",
7922
+ {
7923
+ width: "20",
7924
+ height: "20",
7925
+ viewBox: "0 0 24 24",
7926
+ fill: "none",
7927
+ stroke: "currentColor",
7928
+ strokeWidth: "1.5",
7929
+ strokeLinecap: "round",
7930
+ strokeLinejoin: "round",
7931
+ "aria-hidden": "true",
7932
+ children: [
7933
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { d: "M18 6L6 18" }),
7934
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { d: "M6 6l12 12" })
7935
+ ]
7936
+ }
7937
+ );
7938
+ const rootClass = [ScFileField_default.scFileField, className].filter(Boolean).join(" ");
7939
+ const showRow = hasFile || isUploading;
7940
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: rootClass, children: [
7941
+ label ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScFileField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScFileField_default.label, children: label }) }) : null,
7942
+ showRow ? /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScFileField_default.inputContainer, children: [
7943
+ fileIcon,
7944
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScFileField_default.fileInfo, children: [
7945
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: ScFileField_default.fileName, children: fileName }),
7946
+ isUploading ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScFileField_default.progressTrack, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7947
+ "div",
7948
+ {
7949
+ className: ScFileField_default.progressFill,
7950
+ style: { width: clampedProgress + "%" }
7951
+ }
7952
+ ) }) : null
7953
+ ] }),
7954
+ !isUploading ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7955
+ "button",
7956
+ {
7957
+ type: "button",
7958
+ className: ScFileField_default.clearButton,
7959
+ onClick: onClear,
7960
+ "aria-label": "Clear file",
7961
+ children: clearIcon
7962
+ }
7963
+ ) : null
7964
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("label", { className: ScFileField_default.dropzone, children: [
7965
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7966
+ "input",
7967
+ {
7968
+ ref: inputRef,
7969
+ type: "file",
7970
+ className: ScFileField_default.hiddenInput,
7971
+ accept,
7972
+ multiple,
7973
+ onChange: handleChange
7974
+ }
7975
+ ),
7976
+ uploadIcon,
7977
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScFileField_default.dropzoneText, children: [
7978
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: ScFileField_default.dropzoneAction, children: "Click to upload" }),
7979
+ " or drag and drop"
7980
+ ] }),
7981
+ accept ? /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScFileField_default.acceptedText, children: [
7982
+ "Accepted: ",
7983
+ accept
7984
+ ] }) : null
7985
+ ] }),
7986
+ error ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScFileField_default.errorText, children: error }) : null
7987
+ ] });
7988
+ };
7989
+
7990
+ // src/SC-mediaApproval/ScMediaApproval.tsx
7991
+ var import_react18 = require("react");
7992
+
7993
+ // src/SC-mediaApproval/ScMediaApproval.module.css
7994
+ var ScMediaApproval_default = {
7995
+ scMediaApproval: "ScMediaApproval_scMediaApproval",
7996
+ mediaFrame: "ScMediaApproval_mediaFrame",
7997
+ media: "ScMediaApproval_media",
7998
+ mediaEmpty: "ScMediaApproval_mediaEmpty",
7999
+ spinnerOverlay: "ScMediaApproval_spinnerOverlay",
8000
+ spinner: "ScMediaApproval_spinner",
8001
+ spin: "ScMediaApproval_spin",
8002
+ navButton: "ScMediaApproval_navButton",
8003
+ navPrev: "ScMediaApproval_navPrev",
8004
+ navNext: "ScMediaApproval_navNext",
8005
+ counterBadge: "ScMediaApproval_counterBadge",
8006
+ dots: "ScMediaApproval_dots",
8007
+ dot: "ScMediaApproval_dot",
8008
+ "state-active": "ScMediaApproval_state-active",
8009
+ feedbackBlock: "ScMediaApproval_feedbackBlock",
8010
+ label: "ScMediaApproval_label",
8011
+ inputContainer: "ScMediaApproval_inputContainer",
8012
+ textArea: "ScMediaApproval_textArea"
8013
+ };
8014
+
8015
+ // src/SC-mediaApproval/ScMediaApproval.tsx
8016
+ var import_jsx_runtime88 = require("react/jsx-runtime");
8017
+ var VIDEO_EXT = /\.(mp4|webm|ogg|mov|m4v)(\?.*)?$/i;
8018
+ var isVideoUrl = (url, mediaType) => {
8019
+ if (mediaType === "video") return true;
8020
+ if (mediaType === "image") return false;
8021
+ return VIDEO_EXT.test(url);
8022
+ };
8023
+ var ScMediaApproval = (props) => {
8024
+ const {
8025
+ mediaUrls = [],
8026
+ mediaType,
8027
+ activeIndex,
8028
+ onIndexChange,
8029
+ onPreview,
8030
+ loading,
8031
+ feedbackLabel = "What should be changed?",
8032
+ feedbackValue,
8033
+ onFeedbackChange,
8034
+ feedbackPlaceholder,
8035
+ className
8036
+ } = props;
8037
+ const total = mediaUrls.length;
8038
+ const [index, setIndex] = (0, import_react18.useState)(activeIndex ?? 0);
8039
+ const [mediaLoading, setMediaLoading] = (0, import_react18.useState)(false);
8040
+ (0, import_react18.useEffect)(() => {
8041
+ if (typeof activeIndex === "number") {
8042
+ setIndex(activeIndex);
8043
+ }
8044
+ }, [activeIndex]);
8045
+ const goTo = (next) => {
8046
+ if (total === 0) return;
8047
+ const clamped = (next % total + total) % total;
8048
+ if (clamped !== index) setMediaLoading(true);
8049
+ setIndex(clamped);
8050
+ if (onIndexChange) onIndexChange(clamped);
8051
+ };
8052
+ const safeIndex = total > 0 ? Math.min(index, total - 1) : 0;
8053
+ const currentUrl = total > 0 ? mediaUrls[safeIndex] : void 0;
8054
+ const currentIsVideo = currentUrl ? isVideoUrl(currentUrl, mediaType) : false;
8055
+ const handlePreview = () => {
8056
+ if (currentUrl && onPreview) onPreview(currentUrl);
8057
+ };
8058
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: [ScMediaApproval_default.scMediaApproval, className].filter(Boolean).join(" "), children: [
8059
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScMediaApproval_default.mediaFrame, children: [
8060
+ currentUrl ? currentIsVideo ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8061
+ "video",
8062
+ {
8063
+ className: ScMediaApproval_default.media,
8064
+ src: currentUrl,
8065
+ controls: true,
8066
+ onClick: handlePreview,
8067
+ onLoadedData: () => setMediaLoading(false)
8068
+ }
8069
+ ) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8070
+ "img",
8071
+ {
8072
+ className: ScMediaApproval_default.media,
8073
+ src: currentUrl,
8074
+ alt: "",
8075
+ onClick: handlePreview,
8076
+ onLoad: () => setMediaLoading(false)
8077
+ }
8078
+ ) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScMediaApproval_default.mediaEmpty }),
8079
+ (loading || mediaLoading) && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScMediaApproval_default.spinnerOverlay, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8080
+ "svg",
8081
+ {
8082
+ className: ScMediaApproval_default.spinner,
8083
+ width: "32",
8084
+ height: "32",
8085
+ viewBox: "0 0 24 24",
8086
+ fill: "none",
8087
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8088
+ "path",
8089
+ {
8090
+ d: "M12 3a9 9 0 1 0 9 9",
8091
+ stroke: "var(--alias-text-and-icons-fullwhite, #ffffff)",
8092
+ strokeWidth: "2",
8093
+ strokeLinecap: "round"
8094
+ }
8095
+ )
8096
+ }
8097
+ ) }),
8098
+ total > 1 && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_jsx_runtime88.Fragment, { children: [
8099
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8100
+ "button",
8101
+ {
8102
+ type: "button",
8103
+ className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navPrev].join(" "),
8104
+ "aria-label": "Previous",
8105
+ onClick: () => goTo(safeIndex - 1),
8106
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8107
+ "path",
8108
+ {
8109
+ d: "M15 6L9 12L15 18",
8110
+ stroke: "var(--alias-text-and-icons-fullwhite, #ffffff)",
8111
+ strokeWidth: "2",
8112
+ strokeLinecap: "round",
8113
+ strokeLinejoin: "round"
8114
+ }
8115
+ ) })
8116
+ }
8117
+ ),
8118
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8119
+ "button",
8120
+ {
8121
+ type: "button",
8122
+ className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navNext].join(" "),
8123
+ "aria-label": "Next",
8124
+ onClick: () => goTo(safeIndex + 1),
8125
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8126
+ "path",
8127
+ {
8128
+ d: "M9 6L15 12L9 18",
8129
+ stroke: "var(--alias-text-and-icons-fullwhite, #ffffff)",
8130
+ strokeWidth: "2",
8131
+ strokeLinecap: "round",
8132
+ strokeLinejoin: "round"
8133
+ }
8134
+ ) })
8135
+ }
8136
+ ),
8137
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScMediaApproval_default.counterBadge, children: [
8138
+ safeIndex + 1,
8139
+ " / ",
8140
+ total
8141
+ ] }),
8142
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScMediaApproval_default.dots, children: mediaUrls.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8143
+ "button",
8144
+ {
8145
+ type: "button",
8146
+ "aria-label": "Go to item " + (i + 1),
8147
+ className: [
8148
+ ScMediaApproval_default.dot,
8149
+ i === safeIndex ? ScMediaApproval_default["state-active"] : ""
8150
+ ].filter(Boolean).join(" "),
8151
+ onClick: () => goTo(i)
8152
+ },
8153
+ i
8154
+ )) })
8155
+ ] })
8156
+ ] }),
8157
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScMediaApproval_default.feedbackBlock, children: [
8158
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScMediaApproval_default.label, children: feedbackLabel }),
8159
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScMediaApproval_default.inputContainer, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8160
+ "textarea",
8161
+ {
8162
+ className: ScMediaApproval_default.textArea,
8163
+ value: feedbackValue ?? "",
8164
+ placeholder: feedbackPlaceholder,
8165
+ onChange: (e) => {
8166
+ if (onFeedbackChange) onFeedbackChange(e.target.value);
8167
+ }
8168
+ }
8169
+ ) })
8170
+ ] })
8171
+ ] });
8172
+ };
8173
+
8174
+ // src/SC-mediaSelect/ScMediaSelect.tsx
8175
+ var import_react19 = require("react");
8176
+
8177
+ // src/SC-mediaSelect/ScMediaSelect.module.css
8178
+ var ScMediaSelect_default = {
8179
+ scMediaSelect: "ScMediaSelect_scMediaSelect",
8180
+ header: "ScMediaSelect_header",
8181
+ countLabel: "ScMediaSelect_countLabel",
8182
+ actions: "ScMediaSelect_actions",
8183
+ linkButton: "ScMediaSelect_linkButton",
8184
+ divider: "ScMediaSelect_divider",
8185
+ grid: "ScMediaSelect_grid",
8186
+ item: "ScMediaSelect_item",
8187
+ "state-default": "ScMediaSelect_state-default",
8188
+ "state-selected": "ScMediaSelect_state-selected",
8189
+ media: "ScMediaSelect_media",
8190
+ checkBadge: "ScMediaSelect_checkBadge",
8191
+ previewButton: "ScMediaSelect_previewButton"
8192
+ };
8193
+
8194
+ // src/SC-mediaSelect/ScMediaSelect.tsx
8195
+ var import_jsx_runtime89 = require("react/jsx-runtime");
8196
+ var CheckBadge = () => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: ScMediaSelect_default.checkBadge, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
8197
+ "path",
8198
+ {
8199
+ d: "M3.5 7.25L6 9.75L10.5 4.75",
8200
+ stroke: "var(--alias-text-and-icons-inverse, #101010)",
8201
+ strokeWidth: "1.75",
8202
+ strokeLinecap: "round",
8203
+ strokeLinejoin: "round"
8204
+ }
8205
+ ) }) });
8206
+ var MaximizeIcon = () => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
8207
+ "path",
8208
+ {
8209
+ d: "M15 3H21V9M9 21H3V15M21 3L14 10M3 21L10 14",
8210
+ stroke: "currentColor",
8211
+ strokeWidth: "2",
8212
+ strokeLinecap: "round",
8213
+ strokeLinejoin: "round"
8214
+ }
8215
+ ) });
8216
+ var ScMediaSelect = (props) => {
8217
+ const {
8218
+ items = [],
8219
+ selected = [],
8220
+ onToggle,
8221
+ onSelectAll,
8222
+ onDeselectAll,
8223
+ min = 0,
8224
+ max,
8225
+ mediaType = "image",
8226
+ onPreview,
8227
+ className
8228
+ } = props;
8229
+ const total = items.length;
8230
+ const resolvedMax = typeof max === "number" ? max : total;
8231
+ const selectedSet = (0, import_react19.useMemo)(() => new Set(selected), [selected]);
8232
+ const selectedCount = selectedSet.size;
8233
+ let countLabel = selectedCount + " of " + total + " selected";
8234
+ if (min > 0) countLabel += " (min " + min + ")";
8235
+ if (resolvedMax < total) countLabel += " (max " + resolvedMax + ")";
8236
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: [ScMediaSelect_default.scMediaSelect, className].filter(Boolean).join(" "), children: [
8237
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScMediaSelect_default.header, children: [
8238
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: ScMediaSelect_default.countLabel, children: countLabel }),
8239
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScMediaSelect_default.actions, children: [
8240
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
8241
+ "button",
8242
+ {
8243
+ type: "button",
8244
+ className: ScMediaSelect_default.linkButton,
8245
+ onClick: () => onSelectAll && onSelectAll(),
8246
+ children: "Select all"
8247
+ }
8248
+ ),
8249
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: ScMediaSelect_default.divider, children: "|" }),
8250
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
8251
+ "button",
8252
+ {
8253
+ type: "button",
8254
+ className: ScMediaSelect_default.linkButton,
8255
+ onClick: () => onDeselectAll && onDeselectAll(),
8256
+ children: "Deselect all"
8257
+ }
8258
+ )
8259
+ ] })
8260
+ ] }),
8261
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: ScMediaSelect_default.grid, children: items.map((url, index) => {
8262
+ const isSelected = selectedSet.has(url);
8263
+ const itemClass = [
8264
+ ScMediaSelect_default.item,
8265
+ isSelected ? ScMediaSelect_default["state-selected"] : ScMediaSelect_default["state-default"]
8266
+ ].filter(Boolean).join(" ");
8267
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
8268
+ "div",
8269
+ {
8270
+ className: itemClass,
8271
+ onClick: () => onToggle && onToggle(url),
8272
+ role: "button",
8273
+ tabIndex: 0,
8274
+ "aria-pressed": isSelected,
8275
+ children: [
8276
+ mediaType === "video" ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("video", { className: ScMediaSelect_default.media, src: url, muted: true, playsInline: true }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("img", { className: ScMediaSelect_default.media, src: url, alt: "" }),
8277
+ isSelected && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(CheckBadge, {}),
8278
+ onPreview && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
8279
+ "button",
8280
+ {
8281
+ type: "button",
8282
+ className: ScMediaSelect_default.previewButton,
8283
+ onClick: (e) => {
8284
+ e.stopPropagation();
8285
+ onPreview(url);
8286
+ },
8287
+ "aria-label": "Preview",
8288
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(MaximizeIcon, {})
8289
+ }
8290
+ )
8291
+ ]
8292
+ },
8293
+ url + "-" + index
8294
+ );
8295
+ }) })
8296
+ ] });
8297
+ };
8298
+
8299
+ // src/SC-todoList/ScTodoList.tsx
8300
+ var import_react20 = require("react");
8301
+
8302
+ // src/SC-todoList/ScTodoList.module.css
8303
+ var ScTodoList_default = {
8304
+ scTodoList: "ScTodoList_scTodoList",
8305
+ progress: "ScTodoList_progress",
8306
+ progressIcon: "ScTodoList_progressIcon",
8307
+ progressText: "ScTodoList_progressText",
8308
+ rows: "ScTodoList_rows",
8309
+ row: "ScTodoList_row",
8310
+ checkbox: "ScTodoList_checkbox",
8311
+ content: "ScTodoList_content",
8312
+ "status-completed": "ScTodoList_status-completed",
8313
+ editInput: "ScTodoList_editInput",
8314
+ actions: "ScTodoList_actions",
8315
+ actionButton: "ScTodoList_actionButton",
8316
+ actionButtonDanger: "ScTodoList_actionButtonDanger",
8317
+ addRow: "ScTodoList_addRow",
8318
+ addInput: "ScTodoList_addInput",
8319
+ addButton: "ScTodoList_addButton"
8320
+ };
8321
+
8322
+ // src/SC-todoList/ScTodoList.tsx
8323
+ var import_jsx_runtime90 = require("react/jsx-runtime");
8324
+ var ScTodoList = ({
8325
+ items = [],
8326
+ onToggle,
8327
+ onEdit,
8328
+ onDelete,
8329
+ onAdd,
8330
+ addPlaceholder = "Add an item",
8331
+ className
8332
+ }) => {
8333
+ const [editingId, setEditingId] = (0, import_react20.useState)(null);
8334
+ const [editValue, setEditValue] = (0, import_react20.useState)("");
8335
+ const [newValue, setNewValue] = (0, import_react20.useState)("");
8336
+ const total = items.length;
8337
+ const completed = items.filter((i) => i.status === "completed").length;
8338
+ const startEditing = (item) => {
8339
+ setEditingId(item.id);
8340
+ setEditValue(item.content);
8341
+ };
8342
+ const commitEdit = (id) => {
8343
+ onEdit?.(id, editValue);
8344
+ setEditingId(null);
8345
+ setEditValue("");
8346
+ };
8347
+ const cancelEdit = () => {
8348
+ setEditingId(null);
8349
+ setEditValue("");
8350
+ };
8351
+ const commitAdd = () => {
8352
+ const trimmed = newValue.trim();
8353
+ if (trimmed.length === 0) return;
8354
+ onAdd?.(newValue);
8355
+ setNewValue("");
8356
+ };
8357
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: [ScTodoList_default.scTodoList, className].filter(Boolean).join(" "), children: [
8358
+ total > 0 && /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: ScTodoList_default.progress, children: [
8359
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8360
+ "svg",
8361
+ {
8362
+ className: ScTodoList_default.progressIcon,
8363
+ width: "14",
8364
+ height: "14",
8365
+ viewBox: "0 0 14 14",
8366
+ fill: "none",
8367
+ xmlns: "http://www.w3.org/2000/svg",
8368
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8369
+ "path",
8370
+ {
8371
+ d: "M3 7L6 10L11 4",
8372
+ stroke: "currentColor",
8373
+ strokeWidth: "1.5",
8374
+ strokeLinecap: "round",
8375
+ strokeLinejoin: "round"
8376
+ }
8377
+ )
8378
+ }
8379
+ ),
8380
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("span", { className: ScTodoList_default.progressText, children: [
8381
+ completed,
8382
+ " of ",
8383
+ total,
8384
+ " completed"
8385
+ ] })
8386
+ ] }),
8387
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScTodoList_default.rows, children: items.map((item) => {
8388
+ const isEditing = editingId === item.id;
8389
+ const isCompleted = item.status === "completed";
8390
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: ScTodoList_default.row, children: [
8391
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8392
+ "button",
8393
+ {
8394
+ type: "button",
8395
+ className: ScTodoList_default.checkbox,
8396
+ "aria-label": isCompleted ? "Mark as pending" : "Mark as completed",
8397
+ onClick: () => onToggle?.(item.id),
8398
+ children: isCompleted ? /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
8399
+ "svg",
8400
+ {
8401
+ width: "18",
8402
+ height: "18",
8403
+ viewBox: "0 0 18 18",
8404
+ fill: "none",
8405
+ xmlns: "http://www.w3.org/2000/svg",
8406
+ children: [
8407
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("circle", { cx: "9", cy: "9", r: "9", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
8408
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8409
+ "path",
8410
+ {
8411
+ d: "M5.25 9L7.75 11.5L12.75 6.5",
8412
+ stroke: "var(--alias-text-and-icons-inverse, #101010)",
8413
+ strokeWidth: "1.5",
8414
+ strokeLinecap: "round",
8415
+ strokeLinejoin: "round"
8416
+ }
8417
+ )
8418
+ ]
8419
+ }
8420
+ ) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8421
+ "svg",
8422
+ {
8423
+ width: "18",
8424
+ height: "18",
8425
+ viewBox: "0 0 18 18",
8426
+ fill: "none",
8427
+ xmlns: "http://www.w3.org/2000/svg",
8428
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8429
+ "circle",
8430
+ {
8431
+ cx: "9",
8432
+ cy: "9",
8433
+ r: "8.25",
8434
+ stroke: "var(--alias-border-default, #3e3e3e)",
8435
+ strokeWidth: "1.5"
8436
+ }
8437
+ )
8438
+ }
8439
+ )
8440
+ }
8441
+ ),
8442
+ isEditing ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8443
+ "input",
8444
+ {
8445
+ className: ScTodoList_default.editInput,
8446
+ autoFocus: true,
8447
+ value: editValue,
8448
+ onChange: (e) => setEditValue(e.target.value),
8449
+ onBlur: () => commitEdit(item.id),
8450
+ onKeyDown: (e) => {
8451
+ if (e.key === "Enter") {
8452
+ e.preventDefault();
8453
+ commitEdit(item.id);
8454
+ } else if (e.key === "Escape") {
8455
+ e.preventDefault();
8456
+ cancelEdit();
8457
+ }
8458
+ }
8459
+ }
8460
+ ) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8461
+ "span",
8462
+ {
8463
+ className: [
8464
+ ScTodoList_default.content,
8465
+ isCompleted ? ScTodoList_default["status-completed"] : ""
8466
+ ].filter(Boolean).join(" "),
8467
+ children: item.content
8468
+ }
8469
+ ),
8470
+ !isEditing && /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: ScTodoList_default.actions, children: [
8471
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8472
+ "button",
8473
+ {
8474
+ type: "button",
8475
+ className: ScTodoList_default.actionButton,
8476
+ "aria-label": "Edit item",
8477
+ onClick: () => startEditing(item),
8478
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8479
+ "svg",
8480
+ {
8481
+ width: "16",
8482
+ height: "16",
8483
+ viewBox: "0 0 16 16",
8484
+ fill: "none",
8485
+ xmlns: "http://www.w3.org/2000/svg",
8486
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8487
+ "path",
8488
+ {
8489
+ d: "M11.333 2.667a1.414 1.414 0 0 1 2 2L5.333 12.667l-2.667.667.667-2.667 8-8Z",
8490
+ stroke: "currentColor",
8491
+ strokeWidth: "1.3",
8492
+ strokeLinecap: "round",
8493
+ strokeLinejoin: "round"
8494
+ }
8495
+ )
8496
+ }
8497
+ )
8498
+ }
8499
+ ),
8500
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8501
+ "button",
8502
+ {
8503
+ type: "button",
8504
+ className: [ScTodoList_default.actionButton, ScTodoList_default.actionButtonDanger].filter(Boolean).join(" "),
8505
+ "aria-label": "Delete item",
8506
+ onClick: () => onDelete?.(item.id),
8507
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8508
+ "svg",
8509
+ {
8510
+ width: "16",
8511
+ height: "16",
8512
+ viewBox: "0 0 16 16",
8513
+ fill: "none",
8514
+ xmlns: "http://www.w3.org/2000/svg",
8515
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8516
+ "path",
8517
+ {
8518
+ d: "M2.667 4h10.666M6.667 7.333v3.334M9.333 7.333v3.334M3.333 4l.667 8a1.333 1.333 0 0 0 1.333 1.333h5.334A1.333 1.333 0 0 0 12 12l.667-8M6 4V2.667a.667.667 0 0 1 .667-.667h2.666a.667.667 0 0 1 .667.667V4",
8519
+ stroke: "currentColor",
8520
+ strokeWidth: "1.3",
8521
+ strokeLinecap: "round",
8522
+ strokeLinejoin: "round"
8523
+ }
8524
+ )
8525
+ }
8526
+ )
8527
+ }
8528
+ )
8529
+ ] })
8530
+ ] }, item.id);
8531
+ }) }),
8532
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: ScTodoList_default.addRow, children: [
8533
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8534
+ "input",
8535
+ {
8536
+ className: ScTodoList_default.addInput,
8537
+ value: newValue,
8538
+ placeholder: addPlaceholder,
8539
+ onChange: (e) => setNewValue(e.target.value),
8540
+ onKeyDown: (e) => {
8541
+ if (e.key === "Enter") {
8542
+ e.preventDefault();
8543
+ commitAdd();
8544
+ }
8545
+ }
8546
+ }
8547
+ ),
8548
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8549
+ "button",
8550
+ {
8551
+ type: "button",
8552
+ className: ScTodoList_default.addButton,
8553
+ "aria-label": "Add item",
8554
+ disabled: newValue.trim().length === 0,
8555
+ onClick: commitAdd,
8556
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8557
+ "svg",
8558
+ {
8559
+ width: "18",
8560
+ height: "18",
8561
+ viewBox: "0 0 18 18",
8562
+ fill: "none",
8563
+ xmlns: "http://www.w3.org/2000/svg",
8564
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8565
+ "path",
8566
+ {
8567
+ d: "M9 4v10M4 9h10",
8568
+ stroke: "currentColor",
8569
+ strokeWidth: "1.5",
8570
+ strokeLinecap: "round",
8571
+ strokeLinejoin: "round"
8572
+ }
8573
+ )
8574
+ }
8575
+ )
8576
+ }
8577
+ )
8578
+ ] })
8579
+ ] });
8580
+ };
8581
+
7614
8582
  // src/SC-Role-Mobile/ScRoleMobile.module.css
7615
8583
  var ScRoleMobile_default = {
7616
8584
  scRoleMobile: "ScRoleMobile_scRoleMobile",
@@ -7620,18 +8588,18 @@ var ScRoleMobile_default = {
7620
8588
  };
7621
8589
 
7622
8590
  // src/SC-Role-Mobile/ScRoleMobile.tsx
7623
- var import_jsx_runtime85 = require("react/jsx-runtime");
8591
+ var import_jsx_runtime91 = require("react/jsx-runtime");
7624
8592
  var ScRoleMobile = ({
7625
8593
  role = "admin",
7626
8594
  className,
7627
8595
  ...props
7628
8596
  }) => {
7629
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
8597
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7630
8598
  "div",
7631
8599
  {
7632
8600
  className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
7633
8601
  ...props,
7634
- children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
8602
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
7635
8603
  }
7636
8604
  );
7637
8605
  };
@@ -7648,7 +8616,7 @@ var ScProfileV2Mobile_default = {
7648
8616
  };
7649
8617
 
7650
8618
  // src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
7651
- var import_jsx_runtime86 = require("react/jsx-runtime");
8619
+ var import_jsx_runtime92 = require("react/jsx-runtime");
7652
8620
  var ScProfileV2Mobile = ({
7653
8621
  name = "Chris Hemsworth",
7654
8622
  email = "chris@kepler.com",
@@ -7658,17 +8626,17 @@ var ScProfileV2Mobile = ({
7658
8626
  ...props
7659
8627
  }) => {
7660
8628
  const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
7661
- const profileImage = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
7662
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
8629
+ const profileImage = /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
8630
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
7663
8631
  "div",
7664
8632
  {
7665
8633
  className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
7666
8634
  ...props,
7667
8635
  children: [
7668
8636
  dpPosition === "left" && profileImage,
7669
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScProfileV2Mobile_default.userInfo, children: [
7670
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: ScProfileV2Mobile_default.userName, children: name }),
7671
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
8637
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScProfileV2Mobile_default.userInfo, children: [
8638
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("p", { className: ScProfileV2Mobile_default.userName, children: name }),
8639
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
7672
8640
  ] }),
7673
8641
  dpPosition === "right" && profileImage
7674
8642
  ]
@@ -7695,7 +8663,7 @@ var ScTableListMobile_default = {
7695
8663
  };
7696
8664
 
7697
8665
  // src/SC-tableList-mobile/ScTableListMobile.tsx
7698
- var import_jsx_runtime87 = require("react/jsx-runtime");
8666
+ var import_jsx_runtime93 = require("react/jsx-runtime");
7699
8667
  var ScTableListMobile = ({
7700
8668
  name = "Chris Hemsworth",
7701
8669
  email = "chris@kepler.com",
@@ -7708,25 +8676,25 @@ var ScTableListMobile = ({
7708
8676
  ...props
7709
8677
  }) => {
7710
8678
  const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
7711
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
8679
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
7712
8680
  "div",
7713
8681
  {
7714
8682
  className: ScTableListMobile_default.scTableListMobile + " " + className,
7715
8683
  onClick: onRowClick,
7716
8684
  ...props,
7717
8685
  children: [
7718
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScTableListMobile_default.profileRow, children: [
7719
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScTableListMobile_default.userInfo, children: [
7720
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: ScTableListMobile_default.userName, children: name }),
7721
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: ScTableListMobile_default.userEmail, children: email })
8686
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScTableListMobile_default.profileRow, children: [
8687
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScTableListMobile_default.userInfo, children: [
8688
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: ScTableListMobile_default.userName, children: name }),
8689
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: ScTableListMobile_default.userEmail, children: email })
7722
8690
  ] }),
7723
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScTableListMobile_default.initials, children: initials }) })
8691
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScTableListMobile_default.initials, children: initials }) })
7724
8692
  ] }),
7725
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScTableListMobile_default.detailsRow, children: [
7726
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: ScTableListMobile_default.roleText, children: role }) }),
7727
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScTableListMobile_default.accessInfo, children: [
7728
- accessIcons && accessIcons.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
7729
- permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
8693
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScTableListMobile_default.detailsRow, children: [
8694
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: ScTableListMobile_default.roleText, children: role }) }),
8695
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScTableListMobile_default.accessInfo, children: [
8696
+ accessIcons && accessIcons.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
8697
+ permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
7730
8698
  ] })
7731
8699
  ] })
7732
8700
  ]
@@ -7754,7 +8722,7 @@ var ScWorkspaceSwitchMobile_default = {
7754
8722
  };
7755
8723
 
7756
8724
  // src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
7757
- var import_jsx_runtime88 = require("react/jsx-runtime");
8725
+ var import_jsx_runtime94 = require("react/jsx-runtime");
7758
8726
  var ScWorkspaceSwitchMobile = ({
7759
8727
  storeName = "Stores",
7760
8728
  initials = "WS",
@@ -7767,24 +8735,24 @@ var ScWorkspaceSwitchMobile = ({
7767
8735
  ...props
7768
8736
  }) => {
7769
8737
  const variant = currentWs ? "current" : "other";
7770
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
8738
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
7771
8739
  "div",
7772
8740
  {
7773
8741
  className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
7774
8742
  onClick,
7775
8743
  ...props,
7776
8744
  children: [
7777
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
7778
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
7779
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
7780
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
8745
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
8746
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
8747
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
8748
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
7781
8749
  ] }),
7782
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
8750
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
7783
8751
  ] }),
7784
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScWorkspaceSwitchMobile_default.divider }),
7785
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
7786
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
7787
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
8752
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: ScWorkspaceSwitchMobile_default.divider }),
8753
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
8754
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
8755
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
7788
8756
  ] })
7789
8757
  ]
7790
8758
  }
@@ -7811,7 +8779,7 @@ var ScWorkspaceSettingsMobile_default = {
7811
8779
  };
7812
8780
 
7813
8781
  // src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
7814
- var import_jsx_runtime89 = require("react/jsx-runtime");
8782
+ var import_jsx_runtime95 = require("react/jsx-runtime");
7815
8783
  var ScWorkspaceSettingsMobile = ({
7816
8784
  storeName = "Stores",
7817
8785
  initials = "WS",
@@ -7826,28 +8794,28 @@ var ScWorkspaceSettingsMobile = ({
7826
8794
  ...props
7827
8795
  }) => {
7828
8796
  const variant = currentWs ? "current" : "other";
7829
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
8797
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
7830
8798
  "div",
7831
8799
  {
7832
8800
  className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
7833
8801
  onClick,
7834
8802
  ...props,
7835
8803
  children: [
7836
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
7837
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
7838
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
7839
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
8804
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
8805
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
8806
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
8807
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
7840
8808
  ] }),
7841
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
8809
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
7842
8810
  ] }),
7843
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: ScWorkspaceSettingsMobile_default.divider }),
7844
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
7845
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
7846
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
8811
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScWorkspaceSettingsMobile_default.divider }),
8812
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
8813
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
8814
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
7847
8815
  ] }),
7848
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
7849
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
7850
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
8816
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
8817
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
8818
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
7851
8819
  ] })
7852
8820
  ]
7853
8821
  }
@@ -7870,7 +8838,7 @@ var ScMobileTopNav_default = {
7870
8838
  };
7871
8839
 
7872
8840
  // src/SC-MobileTopNav/ScMobileTopNav.tsx
7873
- var import_jsx_runtime90 = require("react/jsx-runtime");
8841
+ var import_jsx_runtime96 = require("react/jsx-runtime");
7874
8842
  var ScMobileTopNav = ({
7875
8843
  type = "home",
7876
8844
  searchIcon = false,
@@ -7893,22 +8861,22 @@ var ScMobileTopNav = ({
7893
8861
  }) => {
7894
8862
  const hasBorder = type === "chat" || type === "inApp";
7895
8863
  const showSearch = type === "inApp" && searchIcon && search;
7896
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
8864
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
7897
8865
  "div",
7898
8866
  {
7899
8867
  className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
7900
8868
  ...props,
7901
8869
  children: [
7902
- type === "home" && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
7903
- type === "chat" && /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_jsx_runtime90.Fragment, { children: [
7904
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
7905
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
7906
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
8870
+ type === "home" && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
8871
+ type === "chat" && /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_jsx_runtime96.Fragment, { children: [
8872
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
8873
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
8874
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
7907
8875
  ] }),
7908
- showSearch && /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_jsx_runtime90.Fragment, { children: [
7909
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
7910
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
7911
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8876
+ showSearch && /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_jsx_runtime96.Fragment, { children: [
8877
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
8878
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
8879
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
7912
8880
  "input",
7913
8881
  {
7914
8882
  type: "text",
@@ -7919,17 +8887,17 @@ var ScMobileTopNav = ({
7919
8887
  }
7920
8888
  ) })
7921
8889
  ] }) }),
7922
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
8890
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
7923
8891
  ] }),
7924
- type === "inApp" && !search && /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_jsx_runtime90.Fragment, { children: [
7925
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
7926
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: ScMobileTopNav_default.heading, children: heading }),
7927
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
8892
+ type === "inApp" && !search && /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_jsx_runtime96.Fragment, { children: [
8893
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
8894
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: ScMobileTopNav_default.heading, children: heading }),
8895
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
7928
8896
  "div",
7929
8897
  {
7930
8898
  className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
7931
8899
  onClick: onSearchClick,
7932
- children: searchIcon ? searchIconElement || /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder })
8900
+ children: searchIcon ? searchIconElement || /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder })
7933
8901
  }
7934
8902
  )
7935
8903
  ] })
@@ -7950,7 +8918,7 @@ var ScMobileBottomAction_default = {
7950
8918
  };
7951
8919
 
7952
8920
  // src/SC-MobileBottomAction/ScMobileBottomAction.tsx
7953
- var import_jsx_runtime91 = require("react/jsx-runtime");
8921
+ var import_jsx_runtime97 = require("react/jsx-runtime");
7954
8922
  var ScMobileBottomAction = ({
7955
8923
  text = "Save Changes",
7956
8924
  disabled = false,
@@ -7962,28 +8930,28 @@ var ScMobileBottomAction = ({
7962
8930
  ...props
7963
8931
  }) => {
7964
8932
  const isTwoButton = !!secondaryText;
7965
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
8933
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
7966
8934
  "div",
7967
8935
  {
7968
8936
  className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
7969
8937
  ...props,
7970
8938
  children: [
7971
- isTwoButton && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
8939
+ isTwoButton && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7972
8940
  "button",
7973
8941
  {
7974
8942
  className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
7975
8943
  onClick: onSecondaryClick,
7976
8944
  disabled: secondaryDisabled,
7977
- children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
8945
+ children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
7978
8946
  }
7979
8947
  ),
7980
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
8948
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7981
8949
  "button",
7982
8950
  {
7983
8951
  className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
7984
8952
  onClick,
7985
8953
  disabled,
7986
- children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { className: ScMobileBottomAction_default.buttonText, children: text })
8954
+ children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { className: ScMobileBottomAction_default.buttonText, children: text })
7987
8955
  }
7988
8956
  )
7989
8957
  ]
@@ -8001,7 +8969,7 @@ var ScPopUpMenu_default = {
8001
8969
  };
8002
8970
 
8003
8971
  // src/SC-PopUpMenu/ScPopUpMenu.tsx
8004
- var import_jsx_runtime92 = require("react/jsx-runtime");
8972
+ var import_jsx_runtime98 = require("react/jsx-runtime");
8005
8973
  var ScPopUpMenu = ({
8006
8974
  menu = "Options",
8007
8975
  state = "default",
@@ -8010,15 +8978,15 @@ var ScPopUpMenu = ({
8010
8978
  className,
8011
8979
  ...props
8012
8980
  }) => {
8013
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
8981
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
8014
8982
  "div",
8015
8983
  {
8016
8984
  className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
8017
8985
  onClick,
8018
8986
  ...props,
8019
8987
  children: [
8020
- icon && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: ScPopUpMenu_default.icon, children: icon }),
8021
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("p", { className: ScPopUpMenu_default.menuText, children: menu })
8988
+ icon && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("span", { className: ScPopUpMenu_default.icon, children: icon }),
8989
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("p", { className: ScPopUpMenu_default.menuText, children: menu })
8022
8990
  ]
8023
8991
  }
8024
8992
  );
@@ -8044,7 +9012,7 @@ var ScReferralCardMobile_default = {
8044
9012
  };
8045
9013
 
8046
9014
  // src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
8047
- var import_jsx_runtime93 = require("react/jsx-runtime");
9015
+ var import_jsx_runtime99 = require("react/jsx-runtime");
8048
9016
  var ScReferralCardMobile = ({
8049
9017
  name = "Chris Hemsworth",
8050
9018
  email = "chris@kepler.com",
@@ -8057,27 +9025,27 @@ var ScReferralCardMobile = ({
8057
9025
  ...props
8058
9026
  }) => {
8059
9027
  const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
8060
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
9028
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
8061
9029
  "div",
8062
9030
  {
8063
9031
  className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
8064
9032
  onClick,
8065
9033
  ...props,
8066
9034
  children: [
8067
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScReferralCardMobile_default.userRow, children: [
8068
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScReferralCardMobile_default.profileSection, children: [
8069
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
8070
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScReferralCardMobile_default.userInfo, children: [
8071
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: ScReferralCardMobile_default.userName, children: name }),
8072
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: ScReferralCardMobile_default.userEmail, children: email })
9035
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: ScReferralCardMobile_default.userRow, children: [
9036
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: ScReferralCardMobile_default.profileSection, children: [
9037
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
9038
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: ScReferralCardMobile_default.userInfo, children: [
9039
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { className: ScReferralCardMobile_default.userName, children: name }),
9040
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { className: ScReferralCardMobile_default.userEmail, children: email })
8073
9041
  ] })
8074
9042
  ] }),
8075
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
9043
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
8076
9044
  ] }),
8077
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScReferralCardMobile_default.divider }),
8078
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScReferralCardMobile_default.detailsRow, children: [
8079
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: ScReferralCardMobile_default.dateText, children: date }),
8080
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
9045
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: ScReferralCardMobile_default.divider }),
9046
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: ScReferralCardMobile_default.detailsRow, children: [
9047
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { className: ScReferralCardMobile_default.dateText, children: date }),
9048
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
8081
9049
  ] })
8082
9050
  ]
8083
9051
  }
@@ -8094,19 +9062,19 @@ var InvoiceHistoryMobile_default = {
8094
9062
  };
8095
9063
 
8096
9064
  // src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
8097
- var import_jsx_runtime94 = require("react/jsx-runtime");
9065
+ var import_jsx_runtime100 = require("react/jsx-runtime");
8098
9066
  var InvoiceHistoryMobile = ({
8099
9067
  invoiceId = "# INV-2800-2026",
8100
9068
  date = "Nov 9th, 2025",
8101
9069
  amount = "\u20B9320.89",
8102
9070
  className
8103
9071
  }) => {
8104
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
8105
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: InvoiceHistoryMobile_default.info, children: [
8106
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
8107
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: InvoiceHistoryMobile_default.date, children: date })
9072
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
9073
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: InvoiceHistoryMobile_default.info, children: [
9074
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
9075
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: InvoiceHistoryMobile_default.date, children: date })
8108
9076
  ] }),
8109
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
9077
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
8110
9078
  ] });
8111
9079
  };
8112
9080
 
@@ -8124,7 +9092,7 @@ var UsageHistoryMobile_default = {
8124
9092
  };
8125
9093
 
8126
9094
  // src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
8127
- var import_jsx_runtime95 = require("react/jsx-runtime");
9095
+ var import_jsx_runtime101 = require("react/jsx-runtime");
8128
9096
  var UsageHistoryMobile = ({
8129
9097
  serviceName = "Artifax Generation",
8130
9098
  credits = "50",
@@ -8133,18 +9101,18 @@ var UsageHistoryMobile = ({
8133
9101
  balance = "84,902",
8134
9102
  className
8135
9103
  }) => {
8136
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
8137
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: UsageHistoryMobile_default.row1, children: [
8138
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
8139
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: UsageHistoryMobile_default.credits, children: credits })
9104
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
9105
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: UsageHistoryMobile_default.row1, children: [
9106
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
9107
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: UsageHistoryMobile_default.credits, children: credits })
8140
9108
  ] }),
8141
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: UsageHistoryMobile_default.row2, children: [
8142
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: UsageHistoryMobile_default.metaLeft, children: [
8143
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
8144
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: UsageHistoryMobile_default.divider }),
8145
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: UsageHistoryMobile_default.metaText, children: date })
9109
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: UsageHistoryMobile_default.row2, children: [
9110
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: UsageHistoryMobile_default.metaLeft, children: [
9111
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
9112
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: UsageHistoryMobile_default.divider }),
9113
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: UsageHistoryMobile_default.metaText, children: date })
8146
9114
  ] }),
8147
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: UsageHistoryMobile_default.balance, children: balance })
9115
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: UsageHistoryMobile_default.balance, children: balance })
8148
9116
  ] })
8149
9117
  ] });
8150
9118
  };
@@ -8168,7 +9136,7 @@ var ScWorkspaceSwitchMobileV2_default = {
8168
9136
  };
8169
9137
 
8170
9138
  // src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
8171
- var import_jsx_runtime96 = require("react/jsx-runtime");
9139
+ var import_jsx_runtime102 = require("react/jsx-runtime");
8172
9140
  var ScWorkspaceSwitchMobileV2 = ({
8173
9141
  wsName = "Workspace name is kepler",
8174
9142
  initials = "WS",
@@ -8181,14 +9149,14 @@ var ScWorkspaceSwitchMobileV2 = ({
8181
9149
  className,
8182
9150
  ...props
8183
9151
  }) => {
8184
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
9152
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
8185
9153
  "div",
8186
9154
  {
8187
9155
  className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
8188
9156
  onClick,
8189
9157
  ...props,
8190
- children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
8191
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
9158
+ children: /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
9159
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
8192
9160
  ScDp,
8193
9161
  {
8194
9162
  type: imageUrl ? "image" : "initial",
@@ -8202,14 +9170,14 @@ var ScWorkspaceSwitchMobileV2 = ({
8202
9170
  }
8203
9171
  }
8204
9172
  ) }),
8205
- /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
8206
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
8207
- /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
8208
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
8209
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
8210
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
8211
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
8212
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
9173
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
9174
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
9175
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
9176
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
9177
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
9178
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
9179
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
9180
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
8213
9181
  ] })
8214
9182
  ] })
8215
9183
  ] })
@@ -8218,7 +9186,7 @@ var ScWorkspaceSwitchMobileV2 = ({
8218
9186
  };
8219
9187
 
8220
9188
  // src/SC-imageField/ScImageField.tsx
8221
- var import_react15 = require("react");
9189
+ var import_react21 = require("react");
8222
9190
 
8223
9191
  // src/SC-imageField/ScImageField.module.css
8224
9192
  var ScImageField_default = {
@@ -8236,7 +9204,7 @@ var ScImageField_default = {
8236
9204
 
8237
9205
  // src/SC-imageField/ScImageField.tsx
8238
9206
  var import_icons62 = require("@streamoid/icons");
8239
- var import_jsx_runtime97 = require("react/jsx-runtime");
9207
+ var import_jsx_runtime103 = require("react/jsx-runtime");
8240
9208
  var ScImageField = ({
8241
9209
  label = "Label",
8242
9210
  imagePreview,
@@ -8245,7 +9213,7 @@ var ScImageField = ({
8245
9213
  onRemove,
8246
9214
  className
8247
9215
  }) => {
8248
- const inputRef = (0, import_react15.useRef)(null);
9216
+ const inputRef = (0, import_react21.useRef)(null);
8249
9217
  const hasImage = !!imagePreview;
8250
9218
  function handleClick() {
8251
9219
  if (!hasImage) {
@@ -8259,8 +9227,8 @@ var ScImageField = ({
8259
9227
  }
8260
9228
  e.target.value = "";
8261
9229
  }
8262
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
8263
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
9230
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
9231
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
8264
9232
  "input",
8265
9233
  {
8266
9234
  ref: inputRef,
@@ -8270,9 +9238,9 @@ var ScImageField = ({
8270
9238
  onChange: handleChange
8271
9239
  }
8272
9240
  ),
8273
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: ScImageField_default.label, children: label }) }),
8274
- hasImage ? /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScImageField_default.previewArea, children: [
8275
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
9241
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScImageField_default.label, children: label }) }),
9242
+ hasImage ? /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { className: ScImageField_default.previewArea, children: [
9243
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
8276
9244
  "img",
8277
9245
  {
8278
9246
  className: ScImageField_default.previewImage,
@@ -8280,8 +9248,8 @@ var ScImageField = ({
8280
9248
  alt: "preview"
8281
9249
  }
8282
9250
  ),
8283
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
8284
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
9251
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
9252
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
8285
9253
  import_icons62.SiconDelete,
8286
9254
  {
8287
9255
  className: ScImageField_default.removeIcon,
@@ -8292,9 +9260,9 @@ var ScImageField = ({
8292
9260
  }
8293
9261
  }
8294
9262
  )
8295
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
8296
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_icons62.SiconUpload, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
8297
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
9263
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
9264
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_icons62.SiconUpload, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
9265
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
8298
9266
  ] })
8299
9267
  ] });
8300
9268
  };
@@ -8308,7 +9276,7 @@ var ScSettingsTabComp_default = {
8308
9276
  };
8309
9277
 
8310
9278
  // src/SC-settingsTabComp/ScSettingsTabComp.tsx
8311
- var import_jsx_runtime98 = require("react/jsx-runtime");
9279
+ var import_jsx_runtime104 = require("react/jsx-runtime");
8312
9280
  var ScSettingsTabComp = ({
8313
9281
  tabName = "Tab",
8314
9282
  active = false,
@@ -8316,12 +9284,12 @@ var ScSettingsTabComp = ({
8316
9284
  className
8317
9285
  }) => {
8318
9286
  const variantsClassName = ScSettingsTabComp_default["active-" + active];
8319
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
9287
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
8320
9288
  "div",
8321
9289
  {
8322
9290
  className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
8323
9291
  onClick,
8324
- children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
9292
+ children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
8325
9293
  }
8326
9294
  );
8327
9295
  };
@@ -8341,7 +9309,7 @@ var ScCreditsUsageCardMobile_default = {
8341
9309
 
8342
9310
  // src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
8343
9311
  var import_icons63 = require("@streamoid/icons");
8344
- var import_jsx_runtime99 = require("react/jsx-runtime");
9312
+ var import_jsx_runtime105 = require("react/jsx-runtime");
8345
9313
  var ScCreditsUsageCardMobile = ({
8346
9314
  usageLabel = "Credits usage",
8347
9315
  usageText = "8,450 / 30,000",
@@ -8351,23 +9319,23 @@ var ScCreditsUsageCardMobile = ({
8351
9319
  className,
8352
9320
  ...props
8353
9321
  }) => {
8354
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
8355
- /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: ScCreditsUsageCardMobile_default.header, children: [
8356
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
9322
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
9323
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScCreditsUsageCardMobile_default.header, children: [
9324
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
8357
9325
  import_icons63.SiconCredits,
8358
9326
  {
8359
9327
  className: ScCreditsUsageCardMobile_default.headerIcon,
8360
9328
  color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
8361
9329
  }
8362
9330
  ),
8363
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
9331
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
8364
9332
  ] }),
8365
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: ScCreditsUsageCardMobile_default.divider }),
8366
- /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
8367
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
8368
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
9333
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", { className: ScCreditsUsageCardMobile_default.divider }),
9334
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
9335
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
9336
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
8369
9337
  ] }),
8370
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
9338
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
8371
9339
  ScButton,
8372
9340
  {
8373
9341
  text: buyButtonText,
@@ -8409,7 +9377,7 @@ var ScPlanDetailsCardMobile_default = {
8409
9377
 
8410
9378
  // src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
8411
9379
  var import_icons64 = require("@streamoid/icons");
8412
- var import_jsx_runtime100 = require("react/jsx-runtime");
9380
+ var import_jsx_runtime106 = require("react/jsx-runtime");
8413
9381
  var ScPlanDetailsCardMobile = ({
8414
9382
  planName = "Pro",
8415
9383
  planCredits = "30,000 credits",
@@ -8423,20 +9391,20 @@ var ScPlanDetailsCardMobile = ({
8423
9391
  className,
8424
9392
  ...props
8425
9393
  }) => {
8426
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
8427
- /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
8428
- /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
8429
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
9394
+ return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
9395
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
9396
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
9397
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
8430
9398
  import_icons64.SiconBilling,
8431
9399
  {
8432
9400
  className: ScPlanDetailsCardMobile_default.headerIcon,
8433
9401
  color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
8434
9402
  }
8435
9403
  ),
8436
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
9404
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
8437
9405
  ] }),
8438
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
8439
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
9406
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_jsx_runtime106.Fragment, { children: [
9407
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
8440
9408
  ScBadges,
8441
9409
  {
8442
9410
  text: badgeText,
@@ -8445,28 +9413,28 @@ var ScPlanDetailsCardMobile = ({
8445
9413
  className: ScPlanDetailsCardMobile_default.scBadgesInstance
8446
9414
  }
8447
9415
  ),
8448
- badgeSubText && /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
8449
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
8450
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
9416
+ badgeSubText && /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_jsx_runtime106.Fragment, { children: [
9417
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
9418
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
8451
9419
  ] })
8452
9420
  ] }) })
8453
9421
  ] }),
8454
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScPlanDetailsCardMobile_default.divider }),
8455
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
8456
- /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
8457
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
8458
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
9422
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: ScPlanDetailsCardMobile_default.divider }),
9423
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_jsx_runtime106.Fragment, { children: [
9424
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
9425
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
9426
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
8459
9427
  ] }),
8460
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
8461
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
8462
- /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
8463
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
8464
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScPlanDetailsCardMobile_default.dot }),
8465
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
9428
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
9429
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_jsx_runtime106.Fragment, { children: [
9430
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
9431
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
9432
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: ScPlanDetailsCardMobile_default.dot }),
9433
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
8466
9434
  ] }),
8467
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
9435
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
8468
9436
  ] }) }),
8469
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
9437
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
8470
9438
  ScButton,
8471
9439
  {
8472
9440
  text: upgradeButtonText,