@elementor/editor-editing-panel 4.1.0-748 → 4.1.0-750

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
@@ -47,9 +47,13 @@ __export(index_exports, {
47
47
  doApplyClasses: () => doApplyClasses,
48
48
  doGetAppliedClasses: () => doGetAppliedClasses,
49
49
  doUnapplyClass: () => doUnapplyClass,
50
+ extractDependencyEffect: () => extractDependencyEffect,
51
+ extractOrderedDependencies: () => extractOrderedDependencies,
52
+ getElementSettingsWithDefaults: () => getElementSettingsWithDefaults,
50
53
  getFieldIndicators: () => getFieldIndicators,
51
54
  getSubtitle: () => getSubtitle,
52
55
  getTitle: () => getTitle,
56
+ getUpdatedValues: () => getUpdatedValues,
53
57
  init: () => init4,
54
58
  injectIntoClassSelectorActions: () => injectIntoClassSelectorActions,
55
59
  injectIntoCssClassConvert: () => injectIntoCssClassConvert,
@@ -175,6 +179,9 @@ function useIsStyle() {
175
179
  return !!(0, import_react3.useContext)(Context3);
176
180
  }
177
181
 
182
+ // src/components/css-classes/consts.ts
183
+ var PENDING_CLASS_RENAME_SESSION_KEY = "pending-class-rename-id";
184
+
178
185
  // src/components/css-classes/css-class-convert-local.tsx
179
186
  var { Slot: CssClassConvertSlot, inject: injectIntoCssClassConvert } = (0, import_locations.createLocation)();
180
187
  var CssClassConvert = (props) => {
@@ -182,7 +189,7 @@ var CssClassConvert = (props) => {
182
189
  const elementId = element.id;
183
190
  const currentClassesProp = useClassesProp();
184
191
  const { setId: setActiveId } = useStyle();
185
- const [, saveValue] = (0, import_session.useSessionStorage)("last-converted-class-generated-name", "app");
192
+ const [, saveValue] = (0, import_session.useSessionStorage)(PENDING_CLASS_RENAME_SESSION_KEY, "app");
186
193
  const successCallback = (newId) => {
187
194
  if (!props.styleDef) {
188
195
  throw new Error("Style definition is required for converting local class to global class.");
@@ -218,14 +225,14 @@ var onConvert = (opts) => {
218
225
  };
219
226
 
220
227
  // src/components/css-classes/css-class-selector.tsx
221
- var React10 = __toESM(require("react"));
228
+ var React11 = __toESM(require("react"));
222
229
  var import_react10 = require("react");
223
- var import_editor_styles_repository8 = require("@elementor/editor-styles-repository");
224
- var import_editor_ui3 = require("@elementor/editor-ui");
230
+ var import_editor_styles_repository9 = require("@elementor/editor-styles-repository");
231
+ var import_editor_ui4 = require("@elementor/editor-ui");
225
232
  var import_icons2 = require("@elementor/icons");
226
233
  var import_locations2 = require("@elementor/locations");
227
234
  var import_ui7 = require("@elementor/ui");
228
- var import_i18n5 = require("@wordpress/i18n");
235
+ var import_i18n6 = require("@wordpress/i18n");
229
236
 
230
237
  // src/utils/get-styles-provider-color.ts
231
238
  var import_editor_styles_repository2 = require("@elementor/editor-styles-repository");
@@ -601,15 +608,15 @@ var StyledGroupItems = (0, import_ui2.styled)("ul")`
601
608
  `;
602
609
 
603
610
  // src/components/css-classes/css-class-item.tsx
604
- var React9 = __toESM(require("react"));
611
+ var React10 = __toESM(require("react"));
605
612
  var import_react9 = require("react");
606
613
  var import_editor_styles = require("@elementor/editor-styles");
607
- var import_editor_styles_repository7 = require("@elementor/editor-styles-repository");
608
- var import_editor_ui2 = require("@elementor/editor-ui");
614
+ var import_editor_styles_repository8 = require("@elementor/editor-styles-repository");
615
+ var import_editor_ui3 = require("@elementor/editor-ui");
609
616
  var import_icons = require("@elementor/icons");
610
- var import_session2 = require("@elementor/session");
617
+ var import_session3 = require("@elementor/session");
611
618
  var import_ui6 = require("@elementor/ui");
612
- var import_i18n4 = require("@wordpress/i18n");
619
+ var import_i18n5 = require("@wordpress/i18n");
613
620
 
614
621
  // src/components/css-classes/css-class-context.tsx
615
622
  var React6 = __toESM(require("react"));
@@ -627,11 +634,11 @@ function CssClassProvider({ children, ...contextValue }) {
627
634
  }
628
635
 
629
636
  // src/components/css-classes/css-class-menu.tsx
630
- var React8 = __toESM(require("react"));
631
- var import_editor_styles_repository6 = require("@elementor/editor-styles-repository");
632
- var import_editor_ui = require("@elementor/editor-ui");
637
+ var React9 = __toESM(require("react"));
638
+ var import_editor_styles_repository7 = require("@elementor/editor-styles-repository");
639
+ var import_editor_ui2 = require("@elementor/editor-ui");
633
640
  var import_ui5 = require("@elementor/ui");
634
- var import_i18n3 = require("@wordpress/i18n");
641
+ var import_i18n4 = require("@wordpress/i18n");
635
642
 
636
643
  // src/components/style-indicator.tsx
637
644
  var import_ui3 = require("@elementor/ui");
@@ -650,40 +657,19 @@ var StyleIndicator = (0, import_ui3.styled)("div", {
650
657
  }};
651
658
  `;
652
659
 
653
- // src/components/css-classes/local-class-sub-menu.tsx
660
+ // src/components/css-classes/duplicate-class-menu-item.tsx
654
661
  var React7 = __toESM(require("react"));
655
- var import_ui4 = require("@elementor/ui");
656
- var import_i18n = require("@wordpress/i18n");
657
-
658
- // src/components/css-classes/use-can-convert-local-class-to-global.ts
659
- var import_editor_styles_repository4 = require("@elementor/editor-styles-repository");
660
- var useCanConvertLocalClassToGlobal = () => {
661
- const { element } = useElement();
662
- const { provider, id, meta } = useStyle();
663
- const styleDef = provider?.actions.get(id, { elementId: element.id, ...meta });
664
- const isLocalStylesProvider = provider && (0, import_editor_styles_repository4.isElementsStylesProvider)(provider?.getKey());
665
- const variants = styleDef?.variants || [];
666
- const canConvert = !!(isLocalStylesProvider && variants.length);
667
- return {
668
- canConvert,
669
- isLocalStylesProvider,
670
- id,
671
- styleDef: styleDef || null
672
- };
673
- };
674
-
675
- // src/components/css-classes/local-class-sub-menu.tsx
676
- var LocalClassSubMenu = (props) => {
677
- const { canConvert, styleDef } = useCanConvertLocalClassToGlobal();
678
- return /* @__PURE__ */ React7.createElement(React7.Fragment, null, /* @__PURE__ */ React7.createElement(import_ui4.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, (0, import_i18n.__)("Local Class", "elementor")), /* @__PURE__ */ React7.createElement(CssClassConvert, { canConvert, styleDef, closeMenu: props.popupState.close }));
679
- };
662
+ var import_editor_styles_repository5 = require("@elementor/editor-styles-repository");
663
+ var import_editor_ui = require("@elementor/editor-ui");
664
+ var import_session2 = require("@elementor/session");
665
+ var import_i18n2 = require("@wordpress/i18n");
680
666
 
681
667
  // src/components/css-classes/use-apply-and-unapply-class.ts
682
668
  var import_react8 = require("react");
683
669
  var import_editor_elements3 = require("@elementor/editor-elements");
684
- var import_editor_styles_repository5 = require("@elementor/editor-styles-repository");
670
+ var import_editor_styles_repository4 = require("@elementor/editor-styles-repository");
685
671
  var import_editor_v1_adapters = require("@elementor/editor-v1-adapters");
686
- var import_i18n2 = require("@wordpress/i18n");
672
+ var import_i18n = require("@wordpress/i18n");
687
673
 
688
674
  // src/apply-unapply-actions.ts
689
675
  var import_editor_documents = require("@elementor/editor-documents");
@@ -732,7 +718,7 @@ function useApplyClass() {
732
718
  {
733
719
  title: (0, import_editor_elements3.getElementLabel)(element.id),
734
720
  subtitle: ({ classLabel }) => {
735
- return (0, import_i18n2.__)(`class %s applied`, "elementor").replace("%s", classLabel);
721
+ return (0, import_i18n.__)(`class %s applied`, "elementor").replace("%s", classLabel);
736
722
  }
737
723
  }
738
724
  );
@@ -759,7 +745,7 @@ function useUnapplyClass() {
759
745
  {
760
746
  title: (0, import_editor_elements3.getElementLabel)(element.id),
761
747
  subtitle: ({ classLabel }) => {
762
- return (0, import_i18n2.__)(`class %s removed`, "elementor").replace("%s", classLabel);
748
+ return (0, import_i18n.__)(`class %s removed`, "elementor").replace("%s", classLabel);
763
749
  }
764
750
  }
765
751
  );
@@ -767,7 +753,7 @@ function useUnapplyClass() {
767
753
  }
768
754
  function useCreateAndApplyClass() {
769
755
  const { id: activeId, setId: setActiveId } = useStyle();
770
- const [provider, createAction] = (0, import_editor_styles_repository5.useGetStylesRepositoryCreateAction)() ?? [null, null];
756
+ const [provider, createAction] = (0, import_editor_styles_repository4.useGetStylesRepositoryCreateAction)() ?? [null, null];
771
757
  const deleteAction = provider?.actions.delete;
772
758
  const applyClass = useApply();
773
759
  const unapplyClass = useUnapply();
@@ -790,9 +776,9 @@ function useCreateAndApplyClass() {
790
776
  }
791
777
  },
792
778
  {
793
- title: (0, import_i18n2.__)("Class", "elementor"),
779
+ title: (0, import_i18n.__)("Class", "elementor"),
794
780
  subtitle: ({ classLabel }) => {
795
- return (0, import_i18n2.__)(`%s created`, "elementor").replace("%s", classLabel);
781
+ return (0, import_i18n.__)(`%s created`, "elementor").replace("%s", classLabel);
796
782
  }
797
783
  }
798
784
  );
@@ -854,12 +840,91 @@ function useClasses() {
854
840
  }, [currentClassesProp, element.id]);
855
841
  }
856
842
 
843
+ // src/components/css-classes/duplicate-class-menu-item.tsx
844
+ var DUPLICATE_LABEL_PREFIX = "copy-of";
845
+ function getUniqueDuplicateLabel(originalLabel, existingLabels) {
846
+ let newLabel = `${DUPLICATE_LABEL_PREFIX}-${originalLabel}`;
847
+ let counter = 2;
848
+ while (existingLabels.includes(newLabel)) {
849
+ newLabel = `${DUPLICATE_LABEL_PREFIX}-${originalLabel}-${counter}`;
850
+ counter++;
851
+ }
852
+ return newLabel;
853
+ }
854
+ function DuplicateClassMenuItem({ closeMenu }) {
855
+ const { id: classId, provider } = useCssClass();
856
+ const { userCan } = (0, import_editor_styles_repository5.useUserStylesCapability)();
857
+ const applyClass = useApplyClass();
858
+ const [, setPendingEditId] = (0, import_session2.useSessionStorage)(PENDING_CLASS_RENAME_SESSION_KEY, "app");
859
+ if (!provider || !classId) {
860
+ return null;
861
+ }
862
+ const providerInstance = import_editor_styles_repository5.stylesRepository.getProviderByKey(provider);
863
+ const createAction = providerInstance?.actions.create;
864
+ const getAction = providerInstance?.actions.get;
865
+ if (!createAction || !getAction) {
866
+ return null;
867
+ }
868
+ if (!userCan(provider).create) {
869
+ return null;
870
+ }
871
+ const handleDuplicate = () => {
872
+ const styleDef = getAction(classId);
873
+ if (!styleDef) {
874
+ closeMenu();
875
+ return;
876
+ }
877
+ const existingLabels = providerInstance.actions.all().map((style) => style.label);
878
+ const newLabel = getUniqueDuplicateLabel(styleDef.label, existingLabels);
879
+ const newId = createAction(newLabel, styleDef.variants);
880
+ if (newId) {
881
+ applyClass({ classId: newId, classLabel: newLabel });
882
+ setPendingEditId(newId);
883
+ trackStyles(provider, "classCreated", {
884
+ classId: newId,
885
+ source: "duplicated",
886
+ classTitle: newLabel
887
+ });
888
+ }
889
+ closeMenu();
890
+ };
891
+ return /* @__PURE__ */ React7.createElement(import_editor_ui.MenuListItem, { onClick: handleDuplicate }, (0, import_i18n2.__)("Duplicate", "elementor"));
892
+ }
893
+
894
+ // src/components/css-classes/local-class-sub-menu.tsx
895
+ var React8 = __toESM(require("react"));
896
+ var import_ui4 = require("@elementor/ui");
897
+ var import_i18n3 = require("@wordpress/i18n");
898
+
899
+ // src/components/css-classes/use-can-convert-local-class-to-global.ts
900
+ var import_editor_styles_repository6 = require("@elementor/editor-styles-repository");
901
+ var useCanConvertLocalClassToGlobal = () => {
902
+ const { element } = useElement();
903
+ const { provider, id, meta } = useStyle();
904
+ const styleDef = provider?.actions.get(id, { elementId: element.id, ...meta });
905
+ const isLocalStylesProvider = provider && (0, import_editor_styles_repository6.isElementsStylesProvider)(provider?.getKey());
906
+ const variants = styleDef?.variants || [];
907
+ const canConvert = !!(isLocalStylesProvider && variants.length);
908
+ return {
909
+ canConvert,
910
+ isLocalStylesProvider,
911
+ id,
912
+ styleDef: styleDef || null
913
+ };
914
+ };
915
+
916
+ // src/components/css-classes/local-class-sub-menu.tsx
917
+ var LocalClassSubMenu = (props) => {
918
+ const { canConvert, styleDef } = useCanConvertLocalClassToGlobal();
919
+ return /* @__PURE__ */ React8.createElement(React8.Fragment, null, /* @__PURE__ */ React8.createElement(import_ui4.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, (0, import_i18n3.__)("Local Class", "elementor")), /* @__PURE__ */ React8.createElement(CssClassConvert, { canConvert, styleDef, closeMenu: props.popupState.close }));
920
+ };
921
+
857
922
  // src/components/css-classes/css-class-menu.tsx
858
923
  var DEFAULT_PSEUDO_STATES = [
859
- { key: "normal", value: null, label: (0, import_i18n3.__)("normal", "elementor") },
860
- { key: "hover", value: "hover", label: (0, import_i18n3.__)("hover", "elementor") },
861
- { key: "focus", value: "focus", label: (0, import_i18n3.__)("focus", "elementor") },
862
- { key: "active", value: "active", label: (0, import_i18n3.__)("active", "elementor") }
924
+ { key: "normal", value: null, label: (0, import_i18n4.__)("normal", "elementor") },
925
+ { key: "hover", value: "hover", label: (0, import_i18n4.__)("hover", "elementor") },
926
+ { key: "focus", value: "focus", label: (0, import_i18n4.__)("focus", "elementor") },
927
+ { key: "active", value: "active", label: (0, import_i18n4.__)("active", "elementor") }
863
928
  ];
864
929
  function usePseudoStates() {
865
930
  const { elementType } = useElement();
@@ -873,12 +938,12 @@ function usePseudoStates() {
873
938
  }
874
939
  function CssClassMenu({ popupState, anchorEl, fixed }) {
875
940
  const { provider } = useCssClass();
876
- const isLocalStyle2 = provider ? (0, import_editor_styles_repository6.isElementsStylesProvider)(provider) : true;
941
+ const isLocalStyle2 = provider ? (0, import_editor_styles_repository7.isElementsStylesProvider)(provider) : true;
877
942
  const pseudoStates = usePseudoStates();
878
943
  const handleKeyDown = (e) => {
879
944
  e.stopPropagation();
880
945
  };
881
- return /* @__PURE__ */ React8.createElement(
946
+ return /* @__PURE__ */ React9.createElement(
882
947
  import_ui5.Menu,
883
948
  {
884
949
  MenuListProps: { dense: true, sx: { minWidth: "160px" } },
@@ -895,11 +960,11 @@ function CssClassMenu({ popupState, anchorEl, fixed }) {
895
960
  onKeyDown: handleKeyDown,
896
961
  disableAutoFocusItem: true
897
962
  },
898
- isLocalStyle2 && /* @__PURE__ */ React8.createElement(LocalClassSubMenu, { popupState }),
963
+ isLocalStyle2 && /* @__PURE__ */ React9.createElement(LocalClassSubMenu, { popupState }),
899
964
  getMenuItemsByProvider({ provider, closeMenu: popupState.close, fixed }),
900
- /* @__PURE__ */ React8.createElement(import_ui5.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, (0, import_i18n3.__)("States", "elementor")),
965
+ /* @__PURE__ */ React9.createElement(import_ui5.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, (0, import_i18n4.__)("States", "elementor")),
901
966
  pseudoStates.map((state) => {
902
- return /* @__PURE__ */ React8.createElement(
967
+ return /* @__PURE__ */ React9.createElement(
903
968
  StateMenuItem,
904
969
  {
905
970
  key: state.key,
@@ -909,7 +974,7 @@ function CssClassMenu({ popupState, anchorEl, fixed }) {
909
974
  }
910
975
  );
911
976
  }),
912
- /* @__PURE__ */ React8.createElement(ClassStatesMenu, { closeMenu: popupState.close })
977
+ /* @__PURE__ */ React9.createElement(ClassStatesMenu, { closeMenu: popupState.close })
913
978
  );
914
979
  }
915
980
  function ClassStatesMenu({ closeMenu }) {
@@ -917,9 +982,9 @@ function ClassStatesMenu({ closeMenu }) {
917
982
  if (!elementStates.length) {
918
983
  return null;
919
984
  }
920
- const customTitle = (0, import_i18n3.__)("%s States", "elementor").replace("%s", elementTitle);
921
- return /* @__PURE__ */ React8.createElement(React8.Fragment, null, /* @__PURE__ */ React8.createElement(import_ui5.Divider, null), /* @__PURE__ */ React8.createElement(import_ui5.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, customTitle), elementStates.map((state) => {
922
- return /* @__PURE__ */ React8.createElement(
985
+ const customTitle = (0, import_i18n4.__)("%s States", "elementor").replace("%s", elementTitle);
986
+ return /* @__PURE__ */ React9.createElement(React9.Fragment, null, /* @__PURE__ */ React9.createElement(import_ui5.Divider, null), /* @__PURE__ */ React9.createElement(import_ui5.MenuSubheader, { sx: { typography: "caption", color: "text.secondary", pb: 0.5, pt: 1 } }, customTitle), elementStates.map((state) => {
987
+ return /* @__PURE__ */ React9.createElement(
923
988
  StateMenuItem,
924
989
  {
925
990
  key: state.key,
@@ -932,7 +997,7 @@ function ClassStatesMenu({ closeMenu }) {
932
997
  }
933
998
  var CLASS_STATES_MAP = {
934
999
  selected: {
935
- label: (0, import_i18n3.__)("selected", "elementor")
1000
+ label: (0, import_i18n4.__)("selected", "elementor")
936
1001
  }
937
1002
  };
938
1003
  function useElementStates() {
@@ -950,7 +1015,7 @@ function useElementStates() {
950
1015
  }
951
1016
  function useModifiedStates(styleId) {
952
1017
  const { meta } = useStyle();
953
- const styleDef = import_editor_styles_repository6.stylesRepository.all().find((style) => style.id === styleId);
1018
+ const styleDef = import_editor_styles_repository7.stylesRepository.all().find((style) => style.id === styleId);
954
1019
  return Object.fromEntries(
955
1020
  styleDef?.variants.filter((variant) => meta.breakpoint === variant.meta.breakpoint).map((variant) => [variant.meta.state ?? "normal", true]) ?? []
956
1021
  );
@@ -963,17 +1028,19 @@ function getMenuItemsByProvider({
963
1028
  if (!provider) {
964
1029
  return [];
965
1030
  }
966
- const providerInstance = import_editor_styles_repository6.stylesRepository.getProviderByKey(provider);
1031
+ const providerInstance = import_editor_styles_repository7.stylesRepository.getProviderByKey(provider);
967
1032
  const providerActions = providerInstance?.actions;
968
1033
  const canUpdate = providerActions?.update;
1034
+ const canDuplicate = providerActions?.create && providerActions?.get;
969
1035
  const canUnapply = !fixed;
970
1036
  const actions = [
971
- canUpdate && /* @__PURE__ */ React8.createElement(RenameClassMenuItem, { key: "rename-class", closeMenu }),
972
- canUnapply && /* @__PURE__ */ React8.createElement(UnapplyClassMenuItem, { key: "unapply-class", closeMenu })
1037
+ canUpdate && /* @__PURE__ */ React9.createElement(RenameClassMenuItem, { key: "rename-class", closeMenu }),
1038
+ canDuplicate && /* @__PURE__ */ React9.createElement(DuplicateClassMenuItem, { key: "duplicate-class", closeMenu }),
1039
+ canUnapply && /* @__PURE__ */ React9.createElement(UnapplyClassMenuItem, { key: "unapply-class", closeMenu })
973
1040
  ].filter(Boolean);
974
1041
  if (actions.length) {
975
1042
  actions.unshift(
976
- /* @__PURE__ */ React8.createElement(
1043
+ /* @__PURE__ */ React9.createElement(
977
1044
  import_ui5.MenuSubheader,
978
1045
  {
979
1046
  key: "provider-label",
@@ -982,7 +1049,7 @@ function getMenuItemsByProvider({
982
1049
  providerInstance?.labels?.singular
983
1050
  )
984
1051
  );
985
- actions.push(/* @__PURE__ */ React8.createElement(import_ui5.Divider, { key: "provider-actions-divider" }));
1052
+ actions.push(/* @__PURE__ */ React9.createElement(import_ui5.Divider, { key: "provider-actions-divider" }));
986
1053
  }
987
1054
  return actions;
988
1055
  }
@@ -990,15 +1057,15 @@ function StateMenuItem({ state, label, closeMenu, ...props }) {
990
1057
  const { id: styleId, provider } = useCssClass();
991
1058
  const { id: activeId, setId: setActiveId, setMetaState: setActiveMetaState, meta } = useStyle();
992
1059
  const { state: activeState } = meta;
993
- const { userCan } = (0, import_editor_styles_repository6.useUserStylesCapability)();
1060
+ const { userCan } = (0, import_editor_styles_repository7.useUserStylesCapability)();
994
1061
  const modifiedStates = useModifiedStates(styleId);
995
1062
  const isUpdateAllowed = !state || userCan(provider ?? "").updateProps;
996
1063
  const isStyled = modifiedStates[state ?? "normal"] ?? false;
997
1064
  const disabled = !isUpdateAllowed && !isStyled;
998
1065
  const isActive = styleId === activeId;
999
1066
  const isSelected = state === activeState && isActive;
1000
- return /* @__PURE__ */ React8.createElement(
1001
- import_editor_ui.MenuListItem,
1067
+ return /* @__PURE__ */ React9.createElement(
1068
+ import_editor_ui2.MenuListItem,
1002
1069
  {
1003
1070
  ...props,
1004
1071
  selected: isSelected,
@@ -1017,16 +1084,16 @@ function StateMenuItem({ state, label, closeMenu, ...props }) {
1017
1084
  closeMenu();
1018
1085
  }
1019
1086
  },
1020
- /* @__PURE__ */ React8.createElement(
1021
- import_editor_ui.MenuItemInfotip,
1087
+ /* @__PURE__ */ React9.createElement(
1088
+ import_editor_ui2.MenuItemInfotip,
1022
1089
  {
1023
1090
  showInfoTip: disabled,
1024
- content: (0, import_i18n3.__)("With your current role, you can only use existing states.", "elementor")
1091
+ content: (0, import_i18n4.__)("With your current role, you can only use existing states.", "elementor")
1025
1092
  },
1026
- /* @__PURE__ */ React8.createElement(import_ui5.Stack, { gap: 0.75, direction: "row", alignItems: "center" }, isStyled && /* @__PURE__ */ React8.createElement(
1093
+ /* @__PURE__ */ React9.createElement(import_ui5.Stack, { gap: 0.75, direction: "row", alignItems: "center" }, isStyled && /* @__PURE__ */ React9.createElement(
1027
1094
  StyleIndicator,
1028
1095
  {
1029
- "aria-label": (0, import_i18n3.__)("Has style", "elementor"),
1096
+ "aria-label": (0, import_i18n4.__)("Has style", "elementor"),
1030
1097
  getColor: getTempStylesProviderThemeColor(provider ?? "")
1031
1098
  }
1032
1099
  ), label)
@@ -1036,8 +1103,8 @@ function StateMenuItem({ state, label, closeMenu, ...props }) {
1036
1103
  function UnapplyClassMenuItem({ closeMenu, ...props }) {
1037
1104
  const { id: classId, label: classLabel, provider } = useCssClass();
1038
1105
  const unapplyClass = useUnapplyClass();
1039
- return classId ? /* @__PURE__ */ React8.createElement(
1040
- import_editor_ui.MenuListItem,
1106
+ return classId ? /* @__PURE__ */ React9.createElement(
1107
+ import_editor_ui2.MenuListItem,
1041
1108
  {
1042
1109
  ...props,
1043
1110
  onClick: () => {
@@ -1050,18 +1117,18 @@ function UnapplyClassMenuItem({ closeMenu, ...props }) {
1050
1117
  closeMenu();
1051
1118
  }
1052
1119
  },
1053
- (0, import_i18n3.__)("Remove", "elementor")
1120
+ (0, import_i18n4.__)("Remove", "elementor")
1054
1121
  ) : null;
1055
1122
  }
1056
1123
  function RenameClassMenuItem({ closeMenu }) {
1057
1124
  const { handleRename, provider } = useCssClass();
1058
- const { userCan } = (0, import_editor_styles_repository6.useUserStylesCapability)();
1125
+ const { userCan } = (0, import_editor_styles_repository7.useUserStylesCapability)();
1059
1126
  if (!provider) {
1060
1127
  return null;
1061
1128
  }
1062
1129
  const isAllowed = userCan(provider).update;
1063
- return /* @__PURE__ */ React8.createElement(
1064
- import_editor_ui.MenuListItem,
1130
+ return /* @__PURE__ */ React9.createElement(
1131
+ import_editor_ui2.MenuListItem,
1065
1132
  {
1066
1133
  disabled: !isAllowed,
1067
1134
  onClick: () => {
@@ -1069,16 +1136,16 @@ function RenameClassMenuItem({ closeMenu }) {
1069
1136
  handleRename();
1070
1137
  }
1071
1138
  },
1072
- /* @__PURE__ */ React8.createElement(
1073
- import_editor_ui.MenuItemInfotip,
1139
+ /* @__PURE__ */ React9.createElement(
1140
+ import_editor_ui2.MenuItemInfotip,
1074
1141
  {
1075
1142
  showInfoTip: !isAllowed,
1076
- content: (0, import_i18n3.__)(
1077
- "With your current role, you can use existing classes but can\u2019t modify them.",
1143
+ content: (0, import_i18n4.__)(
1144
+ "With your current role, you can use existing classes but can't modify them.",
1078
1145
  "elementor"
1079
1146
  )
1080
1147
  },
1081
- (0, import_i18n3.__)("Rename", "elementor")
1148
+ (0, import_i18n4.__)("Rename", "elementor")
1082
1149
  )
1083
1150
  );
1084
1151
  }
@@ -1093,9 +1160,9 @@ function CssClassItem(props) {
1093
1160
  const popupState = (0, import_ui6.usePopupState)({ variant: "popover" });
1094
1161
  const [chipRef, setChipRef] = (0, import_react9.useState)(null);
1095
1162
  const { onDelete, ...chipGroupProps } = chipProps;
1096
- const { userCan } = (0, import_editor_styles_repository7.useUserStylesCapability)();
1097
- const [convertedFromLocalId, , clearConvertedFromLocalId] = (0, import_session2.useSessionStorage)(
1098
- "last-converted-class-generated-name",
1163
+ const { userCan } = (0, import_editor_styles_repository8.useUserStylesCapability)();
1164
+ const [convertedFromLocalId, , clearConvertedFromLocalId] = (0, import_session3.useSessionStorage)(
1165
+ PENDING_CLASS_RENAME_SESSION_KEY,
1099
1166
  "app"
1100
1167
  );
1101
1168
  const {
@@ -1104,14 +1171,14 @@ function CssClassItem(props) {
1104
1171
  openEditMode,
1105
1172
  error,
1106
1173
  getProps: getEditableProps
1107
- } = (0, import_editor_ui2.useEditable)({
1174
+ } = (0, import_editor_ui3.useEditable)({
1108
1175
  value: label,
1109
1176
  onSubmit: renameLabel,
1110
1177
  validation: validateLabel,
1111
1178
  onError: setError
1112
1179
  });
1113
1180
  const color = error ? "error" : colorProp;
1114
- const providerActions = provider ? import_editor_styles_repository7.stylesRepository.getProviderByKey(provider)?.actions : null;
1181
+ const providerActions = provider ? import_editor_styles_repository8.stylesRepository.getProviderByKey(provider)?.actions : null;
1115
1182
  const allowRename = Boolean(providerActions?.update) && userCan(provider ?? "")?.update;
1116
1183
  const isShowingState = isActive && meta.state;
1117
1184
  const stateLabel = (0, import_react9.useMemo)(() => {
@@ -1126,7 +1193,7 @@ function CssClassItem(props) {
1126
1193
  openEditMode();
1127
1194
  }
1128
1195
  }, [id, convertedFromLocalId]);
1129
- return /* @__PURE__ */ React9.createElement(import_ui6.ThemeProvider, { palette: "default" }, /* @__PURE__ */ React9.createElement(
1196
+ return /* @__PURE__ */ React10.createElement(import_ui6.ThemeProvider, { palette: "default" }, /* @__PURE__ */ React10.createElement(
1130
1197
  import_ui6.UnstableChipGroup,
1131
1198
  {
1132
1199
  ref: setChipRef,
@@ -1137,11 +1204,11 @@ function CssClassItem(props) {
1137
1204
  "&.MuiChipGroup-root.MuiAutocomplete-tag": { margin: theme.spacing(0.125) }
1138
1205
  })
1139
1206
  },
1140
- /* @__PURE__ */ React9.createElement(
1207
+ /* @__PURE__ */ React10.createElement(
1141
1208
  import_ui6.Chip,
1142
1209
  {
1143
1210
  size: CHIP_SIZE,
1144
- label: isEditing ? /* @__PURE__ */ React9.createElement(import_editor_ui2.EditableField, { ref, ...getEditableProps() }) : /* @__PURE__ */ React9.createElement(import_editor_ui2.EllipsisWithTooltip, { maxWidth: "10ch", title: label, as: "div" }),
1211
+ label: isEditing ? /* @__PURE__ */ React10.createElement(import_editor_ui3.EditableField, { ref, ...getEditableProps() }) : /* @__PURE__ */ React10.createElement(import_editor_ui3.EllipsisWithTooltip, { maxWidth: "10ch", title: label, as: "div" }),
1145
1212
  variant: isActive && !meta.state && !isEditing ? "filled" : "standard",
1146
1213
  shape: "rounded",
1147
1214
  icon,
@@ -1168,17 +1235,17 @@ function CssClassItem(props) {
1168
1235
  })
1169
1236
  }
1170
1237
  ),
1171
- !isEditing && /* @__PURE__ */ React9.createElement(
1238
+ !isEditing && /* @__PURE__ */ React10.createElement(
1172
1239
  import_ui6.Chip,
1173
1240
  {
1174
- icon: isShowingState ? void 0 : /* @__PURE__ */ React9.createElement(import_icons.DotsVerticalIcon, { fontSize: "tiny" }),
1241
+ icon: isShowingState ? void 0 : /* @__PURE__ */ React10.createElement(import_icons.DotsVerticalIcon, { fontSize: "tiny" }),
1175
1242
  size: CHIP_SIZE,
1176
- label: isShowingState ? /* @__PURE__ */ React9.createElement(import_ui6.Stack, { direction: "row", gap: 0.5, alignItems: "center" }, /* @__PURE__ */ React9.createElement(import_ui6.Typography, { variant: "inherit" }, stateLabel), /* @__PURE__ */ React9.createElement(import_icons.DotsVerticalIcon, { fontSize: "tiny" })) : void 0,
1243
+ label: isShowingState ? /* @__PURE__ */ React10.createElement(import_ui6.Stack, { direction: "row", gap: 0.5, alignItems: "center" }, /* @__PURE__ */ React10.createElement(import_ui6.Typography, { variant: "inherit" }, stateLabel), /* @__PURE__ */ React10.createElement(import_icons.DotsVerticalIcon, { fontSize: "tiny" })) : void 0,
1177
1244
  variant: "filled",
1178
1245
  shape: "rounded",
1179
1246
  color,
1180
1247
  ...(0, import_ui6.bindTrigger)(popupState),
1181
- "aria-label": (0, import_i18n4.__)("Open CSS Class Menu", "elementor"),
1248
+ "aria-label": (0, import_i18n5.__)("Open CSS Class Menu", "elementor"),
1182
1249
  sx: (theme) => ({
1183
1250
  borderRadius: `${theme.shape.borderRadius * 0.75}px`,
1184
1251
  paddingRight: 0,
@@ -1187,10 +1254,10 @@ function CssClassItem(props) {
1187
1254
  })
1188
1255
  }
1189
1256
  )
1190
- ), /* @__PURE__ */ React9.createElement(CssClassProvider, { ...classProps, handleRename: openEditMode }, /* @__PURE__ */ React9.createElement(CssClassMenu, { popupState, anchorEl: chipRef, fixed })));
1257
+ ), /* @__PURE__ */ React10.createElement(CssClassProvider, { ...classProps, handleRename: openEditMode }, /* @__PURE__ */ React10.createElement(CssClassMenu, { popupState, anchorEl: chipRef, fixed })));
1191
1258
  }
1192
1259
  var validateLabel = (newLabel) => {
1193
- const result = (0, import_editor_styles_repository7.validateStyleLabel)(newLabel, "rename");
1260
+ const result = (0, import_editor_styles_repository8.validateStyleLabel)(newLabel, "rename");
1194
1261
  if (result.isValid) {
1195
1262
  return null;
1196
1263
  }
@@ -1201,11 +1268,11 @@ var validateLabel = (newLabel) => {
1201
1268
  var ID = "elementor-css-class-selector";
1202
1269
  var TAGS_LIMIT = 50;
1203
1270
  var EMPTY_OPTION = {
1204
- label: (0, import_i18n5.__)("local", "elementor"),
1271
+ label: (0, import_i18n6.__)("local", "elementor"),
1205
1272
  value: null,
1206
1273
  fixed: true,
1207
1274
  color: getTempStylesProviderColorName("accent"),
1208
- icon: /* @__PURE__ */ React10.createElement(import_icons2.MapPinIcon, null),
1275
+ icon: /* @__PURE__ */ React11.createElement(import_icons2.MapPinIcon, null),
1209
1276
  provider: null
1210
1277
  };
1211
1278
  var { Slot: ClassSelectorActionsSlot, inject: injectIntoClassSelectorActions } = (0, import_locations2.createLocation)();
@@ -1219,10 +1286,10 @@ function CssClassSelector() {
1219
1286
  const appliedOptions = useAppliedOptions(options12);
1220
1287
  const active = appliedOptions.find((option) => option.value === activeId) ?? EMPTY_OPTION;
1221
1288
  const showPlaceholder = appliedOptions.every(({ fixed }) => fixed);
1222
- const { userCan } = (0, import_editor_styles_repository8.useUserStylesCapability)();
1289
+ const { userCan } = (0, import_editor_styles_repository9.useUserStylesCapability)();
1223
1290
  const canEdit = active.provider ? userCan(active.provider).updateProps : true;
1224
- return /* @__PURE__ */ React10.createElement(import_ui7.Stack, { p: 2 }, /* @__PURE__ */ React10.createElement(import_ui7.Stack, { direction: "row", gap: 1, alignItems: "center", justifyContent: "space-between" }, /* @__PURE__ */ React10.createElement(import_ui7.FormLabel, { htmlFor: ID, size: "small" }, (0, import_i18n5.__)("Classes", "elementor")), /* @__PURE__ */ React10.createElement(import_ui7.Stack, { direction: "row", gap: 1 }, /* @__PURE__ */ React10.createElement(ClassSelectorActionsSlot, null))), /* @__PURE__ */ React10.createElement(
1225
- import_editor_ui3.WarningInfotip,
1291
+ return /* @__PURE__ */ React11.createElement(import_ui7.Stack, { p: 2 }, /* @__PURE__ */ React11.createElement(import_ui7.Stack, { direction: "row", gap: 1, alignItems: "center", justifyContent: "space-between" }, /* @__PURE__ */ React11.createElement(import_ui7.FormLabel, { htmlFor: ID, size: "small" }, (0, import_i18n6.__)("Classes", "elementor")), /* @__PURE__ */ React11.createElement(import_ui7.Stack, { direction: "row", gap: 1 }, /* @__PURE__ */ React11.createElement(ClassSelectorActionsSlot, null))), /* @__PURE__ */ React11.createElement(
1292
+ import_editor_ui4.WarningInfotip,
1226
1293
  {
1227
1294
  open: Boolean(renameError),
1228
1295
  text: renameError ?? "",
@@ -1230,13 +1297,13 @@ function CssClassSelector() {
1230
1297
  width: autocompleteRef.current?.getBoundingClientRect().width,
1231
1298
  offset: [0, -15]
1232
1299
  },
1233
- /* @__PURE__ */ React10.createElement(
1300
+ /* @__PURE__ */ React11.createElement(
1234
1301
  CreatableAutocomplete,
1235
1302
  {
1236
1303
  id: ID,
1237
1304
  ref: autocompleteRef,
1238
1305
  size: "tiny",
1239
- placeholder: showPlaceholder ? (0, import_i18n5.__)("Type class name", "elementor") : void 0,
1306
+ placeholder: showPlaceholder ? (0, import_i18n6.__)("Type class name", "elementor") : void 0,
1240
1307
  options: options12,
1241
1308
  selected: appliedOptions,
1242
1309
  entityName,
@@ -1245,7 +1312,7 @@ function CssClassSelector() {
1245
1312
  validate: validate ?? void 0,
1246
1313
  limitTags: TAGS_LIMIT,
1247
1314
  renderEmptyState: EmptyState,
1248
- getLimitTagsText: (more) => /* @__PURE__ */ React10.createElement(import_ui7.Chip, { size: "tiny", variant: "standard", label: `+${more}`, clickable: true }),
1315
+ getLimitTagsText: (more) => /* @__PURE__ */ React11.createElement(import_ui7.Chip, { size: "tiny", variant: "standard", label: `+${more}`, clickable: true }),
1249
1316
  renderTags: (values, getTagProps) => values.map((value, index) => {
1250
1317
  const chipProps = getTagProps({ index });
1251
1318
  const isActive = value.value === active?.value;
@@ -1261,7 +1328,7 @@ function CssClassSelector() {
1261
1328
  });
1262
1329
  return updateClassByProvider(value.provider, { label: newLabel, id: value.value });
1263
1330
  };
1264
- return /* @__PURE__ */ React10.createElement(
1331
+ return /* @__PURE__ */ React11.createElement(
1265
1332
  CssClassItem,
1266
1333
  {
1267
1334
  key: chipProps.key,
@@ -1281,9 +1348,9 @@ function CssClassSelector() {
1281
1348
  })
1282
1349
  }
1283
1350
  )
1284
- ), !canEdit && /* @__PURE__ */ React10.createElement(import_editor_ui3.InfoAlert, { sx: { mt: 1 } }, (0, import_i18n5.__)("With your current role, you can use existing classes but can\u2019t modify them.", "elementor")));
1351
+ ), !canEdit && /* @__PURE__ */ React11.createElement(import_editor_ui4.InfoAlert, { sx: { mt: 1 } }, (0, import_i18n6.__)("With your current role, you can use existing classes but can\u2019t modify them.", "elementor")));
1285
1352
  }
1286
- var EmptyState = ({ searchValue, onClear }) => /* @__PURE__ */ React10.createElement(import_ui7.Box, { sx: { py: 4 } }, /* @__PURE__ */ React10.createElement(
1353
+ var EmptyState = ({ searchValue, onClear }) => /* @__PURE__ */ React11.createElement(import_ui7.Box, { sx: { py: 4 } }, /* @__PURE__ */ React11.createElement(
1287
1354
  import_ui7.Stack,
1288
1355
  {
1289
1356
  gap: 1,
@@ -1292,16 +1359,16 @@ var EmptyState = ({ searchValue, onClear }) => /* @__PURE__ */ React10.createEle
1292
1359
  justifyContent: "center",
1293
1360
  sx: { px: 2, m: "auto", maxWidth: "236px" }
1294
1361
  },
1295
- /* @__PURE__ */ React10.createElement(import_icons2.ColorSwatchIcon, { sx: { transform: "rotate(90deg)" }, fontSize: "large" }),
1296
- /* @__PURE__ */ React10.createElement(import_ui7.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n5.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React10.createElement("br", null), "\u201C", searchValue, "\u201D."),
1297
- /* @__PURE__ */ React10.createElement(import_ui7.Typography, { align: "center", variant: "caption", sx: { mb: 2 } }, (0, import_i18n5.__)("With your current role,", "elementor"), /* @__PURE__ */ React10.createElement("br", null), (0, import_i18n5.__)("you can only use existing classes.", "elementor")),
1298
- /* @__PURE__ */ React10.createElement(import_ui7.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n5.__)("Clear & try again", "elementor"))
1362
+ /* @__PURE__ */ React11.createElement(import_icons2.ColorSwatchIcon, { sx: { transform: "rotate(90deg)" }, fontSize: "large" }),
1363
+ /* @__PURE__ */ React11.createElement(import_ui7.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n6.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React11.createElement("br", null), "\u201C", searchValue, "\u201D."),
1364
+ /* @__PURE__ */ React11.createElement(import_ui7.Typography, { align: "center", variant: "caption", sx: { mb: 2 } }, (0, import_i18n6.__)("With your current role,", "elementor"), /* @__PURE__ */ React11.createElement("br", null), (0, import_i18n6.__)("you can only use existing classes.", "elementor")),
1365
+ /* @__PURE__ */ React11.createElement(import_ui7.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n6.__)("Clear & try again", "elementor"))
1299
1366
  ));
1300
1367
  var updateClassByProvider = (provider, data) => {
1301
1368
  if (!provider) {
1302
1369
  return;
1303
1370
  }
1304
- const providerInstance = import_editor_styles_repository8.stylesRepository.getProviderByKey(provider);
1371
+ const providerInstance = import_editor_styles_repository9.stylesRepository.getProviderByKey(provider);
1305
1372
  if (!providerInstance) {
1306
1373
  return;
1307
1374
  }
@@ -1310,8 +1377,8 @@ var updateClassByProvider = (provider, data) => {
1310
1377
  function useOptions() {
1311
1378
  const { element } = useElement();
1312
1379
  const isProviderEditable = (provider) => !!provider.actions.updateProps;
1313
- return (0, import_editor_styles_repository8.useProviders)().filter(isProviderEditable).flatMap((provider) => {
1314
- const isElements = (0, import_editor_styles_repository8.isElementsStylesProvider)(provider.getKey());
1380
+ return (0, import_editor_styles_repository9.useProviders)().filter(isProviderEditable).flatMap((provider) => {
1381
+ const isElements = (0, import_editor_styles_repository9.isElementsStylesProvider)(provider.getKey());
1315
1382
  const styleDefs = provider.actions.all({ elementId: element.id });
1316
1383
  if (isElements && styleDefs.length === 0) {
1317
1384
  return [EMPTY_OPTION];
@@ -1322,7 +1389,7 @@ function useOptions() {
1322
1389
  value: styleDef.id,
1323
1390
  fixed: isElements,
1324
1391
  color: getTempStylesProviderColorName(getStylesProviderColorName(provider.getKey())),
1325
- icon: isElements ? /* @__PURE__ */ React10.createElement(import_icons2.MapPinIcon, null) : null,
1392
+ icon: isElements ? /* @__PURE__ */ React11.createElement(import_icons2.MapPinIcon, null) : null,
1326
1393
  provider: provider.getKey()
1327
1394
  };
1328
1395
  });
@@ -1352,13 +1419,13 @@ function useCreateAction() {
1352
1419
  return {
1353
1420
  isValid: false,
1354
1421
  /* translators: %s is the maximum number of classes */
1355
- errorMessage: (0, import_i18n5.__)(
1422
+ errorMessage: (0, import_i18n6.__)(
1356
1423
  "You\u2019ve reached the limit of %s classes. Please remove an existing one to create a new class.",
1357
1424
  "elementor"
1358
1425
  ).replace("%s", provider.limit.toString())
1359
1426
  };
1360
1427
  }
1361
- return (0, import_editor_styles_repository8.validateStyleLabel)(newClassLabel, event);
1428
+ return (0, import_editor_styles_repository9.validateStyleLabel)(newClassLabel, event);
1362
1429
  };
1363
1430
  const entityName = provider.labels.singular && provider.labels.plural ? provider.labels : void 0;
1364
1431
  return { create, validate, entityName };
@@ -1371,7 +1438,7 @@ function useAppliedOptions(options12) {
1371
1438
  const appliedIds = usePanelElementSetting(currentClassesProp)?.value ?? [];
1372
1439
  const appliedOptions = options12.filter((option) => option.value && appliedIds.includes(option.value));
1373
1440
  const hasElementsProviderStyleApplied = appliedOptions.some(
1374
- (option) => option.provider && (0, import_editor_styles_repository8.isElementsStylesProvider)(option.provider)
1441
+ (option) => option.provider && (0, import_editor_styles_repository9.isElementsStylesProvider)(option.provider)
1375
1442
  );
1376
1443
  if (!hasElementsProviderStyleApplied) {
1377
1444
  appliedOptions.unshift(EMPTY_OPTION);
@@ -1405,7 +1472,7 @@ function useHandleSelect() {
1405
1472
  }
1406
1473
 
1407
1474
  // src/components/custom-css-indicator.tsx
1408
- var React11 = __toESM(require("react"));
1475
+ var React12 = __toESM(require("react"));
1409
1476
  var import_react14 = require("react");
1410
1477
  var import_editor_responsive = require("@elementor/editor-responsive");
1411
1478
  var import_editor_styles4 = require("@elementor/editor-styles");
@@ -1415,7 +1482,7 @@ var import_react13 = require("react");
1415
1482
  var import_editor_elements5 = require("@elementor/editor-elements");
1416
1483
  var import_editor_props3 = require("@elementor/editor-props");
1417
1484
  var import_editor_styles3 = require("@elementor/editor-styles");
1418
- var import_editor_styles_repository11 = require("@elementor/editor-styles-repository");
1485
+ var import_editor_styles_repository12 = require("@elementor/editor-styles-repository");
1419
1486
  var import_editor_v1_adapters3 = require("@elementor/editor-v1-adapters");
1420
1487
  var import_utils2 = require("@elementor/utils");
1421
1488
 
@@ -1423,10 +1490,10 @@ var import_utils2 = require("@elementor/utils");
1423
1490
  var import_react12 = require("react");
1424
1491
  var import_editor_elements4 = require("@elementor/editor-elements");
1425
1492
  var import_editor_styles2 = require("@elementor/editor-styles");
1426
- var import_editor_styles_repository9 = require("@elementor/editor-styles-repository");
1427
1493
  var import_editor_styles_repository10 = require("@elementor/editor-styles-repository");
1494
+ var import_editor_styles_repository11 = require("@elementor/editor-styles-repository");
1428
1495
  var import_editor_v1_adapters2 = require("@elementor/editor-v1-adapters");
1429
- var import_i18n6 = require("@wordpress/i18n");
1496
+ var import_i18n7 = require("@wordpress/i18n");
1430
1497
 
1431
1498
  // src/hooks/use-styles-rerender.ts
1432
1499
  var import_react11 = require("react");
@@ -1475,7 +1542,7 @@ function useUndoableActions({
1475
1542
  const classesProp = useClassesProp();
1476
1543
  return (0, import_react12.useMemo)(() => {
1477
1544
  const meta = { breakpoint, state };
1478
- const createStyleArgs = { elementId, classesProp, meta, label: import_editor_styles_repository10.ELEMENTS_STYLES_RESERVED_LABEL };
1545
+ const createStyleArgs = { elementId, classesProp, meta, label: import_editor_styles_repository11.ELEMENTS_STYLES_RESERVED_LABEL };
1479
1546
  return (0, import_editor_v1_adapters2.undoable)(
1480
1547
  {
1481
1548
  do: (payload) => {
@@ -1539,27 +1606,27 @@ function getCurrentProps(style, meta) {
1539
1606
  var defaultHistoryTitles = {
1540
1607
  title: ({ provider }) => {
1541
1608
  const providerLabel = provider.labels?.singular;
1542
- return providerLabel ? capitalize(providerLabel) : (0, import_i18n6.__)("Style", "elementor");
1609
+ return providerLabel ? capitalize(providerLabel) : (0, import_i18n7.__)("Style", "elementor");
1543
1610
  },
1544
1611
  subtitle: ({ provider, styleId, elementId, propDisplayName }) => {
1545
1612
  const styleLabel = provider.actions.get(styleId, { elementId })?.label;
1546
1613
  if (!styleLabel) {
1547
1614
  throw new Error(`Style ${styleId} not found`);
1548
1615
  }
1549
- return (0, import_i18n6.__)(`%s$1 %s$2 edited`, "elementor").replace("%s$1", styleLabel).replace("%s$2", propDisplayName);
1616
+ return (0, import_i18n7.__)(`%s$1 %s$2 edited`, "elementor").replace("%s$1", styleLabel).replace("%s$2", propDisplayName);
1550
1617
  }
1551
1618
  };
1552
1619
  var localStyleHistoryTitles = {
1553
1620
  title: ({ elementId }) => (0, import_editor_elements4.getElementLabel)(elementId),
1554
1621
  subtitle: ({ propDisplayName }) => (
1555
1622
  // translators: %s is the name of the style property being edited
1556
- (0, import_i18n6.__)(`%s edited`, "elementor").replace("%s", propDisplayName)
1623
+ (0, import_i18n7.__)(`%s edited`, "elementor").replace("%s", propDisplayName)
1557
1624
  )
1558
1625
  };
1559
1626
  function capitalize(str) {
1560
1627
  return str.charAt(0).toUpperCase() + str.slice(1);
1561
1628
  }
1562
- var isLocalStyle = (provider, styleId) => !provider || !styleId || (0, import_editor_styles_repository9.isElementsStylesProvider)(provider.getKey());
1629
+ var isLocalStyle = (provider, styleId) => !provider || !styleId || (0, import_editor_styles_repository10.isElementsStylesProvider)(provider.getKey());
1563
1630
  var getTitle = ({ provider, styleId, elementId }) => {
1564
1631
  const isLocal = isLocalStyle(provider, styleId);
1565
1632
  if (isLocal) {
@@ -1614,7 +1681,7 @@ function useUndoableActions2({
1614
1681
  const classesProp = useClassesProp();
1615
1682
  return (0, import_react13.useMemo)(() => {
1616
1683
  const meta = { breakpoint, state };
1617
- const createStyleArgs = { elementId, classesProp, meta, label: import_editor_styles_repository11.ELEMENTS_STYLES_RESERVED_LABEL };
1684
+ const createStyleArgs = { elementId, classesProp, meta, label: import_editor_styles_repository12.ELEMENTS_STYLES_RESERVED_LABEL };
1618
1685
  return (0, import_editor_v1_adapters3.undoable)(
1619
1686
  {
1620
1687
  do: (payload) => {
@@ -1704,11 +1771,11 @@ var CustomCssIndicator = () => {
1704
1771
  }, [hasContent, style, meta]);
1705
1772
  if (!hasContent) {
1706
1773
  if (hasInheritedContent) {
1707
- return /* @__PURE__ */ React11.createElement(StyleIndicator, null);
1774
+ return /* @__PURE__ */ React12.createElement(StyleIndicator, null);
1708
1775
  }
1709
1776
  return null;
1710
1777
  }
1711
- return /* @__PURE__ */ React11.createElement(StyleIndicator, { getColor: provider ? getStylesProviderThemeColor(provider.getKey()) : void 0 });
1778
+ return /* @__PURE__ */ React12.createElement(StyleIndicator, { getColor: provider ? getStylesProviderThemeColor(provider.getKey()) : void 0 });
1712
1779
  };
1713
1780
  var hasInheritedCustomCss = (style, meta) => {
1714
1781
  if (!style || !meta) {
@@ -1742,17 +1809,17 @@ var hasInheritedCustomCss = (style, meta) => {
1742
1809
  };
1743
1810
 
1744
1811
  // src/components/editing-panel.tsx
1745
- var React81 = __toESM(require("react"));
1812
+ var React82 = __toESM(require("react"));
1746
1813
  var import_editor_controls49 = require("@elementor/editor-controls");
1747
1814
  var import_editor_elements13 = require("@elementor/editor-elements");
1748
1815
  var import_editor_panels = require("@elementor/editor-panels");
1749
- var import_editor_ui7 = require("@elementor/editor-ui");
1816
+ var import_editor_ui8 = require("@elementor/editor-ui");
1750
1817
  var import_icons21 = require("@elementor/icons");
1751
1818
  var import_locations4 = require("@elementor/locations");
1752
1819
  var import_menus = require("@elementor/menus");
1753
- var import_session8 = require("@elementor/session");
1820
+ var import_session9 = require("@elementor/session");
1754
1821
  var import_ui36 = require("@elementor/ui");
1755
- var import_i18n55 = require("@wordpress/i18n");
1822
+ var import_i18n56 = require("@wordpress/i18n");
1756
1823
 
1757
1824
  // src/editing-panel-replacement-registry.tsx
1758
1825
  var registry = /* @__PURE__ */ new Map();
@@ -1767,22 +1834,22 @@ var registerEditingPanelReplacement = ({
1767
1834
  var getEditingPanelReplacement = (element, elementType) => Array.from(registry.values()).filter(({ condition }) => condition(element, elementType)).sort((a, b) => a.priority - b.priority)?.[0] ?? null;
1768
1835
 
1769
1836
  // src/components/editing-panel-error-fallback.tsx
1770
- var React12 = __toESM(require("react"));
1837
+ var React13 = __toESM(require("react"));
1771
1838
  var import_ui8 = require("@elementor/ui");
1772
1839
  function EditorPanelErrorFallback() {
1773
- return /* @__PURE__ */ React12.createElement(import_ui8.Box, { role: "alert", sx: { minHeight: "100%", p: 2 } }, /* @__PURE__ */ React12.createElement(import_ui8.Alert, { severity: "error", sx: { mb: 2, maxWidth: 400, textAlign: "center" } }, /* @__PURE__ */ React12.createElement("strong", null, "Something went wrong")));
1840
+ return /* @__PURE__ */ React13.createElement(import_ui8.Box, { role: "alert", sx: { minHeight: "100%", p: 2 } }, /* @__PURE__ */ React13.createElement(import_ui8.Alert, { severity: "error", sx: { mb: 2, maxWidth: 400, textAlign: "center" } }, /* @__PURE__ */ React13.createElement("strong", null, "Something went wrong")));
1774
1841
  }
1775
1842
 
1776
1843
  // src/components/editing-panel-tabs.tsx
1777
1844
  var import_react35 = require("react");
1778
- var React80 = __toESM(require("react"));
1845
+ var React81 = __toESM(require("react"));
1779
1846
  var import_editor_elements12 = require("@elementor/editor-elements");
1780
1847
  var import_editor_v1_adapters7 = require("@elementor/editor-v1-adapters");
1781
1848
  var import_ui35 = require("@elementor/ui");
1782
- var import_i18n54 = require("@wordpress/i18n");
1849
+ var import_i18n55 = require("@wordpress/i18n");
1783
1850
 
1784
1851
  // src/contexts/scroll-context.tsx
1785
- var React13 = __toESM(require("react"));
1852
+ var React14 = __toESM(require("react"));
1786
1853
  var import_react15 = require("react");
1787
1854
  var import_ui9 = require("@elementor/ui");
1788
1855
  var ScrollContext = (0, import_react15.createContext)(void 0);
@@ -1814,7 +1881,7 @@ function ScrollProvider({ children }) {
1814
1881
  scrollElement.removeEventListener("scroll", handleScroll);
1815
1882
  };
1816
1883
  });
1817
- return /* @__PURE__ */ React13.createElement(ScrollContext.Provider, { value: { direction } }, /* @__PURE__ */ React13.createElement(ScrollPanel, { ref }, children));
1884
+ return /* @__PURE__ */ React14.createElement(ScrollContext.Provider, { value: { direction } }, /* @__PURE__ */ React14.createElement(ScrollPanel, { ref }, children));
1818
1885
  }
1819
1886
  function useScrollDirection() {
1820
1887
  return (0, import_react15.useContext)(ScrollContext)?.direction ?? DEFAULT_SCROLL_DIRECTION;
@@ -1851,44 +1918,44 @@ var useDefaultPanelSettings = () => {
1851
1918
 
1852
1919
  // src/hooks/use-state-by-element.ts
1853
1920
  var import_react17 = require("react");
1854
- var import_session3 = require("@elementor/session");
1921
+ var import_session4 = require("@elementor/session");
1855
1922
  var useStateByElement = (key, initialValue) => {
1856
1923
  const { element } = useElement();
1857
1924
  const lookup = `elementor/editor-state/${element.id}/${key}`;
1858
- const storedValue = (0, import_session3.getSessionStorageItem)(lookup);
1925
+ const storedValue = (0, import_session4.getSessionStorageItem)(lookup);
1859
1926
  const [value, setValue] = (0, import_react17.useState)(storedValue ?? initialValue);
1860
1927
  const doUpdate = (newValue) => {
1861
- (0, import_session3.setSessionStorageItem)(lookup, newValue);
1928
+ (0, import_session4.setSessionStorageItem)(lookup, newValue);
1862
1929
  setValue(newValue);
1863
1930
  };
1864
1931
  return [value, doUpdate];
1865
1932
  };
1866
1933
 
1867
1934
  // src/components/interactions-tab.tsx
1868
- var React15 = __toESM(require("react"));
1935
+ var React16 = __toESM(require("react"));
1869
1936
  var import_editor_interactions = require("@elementor/editor-interactions");
1870
1937
 
1871
1938
  // src/components/sections-list.tsx
1872
- var React14 = __toESM(require("react"));
1939
+ var React15 = __toESM(require("react"));
1873
1940
  var import_ui10 = require("@elementor/ui");
1874
1941
  function SectionsList(props) {
1875
- return /* @__PURE__ */ React14.createElement(import_ui10.List, { disablePadding: true, component: "div", ...props });
1942
+ return /* @__PURE__ */ React15.createElement(import_ui10.List, { disablePadding: true, component: "div", ...props });
1876
1943
  }
1877
1944
 
1878
1945
  // src/components/interactions-tab.tsx
1879
1946
  var InteractionsTab = () => {
1880
1947
  const { element } = useElement();
1881
- return /* @__PURE__ */ React15.createElement(SectionsList, null, /* @__PURE__ */ React15.createElement(import_editor_interactions.InteractionsTab, { elementId: element.id }));
1948
+ return /* @__PURE__ */ React16.createElement(SectionsList, null, /* @__PURE__ */ React16.createElement(import_editor_interactions.InteractionsTab, { elementId: element.id }));
1882
1949
  };
1883
1950
 
1884
1951
  // src/components/settings-tab.tsx
1885
- var React22 = __toESM(require("react"));
1886
- var import_session5 = require("@elementor/session");
1952
+ var React23 = __toESM(require("react"));
1953
+ var import_session6 = require("@elementor/session");
1887
1954
 
1888
1955
  // src/components/section.tsx
1889
- var React16 = __toESM(require("react"));
1956
+ var React17 = __toESM(require("react"));
1890
1957
  var import_react18 = require("react");
1891
- var import_editor_ui4 = require("@elementor/editor-ui");
1958
+ var import_editor_ui5 = require("@elementor/editor-ui");
1892
1959
  var import_ui11 = require("@elementor/ui");
1893
1960
  function Section({ title, children, defaultExpanded = false, titleEnd, unmountOnExit = true, action }) {
1894
1961
  const [isOpen, setIsOpen] = useStateByElement(title, !!defaultExpanded);
@@ -1904,7 +1971,7 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1904
1971
  const id = (0, import_react18.useId)();
1905
1972
  const labelId = `label-${id}`;
1906
1973
  const contentId = `content-${id}`;
1907
- return /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement(
1974
+ return /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement(
1908
1975
  import_ui11.ListItemButton,
1909
1976
  {
1910
1977
  id: labelId,
@@ -1913,17 +1980,17 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1913
1980
  onClick: handleClick,
1914
1981
  sx: { "&:hover": { backgroundColor: "transparent" } }
1915
1982
  },
1916
- /* @__PURE__ */ React16.createElement(import_ui11.Stack, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React16.createElement(
1983
+ /* @__PURE__ */ React17.createElement(import_ui11.Stack, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React17.createElement(
1917
1984
  import_ui11.ListItemText,
1918
1985
  {
1919
1986
  secondary: title,
1920
1987
  secondaryTypographyProps: { color: "text.primary", variant: "caption", fontWeight: "bold" },
1921
1988
  sx: { flexGrow: 0, flexShrink: 1, marginInlineEnd: 1 }
1922
1989
  }
1923
- ), (0, import_editor_ui4.getCollapsibleValue)(titleEnd, isOpen)),
1990
+ ), (0, import_editor_ui5.getCollapsibleValue)(titleEnd, isOpen)),
1924
1991
  action?.component,
1925
- /* @__PURE__ */ React16.createElement(
1926
- import_editor_ui4.CollapseIcon,
1992
+ /* @__PURE__ */ React17.createElement(
1993
+ import_editor_ui5.CollapseIcon,
1927
1994
  {
1928
1995
  open: isOpen,
1929
1996
  color: "secondary",
@@ -1932,7 +1999,7 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1932
1999
  sx: { ml: 1 }
1933
2000
  }
1934
2001
  )
1935
- ), /* @__PURE__ */ React16.createElement(
2002
+ ), /* @__PURE__ */ React17.createElement(
1936
2003
  import_ui11.Collapse,
1937
2004
  {
1938
2005
  id: contentId,
@@ -1941,17 +2008,17 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1941
2008
  timeout: "auto",
1942
2009
  unmountOnExit
1943
2010
  },
1944
- /* @__PURE__ */ React16.createElement(import_editor_ui4.SectionRefContext.Provider, { value: ref }, /* @__PURE__ */ React16.createElement(import_ui11.Stack, { ref, gap: 2.5, p: 2, "aria-label": `${title} section content` }, children))
1945
- ), /* @__PURE__ */ React16.createElement(import_ui11.Divider, null));
2011
+ /* @__PURE__ */ React17.createElement(import_editor_ui5.SectionRefContext.Provider, { value: ref }, /* @__PURE__ */ React17.createElement(import_ui11.Stack, { ref, gap: 2.5, p: 2, "aria-label": `${title} section content` }, children))
2012
+ ), /* @__PURE__ */ React17.createElement(import_ui11.Divider, null));
1946
2013
  }
1947
2014
 
1948
2015
  // src/components/settings-control.tsx
1949
- var React21 = __toESM(require("react"));
2016
+ var React22 = __toESM(require("react"));
1950
2017
  var import_editor_controls4 = require("@elementor/editor-controls");
1951
2018
  var import_ui14 = require("@elementor/ui");
1952
2019
 
1953
2020
  // src/controls-registry/control.tsx
1954
- var React17 = __toESM(require("react"));
2021
+ var React18 = __toESM(require("react"));
1955
2022
 
1956
2023
  // src/controls-registry/controls-registry.tsx
1957
2024
  var import_editor_controls = require("@elementor/editor-controls");
@@ -2019,17 +2086,17 @@ var Control = ({ props, type }) => {
2019
2086
  context: { controlType: type }
2020
2087
  });
2021
2088
  }
2022
- return /* @__PURE__ */ React17.createElement(ControlByType, { ...props, context: { elementId: element.id } });
2089
+ return /* @__PURE__ */ React18.createElement(ControlByType, { ...props, context: { elementId: element.id } });
2023
2090
  };
2024
2091
 
2025
2092
  // src/controls-registry/control-type-container.tsx
2026
- var React18 = __toESM(require("react"));
2093
+ var React19 = __toESM(require("react"));
2027
2094
  var import_ui12 = require("@elementor/ui");
2028
2095
  var ControlTypeContainer = ({ children, layout }) => {
2029
2096
  if (layout === "custom") {
2030
2097
  return children;
2031
2098
  }
2032
- return /* @__PURE__ */ React18.createElement(StyledContainer, { layout }, children);
2099
+ return /* @__PURE__ */ React19.createElement(StyledContainer, { layout }, children);
2033
2100
  };
2034
2101
  var StyledContainer = (0, import_ui12.styled)(import_ui12.Box, {
2035
2102
  shouldForwardProp: (prop) => !["layout"].includes(prop)
@@ -2057,18 +2124,17 @@ var getStyleByLayout = (layout) => {
2057
2124
  };
2058
2125
 
2059
2126
  // src/controls-registry/settings-field.tsx
2060
- var React19 = __toESM(require("react"));
2127
+ var React20 = __toESM(require("react"));
2061
2128
  var import_react19 = require("react");
2062
2129
  var import_editor_controls2 = require("@elementor/editor-controls");
2063
2130
  var import_editor_documents2 = require("@elementor/editor-documents");
2064
2131
  var import_editor_elements6 = require("@elementor/editor-elements");
2065
- var import_editor_props6 = require("@elementor/editor-props");
2066
2132
  var import_editor_v1_adapters4 = require("@elementor/editor-v1-adapters");
2067
- var import_i18n7 = require("@wordpress/i18n");
2133
+ var import_i18n8 = require("@wordpress/i18n");
2068
2134
 
2069
2135
  // src/utils/prop-dependency-utils.ts
2070
2136
  var import_editor_props5 = require("@elementor/editor-props");
2071
- var import_session4 = require("@elementor/session");
2137
+ var import_session5 = require("@elementor/session");
2072
2138
  function getElementSettingsWithDefaults(propsSchema, elementSettings) {
2073
2139
  const elementSettingsWithDefaults = { ...elementSettings };
2074
2140
  Object.keys(propsSchema).forEach((key) => {
@@ -2078,6 +2144,17 @@ function getElementSettingsWithDefaults(propsSchema, elementSettings) {
2078
2144
  });
2079
2145
  return elementSettingsWithDefaults;
2080
2146
  }
2147
+ function extractDependencyEffect(bind, propsSchema, settings) {
2148
+ const settingsWithDefaults = getElementSettingsWithDefaults(propsSchema, settings);
2149
+ const propType = propsSchema[bind];
2150
+ const depCheck = (0, import_editor_props5.isDependencyMet)(propType?.dependencies, settingsWithDefaults);
2151
+ const failingTerm = !depCheck.isMet ? depCheck.failingDependencies[0] : void 0;
2152
+ const isHidden = !!failingTerm && !(0, import_editor_props5.isDependency)(failingTerm) && failingTerm?.effect === "hide";
2153
+ return {
2154
+ isHidden,
2155
+ isDisabled: (prop) => !(0, import_editor_props5.isDependencyMet)(prop?.dependencies, settingsWithDefaults).isMet
2156
+ };
2157
+ }
2081
2158
  function extractOrderedDependencies(dependenciesPerTargetMapping) {
2082
2159
  return Object.values(dependenciesPerTargetMapping).flat().filter((dependent, index, self) => self.indexOf(dependent) === index);
2083
2160
  }
@@ -2195,17 +2272,17 @@ function savePreviousValueToStorage({ path, elementId, value }) {
2195
2272
  return;
2196
2273
  }
2197
2274
  const key = `${prefix}:${path}`;
2198
- (0, import_session4.setSessionStorageItem)(key, value);
2275
+ (0, import_session5.setSessionStorageItem)(key, value);
2199
2276
  }
2200
2277
  function retrievePreviousValueFromStorage({ path, elementId }) {
2201
2278
  const prefix = `elementor/${elementId}`;
2202
2279
  const key = `${prefix}:${path}`;
2203
- return (0, import_session4.getSessionStorageItem)(key) ?? null;
2280
+ return (0, import_session5.getSessionStorageItem)(key) ?? null;
2204
2281
  }
2205
2282
  function removePreviousValueFromStorage({ path, elementId }) {
2206
2283
  const prefix = `elementor/${elementId}`;
2207
2284
  const key = `${prefix}:${path}`;
2208
- (0, import_session4.removeSessionStorageItem)(key);
2285
+ (0, import_session5.removeSessionStorageItem)(key);
2209
2286
  }
2210
2287
 
2211
2288
  // src/controls-registry/create-top-level-object-type.ts
@@ -2223,20 +2300,6 @@ var createTopLevelObjectType = ({ schema }) => {
2223
2300
 
2224
2301
  // src/controls-registry/settings-field.tsx
2225
2302
  var HISTORY_DEBOUNCE_WAIT2 = 800;
2226
- var extractDependencyEffect = (bind, propsSchema, currentElementSettings) => {
2227
- const elementSettingsForDepCheck = getElementSettingsWithDefaults(propsSchema, currentElementSettings);
2228
- const propType = propsSchema[bind];
2229
- const depCheck = (0, import_editor_props6.isDependencyMet)(propType?.dependencies, elementSettingsForDepCheck);
2230
- const isHidden = !depCheck.isMet && !(0, import_editor_props6.isDependency)(depCheck.failingDependencies[0]) && depCheck.failingDependencies[0]?.effect === "hide";
2231
- return {
2232
- isDisabled: (prop) => {
2233
- const result = !(0, import_editor_props6.isDependencyMet)(prop?.dependencies, elementSettingsForDepCheck).isMet;
2234
- return result;
2235
- },
2236
- isHidden,
2237
- settingsWithDefaults: elementSettingsForDepCheck
2238
- };
2239
- };
2240
2303
  var SettingsField = ({ bind, children, propDisplayName }) => {
2241
2304
  const {
2242
2305
  element: { id: elementId },
@@ -2249,17 +2312,14 @@ var SettingsField = ({ bind, children, propDisplayName }) => {
2249
2312
  elementId,
2250
2313
  propDisplayName
2251
2314
  });
2252
- const { isDisabled, isHidden, settingsWithDefaults } = extractDependencyEffect(
2253
- bind,
2254
- propsSchema,
2255
- currentElementSettings
2256
- );
2315
+ const { isDisabled, isHidden } = extractDependencyEffect(bind, propsSchema, currentElementSettings);
2257
2316
  if (isHidden) {
2258
2317
  return null;
2259
2318
  }
2260
2319
  const setValue = (newValue, _ = {}, meta) => {
2261
2320
  const { withHistory = true } = meta ?? {};
2262
2321
  const dependents = extractOrderedDependencies(dependenciesPerTargetMapping);
2322
+ const settingsWithDefaults = getElementSettingsWithDefaults(propsSchema, currentElementSettings);
2263
2323
  const settings = getUpdatedValues(newValue, dependents, propsSchema, settingsWithDefaults, elementId);
2264
2324
  if (withHistory) {
2265
2325
  undoableUpdateElementProp(settings);
@@ -2267,7 +2327,7 @@ var SettingsField = ({ bind, children, propDisplayName }) => {
2267
2327
  (0, import_editor_elements6.updateElementSettings)({ id: elementId, props: settings, withHistory: false });
2268
2328
  }
2269
2329
  };
2270
- return /* @__PURE__ */ React19.createElement(import_editor_controls2.PropProvider, { propType, value, setValue, isDisabled }, /* @__PURE__ */ React19.createElement(import_editor_controls2.PropKeyProvider, { bind }, children));
2330
+ return /* @__PURE__ */ React20.createElement(import_editor_controls2.PropProvider, { propType, value, setValue, isDisabled }, /* @__PURE__ */ React20.createElement(import_editor_controls2.PropKeyProvider, { bind }, children));
2271
2331
  };
2272
2332
  function useUndoableUpdateElementProp({
2273
2333
  elementId,
@@ -2289,7 +2349,7 @@ function useUndoableUpdateElementProp({
2289
2349
  {
2290
2350
  title: (0, import_editor_elements6.getElementLabel)(elementId),
2291
2351
  // translators: %s is the name of the property that was edited.
2292
- subtitle: (0, import_i18n7.__)("%s edited", "elementor").replace("%s", propDisplayName),
2352
+ subtitle: (0, import_i18n8.__)("%s edited", "elementor").replace("%s", propDisplayName),
2293
2353
  debounce: { wait: HISTORY_DEBOUNCE_WAIT2 }
2294
2354
  }
2295
2355
  );
@@ -2317,11 +2377,11 @@ var registerFieldIndicator = ({
2317
2377
  var getFieldIndicators = (fieldType) => Array.from(indicatorsRegistry[fieldType].values()).sort((a, b) => a.priority - b.priority).map(({ id, indicator: Adornment }) => ({ id, Adornment }));
2318
2378
 
2319
2379
  // src/components/control-label.tsx
2320
- var React20 = __toESM(require("react"));
2380
+ var React21 = __toESM(require("react"));
2321
2381
  var import_editor_controls3 = require("@elementor/editor-controls");
2322
2382
  var import_ui13 = require("@elementor/ui");
2323
2383
  var ControlLabel = ({ children }) => {
2324
- return /* @__PURE__ */ React20.createElement(import_ui13.Stack, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React20.createElement(import_editor_controls3.ControlFormLabel, null, children), /* @__PURE__ */ React20.createElement(import_editor_controls3.ControlAdornments, null));
2384
+ return /* @__PURE__ */ React21.createElement(import_ui13.Stack, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React21.createElement(import_editor_controls3.ControlFormLabel, null, children), /* @__PURE__ */ React21.createElement(import_editor_controls3.ControlAdornments, null));
2325
2385
  };
2326
2386
 
2327
2387
  // src/components/settings-control.tsx
@@ -2338,9 +2398,9 @@ var SettingsControl = ({ control: { value, type } }) => {
2338
2398
  controlProps.label = value.label;
2339
2399
  }
2340
2400
  if (type === "element-control") {
2341
- return /* @__PURE__ */ React21.createElement(ControlLayout, { control: value, layout, controlProps });
2401
+ return /* @__PURE__ */ React22.createElement(ControlLayout, { control: value, layout, controlProps });
2342
2402
  }
2343
- return /* @__PURE__ */ React21.createElement(SettingsField, { bind: value.bind, propDisplayName: value.label || value.bind }, /* @__PURE__ */ React21.createElement(ControlLayout, { control: value, layout, controlProps }));
2403
+ return /* @__PURE__ */ React22.createElement(SettingsField, { bind: value.bind, propDisplayName: value.label || value.bind }, /* @__PURE__ */ React22.createElement(ControlLayout, { control: value, layout, controlProps }));
2344
2404
  };
2345
2405
  var ControlLayout = ({
2346
2406
  control,
@@ -2348,7 +2408,7 @@ var ControlLayout = ({
2348
2408
  controlProps
2349
2409
  }) => {
2350
2410
  const controlType = control.type;
2351
- return /* @__PURE__ */ React21.createElement(import_editor_controls4.ControlAdornmentsProvider, { items: getFieldIndicators("settings") }, control.meta?.topDivider && /* @__PURE__ */ React21.createElement(import_ui14.Divider, null), /* @__PURE__ */ React21.createElement(Wrapper, { "data-type": "settings-field" }, /* @__PURE__ */ React21.createElement(ControlTypeContainer, { layout }, control.label && layout !== "custom" ? /* @__PURE__ */ React21.createElement(ControlLabel, null, control.label) : null, /* @__PURE__ */ React21.createElement(Control, { type: controlType, props: controlProps }))));
2411
+ return /* @__PURE__ */ React22.createElement(import_editor_controls4.ControlAdornmentsProvider, { items: getFieldIndicators("settings") }, control.meta?.topDivider && /* @__PURE__ */ React22.createElement(import_ui14.Divider, null), /* @__PURE__ */ React22.createElement(Wrapper, { "data-type": "settings-field" }, /* @__PURE__ */ React22.createElement(ControlTypeContainer, { layout }, control.label && layout !== "custom" ? /* @__PURE__ */ React22.createElement(ControlLabel, null, control.label) : null, /* @__PURE__ */ React22.createElement(Control, { type: controlType, props: controlProps }))));
2352
2412
  };
2353
2413
  function populateChildControlProps(props) {
2354
2414
  if (props.childControlType) {
@@ -2371,13 +2431,13 @@ var SettingsTab = () => {
2371
2431
  const { elementType, element } = useElement();
2372
2432
  const settingsDefault = useDefaultPanelSettings();
2373
2433
  const isDefaultExpanded = (sectionId) => settingsDefault.defaultSectionsExpanded.settings?.includes(sectionId);
2374
- return /* @__PURE__ */ React22.createElement(import_session5.SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React22.createElement(SectionsList, null, elementType.controls.map((control, index) => {
2434
+ return /* @__PURE__ */ React23.createElement(import_session6.SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React23.createElement(SectionsList, null, elementType.controls.map((control, index) => {
2375
2435
  if (isControl(control)) {
2376
- return /* @__PURE__ */ React22.createElement(SettingsControl, { key: getKey(control, element), control });
2436
+ return /* @__PURE__ */ React23.createElement(SettingsControl, { key: getKey(control, element), control });
2377
2437
  }
2378
2438
  const { type, value } = control;
2379
2439
  if (type === "section") {
2380
- return /* @__PURE__ */ React22.createElement(
2440
+ return /* @__PURE__ */ React23.createElement(
2381
2441
  Section,
2382
2442
  {
2383
2443
  title: value.label,
@@ -2386,7 +2446,7 @@ var SettingsTab = () => {
2386
2446
  },
2387
2447
  value.items?.map((item) => {
2388
2448
  if (isControl(item)) {
2389
- return /* @__PURE__ */ React22.createElement(SettingsControl, { key: getKey(item, element), control: item });
2449
+ return /* @__PURE__ */ React23.createElement(SettingsControl, { key: getKey(item, element), control: item });
2390
2450
  }
2391
2451
  return null;
2392
2452
  })
@@ -2406,29 +2466,29 @@ function isControl(control) {
2406
2466
  }
2407
2467
 
2408
2468
  // src/components/style-tab.tsx
2409
- var React79 = __toESM(require("react"));
2469
+ var React80 = __toESM(require("react"));
2410
2470
  var import_react34 = require("react");
2411
- var import_editor_props15 = require("@elementor/editor-props");
2471
+ var import_editor_props14 = require("@elementor/editor-props");
2412
2472
  var import_editor_responsive3 = require("@elementor/editor-responsive");
2413
2473
  var import_locations3 = require("@elementor/locations");
2414
- var import_session7 = require("@elementor/session");
2474
+ var import_session8 = require("@elementor/session");
2415
2475
  var import_ui34 = require("@elementor/ui");
2416
- var import_i18n53 = require("@wordpress/i18n");
2476
+ var import_i18n54 = require("@wordpress/i18n");
2417
2477
 
2418
2478
  // src/contexts/styles-inheritance-context.tsx
2419
- var React23 = __toESM(require("react"));
2479
+ var React24 = __toESM(require("react"));
2420
2480
  var import_react20 = require("react");
2421
2481
  var import_editor_elements7 = require("@elementor/editor-elements");
2422
- var import_editor_props9 = require("@elementor/editor-props");
2482
+ var import_editor_props8 = require("@elementor/editor-props");
2423
2483
  var import_editor_responsive2 = require("@elementor/editor-responsive");
2424
2484
  var import_editor_styles5 = require("@elementor/editor-styles");
2425
- var import_editor_styles_repository12 = require("@elementor/editor-styles-repository");
2485
+ var import_editor_styles_repository13 = require("@elementor/editor-styles-repository");
2426
2486
 
2427
2487
  // src/styles-inheritance/create-styles-inheritance.ts
2428
- var import_editor_props8 = require("@elementor/editor-props");
2488
+ var import_editor_props7 = require("@elementor/editor-props");
2429
2489
 
2430
2490
  // src/styles-inheritance/create-snapshots-manager.ts
2431
- var import_editor_props7 = require("@elementor/editor-props");
2491
+ var import_editor_props6 = require("@elementor/editor-props");
2432
2492
  var import_editor_variables = require("@elementor/editor-variables");
2433
2493
 
2434
2494
  // src/styles-inheritance/utils.ts
@@ -2529,7 +2589,7 @@ function buildInitialSnapshotFromStyles(styles) {
2529
2589
  variant: { props }
2530
2590
  } = styleData;
2531
2591
  Object.entries(props).forEach(([key, value]) => {
2532
- const filteredValue = (0, import_editor_props7.filterEmptyValues)(value);
2592
+ const filteredValue = (0, import_editor_props6.filterEmptyValues)(value);
2533
2593
  const filteredVariableValue = filteredValue?.$$type?.includes("variable") && !(0, import_editor_variables.hasVariable)(filteredValue?.value) ? null : filteredValue;
2534
2594
  if (filteredVariableValue === null) {
2535
2595
  return;
@@ -2576,7 +2636,7 @@ function createStylesInheritance(styleDefs, breakpointsRoot) {
2576
2636
  inheritanceChain = inheritanceChain.map(({ value: styleValue, ...rest }) => ({
2577
2637
  ...rest,
2578
2638
  value: getValueByPath(styleValue, nextFields, filterPropType)
2579
- })).filter(({ value: styleValue }) => !(0, import_editor_props8.isEmpty)(styleValue));
2639
+ })).filter(({ value: styleValue }) => !(0, import_editor_props7.isEmpty)(styleValue));
2580
2640
  }
2581
2641
  return inheritanceChain;
2582
2642
  }
@@ -2618,7 +2678,7 @@ function getValueByPath(value, path, filterPropType) {
2618
2678
  if (!currentScope) {
2619
2679
  return null;
2620
2680
  }
2621
- if ((0, import_editor_props8.isTransformable)(currentScope)) {
2681
+ if ((0, import_editor_props7.isTransformable)(currentScope)) {
2622
2682
  return currentScope.value?.[key] ?? null;
2623
2683
  }
2624
2684
  if (typeof currentScope === "object") {
@@ -2628,7 +2688,7 @@ function getValueByPath(value, path, filterPropType) {
2628
2688
  }, value);
2629
2689
  }
2630
2690
  function shouldUseOriginalValue(filterPropType, value) {
2631
- return !!filterPropType && (0, import_editor_props8.isTransformable)(value) && filterPropType.key !== value.$$type;
2691
+ return !!filterPropType && (0, import_editor_props7.isTransformable)(value) && filterPropType.key !== value.$$type;
2632
2692
  }
2633
2693
  var getFilterPropType = (propType, path) => {
2634
2694
  if (!propType || propType.kind !== "union") {
@@ -2654,7 +2714,7 @@ function StyleInheritanceProvider({ children }) {
2654
2714
  const styleDefs = useAppliedStyles();
2655
2715
  const breakpointsTree = (0, import_editor_responsive2.getBreakpointsTree)();
2656
2716
  const { getSnapshot, getInheritanceChain } = createStylesInheritance(styleDefs, breakpointsTree);
2657
- return /* @__PURE__ */ React23.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
2717
+ return /* @__PURE__ */ React24.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
2658
2718
  }
2659
2719
  function useStylesInheritanceSnapshot() {
2660
2720
  const context = (0, import_react20.useContext)(Context4);
@@ -2685,8 +2745,8 @@ var useAppliedStyles = () => {
2685
2745
  const baseStyles = useBaseStyles();
2686
2746
  useStylesRerender();
2687
2747
  const classesProp = usePanelElementSetting(currentClassesProp);
2688
- const appliedStyles = import_editor_props9.classesPropTypeUtil.extract(classesProp) ?? [];
2689
- return import_editor_styles_repository12.stylesRepository.all().filter((style) => [...baseStyles, ...appliedStyles].includes(style.id));
2748
+ const appliedStyles = import_editor_props8.classesPropTypeUtil.extract(classesProp) ?? [];
2749
+ return import_editor_styles_repository13.stylesRepository.all().filter((style) => [...baseStyles, ...appliedStyles].includes(style.id));
2690
2750
  };
2691
2751
  var useBaseStyles = () => {
2692
2752
  const { elementType } = useElement();
@@ -2718,14 +2778,14 @@ function useActiveAndAppliedClassId(id, appliedClassesIds) {
2718
2778
  }
2719
2779
 
2720
2780
  // src/components/style-sections/background-section/background-section.tsx
2721
- var React26 = __toESM(require("react"));
2781
+ var React27 = __toESM(require("react"));
2722
2782
  var import_editor_controls7 = require("@elementor/editor-controls");
2723
- var import_i18n8 = require("@wordpress/i18n");
2783
+ var import_i18n9 = require("@wordpress/i18n");
2724
2784
 
2725
2785
  // src/controls-registry/styles-field.tsx
2726
- var React24 = __toESM(require("react"));
2786
+ var React25 = __toESM(require("react"));
2727
2787
  var import_editor_controls6 = require("@elementor/editor-controls");
2728
- var import_editor_props11 = require("@elementor/editor-props");
2788
+ var import_editor_props10 = require("@elementor/editor-props");
2729
2789
  var import_editor_styles6 = require("@elementor/editor-styles");
2730
2790
 
2731
2791
  // src/hooks/use-styles-field.ts
@@ -2740,19 +2800,19 @@ function useStylesField(propName, meta) {
2740
2800
 
2741
2801
  // src/controls-registry/conditional-field.tsx
2742
2802
  var import_editor_controls5 = require("@elementor/editor-controls");
2743
- var import_editor_props10 = require("@elementor/editor-props");
2803
+ var import_editor_props9 = require("@elementor/editor-props");
2744
2804
  var ConditionalField = ({ children }) => {
2745
2805
  const { propType } = (0, import_editor_controls5.useBoundProp)();
2746
2806
  const depList = getDependencies(propType);
2747
2807
  const { values: depValues } = useStylesFields(depList);
2748
- const isHidden = !(0, import_editor_props10.isDependencyMet)(propType?.dependencies, depValues).isMet;
2808
+ const isHidden = !(0, import_editor_props9.isDependencyMet)(propType?.dependencies, depValues).isMet;
2749
2809
  return isHidden ? null : children;
2750
2810
  };
2751
2811
  function getDependencies(propType) {
2752
2812
  if (!propType?.dependencies?.terms.length) {
2753
2813
  return [];
2754
2814
  }
2755
- return propType.dependencies.terms.flatMap((term) => !(0, import_editor_props10.isDependency)(term) ? term.path : []);
2815
+ return propType.dependencies.terms.flatMap((term) => !(0, import_editor_props9.isDependency)(term) ? term.path : []);
2756
2816
  }
2757
2817
 
2758
2818
  // src/controls-registry/styles-field.tsx
@@ -2763,10 +2823,10 @@ function buildResolvedPlaceholder(chain, startIndex) {
2763
2823
  return void 0;
2764
2824
  }
2765
2825
  const firstValue = firstEntry.value;
2766
- if (!import_editor_props11.dimensionsPropTypeUtil.isValid(firstValue)) {
2826
+ if (!import_editor_props10.dimensionsPropTypeUtil.isValid(firstValue)) {
2767
2827
  return firstValue;
2768
2828
  }
2769
- const firstDims = import_editor_props11.dimensionsPropTypeUtil.extract(firstValue);
2829
+ const firstDims = import_editor_props10.dimensionsPropTypeUtil.extract(firstValue);
2770
2830
  if (DIMENSION_SIDES.every((side) => firstDims?.[side] !== null && firstDims?.[side] !== void 0)) {
2771
2831
  return firstValue;
2772
2832
  }
@@ -2778,15 +2838,15 @@ function buildResolvedPlaceholder(chain, startIndex) {
2778
2838
  });
2779
2839
  for (let i = startIndex + 1; i < chain.length; i++) {
2780
2840
  const val = chain[i].value;
2781
- if (import_editor_props11.sizePropTypeUtil.isValid(val)) {
2841
+ if (import_editor_props10.sizePropTypeUtil.isValid(val)) {
2782
2842
  DIMENSION_SIDES.forEach((side) => {
2783
2843
  if (merged[side] === null || merged[side] === void 0) {
2784
2844
  merged[side] = val;
2785
2845
  }
2786
2846
  });
2787
2847
  break;
2788
- } else if (import_editor_props11.dimensionsPropTypeUtil.isValid(val)) {
2789
- const dims = import_editor_props11.dimensionsPropTypeUtil.extract(val);
2848
+ } else if (import_editor_props10.dimensionsPropTypeUtil.isValid(val)) {
2849
+ const dims = import_editor_props10.dimensionsPropTypeUtil.extract(val);
2790
2850
  DIMENSION_SIDES.forEach((side) => {
2791
2851
  if ((merged[side] === null || merged[side] === void 0) && dims?.[side] !== null && dims?.[side] !== void 0) {
2792
2852
  merged[side] = dims[side];
@@ -2797,7 +2857,7 @@ function buildResolvedPlaceholder(chain, startIndex) {
2797
2857
  break;
2798
2858
  }
2799
2859
  }
2800
- return import_editor_props11.dimensionsPropTypeUtil.create({
2860
+ return import_editor_props10.dimensionsPropTypeUtil.create({
2801
2861
  "block-start": merged["block-start"] ?? null,
2802
2862
  "block-end": merged["block-end"] ?? null,
2803
2863
  "inline-start": merged["inline-start"] ?? null,
@@ -2816,7 +2876,7 @@ var StylesField = ({ bind, propDisplayName, children }) => {
2816
2876
  const setValue = (newValue) => {
2817
2877
  fields.setValue(newValue[bind]);
2818
2878
  };
2819
- return /* @__PURE__ */ React24.createElement(import_editor_controls6.ControlAdornmentsProvider, { items: getFieldIndicators("styles") }, /* @__PURE__ */ React24.createElement(
2879
+ return /* @__PURE__ */ React25.createElement(import_editor_controls6.ControlAdornmentsProvider, { items: getFieldIndicators("styles") }, /* @__PURE__ */ React25.createElement(
2820
2880
  import_editor_controls6.PropProvider,
2821
2881
  {
2822
2882
  propType,
@@ -2825,40 +2885,40 @@ var StylesField = ({ bind, propDisplayName, children }) => {
2825
2885
  placeholder: placeholderValues,
2826
2886
  isDisabled: () => !canEdit
2827
2887
  },
2828
- /* @__PURE__ */ React24.createElement(import_editor_controls6.PropKeyProvider, { bind }, /* @__PURE__ */ React24.createElement(ConditionalField, null, children))
2888
+ /* @__PURE__ */ React25.createElement(import_editor_controls6.PropKeyProvider, { bind }, /* @__PURE__ */ React25.createElement(ConditionalField, null, children))
2829
2889
  ));
2830
2890
  };
2831
2891
 
2832
2892
  // src/components/section-content.tsx
2833
- var React25 = __toESM(require("react"));
2893
+ var React26 = __toESM(require("react"));
2834
2894
  var import_ui15 = require("@elementor/ui");
2835
- var SectionContent = ({ gap = 2, sx, children, "aria-label": ariaLabel }) => /* @__PURE__ */ React25.createElement(import_ui15.Stack, { gap, sx: { ...sx }, "aria-label": ariaLabel }, children);
2895
+ var SectionContent = ({ gap = 2, sx, children, "aria-label": ariaLabel }) => /* @__PURE__ */ React26.createElement(import_ui15.Stack, { gap, sx: { ...sx }, "aria-label": ariaLabel }, children);
2836
2896
 
2837
2897
  // src/components/style-sections/background-section/background-section.tsx
2838
- var BACKGROUND_LABEL = (0, import_i18n8.__)("Background", "elementor");
2898
+ var BACKGROUND_LABEL = (0, import_i18n9.__)("Background", "elementor");
2839
2899
  var BackgroundSection = () => {
2840
- return /* @__PURE__ */ React26.createElement(SectionContent, null, /* @__PURE__ */ React26.createElement(StylesField, { bind: "background", propDisplayName: BACKGROUND_LABEL }, /* @__PURE__ */ React26.createElement(import_editor_controls7.BackgroundControl, null)));
2900
+ return /* @__PURE__ */ React27.createElement(SectionContent, null, /* @__PURE__ */ React27.createElement(StylesField, { bind: "background", propDisplayName: BACKGROUND_LABEL }, /* @__PURE__ */ React27.createElement(import_editor_controls7.BackgroundControl, null)));
2841
2901
  };
2842
2902
 
2843
2903
  // src/components/style-sections/border-section/border-section.tsx
2844
- var React33 = __toESM(require("react"));
2904
+ var React34 = __toESM(require("react"));
2845
2905
 
2846
2906
  // src/components/style-sections/border-section/border-color-field.tsx
2847
- var React28 = __toESM(require("react"));
2907
+ var React29 = __toESM(require("react"));
2848
2908
  var import_editor_controls8 = require("@elementor/editor-controls");
2849
- var import_i18n9 = require("@wordpress/i18n");
2909
+ var import_i18n10 = require("@wordpress/i18n");
2850
2910
 
2851
2911
  // src/components/styles-field-layout.tsx
2852
- var React27 = __toESM(require("react"));
2912
+ var React28 = __toESM(require("react"));
2853
2913
  var import_ui16 = require("@elementor/ui");
2854
- var StylesFieldLayout = React27.forwardRef((props, ref) => {
2914
+ var StylesFieldLayout = React28.forwardRef((props, ref) => {
2855
2915
  const { direction = "row", children, label } = props;
2856
2916
  const LayoutComponent = direction === "row" ? Row : Column;
2857
- return /* @__PURE__ */ React27.createElement(LayoutComponent, { label, ref, children });
2917
+ return /* @__PURE__ */ React28.createElement(LayoutComponent, { label, ref, children });
2858
2918
  });
2859
- var Row = React27.forwardRef(
2919
+ var Row = React28.forwardRef(
2860
2920
  ({ label, children }, ref) => {
2861
- return /* @__PURE__ */ React27.createElement(
2921
+ return /* @__PURE__ */ React28.createElement(
2862
2922
  import_ui16.Grid,
2863
2923
  {
2864
2924
  container: true,
@@ -2868,8 +2928,8 @@ var Row = React27.forwardRef(
2868
2928
  ref,
2869
2929
  "aria-label": `${label} control`
2870
2930
  },
2871
- /* @__PURE__ */ React27.createElement(import_ui16.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React27.createElement(ControlLabel, null, label)),
2872
- /* @__PURE__ */ React27.createElement(
2931
+ /* @__PURE__ */ React28.createElement(import_ui16.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React28.createElement(ControlLabel, null, label)),
2932
+ /* @__PURE__ */ React28.createElement(
2873
2933
  import_ui16.Grid,
2874
2934
  {
2875
2935
  item: true,
@@ -2883,23 +2943,23 @@ var Row = React27.forwardRef(
2883
2943
  );
2884
2944
  }
2885
2945
  );
2886
- var Column = React27.forwardRef(
2946
+ var Column = React28.forwardRef(
2887
2947
  ({ label, children }, ref) => {
2888
- return /* @__PURE__ */ React27.createElement(import_ui16.Stack, { gap: 0.75, ref }, /* @__PURE__ */ React27.createElement(ControlLabel, null, label), children);
2948
+ return /* @__PURE__ */ React28.createElement(import_ui16.Stack, { gap: 0.75, ref }, /* @__PURE__ */ React28.createElement(ControlLabel, null, label), children);
2889
2949
  }
2890
2950
  );
2891
2951
 
2892
2952
  // src/components/style-sections/border-section/border-color-field.tsx
2893
- var BORDER_COLOR_LABEL = (0, import_i18n9.__)("Border color", "elementor");
2894
- var BorderColorField = () => /* @__PURE__ */ React28.createElement(StylesField, { bind: "border-color", propDisplayName: BORDER_COLOR_LABEL }, /* @__PURE__ */ React28.createElement(StylesFieldLayout, { label: BORDER_COLOR_LABEL }, /* @__PURE__ */ React28.createElement(import_editor_controls8.ColorControl, null)));
2953
+ var BORDER_COLOR_LABEL = (0, import_i18n10.__)("Border color", "elementor");
2954
+ var BorderColorField = () => /* @__PURE__ */ React29.createElement(StylesField, { bind: "border-color", propDisplayName: BORDER_COLOR_LABEL }, /* @__PURE__ */ React29.createElement(StylesFieldLayout, { label: BORDER_COLOR_LABEL }, /* @__PURE__ */ React29.createElement(import_editor_controls8.ColorControl, null)));
2895
2955
 
2896
2956
  // src/components/style-sections/border-section/border-radius-field.tsx
2897
- var React30 = __toESM(require("react"));
2957
+ var React31 = __toESM(require("react"));
2898
2958
  var import_editor_controls9 = require("@elementor/editor-controls");
2899
- var import_editor_props12 = require("@elementor/editor-props");
2959
+ var import_editor_props11 = require("@elementor/editor-props");
2900
2960
  var import_icons3 = require("@elementor/icons");
2901
2961
  var import_ui19 = require("@elementor/ui");
2902
- var import_i18n10 = require("@wordpress/i18n");
2962
+ var import_i18n11 = require("@wordpress/i18n");
2903
2963
 
2904
2964
  // src/hooks/use-direction.ts
2905
2965
  var import_editor_v1_adapters5 = require("@elementor/editor-v1-adapters");
@@ -2911,142 +2971,142 @@ function useDirection() {
2911
2971
  }
2912
2972
 
2913
2973
  // src/styles-inheritance/components/ui-providers.tsx
2914
- var React29 = __toESM(require("react"));
2974
+ var React30 = __toESM(require("react"));
2915
2975
  var import_ui18 = require("@elementor/ui");
2916
2976
  var UiProviders = ({ children }) => {
2917
2977
  const { isSiteRtl } = useDirection();
2918
- return /* @__PURE__ */ React29.createElement(import_ui18.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React29.createElement(import_ui18.ThemeProvider, null, children));
2978
+ return /* @__PURE__ */ React30.createElement(import_ui18.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React30.createElement(import_ui18.ThemeProvider, null, children));
2919
2979
  };
2920
2980
 
2921
2981
  // src/components/style-sections/border-section/border-radius-field.tsx
2922
- var BORDER_RADIUS_LABEL = (0, import_i18n10.__)("Border radius", "elementor");
2982
+ var BORDER_RADIUS_LABEL = (0, import_i18n11.__)("Border radius", "elementor");
2923
2983
  var StartStartIcon = (0, import_ui19.withDirection)(import_icons3.RadiusTopLeftIcon);
2924
2984
  var StartEndIcon = (0, import_ui19.withDirection)(import_icons3.RadiusTopRightIcon);
2925
2985
  var EndStartIcon = (0, import_ui19.withDirection)(import_icons3.RadiusBottomLeftIcon);
2926
2986
  var EndEndIcon = (0, import_ui19.withDirection)(import_icons3.RadiusBottomRightIcon);
2927
- var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Top right", "elementor") : (0, import_i18n10.__)("Top left", "elementor");
2928
- var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border top right radius", "elementor") : (0, import_i18n10.__)("Border top left radius", "elementor");
2929
- var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Top left", "elementor") : (0, import_i18n10.__)("Top right", "elementor");
2930
- var getStartEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border top left radius", "elementor") : (0, import_i18n10.__)("Border top right radius", "elementor");
2931
- var getEndStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Bottom right", "elementor") : (0, import_i18n10.__)("Bottom left", "elementor");
2932
- var getEndStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border bottom right radius", "elementor") : (0, import_i18n10.__)("Border bottom left radius", "elementor");
2933
- var getEndEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Bottom left", "elementor") : (0, import_i18n10.__)("Bottom right", "elementor");
2934
- var getEndEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border bottom left radius", "elementor") : (0, import_i18n10.__)("Border bottom right radius", "elementor");
2987
+ var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Top right", "elementor") : (0, import_i18n11.__)("Top left", "elementor");
2988
+ var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border top right radius", "elementor") : (0, import_i18n11.__)("Border top left radius", "elementor");
2989
+ var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Top left", "elementor") : (0, import_i18n11.__)("Top right", "elementor");
2990
+ var getStartEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border top left radius", "elementor") : (0, import_i18n11.__)("Border top right radius", "elementor");
2991
+ var getEndStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Bottom right", "elementor") : (0, import_i18n11.__)("Bottom left", "elementor");
2992
+ var getEndStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border bottom right radius", "elementor") : (0, import_i18n11.__)("Border bottom left radius", "elementor");
2993
+ var getEndEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Bottom left", "elementor") : (0, import_i18n11.__)("Bottom right", "elementor");
2994
+ var getEndEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border bottom left radius", "elementor") : (0, import_i18n11.__)("Border bottom right radius", "elementor");
2935
2995
  var getCorners = (isSiteRtl) => [
2936
2996
  {
2937
2997
  label: getStartStartLabel(isSiteRtl),
2938
2998
  ariaLabel: getStartStartAriaLabel(isSiteRtl),
2939
- icon: /* @__PURE__ */ React30.createElement(StartStartIcon, { fontSize: "tiny" }),
2999
+ icon: /* @__PURE__ */ React31.createElement(StartStartIcon, { fontSize: "tiny" }),
2940
3000
  bind: "start-start"
2941
3001
  },
2942
3002
  {
2943
3003
  label: getStartEndLabel(isSiteRtl),
2944
3004
  ariaLabel: getStartEndAriaLabel(isSiteRtl),
2945
- icon: /* @__PURE__ */ React30.createElement(StartEndIcon, { fontSize: "tiny" }),
3005
+ icon: /* @__PURE__ */ React31.createElement(StartEndIcon, { fontSize: "tiny" }),
2946
3006
  bind: "start-end"
2947
3007
  },
2948
3008
  {
2949
3009
  label: getEndStartLabel(isSiteRtl),
2950
3010
  ariaLabel: getEndStartAriaLabel(isSiteRtl),
2951
- icon: /* @__PURE__ */ React30.createElement(EndStartIcon, { fontSize: "tiny" }),
3011
+ icon: /* @__PURE__ */ React31.createElement(EndStartIcon, { fontSize: "tiny" }),
2952
3012
  bind: "end-start"
2953
3013
  },
2954
3014
  {
2955
3015
  label: getEndEndLabel(isSiteRtl),
2956
3016
  ariaLabel: getEndEndAriaLabel(isSiteRtl),
2957
- icon: /* @__PURE__ */ React30.createElement(EndEndIcon, { fontSize: "tiny" }),
3017
+ icon: /* @__PURE__ */ React31.createElement(EndEndIcon, { fontSize: "tiny" }),
2958
3018
  bind: "end-end"
2959
3019
  }
2960
3020
  ];
2961
3021
  var BorderRadiusField = () => {
2962
3022
  const { isSiteRtl } = useDirection();
2963
- return /* @__PURE__ */ React30.createElement(UiProviders, null, /* @__PURE__ */ React30.createElement(StylesField, { bind: "border-radius", propDisplayName: BORDER_RADIUS_LABEL }, /* @__PURE__ */ React30.createElement(
3023
+ return /* @__PURE__ */ React31.createElement(UiProviders, null, /* @__PURE__ */ React31.createElement(StylesField, { bind: "border-radius", propDisplayName: BORDER_RADIUS_LABEL }, /* @__PURE__ */ React31.createElement(
2964
3024
  import_editor_controls9.EqualUnequalSizesControl,
2965
3025
  {
2966
3026
  items: getCorners(isSiteRtl),
2967
3027
  label: BORDER_RADIUS_LABEL,
2968
- icon: /* @__PURE__ */ React30.createElement(import_icons3.BorderCornersIcon, { fontSize: "tiny" }),
2969
- tooltipLabel: (0, import_i18n10.__)("Adjust corners", "elementor"),
2970
- multiSizePropTypeUtil: import_editor_props12.borderRadiusPropTypeUtil
3028
+ icon: /* @__PURE__ */ React31.createElement(import_icons3.BorderCornersIcon, { fontSize: "tiny" }),
3029
+ tooltipLabel: (0, import_i18n11.__)("Adjust corners", "elementor"),
3030
+ multiSizePropTypeUtil: import_editor_props11.borderRadiusPropTypeUtil
2971
3031
  }
2972
3032
  )));
2973
3033
  };
2974
3034
 
2975
3035
  // src/components/style-sections/border-section/border-style-field.tsx
2976
- var React31 = __toESM(require("react"));
3036
+ var React32 = __toESM(require("react"));
2977
3037
  var import_editor_controls10 = require("@elementor/editor-controls");
2978
- var import_i18n11 = require("@wordpress/i18n");
2979
- var BORDER_TYPE_LABEL = (0, import_i18n11.__)("Border type", "elementor");
3038
+ var import_i18n12 = require("@wordpress/i18n");
3039
+ var BORDER_TYPE_LABEL = (0, import_i18n12.__)("Border type", "elementor");
2980
3040
  var borderStyles = [
2981
- { value: "none", label: (0, import_i18n11.__)("None", "elementor") },
2982
- { value: "solid", label: (0, import_i18n11.__)("Solid", "elementor") },
2983
- { value: "dashed", label: (0, import_i18n11.__)("Dashed", "elementor") },
2984
- { value: "dotted", label: (0, import_i18n11.__)("Dotted", "elementor") },
2985
- { value: "double", label: (0, import_i18n11.__)("Double", "elementor") },
2986
- { value: "groove", label: (0, import_i18n11.__)("Groove", "elementor") },
2987
- { value: "ridge", label: (0, import_i18n11.__)("Ridge", "elementor") },
2988
- { value: "inset", label: (0, import_i18n11.__)("Inset", "elementor") },
2989
- { value: "outset", label: (0, import_i18n11.__)("Outset", "elementor") }
3041
+ { value: "none", label: (0, import_i18n12.__)("None", "elementor") },
3042
+ { value: "solid", label: (0, import_i18n12.__)("Solid", "elementor") },
3043
+ { value: "dashed", label: (0, import_i18n12.__)("Dashed", "elementor") },
3044
+ { value: "dotted", label: (0, import_i18n12.__)("Dotted", "elementor") },
3045
+ { value: "double", label: (0, import_i18n12.__)("Double", "elementor") },
3046
+ { value: "groove", label: (0, import_i18n12.__)("Groove", "elementor") },
3047
+ { value: "ridge", label: (0, import_i18n12.__)("Ridge", "elementor") },
3048
+ { value: "inset", label: (0, import_i18n12.__)("Inset", "elementor") },
3049
+ { value: "outset", label: (0, import_i18n12.__)("Outset", "elementor") }
2990
3050
  ];
2991
- var BorderStyleField = () => /* @__PURE__ */ React31.createElement(StylesField, { bind: "border-style", propDisplayName: BORDER_TYPE_LABEL }, /* @__PURE__ */ React31.createElement(StylesFieldLayout, { label: BORDER_TYPE_LABEL }, /* @__PURE__ */ React31.createElement(import_editor_controls10.SelectControl, { options: borderStyles })));
3051
+ var BorderStyleField = () => /* @__PURE__ */ React32.createElement(StylesField, { bind: "border-style", propDisplayName: BORDER_TYPE_LABEL }, /* @__PURE__ */ React32.createElement(StylesFieldLayout, { label: BORDER_TYPE_LABEL }, /* @__PURE__ */ React32.createElement(import_editor_controls10.SelectControl, { options: borderStyles })));
2992
3052
 
2993
3053
  // src/components/style-sections/border-section/border-width-field.tsx
2994
- var React32 = __toESM(require("react"));
3054
+ var React33 = __toESM(require("react"));
2995
3055
  var import_editor_controls11 = require("@elementor/editor-controls");
2996
- var import_editor_props13 = require("@elementor/editor-props");
3056
+ var import_editor_props12 = require("@elementor/editor-props");
2997
3057
  var import_icons4 = require("@elementor/icons");
2998
3058
  var import_ui20 = require("@elementor/ui");
2999
- var import_i18n12 = require("@wordpress/i18n");
3000
- var BORDER_WIDTH_LABEL = (0, import_i18n12.__)("Border width", "elementor");
3059
+ var import_i18n13 = require("@wordpress/i18n");
3060
+ var BORDER_WIDTH_LABEL = (0, import_i18n13.__)("Border width", "elementor");
3001
3061
  var InlineStartIcon = (0, import_ui20.withDirection)(import_icons4.SideRightIcon);
3002
3062
  var InlineEndIcon = (0, import_ui20.withDirection)(import_icons4.SideLeftIcon);
3003
3063
  var getEdges = (isSiteRtl) => [
3004
3064
  {
3005
- label: (0, import_i18n12.__)("Top", "elementor"),
3006
- ariaLabel: (0, import_i18n12.__)("Border top width", "elementor"),
3007
- icon: /* @__PURE__ */ React32.createElement(import_icons4.SideTopIcon, { fontSize: "tiny" }),
3065
+ label: (0, import_i18n13.__)("Top", "elementor"),
3066
+ ariaLabel: (0, import_i18n13.__)("Border top width", "elementor"),
3067
+ icon: /* @__PURE__ */ React33.createElement(import_icons4.SideTopIcon, { fontSize: "tiny" }),
3008
3068
  bind: "block-start"
3009
3069
  },
3010
3070
  {
3011
- label: isSiteRtl ? (0, import_i18n12.__)("Left", "elementor") : (0, import_i18n12.__)("Right", "elementor"),
3012
- ariaLabel: isSiteRtl ? (0, import_i18n12.__)("Border left width", "elementor") : (0, import_i18n12.__)("Border right width", "elementor"),
3013
- icon: /* @__PURE__ */ React32.createElement(InlineStartIcon, { fontSize: "tiny" }),
3071
+ label: isSiteRtl ? (0, import_i18n13.__)("Left", "elementor") : (0, import_i18n13.__)("Right", "elementor"),
3072
+ ariaLabel: isSiteRtl ? (0, import_i18n13.__)("Border left width", "elementor") : (0, import_i18n13.__)("Border right width", "elementor"),
3073
+ icon: /* @__PURE__ */ React33.createElement(InlineStartIcon, { fontSize: "tiny" }),
3014
3074
  bind: "inline-end"
3015
3075
  },
3016
3076
  {
3017
- label: (0, import_i18n12.__)("Bottom", "elementor"),
3018
- ariaLabel: (0, import_i18n12.__)("Border bottom width", "elementor"),
3019
- icon: /* @__PURE__ */ React32.createElement(import_icons4.SideBottomIcon, { fontSize: "tiny" }),
3077
+ label: (0, import_i18n13.__)("Bottom", "elementor"),
3078
+ ariaLabel: (0, import_i18n13.__)("Border bottom width", "elementor"),
3079
+ icon: /* @__PURE__ */ React33.createElement(import_icons4.SideBottomIcon, { fontSize: "tiny" }),
3020
3080
  bind: "block-end"
3021
3081
  },
3022
3082
  {
3023
- label: isSiteRtl ? (0, import_i18n12.__)("Right", "elementor") : (0, import_i18n12.__)("Left", "elementor"),
3024
- ariaLabel: isSiteRtl ? (0, import_i18n12.__)("Border right width", "elementor") : (0, import_i18n12.__)("Border left width", "elementor"),
3025
- icon: /* @__PURE__ */ React32.createElement(InlineEndIcon, { fontSize: "tiny" }),
3083
+ label: isSiteRtl ? (0, import_i18n13.__)("Right", "elementor") : (0, import_i18n13.__)("Left", "elementor"),
3084
+ ariaLabel: isSiteRtl ? (0, import_i18n13.__)("Border right width", "elementor") : (0, import_i18n13.__)("Border left width", "elementor"),
3085
+ icon: /* @__PURE__ */ React33.createElement(InlineEndIcon, { fontSize: "tiny" }),
3026
3086
  bind: "inline-start"
3027
3087
  }
3028
3088
  ];
3029
3089
  var BorderWidthField = () => {
3030
3090
  const { isSiteRtl } = useDirection();
3031
- return /* @__PURE__ */ React32.createElement(StylesField, { bind: "border-width", propDisplayName: BORDER_WIDTH_LABEL }, /* @__PURE__ */ React32.createElement(
3091
+ return /* @__PURE__ */ React33.createElement(StylesField, { bind: "border-width", propDisplayName: BORDER_WIDTH_LABEL }, /* @__PURE__ */ React33.createElement(
3032
3092
  import_editor_controls11.EqualUnequalSizesControl,
3033
3093
  {
3034
3094
  items: getEdges(isSiteRtl),
3035
3095
  label: BORDER_WIDTH_LABEL,
3036
- icon: /* @__PURE__ */ React32.createElement(import_icons4.SideAllIcon, { fontSize: "tiny" }),
3037
- tooltipLabel: (0, import_i18n12.__)("Adjust borders", "elementor"),
3038
- multiSizePropTypeUtil: import_editor_props13.borderWidthPropTypeUtil
3096
+ icon: /* @__PURE__ */ React33.createElement(import_icons4.SideAllIcon, { fontSize: "tiny" }),
3097
+ tooltipLabel: (0, import_i18n13.__)("Adjust borders", "elementor"),
3098
+ multiSizePropTypeUtil: import_editor_props12.borderWidthPropTypeUtil
3039
3099
  }
3040
3100
  ));
3041
3101
  };
3042
3102
 
3043
3103
  // src/components/style-sections/border-section/border-section.tsx
3044
- var BorderSection = () => /* @__PURE__ */ React33.createElement(SectionContent, null, /* @__PURE__ */ React33.createElement(BorderWidthField, null), /* @__PURE__ */ React33.createElement(BorderColorField, null), /* @__PURE__ */ React33.createElement(BorderStyleField, null), /* @__PURE__ */ React33.createElement(BorderRadiusField, null));
3104
+ var BorderSection = () => /* @__PURE__ */ React34.createElement(SectionContent, null, /* @__PURE__ */ React34.createElement(BorderWidthField, null), /* @__PURE__ */ React34.createElement(BorderColorField, null), /* @__PURE__ */ React34.createElement(BorderStyleField, null), /* @__PURE__ */ React34.createElement(BorderRadiusField, null));
3045
3105
 
3046
3106
  // src/components/style-sections/effects-section/effects-section.tsx
3047
- var React37 = __toESM(require("react"));
3107
+ var React38 = __toESM(require("react"));
3048
3108
  var import_editor_controls14 = require("@elementor/editor-controls");
3049
- var import_i18n15 = require("@wordpress/i18n");
3109
+ var import_i18n16 = require("@wordpress/i18n");
3050
3110
 
3051
3111
  // src/utils/can-element-have-children.ts
3052
3112
  var import_editor_elements9 = require("@elementor/editor-elements");
@@ -3087,72 +3147,72 @@ var getRecentlyUsedList = async (elementId) => {
3087
3147
  };
3088
3148
 
3089
3149
  // src/components/panel-divider.tsx
3090
- var React34 = __toESM(require("react"));
3150
+ var React35 = __toESM(require("react"));
3091
3151
  var import_ui21 = require("@elementor/ui");
3092
- var PanelDivider = () => /* @__PURE__ */ React34.createElement(import_ui21.Divider, { sx: { my: 0.5 } });
3152
+ var PanelDivider = () => /* @__PURE__ */ React35.createElement(import_ui21.Divider, { sx: { my: 0.5 } });
3093
3153
 
3094
3154
  // src/components/style-sections/effects-section/blend-mode-field.tsx
3095
- var React35 = __toESM(require("react"));
3155
+ var React36 = __toESM(require("react"));
3096
3156
  var import_editor_controls12 = require("@elementor/editor-controls");
3097
- var import_i18n13 = require("@wordpress/i18n");
3098
- var BLEND_MODE_LABEL = (0, import_i18n13.__)("Blend mode", "elementor");
3157
+ var import_i18n14 = require("@wordpress/i18n");
3158
+ var BLEND_MODE_LABEL = (0, import_i18n14.__)("Blend mode", "elementor");
3099
3159
  var blendModeOptions = [
3100
- { label: (0, import_i18n13.__)("Normal", "elementor"), value: "normal" },
3101
- { label: (0, import_i18n13.__)("Multiply", "elementor"), value: "multiply" },
3102
- { label: (0, import_i18n13.__)("Screen", "elementor"), value: "screen" },
3103
- { label: (0, import_i18n13.__)("Overlay", "elementor"), value: "overlay" },
3104
- { label: (0, import_i18n13.__)("Darken", "elementor"), value: "darken" },
3105
- { label: (0, import_i18n13.__)("Lighten", "elementor"), value: "lighten" },
3106
- { label: (0, import_i18n13.__)("Color dodge", "elementor"), value: "color-dodge" },
3107
- { label: (0, import_i18n13.__)("Color burn", "elementor"), value: "color-burn" },
3108
- { label: (0, import_i18n13.__)("Saturation", "elementor"), value: "saturation" },
3109
- { label: (0, import_i18n13.__)("Color", "elementor"), value: "color" },
3110
- { label: (0, import_i18n13.__)("Difference", "elementor"), value: "difference" },
3111
- { label: (0, import_i18n13.__)("Exclusion", "elementor"), value: "exclusion" },
3112
- { label: (0, import_i18n13.__)("Hue", "elementor"), value: "hue" },
3113
- { label: (0, import_i18n13.__)("Luminosity", "elementor"), value: "luminosity" },
3114
- { label: (0, import_i18n13.__)("Soft light", "elementor"), value: "soft-light" },
3115
- { label: (0, import_i18n13.__)("Hard light", "elementor"), value: "hard-light" }
3160
+ { label: (0, import_i18n14.__)("Normal", "elementor"), value: "normal" },
3161
+ { label: (0, import_i18n14.__)("Multiply", "elementor"), value: "multiply" },
3162
+ { label: (0, import_i18n14.__)("Screen", "elementor"), value: "screen" },
3163
+ { label: (0, import_i18n14.__)("Overlay", "elementor"), value: "overlay" },
3164
+ { label: (0, import_i18n14.__)("Darken", "elementor"), value: "darken" },
3165
+ { label: (0, import_i18n14.__)("Lighten", "elementor"), value: "lighten" },
3166
+ { label: (0, import_i18n14.__)("Color dodge", "elementor"), value: "color-dodge" },
3167
+ { label: (0, import_i18n14.__)("Color burn", "elementor"), value: "color-burn" },
3168
+ { label: (0, import_i18n14.__)("Saturation", "elementor"), value: "saturation" },
3169
+ { label: (0, import_i18n14.__)("Color", "elementor"), value: "color" },
3170
+ { label: (0, import_i18n14.__)("Difference", "elementor"), value: "difference" },
3171
+ { label: (0, import_i18n14.__)("Exclusion", "elementor"), value: "exclusion" },
3172
+ { label: (0, import_i18n14.__)("Hue", "elementor"), value: "hue" },
3173
+ { label: (0, import_i18n14.__)("Luminosity", "elementor"), value: "luminosity" },
3174
+ { label: (0, import_i18n14.__)("Soft light", "elementor"), value: "soft-light" },
3175
+ { label: (0, import_i18n14.__)("Hard light", "elementor"), value: "hard-light" }
3116
3176
  ];
3117
3177
  var BlendModeField = () => {
3118
- return /* @__PURE__ */ React35.createElement(StylesField, { bind: "mix-blend-mode", propDisplayName: BLEND_MODE_LABEL }, /* @__PURE__ */ React35.createElement(StylesFieldLayout, { label: BLEND_MODE_LABEL }, /* @__PURE__ */ React35.createElement(import_editor_controls12.SelectControl, { options: blendModeOptions })));
3178
+ return /* @__PURE__ */ React36.createElement(StylesField, { bind: "mix-blend-mode", propDisplayName: BLEND_MODE_LABEL }, /* @__PURE__ */ React36.createElement(StylesFieldLayout, { label: BLEND_MODE_LABEL }, /* @__PURE__ */ React36.createElement(import_editor_controls12.SelectControl, { options: blendModeOptions })));
3119
3179
  };
3120
3180
 
3121
3181
  // src/components/style-sections/effects-section/opacity-control-field.tsx
3122
- var React36 = __toESM(require("react"));
3182
+ var React37 = __toESM(require("react"));
3123
3183
  var import_react21 = require("react");
3124
3184
  var import_editor_controls13 = require("@elementor/editor-controls");
3125
- var import_i18n14 = require("@wordpress/i18n");
3126
- var OPACITY_LABEL = (0, import_i18n14.__)("Opacity", "elementor");
3185
+ var import_i18n15 = require("@wordpress/i18n");
3186
+ var OPACITY_LABEL = (0, import_i18n15.__)("Opacity", "elementor");
3127
3187
  var OpacityControlField = () => {
3128
3188
  const rowRef = (0, import_react21.useRef)(null);
3129
- return /* @__PURE__ */ React36.createElement(StylesField, { bind: "opacity", propDisplayName: OPACITY_LABEL }, /* @__PURE__ */ React36.createElement(StylesFieldLayout, { ref: rowRef, label: OPACITY_LABEL }, /* @__PURE__ */ React36.createElement(import_editor_controls13.SizeControl, { units: ["%"], anchorRef: rowRef, defaultUnit: "%" })));
3189
+ return /* @__PURE__ */ React37.createElement(StylesField, { bind: "opacity", propDisplayName: OPACITY_LABEL }, /* @__PURE__ */ React37.createElement(StylesFieldLayout, { ref: rowRef, label: OPACITY_LABEL }, /* @__PURE__ */ React37.createElement(import_editor_controls13.SizeControl, { units: ["%"], anchorRef: rowRef, defaultUnit: "%" })));
3130
3190
  };
3131
3191
 
3132
3192
  // src/components/style-sections/effects-section/effects-section.tsx
3133
- var BOX_SHADOW_LABEL = (0, import_i18n15.__)("Box shadow", "elementor");
3134
- var FILTER_LABEL = (0, import_i18n15.__)("Filters", "elementor");
3135
- var TRANSFORM_LABEL = (0, import_i18n15.__)("Transform", "elementor");
3136
- var BACKDROP_FILTER_LABEL = (0, import_i18n15.__)("Backdrop filters", "elementor");
3137
- var TRANSITIONS_LABEL = (0, import_i18n15.__)("Transitions", "elementor");
3193
+ var BOX_SHADOW_LABEL = (0, import_i18n16.__)("Box shadow", "elementor");
3194
+ var FILTER_LABEL = (0, import_i18n16.__)("Filters", "elementor");
3195
+ var TRANSFORM_LABEL = (0, import_i18n16.__)("Transform", "elementor");
3196
+ var BACKDROP_FILTER_LABEL = (0, import_i18n16.__)("Backdrop filters", "elementor");
3197
+ var TRANSITIONS_LABEL = (0, import_i18n16.__)("Transitions", "elementor");
3138
3198
  var EffectsSection = () => {
3139
3199
  const { element } = useElement();
3140
3200
  const { meta } = useStyle();
3141
3201
  const canHaveChildren = canElementHaveChildren(element?.id ?? "");
3142
- return /* @__PURE__ */ React37.createElement(SectionContent, { gap: 1 }, /* @__PURE__ */ React37.createElement(BlendModeField, null), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(OpacityControlField, null), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React37.createElement(import_editor_controls14.BoxShadowRepeaterControl, null)), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React37.createElement(import_editor_controls14.TransformRepeaterControl, { showChildrenPerspective: canHaveChildren })), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React37.createElement(
3202
+ return /* @__PURE__ */ React38.createElement(SectionContent, { gap: 1 }, /* @__PURE__ */ React38.createElement(BlendModeField, null), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(OpacityControlField, null), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React38.createElement(import_editor_controls14.BoxShadowRepeaterControl, null)), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React38.createElement(import_editor_controls14.TransformRepeaterControl, { showChildrenPerspective: canHaveChildren })), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React38.createElement(
3143
3203
  import_editor_controls14.TransitionRepeaterControl,
3144
3204
  {
3145
3205
  currentStyleState: meta.state,
3146
3206
  recentlyUsedListGetter: () => getRecentlyUsedList(element?.id ?? "")
3147
3207
  }
3148
- )), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React37.createElement(import_editor_controls14.FilterRepeaterControl, null)), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React37.createElement(import_editor_controls14.FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3208
+ )), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React38.createElement(import_editor_controls14.FilterRepeaterControl, null)), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React38.createElement(import_editor_controls14.FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3149
3209
  };
3150
3210
 
3151
3211
  // src/components/style-sections/layout-section/layout-section.tsx
3152
- var React49 = __toESM(require("react"));
3212
+ var React50 = __toESM(require("react"));
3153
3213
  var import_editor_controls25 = require("@elementor/editor-controls");
3154
3214
  var import_editor_elements11 = require("@elementor/editor-elements");
3155
- var import_i18n27 = require("@wordpress/i18n");
3215
+ var import_i18n28 = require("@wordpress/i18n");
3156
3216
 
3157
3217
  // src/hooks/use-computed-style.ts
3158
3218
  var import_editor_v1_adapters6 = require("@elementor/editor-v1-adapters");
@@ -3179,18 +3239,18 @@ function useComputedStyle(elementId) {
3179
3239
  }
3180
3240
 
3181
3241
  // src/components/style-sections/layout-section/align-content-field.tsx
3182
- var React39 = __toESM(require("react"));
3242
+ var React40 = __toESM(require("react"));
3183
3243
  var import_editor_controls15 = require("@elementor/editor-controls");
3184
3244
  var import_icons5 = require("@elementor/icons");
3185
3245
  var import_ui23 = require("@elementor/ui");
3186
- var import_i18n17 = require("@wordpress/i18n");
3246
+ var import_i18n18 = require("@wordpress/i18n");
3187
3247
 
3188
3248
  // src/components/style-sections/layout-section/utils/rotated-icon.tsx
3189
- var React38 = __toESM(require("react"));
3249
+ var React39 = __toESM(require("react"));
3190
3250
  var import_react22 = require("react");
3191
3251
  var import_ui22 = require("@elementor/ui");
3192
- var import_i18n16 = require("@wordpress/i18n");
3193
- var FLEX_DIRECTION_LABEL = (0, import_i18n16.__)("Flex direction", "elementor");
3252
+ var import_i18n17 = require("@wordpress/i18n");
3253
+ var FLEX_DIRECTION_LABEL = (0, import_i18n17.__)("Flex direction", "elementor");
3194
3254
  var CLOCKWISE_ANGLES = {
3195
3255
  row: 0,
3196
3256
  column: 90,
@@ -3212,7 +3272,7 @@ var RotatedIcon = ({
3212
3272
  }) => {
3213
3273
  const rotate = (0, import_react22.useRef)(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
3214
3274
  rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
3215
- return /* @__PURE__ */ React38.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3275
+ return /* @__PURE__ */ React39.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3216
3276
  };
3217
3277
  var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
3218
3278
  const { value: direction } = useStylesField("flex-direction", {
@@ -3233,7 +3293,7 @@ var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existi
3233
3293
  };
3234
3294
 
3235
3295
  // src/components/style-sections/layout-section/align-content-field.tsx
3236
- var ALIGN_CONTENT_LABEL = (0, import_i18n17.__)("Align content", "elementor");
3296
+ var ALIGN_CONTENT_LABEL = (0, import_i18n18.__)("Align content", "elementor");
3237
3297
  var StartIcon = (0, import_ui23.withDirection)(import_icons5.JustifyTopIcon);
3238
3298
  var EndIcon = (0, import_ui23.withDirection)(import_icons5.JustifyBottomIcon);
3239
3299
  var iconProps = {
@@ -3244,50 +3304,50 @@ var iconProps = {
3244
3304
  var options = [
3245
3305
  {
3246
3306
  value: "start",
3247
- label: (0, import_i18n17.__)("Start", "elementor"),
3248
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3307
+ label: (0, import_i18n18.__)("Start", "elementor"),
3308
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3249
3309
  showTooltip: true
3250
3310
  },
3251
3311
  {
3252
3312
  value: "center",
3253
- label: (0, import_i18n17.__)("Center", "elementor"),
3254
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifyCenterIcon, size, ...iconProps }),
3313
+ label: (0, import_i18n18.__)("Center", "elementor"),
3314
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifyCenterIcon, size, ...iconProps }),
3255
3315
  showTooltip: true
3256
3316
  },
3257
3317
  {
3258
3318
  value: "end",
3259
- label: (0, import_i18n17.__)("End", "elementor"),
3260
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3319
+ label: (0, import_i18n18.__)("End", "elementor"),
3320
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3261
3321
  showTooltip: true
3262
3322
  },
3263
3323
  {
3264
3324
  value: "space-between",
3265
- label: (0, import_i18n17.__)("Space between", "elementor"),
3266
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
3325
+ label: (0, import_i18n18.__)("Space between", "elementor"),
3326
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
3267
3327
  showTooltip: true
3268
3328
  },
3269
3329
  {
3270
3330
  value: "space-around",
3271
- label: (0, import_i18n17.__)("Space around", "elementor"),
3272
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
3331
+ label: (0, import_i18n18.__)("Space around", "elementor"),
3332
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
3273
3333
  showTooltip: true
3274
3334
  },
3275
3335
  {
3276
3336
  value: "space-evenly",
3277
- label: (0, import_i18n17.__)("Space evenly", "elementor"),
3278
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifyDistributeVerticalIcon, size, ...iconProps }),
3337
+ label: (0, import_i18n18.__)("Space evenly", "elementor"),
3338
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifyDistributeVerticalIcon, size, ...iconProps }),
3279
3339
  showTooltip: true
3280
3340
  }
3281
3341
  ];
3282
- var AlignContentField = () => /* @__PURE__ */ React39.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React39.createElement(UiProviders, null, /* @__PURE__ */ React39.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React39.createElement(import_editor_controls15.ToggleControl, { options, fullWidth: true }))));
3342
+ var AlignContentField = () => /* @__PURE__ */ React40.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React40.createElement(UiProviders, null, /* @__PURE__ */ React40.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React40.createElement(import_editor_controls15.ToggleControl, { options, fullWidth: true }))));
3283
3343
 
3284
3344
  // src/components/style-sections/layout-section/align-items-field.tsx
3285
- var React40 = __toESM(require("react"));
3345
+ var React41 = __toESM(require("react"));
3286
3346
  var import_editor_controls16 = require("@elementor/editor-controls");
3287
3347
  var import_icons6 = require("@elementor/icons");
3288
3348
  var import_ui24 = require("@elementor/ui");
3289
- var import_i18n18 = require("@wordpress/i18n");
3290
- var ALIGN_ITEMS_LABEL = (0, import_i18n18.__)("Align items", "elementor");
3349
+ var import_i18n19 = require("@wordpress/i18n");
3350
+ var ALIGN_ITEMS_LABEL = (0, import_i18n19.__)("Align items", "elementor");
3291
3351
  var StartIcon2 = (0, import_ui24.withDirection)(import_icons6.LayoutAlignLeftIcon);
3292
3352
  var EndIcon2 = (0, import_ui24.withDirection)(import_icons6.LayoutAlignRightIcon);
3293
3353
  var iconProps2 = {
@@ -3297,40 +3357,40 @@ var iconProps2 = {
3297
3357
  var options2 = [
3298
3358
  {
3299
3359
  value: "start",
3300
- label: (0, import_i18n18.__)("Start", "elementor"),
3301
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3360
+ label: (0, import_i18n19.__)("Start", "elementor"),
3361
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3302
3362
  showTooltip: true
3303
3363
  },
3304
3364
  {
3305
3365
  value: "center",
3306
- label: (0, import_i18n18.__)("Center", "elementor"),
3307
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons6.LayoutAlignCenterIcon, size, ...iconProps2 }),
3366
+ label: (0, import_i18n19.__)("Center", "elementor"),
3367
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.LayoutAlignCenterIcon, size, ...iconProps2 }),
3308
3368
  showTooltip: true
3309
3369
  },
3310
3370
  {
3311
3371
  value: "end",
3312
- label: (0, import_i18n18.__)("End", "elementor"),
3313
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3372
+ label: (0, import_i18n19.__)("End", "elementor"),
3373
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3314
3374
  showTooltip: true
3315
3375
  },
3316
3376
  {
3317
3377
  value: "stretch",
3318
- label: (0, import_i18n18.__)("Stretch", "elementor"),
3319
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons6.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
3378
+ label: (0, import_i18n19.__)("Stretch", "elementor"),
3379
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
3320
3380
  showTooltip: true
3321
3381
  }
3322
3382
  ];
3323
3383
  var AlignItemsField = () => {
3324
- return /* @__PURE__ */ React40.createElement(UiProviders, null, /* @__PURE__ */ React40.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React40.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React40.createElement(import_editor_controls16.ToggleControl, { options: options2 }))));
3384
+ return /* @__PURE__ */ React41.createElement(UiProviders, null, /* @__PURE__ */ React41.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React41.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React41.createElement(import_editor_controls16.ToggleControl, { options: options2 }))));
3325
3385
  };
3326
3386
 
3327
3387
  // src/components/style-sections/layout-section/align-self-child-field.tsx
3328
- var React41 = __toESM(require("react"));
3388
+ var React42 = __toESM(require("react"));
3329
3389
  var import_editor_controls17 = require("@elementor/editor-controls");
3330
3390
  var import_icons7 = require("@elementor/icons");
3331
3391
  var import_ui25 = require("@elementor/ui");
3332
- var import_i18n19 = require("@wordpress/i18n");
3333
- var ALIGN_SELF_LABEL = (0, import_i18n19.__)("Align self", "elementor");
3392
+ var import_i18n20 = require("@wordpress/i18n");
3393
+ var ALIGN_SELF_LABEL = (0, import_i18n20.__)("Align self", "elementor");
3334
3394
  var ALIGN_SELF_CHILD_OFFSET_MAP = {
3335
3395
  row: 90,
3336
3396
  "row-reverse": 90,
@@ -3345,8 +3405,8 @@ var iconProps3 = {
3345
3405
  var getOptions = (parentStyleDirection) => [
3346
3406
  {
3347
3407
  value: "start",
3348
- label: (0, import_i18n19.__)("Start", "elementor"),
3349
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3408
+ label: (0, import_i18n20.__)("Start", "elementor"),
3409
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3350
3410
  RotatedIcon,
3351
3411
  {
3352
3412
  icon: StartIcon3,
@@ -3359,8 +3419,8 @@ var getOptions = (parentStyleDirection) => [
3359
3419
  },
3360
3420
  {
3361
3421
  value: "center",
3362
- label: (0, import_i18n19.__)("Center", "elementor"),
3363
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3422
+ label: (0, import_i18n20.__)("Center", "elementor"),
3423
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3364
3424
  RotatedIcon,
3365
3425
  {
3366
3426
  icon: import_icons7.LayoutAlignCenterIcon,
@@ -3373,8 +3433,8 @@ var getOptions = (parentStyleDirection) => [
3373
3433
  },
3374
3434
  {
3375
3435
  value: "end",
3376
- label: (0, import_i18n19.__)("End", "elementor"),
3377
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3436
+ label: (0, import_i18n20.__)("End", "elementor"),
3437
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3378
3438
  RotatedIcon,
3379
3439
  {
3380
3440
  icon: EndIcon3,
@@ -3387,8 +3447,8 @@ var getOptions = (parentStyleDirection) => [
3387
3447
  },
3388
3448
  {
3389
3449
  value: "stretch",
3390
- label: (0, import_i18n19.__)("Stretch", "elementor"),
3391
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3450
+ label: (0, import_i18n20.__)("Stretch", "elementor"),
3451
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3392
3452
  RotatedIcon,
3393
3453
  {
3394
3454
  icon: import_icons7.LayoutDistributeVerticalIcon,
@@ -3400,102 +3460,102 @@ var getOptions = (parentStyleDirection) => [
3400
3460
  showTooltip: true
3401
3461
  }
3402
3462
  ];
3403
- var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React41.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React41.createElement(UiProviders, null, /* @__PURE__ */ React41.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React41.createElement(import_editor_controls17.ToggleControl, { options: getOptions(parentStyleDirection) }))));
3463
+ var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React42.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React42.createElement(UiProviders, null, /* @__PURE__ */ React42.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React42.createElement(import_editor_controls17.ToggleControl, { options: getOptions(parentStyleDirection) }))));
3404
3464
 
3405
3465
  // src/components/style-sections/layout-section/display-field.tsx
3406
- var React42 = __toESM(require("react"));
3466
+ var React43 = __toESM(require("react"));
3407
3467
  var import_editor_controls18 = require("@elementor/editor-controls");
3408
- var import_i18n20 = require("@wordpress/i18n");
3409
- var DISPLAY_LABEL = (0, import_i18n20.__)("Display", "elementor");
3468
+ var import_i18n21 = require("@wordpress/i18n");
3469
+ var DISPLAY_LABEL = (0, import_i18n21.__)("Display", "elementor");
3410
3470
  var displayFieldItems = [
3411
3471
  {
3412
3472
  value: "block",
3413
- renderContent: () => (0, import_i18n20.__)("Block", "elementor"),
3414
- label: (0, import_i18n20.__)("Block", "elementor"),
3473
+ renderContent: () => (0, import_i18n21.__)("Block", "elementor"),
3474
+ label: (0, import_i18n21.__)("Block", "elementor"),
3415
3475
  showTooltip: true
3416
3476
  },
3417
3477
  {
3418
3478
  value: "flex",
3419
- renderContent: () => (0, import_i18n20.__)("Flex", "elementor"),
3420
- label: (0, import_i18n20.__)("Flex", "elementor"),
3479
+ renderContent: () => (0, import_i18n21.__)("Flex", "elementor"),
3480
+ label: (0, import_i18n21.__)("Flex", "elementor"),
3421
3481
  showTooltip: true
3422
3482
  },
3423
3483
  {
3424
3484
  value: "inline-block",
3425
- renderContent: () => (0, import_i18n20.__)("In-blk", "elementor"),
3426
- label: (0, import_i18n20.__)("Inline-block", "elementor"),
3485
+ renderContent: () => (0, import_i18n21.__)("In-blk", "elementor"),
3486
+ label: (0, import_i18n21.__)("Inline-block", "elementor"),
3427
3487
  showTooltip: true
3428
3488
  },
3429
3489
  {
3430
3490
  value: "none",
3431
- renderContent: () => (0, import_i18n20.__)("None", "elementor"),
3432
- label: (0, import_i18n20.__)("None", "elementor"),
3491
+ renderContent: () => (0, import_i18n21.__)("None", "elementor"),
3492
+ label: (0, import_i18n21.__)("None", "elementor"),
3433
3493
  showTooltip: true
3434
3494
  },
3435
3495
  {
3436
3496
  value: "inline-flex",
3437
- renderContent: () => (0, import_i18n20.__)("In-flx", "elementor"),
3438
- label: (0, import_i18n20.__)("Inline-flex", "elementor"),
3497
+ renderContent: () => (0, import_i18n21.__)("In-flx", "elementor"),
3498
+ label: (0, import_i18n21.__)("Inline-flex", "elementor"),
3439
3499
  showTooltip: true
3440
3500
  }
3441
3501
  ];
3442
3502
  var DisplayField = () => {
3443
3503
  const placeholder = useDisplayPlaceholderValue();
3444
- return /* @__PURE__ */ React42.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React42.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React42.createElement(import_editor_controls18.ToggleControl, { options: displayFieldItems, maxItems: 4, fullWidth: true })));
3504
+ return /* @__PURE__ */ React43.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React43.createElement(import_editor_controls18.ToggleControl, { options: displayFieldItems, maxItems: 4, fullWidth: true })));
3445
3505
  };
3446
3506
  var useDisplayPlaceholderValue = () => useStylesInheritanceChain(["display"])[0]?.value ?? void 0;
3447
3507
 
3448
3508
  // src/components/style-sections/layout-section/flex-direction-field.tsx
3449
- var React43 = __toESM(require("react"));
3509
+ var React44 = __toESM(require("react"));
3450
3510
  var import_editor_controls19 = require("@elementor/editor-controls");
3451
3511
  var import_icons8 = require("@elementor/icons");
3452
3512
  var import_ui26 = require("@elementor/ui");
3453
- var import_i18n21 = require("@wordpress/i18n");
3454
- var FLEX_DIRECTION_LABEL2 = (0, import_i18n21.__)("Direction", "elementor");
3513
+ var import_i18n22 = require("@wordpress/i18n");
3514
+ var FLEX_DIRECTION_LABEL2 = (0, import_i18n22.__)("Direction", "elementor");
3455
3515
  var options3 = [
3456
3516
  {
3457
3517
  value: "row",
3458
- label: (0, import_i18n21.__)("Row", "elementor"),
3518
+ label: (0, import_i18n22.__)("Row", "elementor"),
3459
3519
  renderContent: ({ size }) => {
3460
3520
  const StartIcon5 = (0, import_ui26.withDirection)(import_icons8.ArrowRightIcon);
3461
- return /* @__PURE__ */ React43.createElement(StartIcon5, { fontSize: size });
3521
+ return /* @__PURE__ */ React44.createElement(StartIcon5, { fontSize: size });
3462
3522
  },
3463
3523
  showTooltip: true
3464
3524
  },
3465
3525
  {
3466
3526
  value: "column",
3467
- label: (0, import_i18n21.__)("Column", "elementor"),
3468
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(import_icons8.ArrowDownSmallIcon, { fontSize: size }),
3527
+ label: (0, import_i18n22.__)("Column", "elementor"),
3528
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons8.ArrowDownSmallIcon, { fontSize: size }),
3469
3529
  showTooltip: true
3470
3530
  },
3471
3531
  {
3472
3532
  value: "row-reverse",
3473
- label: (0, import_i18n21.__)("Reversed row", "elementor"),
3533
+ label: (0, import_i18n22.__)("Reversed row", "elementor"),
3474
3534
  renderContent: ({ size }) => {
3475
3535
  const EndIcon5 = (0, import_ui26.withDirection)(import_icons8.ArrowLeftIcon);
3476
- return /* @__PURE__ */ React43.createElement(EndIcon5, { fontSize: size });
3536
+ return /* @__PURE__ */ React44.createElement(EndIcon5, { fontSize: size });
3477
3537
  },
3478
3538
  showTooltip: true
3479
3539
  },
3480
3540
  {
3481
3541
  value: "column-reverse",
3482
- label: (0, import_i18n21.__)("Reversed column", "elementor"),
3483
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(import_icons8.ArrowUpSmallIcon, { fontSize: size }),
3542
+ label: (0, import_i18n22.__)("Reversed column", "elementor"),
3543
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons8.ArrowUpSmallIcon, { fontSize: size }),
3484
3544
  showTooltip: true
3485
3545
  }
3486
3546
  ];
3487
3547
  var FlexDirectionField = () => {
3488
- return /* @__PURE__ */ React43.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React43.createElement(UiProviders, null, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React43.createElement(import_editor_controls19.ToggleControl, { options: options3 }))));
3548
+ return /* @__PURE__ */ React44.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React44.createElement(import_editor_controls19.ToggleControl, { options: options3 }))));
3489
3549
  };
3490
3550
 
3491
3551
  // src/components/style-sections/layout-section/flex-order-field.tsx
3492
- var React44 = __toESM(require("react"));
3552
+ var React45 = __toESM(require("react"));
3493
3553
  var import_react23 = require("react");
3494
3554
  var import_editor_controls20 = require("@elementor/editor-controls");
3495
3555
  var import_icons9 = require("@elementor/icons");
3496
3556
  var import_ui27 = require("@elementor/ui");
3497
- var import_i18n22 = require("@wordpress/i18n");
3498
- var ORDER_LABEL = (0, import_i18n22.__)("Order", "elementor");
3557
+ var import_i18n23 = require("@wordpress/i18n");
3558
+ var ORDER_LABEL = (0, import_i18n23.__)("Order", "elementor");
3499
3559
  var FIRST_DEFAULT_VALUE = -99999;
3500
3560
  var LAST_DEFAULT_VALUE = 99999;
3501
3561
  var FIRST = "first";
@@ -3508,25 +3568,25 @@ var orderValueMap = {
3508
3568
  var items = [
3509
3569
  {
3510
3570
  value: FIRST,
3511
- label: (0, import_i18n22.__)("First", "elementor"),
3512
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons9.ArrowUpSmallIcon, { fontSize: size }),
3571
+ label: (0, import_i18n23.__)("First", "elementor"),
3572
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons9.ArrowUpSmallIcon, { fontSize: size }),
3513
3573
  showTooltip: true
3514
3574
  },
3515
3575
  {
3516
3576
  value: LAST,
3517
- label: (0, import_i18n22.__)("Last", "elementor"),
3518
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons9.ArrowDownSmallIcon, { fontSize: size }),
3577
+ label: (0, import_i18n23.__)("Last", "elementor"),
3578
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons9.ArrowDownSmallIcon, { fontSize: size }),
3519
3579
  showTooltip: true
3520
3580
  },
3521
3581
  {
3522
3582
  value: CUSTOM,
3523
- label: (0, import_i18n22.__)("Custom", "elementor"),
3524
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons9.PencilIcon, { fontSize: size }),
3583
+ label: (0, import_i18n23.__)("Custom", "elementor"),
3584
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons9.PencilIcon, { fontSize: size }),
3525
3585
  showTooltip: true
3526
3586
  }
3527
3587
  ];
3528
3588
  var FlexOrderField = () => {
3529
- return /* @__PURE__ */ React44.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(SectionContent, null, /* @__PURE__ */ React44.createElement(FlexOrderFieldContent, null))));
3589
+ return /* @__PURE__ */ React45.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React45.createElement(UiProviders, null, /* @__PURE__ */ React45.createElement(SectionContent, null, /* @__PURE__ */ React45.createElement(FlexOrderFieldContent, null))));
3530
3590
  };
3531
3591
  function FlexOrderFieldContent() {
3532
3592
  const {
@@ -3571,7 +3631,7 @@ function FlexOrderFieldContent() {
3571
3631
  };
3572
3632
  const isCustomVisible = CUSTOM === activeGroup || CUSTOM === groupPlaceholder;
3573
3633
  const orderPlaceholder = CUSTOM === groupPlaceholder ? String(placeholderValue?.value ?? null) : "";
3574
- return /* @__PURE__ */ React44.createElement(React44.Fragment, null, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React44.createElement(
3634
+ return /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React45.createElement(
3575
3635
  import_editor_controls20.ControlToggleButtonGroup,
3576
3636
  {
3577
3637
  items,
@@ -3581,7 +3641,7 @@ function FlexOrderFieldContent() {
3581
3641
  placeholder: groupPlaceholder,
3582
3642
  disabled: !canEdit
3583
3643
  }
3584
- )), isCustomVisible && /* @__PURE__ */ React44.createElement(import_ui27.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React44.createElement(import_ui27.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React44.createElement(ControlLabel, null, (0, import_i18n22.__)("Custom order", "elementor"))), /* @__PURE__ */ React44.createElement(import_ui27.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React44.createElement(
3644
+ )), isCustomVisible && /* @__PURE__ */ React45.createElement(import_ui27.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(import_ui27.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(ControlLabel, null, (0, import_i18n23.__)("Custom order", "elementor"))), /* @__PURE__ */ React45.createElement(import_ui27.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React45.createElement(
3585
3645
  import_editor_controls20.NumberControl,
3586
3646
  {
3587
3647
  min: FIRST_DEFAULT_VALUE + 1,
@@ -3605,36 +3665,36 @@ var getGroupControlValue = (order) => {
3605
3665
  };
3606
3666
 
3607
3667
  // src/components/style-sections/layout-section/flex-size-field.tsx
3608
- var React45 = __toESM(require("react"));
3668
+ var React46 = __toESM(require("react"));
3609
3669
  var import_react24 = require("react");
3610
3670
  var import_editor_controls21 = require("@elementor/editor-controls");
3611
- var import_editor_props14 = require("@elementor/editor-props");
3671
+ var import_editor_props13 = require("@elementor/editor-props");
3612
3672
  var import_icons10 = require("@elementor/icons");
3613
- var import_i18n23 = require("@wordpress/i18n");
3614
- var FLEX_SIZE_LABEL = (0, import_i18n23.__)("Flex Size", "elementor");
3673
+ var import_i18n24 = require("@wordpress/i18n");
3674
+ var FLEX_SIZE_LABEL = (0, import_i18n24.__)("Flex Size", "elementor");
3615
3675
  var DEFAULT = 1;
3616
3676
  var items2 = [
3617
3677
  {
3618
3678
  value: "flex-grow",
3619
- label: (0, import_i18n23.__)("Grow", "elementor"),
3620
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons10.ExpandIcon, { fontSize: size }),
3679
+ label: (0, import_i18n24.__)("Grow", "elementor"),
3680
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.ExpandIcon, { fontSize: size }),
3621
3681
  showTooltip: true
3622
3682
  },
3623
3683
  {
3624
3684
  value: "flex-shrink",
3625
- label: (0, import_i18n23.__)("Shrink", "elementor"),
3626
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons10.ShrinkIcon, { fontSize: size }),
3685
+ label: (0, import_i18n24.__)("Shrink", "elementor"),
3686
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.ShrinkIcon, { fontSize: size }),
3627
3687
  showTooltip: true
3628
3688
  },
3629
3689
  {
3630
3690
  value: "custom",
3631
- label: (0, import_i18n23.__)("Custom", "elementor"),
3632
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons10.PencilIcon, { fontSize: size }),
3691
+ label: (0, import_i18n24.__)("Custom", "elementor"),
3692
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.PencilIcon, { fontSize: size }),
3633
3693
  showTooltip: true
3634
3694
  }
3635
3695
  ];
3636
3696
  var FlexSizeField = () => {
3637
- return /* @__PURE__ */ React45.createElement(UiProviders, null, /* @__PURE__ */ React45.createElement(SectionContent, null, /* @__PURE__ */ React45.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React45.createElement(FlexSizeFieldContent, null))));
3697
+ return /* @__PURE__ */ React46.createElement(UiProviders, null, /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React46.createElement(FlexSizeFieldContent, null))));
3638
3698
  };
3639
3699
  var FlexSizeFieldContent = () => {
3640
3700
  const { value, setValue, canEdit } = useStylesField("flex", {
@@ -3663,7 +3723,7 @@ var FlexSizeFieldContent = () => {
3663
3723
  };
3664
3724
  const groupPlaceholder = getActiveGroup(extractFlexValues(placeholder));
3665
3725
  const isCustomVisible = "custom" === activeGroup || "custom" === groupPlaceholder;
3666
- return /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React45.createElement(
3726
+ return /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React46.createElement(
3667
3727
  import_editor_controls21.ControlToggleButtonGroup,
3668
3728
  {
3669
3729
  value: activeGroup ?? null,
@@ -3673,7 +3733,7 @@ var FlexSizeFieldContent = () => {
3673
3733
  items: items2,
3674
3734
  exclusive: true
3675
3735
  }
3676
- )), isCustomVisible && /* @__PURE__ */ React45.createElement(FlexCustomField, null));
3736
+ )), isCustomVisible && /* @__PURE__ */ React46.createElement(FlexCustomField, null));
3677
3737
  };
3678
3738
  function extractFlexValues(source) {
3679
3739
  return {
@@ -3687,24 +3747,24 @@ var createFlexValueForGroup = (group, flexValue) => {
3687
3747
  return null;
3688
3748
  }
3689
3749
  if (group === "flex-grow") {
3690
- return import_editor_props14.flexPropTypeUtil.create({
3691
- flexGrow: import_editor_props14.numberPropTypeUtil.create(DEFAULT),
3692
- flexShrink: import_editor_props14.numberPropTypeUtil.create(0),
3693
- flexBasis: import_editor_props14.sizePropTypeUtil.create({ unit: "auto", size: "" })
3750
+ return import_editor_props13.flexPropTypeUtil.create({
3751
+ flexGrow: import_editor_props13.numberPropTypeUtil.create(DEFAULT),
3752
+ flexShrink: import_editor_props13.numberPropTypeUtil.create(0),
3753
+ flexBasis: import_editor_props13.sizePropTypeUtil.create({ unit: "auto", size: "" })
3694
3754
  });
3695
3755
  }
3696
3756
  if (group === "flex-shrink") {
3697
- return import_editor_props14.flexPropTypeUtil.create({
3698
- flexGrow: import_editor_props14.numberPropTypeUtil.create(0),
3699
- flexShrink: import_editor_props14.numberPropTypeUtil.create(DEFAULT),
3700
- flexBasis: import_editor_props14.sizePropTypeUtil.create({ unit: "auto", size: "" })
3757
+ return import_editor_props13.flexPropTypeUtil.create({
3758
+ flexGrow: import_editor_props13.numberPropTypeUtil.create(0),
3759
+ flexShrink: import_editor_props13.numberPropTypeUtil.create(DEFAULT),
3760
+ flexBasis: import_editor_props13.sizePropTypeUtil.create({ unit: "auto", size: "" })
3701
3761
  });
3702
3762
  }
3703
3763
  if (group === "custom") {
3704
3764
  if (flexValue) {
3705
3765
  return flexValue;
3706
3766
  }
3707
- return import_editor_props14.flexPropTypeUtil.create({
3767
+ return import_editor_props13.flexPropTypeUtil.create({
3708
3768
  flexGrow: null,
3709
3769
  flexShrink: null,
3710
3770
  flexBasis: null
@@ -3714,8 +3774,8 @@ var createFlexValueForGroup = (group, flexValue) => {
3714
3774
  };
3715
3775
  var FlexCustomField = () => {
3716
3776
  const flexBasisRowRef = (0, import_react24.useRef)(null);
3717
- const context = (0, import_editor_controls21.useBoundProp)(import_editor_props14.flexPropTypeUtil);
3718
- return /* @__PURE__ */ React45.createElement(import_editor_controls21.PropProvider, { ...context }, /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: (0, import_i18n23.__)("Grow", "elementor") }, /* @__PURE__ */ React45.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexGrow" }, /* @__PURE__ */ React45.createElement(import_editor_controls21.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: (0, import_i18n23.__)("Shrink", "elementor") }, /* @__PURE__ */ React45.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexShrink" }, /* @__PURE__ */ React45.createElement(import_editor_controls21.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: (0, import_i18n23.__)("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React45.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexBasis" }, /* @__PURE__ */ React45.createElement(import_editor_controls21.SizeControl, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
3777
+ const context = (0, import_editor_controls21.useBoundProp)(import_editor_props13.flexPropTypeUtil);
3778
+ return /* @__PURE__ */ React46.createElement(import_editor_controls21.PropProvider, { ...context }, /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: (0, import_i18n24.__)("Grow", "elementor") }, /* @__PURE__ */ React46.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexGrow" }, /* @__PURE__ */ React46.createElement(import_editor_controls21.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: (0, import_i18n24.__)("Shrink", "elementor") }, /* @__PURE__ */ React46.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexShrink" }, /* @__PURE__ */ React46.createElement(import_editor_controls21.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: (0, import_i18n24.__)("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React46.createElement(import_editor_controls21.PropKeyProvider, { bind: "flexBasis" }, /* @__PURE__ */ React46.createElement(import_editor_controls21.SizeControl, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
3719
3779
  };
3720
3780
  var getActiveGroup = ({
3721
3781
  grow,
@@ -3739,21 +3799,21 @@ var getActiveGroup = ({
3739
3799
  };
3740
3800
 
3741
3801
  // src/components/style-sections/layout-section/gap-control-field.tsx
3742
- var React46 = __toESM(require("react"));
3802
+ var React47 = __toESM(require("react"));
3743
3803
  var import_editor_controls22 = require("@elementor/editor-controls");
3744
- var import_i18n24 = require("@wordpress/i18n");
3745
- var GAPS_LABEL = (0, import_i18n24.__)("Gaps", "elementor");
3804
+ var import_i18n25 = require("@wordpress/i18n");
3805
+ var GAPS_LABEL = (0, import_i18n25.__)("Gaps", "elementor");
3746
3806
  var GapControlField = () => {
3747
- return /* @__PURE__ */ React46.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls22.GapControl, { label: GAPS_LABEL }));
3807
+ return /* @__PURE__ */ React47.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React47.createElement(import_editor_controls22.GapControl, { label: GAPS_LABEL }));
3748
3808
  };
3749
3809
 
3750
3810
  // src/components/style-sections/layout-section/justify-content-field.tsx
3751
- var React47 = __toESM(require("react"));
3811
+ var React48 = __toESM(require("react"));
3752
3812
  var import_editor_controls23 = require("@elementor/editor-controls");
3753
3813
  var import_icons11 = require("@elementor/icons");
3754
3814
  var import_ui28 = require("@elementor/ui");
3755
- var import_i18n25 = require("@wordpress/i18n");
3756
- var JUSTIFY_CONTENT_LABEL = (0, import_i18n25.__)("Justify content", "elementor");
3815
+ var import_i18n26 = require("@wordpress/i18n");
3816
+ var JUSTIFY_CONTENT_LABEL = (0, import_i18n26.__)("Justify content", "elementor");
3757
3817
  var StartIcon4 = (0, import_ui28.withDirection)(import_icons11.JustifyTopIcon);
3758
3818
  var EndIcon4 = (0, import_ui28.withDirection)(import_icons11.JustifyBottomIcon);
3759
3819
  var iconProps4 = {
@@ -3763,76 +3823,76 @@ var iconProps4 = {
3763
3823
  var options4 = [
3764
3824
  {
3765
3825
  value: "flex-start",
3766
- label: (0, import_i18n25.__)("Start", "elementor"),
3767
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
3826
+ label: (0, import_i18n26.__)("Start", "elementor"),
3827
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
3768
3828
  showTooltip: true
3769
3829
  },
3770
3830
  {
3771
3831
  value: "center",
3772
- label: (0, import_i18n25.__)("Center", "elementor"),
3773
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifyCenterIcon, size, ...iconProps4 }),
3832
+ label: (0, import_i18n26.__)("Center", "elementor"),
3833
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifyCenterIcon, size, ...iconProps4 }),
3774
3834
  showTooltip: true
3775
3835
  },
3776
3836
  {
3777
3837
  value: "flex-end",
3778
- label: (0, import_i18n25.__)("End", "elementor"),
3779
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
3838
+ label: (0, import_i18n26.__)("End", "elementor"),
3839
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
3780
3840
  showTooltip: true
3781
3841
  },
3782
3842
  {
3783
3843
  value: "space-between",
3784
- label: (0, import_i18n25.__)("Space between", "elementor"),
3785
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
3844
+ label: (0, import_i18n26.__)("Space between", "elementor"),
3845
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
3786
3846
  showTooltip: true
3787
3847
  },
3788
3848
  {
3789
3849
  value: "space-around",
3790
- label: (0, import_i18n25.__)("Space around", "elementor"),
3791
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
3850
+ label: (0, import_i18n26.__)("Space around", "elementor"),
3851
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
3792
3852
  showTooltip: true
3793
3853
  },
3794
3854
  {
3795
3855
  value: "space-evenly",
3796
- label: (0, import_i18n25.__)("Space evenly", "elementor"),
3797
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
3856
+ label: (0, import_i18n26.__)("Space evenly", "elementor"),
3857
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
3798
3858
  showTooltip: true
3799
3859
  }
3800
3860
  ];
3801
- var JustifyContentField = () => /* @__PURE__ */ React47.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React47.createElement(UiProviders, null, /* @__PURE__ */ React47.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React47.createElement(import_editor_controls23.ToggleControl, { options: options4, fullWidth: true }))));
3861
+ var JustifyContentField = () => /* @__PURE__ */ React48.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React48.createElement(import_editor_controls23.ToggleControl, { options: options4, fullWidth: true }))));
3802
3862
 
3803
3863
  // src/components/style-sections/layout-section/wrap-field.tsx
3804
- var React48 = __toESM(require("react"));
3864
+ var React49 = __toESM(require("react"));
3805
3865
  var import_editor_controls24 = require("@elementor/editor-controls");
3806
3866
  var import_icons12 = require("@elementor/icons");
3807
- var import_i18n26 = require("@wordpress/i18n");
3808
- var FLEX_WRAP_LABEL = (0, import_i18n26.__)("Wrap", "elementor");
3867
+ var import_i18n27 = require("@wordpress/i18n");
3868
+ var FLEX_WRAP_LABEL = (0, import_i18n27.__)("Wrap", "elementor");
3809
3869
  var options5 = [
3810
3870
  {
3811
3871
  value: "nowrap",
3812
- label: (0, import_i18n26.__)("No wrap", "elementor"),
3813
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ArrowRightIcon, { fontSize: size }),
3872
+ label: (0, import_i18n27.__)("No wrap", "elementor"),
3873
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowRightIcon, { fontSize: size }),
3814
3874
  showTooltip: true
3815
3875
  },
3816
3876
  {
3817
3877
  value: "wrap",
3818
- label: (0, import_i18n26.__)("Wrap", "elementor"),
3819
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ArrowBackIcon, { fontSize: size }),
3878
+ label: (0, import_i18n27.__)("Wrap", "elementor"),
3879
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowBackIcon, { fontSize: size }),
3820
3880
  showTooltip: true
3821
3881
  },
3822
3882
  {
3823
3883
  value: "wrap-reverse",
3824
- label: (0, import_i18n26.__)("Reversed wrap", "elementor"),
3825
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ArrowForwardIcon, { fontSize: size }),
3884
+ label: (0, import_i18n27.__)("Reversed wrap", "elementor"),
3885
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowForwardIcon, { fontSize: size }),
3826
3886
  showTooltip: true
3827
3887
  }
3828
3888
  ];
3829
3889
  var WrapField = () => {
3830
- return /* @__PURE__ */ React48.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React48.createElement(import_editor_controls24.ToggleControl, { options: options5 }))));
3890
+ return /* @__PURE__ */ React49.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React49.createElement(UiProviders, null, /* @__PURE__ */ React49.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React49.createElement(import_editor_controls24.ToggleControl, { options: options5 }))));
3831
3891
  };
3832
3892
 
3833
3893
  // src/components/style-sections/layout-section/layout-section.tsx
3834
- var DISPLAY_LABEL2 = (0, import_i18n27.__)("Display", "elementor");
3835
- var FLEX_WRAP_LABEL2 = (0, import_i18n27.__)("Flex wrap", "elementor");
3894
+ var DISPLAY_LABEL2 = (0, import_i18n28.__)("Display", "elementor");
3895
+ var FLEX_WRAP_LABEL2 = (0, import_i18n28.__)("Flex wrap", "elementor");
3836
3896
  var LayoutSection = () => {
3837
3897
  const { value: display } = useStylesField("display", {
3838
3898
  history: { propDisplayName: DISPLAY_LABEL2 }
@@ -3843,15 +3903,15 @@ var LayoutSection = () => {
3843
3903
  const parent = (0, import_editor_elements11.useParentElement)(element.id);
3844
3904
  const parentStyle = useComputedStyle(parent?.id || null);
3845
3905
  const parentStyleDirection = parentStyle?.flexDirection ?? "row";
3846
- return /* @__PURE__ */ React49.createElement(SectionContent, null, /* @__PURE__ */ React49.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React49.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React49.createElement(FlexChildFields, { parentStyleDirection }));
3906
+ return /* @__PURE__ */ React50.createElement(SectionContent, null, /* @__PURE__ */ React50.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React50.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React50.createElement(FlexChildFields, { parentStyleDirection }));
3847
3907
  };
3848
3908
  var FlexFields = () => {
3849
3909
  const { value: flexWrap } = useStylesField("flex-wrap", {
3850
3910
  history: { propDisplayName: FLEX_WRAP_LABEL2 }
3851
3911
  });
3852
- return /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(FlexDirectionField, null), /* @__PURE__ */ React49.createElement(JustifyContentField, null), /* @__PURE__ */ React49.createElement(AlignItemsField, null), /* @__PURE__ */ React49.createElement(PanelDivider, null), /* @__PURE__ */ React49.createElement(GapControlField, null), /* @__PURE__ */ React49.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React49.createElement(AlignContentField, null));
3912
+ return /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(FlexDirectionField, null), /* @__PURE__ */ React50.createElement(JustifyContentField, null), /* @__PURE__ */ React50.createElement(AlignItemsField, null), /* @__PURE__ */ React50.createElement(PanelDivider, null), /* @__PURE__ */ React50.createElement(GapControlField, null), /* @__PURE__ */ React50.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React50.createElement(AlignContentField, null));
3853
3913
  };
3854
- var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(PanelDivider, null), /* @__PURE__ */ React49.createElement(import_editor_controls25.ControlFormLabel, null, (0, import_i18n27.__)("Flex child", "elementor")), /* @__PURE__ */ React49.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React49.createElement(FlexOrderField, null), /* @__PURE__ */ React49.createElement(FlexSizeField, null));
3914
+ var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(PanelDivider, null), /* @__PURE__ */ React50.createElement(import_editor_controls25.ControlFormLabel, null, (0, import_i18n28.__)("Flex child", "elementor")), /* @__PURE__ */ React50.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React50.createElement(FlexOrderField, null), /* @__PURE__ */ React50.createElement(FlexSizeField, null));
3855
3915
  var shouldDisplayFlexFields = (display, local) => {
3856
3916
  const value = display?.value ?? local?.value;
3857
3917
  if (!value) {
@@ -3861,39 +3921,39 @@ var shouldDisplayFlexFields = (display, local) => {
3861
3921
  };
3862
3922
 
3863
3923
  // src/components/style-sections/position-section/position-section.tsx
3864
- var React54 = __toESM(require("react"));
3924
+ var React55 = __toESM(require("react"));
3865
3925
  var import_react27 = require("react");
3866
- var import_session6 = require("@elementor/session");
3867
- var import_i18n32 = require("@wordpress/i18n");
3926
+ var import_session7 = require("@elementor/session");
3927
+ var import_i18n33 = require("@wordpress/i18n");
3868
3928
 
3869
3929
  // src/components/style-sections/position-section/dimensions-field.tsx
3870
- var React50 = __toESM(require("react"));
3930
+ var React51 = __toESM(require("react"));
3871
3931
  var import_react25 = require("react");
3872
3932
  var import_editor_controls26 = require("@elementor/editor-controls");
3873
3933
  var import_icons13 = require("@elementor/icons");
3874
3934
  var import_ui29 = require("@elementor/ui");
3875
- var import_i18n28 = require("@wordpress/i18n");
3935
+ var import_i18n29 = require("@wordpress/i18n");
3876
3936
  var InlineStartIcon2 = (0, import_ui29.withDirection)(import_icons13.SideLeftIcon);
3877
3937
  var InlineEndIcon2 = (0, import_ui29.withDirection)(import_icons13.SideRightIcon);
3878
3938
  var sideIcons = {
3879
- "inset-block-start": /* @__PURE__ */ React50.createElement(import_icons13.SideTopIcon, { fontSize: "tiny" }),
3880
- "inset-block-end": /* @__PURE__ */ React50.createElement(import_icons13.SideBottomIcon, { fontSize: "tiny" }),
3881
- "inset-inline-start": /* @__PURE__ */ React50.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
3882
- "inset-inline-end": /* @__PURE__ */ React50.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
3939
+ "inset-block-start": /* @__PURE__ */ React51.createElement(import_icons13.SideTopIcon, { fontSize: "tiny" }),
3940
+ "inset-block-end": /* @__PURE__ */ React51.createElement(import_icons13.SideBottomIcon, { fontSize: "tiny" }),
3941
+ "inset-inline-start": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
3942
+ "inset-inline-end": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
3883
3943
  };
3884
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n28.__)("Right", "elementor") : (0, import_i18n28.__)("Left", "elementor");
3885
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n28.__)("Left", "elementor") : (0, import_i18n28.__)("Right", "elementor");
3944
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n29.__)("Right", "elementor") : (0, import_i18n29.__)("Left", "elementor");
3945
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n29.__)("Left", "elementor") : (0, import_i18n29.__)("Right", "elementor");
3886
3946
  var DimensionsField = () => {
3887
3947
  const { isSiteRtl } = useDirection();
3888
3948
  const rowRefs = [(0, import_react25.useRef)(null), (0, import_react25.useRef)(null)];
3889
- return /* @__PURE__ */ React50.createElement(UiProviders, null, /* @__PURE__ */ React50.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React50.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n28.__)("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React50.createElement(
3949
+ return /* @__PURE__ */ React51.createElement(UiProviders, null, /* @__PURE__ */ React51.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n29.__)("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React51.createElement(
3890
3950
  DimensionField,
3891
3951
  {
3892
3952
  side: "inset-inline-end",
3893
3953
  label: getInlineEndLabel(isSiteRtl),
3894
3954
  rowRef: rowRefs[0]
3895
3955
  }
3896
- )), /* @__PURE__ */ React50.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React50.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n28.__)("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React50.createElement(
3956
+ )), /* @__PURE__ */ React51.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n29.__)("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React51.createElement(
3897
3957
  DimensionField,
3898
3958
  {
3899
3959
  side: "inset-inline-start",
@@ -3906,7 +3966,7 @@ var DimensionField = ({
3906
3966
  side,
3907
3967
  label,
3908
3968
  rowRef
3909
- }) => /* @__PURE__ */ React50.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React50.createElement(import_ui29.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React50.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React50.createElement(ControlLabel, null, label)), /* @__PURE__ */ React50.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React50.createElement(
3969
+ }) => /* @__PURE__ */ React51.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React51.createElement(import_ui29.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React51.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(ControlLabel, null, label)), /* @__PURE__ */ React51.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(
3910
3970
  import_editor_controls26.SizeControl,
3911
3971
  {
3912
3972
  startIcon: sideIcons[side],
@@ -3917,46 +3977,46 @@ var DimensionField = ({
3917
3977
  ))));
3918
3978
 
3919
3979
  // src/components/style-sections/position-section/offset-field.tsx
3920
- var React51 = __toESM(require("react"));
3980
+ var React52 = __toESM(require("react"));
3921
3981
  var import_react26 = require("react");
3922
3982
  var import_editor_controls27 = require("@elementor/editor-controls");
3923
- var import_i18n29 = require("@wordpress/i18n");
3924
- var OFFSET_LABEL = (0, import_i18n29.__)("Anchor offset", "elementor");
3983
+ var import_i18n30 = require("@wordpress/i18n");
3984
+ var OFFSET_LABEL = (0, import_i18n30.__)("Anchor offset", "elementor");
3925
3985
  var UNITS = ["px", "em", "rem", "vw", "vh"];
3926
3986
  var OffsetField = () => {
3927
3987
  const rowRef = (0, import_react26.useRef)(null);
3928
- return /* @__PURE__ */ React51.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React51.createElement(import_editor_controls27.SizeControl, { units: UNITS, anchorRef: rowRef })));
3988
+ return /* @__PURE__ */ React52.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React52.createElement(import_editor_controls27.SizeControl, { units: UNITS, anchorRef: rowRef })));
3929
3989
  };
3930
3990
 
3931
3991
  // src/components/style-sections/position-section/position-field.tsx
3932
- var React52 = __toESM(require("react"));
3992
+ var React53 = __toESM(require("react"));
3933
3993
  var import_editor_controls28 = require("@elementor/editor-controls");
3934
- var import_i18n30 = require("@wordpress/i18n");
3935
- var POSITION_LABEL = (0, import_i18n30.__)("Position", "elementor");
3994
+ var import_i18n31 = require("@wordpress/i18n");
3995
+ var POSITION_LABEL = (0, import_i18n31.__)("Position", "elementor");
3936
3996
  var positionOptions = [
3937
- { label: (0, import_i18n30.__)("Static", "elementor"), value: "static" },
3938
- { label: (0, import_i18n30.__)("Relative", "elementor"), value: "relative" },
3939
- { label: (0, import_i18n30.__)("Absolute", "elementor"), value: "absolute" },
3940
- { label: (0, import_i18n30.__)("Fixed", "elementor"), value: "fixed" },
3941
- { label: (0, import_i18n30.__)("Sticky", "elementor"), value: "sticky" }
3997
+ { label: (0, import_i18n31.__)("Static", "elementor"), value: "static" },
3998
+ { label: (0, import_i18n31.__)("Relative", "elementor"), value: "relative" },
3999
+ { label: (0, import_i18n31.__)("Absolute", "elementor"), value: "absolute" },
4000
+ { label: (0, import_i18n31.__)("Fixed", "elementor"), value: "fixed" },
4001
+ { label: (0, import_i18n31.__)("Sticky", "elementor"), value: "sticky" }
3942
4002
  ];
3943
4003
  var PositionField = ({ onChange }) => {
3944
- return /* @__PURE__ */ React52.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React52.createElement(import_editor_controls28.SelectControl, { options: positionOptions, onChange })));
4004
+ return /* @__PURE__ */ React53.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React53.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React53.createElement(import_editor_controls28.SelectControl, { options: positionOptions, onChange })));
3945
4005
  };
3946
4006
 
3947
4007
  // src/components/style-sections/position-section/z-index-field.tsx
3948
- var React53 = __toESM(require("react"));
4008
+ var React54 = __toESM(require("react"));
3949
4009
  var import_editor_controls29 = require("@elementor/editor-controls");
3950
- var import_i18n31 = require("@wordpress/i18n");
3951
- var Z_INDEX_LABEL = (0, import_i18n31.__)("Z-index", "elementor");
4010
+ var import_i18n32 = require("@wordpress/i18n");
4011
+ var Z_INDEX_LABEL = (0, import_i18n32.__)("Z-index", "elementor");
3952
4012
  var ZIndexField = () => {
3953
- return /* @__PURE__ */ React53.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React53.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React53.createElement(import_editor_controls29.NumberControl, null)));
4013
+ return /* @__PURE__ */ React54.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React54.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React54.createElement(import_editor_controls29.NumberControl, null)));
3954
4014
  };
3955
4015
 
3956
4016
  // src/components/style-sections/position-section/position-section.tsx
3957
4017
  var POSITION_STATIC = "static";
3958
- var POSITION_LABEL2 = (0, import_i18n32.__)("Position", "elementor");
3959
- var DIMENSIONS_LABEL = (0, import_i18n32.__)("Dimensions", "elementor");
4018
+ var POSITION_LABEL2 = (0, import_i18n33.__)("Position", "elementor");
4019
+ var DIMENSIONS_LABEL = (0, import_i18n33.__)("Dimensions", "elementor");
3960
4020
  var POSITION_DEPENDENT_PROP_NAMES = [
3961
4021
  "inset-block-start",
3962
4022
  "inset-block-end",
@@ -4013,36 +4073,36 @@ var PositionSection = () => {
4013
4073
  }
4014
4074
  };
4015
4075
  const isNotStatic = positionValue && positionValue?.value !== POSITION_STATIC;
4016
- return /* @__PURE__ */ React54.createElement(SectionContent, null, /* @__PURE__ */ React54.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React54.createElement(React54.Fragment, null, /* @__PURE__ */ React54.createElement(DimensionsField, null), /* @__PURE__ */ React54.createElement(ZIndexField, null)) : null, /* @__PURE__ */ React54.createElement(PanelDivider, null), /* @__PURE__ */ React54.createElement(OffsetField, null));
4076
+ return /* @__PURE__ */ React55.createElement(SectionContent, null, /* @__PURE__ */ React55.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React55.createElement(React55.Fragment, null, /* @__PURE__ */ React55.createElement(DimensionsField, null), /* @__PURE__ */ React55.createElement(ZIndexField, null)) : null, /* @__PURE__ */ React55.createElement(PanelDivider, null), /* @__PURE__ */ React55.createElement(OffsetField, null));
4017
4077
  };
4018
4078
  var usePersistDimensions = () => {
4019
4079
  const { id: styleDefID, meta } = useStyle();
4020
4080
  const styleVariantPath = `styles/${styleDefID}/${meta.breakpoint || "desktop"}/${meta.state || "null"}`;
4021
4081
  const dimensionsPath = `${styleVariantPath}/dimensions`;
4022
- return (0, import_session6.useSessionStorage)(dimensionsPath);
4082
+ return (0, import_session7.useSessionStorage)(dimensionsPath);
4023
4083
  };
4024
4084
 
4025
4085
  // src/components/style-sections/size-section/size-section.tsx
4026
- var React59 = __toESM(require("react"));
4086
+ var React60 = __toESM(require("react"));
4027
4087
  var import_react28 = require("react");
4028
4088
  var import_editor_controls32 = require("@elementor/editor-controls");
4029
4089
  var import_ui31 = require("@elementor/ui");
4030
- var import_i18n36 = require("@wordpress/i18n");
4090
+ var import_i18n37 = require("@wordpress/i18n");
4031
4091
 
4032
4092
  // src/components/style-tab-collapsible-content.tsx
4033
- var React56 = __toESM(require("react"));
4034
- var import_editor_ui5 = require("@elementor/editor-ui");
4093
+ var React57 = __toESM(require("react"));
4094
+ var import_editor_ui6 = require("@elementor/editor-ui");
4035
4095
 
4036
4096
  // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
4037
- var React55 = __toESM(require("react"));
4038
- var import_editor_styles_repository13 = require("@elementor/editor-styles-repository");
4097
+ var React56 = __toESM(require("react"));
4098
+ var import_editor_styles_repository14 = require("@elementor/editor-styles-repository");
4039
4099
  var import_ui30 = require("@elementor/ui");
4040
- var import_i18n33 = require("@wordpress/i18n");
4100
+ var import_i18n34 = require("@wordpress/i18n");
4041
4101
  var StylesInheritanceSectionIndicators = ({ fields }) => {
4042
4102
  const { id, meta, provider } = useStyle();
4043
4103
  const snapshot = useStylesInheritanceSnapshot();
4044
4104
  if (fields.includes("custom_css")) {
4045
- return /* @__PURE__ */ React55.createElement(CustomCssIndicator, null);
4105
+ return /* @__PURE__ */ React56.createElement(CustomCssIndicator, null);
4046
4106
  }
4047
4107
  const snapshotFields = Object.fromEntries(
4048
4108
  Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
@@ -4051,17 +4111,17 @@ var StylesInheritanceSectionIndicators = ({ fields }) => {
4051
4111
  if (!hasValues && !hasOverrides) {
4052
4112
  return null;
4053
4113
  }
4054
- const hasValueLabel = (0, import_i18n33.__)("Has effective styles", "elementor");
4055
- const hasOverridesLabel = (0, import_i18n33.__)("Has overridden styles", "elementor");
4056
- return /* @__PURE__ */ React55.createElement(import_ui30.Tooltip, { title: (0, import_i18n33.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React55.createElement(import_ui30.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React55.createElement(
4114
+ const hasValueLabel = (0, import_i18n34.__)("Has effective styles", "elementor");
4115
+ const hasOverridesLabel = (0, import_i18n34.__)("Has overridden styles", "elementor");
4116
+ return /* @__PURE__ */ React56.createElement(import_ui30.Tooltip, { title: (0, import_i18n34.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React56.createElement(import_ui30.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React56.createElement(
4057
4117
  StyleIndicator,
4058
4118
  {
4059
4119
  getColor: getStylesProviderThemeColor(provider.getKey()),
4060
- "data-variant": (0, import_editor_styles_repository13.isElementsStylesProvider)(provider.getKey()) ? "local" : "global",
4120
+ "data-variant": (0, import_editor_styles_repository14.isElementsStylesProvider)(provider.getKey()) ? "local" : "global",
4061
4121
  role: "listitem",
4062
4122
  "aria-label": hasValueLabel
4063
4123
  }
4064
- ), hasOverrides && /* @__PURE__ */ React55.createElement(
4124
+ ), hasOverrides && /* @__PURE__ */ React56.createElement(
4065
4125
  StyleIndicator,
4066
4126
  {
4067
4127
  isOverridden: true,
@@ -4101,59 +4161,59 @@ function getCurrentStyleFromChain(chain, styleId, meta) {
4101
4161
 
4102
4162
  // src/components/style-tab-collapsible-content.tsx
4103
4163
  var StyleTabCollapsibleContent = ({ fields = [], children }) => {
4104
- return /* @__PURE__ */ React56.createElement(import_editor_ui5.CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4164
+ return /* @__PURE__ */ React57.createElement(import_editor_ui6.CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4105
4165
  };
4106
4166
  function getStylesInheritanceIndicators(fields) {
4107
4167
  if (fields.length === 0) {
4108
4168
  return null;
4109
4169
  }
4110
- return (isOpen) => !isOpen ? /* @__PURE__ */ React56.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4170
+ return (isOpen) => !isOpen ? /* @__PURE__ */ React57.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4111
4171
  }
4112
4172
 
4113
4173
  // src/components/style-sections/size-section/object-fit-field.tsx
4114
- var React57 = __toESM(require("react"));
4174
+ var React58 = __toESM(require("react"));
4115
4175
  var import_editor_controls30 = require("@elementor/editor-controls");
4116
- var import_i18n34 = require("@wordpress/i18n");
4117
- var OBJECT_FIT_LABEL = (0, import_i18n34.__)("Object fit", "elementor");
4176
+ var import_i18n35 = require("@wordpress/i18n");
4177
+ var OBJECT_FIT_LABEL = (0, import_i18n35.__)("Object fit", "elementor");
4118
4178
  var positionOptions2 = [
4119
- { label: (0, import_i18n34.__)("Fill", "elementor"), value: "fill" },
4120
- { label: (0, import_i18n34.__)("Cover", "elementor"), value: "cover" },
4121
- { label: (0, import_i18n34.__)("Contain", "elementor"), value: "contain" },
4122
- { label: (0, import_i18n34.__)("None", "elementor"), value: "none" },
4123
- { label: (0, import_i18n34.__)("Scale down", "elementor"), value: "scale-down" }
4179
+ { label: (0, import_i18n35.__)("Fill", "elementor"), value: "fill" },
4180
+ { label: (0, import_i18n35.__)("Cover", "elementor"), value: "cover" },
4181
+ { label: (0, import_i18n35.__)("Contain", "elementor"), value: "contain" },
4182
+ { label: (0, import_i18n35.__)("None", "elementor"), value: "none" },
4183
+ { label: (0, import_i18n35.__)("Scale down", "elementor"), value: "scale-down" }
4124
4184
  ];
4125
4185
  var ObjectFitField = () => {
4126
- return /* @__PURE__ */ React57.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React57.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React57.createElement(import_editor_controls30.SelectControl, { options: positionOptions2 })));
4186
+ return /* @__PURE__ */ React58.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React58.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React58.createElement(import_editor_controls30.SelectControl, { options: positionOptions2 })));
4127
4187
  };
4128
4188
 
4129
4189
  // src/components/style-sections/size-section/overflow-field.tsx
4130
- var React58 = __toESM(require("react"));
4190
+ var React59 = __toESM(require("react"));
4131
4191
  var import_editor_controls31 = require("@elementor/editor-controls");
4132
4192
  var import_icons14 = require("@elementor/icons");
4133
- var import_i18n35 = require("@wordpress/i18n");
4134
- var OVERFLOW_LABEL = (0, import_i18n35.__)("Overflow", "elementor");
4193
+ var import_i18n36 = require("@wordpress/i18n");
4194
+ var OVERFLOW_LABEL = (0, import_i18n36.__)("Overflow", "elementor");
4135
4195
  var options6 = [
4136
4196
  {
4137
4197
  value: "visible",
4138
- label: (0, import_i18n35.__)("Visible", "elementor"),
4139
- renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons14.EyeIcon, { fontSize: size }),
4198
+ label: (0, import_i18n36.__)("Visible", "elementor"),
4199
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.EyeIcon, { fontSize: size }),
4140
4200
  showTooltip: true
4141
4201
  },
4142
4202
  {
4143
4203
  value: "hidden",
4144
- label: (0, import_i18n35.__)("Hidden", "elementor"),
4145
- renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons14.EyeOffIcon, { fontSize: size }),
4204
+ label: (0, import_i18n36.__)("Hidden", "elementor"),
4205
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.EyeOffIcon, { fontSize: size }),
4146
4206
  showTooltip: true
4147
4207
  },
4148
4208
  {
4149
4209
  value: "auto",
4150
- label: (0, import_i18n35.__)("Auto", "elementor"),
4151
- renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons14.LetterAIcon, { fontSize: size }),
4210
+ label: (0, import_i18n36.__)("Auto", "elementor"),
4211
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.LetterAIcon, { fontSize: size }),
4152
4212
  showTooltip: true
4153
4213
  }
4154
4214
  ];
4155
4215
  var OverflowField = () => {
4156
- return /* @__PURE__ */ React58.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React58.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React58.createElement(import_editor_controls31.ToggleControl, { options: options6 })));
4216
+ return /* @__PURE__ */ React59.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React59.createElement(import_editor_controls31.ToggleControl, { options: options6 })));
4157
4217
  };
4158
4218
 
4159
4219
  // src/components/style-sections/size-section/size-section.tsx
@@ -4161,52 +4221,52 @@ var CssSizeProps = [
4161
4221
  [
4162
4222
  {
4163
4223
  bind: "width",
4164
- label: (0, import_i18n36.__)("Width", "elementor")
4224
+ label: (0, import_i18n37.__)("Width", "elementor")
4165
4225
  },
4166
4226
  {
4167
4227
  bind: "height",
4168
- label: (0, import_i18n36.__)("Height", "elementor")
4228
+ label: (0, import_i18n37.__)("Height", "elementor")
4169
4229
  }
4170
4230
  ],
4171
4231
  [
4172
4232
  {
4173
4233
  bind: "min-width",
4174
- label: (0, import_i18n36.__)("Min width", "elementor")
4234
+ label: (0, import_i18n37.__)("Min width", "elementor")
4175
4235
  },
4176
4236
  {
4177
4237
  bind: "min-height",
4178
- label: (0, import_i18n36.__)("Min height", "elementor")
4238
+ label: (0, import_i18n37.__)("Min height", "elementor")
4179
4239
  }
4180
4240
  ],
4181
4241
  [
4182
4242
  {
4183
4243
  bind: "max-width",
4184
- label: (0, import_i18n36.__)("Max width", "elementor")
4244
+ label: (0, import_i18n37.__)("Max width", "elementor")
4185
4245
  },
4186
4246
  {
4187
4247
  bind: "max-height",
4188
- label: (0, import_i18n36.__)("Max height", "elementor")
4248
+ label: (0, import_i18n37.__)("Max height", "elementor")
4189
4249
  }
4190
4250
  ]
4191
4251
  ];
4192
- var ASPECT_RATIO_LABEL = (0, import_i18n36.__)("Aspect Ratio", "elementor");
4252
+ var ASPECT_RATIO_LABEL = (0, import_i18n37.__)("Aspect Ratio", "elementor");
4193
4253
  var SizeSection = () => {
4194
4254
  const gridRowRefs = [(0, import_react28.useRef)(null), (0, import_react28.useRef)(null), (0, import_react28.useRef)(null)];
4195
- return /* @__PURE__ */ React59.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React59.createElement(import_ui31.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React59.createElement(import_ui31.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React59.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React59.createElement(PanelDivider, null), /* @__PURE__ */ React59.createElement(import_ui31.Stack, null, /* @__PURE__ */ React59.createElement(OverflowField, null)), /* @__PURE__ */ React59.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React59.createElement(import_ui31.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React59.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React59.createElement(import_editor_controls32.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React59.createElement(PanelDivider, null), /* @__PURE__ */ React59.createElement(ObjectFitField, null), /* @__PURE__ */ React59.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n36.__)("Object position", "elementor") }, /* @__PURE__ */ React59.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(import_editor_controls32.PositionControl, null))))));
4255
+ return /* @__PURE__ */ React60.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React60.createElement(import_ui31.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React60.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(import_ui31.Stack, null, /* @__PURE__ */ React60.createElement(OverflowField, null)), /* @__PURE__ */ React60.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React60.createElement(import_ui31.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React60.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React60.createElement(import_editor_controls32.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(ObjectFitField, null), /* @__PURE__ */ React60.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n37.__)("Object position", "elementor") }, /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(import_editor_controls32.PositionControl, null))))));
4196
4256
  };
4197
4257
  var SizeField = ({ label, bind, rowRef, extendedOptions }) => {
4198
- return /* @__PURE__ */ React59.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React59.createElement(import_ui31.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React59.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(ControlLabel, null, label)), /* @__PURE__ */ React59.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(import_editor_controls32.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4258
+ return /* @__PURE__ */ React60.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React60.createElement(import_ui31.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(ControlLabel, null, label)), /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(import_editor_controls32.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4199
4259
  };
4200
4260
 
4201
4261
  // src/components/style-sections/spacing-section/spacing-section.tsx
4202
- var React60 = __toESM(require("react"));
4262
+ var React61 = __toESM(require("react"));
4203
4263
  var import_editor_controls33 = require("@elementor/editor-controls");
4204
- var import_i18n37 = require("@wordpress/i18n");
4205
- var MARGIN_LABEL = (0, import_i18n37.__)("Margin", "elementor");
4206
- var PADDING_LABEL = (0, import_i18n37.__)("Padding", "elementor");
4264
+ var import_i18n38 = require("@wordpress/i18n");
4265
+ var MARGIN_LABEL = (0, import_i18n38.__)("Margin", "elementor");
4266
+ var PADDING_LABEL = (0, import_i18n38.__)("Padding", "elementor");
4207
4267
  var SpacingSection = () => {
4208
4268
  const { isSiteRtl } = useDirection();
4209
- return /* @__PURE__ */ React60.createElement(SectionContent, null, /* @__PURE__ */ React60.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React60.createElement(
4269
+ return /* @__PURE__ */ React61.createElement(SectionContent, null, /* @__PURE__ */ React61.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React61.createElement(
4210
4270
  import_editor_controls33.LinkedDimensionsControl,
4211
4271
  {
4212
4272
  label: MARGIN_LABEL,
@@ -4214,45 +4274,45 @@ var SpacingSection = () => {
4214
4274
  extendedOptions: ["auto"],
4215
4275
  min: -Number.MAX_SAFE_INTEGER
4216
4276
  }
4217
- )), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React60.createElement(import_editor_controls33.LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4277
+ )), /* @__PURE__ */ React61.createElement(PanelDivider, null), /* @__PURE__ */ React61.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React61.createElement(import_editor_controls33.LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4218
4278
  };
4219
4279
 
4220
4280
  // src/components/style-sections/typography-section/typography-section.tsx
4221
- var React77 = __toESM(require("react"));
4281
+ var React78 = __toESM(require("react"));
4222
4282
 
4223
4283
  // src/components/style-sections/typography-section/column-count-field.tsx
4224
- var React61 = __toESM(require("react"));
4284
+ var React62 = __toESM(require("react"));
4225
4285
  var import_editor_controls34 = require("@elementor/editor-controls");
4226
- var import_i18n38 = require("@wordpress/i18n");
4227
- var COLUMN_COUNT_LABEL = (0, import_i18n38.__)("Columns", "elementor");
4286
+ var import_i18n39 = require("@wordpress/i18n");
4287
+ var COLUMN_COUNT_LABEL = (0, import_i18n39.__)("Columns", "elementor");
4228
4288
  var ColumnCountField = () => {
4229
- return /* @__PURE__ */ React61.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React61.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React61.createElement(import_editor_controls34.NumberControl, { shouldForceInt: true, min: 0, step: 1 })));
4289
+ return /* @__PURE__ */ React62.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React62.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React62.createElement(import_editor_controls34.NumberControl, { shouldForceInt: true, min: 0, step: 1 })));
4230
4290
  };
4231
4291
 
4232
4292
  // src/components/style-sections/typography-section/column-gap-field.tsx
4233
- var React62 = __toESM(require("react"));
4293
+ var React63 = __toESM(require("react"));
4234
4294
  var import_react29 = require("react");
4235
4295
  var import_editor_controls35 = require("@elementor/editor-controls");
4236
- var import_i18n39 = require("@wordpress/i18n");
4237
- var COLUMN_GAP_LABEL = (0, import_i18n39.__)("Column gap", "elementor");
4296
+ var import_i18n40 = require("@wordpress/i18n");
4297
+ var COLUMN_GAP_LABEL = (0, import_i18n40.__)("Column gap", "elementor");
4238
4298
  var ColumnGapField = () => {
4239
4299
  const rowRef = (0, import_react29.useRef)(null);
4240
- return /* @__PURE__ */ React62.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React62.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React62.createElement(import_editor_controls35.SizeControl, { anchorRef: rowRef })));
4300
+ return /* @__PURE__ */ React63.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React63.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React63.createElement(import_editor_controls35.SizeControl, { anchorRef: rowRef })));
4241
4301
  };
4242
4302
 
4243
4303
  // src/components/style-sections/typography-section/font-family-field.tsx
4244
- var React63 = __toESM(require("react"));
4304
+ var React64 = __toESM(require("react"));
4245
4305
  var import_editor_controls36 = require("@elementor/editor-controls");
4246
- var import_editor_ui6 = require("@elementor/editor-ui");
4247
- var import_i18n40 = require("@wordpress/i18n");
4248
- var FONT_FAMILY_LABEL = (0, import_i18n40.__)("Font family", "elementor");
4306
+ var import_editor_ui7 = require("@elementor/editor-ui");
4307
+ var import_i18n41 = require("@wordpress/i18n");
4308
+ var FONT_FAMILY_LABEL = (0, import_i18n41.__)("Font family", "elementor");
4249
4309
  var FontFamilyField = () => {
4250
4310
  const fontFamilies = (0, import_editor_controls36.useFontFamilies)();
4251
- const sectionWidth = (0, import_editor_ui6.useSectionWidth)();
4311
+ const sectionWidth = (0, import_editor_ui7.useSectionWidth)();
4252
4312
  if (fontFamilies.length === 0) {
4253
4313
  return null;
4254
4314
  }
4255
- return /* @__PURE__ */ React63.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React63.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React63.createElement(
4315
+ return /* @__PURE__ */ React64.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React64.createElement(
4256
4316
  import_editor_controls36.FontFamilyControl,
4257
4317
  {
4258
4318
  fontFamilies,
@@ -4263,196 +4323,196 @@ var FontFamilyField = () => {
4263
4323
  };
4264
4324
 
4265
4325
  // src/components/style-sections/typography-section/font-size-field.tsx
4266
- var React64 = __toESM(require("react"));
4326
+ var React65 = __toESM(require("react"));
4267
4327
  var import_react30 = require("react");
4268
4328
  var import_editor_controls37 = require("@elementor/editor-controls");
4269
- var import_i18n41 = require("@wordpress/i18n");
4270
- var FONT_SIZE_LABEL = (0, import_i18n41.__)("Font size", "elementor");
4329
+ var import_i18n42 = require("@wordpress/i18n");
4330
+ var FONT_SIZE_LABEL = (0, import_i18n42.__)("Font size", "elementor");
4271
4331
  var FontSizeField = () => {
4272
4332
  const rowRef = (0, import_react30.useRef)(null);
4273
- return /* @__PURE__ */ React64.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React64.createElement(import_editor_controls37.SizeControl, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
4333
+ return /* @__PURE__ */ React65.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React65.createElement(import_editor_controls37.SizeControl, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
4274
4334
  };
4275
4335
 
4276
4336
  // src/components/style-sections/typography-section/font-style-field.tsx
4277
- var React65 = __toESM(require("react"));
4337
+ var React66 = __toESM(require("react"));
4278
4338
  var import_editor_controls38 = require("@elementor/editor-controls");
4279
4339
  var import_icons15 = require("@elementor/icons");
4280
- var import_i18n42 = require("@wordpress/i18n");
4281
- var FONT_STYLE_LABEL = (0, import_i18n42.__)("Font style", "elementor");
4340
+ var import_i18n43 = require("@wordpress/i18n");
4341
+ var FONT_STYLE_LABEL = (0, import_i18n43.__)("Font style", "elementor");
4282
4342
  var options7 = [
4283
4343
  {
4284
4344
  value: "normal",
4285
- label: (0, import_i18n42.__)("Normal", "elementor"),
4286
- renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(import_icons15.MinusIcon, { fontSize: size }),
4345
+ label: (0, import_i18n43.__)("Normal", "elementor"),
4346
+ renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons15.MinusIcon, { fontSize: size }),
4287
4347
  showTooltip: true
4288
4348
  },
4289
4349
  {
4290
4350
  value: "italic",
4291
- label: (0, import_i18n42.__)("Italic", "elementor"),
4292
- renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(import_icons15.ItalicIcon, { fontSize: size }),
4351
+ label: (0, import_i18n43.__)("Italic", "elementor"),
4352
+ renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons15.ItalicIcon, { fontSize: size }),
4293
4353
  showTooltip: true
4294
4354
  }
4295
4355
  ];
4296
4356
  var FontStyleField = () => {
4297
- return /* @__PURE__ */ React65.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React65.createElement(import_editor_controls38.ToggleControl, { options: options7 })));
4357
+ return /* @__PURE__ */ React66.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React66.createElement(import_editor_controls38.ToggleControl, { options: options7 })));
4298
4358
  };
4299
4359
 
4300
4360
  // src/components/style-sections/typography-section/font-weight-field.tsx
4301
- var React66 = __toESM(require("react"));
4361
+ var React67 = __toESM(require("react"));
4302
4362
  var import_editor_controls39 = require("@elementor/editor-controls");
4303
- var import_i18n43 = require("@wordpress/i18n");
4304
- var FONT_WEIGHT_LABEL = (0, import_i18n43.__)("Font weight", "elementor");
4363
+ var import_i18n44 = require("@wordpress/i18n");
4364
+ var FONT_WEIGHT_LABEL = (0, import_i18n44.__)("Font weight", "elementor");
4305
4365
  var fontWeightOptions = [
4306
- { value: "100", label: (0, import_i18n43.__)("100 - Thin", "elementor") },
4307
- { value: "200", label: (0, import_i18n43.__)("200 - Extra light", "elementor") },
4308
- { value: "300", label: (0, import_i18n43.__)("300 - Light", "elementor") },
4309
- { value: "400", label: (0, import_i18n43.__)("400 - Normal", "elementor") },
4310
- { value: "500", label: (0, import_i18n43.__)("500 - Medium", "elementor") },
4311
- { value: "600", label: (0, import_i18n43.__)("600 - Semi bold", "elementor") },
4312
- { value: "700", label: (0, import_i18n43.__)("700 - Bold", "elementor") },
4313
- { value: "800", label: (0, import_i18n43.__)("800 - Extra bold", "elementor") },
4314
- { value: "900", label: (0, import_i18n43.__)("900 - Black", "elementor") }
4366
+ { value: "100", label: (0, import_i18n44.__)("100 - Thin", "elementor") },
4367
+ { value: "200", label: (0, import_i18n44.__)("200 - Extra light", "elementor") },
4368
+ { value: "300", label: (0, import_i18n44.__)("300 - Light", "elementor") },
4369
+ { value: "400", label: (0, import_i18n44.__)("400 - Normal", "elementor") },
4370
+ { value: "500", label: (0, import_i18n44.__)("500 - Medium", "elementor") },
4371
+ { value: "600", label: (0, import_i18n44.__)("600 - Semi bold", "elementor") },
4372
+ { value: "700", label: (0, import_i18n44.__)("700 - Bold", "elementor") },
4373
+ { value: "800", label: (0, import_i18n44.__)("800 - Extra bold", "elementor") },
4374
+ { value: "900", label: (0, import_i18n44.__)("900 - Black", "elementor") }
4315
4375
  ];
4316
4376
  var FontWeightField = () => {
4317
- return /* @__PURE__ */ React66.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React66.createElement(import_editor_controls39.SelectControl, { options: fontWeightOptions })));
4377
+ return /* @__PURE__ */ React67.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React67.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React67.createElement(import_editor_controls39.SelectControl, { options: fontWeightOptions })));
4318
4378
  };
4319
4379
 
4320
4380
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
4321
- var React67 = __toESM(require("react"));
4381
+ var React68 = __toESM(require("react"));
4322
4382
  var import_react31 = require("react");
4323
4383
  var import_editor_controls40 = require("@elementor/editor-controls");
4324
- var import_i18n44 = require("@wordpress/i18n");
4325
- var LETTER_SPACING_LABEL = (0, import_i18n44.__)("Letter spacing", "elementor");
4384
+ var import_i18n45 = require("@wordpress/i18n");
4385
+ var LETTER_SPACING_LABEL = (0, import_i18n45.__)("Letter spacing", "elementor");
4326
4386
  var LetterSpacingField = () => {
4327
4387
  const rowRef = (0, import_react31.useRef)(null);
4328
- return /* @__PURE__ */ React67.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React67.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React67.createElement(import_editor_controls40.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4388
+ return /* @__PURE__ */ React68.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React68.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React68.createElement(import_editor_controls40.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4329
4389
  };
4330
4390
 
4331
4391
  // src/components/style-sections/typography-section/line-height-field.tsx
4332
- var React68 = __toESM(require("react"));
4392
+ var React69 = __toESM(require("react"));
4333
4393
  var import_react32 = require("react");
4334
4394
  var import_editor_controls41 = require("@elementor/editor-controls");
4335
- var import_i18n45 = require("@wordpress/i18n");
4336
- var LINE_HEIGHT_LABEL = (0, import_i18n45.__)("Line height", "elementor");
4395
+ var import_i18n46 = require("@wordpress/i18n");
4396
+ var LINE_HEIGHT_LABEL = (0, import_i18n46.__)("Line height", "elementor");
4337
4397
  var LineHeightField = () => {
4338
4398
  const rowRef = (0, import_react32.useRef)(null);
4339
- return /* @__PURE__ */ React68.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React68.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React68.createElement(import_editor_controls41.SizeControl, { anchorRef: rowRef })));
4399
+ return /* @__PURE__ */ React69.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React69.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React69.createElement(import_editor_controls41.SizeControl, { anchorRef: rowRef })));
4340
4400
  };
4341
4401
 
4342
4402
  // src/components/style-sections/typography-section/text-alignment-field.tsx
4343
- var React69 = __toESM(require("react"));
4403
+ var React70 = __toESM(require("react"));
4344
4404
  var import_editor_controls42 = require("@elementor/editor-controls");
4345
4405
  var import_icons16 = require("@elementor/icons");
4346
4406
  var import_ui32 = require("@elementor/ui");
4347
- var import_i18n46 = require("@wordpress/i18n");
4348
- var TEXT_ALIGNMENT_LABEL = (0, import_i18n46.__)("Text align", "elementor");
4407
+ var import_i18n47 = require("@wordpress/i18n");
4408
+ var TEXT_ALIGNMENT_LABEL = (0, import_i18n47.__)("Text align", "elementor");
4349
4409
  var AlignStartIcon = (0, import_ui32.withDirection)(import_icons16.AlignLeftIcon);
4350
4410
  var AlignEndIcon = (0, import_ui32.withDirection)(import_icons16.AlignRightIcon);
4351
4411
  var options8 = [
4352
4412
  {
4353
4413
  value: "start",
4354
- label: (0, import_i18n46.__)("Start", "elementor"),
4355
- renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(AlignStartIcon, { fontSize: size }),
4414
+ label: (0, import_i18n47.__)("Start", "elementor"),
4415
+ renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignStartIcon, { fontSize: size }),
4356
4416
  showTooltip: true
4357
4417
  },
4358
4418
  {
4359
4419
  value: "center",
4360
- label: (0, import_i18n46.__)("Center", "elementor"),
4361
- renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(import_icons16.AlignCenterIcon, { fontSize: size }),
4420
+ label: (0, import_i18n47.__)("Center", "elementor"),
4421
+ renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(import_icons16.AlignCenterIcon, { fontSize: size }),
4362
4422
  showTooltip: true
4363
4423
  },
4364
4424
  {
4365
4425
  value: "end",
4366
- label: (0, import_i18n46.__)("End", "elementor"),
4367
- renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(AlignEndIcon, { fontSize: size }),
4426
+ label: (0, import_i18n47.__)("End", "elementor"),
4427
+ renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignEndIcon, { fontSize: size }),
4368
4428
  showTooltip: true
4369
4429
  },
4370
4430
  {
4371
4431
  value: "justify",
4372
- label: (0, import_i18n46.__)("Justify", "elementor"),
4373
- renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(import_icons16.AlignJustifiedIcon, { fontSize: size }),
4432
+ label: (0, import_i18n47.__)("Justify", "elementor"),
4433
+ renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(import_icons16.AlignJustifiedIcon, { fontSize: size }),
4374
4434
  showTooltip: true
4375
4435
  }
4376
4436
  ];
4377
4437
  var TextAlignmentField = () => {
4378
- return /* @__PURE__ */ React69.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React69.createElement(UiProviders, null, /* @__PURE__ */ React69.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React69.createElement(import_editor_controls42.ToggleControl, { options: options8 }))));
4438
+ return /* @__PURE__ */ React70.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React70.createElement(UiProviders, null, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React70.createElement(import_editor_controls42.ToggleControl, { options: options8 }))));
4379
4439
  };
4380
4440
 
4381
4441
  // src/components/style-sections/typography-section/text-color-field.tsx
4382
- var React70 = __toESM(require("react"));
4442
+ var React71 = __toESM(require("react"));
4383
4443
  var import_editor_controls43 = require("@elementor/editor-controls");
4384
- var import_i18n47 = require("@wordpress/i18n");
4385
- var TEXT_COLOR_LABEL = (0, import_i18n47.__)("Text color", "elementor");
4444
+ var import_i18n48 = require("@wordpress/i18n");
4445
+ var TEXT_COLOR_LABEL = (0, import_i18n48.__)("Text color", "elementor");
4386
4446
  var TextColorField = () => {
4387
- return /* @__PURE__ */ React70.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React70.createElement(import_editor_controls43.ColorControl, { id: "text-color-control" })));
4447
+ return /* @__PURE__ */ React71.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React71.createElement(import_editor_controls43.ColorControl, { id: "text-color-control" })));
4388
4448
  };
4389
4449
 
4390
4450
  // src/components/style-sections/typography-section/text-decoration-field.tsx
4391
- var React71 = __toESM(require("react"));
4451
+ var React72 = __toESM(require("react"));
4392
4452
  var import_editor_controls44 = require("@elementor/editor-controls");
4393
4453
  var import_icons17 = require("@elementor/icons");
4394
- var import_i18n48 = require("@wordpress/i18n");
4395
- var TEXT_DECORATION_LABEL = (0, import_i18n48.__)("Line decoration", "elementor");
4454
+ var import_i18n49 = require("@wordpress/i18n");
4455
+ var TEXT_DECORATION_LABEL = (0, import_i18n49.__)("Line decoration", "elementor");
4396
4456
  var options9 = [
4397
4457
  {
4398
4458
  value: "none",
4399
- label: (0, import_i18n48.__)("None", "elementor"),
4400
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.MinusIcon, { fontSize: size }),
4459
+ label: (0, import_i18n49.__)("None", "elementor"),
4460
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.MinusIcon, { fontSize: size }),
4401
4461
  showTooltip: true,
4402
4462
  exclusive: true
4403
4463
  },
4404
4464
  {
4405
4465
  value: "underline",
4406
- label: (0, import_i18n48.__)("Underline", "elementor"),
4407
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.UnderlineIcon, { fontSize: size }),
4466
+ label: (0, import_i18n49.__)("Underline", "elementor"),
4467
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.UnderlineIcon, { fontSize: size }),
4408
4468
  showTooltip: true
4409
4469
  },
4410
4470
  {
4411
4471
  value: "line-through",
4412
- label: (0, import_i18n48.__)("Line-through", "elementor"),
4413
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.StrikethroughIcon, { fontSize: size }),
4472
+ label: (0, import_i18n49.__)("Line-through", "elementor"),
4473
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.StrikethroughIcon, { fontSize: size }),
4414
4474
  showTooltip: true
4415
4475
  },
4416
4476
  {
4417
4477
  value: "overline",
4418
- label: (0, import_i18n48.__)("Overline", "elementor"),
4419
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.OverlineIcon, { fontSize: size }),
4478
+ label: (0, import_i18n49.__)("Overline", "elementor"),
4479
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.OverlineIcon, { fontSize: size }),
4420
4480
  showTooltip: true
4421
4481
  }
4422
4482
  ];
4423
- var TextDecorationField = () => /* @__PURE__ */ React71.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React71.createElement(import_editor_controls44.ToggleControl, { options: options9, exclusive: false })));
4483
+ var TextDecorationField = () => /* @__PURE__ */ React72.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React72.createElement(import_editor_controls44.ToggleControl, { options: options9, exclusive: false })));
4424
4484
 
4425
4485
  // src/components/style-sections/typography-section/text-direction-field.tsx
4426
- var React72 = __toESM(require("react"));
4486
+ var React73 = __toESM(require("react"));
4427
4487
  var import_editor_controls45 = require("@elementor/editor-controls");
4428
4488
  var import_icons18 = require("@elementor/icons");
4429
- var import_i18n49 = require("@wordpress/i18n");
4430
- var TEXT_DIRECTION_LABEL = (0, import_i18n49.__)("Direction", "elementor");
4489
+ var import_i18n50 = require("@wordpress/i18n");
4490
+ var TEXT_DIRECTION_LABEL = (0, import_i18n50.__)("Direction", "elementor");
4431
4491
  var options10 = [
4432
4492
  {
4433
4493
  value: "ltr",
4434
- label: (0, import_i18n49.__)("Left to right", "elementor"),
4435
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons18.TextDirectionLtrIcon, { fontSize: size }),
4494
+ label: (0, import_i18n50.__)("Left to right", "elementor"),
4495
+ renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons18.TextDirectionLtrIcon, { fontSize: size }),
4436
4496
  showTooltip: true
4437
4497
  },
4438
4498
  {
4439
4499
  value: "rtl",
4440
- label: (0, import_i18n49.__)("Right to left", "elementor"),
4441
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons18.TextDirectionRtlIcon, { fontSize: size }),
4500
+ label: (0, import_i18n50.__)("Right to left", "elementor"),
4501
+ renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons18.TextDirectionRtlIcon, { fontSize: size }),
4442
4502
  showTooltip: true
4443
4503
  }
4444
4504
  ];
4445
4505
  var TextDirectionField = () => {
4446
- return /* @__PURE__ */ React72.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React72.createElement(import_editor_controls45.ToggleControl, { options: options10 })));
4506
+ return /* @__PURE__ */ React73.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React73.createElement(import_editor_controls45.ToggleControl, { options: options10 })));
4447
4507
  };
4448
4508
 
4449
4509
  // src/components/style-sections/typography-section/text-stroke-field.tsx
4450
- var React74 = __toESM(require("react"));
4510
+ var React75 = __toESM(require("react"));
4451
4511
  var import_editor_controls46 = require("@elementor/editor-controls");
4452
- var import_i18n50 = require("@wordpress/i18n");
4512
+ var import_i18n51 = require("@wordpress/i18n");
4453
4513
 
4454
4514
  // src/components/add-or-remove-content.tsx
4455
- var React73 = __toESM(require("react"));
4515
+ var React74 = __toESM(require("react"));
4456
4516
  var import_icons19 = require("@elementor/icons");
4457
4517
  var import_ui33 = require("@elementor/ui");
4458
4518
  var SIZE = "tiny";
@@ -4464,7 +4524,7 @@ var AddOrRemoveContent = ({
4464
4524
  disabled,
4465
4525
  renderLabel
4466
4526
  }) => {
4467
- return /* @__PURE__ */ React73.createElement(SectionContent, null, /* @__PURE__ */ React73.createElement(
4527
+ return /* @__PURE__ */ React74.createElement(SectionContent, null, /* @__PURE__ */ React74.createElement(
4468
4528
  import_ui33.Stack,
4469
4529
  {
4470
4530
  direction: "row",
@@ -4475,8 +4535,8 @@ var AddOrRemoveContent = ({
4475
4535
  }
4476
4536
  },
4477
4537
  renderLabel(),
4478
- isAdded ? /* @__PURE__ */ React73.createElement(import_ui33.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React73.createElement(import_icons19.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React73.createElement(import_ui33.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React73.createElement(import_icons19.PlusIcon, { fontSize: SIZE }))
4479
- ), /* @__PURE__ */ React73.createElement(import_ui33.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React73.createElement(SectionContent, null, children)));
4538
+ isAdded ? /* @__PURE__ */ React74.createElement(import_ui33.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React74.createElement(import_icons19.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React74.createElement(import_ui33.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React74.createElement(import_icons19.PlusIcon, { fontSize: SIZE }))
4539
+ ), /* @__PURE__ */ React74.createElement(import_ui33.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React74.createElement(SectionContent, null, children)));
4480
4540
  };
4481
4541
 
4482
4542
  // src/components/style-sections/typography-section/text-stroke-field.tsx
@@ -4496,7 +4556,7 @@ var initTextStroke = {
4496
4556
  }
4497
4557
  }
4498
4558
  };
4499
- var TEXT_STROKE_LABEL = (0, import_i18n50.__)("Text stroke", "elementor");
4559
+ var TEXT_STROKE_LABEL = (0, import_i18n51.__)("Text stroke", "elementor");
4500
4560
  var TextStrokeField = () => {
4501
4561
  const { value, setValue, canEdit } = useStylesField("stroke", {
4502
4562
  history: { propDisplayName: TEXT_STROKE_LABEL }
@@ -4508,67 +4568,67 @@ var TextStrokeField = () => {
4508
4568
  setValue(null);
4509
4569
  };
4510
4570
  const hasTextStroke = Boolean(value);
4511
- return /* @__PURE__ */ React74.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React74.createElement(
4571
+ return /* @__PURE__ */ React75.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React75.createElement(
4512
4572
  AddOrRemoveContent,
4513
4573
  {
4514
4574
  isAdded: hasTextStroke,
4515
4575
  onAdd: addTextStroke,
4516
4576
  onRemove: removeTextStroke,
4517
4577
  disabled: !canEdit,
4518
- renderLabel: () => /* @__PURE__ */ React74.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
4578
+ renderLabel: () => /* @__PURE__ */ React75.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
4519
4579
  },
4520
- /* @__PURE__ */ React74.createElement(import_editor_controls46.StrokeControl, null)
4580
+ /* @__PURE__ */ React75.createElement(import_editor_controls46.StrokeControl, null)
4521
4581
  ));
4522
4582
  };
4523
4583
 
4524
4584
  // src/components/style-sections/typography-section/transform-field.tsx
4525
- var React75 = __toESM(require("react"));
4585
+ var React76 = __toESM(require("react"));
4526
4586
  var import_editor_controls47 = require("@elementor/editor-controls");
4527
4587
  var import_icons20 = require("@elementor/icons");
4528
- var import_i18n51 = require("@wordpress/i18n");
4529
- var TEXT_TRANSFORM_LABEL = (0, import_i18n51.__)("Text transform", "elementor");
4588
+ var import_i18n52 = require("@wordpress/i18n");
4589
+ var TEXT_TRANSFORM_LABEL = (0, import_i18n52.__)("Text transform", "elementor");
4530
4590
  var options11 = [
4531
4591
  {
4532
4592
  value: "none",
4533
- label: (0, import_i18n51.__)("None", "elementor"),
4534
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.MinusIcon, { fontSize: size }),
4593
+ label: (0, import_i18n52.__)("None", "elementor"),
4594
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.MinusIcon, { fontSize: size }),
4535
4595
  showTooltip: true
4536
4596
  },
4537
4597
  {
4538
4598
  value: "capitalize",
4539
- label: (0, import_i18n51.__)("Capitalize", "elementor"),
4540
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.LetterCaseIcon, { fontSize: size }),
4599
+ label: (0, import_i18n52.__)("Capitalize", "elementor"),
4600
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseIcon, { fontSize: size }),
4541
4601
  showTooltip: true
4542
4602
  },
4543
4603
  {
4544
4604
  value: "uppercase",
4545
- label: (0, import_i18n51.__)("Uppercase", "elementor"),
4546
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.LetterCaseUpperIcon, { fontSize: size }),
4605
+ label: (0, import_i18n52.__)("Uppercase", "elementor"),
4606
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseUpperIcon, { fontSize: size }),
4547
4607
  showTooltip: true
4548
4608
  },
4549
4609
  {
4550
4610
  value: "lowercase",
4551
- label: (0, import_i18n51.__)("Lowercase", "elementor"),
4552
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.LetterCaseLowerIcon, { fontSize: size }),
4611
+ label: (0, import_i18n52.__)("Lowercase", "elementor"),
4612
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseLowerIcon, { fontSize: size }),
4553
4613
  showTooltip: true
4554
4614
  }
4555
4615
  ];
4556
- var TransformField = () => /* @__PURE__ */ React75.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React75.createElement(import_editor_controls47.ToggleControl, { options: options11 })));
4616
+ var TransformField = () => /* @__PURE__ */ React76.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React76.createElement(import_editor_controls47.ToggleControl, { options: options11 })));
4557
4617
 
4558
4618
  // src/components/style-sections/typography-section/word-spacing-field.tsx
4559
- var React76 = __toESM(require("react"));
4619
+ var React77 = __toESM(require("react"));
4560
4620
  var import_react33 = require("react");
4561
4621
  var import_editor_controls48 = require("@elementor/editor-controls");
4562
- var import_i18n52 = require("@wordpress/i18n");
4563
- var WORD_SPACING_LABEL = (0, import_i18n52.__)("Word spacing", "elementor");
4622
+ var import_i18n53 = require("@wordpress/i18n");
4623
+ var WORD_SPACING_LABEL = (0, import_i18n53.__)("Word spacing", "elementor");
4564
4624
  var WordSpacingField = () => {
4565
4625
  const rowRef = (0, import_react33.useRef)(null);
4566
- return /* @__PURE__ */ React76.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React76.createElement(import_editor_controls48.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4626
+ return /* @__PURE__ */ React77.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React77.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React77.createElement(import_editor_controls48.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4567
4627
  };
4568
4628
 
4569
4629
  // src/components/style-sections/typography-section/typography-section.tsx
4570
4630
  var TypographySection = () => {
4571
- return /* @__PURE__ */ React77.createElement(SectionContent, null, /* @__PURE__ */ React77.createElement(FontFamilyField, null), /* @__PURE__ */ React77.createElement(FontWeightField, null), /* @__PURE__ */ React77.createElement(FontSizeField, null), /* @__PURE__ */ React77.createElement(PanelDivider, null), /* @__PURE__ */ React77.createElement(TextAlignmentField, null), /* @__PURE__ */ React77.createElement(TextColorField, null), /* @__PURE__ */ React77.createElement(
4631
+ return /* @__PURE__ */ React78.createElement(SectionContent, null, /* @__PURE__ */ React78.createElement(FontFamilyField, null), /* @__PURE__ */ React78.createElement(FontWeightField, null), /* @__PURE__ */ React78.createElement(FontSizeField, null), /* @__PURE__ */ React78.createElement(PanelDivider, null), /* @__PURE__ */ React78.createElement(TextAlignmentField, null), /* @__PURE__ */ React78.createElement(TextColorField, null), /* @__PURE__ */ React78.createElement(
4572
4632
  StyleTabCollapsibleContent,
4573
4633
  {
4574
4634
  fields: [
@@ -4583,18 +4643,18 @@ var TypographySection = () => {
4583
4643
  "stroke"
4584
4644
  ]
4585
4645
  },
4586
- /* @__PURE__ */ React77.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React77.createElement(LineHeightField, null), /* @__PURE__ */ React77.createElement(LetterSpacingField, null), /* @__PURE__ */ React77.createElement(WordSpacingField, null), /* @__PURE__ */ React77.createElement(ColumnCountField, null), /* @__PURE__ */ React77.createElement(ColumnGapField, null), /* @__PURE__ */ React77.createElement(PanelDivider, null), /* @__PURE__ */ React77.createElement(TextDecorationField, null), /* @__PURE__ */ React77.createElement(TransformField, null), /* @__PURE__ */ React77.createElement(TextDirectionField, null), /* @__PURE__ */ React77.createElement(FontStyleField, null), /* @__PURE__ */ React77.createElement(TextStrokeField, null))
4646
+ /* @__PURE__ */ React78.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React78.createElement(LineHeightField, null), /* @__PURE__ */ React78.createElement(LetterSpacingField, null), /* @__PURE__ */ React78.createElement(WordSpacingField, null), /* @__PURE__ */ React78.createElement(ColumnCountField, null), /* @__PURE__ */ React78.createElement(ColumnGapField, null), /* @__PURE__ */ React78.createElement(PanelDivider, null), /* @__PURE__ */ React78.createElement(TextDecorationField, null), /* @__PURE__ */ React78.createElement(TransformField, null), /* @__PURE__ */ React78.createElement(TextDirectionField, null), /* @__PURE__ */ React78.createElement(FontStyleField, null), /* @__PURE__ */ React78.createElement(TextStrokeField, null))
4587
4647
  ));
4588
4648
  };
4589
4649
 
4590
4650
  // src/components/style-tab-section.tsx
4591
- var React78 = __toESM(require("react"));
4651
+ var React79 = __toESM(require("react"));
4592
4652
  var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
4593
4653
  const { component, name, title, action } = section;
4594
4654
  const tabDefaults = useDefaultPanelSettings();
4595
- const SectionComponent = component || (() => /* @__PURE__ */ React78.createElement(React78.Fragment, null));
4655
+ const SectionComponent = component || (() => /* @__PURE__ */ React79.createElement(React79.Fragment, null));
4596
4656
  const isExpanded = tabDefaults.defaultSectionsExpanded.style?.includes(name);
4597
- return /* @__PURE__ */ React78.createElement(
4657
+ return /* @__PURE__ */ React79.createElement(
4598
4658
  Section,
4599
4659
  {
4600
4660
  title,
@@ -4603,7 +4663,7 @@ var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
4603
4663
  unmountOnExit,
4604
4664
  action
4605
4665
  },
4606
- /* @__PURE__ */ React78.createElement(SectionComponent, null)
4666
+ /* @__PURE__ */ React79.createElement(SectionComponent, null)
4607
4667
  );
4608
4668
  };
4609
4669
 
@@ -4625,7 +4685,7 @@ var StyleTab = () => {
4625
4685
  if (!currentClassesProp) {
4626
4686
  return null;
4627
4687
  }
4628
- return /* @__PURE__ */ React79.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React79.createElement(
4688
+ return /* @__PURE__ */ React80.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React80.createElement(
4629
4689
  StyleProvider,
4630
4690
  {
4631
4691
  meta: { breakpoint, state: activeStyleState },
@@ -4636,13 +4696,13 @@ var StyleTab = () => {
4636
4696
  },
4637
4697
  setMetaState: setActiveStyleState
4638
4698
  },
4639
- /* @__PURE__ */ React79.createElement(import_session7.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React79.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React79.createElement(ClassesHeader, null, /* @__PURE__ */ React79.createElement(CssClassSelector, null), /* @__PURE__ */ React79.createElement(import_ui34.Divider, null)), /* @__PURE__ */ React79.createElement(SectionsList, null, /* @__PURE__ */ React79.createElement(
4699
+ /* @__PURE__ */ React80.createElement(import_session8.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React80.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React80.createElement(ClassesHeader, null, /* @__PURE__ */ React80.createElement(CssClassSelector, null), /* @__PURE__ */ React80.createElement(import_ui34.Divider, null)), /* @__PURE__ */ React80.createElement(SectionsList, null, /* @__PURE__ */ React80.createElement(
4640
4700
  StyleTabSection,
4641
4701
  {
4642
4702
  section: {
4643
4703
  component: LayoutSection,
4644
4704
  name: "Layout",
4645
- title: (0, import_i18n53.__)("Layout", "elementor")
4705
+ title: (0, import_i18n54.__)("Layout", "elementor")
4646
4706
  },
4647
4707
  fields: [
4648
4708
  "display",
@@ -4655,23 +4715,23 @@ var StyleTab = () => {
4655
4715
  "gap"
4656
4716
  ]
4657
4717
  }
4658
- ), /* @__PURE__ */ React79.createElement(
4718
+ ), /* @__PURE__ */ React80.createElement(
4659
4719
  StyleTabSection,
4660
4720
  {
4661
4721
  section: {
4662
4722
  component: SpacingSection,
4663
4723
  name: "Spacing",
4664
- title: (0, import_i18n53.__)("Spacing", "elementor")
4724
+ title: (0, import_i18n54.__)("Spacing", "elementor")
4665
4725
  },
4666
4726
  fields: ["margin", "padding"]
4667
4727
  }
4668
- ), /* @__PURE__ */ React79.createElement(
4728
+ ), /* @__PURE__ */ React80.createElement(
4669
4729
  StyleTabSection,
4670
4730
  {
4671
4731
  section: {
4672
4732
  component: SizeSection,
4673
4733
  name: "Size",
4674
- title: (0, import_i18n53.__)("Size", "elementor")
4734
+ title: (0, import_i18n54.__)("Size", "elementor")
4675
4735
  },
4676
4736
  fields: [
4677
4737
  "width",
@@ -4685,23 +4745,23 @@ var StyleTab = () => {
4685
4745
  "object-fit"
4686
4746
  ]
4687
4747
  }
4688
- ), /* @__PURE__ */ React79.createElement(
4748
+ ), /* @__PURE__ */ React80.createElement(
4689
4749
  StyleTabSection,
4690
4750
  {
4691
4751
  section: {
4692
4752
  component: PositionSection,
4693
4753
  name: "Position",
4694
- title: (0, import_i18n53.__)("Position", "elementor")
4754
+ title: (0, import_i18n54.__)("Position", "elementor")
4695
4755
  },
4696
4756
  fields: ["position", "z-index", "scroll-margin-top"]
4697
4757
  }
4698
- ), /* @__PURE__ */ React79.createElement(
4758
+ ), /* @__PURE__ */ React80.createElement(
4699
4759
  StyleTabSection,
4700
4760
  {
4701
4761
  section: {
4702
4762
  component: TypographySection,
4703
4763
  name: "Typography",
4704
- title: (0, import_i18n53.__)("Typography", "elementor")
4764
+ title: (0, import_i18n54.__)("Typography", "elementor")
4705
4765
  },
4706
4766
  fields: [
4707
4767
  "font-family",
@@ -4720,33 +4780,33 @@ var StyleTab = () => {
4720
4780
  "stroke"
4721
4781
  ]
4722
4782
  }
4723
- ), /* @__PURE__ */ React79.createElement(
4783
+ ), /* @__PURE__ */ React80.createElement(
4724
4784
  StyleTabSection,
4725
4785
  {
4726
4786
  section: {
4727
4787
  component: BackgroundSection,
4728
4788
  name: "Background",
4729
- title: (0, import_i18n53.__)("Background", "elementor")
4789
+ title: (0, import_i18n54.__)("Background", "elementor")
4730
4790
  },
4731
4791
  fields: ["background"]
4732
4792
  }
4733
- ), /* @__PURE__ */ React79.createElement(
4793
+ ), /* @__PURE__ */ React80.createElement(
4734
4794
  StyleTabSection,
4735
4795
  {
4736
4796
  section: {
4737
4797
  component: BorderSection,
4738
4798
  name: "Border",
4739
- title: (0, import_i18n53.__)("Border", "elementor")
4799
+ title: (0, import_i18n54.__)("Border", "elementor")
4740
4800
  },
4741
4801
  fields: ["border-radius", "border-width", "border-color", "border-style"]
4742
4802
  }
4743
- ), /* @__PURE__ */ React79.createElement(
4803
+ ), /* @__PURE__ */ React80.createElement(
4744
4804
  StyleTabSection,
4745
4805
  {
4746
4806
  section: {
4747
4807
  component: EffectsSection,
4748
4808
  name: "Effects",
4749
- title: (0, import_i18n53.__)("Effects", "elementor")
4809
+ title: (0, import_i18n54.__)("Effects", "elementor")
4750
4810
  },
4751
4811
  fields: [
4752
4812
  "mix-blend-mode",
@@ -4759,17 +4819,17 @@ var StyleTab = () => {
4759
4819
  "transition"
4760
4820
  ]
4761
4821
  }
4762
- ), /* @__PURE__ */ React79.createElement(StyleTabSlot, null)), /* @__PURE__ */ React79.createElement(import_ui34.Box, { sx: { height: "150px" } })))
4822
+ ), /* @__PURE__ */ React80.createElement(StyleTabSlot, null)), /* @__PURE__ */ React80.createElement(import_ui34.Box, { sx: { height: "150px" } })))
4763
4823
  ));
4764
4824
  };
4765
4825
  function ClassesHeader({ children }) {
4766
4826
  const scrollDirection = useScrollDirection();
4767
- return /* @__PURE__ */ React79.createElement(import_ui34.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
4827
+ return /* @__PURE__ */ React80.createElement(import_ui34.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
4768
4828
  }
4769
4829
  function useCurrentClassesProp() {
4770
4830
  const { elementType } = useElement();
4771
4831
  const prop = Object.entries(elementType.propsSchema).find(
4772
- ([, propType]) => propType.kind === "plain" && propType.key === import_editor_props15.CLASSES_PROP_KEY
4832
+ ([, propType]) => propType.kind === "plain" && propType.key === import_editor_props14.CLASSES_PROP_KEY
4773
4833
  );
4774
4834
  if (!prop) {
4775
4835
  return null;
@@ -4783,7 +4843,7 @@ var EditingPanelTabs = () => {
4783
4843
  return (
4784
4844
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
4785
4845
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
4786
- /* @__PURE__ */ React80.createElement(import_react35.Fragment, { key: element.id }, /* @__PURE__ */ React80.createElement(PanelTabContent, null))
4846
+ /* @__PURE__ */ React81.createElement(import_react35.Fragment, { key: element.id }, /* @__PURE__ */ React81.createElement(PanelTabContent, null))
4787
4847
  );
4788
4848
  };
4789
4849
  var PanelTabContent = () => {
@@ -4795,7 +4855,7 @@ var PanelTabContent = () => {
4795
4855
  const [storedTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
4796
4856
  const currentTab = isPromotedElement && storedTab === "settings" ? "style" : storedTab;
4797
4857
  const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui35.useTabs)(currentTab);
4798
- return /* @__PURE__ */ React80.createElement(ScrollProvider, null, /* @__PURE__ */ React80.createElement(import_ui35.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React80.createElement(import_ui35.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React80.createElement(
4858
+ return /* @__PURE__ */ React81.createElement(ScrollProvider, null, /* @__PURE__ */ React81.createElement(import_ui35.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React81.createElement(import_ui35.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React81.createElement(
4799
4859
  import_ui35.Tabs,
4800
4860
  {
4801
4861
  variant: "fullWidth",
@@ -4807,10 +4867,10 @@ var PanelTabContent = () => {
4807
4867
  setCurrentTab(newValue);
4808
4868
  }
4809
4869
  },
4810
- !isPromotedElement && /* @__PURE__ */ React80.createElement(import_ui35.Tab, { label: (0, import_i18n54.__)("General", "elementor"), ...getTabProps("settings") }),
4811
- /* @__PURE__ */ React80.createElement(import_ui35.Tab, { label: (0, import_i18n54.__)("Style", "elementor"), ...getTabProps("style") }),
4812
- isInteractionsActive && /* @__PURE__ */ React80.createElement(import_ui35.Tab, { label: (0, import_i18n54.__)("Interactions", "elementor"), ...getTabProps("interactions") })
4813
- ), /* @__PURE__ */ React80.createElement(import_ui35.Divider, null)), !isPromotedElement && /* @__PURE__ */ React80.createElement(import_ui35.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React80.createElement(SettingsTab, null)), /* @__PURE__ */ React80.createElement(import_ui35.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React80.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React80.createElement(import_ui35.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React80.createElement(InteractionsTab, null))));
4870
+ !isPromotedElement && /* @__PURE__ */ React81.createElement(import_ui35.Tab, { label: (0, import_i18n55.__)("General", "elementor"), ...getTabProps("settings") }),
4871
+ /* @__PURE__ */ React81.createElement(import_ui35.Tab, { label: (0, import_i18n55.__)("Style", "elementor"), ...getTabProps("style") }),
4872
+ isInteractionsActive && /* @__PURE__ */ React81.createElement(import_ui35.Tab, { label: (0, import_i18n55.__)("Interactions", "elementor"), ...getTabProps("interactions") })
4873
+ ), /* @__PURE__ */ React81.createElement(import_ui35.Divider, null)), !isPromotedElement && /* @__PURE__ */ React81.createElement(import_ui35.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React81.createElement(SettingsTab, null)), /* @__PURE__ */ React81.createElement(import_ui35.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React81.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React81.createElement(import_ui35.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React81.createElement(InteractionsTab, null))));
4814
4874
  };
4815
4875
 
4816
4876
  // src/components/editing-panel.tsx
@@ -4823,13 +4883,13 @@ var EditingPanel = () => {
4823
4883
  if (!element || !elementType) {
4824
4884
  return null;
4825
4885
  }
4826
- const panelTitle = (0, import_i18n55.__)("Edit %s", "elementor").replace("%s", elementType.title);
4886
+ const panelTitle = (0, import_i18n56.__)("Edit %s", "elementor").replace("%s", elementType.title);
4827
4887
  const { component: ReplacementComponent } = getEditingPanelReplacement(element, elementType) ?? {};
4828
- let panelContent = /* @__PURE__ */ React81.createElement(React81.Fragment, null, /* @__PURE__ */ React81.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React81.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React81.createElement(import_icons21.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React81.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React81.createElement(EditingPanelTabs, null)));
4888
+ let panelContent = /* @__PURE__ */ React82.createElement(React82.Fragment, null, /* @__PURE__ */ React82.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React82.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React82.createElement(import_icons21.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React82.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React82.createElement(EditingPanelTabs, null)));
4829
4889
  if (ReplacementComponent) {
4830
- panelContent = /* @__PURE__ */ React81.createElement(ReplacementComponent, null);
4890
+ panelContent = /* @__PURE__ */ React82.createElement(ReplacementComponent, null);
4831
4891
  }
4832
- return /* @__PURE__ */ React81.createElement(import_ui36.ErrorBoundary, { fallback: /* @__PURE__ */ React81.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React81.createElement(import_session8.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React81.createElement(import_editor_ui7.ThemeProvider, null, /* @__PURE__ */ React81.createElement(import_editor_controls49.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React81.createElement(import_editor_controls49.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React81.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React81.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React81.createElement(PanelHeaderTopSlot, null), panelContent)))))));
4892
+ return /* @__PURE__ */ React82.createElement(import_ui36.ErrorBoundary, { fallback: /* @__PURE__ */ React82.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React82.createElement(import_session9.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React82.createElement(import_editor_ui8.ThemeProvider, null, /* @__PURE__ */ React82.createElement(import_editor_controls49.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React82.createElement(import_editor_controls49.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React82.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React82.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React82.createElement(PanelHeaderTopSlot, null), panelContent)))))));
4833
4893
  };
4834
4894
 
4835
4895
  // src/init.ts
@@ -4881,21 +4941,21 @@ var EditingPanelHooks = () => {
4881
4941
  var import_editor_controls51 = require("@elementor/editor-controls");
4882
4942
 
4883
4943
  // src/components/promotions/custom-css.tsx
4884
- var React82 = __toESM(require("react"));
4944
+ var React83 = __toESM(require("react"));
4885
4945
  var import_react37 = require("react");
4886
4946
  var import_editor_controls50 = require("@elementor/editor-controls");
4887
- var import_i18n56 = require("@wordpress/i18n");
4947
+ var import_i18n57 = require("@wordpress/i18n");
4888
4948
  var TRACKING_DATA = { target_name: "custom_css", location_l2: "style" };
4889
4949
  var CustomCssSection = () => {
4890
4950
  const triggerRef = (0, import_react37.useRef)(null);
4891
- return /* @__PURE__ */ React82.createElement(
4951
+ return /* @__PURE__ */ React83.createElement(
4892
4952
  StyleTabSection,
4893
4953
  {
4894
4954
  section: {
4895
4955
  name: "Custom CSS",
4896
- title: (0, import_i18n56.__)("Custom CSS", "elementor"),
4956
+ title: (0, import_i18n57.__)("Custom CSS", "elementor"),
4897
4957
  action: {
4898
- component: /* @__PURE__ */ React82.createElement(import_editor_controls50.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
4958
+ component: /* @__PURE__ */ React83.createElement(import_editor_controls50.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
4899
4959
  onClick: () => triggerRef.current?.toggle()
4900
4960
  }
4901
4961
  }
@@ -4917,13 +4977,13 @@ var init = () => {
4917
4977
  };
4918
4978
 
4919
4979
  // src/controls-registry/element-controls/tabs-control/tabs-control.tsx
4920
- var React83 = __toESM(require("react"));
4980
+ var React84 = __toESM(require("react"));
4921
4981
  var import_editor_controls53 = require("@elementor/editor-controls");
4922
4982
  var import_editor_elements17 = require("@elementor/editor-elements");
4923
- var import_editor_props17 = require("@elementor/editor-props");
4983
+ var import_editor_props16 = require("@elementor/editor-props");
4924
4984
  var import_icons22 = require("@elementor/icons");
4925
4985
  var import_ui37 = require("@elementor/ui");
4926
- var import_i18n58 = require("@wordpress/i18n");
4986
+ var import_i18n59 = require("@wordpress/i18n");
4927
4987
 
4928
4988
  // src/controls-registry/element-controls/get-element-by-type.ts
4929
4989
  var import_editor_elements15 = require("@elementor/editor-elements");
@@ -4941,12 +5001,12 @@ var getElementByType = (elementId, type) => {
4941
5001
  // src/controls-registry/element-controls/tabs-control/use-actions.ts
4942
5002
  var import_editor_controls52 = require("@elementor/editor-controls");
4943
5003
  var import_editor_elements16 = require("@elementor/editor-elements");
4944
- var import_editor_props16 = require("@elementor/editor-props");
4945
- var import_i18n57 = require("@wordpress/i18n");
5004
+ var import_editor_props15 = require("@elementor/editor-props");
5005
+ var import_i18n58 = require("@wordpress/i18n");
4946
5006
  var TAB_ELEMENT_TYPE = "e-tab";
4947
5007
  var TAB_CONTENT_ELEMENT_TYPE = "e-tab-content";
4948
5008
  var useActions = () => {
4949
- const { value, setValue: setDefaultActiveTab } = (0, import_editor_controls52.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5009
+ const { value, setValue: setDefaultActiveTab } = (0, import_editor_controls52.useBoundProp)(import_editor_props15.numberPropTypeUtil);
4950
5010
  const defaultActiveTab = value ?? 0;
4951
5011
  const duplicateItem = ({
4952
5012
  items: items3,
@@ -4965,7 +5025,7 @@ var useActions = () => {
4965
5025
  }
4966
5026
  (0, import_editor_elements16.duplicateElements)({
4967
5027
  elementIds: [tabId, tabContentId],
4968
- title: (0, import_i18n57.__)("Duplicate Tab", "elementor"),
5028
+ title: (0, import_i18n58.__)("Duplicate Tab", "elementor"),
4969
5029
  onDuplicateElements: () => {
4970
5030
  if (newDefault !== defaultActiveTab) {
4971
5031
  setDefaultActiveTab(newDefault, {}, { withHistory: false });
@@ -5002,7 +5062,7 @@ var useActions = () => {
5002
5062
  defaultActiveTab
5003
5063
  });
5004
5064
  (0, import_editor_elements16.moveElements)({
5005
- title: (0, import_i18n57.__)("Reorder Tabs", "elementor"),
5065
+ title: (0, import_i18n58.__)("Reorder Tabs", "elementor"),
5006
5066
  moves: [
5007
5067
  {
5008
5068
  element: movedElement,
@@ -5036,7 +5096,7 @@ var useActions = () => {
5036
5096
  defaultActiveTab
5037
5097
  });
5038
5098
  (0, import_editor_elements16.removeElements)({
5039
- title: (0, import_i18n57.__)("Tabs", "elementor"),
5099
+ title: (0, import_i18n58.__)("Tabs", "elementor"),
5040
5100
  elementIds: items3.flatMap(({ item, index }) => {
5041
5101
  const tabId = item.id;
5042
5102
  const tabContentContainer = (0, import_editor_elements16.getContainer)(tabContentAreaId);
@@ -5071,7 +5131,7 @@ var useActions = () => {
5071
5131
  items3.forEach(({ index }) => {
5072
5132
  const position = index + 1;
5073
5133
  (0, import_editor_elements16.createElements)({
5074
- title: (0, import_i18n57.__)("Tabs", "elementor"),
5134
+ title: (0, import_i18n58.__)("Tabs", "elementor"),
5075
5135
  elements: [
5076
5136
  {
5077
5137
  container: tabContentArea,
@@ -5140,7 +5200,7 @@ var calculateDefaultOnDuplicate = ({
5140
5200
  var TAB_MENU_ELEMENT_TYPE = "e-tabs-menu";
5141
5201
  var TAB_CONTENT_AREA_ELEMENT_TYPE = "e-tabs-content-area";
5142
5202
  var TabsControl = ({ label }) => {
5143
- return /* @__PURE__ */ React83.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n58.__)("Tabs", "elementor") }, /* @__PURE__ */ React83.createElement(TabsControlContent, { label }));
5203
+ return /* @__PURE__ */ React84.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n59.__)("Tabs", "elementor") }, /* @__PURE__ */ React84.createElement(TabsControlContent, { label }));
5144
5204
  };
5145
5205
  var TabsControlContent = ({ label }) => {
5146
5206
  const { element } = useElement();
@@ -5184,7 +5244,7 @@ var TabsControlContent = ({ label }) => {
5184
5244
  });
5185
5245
  }
5186
5246
  };
5187
- return /* @__PURE__ */ React83.createElement(
5247
+ return /* @__PURE__ */ React84.createElement(
5188
5248
  import_editor_controls53.Repeater,
5189
5249
  {
5190
5250
  showToggle: false,
@@ -5204,26 +5264,26 @@ var TabsControlContent = ({ label }) => {
5204
5264
  };
5205
5265
  var ItemLabel = ({ value, index }) => {
5206
5266
  const elementTitle = value?.title;
5207
- return /* @__PURE__ */ React83.createElement(import_ui37.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React83.createElement("span", null, elementTitle), /* @__PURE__ */ React83.createElement(ItemDefaultTab, { index }));
5267
+ return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React84.createElement("span", null, elementTitle), /* @__PURE__ */ React84.createElement(ItemDefaultTab, { index }));
5208
5268
  };
5209
5269
  var ItemDefaultTab = ({ index }) => {
5210
- const { value: defaultItem } = (0, import_editor_controls53.useBoundProp)(import_editor_props17.numberPropTypeUtil);
5270
+ const { value: defaultItem } = (0, import_editor_controls53.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5211
5271
  const isDefault = defaultItem === index;
5212
5272
  if (!isDefault) {
5213
5273
  return null;
5214
5274
  }
5215
- return /* @__PURE__ */ React83.createElement(import_ui37.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n58.__)("Default", "elementor") });
5275
+ return /* @__PURE__ */ React84.createElement(import_ui37.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n59.__)("Default", "elementor") });
5216
5276
  };
5217
5277
  var ItemContent = ({ value, index }) => {
5218
5278
  if (!value.id) {
5219
5279
  return null;
5220
5280
  }
5221
- return /* @__PURE__ */ React83.createElement(import_ui37.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React83.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React83.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n58.__)("Tabs", "elementor") }, /* @__PURE__ */ React83.createElement(DefaultTabControl, { tabIndex: index })));
5281
+ return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React84.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React84.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n59.__)("Tabs", "elementor") }, /* @__PURE__ */ React84.createElement(DefaultTabControl, { tabIndex: index })));
5222
5282
  };
5223
5283
  var DefaultTabControl = ({ tabIndex }) => {
5224
- const { value, setValue } = (0, import_editor_controls53.useBoundProp)(import_editor_props17.numberPropTypeUtil);
5284
+ const { value, setValue } = (0, import_editor_controls53.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5225
5285
  const isDefault = value === tabIndex;
5226
- return /* @__PURE__ */ React83.createElement(import_ui37.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React83.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n58.__)("Set as default tab", "elementor")), /* @__PURE__ */ React83.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React83.createElement(
5286
+ return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React84.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n59.__)("Set as default tab", "elementor")), /* @__PURE__ */ React84.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React84.createElement(
5227
5287
  import_ui37.Switch,
5228
5288
  {
5229
5289
  size: "small",
@@ -5241,7 +5301,7 @@ var DefaultTabControl = ({ tabIndex }) => {
5241
5301
  var TabLabelControl = ({ elementId }) => {
5242
5302
  const editorSettings = (0, import_editor_elements17.useElementEditorSettings)(elementId);
5243
5303
  const label = editorSettings?.title ?? "";
5244
- return /* @__PURE__ */ React83.createElement(import_ui37.Stack, { gap: 1 }, /* @__PURE__ */ React83.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n58.__)("Tab name", "elementor")), /* @__PURE__ */ React83.createElement(
5304
+ return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { gap: 1 }, /* @__PURE__ */ React84.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n59.__)("Tab name", "elementor")), /* @__PURE__ */ React84.createElement(
5245
5305
  import_ui37.TextField,
5246
5306
  {
5247
5307
  size: "tiny",
@@ -5262,22 +5322,22 @@ var ConditionalTooltip = ({
5262
5322
  if (!showTooltip) {
5263
5323
  return children;
5264
5324
  }
5265
- return /* @__PURE__ */ React83.createElement(
5325
+ return /* @__PURE__ */ React84.createElement(
5266
5326
  import_ui37.Infotip,
5267
5327
  {
5268
5328
  arrow: false,
5269
- content: /* @__PURE__ */ React83.createElement(
5329
+ content: /* @__PURE__ */ React84.createElement(
5270
5330
  import_ui37.Alert,
5271
5331
  {
5272
5332
  color: "secondary",
5273
- icon: /* @__PURE__ */ React83.createElement(import_icons22.InfoCircleFilledIcon, { fontSize: "tiny" }),
5333
+ icon: /* @__PURE__ */ React84.createElement(import_icons22.InfoCircleFilledIcon, { fontSize: "tiny" }),
5274
5334
  size: "small",
5275
5335
  sx: { width: 288 }
5276
5336
  },
5277
- /* @__PURE__ */ React83.createElement(import_ui37.Typography, { variant: "body2" }, (0, import_i18n58.__)("To change the default tab, simply set another tab as default.", "elementor"))
5337
+ /* @__PURE__ */ React84.createElement(import_ui37.Typography, { variant: "body2" }, (0, import_i18n59.__)("To change the default tab, simply set another tab as default.", "elementor"))
5278
5338
  )
5279
5339
  },
5280
- /* @__PURE__ */ React83.createElement("span", null, children)
5340
+ /* @__PURE__ */ React84.createElement("span", null, children)
5281
5341
  );
5282
5342
  };
5283
5343
 
@@ -5299,9 +5359,9 @@ var import_editor_controls60 = require("@elementor/editor-controls");
5299
5359
  var import_menus2 = require("@elementor/menus");
5300
5360
 
5301
5361
  // src/dynamics/components/background-control-dynamic-tag.tsx
5302
- var React84 = __toESM(require("react"));
5362
+ var React85 = __toESM(require("react"));
5303
5363
  var import_editor_controls55 = require("@elementor/editor-controls");
5304
- var import_editor_props19 = require("@elementor/editor-props");
5364
+ var import_editor_props18 = require("@elementor/editor-props");
5305
5365
  var import_icons23 = require("@elementor/icons");
5306
5366
 
5307
5367
  // src/dynamics/hooks/use-dynamic-tag.ts
@@ -5357,11 +5417,11 @@ var filterByLicense = (tags) => {
5357
5417
  };
5358
5418
 
5359
5419
  // src/dynamics/utils.ts
5360
- var import_editor_props18 = require("@elementor/editor-props");
5420
+ var import_editor_props17 = require("@elementor/editor-props");
5361
5421
  var import_editor_v1_adapters10 = require("@elementor/editor-v1-adapters");
5362
5422
  var import_schema = require("@elementor/schema");
5363
5423
  var DYNAMIC_PROP_TYPE_KEY = "dynamic";
5364
- var dynamicPropTypeUtil = (0, import_editor_props18.createPropUtils)(
5424
+ var dynamicPropTypeUtil = (0, import_editor_props17.createPropUtils)(
5365
5425
  DYNAMIC_PROP_TYPE_KEY,
5366
5426
  import_schema.z.strictObject({
5367
5427
  name: import_schema.z.string(),
@@ -5378,7 +5438,7 @@ var getDynamicPropType = (propType) => {
5378
5438
  return dynamicPropType && isDynamicPropType(dynamicPropType) ? dynamicPropType : null;
5379
5439
  };
5380
5440
  var isDynamicPropValue = (prop) => {
5381
- return (0, import_editor_props18.isTransformable)(prop) && prop.$$type === DYNAMIC_PROP_TYPE_KEY;
5441
+ return (0, import_editor_props17.isTransformable)(prop) && prop.$$type === DYNAMIC_PROP_TYPE_KEY;
5382
5442
  };
5383
5443
  var supportsDynamic = (propType) => {
5384
5444
  return !!getDynamicPropType(propType);
@@ -5437,46 +5497,46 @@ var useDynamicTag = (tagName) => {
5437
5497
  };
5438
5498
 
5439
5499
  // src/dynamics/components/background-control-dynamic-tag.tsx
5440
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React84.createElement(import_icons23.DatabaseIcon, { fontSize: "tiny" });
5500
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React85.createElement(import_icons23.DatabaseIcon, { fontSize: "tiny" });
5441
5501
  var BackgroundControlDynamicTagLabel = ({ value }) => {
5442
- const context = (0, import_editor_controls55.useBoundProp)(import_editor_props19.backgroundImageOverlayPropTypeUtil);
5443
- return /* @__PURE__ */ React84.createElement(import_editor_controls55.PropProvider, { ...context, value: value.value }, /* @__PURE__ */ React84.createElement(import_editor_controls55.PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React84.createElement(Wrapper2, { rawValue: value.value })));
5502
+ const context = (0, import_editor_controls55.useBoundProp)(import_editor_props18.backgroundImageOverlayPropTypeUtil);
5503
+ return /* @__PURE__ */ React85.createElement(import_editor_controls55.PropProvider, { ...context, value: value.value }, /* @__PURE__ */ React85.createElement(import_editor_controls55.PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React85.createElement(Wrapper2, { rawValue: value.value })));
5444
5504
  };
5445
5505
  var Wrapper2 = ({ rawValue }) => {
5446
5506
  const { propType } = (0, import_editor_controls55.useBoundProp)();
5447
5507
  const imageOverlayPropType = propType.prop_types["background-image-overlay"];
5448
- return /* @__PURE__ */ React84.createElement(import_editor_controls55.PropProvider, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React84.createElement(import_editor_controls55.PropKeyProvider, { bind: "src" }, /* @__PURE__ */ React84.createElement(Content, { rawValue: rawValue.image })));
5508
+ return /* @__PURE__ */ React85.createElement(import_editor_controls55.PropProvider, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React85.createElement(import_editor_controls55.PropKeyProvider, { bind: "src" }, /* @__PURE__ */ React85.createElement(Content, { rawValue: rawValue.image })));
5449
5509
  };
5450
5510
  var Content = ({ rawValue }) => {
5451
5511
  const src = rawValue.value.src;
5452
5512
  const dynamicTag = useDynamicTag(src.value.name || "");
5453
- return /* @__PURE__ */ React84.createElement(React84.Fragment, null, dynamicTag?.label);
5513
+ return /* @__PURE__ */ React85.createElement(React85.Fragment, null, dynamicTag?.label);
5454
5514
  };
5455
5515
 
5456
5516
  // src/dynamics/components/dynamic-selection-control.tsx
5457
- var React88 = __toESM(require("react"));
5517
+ var React89 = __toESM(require("react"));
5458
5518
  var import_editor_controls58 = require("@elementor/editor-controls");
5459
- var import_editor_ui9 = require("@elementor/editor-ui");
5519
+ var import_editor_ui10 = require("@elementor/editor-ui");
5460
5520
  var import_icons25 = require("@elementor/icons");
5461
5521
  var import_ui39 = require("@elementor/ui");
5462
- var import_i18n60 = require("@wordpress/i18n");
5522
+ var import_i18n61 = require("@wordpress/i18n");
5463
5523
 
5464
5524
  // src/hooks/use-persist-dynamic-value.ts
5465
- var import_session9 = require("@elementor/session");
5525
+ var import_session10 = require("@elementor/session");
5466
5526
  var usePersistDynamicValue = (propKey) => {
5467
5527
  const { element } = useElement();
5468
5528
  const prefixedKey = `dynamic/non-dynamic-values-history/${element.id}/${propKey}`;
5469
- return (0, import_session9.useSessionStorage)(prefixedKey);
5529
+ return (0, import_session10.useSessionStorage)(prefixedKey);
5470
5530
  };
5471
5531
 
5472
5532
  // src/dynamics/dynamic-control.tsx
5473
- var React86 = __toESM(require("react"));
5533
+ var React87 = __toESM(require("react"));
5474
5534
  var import_editor_controls56 = require("@elementor/editor-controls");
5475
5535
 
5476
5536
  // src/dynamics/components/dynamic-conditional-control.tsx
5477
- var React85 = __toESM(require("react"));
5537
+ var React86 = __toESM(require("react"));
5478
5538
  var import_react41 = require("react");
5479
- var import_editor_props20 = require("@elementor/editor-props");
5539
+ var import_editor_props19 = require("@elementor/editor-props");
5480
5540
  var DynamicConditionalControl = ({
5481
5541
  children,
5482
5542
  propType,
@@ -5516,10 +5576,10 @@ var DynamicConditionalControl = ({
5516
5576
  return { ...defaults, ...convertedSettings };
5517
5577
  }, [defaults, convertedSettings]);
5518
5578
  if (!propType?.dependencies?.terms.length) {
5519
- return /* @__PURE__ */ React85.createElement(React85.Fragment, null, children);
5579
+ return /* @__PURE__ */ React86.createElement(React86.Fragment, null, children);
5520
5580
  }
5521
- const isHidden = !(0, import_editor_props20.isDependencyMet)(propType?.dependencies, effectiveSettings).isMet;
5522
- return isHidden ? null : /* @__PURE__ */ React85.createElement(React85.Fragment, null, children);
5581
+ const isHidden = !(0, import_editor_props19.isDependencyMet)(propType?.dependencies, effectiveSettings).isMet;
5582
+ return isHidden ? null : /* @__PURE__ */ React86.createElement(React86.Fragment, null, children);
5523
5583
  };
5524
5584
 
5525
5585
  // src/dynamics/dynamic-control.tsx
@@ -5544,7 +5604,7 @@ var DynamicControl = ({ bind, children }) => {
5544
5604
  });
5545
5605
  };
5546
5606
  const propType = createTopLevelObjectType({ schema: dynamicTag.props_schema });
5547
- return /* @__PURE__ */ React86.createElement(import_editor_controls56.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React86.createElement(import_editor_controls56.PropKeyProvider, { bind }, /* @__PURE__ */ React86.createElement(
5607
+ return /* @__PURE__ */ React87.createElement(import_editor_controls56.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React87.createElement(import_editor_controls56.PropKeyProvider, { bind }, /* @__PURE__ */ React87.createElement(
5548
5608
  DynamicConditionalControl,
5549
5609
  {
5550
5610
  propType: dynamicPropType,
@@ -5556,13 +5616,13 @@ var DynamicControl = ({ bind, children }) => {
5556
5616
  };
5557
5617
 
5558
5618
  // src/dynamics/components/dynamic-selection.tsx
5559
- var React87 = __toESM(require("react"));
5619
+ var React88 = __toESM(require("react"));
5560
5620
  var import_react42 = require("react");
5561
5621
  var import_editor_controls57 = require("@elementor/editor-controls");
5562
- var import_editor_ui8 = require("@elementor/editor-ui");
5622
+ var import_editor_ui9 = require("@elementor/editor-ui");
5563
5623
  var import_icons24 = require("@elementor/icons");
5564
5624
  var import_ui38 = require("@elementor/ui");
5565
- var import_i18n59 = require("@wordpress/i18n");
5625
+ var import_i18n60 = require("@wordpress/i18n");
5566
5626
  var SIZE2 = "tiny";
5567
5627
  var PROMO_TEXT_WIDTH = 170;
5568
5628
  var PRO_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-modal/";
@@ -5609,40 +5669,40 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
5609
5669
  ]);
5610
5670
  const getPopOverContent = () => {
5611
5671
  if (hasNoDynamicTags) {
5612
- return /* @__PURE__ */ React87.createElement(NoDynamicTags, null);
5672
+ return /* @__PURE__ */ React88.createElement(NoDynamicTags, null);
5613
5673
  }
5614
5674
  if (expired) {
5615
- return /* @__PURE__ */ React87.createElement(ExpiredDynamicTags, null);
5675
+ return /* @__PURE__ */ React88.createElement(ExpiredDynamicTags, null);
5616
5676
  }
5617
- return /* @__PURE__ */ React87.createElement(import_react42.Fragment, null, /* @__PURE__ */ React87.createElement(
5618
- import_editor_ui8.SearchField,
5677
+ return /* @__PURE__ */ React88.createElement(import_react42.Fragment, null, /* @__PURE__ */ React88.createElement(
5678
+ import_editor_ui9.SearchField,
5619
5679
  {
5620
5680
  value: searchValue,
5621
5681
  onSearch: handleSearch,
5622
- placeholder: (0, import_i18n59.__)("Search dynamic tags\u2026", "elementor")
5682
+ placeholder: (0, import_i18n60.__)("Search dynamic tags\u2026", "elementor")
5623
5683
  }
5624
- ), /* @__PURE__ */ React87.createElement(import_ui38.Divider, null), /* @__PURE__ */ React87.createElement(
5625
- import_editor_ui8.PopoverMenuList,
5684
+ ), /* @__PURE__ */ React88.createElement(import_ui38.Divider, null), /* @__PURE__ */ React88.createElement(
5685
+ import_editor_ui9.PopoverMenuList,
5626
5686
  {
5627
5687
  items: virtualizedItems,
5628
5688
  onSelect: handleSetDynamicTag,
5629
5689
  onClose: closePopover,
5630
5690
  selectedValue: dynamicValue?.name,
5631
5691
  itemStyle: (item) => item.type === "item" ? { paddingInlineStart: theme.spacing(3.5) } : {},
5632
- noResultsComponent: /* @__PURE__ */ React87.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
5692
+ noResultsComponent: /* @__PURE__ */ React88.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
5633
5693
  }
5634
5694
  ));
5635
5695
  };
5636
- return /* @__PURE__ */ React87.createElement(import_editor_ui8.SectionPopoverBody, { "aria-label": (0, import_i18n59.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React87.createElement(
5637
- import_editor_ui8.PopoverHeader,
5696
+ return /* @__PURE__ */ React88.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n60.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React88.createElement(
5697
+ import_editor_ui9.PopoverHeader,
5638
5698
  {
5639
- title: (0, import_i18n59.__)("Dynamic tags", "elementor"),
5699
+ title: (0, import_i18n60.__)("Dynamic tags", "elementor"),
5640
5700
  onClose: closePopover,
5641
- icon: /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE2 })
5701
+ icon: /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE2 })
5642
5702
  }
5643
5703
  ), getPopOverContent());
5644
5704
  };
5645
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React87.createElement(
5705
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React88.createElement(
5646
5706
  import_ui38.Stack,
5647
5707
  {
5648
5708
  gap: 1,
@@ -5653,11 +5713,11 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React87.createElem
5653
5713
  color: "text.secondary",
5654
5714
  sx: { pb: 3.5 }
5655
5715
  },
5656
- /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5657
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n59.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React87.createElement("br", null), "\u201C", searchValue, "\u201D."),
5658
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n59.__)("Try something else.", "elementor"), /* @__PURE__ */ React87.createElement(import_ui38.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n59.__)("Clear & try again", "elementor")))
5716
+ /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5717
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React88.createElement("br", null), "\u201C", searchValue, "\u201D."),
5718
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n60.__)("Try something else.", "elementor"), /* @__PURE__ */ React88.createElement(import_ui38.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n60.__)("Clear & try again", "elementor")))
5659
5719
  );
5660
- var NoDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(import_ui38.Divider, null), /* @__PURE__ */ React87.createElement(
5720
+ var NoDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(import_ui38.Divider, null), /* @__PURE__ */ React88.createElement(
5661
5721
  import_ui38.Stack,
5662
5722
  {
5663
5723
  gap: 1,
@@ -5668,11 +5728,11 @@ var NoDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment
5668
5728
  color: "text.secondary",
5669
5729
  sx: { pb: 3.5 }
5670
5730
  },
5671
- /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5672
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n59.__)("Streamline your workflow with dynamic tags", "elementor")),
5673
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n59.__)("Upgrade now to display your content dynamically.", "elementor")),
5674
- /* @__PURE__ */ React87.createElement(
5675
- import_editor_ui8.CtaButton,
5731
+ /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5732
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Streamline your workflow with dynamic tags", "elementor")),
5733
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n60.__)("Upgrade now to display your content dynamically.", "elementor")),
5734
+ /* @__PURE__ */ React88.createElement(
5735
+ import_editor_ui9.CtaButton,
5676
5736
  {
5677
5737
  size: "small",
5678
5738
  href: PRO_DYNAMIC_TAGS_URL,
@@ -5680,7 +5740,7 @@ var NoDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment
5680
5740
  }
5681
5741
  )
5682
5742
  ));
5683
- var ExpiredDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(import_ui38.Divider, null), /* @__PURE__ */ React87.createElement(
5743
+ var ExpiredDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(import_ui38.Divider, null), /* @__PURE__ */ React88.createElement(
5684
5744
  import_ui38.Stack,
5685
5745
  {
5686
5746
  gap: 1,
@@ -5691,16 +5751,16 @@ var ExpiredDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fra
5691
5751
  color: "text.secondary",
5692
5752
  sx: { pb: 3.5 }
5693
5753
  },
5694
- /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5695
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n59.__)("Unlock your Dynamic tags again", "elementor")),
5696
- /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n59.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
5697
- /* @__PURE__ */ React87.createElement(
5698
- import_editor_ui8.CtaButton,
5754
+ /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5755
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Unlock your Dynamic tags again", "elementor")),
5756
+ /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n60.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
5757
+ /* @__PURE__ */ React88.createElement(
5758
+ import_editor_ui9.CtaButton,
5699
5759
  {
5700
5760
  size: "small",
5701
5761
  href: RENEW_DYNAMIC_TAGS_URL,
5702
5762
  onClick: () => (0, import_editor_controls57.trackUpgradePromotionClick)({ target_name: "dynamic_tags" }),
5703
- children: (0, import_i18n59.__)("Renew Now", "elementor")
5763
+ children: (0, import_i18n60.__)("Renew Now", "elementor")
5704
5764
  }
5705
5765
  )
5706
5766
  ));
@@ -5737,7 +5797,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5737
5797
  const { name: tagName = "" } = value;
5738
5798
  const dynamicTag = useDynamicTag(tagName);
5739
5799
  if (!isDynamicTagSupported(tagName) && OriginalControl) {
5740
- return /* @__PURE__ */ React88.createElement(import_editor_controls58.PropProvider, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React88.createElement(import_editor_controls58.PropKeyProvider, { bind }, /* @__PURE__ */ React88.createElement(OriginalControl, { ...props })));
5800
+ return /* @__PURE__ */ React89.createElement(import_editor_controls58.PropProvider, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React89.createElement(import_editor_controls58.PropKeyProvider, { bind }, /* @__PURE__ */ React89.createElement(OriginalControl, { ...props })));
5741
5801
  }
5742
5802
  const removeDynamicTag = () => {
5743
5803
  setAnyValue(propValueFromHistory ?? null);
@@ -5745,25 +5805,25 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5745
5805
  if (!dynamicTag) {
5746
5806
  throw new Error(`Dynamic tag ${tagName} not found`);
5747
5807
  }
5748
- return /* @__PURE__ */ React88.createElement(import_ui39.Box, null, /* @__PURE__ */ React88.createElement(
5808
+ return /* @__PURE__ */ React89.createElement(import_ui39.Box, null, /* @__PURE__ */ React89.createElement(
5749
5809
  import_ui39.UnstableTag,
5750
5810
  {
5751
5811
  fullWidth: true,
5752
5812
  showActionsOnHover: true,
5753
5813
  label: dynamicTag.label,
5754
- startIcon: /* @__PURE__ */ React88.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 }),
5814
+ startIcon: /* @__PURE__ */ React89.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 }),
5755
5815
  ...(0, import_ui39.bindTrigger)(selectionPopoverState),
5756
- actions: /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React88.createElement(
5816
+ actions: /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React89.createElement(
5757
5817
  import_ui39.IconButton,
5758
5818
  {
5759
5819
  size: SIZE3,
5760
5820
  onClick: removeDynamicTag,
5761
- "aria-label": (0, import_i18n60.__)("Remove dynamic value", "elementor")
5821
+ "aria-label": (0, import_i18n61.__)("Remove dynamic value", "elementor")
5762
5822
  },
5763
- /* @__PURE__ */ React88.createElement(import_icons25.XIcon, { fontSize: SIZE3 })
5823
+ /* @__PURE__ */ React89.createElement(import_icons25.XIcon, { fontSize: SIZE3 })
5764
5824
  ))
5765
5825
  }
5766
- ), /* @__PURE__ */ React88.createElement(
5826
+ ), /* @__PURE__ */ React89.createElement(
5767
5827
  import_ui39.Popover,
5768
5828
  {
5769
5829
  disablePortal: true,
@@ -5775,7 +5835,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5775
5835
  },
5776
5836
  ...(0, import_ui39.bindPopover)(selectionPopoverState)
5777
5837
  },
5778
- /* @__PURE__ */ React88.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n60.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React88.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
5838
+ /* @__PURE__ */ React89.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n61.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React89.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
5779
5839
  ));
5780
5840
  };
5781
5841
  var DynamicSettingsPopover = ({
@@ -5787,16 +5847,16 @@ var DynamicSettingsPopover = ({
5787
5847
  if (!hasDynamicSettings) {
5788
5848
  return null;
5789
5849
  }
5790
- return /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(
5850
+ return /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(
5791
5851
  import_ui39.IconButton,
5792
5852
  {
5793
5853
  size: SIZE3,
5794
5854
  disabled,
5795
5855
  ...!disabled && (0, import_ui39.bindTrigger)(popupState),
5796
- "aria-label": (0, import_i18n60.__)("Dynamic settings", "elementor")
5856
+ "aria-label": (0, import_i18n61.__)("Dynamic settings", "elementor")
5797
5857
  },
5798
- /* @__PURE__ */ React88.createElement(import_icons25.SettingsIcon, { fontSize: SIZE3 })
5799
- ), /* @__PURE__ */ React88.createElement(
5858
+ /* @__PURE__ */ React89.createElement(import_icons25.SettingsIcon, { fontSize: SIZE3 })
5859
+ ), /* @__PURE__ */ React89.createElement(
5800
5860
  import_ui39.Popover,
5801
5861
  {
5802
5862
  disablePortal: true,
@@ -5808,14 +5868,14 @@ var DynamicSettingsPopover = ({
5808
5868
  },
5809
5869
  ...(0, import_ui39.bindPopover)(popupState)
5810
5870
  },
5811
- /* @__PURE__ */ React88.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n60.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React88.createElement(
5812
- import_editor_ui9.PopoverHeader,
5871
+ /* @__PURE__ */ React89.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n61.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React89.createElement(
5872
+ import_editor_ui10.PopoverHeader,
5813
5873
  {
5814
5874
  title: dynamicTag.label,
5815
5875
  onClose: popupState.close,
5816
- icon: /* @__PURE__ */ React88.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 })
5876
+ icon: /* @__PURE__ */ React89.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 })
5817
5877
  }
5818
- ), /* @__PURE__ */ React88.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
5878
+ ), /* @__PURE__ */ React89.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
5819
5879
  ));
5820
5880
  };
5821
5881
  var DynamicSettings = ({ controls, tagName }) => {
@@ -5826,9 +5886,9 @@ var DynamicSettings = ({ controls, tagName }) => {
5826
5886
  }
5827
5887
  if (tagsWithoutTabs.includes(tagName)) {
5828
5888
  const singleTab = tabs[0];
5829
- return /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(import_ui39.Divider, null), /* @__PURE__ */ React88.createElement(ControlsItemsStack, { items: singleTab.value.items }));
5889
+ return /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(import_ui39.Divider, null), /* @__PURE__ */ React89.createElement(ControlsItemsStack, { items: singleTab.value.items }));
5830
5890
  }
5831
- return /* @__PURE__ */ React88.createElement(React88.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React88.createElement(import_ui39.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React88.createElement(
5891
+ return /* @__PURE__ */ React89.createElement(React89.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React89.createElement(import_ui39.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React89.createElement(
5832
5892
  import_ui39.Tab,
5833
5893
  {
5834
5894
  key: index,
@@ -5836,15 +5896,15 @@ var DynamicSettings = ({ controls, tagName }) => {
5836
5896
  sx: { px: 1, py: 0.5 },
5837
5897
  ...getTabProps(index)
5838
5898
  }
5839
- ))), /* @__PURE__ */ React88.createElement(import_ui39.Divider, null), tabs.map(({ value }, index) => {
5840
- return /* @__PURE__ */ React88.createElement(
5899
+ ))), /* @__PURE__ */ React89.createElement(import_ui39.Divider, null), tabs.map(({ value }, index) => {
5900
+ return /* @__PURE__ */ React89.createElement(
5841
5901
  import_ui39.TabPanel,
5842
5902
  {
5843
5903
  key: index,
5844
5904
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
5845
5905
  ...getTabPanelProps(index)
5846
5906
  },
5847
- /* @__PURE__ */ React88.createElement(ControlsItemsStack, { items: value.items })
5907
+ /* @__PURE__ */ React89.createElement(ControlsItemsStack, { items: value.items })
5848
5908
  );
5849
5909
  }));
5850
5910
  };
@@ -5886,17 +5946,17 @@ var Control2 = ({ control }) => {
5886
5946
  display: "grid",
5887
5947
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
5888
5948
  } : {};
5889
- return /* @__PURE__ */ React88.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React88.createElement(import_ui39.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React88.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React88.createElement(import_editor_controls58.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React88.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React88.createElement(Control, { type: control.type, props: controlProps }))));
5949
+ return /* @__PURE__ */ React89.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React89.createElement(import_ui39.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React89.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React89.createElement(import_editor_controls58.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React89.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React89.createElement(Control, { type: control.type, props: controlProps }))));
5890
5950
  };
5891
5951
  function ControlsItemsStack({ items: items3 }) {
5892
- return /* @__PURE__ */ React88.createElement(import_ui39.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
5893
- (item) => item.type === "control" ? /* @__PURE__ */ React88.createElement(Control2, { key: item.value.bind, control: item.value }) : null
5952
+ return /* @__PURE__ */ React89.createElement(import_ui39.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
5953
+ (item) => item.type === "control" ? /* @__PURE__ */ React89.createElement(Control2, { key: item.value.bind, control: item.value }) : null
5894
5954
  ));
5895
5955
  }
5896
5956
 
5897
5957
  // src/dynamics/dynamic-transformer.ts
5898
5958
  var import_editor_canvas2 = require("@elementor/editor-canvas");
5899
- var import_editor_props21 = require("@elementor/editor-props");
5959
+ var import_editor_props20 = require("@elementor/editor-props");
5900
5960
 
5901
5961
  // src/dynamics/errors.ts
5902
5962
  var import_utils9 = require("@elementor/utils");
@@ -5914,7 +5974,7 @@ var dynamicTransformer = (0, import_editor_canvas2.createTransformer)((value, {
5914
5974
  });
5915
5975
  function simpleTransform(props) {
5916
5976
  const transformed = Object.entries(props).map(([settingKey, settingValue]) => {
5917
- const value = (0, import_editor_props21.isTransformable)(settingValue) ? settingValue.value : settingValue;
5977
+ const value = (0, import_editor_props20.isTransformable)(settingValue) ? settingValue.value : settingValue;
5918
5978
  return [settingKey, value];
5919
5979
  });
5920
5980
  return Object.fromEntries(transformed);
@@ -5943,18 +6003,18 @@ function getDynamicValue(name, settings) {
5943
6003
  }
5944
6004
 
5945
6005
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
5946
- var React89 = __toESM(require("react"));
6006
+ var React90 = __toESM(require("react"));
5947
6007
  var import_editor_controls59 = require("@elementor/editor-controls");
5948
6008
  var import_icons26 = require("@elementor/icons");
5949
- var import_i18n61 = require("@wordpress/i18n");
6009
+ var import_i18n62 = require("@wordpress/i18n");
5950
6010
  var usePropDynamicAction = () => {
5951
6011
  const { propType } = (0, import_editor_controls59.useBoundProp)();
5952
6012
  const visible = !!propType && supportsDynamic(propType);
5953
6013
  return {
5954
6014
  visible,
5955
6015
  icon: import_icons26.DatabaseIcon,
5956
- title: (0, import_i18n61.__)("Dynamic tags", "elementor"),
5957
- content: ({ close }) => /* @__PURE__ */ React89.createElement(DynamicSelection, { close })
6016
+ title: (0, import_i18n62.__)("Dynamic tags", "elementor"),
6017
+ content: ({ close }) => /* @__PURE__ */ React90.createElement(DynamicSelection, { close })
5958
6018
  };
5959
6019
  };
5960
6020
 
@@ -5989,7 +6049,7 @@ var import_editor_controls61 = require("@elementor/editor-controls");
5989
6049
  var import_editor_variables2 = require("@elementor/editor-variables");
5990
6050
  var import_icons27 = require("@elementor/icons");
5991
6051
  var import_menus3 = require("@elementor/menus");
5992
- var import_i18n62 = require("@wordpress/i18n");
6052
+ var import_i18n63 = require("@wordpress/i18n");
5993
6053
 
5994
6054
  // src/utils/is-equal.ts
5995
6055
  function isEqual(a, b) {
@@ -6065,33 +6125,33 @@ function useResetStyleValueProps() {
6065
6125
  const visible = calculateVisibility();
6066
6126
  return {
6067
6127
  visible,
6068
- title: (0, import_i18n62.__)("Clear", "elementor"),
6128
+ title: (0, import_i18n63.__)("Clear", "elementor"),
6069
6129
  icon: import_icons27.BrushBigIcon,
6070
6130
  onClick: () => resetValue()
6071
6131
  };
6072
6132
  }
6073
6133
 
6074
6134
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
6075
- var React95 = __toESM(require("react"));
6135
+ var React96 = __toESM(require("react"));
6076
6136
  var import_editor_controls62 = require("@elementor/editor-controls");
6077
- var import_editor_props22 = require("@elementor/editor-props");
6078
- var import_editor_styles_repository16 = require("@elementor/editor-styles-repository");
6079
- var import_i18n66 = require("@wordpress/i18n");
6137
+ var import_editor_props21 = require("@elementor/editor-props");
6138
+ var import_editor_styles_repository17 = require("@elementor/editor-styles-repository");
6139
+ var import_i18n67 = require("@wordpress/i18n");
6080
6140
 
6081
6141
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6082
- var React94 = __toESM(require("react"));
6142
+ var React95 = __toESM(require("react"));
6083
6143
  var import_react44 = require("react");
6084
6144
  var import_editor_canvas5 = require("@elementor/editor-canvas");
6085
- var import_editor_ui10 = require("@elementor/editor-ui");
6145
+ var import_editor_ui11 = require("@elementor/editor-ui");
6086
6146
  var import_ui44 = require("@elementor/ui");
6087
- var import_i18n65 = require("@wordpress/i18n");
6147
+ var import_i18n66 = require("@wordpress/i18n");
6088
6148
 
6089
6149
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
6090
6150
  var import_react43 = require("react");
6091
6151
  var import_editor_canvas4 = require("@elementor/editor-canvas");
6092
6152
  var import_editor_styles8 = require("@elementor/editor-styles");
6093
- var import_editor_styles_repository14 = require("@elementor/editor-styles-repository");
6094
- var import_i18n63 = require("@wordpress/i18n");
6153
+ var import_editor_styles_repository15 = require("@elementor/editor-styles-repository");
6154
+ var import_i18n64 = require("@wordpress/i18n");
6095
6155
  var MAXIMUM_ITEMS = 2;
6096
6156
  var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6097
6157
  const [items3, setItems] = (0, import_react43.useState)([]);
@@ -6102,7 +6162,7 @@ var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6102
6162
  );
6103
6163
  const validItems = normalizedItems.map((item) => ({
6104
6164
  ...item,
6105
- displayLabel: import_editor_styles_repository14.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n63.__)("Base", "elementor")
6165
+ displayLabel: import_editor_styles_repository15.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n64.__)("Base", "elementor")
6106
6166
  })).filter((item) => !item.value || item.displayLabel !== "").slice(0, MAXIMUM_ITEMS);
6107
6167
  setItems(validItems);
6108
6168
  })();
@@ -6159,7 +6219,7 @@ var getTransformedValue = async (item, bind, resolve) => {
6159
6219
  };
6160
6220
 
6161
6221
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
6162
- var React90 = __toESM(require("react"));
6222
+ var React91 = __toESM(require("react"));
6163
6223
  var import_editor_responsive4 = require("@elementor/editor-responsive");
6164
6224
  var import_icons28 = require("@elementor/icons");
6165
6225
  var import_ui40 = require("@elementor/ui");
@@ -6182,20 +6242,20 @@ var BreakpointIcon = ({ breakpoint }) => {
6182
6242
  return null;
6183
6243
  }
6184
6244
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
6185
- return /* @__PURE__ */ React90.createElement(import_ui40.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React90.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6245
+ return /* @__PURE__ */ React91.createElement(import_ui40.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React91.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6186
6246
  };
6187
6247
 
6188
6248
  // src/styles-inheritance/components/infotip/label-chip.tsx
6189
- var React91 = __toESM(require("react"));
6190
- var import_editor_styles_repository15 = require("@elementor/editor-styles-repository");
6249
+ var React92 = __toESM(require("react"));
6250
+ var import_editor_styles_repository16 = require("@elementor/editor-styles-repository");
6191
6251
  var import_icons29 = require("@elementor/icons");
6192
6252
  var import_ui41 = require("@elementor/ui");
6193
- var import_i18n64 = require("@wordpress/i18n");
6253
+ var import_i18n65 = require("@wordpress/i18n");
6194
6254
  var SIZE5 = "tiny";
6195
6255
  var LabelChip = ({ displayLabel, provider }) => {
6196
- const isBaseStyle = provider === import_editor_styles_repository15.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
6197
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React91.createElement(import_ui41.Tooltip, { title: (0, import_i18n64.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React91.createElement(import_icons29.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6198
- return /* @__PURE__ */ React91.createElement(
6256
+ const isBaseStyle = provider === import_editor_styles_repository16.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
6257
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React92.createElement(import_ui41.Tooltip, { title: (0, import_i18n65.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React92.createElement(import_icons29.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6258
+ return /* @__PURE__ */ React92.createElement(
6199
6259
  import_ui41.Chip,
6200
6260
  {
6201
6261
  label: displayLabel,
@@ -6221,10 +6281,10 @@ var LabelChip = ({ displayLabel, provider }) => {
6221
6281
  };
6222
6282
 
6223
6283
  // src/styles-inheritance/components/infotip/value-component.tsx
6224
- var React92 = __toESM(require("react"));
6284
+ var React93 = __toESM(require("react"));
6225
6285
  var import_ui42 = require("@elementor/ui");
6226
6286
  var ValueComponent = ({ index, value }) => {
6227
- return /* @__PURE__ */ React92.createElement(import_ui42.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React92.createElement(
6287
+ return /* @__PURE__ */ React93.createElement(import_ui42.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React93.createElement(
6228
6288
  import_ui42.Typography,
6229
6289
  {
6230
6290
  variant: "caption",
@@ -6246,9 +6306,9 @@ var ValueComponent = ({ index, value }) => {
6246
6306
  };
6247
6307
 
6248
6308
  // src/styles-inheritance/components/infotip/action-icons.tsx
6249
- var React93 = __toESM(require("react"));
6309
+ var React94 = __toESM(require("react"));
6250
6310
  var import_ui43 = require("@elementor/ui");
6251
- var ActionIcons = () => /* @__PURE__ */ React93.createElement(import_ui43.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6311
+ var ActionIcons = () => /* @__PURE__ */ React94.createElement(import_ui43.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6252
6312
 
6253
6313
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6254
6314
  var SECTION_PADDING_INLINE = 32;
@@ -6276,7 +6336,7 @@ var StylesInheritanceInfotip = ({
6276
6336
  setShowInfotip(false);
6277
6337
  };
6278
6338
  const key = path.join(".");
6279
- const sectionWidth = (0, import_editor_ui10.useSectionWidth)();
6339
+ const sectionWidth = (0, import_editor_ui11.useSectionWidth)();
6280
6340
  const resolve = (0, import_react44.useMemo)(() => {
6281
6341
  return (0, import_editor_canvas5.createPropsResolver)({
6282
6342
  transformers: import_editor_canvas5.stylesInheritanceTransformersRegistry,
@@ -6284,7 +6344,7 @@ var StylesInheritanceInfotip = ({
6284
6344
  });
6285
6345
  }, [key, propType]);
6286
6346
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
6287
- const infotipContent = /* @__PURE__ */ React94.createElement(import_ui44.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React94.createElement(
6347
+ const infotipContent = /* @__PURE__ */ React95.createElement(import_ui44.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React95.createElement(
6288
6348
  import_ui44.Card,
6289
6349
  {
6290
6350
  elevation: 0,
@@ -6297,7 +6357,7 @@ var StylesInheritanceInfotip = ({
6297
6357
  flexDirection: "column"
6298
6358
  }
6299
6359
  },
6300
- /* @__PURE__ */ React94.createElement(
6360
+ /* @__PURE__ */ React95.createElement(
6301
6361
  import_ui44.Box,
6302
6362
  {
6303
6363
  sx: {
@@ -6307,9 +6367,9 @@ var StylesInheritanceInfotip = ({
6307
6367
  backgroundColor: "background.paper"
6308
6368
  }
6309
6369
  },
6310
- /* @__PURE__ */ React94.createElement(import_editor_ui10.PopoverHeader, { title: (0, import_i18n65.__)("Style origin", "elementor"), onClose: closeInfotip })
6370
+ /* @__PURE__ */ React95.createElement(import_editor_ui11.PopoverHeader, { title: (0, import_i18n66.__)("Style origin", "elementor"), onClose: closeInfotip })
6311
6371
  ),
6312
- /* @__PURE__ */ React94.createElement(
6372
+ /* @__PURE__ */ React95.createElement(
6313
6373
  import_ui44.CardContent,
6314
6374
  {
6315
6375
  sx: {
@@ -6323,39 +6383,39 @@ var StylesInheritanceInfotip = ({
6323
6383
  }
6324
6384
  }
6325
6385
  },
6326
- /* @__PURE__ */ React94.createElement(import_ui44.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
6327
- return /* @__PURE__ */ React94.createElement(
6386
+ /* @__PURE__ */ React95.createElement(import_ui44.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
6387
+ return /* @__PURE__ */ React95.createElement(
6328
6388
  import_ui44.Box,
6329
6389
  {
6330
6390
  key: item.id,
6331
6391
  display: "flex",
6332
6392
  gap: 0.5,
6333
6393
  role: "listitem",
6334
- "aria-label": (0, import_i18n65.__)("Inheritance item: %s", "elementor").replace(
6394
+ "aria-label": (0, import_i18n66.__)("Inheritance item: %s", "elementor").replace(
6335
6395
  "%s",
6336
6396
  item.displayLabel
6337
6397
  )
6338
6398
  },
6339
- /* @__PURE__ */ React94.createElement(
6399
+ /* @__PURE__ */ React95.createElement(
6340
6400
  import_ui44.Box,
6341
6401
  {
6342
6402
  display: "flex",
6343
6403
  gap: 0.5,
6344
6404
  sx: { flexWrap: "wrap", width: "100%", alignItems: "flex-start" }
6345
6405
  },
6346
- /* @__PURE__ */ React94.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
6347
- /* @__PURE__ */ React94.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
6348
- /* @__PURE__ */ React94.createElement(ValueComponent, { index, value: item.value })
6406
+ /* @__PURE__ */ React95.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
6407
+ /* @__PURE__ */ React95.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
6408
+ /* @__PURE__ */ React95.createElement(ValueComponent, { index, value: item.value })
6349
6409
  ),
6350
- /* @__PURE__ */ React94.createElement(ActionIcons, null)
6410
+ /* @__PURE__ */ React95.createElement(ActionIcons, null)
6351
6411
  );
6352
6412
  }))
6353
6413
  )
6354
6414
  ));
6355
6415
  if (isDisabled) {
6356
- return /* @__PURE__ */ React94.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6416
+ return /* @__PURE__ */ React95.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6357
6417
  }
6358
- return /* @__PURE__ */ React94.createElement(import_ui44.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React94.createElement(
6418
+ return /* @__PURE__ */ React95.createElement(import_ui44.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React95.createElement(
6359
6419
  TooltipOrInfotip,
6360
6420
  {
6361
6421
  showInfotip,
@@ -6363,7 +6423,7 @@ var StylesInheritanceInfotip = ({
6363
6423
  infotipContent,
6364
6424
  isDisabled
6365
6425
  },
6366
- /* @__PURE__ */ React94.createElement(
6426
+ /* @__PURE__ */ React95.createElement(
6367
6427
  import_ui44.IconButton,
6368
6428
  {
6369
6429
  onClick: toggleInfotip,
@@ -6383,10 +6443,10 @@ function TooltipOrInfotip({
6383
6443
  isDisabled
6384
6444
  }) {
6385
6445
  if (isDisabled) {
6386
- return /* @__PURE__ */ React94.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6446
+ return /* @__PURE__ */ React95.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6387
6447
  }
6388
6448
  if (showInfotip) {
6389
- return /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement(
6449
+ return /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(
6390
6450
  import_ui44.Backdrop,
6391
6451
  {
6392
6452
  open: showInfotip,
@@ -6396,7 +6456,7 @@ function TooltipOrInfotip({
6396
6456
  zIndex: (theme) => theme.zIndex.modal - 1
6397
6457
  }
6398
6458
  }
6399
- ), /* @__PURE__ */ React94.createElement(
6459
+ ), /* @__PURE__ */ React95.createElement(
6400
6460
  import_ui44.Infotip,
6401
6461
  {
6402
6462
  placement: "top-end",
@@ -6408,7 +6468,7 @@ function TooltipOrInfotip({
6408
6468
  children
6409
6469
  ));
6410
6470
  }
6411
- return /* @__PURE__ */ React94.createElement(import_ui44.Tooltip, { title: (0, import_i18n65.__)("Style origin", "elementor"), placement: "top" }, children);
6471
+ return /* @__PURE__ */ React95.createElement(import_ui44.Tooltip, { title: (0, import_i18n66.__)("Style origin", "elementor"), placement: "top" }, children);
6412
6472
  }
6413
6473
 
6414
6474
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
@@ -6421,14 +6481,14 @@ var StylesInheritanceIndicator = ({
6421
6481
  if (!path || !inheritanceChain.length) {
6422
6482
  return null;
6423
6483
  }
6424
- return /* @__PURE__ */ React95.createElement(Indicator, { inheritanceChain, path, propType });
6484
+ return /* @__PURE__ */ React96.createElement(Indicator, { inheritanceChain, path, propType });
6425
6485
  };
6426
6486
  var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6427
6487
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
6428
6488
  const currentItem = currentStyleId ? getValueFromInheritanceChain(inheritanceChain, currentStyleId, currentStyleMeta) : null;
6429
- const hasValue = !(0, import_editor_props22.isEmpty)(currentItem?.value);
6489
+ const hasValue = !(0, import_editor_props21.isEmpty)(currentItem?.value);
6430
6490
  const [actualStyle] = inheritanceChain;
6431
- if (actualStyle.provider === import_editor_styles_repository16.ELEMENTS_BASE_STYLES_PROVIDER_KEY) {
6491
+ if (actualStyle.provider === import_editor_styles_repository17.ELEMENTS_BASE_STYLES_PROVIDER_KEY) {
6432
6492
  return null;
6433
6493
  }
6434
6494
  const isFinalValue = currentItem === actualStyle;
@@ -6437,7 +6497,7 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6437
6497
  getColor: isFinalValue && currentStyleProvider ? getStylesProviderThemeColor(currentStyleProvider.getKey()) : void 0,
6438
6498
  isOverridden: hasValue && !isFinalValue ? true : void 0
6439
6499
  };
6440
- return /* @__PURE__ */ React95.createElement(
6500
+ return /* @__PURE__ */ React96.createElement(
6441
6501
  StylesInheritanceInfotip,
6442
6502
  {
6443
6503
  inheritanceChain,
@@ -6446,17 +6506,17 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6446
6506
  label,
6447
6507
  isDisabled
6448
6508
  },
6449
- /* @__PURE__ */ React95.createElement(StyleIndicator, { ...styleIndicatorProps })
6509
+ /* @__PURE__ */ React96.createElement(StyleIndicator, { ...styleIndicatorProps })
6450
6510
  );
6451
6511
  };
6452
6512
  var getLabel = ({ isFinalValue, hasValue }) => {
6453
6513
  if (isFinalValue) {
6454
- return (0, import_i18n66.__)("This is the final value", "elementor");
6514
+ return (0, import_i18n67.__)("This is the final value", "elementor");
6455
6515
  }
6456
6516
  if (hasValue) {
6457
- return (0, import_i18n66.__)("This value is overridden by another style", "elementor");
6517
+ return (0, import_i18n67.__)("This value is overridden by another style", "elementor");
6458
6518
  }
6459
- return (0, import_i18n66.__)("This has value from another style", "elementor");
6519
+ return (0, import_i18n67.__)("This has value from another style", "elementor");
6460
6520
  };
6461
6521
 
6462
6522
  // src/styles-inheritance/init-styles-inheritance-transformers.ts
@@ -6477,7 +6537,7 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
6477
6537
  ]);
6478
6538
 
6479
6539
  // src/styles-inheritance/transformers/array-transformer.tsx
6480
- var React96 = __toESM(require("react"));
6540
+ var React97 = __toESM(require("react"));
6481
6541
  var import_editor_canvas6 = require("@elementor/editor-canvas");
6482
6542
  var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) => {
6483
6543
  if (!values || values.length === 0) {
@@ -6487,16 +6547,16 @@ var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) =>
6487
6547
  if (allStrings) {
6488
6548
  return values.join(" ");
6489
6549
  }
6490
- return /* @__PURE__ */ React96.createElement(React96.Fragment, null, values.map((item, index) => /* @__PURE__ */ React96.createElement(React96.Fragment, { key: index }, index > 0 && " ", item)));
6550
+ return /* @__PURE__ */ React97.createElement(React97.Fragment, null, values.map((item, index) => /* @__PURE__ */ React97.createElement(React97.Fragment, { key: index }, index > 0 && " ", item)));
6491
6551
  });
6492
6552
 
6493
6553
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
6494
- var React97 = __toESM(require("react"));
6554
+ var React98 = __toESM(require("react"));
6495
6555
  var import_editor_canvas7 = require("@elementor/editor-canvas");
6496
6556
  var import_ui45 = require("@elementor/ui");
6497
- var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React97.createElement(import_ui45.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React97.createElement(ItemLabelColor, { value })));
6557
+ var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React98.createElement(import_ui45.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React98.createElement(ItemLabelColor, { value })));
6498
6558
  var ItemLabelColor = ({ value: { color } }) => {
6499
- return /* @__PURE__ */ React97.createElement("span", null, color);
6559
+ return /* @__PURE__ */ React98.createElement("span", null, color);
6500
6560
  };
6501
6561
  var StyledUnstableColorIndicator = (0, import_ui45.styled)(import_ui45.UnstableColorIndicator)(({ theme }) => ({
6502
6562
  width: "1em",
@@ -6507,20 +6567,20 @@ var StyledUnstableColorIndicator = (0, import_ui45.styled)(import_ui45.UnstableC
6507
6567
  }));
6508
6568
 
6509
6569
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
6510
- var React98 = __toESM(require("react"));
6570
+ var React99 = __toESM(require("react"));
6511
6571
  var import_editor_canvas8 = require("@elementor/editor-canvas");
6512
6572
  var import_ui46 = require("@elementor/ui");
6513
- var import_i18n67 = require("@wordpress/i18n");
6514
- var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React98.createElement(import_ui46.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React98.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React98.createElement(ItemLabelGradient, { value })));
6573
+ var import_i18n68 = require("@wordpress/i18n");
6574
+ var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React99.createElement(import_ui46.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React99.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React99.createElement(ItemLabelGradient, { value })));
6515
6575
  var ItemIconGradient = ({ value }) => {
6516
6576
  const gradient = getGradientValue(value);
6517
- return /* @__PURE__ */ React98.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
6577
+ return /* @__PURE__ */ React99.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
6518
6578
  };
6519
6579
  var ItemLabelGradient = ({ value }) => {
6520
6580
  if (value.type === "linear") {
6521
- return /* @__PURE__ */ React98.createElement("span", null, (0, import_i18n67.__)("Linear gradient", "elementor"));
6581
+ return /* @__PURE__ */ React99.createElement("span", null, (0, import_i18n68.__)("Linear gradient", "elementor"));
6522
6582
  }
6523
- return /* @__PURE__ */ React98.createElement("span", null, (0, import_i18n67.__)("Radial gradient", "elementor"));
6583
+ return /* @__PURE__ */ React99.createElement("span", null, (0, import_i18n68.__)("Radial gradient", "elementor"));
6524
6584
  };
6525
6585
  var getGradientValue = (gradient) => {
6526
6586
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
@@ -6531,15 +6591,15 @@ var getGradientValue = (gradient) => {
6531
6591
  };
6532
6592
 
6533
6593
  // src/styles-inheritance/transformers/background-image-overlay-transformer.tsx
6534
- var React99 = __toESM(require("react"));
6594
+ var React100 = __toESM(require("react"));
6535
6595
  var import_editor_canvas9 = require("@elementor/editor-canvas");
6536
- var import_editor_ui11 = require("@elementor/editor-ui");
6596
+ var import_editor_ui12 = require("@elementor/editor-ui");
6537
6597
  var import_ui47 = require("@elementor/ui");
6538
6598
  var import_wp_media = require("@elementor/wp-media");
6539
- var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React99.createElement(import_ui47.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React99.createElement(ItemIconImage, { value }), /* @__PURE__ */ React99.createElement(ItemLabelImage, { value })));
6599
+ var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React100.createElement(import_ui47.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React100.createElement(ItemIconImage, { value }), /* @__PURE__ */ React100.createElement(ItemLabelImage, { value })));
6540
6600
  var ItemIconImage = ({ value }) => {
6541
6601
  const { imageUrl } = useImage(value);
6542
- return /* @__PURE__ */ React99.createElement(
6602
+ return /* @__PURE__ */ React100.createElement(
6543
6603
  import_ui47.CardMedia,
6544
6604
  {
6545
6605
  image: imageUrl,
@@ -6555,7 +6615,7 @@ var ItemIconImage = ({ value }) => {
6555
6615
  };
6556
6616
  var ItemLabelImage = ({ value }) => {
6557
6617
  const { imageTitle } = useImage(value);
6558
- return /* @__PURE__ */ React99.createElement(import_editor_ui11.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React99.createElement("span", null, imageTitle));
6618
+ return /* @__PURE__ */ React100.createElement(import_editor_ui12.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React100.createElement("span", null, imageTitle));
6559
6619
  };
6560
6620
  var useImage = (image) => {
6561
6621
  let imageTitle, imageUrl = null;
@@ -6580,7 +6640,7 @@ var getFileExtensionFromFilename = (filename) => {
6580
6640
  };
6581
6641
 
6582
6642
  // src/styles-inheritance/transformers/box-shadow-transformer.tsx
6583
- var React100 = __toESM(require("react"));
6643
+ var React101 = __toESM(require("react"));
6584
6644
  var import_editor_canvas10 = require("@elementor/editor-canvas");
6585
6645
  var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value) => {
6586
6646
  if (!value) {
@@ -6590,11 +6650,11 @@ var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value)
6590
6650
  const colorValue = color || "#000000";
6591
6651
  const sizes = [hOffset || "0px", vOffset || "0px", blur || "10px", spread || "0px"].join(" ");
6592
6652
  const positionValue = position || "outset";
6593
- return /* @__PURE__ */ React100.createElement(React100.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
6653
+ return /* @__PURE__ */ React101.createElement(React101.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
6594
6654
  });
6595
6655
 
6596
6656
  // src/styles-inheritance/transformers/color-transformer.tsx
6597
- var React101 = __toESM(require("react"));
6657
+ var React102 = __toESM(require("react"));
6598
6658
  var import_editor_canvas11 = require("@elementor/editor-canvas");
6599
6659
  var import_ui48 = require("@elementor/ui");
6600
6660
  function isValidCSSColor(value) {
@@ -6614,7 +6674,7 @@ var colorTransformer = (0, import_editor_canvas11.createTransformer)((value) =>
6614
6674
  if (!isValidCSSColor(value)) {
6615
6675
  return value;
6616
6676
  }
6617
- return /* @__PURE__ */ React101.createElement(import_ui48.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React101.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React101.createElement("span", null, value));
6677
+ return /* @__PURE__ */ React102.createElement(import_ui48.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React102.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React102.createElement("span", null, value));
6618
6678
  });
6619
6679
 
6620
6680
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx
@@ -6721,9 +6781,13 @@ var blockV1Panel = () => {
6721
6781
  doApplyClasses,
6722
6782
  doGetAppliedClasses,
6723
6783
  doUnapplyClass,
6784
+ extractDependencyEffect,
6785
+ extractOrderedDependencies,
6786
+ getElementSettingsWithDefaults,
6724
6787
  getFieldIndicators,
6725
6788
  getSubtitle,
6726
6789
  getTitle,
6790
+ getUpdatedValues,
6727
6791
  init,
6728
6792
  injectIntoClassSelectorActions,
6729
6793
  injectIntoCssClassConvert,