@elementor/editor-editing-panel 4.0.0-564 → 4.0.0-591

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
@@ -1724,7 +1724,7 @@ var hasInheritedCustomCss = (style, meta) => {
1724
1724
  };
1725
1725
 
1726
1726
  // src/components/editing-panel.tsx
1727
- var React82 = __toESM(require("react"));
1727
+ var React81 = __toESM(require("react"));
1728
1728
  var import_editor_controls49 = require("@elementor/editor-controls");
1729
1729
  var import_editor_elements13 = require("@elementor/editor-elements");
1730
1730
  var import_editor_panels = require("@elementor/editor-panels");
@@ -1733,8 +1733,8 @@ var import_icons21 = require("@elementor/icons");
1733
1733
  var import_locations4 = require("@elementor/locations");
1734
1734
  var import_menus = require("@elementor/menus");
1735
1735
  var import_session8 = require("@elementor/session");
1736
- var import_ui37 = require("@elementor/ui");
1737
- var import_i18n56 = require("@wordpress/i18n");
1736
+ var import_ui36 = require("@elementor/ui");
1737
+ var import_i18n55 = require("@wordpress/i18n");
1738
1738
 
1739
1739
  // src/editing-panel-replacement-registry.tsx
1740
1740
  var registry = /* @__PURE__ */ new Map();
@@ -1756,11 +1756,11 @@ function EditorPanelErrorFallback() {
1756
1756
  }
1757
1757
 
1758
1758
  // src/components/editing-panel-tabs.tsx
1759
- var import_react34 = require("react");
1760
- var React81 = __toESM(require("react"));
1759
+ var import_react33 = require("react");
1760
+ var React80 = __toESM(require("react"));
1761
1761
  var import_editor_v1_adapters7 = require("@elementor/editor-v1-adapters");
1762
- var import_ui36 = require("@elementor/ui");
1763
- var import_i18n55 = require("@wordpress/i18n");
1762
+ var import_ui35 = require("@elementor/ui");
1763
+ var import_i18n54 = require("@wordpress/i18n");
1764
1764
 
1765
1765
  // src/contexts/scroll-context.tsx
1766
1766
  var React13 = __toESM(require("react"));
@@ -1863,62 +1863,17 @@ var InteractionsTab = () => {
1863
1863
  };
1864
1864
 
1865
1865
  // src/components/settings-tab.tsx
1866
- var React23 = __toESM(require("react"));
1866
+ var React22 = __toESM(require("react"));
1867
1867
  var import_session5 = require("@elementor/session");
1868
1868
 
1869
1869
  // src/components/section.tsx
1870
- var React17 = __toESM(require("react"));
1871
- var import_react18 = require("react");
1872
- var import_editor_ui5 = require("@elementor/editor-ui");
1873
- var import_ui12 = require("@elementor/ui");
1874
-
1875
- // src/components/collapsible-content.tsx
1876
1870
  var React16 = __toESM(require("react"));
1877
1871
  var import_react17 = require("react");
1878
1872
  var import_editor_ui4 = require("@elementor/editor-ui");
1879
1873
  var import_ui11 = require("@elementor/ui");
1880
- var import_i18n7 = require("@wordpress/i18n");
1881
- var IndicatorsWrapper = (0, import_ui11.styled)("div")`
1882
- position: absolute;
1883
- top: 0;
1884
- right: ${({ theme }) => theme.spacing(3)};
1885
- height: 100%;
1886
- display: flex;
1887
- flex-direction: column;
1888
- align-items: center;
1889
- justify-content: center;
1890
- `;
1891
- var CollapsibleContent = ({ children, defaultOpen = false, titleEnd = null }) => {
1892
- const [open, setOpen] = (0, import_react17.useState)(defaultOpen);
1893
- const handleToggle = () => {
1894
- setOpen((prevOpen) => !prevOpen);
1895
- };
1896
- return /* @__PURE__ */ React16.createElement(import_ui11.Stack, null, /* @__PURE__ */ React16.createElement(import_ui11.Stack, { sx: { position: "relative" } }, /* @__PURE__ */ React16.createElement(
1897
- import_ui11.Button,
1898
- {
1899
- fullWidth: true,
1900
- size: "small",
1901
- color: "secondary",
1902
- variant: "outlined",
1903
- onClick: handleToggle,
1904
- endIcon: /* @__PURE__ */ React16.createElement(import_editor_ui4.CollapseIcon, { open }),
1905
- sx: { my: 0.5 },
1906
- "aria-label": open ? "Show less" : "Show more"
1907
- },
1908
- open ? (0, import_i18n7.__)("Show less", "elementor") : (0, import_i18n7.__)("Show more", "elementor")
1909
- ), titleEnd && /* @__PURE__ */ React16.createElement(IndicatorsWrapper, null, getCollapsibleValue(titleEnd, open))), /* @__PURE__ */ React16.createElement(import_ui11.Collapse, { in: open, timeout: "auto", unmountOnExit: true }, children));
1910
- };
1911
- function getCollapsibleValue(value, isOpen) {
1912
- if (typeof value === "function") {
1913
- return value(isOpen);
1914
- }
1915
- return value;
1916
- }
1917
-
1918
- // src/components/section.tsx
1919
1874
  function Section({ title, children, defaultExpanded = false, titleEnd, unmountOnExit = true, action }) {
1920
1875
  const [isOpen, setIsOpen] = useStateByElement(title, !!defaultExpanded);
1921
- const ref = (0, import_react18.useRef)(null);
1876
+ const ref = (0, import_react17.useRef)(null);
1922
1877
  const isDisabled = !!action;
1923
1878
  const handleClick = () => {
1924
1879
  if (isDisabled) {
@@ -1927,11 +1882,11 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1927
1882
  setIsOpen(!isOpen);
1928
1883
  }
1929
1884
  };
1930
- const id = (0, import_react18.useId)();
1885
+ const id = (0, import_react17.useId)();
1931
1886
  const labelId = `label-${id}`;
1932
1887
  const contentId = `content-${id}`;
1933
- return /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement(
1934
- import_ui12.ListItemButton,
1888
+ return /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement(
1889
+ import_ui11.ListItemButton,
1935
1890
  {
1936
1891
  id: labelId,
1937
1892
  "aria-controls": contentId,
@@ -1939,17 +1894,17 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1939
1894
  onClick: handleClick,
1940
1895
  sx: { "&:hover": { backgroundColor: "transparent" } }
1941
1896
  },
1942
- /* @__PURE__ */ React17.createElement(import_ui12.Stack, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React17.createElement(
1943
- import_ui12.ListItemText,
1897
+ /* @__PURE__ */ React16.createElement(import_ui11.Stack, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React16.createElement(
1898
+ import_ui11.ListItemText,
1944
1899
  {
1945
1900
  secondary: title,
1946
1901
  secondaryTypographyProps: { color: "text.primary", variant: "caption", fontWeight: "bold" },
1947
1902
  sx: { flexGrow: 0, flexShrink: 1, marginInlineEnd: 1 }
1948
1903
  }
1949
- ), getCollapsibleValue(titleEnd, isOpen)),
1904
+ ), (0, import_editor_ui4.getCollapsibleValue)(titleEnd, isOpen)),
1950
1905
  action?.component,
1951
- /* @__PURE__ */ React17.createElement(
1952
- import_editor_ui5.CollapseIcon,
1906
+ /* @__PURE__ */ React16.createElement(
1907
+ import_editor_ui4.CollapseIcon,
1953
1908
  {
1954
1909
  open: isOpen,
1955
1910
  color: "secondary",
@@ -1958,8 +1913,8 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1958
1913
  sx: { ml: 1 }
1959
1914
  }
1960
1915
  )
1961
- ), /* @__PURE__ */ React17.createElement(
1962
- import_ui12.Collapse,
1916
+ ), /* @__PURE__ */ React16.createElement(
1917
+ import_ui11.Collapse,
1963
1918
  {
1964
1919
  id: contentId,
1965
1920
  "aria-labelledby": labelId,
@@ -1967,17 +1922,17 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
1967
1922
  timeout: "auto",
1968
1923
  unmountOnExit
1969
1924
  },
1970
- /* @__PURE__ */ React17.createElement(import_editor_ui5.SectionRefContext.Provider, { value: ref }, /* @__PURE__ */ React17.createElement(import_ui12.Stack, { ref, gap: 2.5, p: 2, "aria-label": `${title} section content` }, children))
1971
- ), /* @__PURE__ */ React17.createElement(import_ui12.Divider, null));
1925
+ /* @__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))
1926
+ ), /* @__PURE__ */ React16.createElement(import_ui11.Divider, null));
1972
1927
  }
1973
1928
 
1974
1929
  // src/components/settings-control.tsx
1975
- var React22 = __toESM(require("react"));
1930
+ var React21 = __toESM(require("react"));
1976
1931
  var import_editor_controls4 = require("@elementor/editor-controls");
1977
- var import_ui15 = require("@elementor/ui");
1932
+ var import_ui14 = require("@elementor/ui");
1978
1933
 
1979
1934
  // src/controls-registry/control.tsx
1980
- var React18 = __toESM(require("react"));
1935
+ var React17 = __toESM(require("react"));
1981
1936
 
1982
1937
  // src/controls-registry/controls-registry.tsx
1983
1938
  var import_editor_controls = require("@elementor/editor-controls");
@@ -2000,7 +1955,8 @@ var controlTypes = {
2000
1955
  "html-tag": { component: import_editor_controls.HtmlTagControl, layout: "two-columns", propTypeUtil: import_editor_props4.stringPropTypeUtil },
2001
1956
  toggle: { component: import_editor_controls.ToggleControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },
2002
1957
  "date-time": { component: import_editor_controls.DateTimeControl, layout: "full", propTypeUtil: import_editor_props4.DateTimePropTypeUtil },
2003
- "inline-editing": { component: import_editor_controls.InlineEditingControl, layout: "full", propTypeUtil: import_editor_props4.htmlV2PropTypeUtil }
1958
+ "inline-editing": { component: import_editor_controls.InlineEditingControl, layout: "full", propTypeUtil: import_editor_props4.htmlV3PropTypeUtil },
1959
+ email: { component: import_editor_controls.EmailFormActionControl, layout: "custom", propTypeUtil: import_editor_props4.emailPropTypeUtil }
2004
1960
  };
2005
1961
  var ControlsRegistry = class {
2006
1962
  constructor(controlsRegistry2) {
@@ -2043,19 +1999,19 @@ var Control = ({ props, type }) => {
2043
1999
  context: { controlType: type }
2044
2000
  });
2045
2001
  }
2046
- return /* @__PURE__ */ React18.createElement(ControlByType, { ...props, context: { elementId: element.id } });
2002
+ return /* @__PURE__ */ React17.createElement(ControlByType, { ...props, context: { elementId: element.id } });
2047
2003
  };
2048
2004
 
2049
2005
  // src/controls-registry/control-type-container.tsx
2050
- var React19 = __toESM(require("react"));
2051
- var import_ui13 = require("@elementor/ui");
2006
+ var React18 = __toESM(require("react"));
2007
+ var import_ui12 = require("@elementor/ui");
2052
2008
  var ControlTypeContainer = ({ children, layout }) => {
2053
2009
  if (layout === "custom") {
2054
2010
  return children;
2055
2011
  }
2056
- return /* @__PURE__ */ React19.createElement(StyledContainer, { layout }, children);
2012
+ return /* @__PURE__ */ React18.createElement(StyledContainer, { layout }, children);
2057
2013
  };
2058
- var StyledContainer = (0, import_ui13.styled)(import_ui13.Box, {
2014
+ var StyledContainer = (0, import_ui12.styled)(import_ui12.Box, {
2059
2015
  shouldForwardProp: (prop) => !["layout"].includes(prop)
2060
2016
  })(({ layout, theme }) => ({
2061
2017
  display: "grid",
@@ -2081,14 +2037,14 @@ var getStyleByLayout = (layout) => {
2081
2037
  };
2082
2038
 
2083
2039
  // src/controls-registry/settings-field.tsx
2084
- var React20 = __toESM(require("react"));
2085
- var import_react19 = require("react");
2040
+ var React19 = __toESM(require("react"));
2041
+ var import_react18 = require("react");
2086
2042
  var import_editor_controls2 = require("@elementor/editor-controls");
2087
2043
  var import_editor_documents2 = require("@elementor/editor-documents");
2088
2044
  var import_editor_elements7 = require("@elementor/editor-elements");
2089
2045
  var import_editor_props6 = require("@elementor/editor-props");
2090
2046
  var import_editor_v1_adapters4 = require("@elementor/editor-v1-adapters");
2091
- var import_i18n8 = require("@wordpress/i18n");
2047
+ var import_i18n7 = require("@wordpress/i18n");
2092
2048
 
2093
2049
  // src/utils/prop-dependency-utils.ts
2094
2050
  var import_editor_props5 = require("@elementor/editor-props");
@@ -2191,7 +2147,10 @@ function updateValue(path, value, values) {
2191
2147
  }
2192
2148
  function handleUnmetCondition(props) {
2193
2149
  const { failingDependencies, dependency, elementValues, defaultValue, elementId } = props;
2194
- const newValue = failingDependencies.find((term) => term.newValue)?.newValue ?? null;
2150
+ const termWithNewValue = failingDependencies.find(
2151
+ (term) => "newValue" in term && !!term.newValue
2152
+ );
2153
+ const newValue = termWithNewValue?.newValue ?? null;
2195
2154
  const currentValue = (0, import_editor_props5.extractValue)(dependency.split("."), elementValues) ?? defaultValue;
2196
2155
  savePreviousValueToStorage({
2197
2156
  path: dependency,
@@ -2258,13 +2217,19 @@ var SettingsField = ({ bind, children, propDisplayName }) => {
2258
2217
  }
2259
2218
  };
2260
2219
  const isDisabled = (prop) => !(0, import_editor_props6.isDependencyMet)(prop?.dependencies, elementSettingValues).isMet;
2261
- return /* @__PURE__ */ React20.createElement(import_editor_controls2.PropProvider, { propType, value, setValue, isDisabled }, /* @__PURE__ */ React20.createElement(import_editor_controls2.PropKeyProvider, { bind }, children));
2220
+ const propTypeToBind = propsSchema[bind];
2221
+ const dependenciesResult = (0, import_editor_props6.isDependencyMet)(propTypeToBind?.dependencies, elementSettingValues);
2222
+ const shouldHide = !dependenciesResult.isMet && !(0, import_editor_props6.isDependency)(dependenciesResult.failingDependencies[0]) && dependenciesResult.failingDependencies[0]?.effect === "hide";
2223
+ if (shouldHide) {
2224
+ return null;
2225
+ }
2226
+ return /* @__PURE__ */ React19.createElement(import_editor_controls2.PropProvider, { propType, value, setValue, isDisabled }, /* @__PURE__ */ React19.createElement(import_editor_controls2.PropKeyProvider, { bind }, children));
2262
2227
  };
2263
2228
  function useUndoableUpdateElementProp({
2264
2229
  elementId,
2265
2230
  propDisplayName
2266
2231
  }) {
2267
- return (0, import_react19.useMemo)(() => {
2232
+ return (0, import_react18.useMemo)(() => {
2268
2233
  return (0, import_editor_v1_adapters4.undoable)(
2269
2234
  {
2270
2235
  do: (newSettings) => {
@@ -2280,7 +2245,7 @@ function useUndoableUpdateElementProp({
2280
2245
  {
2281
2246
  title: (0, import_editor_elements7.getElementLabel)(elementId),
2282
2247
  // translators: %s is the name of the property that was edited.
2283
- subtitle: (0, import_i18n8.__)("%s edited", "elementor").replace("%s", propDisplayName),
2248
+ subtitle: (0, import_i18n7.__)("%s edited", "elementor").replace("%s", propDisplayName),
2284
2249
  debounce: { wait: HISTORY_DEBOUNCE_WAIT2 }
2285
2250
  }
2286
2251
  );
@@ -2308,15 +2273,15 @@ var registerFieldIndicator = ({
2308
2273
  var getFieldIndicators = (fieldType) => Array.from(indicatorsRegistry[fieldType].values()).sort((a, b) => a.priority - b.priority).map(({ id, indicator: Adornment }) => ({ id, Adornment }));
2309
2274
 
2310
2275
  // src/components/control-label.tsx
2311
- var React21 = __toESM(require("react"));
2276
+ var React20 = __toESM(require("react"));
2312
2277
  var import_editor_controls3 = require("@elementor/editor-controls");
2313
- var import_ui14 = require("@elementor/ui");
2278
+ var import_ui13 = require("@elementor/ui");
2314
2279
  var ControlLabel = ({ children }) => {
2315
- return /* @__PURE__ */ React21.createElement(import_ui14.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));
2280
+ 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));
2316
2281
  };
2317
2282
 
2318
2283
  // src/components/settings-control.tsx
2319
- var Wrapper = (0, import_ui15.styled)("span")`
2284
+ var Wrapper = (0, import_ui14.styled)("span")`
2320
2285
  display: contents;
2321
2286
  `;
2322
2287
  var SettingsControl = ({ control: { value, type } }) => {
@@ -2329,9 +2294,9 @@ var SettingsControl = ({ control: { value, type } }) => {
2329
2294
  controlProps.label = value.label;
2330
2295
  }
2331
2296
  if (type === "element-control") {
2332
- return /* @__PURE__ */ React22.createElement(ControlLayout, { control: value, layout, controlProps });
2297
+ return /* @__PURE__ */ React21.createElement(ControlLayout, { control: value, layout, controlProps });
2333
2298
  }
2334
- return /* @__PURE__ */ React22.createElement(SettingsField, { bind: value.bind, propDisplayName: value.label || value.bind }, /* @__PURE__ */ React22.createElement(ControlLayout, { control: value, layout, controlProps }));
2299
+ return /* @__PURE__ */ React21.createElement(SettingsField, { bind: value.bind, propDisplayName: value.label || value.bind }, /* @__PURE__ */ React21.createElement(ControlLayout, { control: value, layout, controlProps }));
2335
2300
  };
2336
2301
  var ControlLayout = ({
2337
2302
  control,
@@ -2339,7 +2304,7 @@ var ControlLayout = ({
2339
2304
  controlProps
2340
2305
  }) => {
2341
2306
  const controlType = control.type;
2342
- return /* @__PURE__ */ React22.createElement(import_editor_controls4.ControlAdornmentsProvider, { items: getFieldIndicators("settings") }, control.meta?.topDivider && /* @__PURE__ */ React22.createElement(import_ui15.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 }))));
2307
+ 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 }))));
2343
2308
  };
2344
2309
  function populateChildControlProps(props) {
2345
2310
  if (props.childControlType) {
@@ -2362,13 +2327,13 @@ var SettingsTab = () => {
2362
2327
  const { elementType, element } = useElement();
2363
2328
  const settingsDefault = useDefaultPanelSettings();
2364
2329
  const isDefaultExpanded = (sectionId) => settingsDefault.defaultSectionsExpanded.settings?.includes(sectionId);
2365
- return /* @__PURE__ */ React23.createElement(import_session5.SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React23.createElement(SectionsList, null, elementType.controls.map((control, index) => {
2330
+ return /* @__PURE__ */ React22.createElement(import_session5.SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React22.createElement(SectionsList, null, elementType.controls.map((control, index) => {
2366
2331
  if (isControl(control)) {
2367
- return /* @__PURE__ */ React23.createElement(SettingsControl, { key: getKey(control, element), control });
2332
+ return /* @__PURE__ */ React22.createElement(SettingsControl, { key: getKey(control, element), control });
2368
2333
  }
2369
2334
  const { type, value } = control;
2370
2335
  if (type === "section") {
2371
- return /* @__PURE__ */ React23.createElement(
2336
+ return /* @__PURE__ */ React22.createElement(
2372
2337
  Section,
2373
2338
  {
2374
2339
  title: value.label,
@@ -2377,7 +2342,7 @@ var SettingsTab = () => {
2377
2342
  },
2378
2343
  value.items?.map((item) => {
2379
2344
  if (isControl(item)) {
2380
- return /* @__PURE__ */ React23.createElement(SettingsControl, { key: getKey(item, element), control: item });
2345
+ return /* @__PURE__ */ React22.createElement(SettingsControl, { key: getKey(item, element), control: item });
2381
2346
  }
2382
2347
  return null;
2383
2348
  })
@@ -2397,18 +2362,18 @@ function isControl(control) {
2397
2362
  }
2398
2363
 
2399
2364
  // src/components/style-tab.tsx
2400
- var React80 = __toESM(require("react"));
2401
- var import_react33 = require("react");
2365
+ var React79 = __toESM(require("react"));
2366
+ var import_react32 = require("react");
2402
2367
  var import_editor_props14 = require("@elementor/editor-props");
2403
2368
  var import_editor_responsive3 = require("@elementor/editor-responsive");
2404
2369
  var import_locations3 = require("@elementor/locations");
2405
2370
  var import_session7 = require("@elementor/session");
2406
- var import_ui35 = require("@elementor/ui");
2407
- var import_i18n54 = require("@wordpress/i18n");
2371
+ var import_ui34 = require("@elementor/ui");
2372
+ var import_i18n53 = require("@wordpress/i18n");
2408
2373
 
2409
2374
  // src/contexts/styles-inheritance-context.tsx
2410
- var React24 = __toESM(require("react"));
2411
- var import_react20 = require("react");
2375
+ var React23 = __toESM(require("react"));
2376
+ var import_react19 = require("react");
2412
2377
  var import_editor_elements8 = require("@elementor/editor-elements");
2413
2378
  var import_editor_props9 = require("@elementor/editor-props");
2414
2379
  var import_editor_responsive2 = require("@elementor/editor-responsive");
@@ -2640,15 +2605,15 @@ var getFilterPropType = (propType, path) => {
2640
2605
  };
2641
2606
 
2642
2607
  // src/contexts/styles-inheritance-context.tsx
2643
- var Context4 = (0, import_react20.createContext)(null);
2608
+ var Context4 = (0, import_react19.createContext)(null);
2644
2609
  function StyleInheritanceProvider({ children }) {
2645
2610
  const styleDefs = useAppliedStyles();
2646
2611
  const breakpointsTree = (0, import_editor_responsive2.getBreakpointsTree)();
2647
2612
  const { getSnapshot, getInheritanceChain } = createStylesInheritance(styleDefs, breakpointsTree);
2648
- return /* @__PURE__ */ React24.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
2613
+ return /* @__PURE__ */ React23.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
2649
2614
  }
2650
2615
  function useStylesInheritanceSnapshot() {
2651
- const context = (0, import_react20.useContext)(Context4);
2616
+ const context = (0, import_react19.useContext)(Context4);
2652
2617
  const { meta } = useStyle();
2653
2618
  if (!context) {
2654
2619
  throw new Error("useStylesInheritanceSnapshot must be used within a StyleInheritanceProvider");
@@ -2659,7 +2624,7 @@ function useStylesInheritanceSnapshot() {
2659
2624
  return context.getSnapshot(meta) ?? null;
2660
2625
  }
2661
2626
  function useStylesInheritanceChain(path) {
2662
- const context = (0, import_react20.useContext)(Context4);
2627
+ const context = (0, import_react19.useContext)(Context4);
2663
2628
  if (!context) {
2664
2629
  throw new Error("useStylesInheritanceChain must be used within a StyleInheritanceProvider");
2665
2630
  }
@@ -2714,12 +2679,12 @@ function useActiveAndAppliedClassId(id, appliedClassesIds) {
2714
2679
  }
2715
2680
 
2716
2681
  // src/components/style-sections/background-section/background-section.tsx
2717
- var React27 = __toESM(require("react"));
2682
+ var React26 = __toESM(require("react"));
2718
2683
  var import_editor_controls7 = require("@elementor/editor-controls");
2719
- var import_i18n9 = require("@wordpress/i18n");
2684
+ var import_i18n8 = require("@wordpress/i18n");
2720
2685
 
2721
2686
  // src/controls-registry/styles-field.tsx
2722
- var React25 = __toESM(require("react"));
2687
+ var React24 = __toESM(require("react"));
2723
2688
  var import_editor_controls6 = require("@elementor/editor-controls");
2724
2689
  var import_editor_styles6 = require("@elementor/editor-styles");
2725
2690
 
@@ -2763,7 +2728,7 @@ var StylesField = ({ bind, propDisplayName, children }) => {
2763
2728
  const setValue = (newValue) => {
2764
2729
  fields.setValue(newValue[bind]);
2765
2730
  };
2766
- return /* @__PURE__ */ React25.createElement(import_editor_controls6.ControlAdornmentsProvider, { items: getFieldIndicators("styles") }, /* @__PURE__ */ React25.createElement(
2731
+ return /* @__PURE__ */ React24.createElement(import_editor_controls6.ControlAdornmentsProvider, { items: getFieldIndicators("styles") }, /* @__PURE__ */ React24.createElement(
2767
2732
  import_editor_controls6.PropProvider,
2768
2733
  {
2769
2734
  propType,
@@ -2772,41 +2737,41 @@ var StylesField = ({ bind, propDisplayName, children }) => {
2772
2737
  placeholder: placeholderValues,
2773
2738
  isDisabled: () => !canEdit
2774
2739
  },
2775
- /* @__PURE__ */ React25.createElement(import_editor_controls6.PropKeyProvider, { bind }, /* @__PURE__ */ React25.createElement(ConditionalField, null, children))
2740
+ /* @__PURE__ */ React24.createElement(import_editor_controls6.PropKeyProvider, { bind }, /* @__PURE__ */ React24.createElement(ConditionalField, null, children))
2776
2741
  ));
2777
2742
  };
2778
2743
 
2779
2744
  // src/components/section-content.tsx
2780
- var React26 = __toESM(require("react"));
2781
- var import_ui16 = require("@elementor/ui");
2782
- var SectionContent = ({ gap = 2, sx, children, "aria-label": ariaLabel }) => /* @__PURE__ */ React26.createElement(import_ui16.Stack, { gap, sx: { ...sx }, "aria-label": ariaLabel }, children);
2745
+ var React25 = __toESM(require("react"));
2746
+ var import_ui15 = require("@elementor/ui");
2747
+ var SectionContent = ({ gap = 2, sx, children, "aria-label": ariaLabel }) => /* @__PURE__ */ React25.createElement(import_ui15.Stack, { gap, sx: { ...sx }, "aria-label": ariaLabel }, children);
2783
2748
 
2784
2749
  // src/components/style-sections/background-section/background-section.tsx
2785
- var BACKGROUND_LABEL = (0, import_i18n9.__)("Background", "elementor");
2750
+ var BACKGROUND_LABEL = (0, import_i18n8.__)("Background", "elementor");
2786
2751
  var BackgroundSection = () => {
2787
- return /* @__PURE__ */ React27.createElement(SectionContent, null, /* @__PURE__ */ React27.createElement(StylesField, { bind: "background", propDisplayName: BACKGROUND_LABEL }, /* @__PURE__ */ React27.createElement(import_editor_controls7.BackgroundControl, null)));
2752
+ return /* @__PURE__ */ React26.createElement(SectionContent, null, /* @__PURE__ */ React26.createElement(StylesField, { bind: "background", propDisplayName: BACKGROUND_LABEL }, /* @__PURE__ */ React26.createElement(import_editor_controls7.BackgroundControl, null)));
2788
2753
  };
2789
2754
 
2790
2755
  // src/components/style-sections/border-section/border-section.tsx
2791
- var React34 = __toESM(require("react"));
2756
+ var React33 = __toESM(require("react"));
2792
2757
 
2793
2758
  // src/components/style-sections/border-section/border-color-field.tsx
2794
- var React29 = __toESM(require("react"));
2759
+ var React28 = __toESM(require("react"));
2795
2760
  var import_editor_controls8 = require("@elementor/editor-controls");
2796
- var import_i18n10 = require("@wordpress/i18n");
2761
+ var import_i18n9 = require("@wordpress/i18n");
2797
2762
 
2798
2763
  // src/components/styles-field-layout.tsx
2799
- var React28 = __toESM(require("react"));
2800
- var import_ui17 = require("@elementor/ui");
2801
- var StylesFieldLayout = React28.forwardRef((props, ref) => {
2764
+ var React27 = __toESM(require("react"));
2765
+ var import_ui16 = require("@elementor/ui");
2766
+ var StylesFieldLayout = React27.forwardRef((props, ref) => {
2802
2767
  const { direction = "row", children, label } = props;
2803
2768
  const LayoutComponent = direction === "row" ? Row : Column;
2804
- return /* @__PURE__ */ React28.createElement(LayoutComponent, { label, ref, children });
2769
+ return /* @__PURE__ */ React27.createElement(LayoutComponent, { label, ref, children });
2805
2770
  });
2806
- var Row = React28.forwardRef(
2771
+ var Row = React27.forwardRef(
2807
2772
  ({ label, children }, ref) => {
2808
- return /* @__PURE__ */ React28.createElement(
2809
- import_ui17.Grid,
2773
+ return /* @__PURE__ */ React27.createElement(
2774
+ import_ui16.Grid,
2810
2775
  {
2811
2776
  container: true,
2812
2777
  gap: 2,
@@ -2815,9 +2780,9 @@ var Row = React28.forwardRef(
2815
2780
  ref,
2816
2781
  "aria-label": `${label} control`
2817
2782
  },
2818
- /* @__PURE__ */ React28.createElement(import_ui17.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React28.createElement(ControlLabel, null, label)),
2819
- /* @__PURE__ */ React28.createElement(
2820
- import_ui17.Grid,
2783
+ /* @__PURE__ */ React27.createElement(import_ui16.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React27.createElement(ControlLabel, null, label)),
2784
+ /* @__PURE__ */ React27.createElement(
2785
+ import_ui16.Grid,
2821
2786
  {
2822
2787
  item: true,
2823
2788
  xs: 6,
@@ -2830,171 +2795,171 @@ var Row = React28.forwardRef(
2830
2795
  );
2831
2796
  }
2832
2797
  );
2833
- var Column = React28.forwardRef(
2798
+ var Column = React27.forwardRef(
2834
2799
  ({ label, children }, ref) => {
2835
- return /* @__PURE__ */ React28.createElement(import_ui17.Stack, { gap: 0.75, ref }, /* @__PURE__ */ React28.createElement(ControlLabel, null, label), children);
2800
+ return /* @__PURE__ */ React27.createElement(import_ui16.Stack, { gap: 0.75, ref }, /* @__PURE__ */ React27.createElement(ControlLabel, null, label), children);
2836
2801
  }
2837
2802
  );
2838
2803
 
2839
2804
  // src/components/style-sections/border-section/border-color-field.tsx
2840
- var BORDER_COLOR_LABEL = (0, import_i18n10.__)("Border color", "elementor");
2841
- 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)));
2805
+ var BORDER_COLOR_LABEL = (0, import_i18n9.__)("Border color", "elementor");
2806
+ 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)));
2842
2807
 
2843
2808
  // src/components/style-sections/border-section/border-radius-field.tsx
2844
- var React31 = __toESM(require("react"));
2809
+ var React30 = __toESM(require("react"));
2845
2810
  var import_editor_controls9 = require("@elementor/editor-controls");
2846
2811
  var import_editor_props11 = require("@elementor/editor-props");
2847
2812
  var import_icons3 = require("@elementor/icons");
2848
- var import_ui20 = require("@elementor/ui");
2849
- var import_i18n11 = require("@wordpress/i18n");
2813
+ var import_ui19 = require("@elementor/ui");
2814
+ var import_i18n10 = require("@wordpress/i18n");
2850
2815
 
2851
2816
  // src/hooks/use-direction.ts
2852
2817
  var import_editor_v1_adapters5 = require("@elementor/editor-v1-adapters");
2853
- var import_ui18 = require("@elementor/ui");
2818
+ var import_ui17 = require("@elementor/ui");
2854
2819
  function useDirection() {
2855
- const theme = (0, import_ui18.useTheme)();
2820
+ const theme = (0, import_ui17.useTheme)();
2856
2821
  const isUiRtl = "rtl" === theme.direction, isSiteRtl = !!(0, import_editor_v1_adapters5.getElementorFrontendConfig)()?.is_rtl;
2857
2822
  return { isSiteRtl, isUiRtl };
2858
2823
  }
2859
2824
 
2860
2825
  // src/styles-inheritance/components/ui-providers.tsx
2861
- var React30 = __toESM(require("react"));
2862
- var import_ui19 = require("@elementor/ui");
2826
+ var React29 = __toESM(require("react"));
2827
+ var import_ui18 = require("@elementor/ui");
2863
2828
  var UiProviders = ({ children }) => {
2864
2829
  const { isSiteRtl } = useDirection();
2865
- return /* @__PURE__ */ React30.createElement(import_ui19.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React30.createElement(import_ui19.ThemeProvider, null, children));
2830
+ return /* @__PURE__ */ React29.createElement(import_ui18.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React29.createElement(import_ui18.ThemeProvider, null, children));
2866
2831
  };
2867
2832
 
2868
2833
  // src/components/style-sections/border-section/border-radius-field.tsx
2869
- var BORDER_RADIUS_LABEL = (0, import_i18n11.__)("Border radius", "elementor");
2870
- var StartStartIcon = (0, import_ui20.withDirection)(import_icons3.RadiusTopLeftIcon);
2871
- var StartEndIcon = (0, import_ui20.withDirection)(import_icons3.RadiusTopRightIcon);
2872
- var EndStartIcon = (0, import_ui20.withDirection)(import_icons3.RadiusBottomLeftIcon);
2873
- var EndEndIcon = (0, import_ui20.withDirection)(import_icons3.RadiusBottomRightIcon);
2874
- var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Top right", "elementor") : (0, import_i18n11.__)("Top left", "elementor");
2875
- var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border top right radius", "elementor") : (0, import_i18n11.__)("Border top left radius", "elementor");
2876
- var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Top left", "elementor") : (0, import_i18n11.__)("Top right", "elementor");
2877
- var getStartEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border top left radius", "elementor") : (0, import_i18n11.__)("Border top right radius", "elementor");
2878
- var getEndStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Bottom right", "elementor") : (0, import_i18n11.__)("Bottom left", "elementor");
2879
- var getEndStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border bottom right radius", "elementor") : (0, import_i18n11.__)("Border bottom left radius", "elementor");
2880
- var getEndEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Bottom left", "elementor") : (0, import_i18n11.__)("Bottom right", "elementor");
2881
- var getEndEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n11.__)("Border bottom left radius", "elementor") : (0, import_i18n11.__)("Border bottom right radius", "elementor");
2834
+ var BORDER_RADIUS_LABEL = (0, import_i18n10.__)("Border radius", "elementor");
2835
+ var StartStartIcon = (0, import_ui19.withDirection)(import_icons3.RadiusTopLeftIcon);
2836
+ var StartEndIcon = (0, import_ui19.withDirection)(import_icons3.RadiusTopRightIcon);
2837
+ var EndStartIcon = (0, import_ui19.withDirection)(import_icons3.RadiusBottomLeftIcon);
2838
+ var EndEndIcon = (0, import_ui19.withDirection)(import_icons3.RadiusBottomRightIcon);
2839
+ var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Top right", "elementor") : (0, import_i18n10.__)("Top left", "elementor");
2840
+ var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border top right radius", "elementor") : (0, import_i18n10.__)("Border top left radius", "elementor");
2841
+ var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Top left", "elementor") : (0, import_i18n10.__)("Top right", "elementor");
2842
+ var getStartEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border top left radius", "elementor") : (0, import_i18n10.__)("Border top right radius", "elementor");
2843
+ var getEndStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Bottom right", "elementor") : (0, import_i18n10.__)("Bottom left", "elementor");
2844
+ var getEndStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border bottom right radius", "elementor") : (0, import_i18n10.__)("Border bottom left radius", "elementor");
2845
+ var getEndEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Bottom left", "elementor") : (0, import_i18n10.__)("Bottom right", "elementor");
2846
+ var getEndEndAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n10.__)("Border bottom left radius", "elementor") : (0, import_i18n10.__)("Border bottom right radius", "elementor");
2882
2847
  var getCorners = (isSiteRtl) => [
2883
2848
  {
2884
2849
  label: getStartStartLabel(isSiteRtl),
2885
2850
  ariaLabel: getStartStartAriaLabel(isSiteRtl),
2886
- icon: /* @__PURE__ */ React31.createElement(StartStartIcon, { fontSize: "tiny" }),
2851
+ icon: /* @__PURE__ */ React30.createElement(StartStartIcon, { fontSize: "tiny" }),
2887
2852
  bind: "start-start"
2888
2853
  },
2889
2854
  {
2890
2855
  label: getStartEndLabel(isSiteRtl),
2891
2856
  ariaLabel: getStartEndAriaLabel(isSiteRtl),
2892
- icon: /* @__PURE__ */ React31.createElement(StartEndIcon, { fontSize: "tiny" }),
2857
+ icon: /* @__PURE__ */ React30.createElement(StartEndIcon, { fontSize: "tiny" }),
2893
2858
  bind: "start-end"
2894
2859
  },
2895
2860
  {
2896
2861
  label: getEndStartLabel(isSiteRtl),
2897
2862
  ariaLabel: getEndStartAriaLabel(isSiteRtl),
2898
- icon: /* @__PURE__ */ React31.createElement(EndStartIcon, { fontSize: "tiny" }),
2863
+ icon: /* @__PURE__ */ React30.createElement(EndStartIcon, { fontSize: "tiny" }),
2899
2864
  bind: "end-start"
2900
2865
  },
2901
2866
  {
2902
2867
  label: getEndEndLabel(isSiteRtl),
2903
2868
  ariaLabel: getEndEndAriaLabel(isSiteRtl),
2904
- icon: /* @__PURE__ */ React31.createElement(EndEndIcon, { fontSize: "tiny" }),
2869
+ icon: /* @__PURE__ */ React30.createElement(EndEndIcon, { fontSize: "tiny" }),
2905
2870
  bind: "end-end"
2906
2871
  }
2907
2872
  ];
2908
2873
  var BorderRadiusField = () => {
2909
2874
  const { isSiteRtl } = useDirection();
2910
- return /* @__PURE__ */ React31.createElement(UiProviders, null, /* @__PURE__ */ React31.createElement(StylesField, { bind: "border-radius", propDisplayName: BORDER_RADIUS_LABEL }, /* @__PURE__ */ React31.createElement(
2875
+ return /* @__PURE__ */ React30.createElement(UiProviders, null, /* @__PURE__ */ React30.createElement(StylesField, { bind: "border-radius", propDisplayName: BORDER_RADIUS_LABEL }, /* @__PURE__ */ React30.createElement(
2911
2876
  import_editor_controls9.EqualUnequalSizesControl,
2912
2877
  {
2913
2878
  items: getCorners(isSiteRtl),
2914
2879
  label: BORDER_RADIUS_LABEL,
2915
- icon: /* @__PURE__ */ React31.createElement(import_icons3.BorderCornersIcon, { fontSize: "tiny" }),
2916
- tooltipLabel: (0, import_i18n11.__)("Adjust corners", "elementor"),
2880
+ icon: /* @__PURE__ */ React30.createElement(import_icons3.BorderCornersIcon, { fontSize: "tiny" }),
2881
+ tooltipLabel: (0, import_i18n10.__)("Adjust corners", "elementor"),
2917
2882
  multiSizePropTypeUtil: import_editor_props11.borderRadiusPropTypeUtil
2918
2883
  }
2919
2884
  )));
2920
2885
  };
2921
2886
 
2922
2887
  // src/components/style-sections/border-section/border-style-field.tsx
2923
- var React32 = __toESM(require("react"));
2888
+ var React31 = __toESM(require("react"));
2924
2889
  var import_editor_controls10 = require("@elementor/editor-controls");
2925
- var import_i18n12 = require("@wordpress/i18n");
2926
- var BORDER_TYPE_LABEL = (0, import_i18n12.__)("Border type", "elementor");
2890
+ var import_i18n11 = require("@wordpress/i18n");
2891
+ var BORDER_TYPE_LABEL = (0, import_i18n11.__)("Border type", "elementor");
2927
2892
  var borderStyles = [
2928
- { value: "none", label: (0, import_i18n12.__)("None", "elementor") },
2929
- { value: "solid", label: (0, import_i18n12.__)("Solid", "elementor") },
2930
- { value: "dashed", label: (0, import_i18n12.__)("Dashed", "elementor") },
2931
- { value: "dotted", label: (0, import_i18n12.__)("Dotted", "elementor") },
2932
- { value: "double", label: (0, import_i18n12.__)("Double", "elementor") },
2933
- { value: "groove", label: (0, import_i18n12.__)("Groove", "elementor") },
2934
- { value: "ridge", label: (0, import_i18n12.__)("Ridge", "elementor") },
2935
- { value: "inset", label: (0, import_i18n12.__)("Inset", "elementor") },
2936
- { value: "outset", label: (0, import_i18n12.__)("Outset", "elementor") }
2893
+ { value: "none", label: (0, import_i18n11.__)("None", "elementor") },
2894
+ { value: "solid", label: (0, import_i18n11.__)("Solid", "elementor") },
2895
+ { value: "dashed", label: (0, import_i18n11.__)("Dashed", "elementor") },
2896
+ { value: "dotted", label: (0, import_i18n11.__)("Dotted", "elementor") },
2897
+ { value: "double", label: (0, import_i18n11.__)("Double", "elementor") },
2898
+ { value: "groove", label: (0, import_i18n11.__)("Groove", "elementor") },
2899
+ { value: "ridge", label: (0, import_i18n11.__)("Ridge", "elementor") },
2900
+ { value: "inset", label: (0, import_i18n11.__)("Inset", "elementor") },
2901
+ { value: "outset", label: (0, import_i18n11.__)("Outset", "elementor") }
2937
2902
  ];
2938
- 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 })));
2903
+ 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 })));
2939
2904
 
2940
2905
  // src/components/style-sections/border-section/border-width-field.tsx
2941
- var React33 = __toESM(require("react"));
2906
+ var React32 = __toESM(require("react"));
2942
2907
  var import_editor_controls11 = require("@elementor/editor-controls");
2943
2908
  var import_editor_props12 = require("@elementor/editor-props");
2944
2909
  var import_icons4 = require("@elementor/icons");
2945
- var import_ui21 = require("@elementor/ui");
2946
- var import_i18n13 = require("@wordpress/i18n");
2947
- var BORDER_WIDTH_LABEL = (0, import_i18n13.__)("Border width", "elementor");
2948
- var InlineStartIcon = (0, import_ui21.withDirection)(import_icons4.SideRightIcon);
2949
- var InlineEndIcon = (0, import_ui21.withDirection)(import_icons4.SideLeftIcon);
2910
+ var import_ui20 = require("@elementor/ui");
2911
+ var import_i18n12 = require("@wordpress/i18n");
2912
+ var BORDER_WIDTH_LABEL = (0, import_i18n12.__)("Border width", "elementor");
2913
+ var InlineStartIcon = (0, import_ui20.withDirection)(import_icons4.SideRightIcon);
2914
+ var InlineEndIcon = (0, import_ui20.withDirection)(import_icons4.SideLeftIcon);
2950
2915
  var getEdges = (isSiteRtl) => [
2951
2916
  {
2952
- label: (0, import_i18n13.__)("Top", "elementor"),
2953
- ariaLabel: (0, import_i18n13.__)("Border top width", "elementor"),
2954
- icon: /* @__PURE__ */ React33.createElement(import_icons4.SideTopIcon, { fontSize: "tiny" }),
2917
+ label: (0, import_i18n12.__)("Top", "elementor"),
2918
+ ariaLabel: (0, import_i18n12.__)("Border top width", "elementor"),
2919
+ icon: /* @__PURE__ */ React32.createElement(import_icons4.SideTopIcon, { fontSize: "tiny" }),
2955
2920
  bind: "block-start"
2956
2921
  },
2957
2922
  {
2958
- label: isSiteRtl ? (0, import_i18n13.__)("Left", "elementor") : (0, import_i18n13.__)("Right", "elementor"),
2959
- ariaLabel: isSiteRtl ? (0, import_i18n13.__)("Border left width", "elementor") : (0, import_i18n13.__)("Border right width", "elementor"),
2960
- icon: /* @__PURE__ */ React33.createElement(InlineStartIcon, { fontSize: "tiny" }),
2923
+ label: isSiteRtl ? (0, import_i18n12.__)("Left", "elementor") : (0, import_i18n12.__)("Right", "elementor"),
2924
+ ariaLabel: isSiteRtl ? (0, import_i18n12.__)("Border left width", "elementor") : (0, import_i18n12.__)("Border right width", "elementor"),
2925
+ icon: /* @__PURE__ */ React32.createElement(InlineStartIcon, { fontSize: "tiny" }),
2961
2926
  bind: "inline-end"
2962
2927
  },
2963
2928
  {
2964
- label: (0, import_i18n13.__)("Bottom", "elementor"),
2965
- ariaLabel: (0, import_i18n13.__)("Border bottom width", "elementor"),
2966
- icon: /* @__PURE__ */ React33.createElement(import_icons4.SideBottomIcon, { fontSize: "tiny" }),
2929
+ label: (0, import_i18n12.__)("Bottom", "elementor"),
2930
+ ariaLabel: (0, import_i18n12.__)("Border bottom width", "elementor"),
2931
+ icon: /* @__PURE__ */ React32.createElement(import_icons4.SideBottomIcon, { fontSize: "tiny" }),
2967
2932
  bind: "block-end"
2968
2933
  },
2969
2934
  {
2970
- label: isSiteRtl ? (0, import_i18n13.__)("Right", "elementor") : (0, import_i18n13.__)("Left", "elementor"),
2971
- ariaLabel: isSiteRtl ? (0, import_i18n13.__)("Border right width", "elementor") : (0, import_i18n13.__)("Border left width", "elementor"),
2972
- icon: /* @__PURE__ */ React33.createElement(InlineEndIcon, { fontSize: "tiny" }),
2935
+ label: isSiteRtl ? (0, import_i18n12.__)("Right", "elementor") : (0, import_i18n12.__)("Left", "elementor"),
2936
+ ariaLabel: isSiteRtl ? (0, import_i18n12.__)("Border right width", "elementor") : (0, import_i18n12.__)("Border left width", "elementor"),
2937
+ icon: /* @__PURE__ */ React32.createElement(InlineEndIcon, { fontSize: "tiny" }),
2973
2938
  bind: "inline-start"
2974
2939
  }
2975
2940
  ];
2976
2941
  var BorderWidthField = () => {
2977
2942
  const { isSiteRtl } = useDirection();
2978
- return /* @__PURE__ */ React33.createElement(StylesField, { bind: "border-width", propDisplayName: BORDER_WIDTH_LABEL }, /* @__PURE__ */ React33.createElement(
2943
+ return /* @__PURE__ */ React32.createElement(StylesField, { bind: "border-width", propDisplayName: BORDER_WIDTH_LABEL }, /* @__PURE__ */ React32.createElement(
2979
2944
  import_editor_controls11.EqualUnequalSizesControl,
2980
2945
  {
2981
2946
  items: getEdges(isSiteRtl),
2982
2947
  label: BORDER_WIDTH_LABEL,
2983
- icon: /* @__PURE__ */ React33.createElement(import_icons4.SideAllIcon, { fontSize: "tiny" }),
2984
- tooltipLabel: (0, import_i18n13.__)("Adjust borders", "elementor"),
2948
+ icon: /* @__PURE__ */ React32.createElement(import_icons4.SideAllIcon, { fontSize: "tiny" }),
2949
+ tooltipLabel: (0, import_i18n12.__)("Adjust borders", "elementor"),
2985
2950
  multiSizePropTypeUtil: import_editor_props12.borderWidthPropTypeUtil
2986
2951
  }
2987
2952
  ));
2988
2953
  };
2989
2954
 
2990
2955
  // src/components/style-sections/border-section/border-section.tsx
2991
- 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));
2956
+ 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));
2992
2957
 
2993
2958
  // src/components/style-sections/effects-section/effects-section.tsx
2994
- var React38 = __toESM(require("react"));
2959
+ var React37 = __toESM(require("react"));
2995
2960
  var import_editor_controls14 = require("@elementor/editor-controls");
2996
2961
  var import_editor_elements11 = require("@elementor/editor-elements");
2997
- var import_i18n16 = require("@wordpress/i18n");
2962
+ var import_i18n15 = require("@wordpress/i18n");
2998
2963
 
2999
2964
  // src/utils/get-recently-used-styles.ts
3000
2965
  var import_editor_canvas = require("@elementor/editor-canvas");
@@ -3025,71 +2990,71 @@ var getRecentlyUsedList = async (elementId) => {
3025
2990
  };
3026
2991
 
3027
2992
  // src/components/panel-divider.tsx
3028
- var React35 = __toESM(require("react"));
3029
- var import_ui22 = require("@elementor/ui");
3030
- var PanelDivider = () => /* @__PURE__ */ React35.createElement(import_ui22.Divider, { sx: { my: 0.5 } });
2993
+ var React34 = __toESM(require("react"));
2994
+ var import_ui21 = require("@elementor/ui");
2995
+ var PanelDivider = () => /* @__PURE__ */ React34.createElement(import_ui21.Divider, { sx: { my: 0.5 } });
3031
2996
 
3032
2997
  // src/components/style-sections/effects-section/blend-mode-field.tsx
3033
- var React36 = __toESM(require("react"));
2998
+ var React35 = __toESM(require("react"));
3034
2999
  var import_editor_controls12 = require("@elementor/editor-controls");
3035
- var import_i18n14 = require("@wordpress/i18n");
3036
- var BLEND_MODE_LABEL = (0, import_i18n14.__)("Blend mode", "elementor");
3000
+ var import_i18n13 = require("@wordpress/i18n");
3001
+ var BLEND_MODE_LABEL = (0, import_i18n13.__)("Blend mode", "elementor");
3037
3002
  var blendModeOptions = [
3038
- { label: (0, import_i18n14.__)("Normal", "elementor"), value: "normal" },
3039
- { label: (0, import_i18n14.__)("Multiply", "elementor"), value: "multiply" },
3040
- { label: (0, import_i18n14.__)("Screen", "elementor"), value: "screen" },
3041
- { label: (0, import_i18n14.__)("Overlay", "elementor"), value: "overlay" },
3042
- { label: (0, import_i18n14.__)("Darken", "elementor"), value: "darken" },
3043
- { label: (0, import_i18n14.__)("Lighten", "elementor"), value: "lighten" },
3044
- { label: (0, import_i18n14.__)("Color dodge", "elementor"), value: "color-dodge" },
3045
- { label: (0, import_i18n14.__)("Color burn", "elementor"), value: "color-burn" },
3046
- { label: (0, import_i18n14.__)("Saturation", "elementor"), value: "saturation" },
3047
- { label: (0, import_i18n14.__)("Color", "elementor"), value: "color" },
3048
- { label: (0, import_i18n14.__)("Difference", "elementor"), value: "difference" },
3049
- { label: (0, import_i18n14.__)("Exclusion", "elementor"), value: "exclusion" },
3050
- { label: (0, import_i18n14.__)("Hue", "elementor"), value: "hue" },
3051
- { label: (0, import_i18n14.__)("Luminosity", "elementor"), value: "luminosity" },
3052
- { label: (0, import_i18n14.__)("Soft light", "elementor"), value: "soft-light" },
3053
- { label: (0, import_i18n14.__)("Hard light", "elementor"), value: "hard-light" }
3003
+ { label: (0, import_i18n13.__)("Normal", "elementor"), value: "normal" },
3004
+ { label: (0, import_i18n13.__)("Multiply", "elementor"), value: "multiply" },
3005
+ { label: (0, import_i18n13.__)("Screen", "elementor"), value: "screen" },
3006
+ { label: (0, import_i18n13.__)("Overlay", "elementor"), value: "overlay" },
3007
+ { label: (0, import_i18n13.__)("Darken", "elementor"), value: "darken" },
3008
+ { label: (0, import_i18n13.__)("Lighten", "elementor"), value: "lighten" },
3009
+ { label: (0, import_i18n13.__)("Color dodge", "elementor"), value: "color-dodge" },
3010
+ { label: (0, import_i18n13.__)("Color burn", "elementor"), value: "color-burn" },
3011
+ { label: (0, import_i18n13.__)("Saturation", "elementor"), value: "saturation" },
3012
+ { label: (0, import_i18n13.__)("Color", "elementor"), value: "color" },
3013
+ { label: (0, import_i18n13.__)("Difference", "elementor"), value: "difference" },
3014
+ { label: (0, import_i18n13.__)("Exclusion", "elementor"), value: "exclusion" },
3015
+ { label: (0, import_i18n13.__)("Hue", "elementor"), value: "hue" },
3016
+ { label: (0, import_i18n13.__)("Luminosity", "elementor"), value: "luminosity" },
3017
+ { label: (0, import_i18n13.__)("Soft light", "elementor"), value: "soft-light" },
3018
+ { label: (0, import_i18n13.__)("Hard light", "elementor"), value: "hard-light" }
3054
3019
  ];
3055
3020
  var BlendModeField = () => {
3056
- 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 })));
3021
+ 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 })));
3057
3022
  };
3058
3023
 
3059
3024
  // src/components/style-sections/effects-section/opacity-control-field.tsx
3060
- var React37 = __toESM(require("react"));
3061
- var import_react21 = require("react");
3025
+ var React36 = __toESM(require("react"));
3026
+ var import_react20 = require("react");
3062
3027
  var import_editor_controls13 = require("@elementor/editor-controls");
3063
- var import_i18n15 = require("@wordpress/i18n");
3064
- var OPACITY_LABEL = (0, import_i18n15.__)("Opacity", "elementor");
3028
+ var import_i18n14 = require("@wordpress/i18n");
3029
+ var OPACITY_LABEL = (0, import_i18n14.__)("Opacity", "elementor");
3065
3030
  var OpacityControlField = () => {
3066
- const rowRef = (0, import_react21.useRef)(null);
3067
- 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: "%" })));
3031
+ const rowRef = (0, import_react20.useRef)(null);
3032
+ 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: "%" })));
3068
3033
  };
3069
3034
 
3070
3035
  // src/components/style-sections/effects-section/effects-section.tsx
3071
- var BOX_SHADOW_LABEL = (0, import_i18n16.__)("Box shadow", "elementor");
3072
- var FILTER_LABEL = (0, import_i18n16.__)("Filters", "elementor");
3073
- var TRANSFORM_LABEL = (0, import_i18n16.__)("Transform", "elementor");
3074
- var BACKDROP_FILTER_LABEL = (0, import_i18n16.__)("Backdrop filters", "elementor");
3075
- var TRANSITIONS_LABEL = (0, import_i18n16.__)("Transitions", "elementor");
3036
+ var BOX_SHADOW_LABEL = (0, import_i18n15.__)("Box shadow", "elementor");
3037
+ var FILTER_LABEL = (0, import_i18n15.__)("Filters", "elementor");
3038
+ var TRANSFORM_LABEL = (0, import_i18n15.__)("Transform", "elementor");
3039
+ var BACKDROP_FILTER_LABEL = (0, import_i18n15.__)("Backdrop filters", "elementor");
3040
+ var TRANSITIONS_LABEL = (0, import_i18n15.__)("Transitions", "elementor");
3076
3041
  var EffectsSection = () => {
3077
3042
  const { element } = (0, import_editor_elements11.useSelectedElement)();
3078
3043
  const { meta } = useStyle();
3079
- 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, null)), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React38.createElement(
3044
+ 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, null)), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React37.createElement(
3080
3045
  import_editor_controls14.TransitionRepeaterControl,
3081
3046
  {
3082
3047
  currentStyleState: meta.state,
3083
3048
  recentlyUsedListGetter: () => getRecentlyUsedList(element?.id ?? "")
3084
3049
  }
3085
- )), /* @__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" })));
3050
+ )), /* @__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" })));
3086
3051
  };
3087
3052
 
3088
3053
  // src/components/style-sections/layout-section/layout-section.tsx
3089
- var React50 = __toESM(require("react"));
3054
+ var React49 = __toESM(require("react"));
3090
3055
  var import_editor_controls25 = require("@elementor/editor-controls");
3091
3056
  var import_editor_elements12 = require("@elementor/editor-elements");
3092
- var import_i18n28 = require("@wordpress/i18n");
3057
+ var import_i18n27 = require("@wordpress/i18n");
3093
3058
 
3094
3059
  // src/hooks/use-computed-style.ts
3095
3060
  var import_editor_v1_adapters6 = require("@elementor/editor-v1-adapters");
@@ -3116,18 +3081,18 @@ function useComputedStyle(elementId) {
3116
3081
  }
3117
3082
 
3118
3083
  // src/components/style-sections/layout-section/align-content-field.tsx
3119
- var React40 = __toESM(require("react"));
3084
+ var React39 = __toESM(require("react"));
3120
3085
  var import_editor_controls15 = require("@elementor/editor-controls");
3121
3086
  var import_icons5 = require("@elementor/icons");
3122
- var import_ui24 = require("@elementor/ui");
3123
- var import_i18n18 = require("@wordpress/i18n");
3124
-
3125
- // src/components/style-sections/layout-section/utils/rotated-icon.tsx
3126
- var React39 = __toESM(require("react"));
3127
- var import_react22 = require("react");
3128
3087
  var import_ui23 = require("@elementor/ui");
3129
3088
  var import_i18n17 = require("@wordpress/i18n");
3130
- var FLEX_DIRECTION_LABEL = (0, import_i18n17.__)("Flex direction", "elementor");
3089
+
3090
+ // src/components/style-sections/layout-section/utils/rotated-icon.tsx
3091
+ var React38 = __toESM(require("react"));
3092
+ var import_react21 = require("react");
3093
+ var import_ui22 = require("@elementor/ui");
3094
+ var import_i18n16 = require("@wordpress/i18n");
3095
+ var FLEX_DIRECTION_LABEL = (0, import_i18n16.__)("Flex direction", "elementor");
3131
3096
  var CLOCKWISE_ANGLES = {
3132
3097
  row: 0,
3133
3098
  column: 90,
@@ -3147,15 +3112,15 @@ var RotatedIcon = ({
3147
3112
  offset = 0,
3148
3113
  disableRotationForReversed = false
3149
3114
  }) => {
3150
- const rotate = (0, import_react22.useRef)(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
3115
+ const rotate = (0, import_react21.useRef)(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
3151
3116
  rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
3152
- return /* @__PURE__ */ React39.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3117
+ return /* @__PURE__ */ React38.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3153
3118
  };
3154
3119
  var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
3155
3120
  const { value: direction } = useStylesField("flex-direction", {
3156
3121
  history: { propDisplayName: FLEX_DIRECTION_LABEL }
3157
3122
  });
3158
- const isRtl = "rtl" === (0, import_ui23.useTheme)().direction;
3123
+ const isRtl = "rtl" === (0, import_ui22.useTheme)().direction;
3159
3124
  const rotationMultiplier = isRtl ? -1 : 1;
3160
3125
  const angleMap = isClockwise ? CLOCKWISE_ANGLES : COUNTER_CLOCKWISE_ANGLES;
3161
3126
  const currentDirection = direction?.value || "row";
@@ -3170,9 +3135,9 @@ var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existi
3170
3135
  };
3171
3136
 
3172
3137
  // src/components/style-sections/layout-section/align-content-field.tsx
3173
- var ALIGN_CONTENT_LABEL = (0, import_i18n18.__)("Align content", "elementor");
3174
- var StartIcon = (0, import_ui24.withDirection)(import_icons5.JustifyTopIcon);
3175
- var EndIcon = (0, import_ui24.withDirection)(import_icons5.JustifyBottomIcon);
3138
+ var ALIGN_CONTENT_LABEL = (0, import_i18n17.__)("Align content", "elementor");
3139
+ var StartIcon = (0, import_ui23.withDirection)(import_icons5.JustifyTopIcon);
3140
+ var EndIcon = (0, import_ui23.withDirection)(import_icons5.JustifyBottomIcon);
3176
3141
  var iconProps = {
3177
3142
  isClockwise: false,
3178
3143
  offset: 0,
@@ -3181,52 +3146,52 @@ var iconProps = {
3181
3146
  var options = [
3182
3147
  {
3183
3148
  value: "start",
3184
- label: (0, import_i18n18.__)("Start", "elementor"),
3185
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3149
+ label: (0, import_i18n17.__)("Start", "elementor"),
3150
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3186
3151
  showTooltip: true
3187
3152
  },
3188
3153
  {
3189
3154
  value: "center",
3190
- label: (0, import_i18n18.__)("Center", "elementor"),
3191
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifyCenterIcon, size, ...iconProps }),
3155
+ label: (0, import_i18n17.__)("Center", "elementor"),
3156
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifyCenterIcon, size, ...iconProps }),
3192
3157
  showTooltip: true
3193
3158
  },
3194
3159
  {
3195
3160
  value: "end",
3196
- label: (0, import_i18n18.__)("End", "elementor"),
3197
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3161
+ label: (0, import_i18n17.__)("End", "elementor"),
3162
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3198
3163
  showTooltip: true
3199
3164
  },
3200
3165
  {
3201
3166
  value: "space-between",
3202
- label: (0, import_i18n18.__)("Space between", "elementor"),
3203
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
3167
+ label: (0, import_i18n17.__)("Space between", "elementor"),
3168
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
3204
3169
  showTooltip: true
3205
3170
  },
3206
3171
  {
3207
3172
  value: "space-around",
3208
- label: (0, import_i18n18.__)("Space around", "elementor"),
3209
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
3173
+ label: (0, import_i18n17.__)("Space around", "elementor"),
3174
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
3210
3175
  showTooltip: true
3211
3176
  },
3212
3177
  {
3213
3178
  value: "space-evenly",
3214
- label: (0, import_i18n18.__)("Space evenly", "elementor"),
3215
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons5.JustifyDistributeVerticalIcon, size, ...iconProps }),
3179
+ label: (0, import_i18n17.__)("Space evenly", "elementor"),
3180
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons5.JustifyDistributeVerticalIcon, size, ...iconProps }),
3216
3181
  showTooltip: true
3217
3182
  }
3218
3183
  ];
3219
- 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 }))));
3184
+ 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 }))));
3220
3185
 
3221
3186
  // src/components/style-sections/layout-section/align-items-field.tsx
3222
- var React41 = __toESM(require("react"));
3187
+ var React40 = __toESM(require("react"));
3223
3188
  var import_editor_controls16 = require("@elementor/editor-controls");
3224
3189
  var import_icons6 = require("@elementor/icons");
3225
- var import_ui25 = require("@elementor/ui");
3226
- var import_i18n19 = require("@wordpress/i18n");
3227
- var ALIGN_ITEMS_LABEL = (0, import_i18n19.__)("Align items", "elementor");
3228
- var StartIcon2 = (0, import_ui25.withDirection)(import_icons6.LayoutAlignLeftIcon);
3229
- var EndIcon2 = (0, import_ui25.withDirection)(import_icons6.LayoutAlignRightIcon);
3190
+ var import_ui24 = require("@elementor/ui");
3191
+ var import_i18n18 = require("@wordpress/i18n");
3192
+ var ALIGN_ITEMS_LABEL = (0, import_i18n18.__)("Align items", "elementor");
3193
+ var StartIcon2 = (0, import_ui24.withDirection)(import_icons6.LayoutAlignLeftIcon);
3194
+ var EndIcon2 = (0, import_ui24.withDirection)(import_icons6.LayoutAlignRightIcon);
3230
3195
  var iconProps2 = {
3231
3196
  isClockwise: false,
3232
3197
  offset: 90
@@ -3234,56 +3199,56 @@ var iconProps2 = {
3234
3199
  var options2 = [
3235
3200
  {
3236
3201
  value: "start",
3237
- label: (0, import_i18n19.__)("Start", "elementor"),
3238
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3202
+ label: (0, import_i18n18.__)("Start", "elementor"),
3203
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3239
3204
  showTooltip: true
3240
3205
  },
3241
3206
  {
3242
3207
  value: "center",
3243
- label: (0, import_i18n19.__)("Center", "elementor"),
3244
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.LayoutAlignCenterIcon, size, ...iconProps2 }),
3208
+ label: (0, import_i18n18.__)("Center", "elementor"),
3209
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons6.LayoutAlignCenterIcon, size, ...iconProps2 }),
3245
3210
  showTooltip: true
3246
3211
  },
3247
3212
  {
3248
3213
  value: "end",
3249
- label: (0, import_i18n19.__)("End", "elementor"),
3250
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3214
+ label: (0, import_i18n18.__)("End", "elementor"),
3215
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3251
3216
  showTooltip: true
3252
3217
  },
3253
3218
  {
3254
3219
  value: "stretch",
3255
- label: (0, import_i18n19.__)("Stretch", "elementor"),
3256
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
3220
+ label: (0, import_i18n18.__)("Stretch", "elementor"),
3221
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons6.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
3257
3222
  showTooltip: true
3258
3223
  }
3259
3224
  ];
3260
3225
  var AlignItemsField = () => {
3261
- 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 }))));
3226
+ 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 }))));
3262
3227
  };
3263
3228
 
3264
3229
  // src/components/style-sections/layout-section/align-self-child-field.tsx
3265
- var React42 = __toESM(require("react"));
3230
+ var React41 = __toESM(require("react"));
3266
3231
  var import_editor_controls17 = require("@elementor/editor-controls");
3267
3232
  var import_icons7 = require("@elementor/icons");
3268
- var import_ui26 = require("@elementor/ui");
3269
- var import_i18n20 = require("@wordpress/i18n");
3270
- var ALIGN_SELF_LABEL = (0, import_i18n20.__)("Align self", "elementor");
3233
+ var import_ui25 = require("@elementor/ui");
3234
+ var import_i18n19 = require("@wordpress/i18n");
3235
+ var ALIGN_SELF_LABEL = (0, import_i18n19.__)("Align self", "elementor");
3271
3236
  var ALIGN_SELF_CHILD_OFFSET_MAP = {
3272
3237
  row: 90,
3273
3238
  "row-reverse": 90,
3274
3239
  column: 0,
3275
3240
  "column-reverse": 0
3276
3241
  };
3277
- var StartIcon3 = (0, import_ui26.withDirection)(import_icons7.LayoutAlignLeftIcon);
3278
- var EndIcon3 = (0, import_ui26.withDirection)(import_icons7.LayoutAlignRightIcon);
3242
+ var StartIcon3 = (0, import_ui25.withDirection)(import_icons7.LayoutAlignLeftIcon);
3243
+ var EndIcon3 = (0, import_ui25.withDirection)(import_icons7.LayoutAlignRightIcon);
3279
3244
  var iconProps3 = {
3280
3245
  isClockwise: false
3281
3246
  };
3282
3247
  var getOptions = (parentStyleDirection) => [
3283
3248
  {
3284
3249
  value: "start",
3285
- label: (0, import_i18n20.__)("Start", "elementor"),
3286
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3250
+ label: (0, import_i18n19.__)("Start", "elementor"),
3251
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3287
3252
  RotatedIcon,
3288
3253
  {
3289
3254
  icon: StartIcon3,
@@ -3296,8 +3261,8 @@ var getOptions = (parentStyleDirection) => [
3296
3261
  },
3297
3262
  {
3298
3263
  value: "center",
3299
- label: (0, import_i18n20.__)("Center", "elementor"),
3300
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3264
+ label: (0, import_i18n19.__)("Center", "elementor"),
3265
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3301
3266
  RotatedIcon,
3302
3267
  {
3303
3268
  icon: import_icons7.LayoutAlignCenterIcon,
@@ -3310,8 +3275,8 @@ var getOptions = (parentStyleDirection) => [
3310
3275
  },
3311
3276
  {
3312
3277
  value: "end",
3313
- label: (0, import_i18n20.__)("End", "elementor"),
3314
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3278
+ label: (0, import_i18n19.__)("End", "elementor"),
3279
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3315
3280
  RotatedIcon,
3316
3281
  {
3317
3282
  icon: EndIcon3,
@@ -3324,8 +3289,8 @@ var getOptions = (parentStyleDirection) => [
3324
3289
  },
3325
3290
  {
3326
3291
  value: "stretch",
3327
- label: (0, import_i18n20.__)("Stretch", "elementor"),
3328
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
3292
+ label: (0, import_i18n19.__)("Stretch", "elementor"),
3293
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(
3329
3294
  RotatedIcon,
3330
3295
  {
3331
3296
  icon: import_icons7.LayoutDistributeVerticalIcon,
@@ -3337,102 +3302,102 @@ var getOptions = (parentStyleDirection) => [
3337
3302
  showTooltip: true
3338
3303
  }
3339
3304
  ];
3340
- 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) }))));
3305
+ 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) }))));
3341
3306
 
3342
3307
  // src/components/style-sections/layout-section/display-field.tsx
3343
- var React43 = __toESM(require("react"));
3308
+ var React42 = __toESM(require("react"));
3344
3309
  var import_editor_controls18 = require("@elementor/editor-controls");
3345
- var import_i18n21 = require("@wordpress/i18n");
3346
- var DISPLAY_LABEL = (0, import_i18n21.__)("Display", "elementor");
3310
+ var import_i18n20 = require("@wordpress/i18n");
3311
+ var DISPLAY_LABEL = (0, import_i18n20.__)("Display", "elementor");
3347
3312
  var displayFieldItems = [
3348
3313
  {
3349
3314
  value: "block",
3350
- renderContent: () => (0, import_i18n21.__)("Block", "elementor"),
3351
- label: (0, import_i18n21.__)("Block", "elementor"),
3315
+ renderContent: () => (0, import_i18n20.__)("Block", "elementor"),
3316
+ label: (0, import_i18n20.__)("Block", "elementor"),
3352
3317
  showTooltip: true
3353
3318
  },
3354
3319
  {
3355
3320
  value: "flex",
3356
- renderContent: () => (0, import_i18n21.__)("Flex", "elementor"),
3357
- label: (0, import_i18n21.__)("Flex", "elementor"),
3321
+ renderContent: () => (0, import_i18n20.__)("Flex", "elementor"),
3322
+ label: (0, import_i18n20.__)("Flex", "elementor"),
3358
3323
  showTooltip: true
3359
3324
  },
3360
3325
  {
3361
3326
  value: "inline-block",
3362
- renderContent: () => (0, import_i18n21.__)("In-blk", "elementor"),
3363
- label: (0, import_i18n21.__)("Inline-block", "elementor"),
3327
+ renderContent: () => (0, import_i18n20.__)("In-blk", "elementor"),
3328
+ label: (0, import_i18n20.__)("Inline-block", "elementor"),
3364
3329
  showTooltip: true
3365
3330
  },
3366
3331
  {
3367
3332
  value: "none",
3368
- renderContent: () => (0, import_i18n21.__)("None", "elementor"),
3369
- label: (0, import_i18n21.__)("None", "elementor"),
3333
+ renderContent: () => (0, import_i18n20.__)("None", "elementor"),
3334
+ label: (0, import_i18n20.__)("None", "elementor"),
3370
3335
  showTooltip: true
3371
3336
  },
3372
3337
  {
3373
3338
  value: "inline-flex",
3374
- renderContent: () => (0, import_i18n21.__)("In-flx", "elementor"),
3375
- label: (0, import_i18n21.__)("Inline-flex", "elementor"),
3339
+ renderContent: () => (0, import_i18n20.__)("In-flx", "elementor"),
3340
+ label: (0, import_i18n20.__)("Inline-flex", "elementor"),
3376
3341
  showTooltip: true
3377
3342
  }
3378
3343
  ];
3379
3344
  var DisplayField = () => {
3380
3345
  const placeholder = useDisplayPlaceholderValue();
3381
- 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 })));
3346
+ 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 })));
3382
3347
  };
3383
3348
  var useDisplayPlaceholderValue = () => useStylesInheritanceChain(["display"])[0]?.value ?? void 0;
3384
3349
 
3385
3350
  // src/components/style-sections/layout-section/flex-direction-field.tsx
3386
- var React44 = __toESM(require("react"));
3351
+ var React43 = __toESM(require("react"));
3387
3352
  var import_editor_controls19 = require("@elementor/editor-controls");
3388
3353
  var import_icons8 = require("@elementor/icons");
3389
- var import_ui27 = require("@elementor/ui");
3390
- var import_i18n22 = require("@wordpress/i18n");
3391
- var FLEX_DIRECTION_LABEL2 = (0, import_i18n22.__)("Direction", "elementor");
3354
+ var import_ui26 = require("@elementor/ui");
3355
+ var import_i18n21 = require("@wordpress/i18n");
3356
+ var FLEX_DIRECTION_LABEL2 = (0, import_i18n21.__)("Direction", "elementor");
3392
3357
  var options3 = [
3393
3358
  {
3394
3359
  value: "row",
3395
- label: (0, import_i18n22.__)("Row", "elementor"),
3360
+ label: (0, import_i18n21.__)("Row", "elementor"),
3396
3361
  renderContent: ({ size }) => {
3397
- const StartIcon5 = (0, import_ui27.withDirection)(import_icons8.ArrowRightIcon);
3398
- return /* @__PURE__ */ React44.createElement(StartIcon5, { fontSize: size });
3362
+ const StartIcon5 = (0, import_ui26.withDirection)(import_icons8.ArrowRightIcon);
3363
+ return /* @__PURE__ */ React43.createElement(StartIcon5, { fontSize: size });
3399
3364
  },
3400
3365
  showTooltip: true
3401
3366
  },
3402
3367
  {
3403
3368
  value: "column",
3404
- label: (0, import_i18n22.__)("Column", "elementor"),
3405
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons8.ArrowDownSmallIcon, { fontSize: size }),
3369
+ label: (0, import_i18n21.__)("Column", "elementor"),
3370
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(import_icons8.ArrowDownSmallIcon, { fontSize: size }),
3406
3371
  showTooltip: true
3407
3372
  },
3408
3373
  {
3409
3374
  value: "row-reverse",
3410
- label: (0, import_i18n22.__)("Reversed row", "elementor"),
3375
+ label: (0, import_i18n21.__)("Reversed row", "elementor"),
3411
3376
  renderContent: ({ size }) => {
3412
- const EndIcon5 = (0, import_ui27.withDirection)(import_icons8.ArrowLeftIcon);
3413
- return /* @__PURE__ */ React44.createElement(EndIcon5, { fontSize: size });
3377
+ const EndIcon5 = (0, import_ui26.withDirection)(import_icons8.ArrowLeftIcon);
3378
+ return /* @__PURE__ */ React43.createElement(EndIcon5, { fontSize: size });
3414
3379
  },
3415
3380
  showTooltip: true
3416
3381
  },
3417
3382
  {
3418
3383
  value: "column-reverse",
3419
- label: (0, import_i18n22.__)("Reversed column", "elementor"),
3420
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons8.ArrowUpSmallIcon, { fontSize: size }),
3384
+ label: (0, import_i18n21.__)("Reversed column", "elementor"),
3385
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(import_icons8.ArrowUpSmallIcon, { fontSize: size }),
3421
3386
  showTooltip: true
3422
3387
  }
3423
3388
  ];
3424
3389
  var FlexDirectionField = () => {
3425
- 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 }))));
3390
+ 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 }))));
3426
3391
  };
3427
3392
 
3428
3393
  // src/components/style-sections/layout-section/flex-order-field.tsx
3429
- var React45 = __toESM(require("react"));
3430
- var import_react23 = require("react");
3394
+ var React44 = __toESM(require("react"));
3395
+ var import_react22 = require("react");
3431
3396
  var import_editor_controls20 = require("@elementor/editor-controls");
3432
3397
  var import_icons9 = require("@elementor/icons");
3433
- var import_ui28 = require("@elementor/ui");
3434
- var import_i18n23 = require("@wordpress/i18n");
3435
- var ORDER_LABEL = (0, import_i18n23.__)("Order", "elementor");
3398
+ var import_ui27 = require("@elementor/ui");
3399
+ var import_i18n22 = require("@wordpress/i18n");
3400
+ var ORDER_LABEL = (0, import_i18n22.__)("Order", "elementor");
3436
3401
  var FIRST_DEFAULT_VALUE = -99999;
3437
3402
  var LAST_DEFAULT_VALUE = 99999;
3438
3403
  var FIRST = "first";
@@ -3445,25 +3410,25 @@ var orderValueMap = {
3445
3410
  var items = [
3446
3411
  {
3447
3412
  value: FIRST,
3448
- label: (0, import_i18n23.__)("First", "elementor"),
3449
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons9.ArrowUpSmallIcon, { fontSize: size }),
3413
+ label: (0, import_i18n22.__)("First", "elementor"),
3414
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons9.ArrowUpSmallIcon, { fontSize: size }),
3450
3415
  showTooltip: true
3451
3416
  },
3452
3417
  {
3453
3418
  value: LAST,
3454
- label: (0, import_i18n23.__)("Last", "elementor"),
3455
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons9.ArrowDownSmallIcon, { fontSize: size }),
3419
+ label: (0, import_i18n22.__)("Last", "elementor"),
3420
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons9.ArrowDownSmallIcon, { fontSize: size }),
3456
3421
  showTooltip: true
3457
3422
  },
3458
3423
  {
3459
3424
  value: CUSTOM,
3460
- label: (0, import_i18n23.__)("Custom", "elementor"),
3461
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons9.PencilIcon, { fontSize: size }),
3425
+ label: (0, import_i18n22.__)("Custom", "elementor"),
3426
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons9.PencilIcon, { fontSize: size }),
3462
3427
  showTooltip: true
3463
3428
  }
3464
3429
  ];
3465
3430
  var FlexOrderField = () => {
3466
- 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))));
3431
+ 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))));
3467
3432
  };
3468
3433
  function FlexOrderFieldContent() {
3469
3434
  const {
@@ -3475,15 +3440,15 @@ function FlexOrderFieldContent() {
3475
3440
  });
3476
3441
  const { placeholder } = (0, import_editor_controls20.useBoundProp)();
3477
3442
  const placeholderValue = placeholder;
3478
- const currentGroup = (0, import_react23.useMemo)(() => getGroupControlValue(order?.value ?? null), [order]);
3479
- const [activeGroup, setActiveGroup] = (0, import_react23.useState)(currentGroup);
3480
- const [customLocked, setCustomLocked] = (0, import_react23.useState)(false);
3481
- (0, import_react23.useEffect)(() => {
3443
+ const currentGroup = (0, import_react22.useMemo)(() => getGroupControlValue(order?.value ?? null), [order]);
3444
+ const [activeGroup, setActiveGroup] = (0, import_react22.useState)(currentGroup);
3445
+ const [customLocked, setCustomLocked] = (0, import_react22.useState)(false);
3446
+ (0, import_react22.useEffect)(() => {
3482
3447
  if (!customLocked) {
3483
3448
  setActiveGroup(currentGroup);
3484
3449
  }
3485
3450
  }, [currentGroup, customLocked]);
3486
- (0, import_react23.useEffect)(() => {
3451
+ (0, import_react22.useEffect)(() => {
3487
3452
  if (order === null) {
3488
3453
  setCustomLocked(false);
3489
3454
  }
@@ -3508,7 +3473,7 @@ function FlexOrderFieldContent() {
3508
3473
  };
3509
3474
  const isCustomVisible = CUSTOM === activeGroup || CUSTOM === groupPlaceholder;
3510
3475
  const orderPlaceholder = CUSTOM === groupPlaceholder ? String(placeholderValue?.value ?? null) : "";
3511
- return /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React45.createElement(
3476
+ return /* @__PURE__ */ React44.createElement(React44.Fragment, null, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React44.createElement(
3512
3477
  import_editor_controls20.ControlToggleButtonGroup,
3513
3478
  {
3514
3479
  items,
@@ -3518,7 +3483,7 @@ function FlexOrderFieldContent() {
3518
3483
  placeholder: groupPlaceholder,
3519
3484
  disabled: !canEdit
3520
3485
  }
3521
- )), isCustomVisible && /* @__PURE__ */ React45.createElement(import_ui28.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(import_ui28.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(ControlLabel, null, (0, import_i18n23.__)("Custom order", "elementor"))), /* @__PURE__ */ React45.createElement(import_ui28.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React45.createElement(
3486
+ )), 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(
3522
3487
  import_editor_controls20.NumberControl,
3523
3488
  {
3524
3489
  min: FIRST_DEFAULT_VALUE + 1,
@@ -3542,36 +3507,36 @@ var getGroupControlValue = (order) => {
3542
3507
  };
3543
3508
 
3544
3509
  // src/components/style-sections/layout-section/flex-size-field.tsx
3545
- var React46 = __toESM(require("react"));
3546
- var import_react24 = require("react");
3510
+ var React45 = __toESM(require("react"));
3511
+ var import_react23 = require("react");
3547
3512
  var import_editor_controls21 = require("@elementor/editor-controls");
3548
3513
  var import_editor_props13 = require("@elementor/editor-props");
3549
3514
  var import_icons10 = require("@elementor/icons");
3550
- var import_i18n24 = require("@wordpress/i18n");
3551
- var FLEX_SIZE_LABEL = (0, import_i18n24.__)("Flex Size", "elementor");
3515
+ var import_i18n23 = require("@wordpress/i18n");
3516
+ var FLEX_SIZE_LABEL = (0, import_i18n23.__)("Flex Size", "elementor");
3552
3517
  var DEFAULT = 1;
3553
3518
  var items2 = [
3554
3519
  {
3555
3520
  value: "flex-grow",
3556
- label: (0, import_i18n24.__)("Grow", "elementor"),
3557
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.ExpandIcon, { fontSize: size }),
3521
+ label: (0, import_i18n23.__)("Grow", "elementor"),
3522
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons10.ExpandIcon, { fontSize: size }),
3558
3523
  showTooltip: true
3559
3524
  },
3560
3525
  {
3561
3526
  value: "flex-shrink",
3562
- label: (0, import_i18n24.__)("Shrink", "elementor"),
3563
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.ShrinkIcon, { fontSize: size }),
3527
+ label: (0, import_i18n23.__)("Shrink", "elementor"),
3528
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons10.ShrinkIcon, { fontSize: size }),
3564
3529
  showTooltip: true
3565
3530
  },
3566
3531
  {
3567
3532
  value: "custom",
3568
- label: (0, import_i18n24.__)("Custom", "elementor"),
3569
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.PencilIcon, { fontSize: size }),
3533
+ label: (0, import_i18n23.__)("Custom", "elementor"),
3534
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons10.PencilIcon, { fontSize: size }),
3570
3535
  showTooltip: true
3571
3536
  }
3572
3537
  ];
3573
3538
  var FlexSizeField = () => {
3574
- 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))));
3539
+ 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))));
3575
3540
  };
3576
3541
  var FlexSizeFieldContent = () => {
3577
3542
  const { value, setValue, canEdit } = useStylesField("flex", {
@@ -3579,15 +3544,15 @@ var FlexSizeFieldContent = () => {
3579
3544
  });
3580
3545
  const { placeholder } = (0, import_editor_controls21.useBoundProp)();
3581
3546
  const flexValues = extractFlexValues(value);
3582
- const currentGroup = (0, import_react24.useMemo)(() => getActiveGroup(flexValues), [flexValues]);
3583
- const [activeGroup, setActiveGroup] = (0, import_react24.useState)(currentGroup);
3584
- const [customLocked, setCustomLocked] = (0, import_react24.useState)(false);
3585
- (0, import_react24.useEffect)(() => {
3547
+ const currentGroup = (0, import_react23.useMemo)(() => getActiveGroup(flexValues), [flexValues]);
3548
+ const [activeGroup, setActiveGroup] = (0, import_react23.useState)(currentGroup);
3549
+ const [customLocked, setCustomLocked] = (0, import_react23.useState)(false);
3550
+ (0, import_react23.useEffect)(() => {
3586
3551
  if (!customLocked) {
3587
3552
  setActiveGroup(currentGroup);
3588
3553
  }
3589
3554
  }, [currentGroup, customLocked]);
3590
- (0, import_react24.useEffect)(() => {
3555
+ (0, import_react23.useEffect)(() => {
3591
3556
  if (value === null) {
3592
3557
  setCustomLocked(false);
3593
3558
  }
@@ -3600,7 +3565,7 @@ var FlexSizeFieldContent = () => {
3600
3565
  };
3601
3566
  const groupPlaceholder = getActiveGroup(extractFlexValues(placeholder));
3602
3567
  const isCustomVisible = "custom" === activeGroup || "custom" === groupPlaceholder;
3603
- return /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React46.createElement(
3568
+ return /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React45.createElement(
3604
3569
  import_editor_controls21.ControlToggleButtonGroup,
3605
3570
  {
3606
3571
  value: activeGroup ?? null,
@@ -3610,7 +3575,7 @@ var FlexSizeFieldContent = () => {
3610
3575
  items: items2,
3611
3576
  exclusive: true
3612
3577
  }
3613
- )), isCustomVisible && /* @__PURE__ */ React46.createElement(FlexCustomField, null));
3578
+ )), isCustomVisible && /* @__PURE__ */ React45.createElement(FlexCustomField, null));
3614
3579
  };
3615
3580
  function extractFlexValues(source) {
3616
3581
  return {
@@ -3650,9 +3615,9 @@ var createFlexValueForGroup = (group, flexValue) => {
3650
3615
  return null;
3651
3616
  };
3652
3617
  var FlexCustomField = () => {
3653
- const flexBasisRowRef = (0, import_react24.useRef)(null);
3618
+ const flexBasisRowRef = (0, import_react23.useRef)(null);
3654
3619
  const context = (0, import_editor_controls21.useBoundProp)(import_editor_props13.flexPropTypeUtil);
3655
- 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 })))));
3620
+ 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 })))));
3656
3621
  };
3657
3622
  var getActiveGroup = ({
3658
3623
  grow,
@@ -3676,23 +3641,23 @@ var getActiveGroup = ({
3676
3641
  };
3677
3642
 
3678
3643
  // src/components/style-sections/layout-section/gap-control-field.tsx
3679
- var React47 = __toESM(require("react"));
3644
+ var React46 = __toESM(require("react"));
3680
3645
  var import_editor_controls22 = require("@elementor/editor-controls");
3681
- var import_i18n25 = require("@wordpress/i18n");
3682
- var GAPS_LABEL = (0, import_i18n25.__)("Gaps", "elementor");
3646
+ var import_i18n24 = require("@wordpress/i18n");
3647
+ var GAPS_LABEL = (0, import_i18n24.__)("Gaps", "elementor");
3683
3648
  var GapControlField = () => {
3684
- return /* @__PURE__ */ React47.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React47.createElement(import_editor_controls22.GapControl, { label: GAPS_LABEL }));
3649
+ return /* @__PURE__ */ React46.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls22.GapControl, { label: GAPS_LABEL }));
3685
3650
  };
3686
3651
 
3687
3652
  // src/components/style-sections/layout-section/justify-content-field.tsx
3688
- var React48 = __toESM(require("react"));
3653
+ var React47 = __toESM(require("react"));
3689
3654
  var import_editor_controls23 = require("@elementor/editor-controls");
3690
3655
  var import_icons11 = require("@elementor/icons");
3691
- var import_ui29 = require("@elementor/ui");
3692
- var import_i18n26 = require("@wordpress/i18n");
3693
- var JUSTIFY_CONTENT_LABEL = (0, import_i18n26.__)("Justify content", "elementor");
3694
- var StartIcon4 = (0, import_ui29.withDirection)(import_icons11.JustifyTopIcon);
3695
- var EndIcon4 = (0, import_ui29.withDirection)(import_icons11.JustifyBottomIcon);
3656
+ var import_ui28 = require("@elementor/ui");
3657
+ var import_i18n25 = require("@wordpress/i18n");
3658
+ var JUSTIFY_CONTENT_LABEL = (0, import_i18n25.__)("Justify content", "elementor");
3659
+ var StartIcon4 = (0, import_ui28.withDirection)(import_icons11.JustifyTopIcon);
3660
+ var EndIcon4 = (0, import_ui28.withDirection)(import_icons11.JustifyBottomIcon);
3696
3661
  var iconProps4 = {
3697
3662
  isClockwise: true,
3698
3663
  offset: -90
@@ -3700,76 +3665,76 @@ var iconProps4 = {
3700
3665
  var options4 = [
3701
3666
  {
3702
3667
  value: "flex-start",
3703
- label: (0, import_i18n26.__)("Start", "elementor"),
3704
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
3668
+ label: (0, import_i18n25.__)("Start", "elementor"),
3669
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
3705
3670
  showTooltip: true
3706
3671
  },
3707
3672
  {
3708
3673
  value: "center",
3709
- label: (0, import_i18n26.__)("Center", "elementor"),
3710
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifyCenterIcon, size, ...iconProps4 }),
3674
+ label: (0, import_i18n25.__)("Center", "elementor"),
3675
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifyCenterIcon, size, ...iconProps4 }),
3711
3676
  showTooltip: true
3712
3677
  },
3713
3678
  {
3714
3679
  value: "flex-end",
3715
- label: (0, import_i18n26.__)("End", "elementor"),
3716
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
3680
+ label: (0, import_i18n25.__)("End", "elementor"),
3681
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
3717
3682
  showTooltip: true
3718
3683
  },
3719
3684
  {
3720
3685
  value: "space-between",
3721
- label: (0, import_i18n26.__)("Space between", "elementor"),
3722
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
3686
+ label: (0, import_i18n25.__)("Space between", "elementor"),
3687
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
3723
3688
  showTooltip: true
3724
3689
  },
3725
3690
  {
3726
3691
  value: "space-around",
3727
- label: (0, import_i18n26.__)("Space around", "elementor"),
3728
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
3692
+ label: (0, import_i18n25.__)("Space around", "elementor"),
3693
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
3729
3694
  showTooltip: true
3730
3695
  },
3731
3696
  {
3732
3697
  value: "space-evenly",
3733
- label: (0, import_i18n26.__)("Space evenly", "elementor"),
3734
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
3698
+ label: (0, import_i18n25.__)("Space evenly", "elementor"),
3699
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(RotatedIcon, { icon: import_icons11.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
3735
3700
  showTooltip: true
3736
3701
  }
3737
3702
  ];
3738
- 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 }))));
3703
+ 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 }))));
3739
3704
 
3740
3705
  // src/components/style-sections/layout-section/wrap-field.tsx
3741
- var React49 = __toESM(require("react"));
3706
+ var React48 = __toESM(require("react"));
3742
3707
  var import_editor_controls24 = require("@elementor/editor-controls");
3743
3708
  var import_icons12 = require("@elementor/icons");
3744
- var import_i18n27 = require("@wordpress/i18n");
3745
- var FLEX_WRAP_LABEL = (0, import_i18n27.__)("Wrap", "elementor");
3709
+ var import_i18n26 = require("@wordpress/i18n");
3710
+ var FLEX_WRAP_LABEL = (0, import_i18n26.__)("Wrap", "elementor");
3746
3711
  var options5 = [
3747
3712
  {
3748
3713
  value: "nowrap",
3749
- label: (0, import_i18n27.__)("No wrap", "elementor"),
3750
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowRightIcon, { fontSize: size }),
3714
+ label: (0, import_i18n26.__)("No wrap", "elementor"),
3715
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ArrowRightIcon, { fontSize: size }),
3751
3716
  showTooltip: true
3752
3717
  },
3753
3718
  {
3754
3719
  value: "wrap",
3755
- label: (0, import_i18n27.__)("Wrap", "elementor"),
3756
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowBackIcon, { fontSize: size }),
3720
+ label: (0, import_i18n26.__)("Wrap", "elementor"),
3721
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ArrowBackIcon, { fontSize: size }),
3757
3722
  showTooltip: true
3758
3723
  },
3759
3724
  {
3760
3725
  value: "wrap-reverse",
3761
- label: (0, import_i18n27.__)("Reversed wrap", "elementor"),
3762
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowForwardIcon, { fontSize: size }),
3726
+ label: (0, import_i18n26.__)("Reversed wrap", "elementor"),
3727
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ArrowForwardIcon, { fontSize: size }),
3763
3728
  showTooltip: true
3764
3729
  }
3765
3730
  ];
3766
3731
  var WrapField = () => {
3767
- 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 }))));
3732
+ 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 }))));
3768
3733
  };
3769
3734
 
3770
3735
  // src/components/style-sections/layout-section/layout-section.tsx
3771
- var DISPLAY_LABEL2 = (0, import_i18n28.__)("Display", "elementor");
3772
- var FLEX_WRAP_LABEL2 = (0, import_i18n28.__)("Flex wrap", "elementor");
3736
+ var DISPLAY_LABEL2 = (0, import_i18n27.__)("Display", "elementor");
3737
+ var FLEX_WRAP_LABEL2 = (0, import_i18n27.__)("Flex wrap", "elementor");
3773
3738
  var LayoutSection = () => {
3774
3739
  const { value: display } = useStylesField("display", {
3775
3740
  history: { propDisplayName: DISPLAY_LABEL2 }
@@ -3780,15 +3745,15 @@ var LayoutSection = () => {
3780
3745
  const parent = (0, import_editor_elements12.useParentElement)(element.id);
3781
3746
  const parentStyle = useComputedStyle(parent?.id || null);
3782
3747
  const parentStyleDirection = parentStyle?.flexDirection ?? "row";
3783
- 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 }));
3748
+ 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 }));
3784
3749
  };
3785
3750
  var FlexFields = () => {
3786
3751
  const { value: flexWrap } = useStylesField("flex-wrap", {
3787
3752
  history: { propDisplayName: FLEX_WRAP_LABEL2 }
3788
3753
  });
3789
- 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));
3754
+ 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));
3790
3755
  };
3791
- 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));
3756
+ 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));
3792
3757
  var shouldDisplayFlexFields = (display, local) => {
3793
3758
  const value = display?.value ?? local?.value;
3794
3759
  if (!value) {
@@ -3798,38 +3763,38 @@ var shouldDisplayFlexFields = (display, local) => {
3798
3763
  };
3799
3764
 
3800
3765
  // src/components/style-sections/position-section/position-section.tsx
3801
- var React55 = __toESM(require("react"));
3766
+ var React54 = __toESM(require("react"));
3802
3767
  var import_session6 = require("@elementor/session");
3803
- var import_i18n33 = require("@wordpress/i18n");
3768
+ var import_i18n32 = require("@wordpress/i18n");
3804
3769
 
3805
3770
  // src/components/style-sections/position-section/dimensions-field.tsx
3806
- var React51 = __toESM(require("react"));
3807
- var import_react25 = require("react");
3771
+ var React50 = __toESM(require("react"));
3772
+ var import_react24 = require("react");
3808
3773
  var import_editor_controls26 = require("@elementor/editor-controls");
3809
3774
  var import_icons13 = require("@elementor/icons");
3810
- var import_ui30 = require("@elementor/ui");
3811
- var import_i18n29 = require("@wordpress/i18n");
3812
- var InlineStartIcon2 = (0, import_ui30.withDirection)(import_icons13.SideLeftIcon);
3813
- var InlineEndIcon2 = (0, import_ui30.withDirection)(import_icons13.SideRightIcon);
3775
+ var import_ui29 = require("@elementor/ui");
3776
+ var import_i18n28 = require("@wordpress/i18n");
3777
+ var InlineStartIcon2 = (0, import_ui29.withDirection)(import_icons13.SideLeftIcon);
3778
+ var InlineEndIcon2 = (0, import_ui29.withDirection)(import_icons13.SideRightIcon);
3814
3779
  var sideIcons = {
3815
- "inset-block-start": /* @__PURE__ */ React51.createElement(import_icons13.SideTopIcon, { fontSize: "tiny" }),
3816
- "inset-block-end": /* @__PURE__ */ React51.createElement(import_icons13.SideBottomIcon, { fontSize: "tiny" }),
3817
- "inset-inline-start": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
3818
- "inset-inline-end": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
3780
+ "inset-block-start": /* @__PURE__ */ React50.createElement(import_icons13.SideTopIcon, { fontSize: "tiny" }),
3781
+ "inset-block-end": /* @__PURE__ */ React50.createElement(import_icons13.SideBottomIcon, { fontSize: "tiny" }),
3782
+ "inset-inline-start": /* @__PURE__ */ React50.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
3783
+ "inset-inline-end": /* @__PURE__ */ React50.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
3819
3784
  };
3820
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n29.__)("Right", "elementor") : (0, import_i18n29.__)("Left", "elementor");
3821
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n29.__)("Left", "elementor") : (0, import_i18n29.__)("Right", "elementor");
3785
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n28.__)("Right", "elementor") : (0, import_i18n28.__)("Left", "elementor");
3786
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n28.__)("Left", "elementor") : (0, import_i18n28.__)("Right", "elementor");
3822
3787
  var DimensionsField = () => {
3823
3788
  const { isSiteRtl } = useDirection();
3824
- const rowRefs = [(0, import_react25.useRef)(null), (0, import_react25.useRef)(null)];
3825
- return /* @__PURE__ */ React51.createElement(UiProviders, null, /* @__PURE__ */ React51.createElement(import_ui30.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(
3789
+ const rowRefs = [(0, import_react24.useRef)(null), (0, import_react24.useRef)(null)];
3790
+ 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(
3826
3791
  DimensionField,
3827
3792
  {
3828
3793
  side: "inset-inline-end",
3829
3794
  label: getInlineEndLabel(isSiteRtl),
3830
3795
  rowRef: rowRefs[0]
3831
3796
  }
3832
- )), /* @__PURE__ */ React51.createElement(import_ui30.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(
3797
+ )), /* @__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(
3833
3798
  DimensionField,
3834
3799
  {
3835
3800
  side: "inset-inline-start",
@@ -3842,7 +3807,7 @@ var DimensionField = ({
3842
3807
  side,
3843
3808
  label,
3844
3809
  rowRef
3845
- }) => /* @__PURE__ */ React51.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React51.createElement(import_ui30.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React51.createElement(import_ui30.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(ControlLabel, null, label)), /* @__PURE__ */ React51.createElement(import_ui30.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(
3810
+ }) => /* @__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(
3846
3811
  import_editor_controls26.SizeControl,
3847
3812
  {
3848
3813
  startIcon: sideIcons[side],
@@ -3853,45 +3818,45 @@ var DimensionField = ({
3853
3818
  ))));
3854
3819
 
3855
3820
  // src/components/style-sections/position-section/offset-field.tsx
3856
- var React52 = __toESM(require("react"));
3857
- var import_react26 = require("react");
3821
+ var React51 = __toESM(require("react"));
3822
+ var import_react25 = require("react");
3858
3823
  var import_editor_controls27 = require("@elementor/editor-controls");
3859
- var import_i18n30 = require("@wordpress/i18n");
3860
- var OFFSET_LABEL = (0, import_i18n30.__)("Anchor offset", "elementor");
3824
+ var import_i18n29 = require("@wordpress/i18n");
3825
+ var OFFSET_LABEL = (0, import_i18n29.__)("Anchor offset", "elementor");
3861
3826
  var UNITS = ["px", "em", "rem", "vw", "vh"];
3862
3827
  var OffsetField = () => {
3863
- const rowRef = (0, import_react26.useRef)(null);
3864
- 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 })));
3828
+ const rowRef = (0, import_react25.useRef)(null);
3829
+ 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 })));
3865
3830
  };
3866
3831
 
3867
3832
  // src/components/style-sections/position-section/position-field.tsx
3868
- var React53 = __toESM(require("react"));
3833
+ var React52 = __toESM(require("react"));
3869
3834
  var import_editor_controls28 = require("@elementor/editor-controls");
3870
- var import_i18n31 = require("@wordpress/i18n");
3871
- var POSITION_LABEL = (0, import_i18n31.__)("Position", "elementor");
3835
+ var import_i18n30 = require("@wordpress/i18n");
3836
+ var POSITION_LABEL = (0, import_i18n30.__)("Position", "elementor");
3872
3837
  var positionOptions = [
3873
- { label: (0, import_i18n31.__)("Static", "elementor"), value: "static" },
3874
- { label: (0, import_i18n31.__)("Relative", "elementor"), value: "relative" },
3875
- { label: (0, import_i18n31.__)("Absolute", "elementor"), value: "absolute" },
3876
- { label: (0, import_i18n31.__)("Fixed", "elementor"), value: "fixed" },
3877
- { label: (0, import_i18n31.__)("Sticky", "elementor"), value: "sticky" }
3838
+ { label: (0, import_i18n30.__)("Static", "elementor"), value: "static" },
3839
+ { label: (0, import_i18n30.__)("Relative", "elementor"), value: "relative" },
3840
+ { label: (0, import_i18n30.__)("Absolute", "elementor"), value: "absolute" },
3841
+ { label: (0, import_i18n30.__)("Fixed", "elementor"), value: "fixed" },
3842
+ { label: (0, import_i18n30.__)("Sticky", "elementor"), value: "sticky" }
3878
3843
  ];
3879
3844
  var PositionField = ({ onChange }) => {
3880
- 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 })));
3845
+ 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 })));
3881
3846
  };
3882
3847
 
3883
3848
  // src/components/style-sections/position-section/z-index-field.tsx
3884
- var React54 = __toESM(require("react"));
3849
+ var React53 = __toESM(require("react"));
3885
3850
  var import_editor_controls29 = require("@elementor/editor-controls");
3886
- var import_i18n32 = require("@wordpress/i18n");
3887
- var Z_INDEX_LABEL = (0, import_i18n32.__)("Z-index", "elementor");
3851
+ var import_i18n31 = require("@wordpress/i18n");
3852
+ var Z_INDEX_LABEL = (0, import_i18n31.__)("Z-index", "elementor");
3888
3853
  var ZIndexField = () => {
3889
- 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)));
3854
+ 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)));
3890
3855
  };
3891
3856
 
3892
3857
  // src/components/style-sections/position-section/position-section.tsx
3893
- var POSITION_LABEL2 = (0, import_i18n33.__)("Position", "elementor");
3894
- var DIMENSIONS_LABEL = (0, import_i18n33.__)("Dimensions", "elementor");
3858
+ var POSITION_LABEL2 = (0, import_i18n32.__)("Position", "elementor");
3859
+ var DIMENSIONS_LABEL = (0, import_i18n32.__)("Dimensions", "elementor");
3895
3860
  var PositionSection = () => {
3896
3861
  const { value: positionValue } = useStylesField("position", {
3897
3862
  history: { propDisplayName: POSITION_LABEL2 }
@@ -3926,7 +3891,7 @@ var PositionSection = () => {
3926
3891
  }
3927
3892
  };
3928
3893
  const isNotStatic = positionValue && positionValue?.value !== "static";
3929
- 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));
3894
+ 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));
3930
3895
  };
3931
3896
  var usePersistDimensions = () => {
3932
3897
  const { id: styleDefID, meta } = useStyle();
@@ -3936,25 +3901,26 @@ var usePersistDimensions = () => {
3936
3901
  };
3937
3902
 
3938
3903
  // src/components/style-sections/size-section/size-section.tsx
3939
- var React60 = __toESM(require("react"));
3940
- var import_react27 = require("react");
3904
+ var React59 = __toESM(require("react"));
3905
+ var import_react26 = require("react");
3941
3906
  var import_editor_controls32 = require("@elementor/editor-controls");
3942
- var import_ui32 = require("@elementor/ui");
3943
- var import_i18n37 = require("@wordpress/i18n");
3907
+ var import_ui31 = require("@elementor/ui");
3908
+ var import_i18n36 = require("@wordpress/i18n");
3944
3909
 
3945
3910
  // src/components/style-tab-collapsible-content.tsx
3946
- var React57 = __toESM(require("react"));
3911
+ var React56 = __toESM(require("react"));
3912
+ var import_editor_ui5 = require("@elementor/editor-ui");
3947
3913
 
3948
3914
  // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
3949
- var React56 = __toESM(require("react"));
3915
+ var React55 = __toESM(require("react"));
3950
3916
  var import_editor_styles_repository13 = require("@elementor/editor-styles-repository");
3951
- var import_ui31 = require("@elementor/ui");
3952
- var import_i18n34 = require("@wordpress/i18n");
3917
+ var import_ui30 = require("@elementor/ui");
3918
+ var import_i18n33 = require("@wordpress/i18n");
3953
3919
  var StylesInheritanceSectionIndicators = ({ fields }) => {
3954
3920
  const { id, meta, provider } = useStyle();
3955
3921
  const snapshot = useStylesInheritanceSnapshot();
3956
3922
  if (fields.includes("custom_css")) {
3957
- return /* @__PURE__ */ React56.createElement(CustomCssIndicator, null);
3923
+ return /* @__PURE__ */ React55.createElement(CustomCssIndicator, null);
3958
3924
  }
3959
3925
  const snapshotFields = Object.fromEntries(
3960
3926
  Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
@@ -3963,9 +3929,9 @@ var StylesInheritanceSectionIndicators = ({ fields }) => {
3963
3929
  if (!hasValues && !hasOverrides) {
3964
3930
  return null;
3965
3931
  }
3966
- const hasValueLabel = (0, import_i18n34.__)("Has effective styles", "elementor");
3967
- const hasOverridesLabel = (0, import_i18n34.__)("Has overridden styles", "elementor");
3968
- return /* @__PURE__ */ React56.createElement(import_ui31.Tooltip, { title: (0, import_i18n34.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React56.createElement(import_ui31.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React56.createElement(
3932
+ const hasValueLabel = (0, import_i18n33.__)("Has effective styles", "elementor");
3933
+ const hasOverridesLabel = (0, import_i18n33.__)("Has overridden styles", "elementor");
3934
+ 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(
3969
3935
  StyleIndicator,
3970
3936
  {
3971
3937
  getColor: getStylesProviderThemeColor(provider.getKey()),
@@ -3973,7 +3939,7 @@ var StylesInheritanceSectionIndicators = ({ fields }) => {
3973
3939
  role: "listitem",
3974
3940
  "aria-label": hasValueLabel
3975
3941
  }
3976
- ), hasOverrides && /* @__PURE__ */ React56.createElement(
3942
+ ), hasOverrides && /* @__PURE__ */ React55.createElement(
3977
3943
  StyleIndicator,
3978
3944
  {
3979
3945
  isOverridden: true,
@@ -4013,59 +3979,59 @@ function getCurrentStyleFromChain(chain, styleId, meta) {
4013
3979
 
4014
3980
  // src/components/style-tab-collapsible-content.tsx
4015
3981
  var StyleTabCollapsibleContent = ({ fields = [], children }) => {
4016
- return /* @__PURE__ */ React57.createElement(CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
3982
+ return /* @__PURE__ */ React56.createElement(import_editor_ui5.CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4017
3983
  };
4018
3984
  function getStylesInheritanceIndicators(fields) {
4019
3985
  if (fields.length === 0) {
4020
3986
  return null;
4021
3987
  }
4022
- return (isOpen) => !isOpen ? /* @__PURE__ */ React57.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
3988
+ return (isOpen) => !isOpen ? /* @__PURE__ */ React56.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4023
3989
  }
4024
3990
 
4025
3991
  // src/components/style-sections/size-section/object-fit-field.tsx
4026
- var React58 = __toESM(require("react"));
3992
+ var React57 = __toESM(require("react"));
4027
3993
  var import_editor_controls30 = require("@elementor/editor-controls");
4028
- var import_i18n35 = require("@wordpress/i18n");
4029
- var OBJECT_FIT_LABEL = (0, import_i18n35.__)("Object fit", "elementor");
3994
+ var import_i18n34 = require("@wordpress/i18n");
3995
+ var OBJECT_FIT_LABEL = (0, import_i18n34.__)("Object fit", "elementor");
4030
3996
  var positionOptions2 = [
4031
- { label: (0, import_i18n35.__)("Fill", "elementor"), value: "fill" },
4032
- { label: (0, import_i18n35.__)("Cover", "elementor"), value: "cover" },
4033
- { label: (0, import_i18n35.__)("Contain", "elementor"), value: "contain" },
4034
- { label: (0, import_i18n35.__)("None", "elementor"), value: "none" },
4035
- { label: (0, import_i18n35.__)("Scale down", "elementor"), value: "scale-down" }
3997
+ { label: (0, import_i18n34.__)("Fill", "elementor"), value: "fill" },
3998
+ { label: (0, import_i18n34.__)("Cover", "elementor"), value: "cover" },
3999
+ { label: (0, import_i18n34.__)("Contain", "elementor"), value: "contain" },
4000
+ { label: (0, import_i18n34.__)("None", "elementor"), value: "none" },
4001
+ { label: (0, import_i18n34.__)("Scale down", "elementor"), value: "scale-down" }
4036
4002
  ];
4037
4003
  var ObjectFitField = () => {
4038
- 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 })));
4004
+ 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 })));
4039
4005
  };
4040
4006
 
4041
4007
  // src/components/style-sections/size-section/overflow-field.tsx
4042
- var React59 = __toESM(require("react"));
4008
+ var React58 = __toESM(require("react"));
4043
4009
  var import_editor_controls31 = require("@elementor/editor-controls");
4044
4010
  var import_icons14 = require("@elementor/icons");
4045
- var import_i18n36 = require("@wordpress/i18n");
4046
- var OVERFLOW_LABEL = (0, import_i18n36.__)("Overflow", "elementor");
4011
+ var import_i18n35 = require("@wordpress/i18n");
4012
+ var OVERFLOW_LABEL = (0, import_i18n35.__)("Overflow", "elementor");
4047
4013
  var options6 = [
4048
4014
  {
4049
4015
  value: "visible",
4050
- label: (0, import_i18n36.__)("Visible", "elementor"),
4051
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.EyeIcon, { fontSize: size }),
4016
+ label: (0, import_i18n35.__)("Visible", "elementor"),
4017
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons14.EyeIcon, { fontSize: size }),
4052
4018
  showTooltip: true
4053
4019
  },
4054
4020
  {
4055
4021
  value: "hidden",
4056
- label: (0, import_i18n36.__)("Hidden", "elementor"),
4057
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.EyeOffIcon, { fontSize: size }),
4022
+ label: (0, import_i18n35.__)("Hidden", "elementor"),
4023
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons14.EyeOffIcon, { fontSize: size }),
4058
4024
  showTooltip: true
4059
4025
  },
4060
4026
  {
4061
4027
  value: "auto",
4062
- label: (0, import_i18n36.__)("Auto", "elementor"),
4063
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.LetterAIcon, { fontSize: size }),
4028
+ label: (0, import_i18n35.__)("Auto", "elementor"),
4029
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons14.LetterAIcon, { fontSize: size }),
4064
4030
  showTooltip: true
4065
4031
  }
4066
4032
  ];
4067
4033
  var OverflowField = () => {
4068
- 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 })));
4034
+ 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 })));
4069
4035
  };
4070
4036
 
4071
4037
  // src/components/style-sections/size-section/size-section.tsx
@@ -4073,52 +4039,52 @@ var CssSizeProps = [
4073
4039
  [
4074
4040
  {
4075
4041
  bind: "width",
4076
- label: (0, import_i18n37.__)("Width", "elementor")
4042
+ label: (0, import_i18n36.__)("Width", "elementor")
4077
4043
  },
4078
4044
  {
4079
4045
  bind: "height",
4080
- label: (0, import_i18n37.__)("Height", "elementor")
4046
+ label: (0, import_i18n36.__)("Height", "elementor")
4081
4047
  }
4082
4048
  ],
4083
4049
  [
4084
4050
  {
4085
4051
  bind: "min-width",
4086
- label: (0, import_i18n37.__)("Min width", "elementor")
4052
+ label: (0, import_i18n36.__)("Min width", "elementor")
4087
4053
  },
4088
4054
  {
4089
4055
  bind: "min-height",
4090
- label: (0, import_i18n37.__)("Min height", "elementor")
4056
+ label: (0, import_i18n36.__)("Min height", "elementor")
4091
4057
  }
4092
4058
  ],
4093
4059
  [
4094
4060
  {
4095
4061
  bind: "max-width",
4096
- label: (0, import_i18n37.__)("Max width", "elementor")
4062
+ label: (0, import_i18n36.__)("Max width", "elementor")
4097
4063
  },
4098
4064
  {
4099
4065
  bind: "max-height",
4100
- label: (0, import_i18n37.__)("Max height", "elementor")
4066
+ label: (0, import_i18n36.__)("Max height", "elementor")
4101
4067
  }
4102
4068
  ]
4103
4069
  ];
4104
- var ASPECT_RATIO_LABEL = (0, import_i18n37.__)("Aspect Ratio", "elementor");
4070
+ var ASPECT_RATIO_LABEL = (0, import_i18n36.__)("Aspect Ratio", "elementor");
4105
4071
  var SizeSection = () => {
4106
- const gridRowRefs = [(0, import_react27.useRef)(null), (0, import_react27.useRef)(null), (0, import_react27.useRef)(null)];
4107
- return /* @__PURE__ */ React60.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React60.createElement(import_ui32.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React60.createElement(import_ui32.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_ui32.Stack, null, /* @__PURE__ */ React60.createElement(OverflowField, null)), /* @__PURE__ */ React60.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React60.createElement(import_ui32.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_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(import_editor_controls32.PositionControl, null))))));
4072
+ const gridRowRefs = [(0, import_react26.useRef)(null), (0, import_react26.useRef)(null), (0, import_react26.useRef)(null)];
4073
+ 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))))));
4108
4074
  };
4109
4075
  var SizeField = ({ label, bind, rowRef, extendedOptions }) => {
4110
- return /* @__PURE__ */ React60.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React60.createElement(import_ui32.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React60.createElement(import_ui32.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(ControlLabel, null, label)), /* @__PURE__ */ React60.createElement(import_ui32.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(import_editor_controls32.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4076
+ 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 }))));
4111
4077
  };
4112
4078
 
4113
4079
  // src/components/style-sections/spacing-section/spacing-section.tsx
4114
- var React61 = __toESM(require("react"));
4080
+ var React60 = __toESM(require("react"));
4115
4081
  var import_editor_controls33 = require("@elementor/editor-controls");
4116
- var import_i18n38 = require("@wordpress/i18n");
4117
- var MARGIN_LABEL = (0, import_i18n38.__)("Margin", "elementor");
4118
- var PADDING_LABEL = (0, import_i18n38.__)("Padding", "elementor");
4082
+ var import_i18n37 = require("@wordpress/i18n");
4083
+ var MARGIN_LABEL = (0, import_i18n37.__)("Margin", "elementor");
4084
+ var PADDING_LABEL = (0, import_i18n37.__)("Padding", "elementor");
4119
4085
  var SpacingSection = () => {
4120
4086
  const { isSiteRtl } = useDirection();
4121
- return /* @__PURE__ */ React61.createElement(SectionContent, null, /* @__PURE__ */ React61.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React61.createElement(
4087
+ return /* @__PURE__ */ React60.createElement(SectionContent, null, /* @__PURE__ */ React60.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React60.createElement(
4122
4088
  import_editor_controls33.LinkedDimensionsControl,
4123
4089
  {
4124
4090
  label: MARGIN_LABEL,
@@ -4126,45 +4092,45 @@ var SpacingSection = () => {
4126
4092
  extendedOptions: ["auto"],
4127
4093
  min: -Number.MAX_SAFE_INTEGER
4128
4094
  }
4129
- )), /* @__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 })));
4095
+ )), /* @__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 })));
4130
4096
  };
4131
4097
 
4132
4098
  // src/components/style-sections/typography-section/typography-section.tsx
4133
- var React78 = __toESM(require("react"));
4099
+ var React77 = __toESM(require("react"));
4134
4100
 
4135
4101
  // src/components/style-sections/typography-section/column-count-field.tsx
4136
- var React62 = __toESM(require("react"));
4102
+ var React61 = __toESM(require("react"));
4137
4103
  var import_editor_controls34 = require("@elementor/editor-controls");
4138
- var import_i18n39 = require("@wordpress/i18n");
4139
- var COLUMN_COUNT_LABEL = (0, import_i18n39.__)("Columns", "elementor");
4104
+ var import_i18n38 = require("@wordpress/i18n");
4105
+ var COLUMN_COUNT_LABEL = (0, import_i18n38.__)("Columns", "elementor");
4140
4106
  var ColumnCountField = () => {
4141
- 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 })));
4107
+ 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 })));
4142
4108
  };
4143
4109
 
4144
4110
  // src/components/style-sections/typography-section/column-gap-field.tsx
4145
- var React63 = __toESM(require("react"));
4146
- var import_react28 = require("react");
4111
+ var React62 = __toESM(require("react"));
4112
+ var import_react27 = require("react");
4147
4113
  var import_editor_controls35 = require("@elementor/editor-controls");
4148
- var import_i18n40 = require("@wordpress/i18n");
4149
- var COLUMN_GAP_LABEL = (0, import_i18n40.__)("Column gap", "elementor");
4114
+ var import_i18n39 = require("@wordpress/i18n");
4115
+ var COLUMN_GAP_LABEL = (0, import_i18n39.__)("Column gap", "elementor");
4150
4116
  var ColumnGapField = () => {
4151
- const rowRef = (0, import_react28.useRef)(null);
4152
- 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 })));
4117
+ const rowRef = (0, import_react27.useRef)(null);
4118
+ 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 })));
4153
4119
  };
4154
4120
 
4155
4121
  // src/components/style-sections/typography-section/font-family-field.tsx
4156
- var React64 = __toESM(require("react"));
4122
+ var React63 = __toESM(require("react"));
4157
4123
  var import_editor_controls36 = require("@elementor/editor-controls");
4158
4124
  var import_editor_ui6 = require("@elementor/editor-ui");
4159
- var import_i18n41 = require("@wordpress/i18n");
4160
- var FONT_FAMILY_LABEL = (0, import_i18n41.__)("Font family", "elementor");
4125
+ var import_i18n40 = require("@wordpress/i18n");
4126
+ var FONT_FAMILY_LABEL = (0, import_i18n40.__)("Font family", "elementor");
4161
4127
  var FontFamilyField = () => {
4162
4128
  const fontFamilies = (0, import_editor_controls36.useFontFamilies)();
4163
4129
  const sectionWidth = (0, import_editor_ui6.useSectionWidth)();
4164
4130
  if (fontFamilies.length === 0) {
4165
4131
  return null;
4166
4132
  }
4167
- return /* @__PURE__ */ React64.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React64.createElement(
4133
+ return /* @__PURE__ */ React63.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React63.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React63.createElement(
4168
4134
  import_editor_controls36.FontFamilyControl,
4169
4135
  {
4170
4136
  fontFamilies,
@@ -4175,198 +4141,198 @@ var FontFamilyField = () => {
4175
4141
  };
4176
4142
 
4177
4143
  // src/components/style-sections/typography-section/font-size-field.tsx
4178
- var React65 = __toESM(require("react"));
4179
- var import_react29 = require("react");
4144
+ var React64 = __toESM(require("react"));
4145
+ var import_react28 = require("react");
4180
4146
  var import_editor_controls37 = require("@elementor/editor-controls");
4181
- var import_i18n42 = require("@wordpress/i18n");
4182
- var FONT_SIZE_LABEL = (0, import_i18n42.__)("Font size", "elementor");
4147
+ var import_i18n41 = require("@wordpress/i18n");
4148
+ var FONT_SIZE_LABEL = (0, import_i18n41.__)("Font size", "elementor");
4183
4149
  var FontSizeField = () => {
4184
- const rowRef = (0, import_react29.useRef)(null);
4185
- 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 })));
4150
+ const rowRef = (0, import_react28.useRef)(null);
4151
+ 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 })));
4186
4152
  };
4187
4153
 
4188
4154
  // src/components/style-sections/typography-section/font-style-field.tsx
4189
- var React66 = __toESM(require("react"));
4155
+ var React65 = __toESM(require("react"));
4190
4156
  var import_editor_controls38 = require("@elementor/editor-controls");
4191
4157
  var import_icons15 = require("@elementor/icons");
4192
- var import_i18n43 = require("@wordpress/i18n");
4193
- var FONT_STYLE_LABEL = (0, import_i18n43.__)("Font style", "elementor");
4158
+ var import_i18n42 = require("@wordpress/i18n");
4159
+ var FONT_STYLE_LABEL = (0, import_i18n42.__)("Font style", "elementor");
4194
4160
  var options7 = [
4195
4161
  {
4196
4162
  value: "normal",
4197
- label: (0, import_i18n43.__)("Normal", "elementor"),
4198
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons15.MinusIcon, { fontSize: size }),
4163
+ label: (0, import_i18n42.__)("Normal", "elementor"),
4164
+ renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(import_icons15.MinusIcon, { fontSize: size }),
4199
4165
  showTooltip: true
4200
4166
  },
4201
4167
  {
4202
4168
  value: "italic",
4203
- label: (0, import_i18n43.__)("Italic", "elementor"),
4204
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons15.ItalicIcon, { fontSize: size }),
4169
+ label: (0, import_i18n42.__)("Italic", "elementor"),
4170
+ renderContent: ({ size }) => /* @__PURE__ */ React65.createElement(import_icons15.ItalicIcon, { fontSize: size }),
4205
4171
  showTooltip: true
4206
4172
  }
4207
4173
  ];
4208
4174
  var FontStyleField = () => {
4209
- 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 })));
4175
+ 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 })));
4210
4176
  };
4211
4177
 
4212
4178
  // src/components/style-sections/typography-section/font-weight-field.tsx
4213
- var React67 = __toESM(require("react"));
4179
+ var React66 = __toESM(require("react"));
4214
4180
  var import_editor_controls39 = require("@elementor/editor-controls");
4215
- var import_i18n44 = require("@wordpress/i18n");
4216
- var FONT_WEIGHT_LABEL = (0, import_i18n44.__)("Font weight", "elementor");
4181
+ var import_i18n43 = require("@wordpress/i18n");
4182
+ var FONT_WEIGHT_LABEL = (0, import_i18n43.__)("Font weight", "elementor");
4217
4183
  var fontWeightOptions = [
4218
- { value: "100", label: (0, import_i18n44.__)("100 - Thin", "elementor") },
4219
- { value: "200", label: (0, import_i18n44.__)("200 - Extra light", "elementor") },
4220
- { value: "300", label: (0, import_i18n44.__)("300 - Light", "elementor") },
4221
- { value: "400", label: (0, import_i18n44.__)("400 - Normal", "elementor") },
4222
- { value: "500", label: (0, import_i18n44.__)("500 - Medium", "elementor") },
4223
- { value: "600", label: (0, import_i18n44.__)("600 - Semi bold", "elementor") },
4224
- { value: "700", label: (0, import_i18n44.__)("700 - Bold", "elementor") },
4225
- { value: "800", label: (0, import_i18n44.__)("800 - Extra bold", "elementor") },
4226
- { value: "900", label: (0, import_i18n44.__)("900 - Black", "elementor") }
4184
+ { value: "100", label: (0, import_i18n43.__)("100 - Thin", "elementor") },
4185
+ { value: "200", label: (0, import_i18n43.__)("200 - Extra light", "elementor") },
4186
+ { value: "300", label: (0, import_i18n43.__)("300 - Light", "elementor") },
4187
+ { value: "400", label: (0, import_i18n43.__)("400 - Normal", "elementor") },
4188
+ { value: "500", label: (0, import_i18n43.__)("500 - Medium", "elementor") },
4189
+ { value: "600", label: (0, import_i18n43.__)("600 - Semi bold", "elementor") },
4190
+ { value: "700", label: (0, import_i18n43.__)("700 - Bold", "elementor") },
4191
+ { value: "800", label: (0, import_i18n43.__)("800 - Extra bold", "elementor") },
4192
+ { value: "900", label: (0, import_i18n43.__)("900 - Black", "elementor") }
4227
4193
  ];
4228
4194
  var FontWeightField = () => {
4229
- 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 })));
4195
+ 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 })));
4230
4196
  };
4231
4197
 
4232
4198
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
4233
- var React68 = __toESM(require("react"));
4234
- var import_react30 = require("react");
4199
+ var React67 = __toESM(require("react"));
4200
+ var import_react29 = require("react");
4235
4201
  var import_editor_controls40 = require("@elementor/editor-controls");
4236
- var import_i18n45 = require("@wordpress/i18n");
4237
- var LETTER_SPACING_LABEL = (0, import_i18n45.__)("Letter spacing", "elementor");
4202
+ var import_i18n44 = require("@wordpress/i18n");
4203
+ var LETTER_SPACING_LABEL = (0, import_i18n44.__)("Letter spacing", "elementor");
4238
4204
  var LetterSpacingField = () => {
4239
- const rowRef = (0, import_react30.useRef)(null);
4240
- 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 })));
4205
+ const rowRef = (0, import_react29.useRef)(null);
4206
+ 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 })));
4241
4207
  };
4242
4208
 
4243
4209
  // src/components/style-sections/typography-section/line-height-field.tsx
4244
- var React69 = __toESM(require("react"));
4245
- var import_react31 = require("react");
4210
+ var React68 = __toESM(require("react"));
4211
+ var import_react30 = require("react");
4246
4212
  var import_editor_controls41 = require("@elementor/editor-controls");
4247
- var import_i18n46 = require("@wordpress/i18n");
4248
- var LINE_HEIGHT_LABEL = (0, import_i18n46.__)("Line height", "elementor");
4213
+ var import_i18n45 = require("@wordpress/i18n");
4214
+ var LINE_HEIGHT_LABEL = (0, import_i18n45.__)("Line height", "elementor");
4249
4215
  var LineHeightField = () => {
4250
- const rowRef = (0, import_react31.useRef)(null);
4251
- 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 })));
4216
+ const rowRef = (0, import_react30.useRef)(null);
4217
+ 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 })));
4252
4218
  };
4253
4219
 
4254
4220
  // src/components/style-sections/typography-section/text-alignment-field.tsx
4255
- var React70 = __toESM(require("react"));
4221
+ var React69 = __toESM(require("react"));
4256
4222
  var import_editor_controls42 = require("@elementor/editor-controls");
4257
4223
  var import_icons16 = require("@elementor/icons");
4258
- var import_ui33 = require("@elementor/ui");
4259
- var import_i18n47 = require("@wordpress/i18n");
4260
- var TEXT_ALIGNMENT_LABEL = (0, import_i18n47.__)("Text align", "elementor");
4261
- var AlignStartIcon = (0, import_ui33.withDirection)(import_icons16.AlignLeftIcon);
4262
- var AlignEndIcon = (0, import_ui33.withDirection)(import_icons16.AlignRightIcon);
4224
+ var import_ui32 = require("@elementor/ui");
4225
+ var import_i18n46 = require("@wordpress/i18n");
4226
+ var TEXT_ALIGNMENT_LABEL = (0, import_i18n46.__)("Text align", "elementor");
4227
+ var AlignStartIcon = (0, import_ui32.withDirection)(import_icons16.AlignLeftIcon);
4228
+ var AlignEndIcon = (0, import_ui32.withDirection)(import_icons16.AlignRightIcon);
4263
4229
  var options8 = [
4264
4230
  {
4265
4231
  value: "start",
4266
- label: (0, import_i18n47.__)("Start", "elementor"),
4267
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignStartIcon, { fontSize: size }),
4232
+ label: (0, import_i18n46.__)("Start", "elementor"),
4233
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(AlignStartIcon, { fontSize: size }),
4268
4234
  showTooltip: true
4269
4235
  },
4270
4236
  {
4271
4237
  value: "center",
4272
- label: (0, import_i18n47.__)("Center", "elementor"),
4273
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(import_icons16.AlignCenterIcon, { fontSize: size }),
4238
+ label: (0, import_i18n46.__)("Center", "elementor"),
4239
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(import_icons16.AlignCenterIcon, { fontSize: size }),
4274
4240
  showTooltip: true
4275
4241
  },
4276
4242
  {
4277
4243
  value: "end",
4278
- label: (0, import_i18n47.__)("End", "elementor"),
4279
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignEndIcon, { fontSize: size }),
4244
+ label: (0, import_i18n46.__)("End", "elementor"),
4245
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(AlignEndIcon, { fontSize: size }),
4280
4246
  showTooltip: true
4281
4247
  },
4282
4248
  {
4283
4249
  value: "justify",
4284
- label: (0, import_i18n47.__)("Justify", "elementor"),
4285
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(import_icons16.AlignJustifiedIcon, { fontSize: size }),
4250
+ label: (0, import_i18n46.__)("Justify", "elementor"),
4251
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(import_icons16.AlignJustifiedIcon, { fontSize: size }),
4286
4252
  showTooltip: true
4287
4253
  }
4288
4254
  ];
4289
4255
  var TextAlignmentField = () => {
4290
- 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 }))));
4256
+ 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 }))));
4291
4257
  };
4292
4258
 
4293
4259
  // src/components/style-sections/typography-section/text-color-field.tsx
4294
- var React71 = __toESM(require("react"));
4260
+ var React70 = __toESM(require("react"));
4295
4261
  var import_editor_controls43 = require("@elementor/editor-controls");
4296
- var import_i18n48 = require("@wordpress/i18n");
4297
- var TEXT_COLOR_LABEL = (0, import_i18n48.__)("Text color", "elementor");
4262
+ var import_i18n47 = require("@wordpress/i18n");
4263
+ var TEXT_COLOR_LABEL = (0, import_i18n47.__)("Text color", "elementor");
4298
4264
  var TextColorField = () => {
4299
- 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" })));
4265
+ 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" })));
4300
4266
  };
4301
4267
 
4302
4268
  // src/components/style-sections/typography-section/text-decoration-field.tsx
4303
- var React72 = __toESM(require("react"));
4269
+ var React71 = __toESM(require("react"));
4304
4270
  var import_editor_controls44 = require("@elementor/editor-controls");
4305
4271
  var import_icons17 = require("@elementor/icons");
4306
- var import_i18n49 = require("@wordpress/i18n");
4307
- var TEXT_DECORATION_LABEL = (0, import_i18n49.__)("Line decoration", "elementor");
4272
+ var import_i18n48 = require("@wordpress/i18n");
4273
+ var TEXT_DECORATION_LABEL = (0, import_i18n48.__)("Line decoration", "elementor");
4308
4274
  var options9 = [
4309
4275
  {
4310
4276
  value: "none",
4311
- label: (0, import_i18n49.__)("None", "elementor"),
4312
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.MinusIcon, { fontSize: size }),
4277
+ label: (0, import_i18n48.__)("None", "elementor"),
4278
+ renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.MinusIcon, { fontSize: size }),
4313
4279
  showTooltip: true,
4314
4280
  exclusive: true
4315
4281
  },
4316
4282
  {
4317
4283
  value: "underline",
4318
- label: (0, import_i18n49.__)("Underline", "elementor"),
4319
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.UnderlineIcon, { fontSize: size }),
4284
+ label: (0, import_i18n48.__)("Underline", "elementor"),
4285
+ renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.UnderlineIcon, { fontSize: size }),
4320
4286
  showTooltip: true
4321
4287
  },
4322
4288
  {
4323
4289
  value: "line-through",
4324
- label: (0, import_i18n49.__)("Line-through", "elementor"),
4325
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.StrikethroughIcon, { fontSize: size }),
4290
+ label: (0, import_i18n48.__)("Line-through", "elementor"),
4291
+ renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.StrikethroughIcon, { fontSize: size }),
4326
4292
  showTooltip: true
4327
4293
  },
4328
4294
  {
4329
4295
  value: "overline",
4330
- label: (0, import_i18n49.__)("Overline", "elementor"),
4331
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.OverlineIcon, { fontSize: size }),
4296
+ label: (0, import_i18n48.__)("Overline", "elementor"),
4297
+ renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons17.OverlineIcon, { fontSize: size }),
4332
4298
  showTooltip: true
4333
4299
  }
4334
4300
  ];
4335
- 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 })));
4301
+ 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 })));
4336
4302
 
4337
4303
  // src/components/style-sections/typography-section/text-direction-field.tsx
4338
- var React73 = __toESM(require("react"));
4304
+ var React72 = __toESM(require("react"));
4339
4305
  var import_editor_controls45 = require("@elementor/editor-controls");
4340
4306
  var import_icons18 = require("@elementor/icons");
4341
- var import_i18n50 = require("@wordpress/i18n");
4342
- var TEXT_DIRECTION_LABEL = (0, import_i18n50.__)("Direction", "elementor");
4307
+ var import_i18n49 = require("@wordpress/i18n");
4308
+ var TEXT_DIRECTION_LABEL = (0, import_i18n49.__)("Direction", "elementor");
4343
4309
  var options10 = [
4344
4310
  {
4345
4311
  value: "ltr",
4346
- label: (0, import_i18n50.__)("Left to right", "elementor"),
4347
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons18.TextDirectionLtrIcon, { fontSize: size }),
4312
+ label: (0, import_i18n49.__)("Left to right", "elementor"),
4313
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons18.TextDirectionLtrIcon, { fontSize: size }),
4348
4314
  showTooltip: true
4349
4315
  },
4350
4316
  {
4351
4317
  value: "rtl",
4352
- label: (0, import_i18n50.__)("Right to left", "elementor"),
4353
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons18.TextDirectionRtlIcon, { fontSize: size }),
4318
+ label: (0, import_i18n49.__)("Right to left", "elementor"),
4319
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons18.TextDirectionRtlIcon, { fontSize: size }),
4354
4320
  showTooltip: true
4355
4321
  }
4356
4322
  ];
4357
4323
  var TextDirectionField = () => {
4358
- 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 })));
4324
+ 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 })));
4359
4325
  };
4360
4326
 
4361
4327
  // src/components/style-sections/typography-section/text-stroke-field.tsx
4362
- var React75 = __toESM(require("react"));
4328
+ var React74 = __toESM(require("react"));
4363
4329
  var import_editor_controls46 = require("@elementor/editor-controls");
4364
- var import_i18n51 = require("@wordpress/i18n");
4330
+ var import_i18n50 = require("@wordpress/i18n");
4365
4331
 
4366
4332
  // src/components/add-or-remove-content.tsx
4367
- var React74 = __toESM(require("react"));
4333
+ var React73 = __toESM(require("react"));
4368
4334
  var import_icons19 = require("@elementor/icons");
4369
- var import_ui34 = require("@elementor/ui");
4335
+ var import_ui33 = require("@elementor/ui");
4370
4336
  var SIZE = "tiny";
4371
4337
  var AddOrRemoveContent = ({
4372
4338
  isAdded,
@@ -4376,8 +4342,8 @@ var AddOrRemoveContent = ({
4376
4342
  disabled,
4377
4343
  renderLabel
4378
4344
  }) => {
4379
- return /* @__PURE__ */ React74.createElement(SectionContent, null, /* @__PURE__ */ React74.createElement(
4380
- import_ui34.Stack,
4345
+ return /* @__PURE__ */ React73.createElement(SectionContent, null, /* @__PURE__ */ React73.createElement(
4346
+ import_ui33.Stack,
4381
4347
  {
4382
4348
  direction: "row",
4383
4349
  sx: {
@@ -4387,8 +4353,8 @@ var AddOrRemoveContent = ({
4387
4353
  }
4388
4354
  },
4389
4355
  renderLabel(),
4390
- isAdded ? /* @__PURE__ */ React74.createElement(import_ui34.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React74.createElement(import_icons19.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React74.createElement(import_ui34.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React74.createElement(import_icons19.PlusIcon, { fontSize: SIZE }))
4391
- ), /* @__PURE__ */ React74.createElement(import_ui34.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React74.createElement(SectionContent, null, children)));
4356
+ 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 }))
4357
+ ), /* @__PURE__ */ React73.createElement(import_ui33.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React73.createElement(SectionContent, null, children)));
4392
4358
  };
4393
4359
 
4394
4360
  // src/components/style-sections/typography-section/text-stroke-field.tsx
@@ -4408,7 +4374,7 @@ var initTextStroke = {
4408
4374
  }
4409
4375
  }
4410
4376
  };
4411
- var TEXT_STROKE_LABEL = (0, import_i18n51.__)("Text stroke", "elementor");
4377
+ var TEXT_STROKE_LABEL = (0, import_i18n50.__)("Text stroke", "elementor");
4412
4378
  var TextStrokeField = () => {
4413
4379
  const { value, setValue, canEdit } = useStylesField("stroke", {
4414
4380
  history: { propDisplayName: TEXT_STROKE_LABEL }
@@ -4420,67 +4386,67 @@ var TextStrokeField = () => {
4420
4386
  setValue(null);
4421
4387
  };
4422
4388
  const hasTextStroke = Boolean(value);
4423
- return /* @__PURE__ */ React75.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React75.createElement(
4389
+ return /* @__PURE__ */ React74.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React74.createElement(
4424
4390
  AddOrRemoveContent,
4425
4391
  {
4426
4392
  isAdded: hasTextStroke,
4427
4393
  onAdd: addTextStroke,
4428
4394
  onRemove: removeTextStroke,
4429
4395
  disabled: !canEdit,
4430
- renderLabel: () => /* @__PURE__ */ React75.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
4396
+ renderLabel: () => /* @__PURE__ */ React74.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
4431
4397
  },
4432
- /* @__PURE__ */ React75.createElement(import_editor_controls46.StrokeControl, null)
4398
+ /* @__PURE__ */ React74.createElement(import_editor_controls46.StrokeControl, null)
4433
4399
  ));
4434
4400
  };
4435
4401
 
4436
4402
  // src/components/style-sections/typography-section/transform-field.tsx
4437
- var React76 = __toESM(require("react"));
4403
+ var React75 = __toESM(require("react"));
4438
4404
  var import_editor_controls47 = require("@elementor/editor-controls");
4439
4405
  var import_icons20 = require("@elementor/icons");
4440
- var import_i18n52 = require("@wordpress/i18n");
4441
- var TEXT_TRANSFORM_LABEL = (0, import_i18n52.__)("Text transform", "elementor");
4406
+ var import_i18n51 = require("@wordpress/i18n");
4407
+ var TEXT_TRANSFORM_LABEL = (0, import_i18n51.__)("Text transform", "elementor");
4442
4408
  var options11 = [
4443
4409
  {
4444
4410
  value: "none",
4445
- label: (0, import_i18n52.__)("None", "elementor"),
4446
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.MinusIcon, { fontSize: size }),
4411
+ label: (0, import_i18n51.__)("None", "elementor"),
4412
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.MinusIcon, { fontSize: size }),
4447
4413
  showTooltip: true
4448
4414
  },
4449
4415
  {
4450
4416
  value: "capitalize",
4451
- label: (0, import_i18n52.__)("Capitalize", "elementor"),
4452
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseIcon, { fontSize: size }),
4417
+ label: (0, import_i18n51.__)("Capitalize", "elementor"),
4418
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.LetterCaseIcon, { fontSize: size }),
4453
4419
  showTooltip: true
4454
4420
  },
4455
4421
  {
4456
4422
  value: "uppercase",
4457
- label: (0, import_i18n52.__)("Uppercase", "elementor"),
4458
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseUpperIcon, { fontSize: size }),
4423
+ label: (0, import_i18n51.__)("Uppercase", "elementor"),
4424
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.LetterCaseUpperIcon, { fontSize: size }),
4459
4425
  showTooltip: true
4460
4426
  },
4461
4427
  {
4462
4428
  value: "lowercase",
4463
- label: (0, import_i18n52.__)("Lowercase", "elementor"),
4464
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseLowerIcon, { fontSize: size }),
4429
+ label: (0, import_i18n51.__)("Lowercase", "elementor"),
4430
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.LetterCaseLowerIcon, { fontSize: size }),
4465
4431
  showTooltip: true
4466
4432
  }
4467
4433
  ];
4468
- 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 })));
4434
+ 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 })));
4469
4435
 
4470
4436
  // src/components/style-sections/typography-section/word-spacing-field.tsx
4471
- var React77 = __toESM(require("react"));
4472
- var import_react32 = require("react");
4437
+ var React76 = __toESM(require("react"));
4438
+ var import_react31 = require("react");
4473
4439
  var import_editor_controls48 = require("@elementor/editor-controls");
4474
- var import_i18n53 = require("@wordpress/i18n");
4475
- var WORD_SPACING_LABEL = (0, import_i18n53.__)("Word spacing", "elementor");
4440
+ var import_i18n52 = require("@wordpress/i18n");
4441
+ var WORD_SPACING_LABEL = (0, import_i18n52.__)("Word spacing", "elementor");
4476
4442
  var WordSpacingField = () => {
4477
- const rowRef = (0, import_react32.useRef)(null);
4478
- 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 })));
4443
+ const rowRef = (0, import_react31.useRef)(null);
4444
+ 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 })));
4479
4445
  };
4480
4446
 
4481
4447
  // src/components/style-sections/typography-section/typography-section.tsx
4482
4448
  var TypographySection = () => {
4483
- 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(
4449
+ 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(
4484
4450
  StyleTabCollapsibleContent,
4485
4451
  {
4486
4452
  fields: [
@@ -4495,18 +4461,18 @@ var TypographySection = () => {
4495
4461
  "stroke"
4496
4462
  ]
4497
4463
  },
4498
- /* @__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))
4464
+ /* @__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))
4499
4465
  ));
4500
4466
  };
4501
4467
 
4502
4468
  // src/components/style-tab-section.tsx
4503
- var React79 = __toESM(require("react"));
4469
+ var React78 = __toESM(require("react"));
4504
4470
  var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
4505
4471
  const { component, name, title, action } = section;
4506
4472
  const tabDefaults = useDefaultPanelSettings();
4507
- const SectionComponent = component || (() => /* @__PURE__ */ React79.createElement(React79.Fragment, null));
4473
+ const SectionComponent = component || (() => /* @__PURE__ */ React78.createElement(React78.Fragment, null));
4508
4474
  const isExpanded = tabDefaults.defaultSectionsExpanded.style?.includes(name);
4509
- return /* @__PURE__ */ React79.createElement(
4475
+ return /* @__PURE__ */ React78.createElement(
4510
4476
  Section,
4511
4477
  {
4512
4478
  title,
@@ -4515,7 +4481,7 @@ var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
4515
4481
  unmountOnExit,
4516
4482
  action
4517
4483
  },
4518
- /* @__PURE__ */ React79.createElement(SectionComponent, null)
4484
+ /* @__PURE__ */ React78.createElement(SectionComponent, null)
4519
4485
  );
4520
4486
  };
4521
4487
 
@@ -4532,12 +4498,12 @@ var stickyHeaderStyles = {
4532
4498
  var StyleTab = () => {
4533
4499
  const currentClassesProp = useCurrentClassesProp();
4534
4500
  const [activeStyleDefId, setActiveStyleDefId] = useActiveStyleDefId(currentClassesProp ?? "");
4535
- const [activeStyleState, setActiveStyleState] = (0, import_react33.useState)(null);
4501
+ const [activeStyleState, setActiveStyleState] = (0, import_react32.useState)(null);
4536
4502
  const breakpoint = (0, import_editor_responsive3.useActiveBreakpoint)();
4537
4503
  if (!currentClassesProp) {
4538
4504
  return null;
4539
4505
  }
4540
- return /* @__PURE__ */ React80.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React80.createElement(
4506
+ return /* @__PURE__ */ React79.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React79.createElement(
4541
4507
  StyleProvider,
4542
4508
  {
4543
4509
  meta: { breakpoint, state: activeStyleState },
@@ -4548,13 +4514,13 @@ var StyleTab = () => {
4548
4514
  },
4549
4515
  setMetaState: setActiveStyleState
4550
4516
  },
4551
- /* @__PURE__ */ React80.createElement(import_session7.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React80.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React80.createElement(ClassesHeader, null, /* @__PURE__ */ React80.createElement(CssClassSelector, null), /* @__PURE__ */ React80.createElement(import_ui35.Divider, null)), /* @__PURE__ */ React80.createElement(SectionsList, null, /* @__PURE__ */ React80.createElement(
4517
+ /* @__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(
4552
4518
  StyleTabSection,
4553
4519
  {
4554
4520
  section: {
4555
4521
  component: LayoutSection,
4556
4522
  name: "Layout",
4557
- title: (0, import_i18n54.__)("Layout", "elementor")
4523
+ title: (0, import_i18n53.__)("Layout", "elementor")
4558
4524
  },
4559
4525
  fields: [
4560
4526
  "display",
@@ -4567,23 +4533,23 @@ var StyleTab = () => {
4567
4533
  "gap"
4568
4534
  ]
4569
4535
  }
4570
- ), /* @__PURE__ */ React80.createElement(
4536
+ ), /* @__PURE__ */ React79.createElement(
4571
4537
  StyleTabSection,
4572
4538
  {
4573
4539
  section: {
4574
4540
  component: SpacingSection,
4575
4541
  name: "Spacing",
4576
- title: (0, import_i18n54.__)("Spacing", "elementor")
4542
+ title: (0, import_i18n53.__)("Spacing", "elementor")
4577
4543
  },
4578
4544
  fields: ["margin", "padding"]
4579
4545
  }
4580
- ), /* @__PURE__ */ React80.createElement(
4546
+ ), /* @__PURE__ */ React79.createElement(
4581
4547
  StyleTabSection,
4582
4548
  {
4583
4549
  section: {
4584
4550
  component: SizeSection,
4585
4551
  name: "Size",
4586
- title: (0, import_i18n54.__)("Size", "elementor")
4552
+ title: (0, import_i18n53.__)("Size", "elementor")
4587
4553
  },
4588
4554
  fields: [
4589
4555
  "width",
@@ -4597,23 +4563,23 @@ var StyleTab = () => {
4597
4563
  "object-fit"
4598
4564
  ]
4599
4565
  }
4600
- ), /* @__PURE__ */ React80.createElement(
4566
+ ), /* @__PURE__ */ React79.createElement(
4601
4567
  StyleTabSection,
4602
4568
  {
4603
4569
  section: {
4604
4570
  component: PositionSection,
4605
4571
  name: "Position",
4606
- title: (0, import_i18n54.__)("Position", "elementor")
4572
+ title: (0, import_i18n53.__)("Position", "elementor")
4607
4573
  },
4608
4574
  fields: ["position", "z-index", "scroll-margin-top"]
4609
4575
  }
4610
- ), /* @__PURE__ */ React80.createElement(
4576
+ ), /* @__PURE__ */ React79.createElement(
4611
4577
  StyleTabSection,
4612
4578
  {
4613
4579
  section: {
4614
4580
  component: TypographySection,
4615
4581
  name: "Typography",
4616
- title: (0, import_i18n54.__)("Typography", "elementor")
4582
+ title: (0, import_i18n53.__)("Typography", "elementor")
4617
4583
  },
4618
4584
  fields: [
4619
4585
  "font-family",
@@ -4632,33 +4598,33 @@ var StyleTab = () => {
4632
4598
  "stroke"
4633
4599
  ]
4634
4600
  }
4635
- ), /* @__PURE__ */ React80.createElement(
4601
+ ), /* @__PURE__ */ React79.createElement(
4636
4602
  StyleTabSection,
4637
4603
  {
4638
4604
  section: {
4639
4605
  component: BackgroundSection,
4640
4606
  name: "Background",
4641
- title: (0, import_i18n54.__)("Background", "elementor")
4607
+ title: (0, import_i18n53.__)("Background", "elementor")
4642
4608
  },
4643
4609
  fields: ["background"]
4644
4610
  }
4645
- ), /* @__PURE__ */ React80.createElement(
4611
+ ), /* @__PURE__ */ React79.createElement(
4646
4612
  StyleTabSection,
4647
4613
  {
4648
4614
  section: {
4649
4615
  component: BorderSection,
4650
4616
  name: "Border",
4651
- title: (0, import_i18n54.__)("Border", "elementor")
4617
+ title: (0, import_i18n53.__)("Border", "elementor")
4652
4618
  },
4653
4619
  fields: ["border-radius", "border-width", "border-color", "border-style"]
4654
4620
  }
4655
- ), /* @__PURE__ */ React80.createElement(
4621
+ ), /* @__PURE__ */ React79.createElement(
4656
4622
  StyleTabSection,
4657
4623
  {
4658
4624
  section: {
4659
4625
  component: EffectsSection,
4660
4626
  name: "Effects",
4661
- title: (0, import_i18n54.__)("Effects", "elementor")
4627
+ title: (0, import_i18n53.__)("Effects", "elementor")
4662
4628
  },
4663
4629
  fields: [
4664
4630
  "mix-blend-mode",
@@ -4671,12 +4637,12 @@ var StyleTab = () => {
4671
4637
  "transition"
4672
4638
  ]
4673
4639
  }
4674
- ), /* @__PURE__ */ React80.createElement(StyleTabSlot, null)), /* @__PURE__ */ React80.createElement(import_ui35.Box, { sx: { height: "150px" } })))
4640
+ ), /* @__PURE__ */ React79.createElement(StyleTabSlot, null)), /* @__PURE__ */ React79.createElement(import_ui34.Box, { sx: { height: "150px" } })))
4675
4641
  ));
4676
4642
  };
4677
4643
  function ClassesHeader({ children }) {
4678
4644
  const scrollDirection = useScrollDirection();
4679
- return /* @__PURE__ */ React80.createElement(import_ui35.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
4645
+ return /* @__PURE__ */ React79.createElement(import_ui34.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
4680
4646
  }
4681
4647
  function useCurrentClassesProp() {
4682
4648
  const { elementType } = useElement();
@@ -4695,7 +4661,7 @@ var EditingPanelTabs = () => {
4695
4661
  return (
4696
4662
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
4697
4663
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
4698
- /* @__PURE__ */ React81.createElement(import_react34.Fragment, { key: element.id }, /* @__PURE__ */ React81.createElement(PanelTabContent, null))
4664
+ /* @__PURE__ */ React80.createElement(import_react33.Fragment, { key: element.id }, /* @__PURE__ */ React80.createElement(PanelTabContent, null))
4699
4665
  );
4700
4666
  };
4701
4667
  var PanelTabContent = () => {
@@ -4703,9 +4669,9 @@ var PanelTabContent = () => {
4703
4669
  const defaultComponentTab = editorDefaults.defaultTab;
4704
4670
  const isInteractionsActive = (0, import_editor_v1_adapters7.isExperimentActive)("e_interactions");
4705
4671
  const [currentTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
4706
- const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui36.useTabs)(currentTab);
4707
- return /* @__PURE__ */ React81.createElement(ScrollProvider, null, /* @__PURE__ */ React81.createElement(import_ui36.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React81.createElement(import_ui36.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React81.createElement(
4708
- import_ui36.Tabs,
4672
+ const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui35.useTabs)(currentTab);
4673
+ 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(
4674
+ import_ui35.Tabs,
4709
4675
  {
4710
4676
  variant: "fullWidth",
4711
4677
  size: "small",
@@ -4716,10 +4682,10 @@ var PanelTabContent = () => {
4716
4682
  setCurrentTab(newValue);
4717
4683
  }
4718
4684
  },
4719
- /* @__PURE__ */ React81.createElement(import_ui36.Tab, { label: (0, import_i18n55.__)("General", "elementor"), ...getTabProps("settings") }),
4720
- /* @__PURE__ */ React81.createElement(import_ui36.Tab, { label: (0, import_i18n55.__)("Style", "elementor"), ...getTabProps("style") }),
4721
- isInteractionsActive && /* @__PURE__ */ React81.createElement(import_ui36.Tab, { label: (0, import_i18n55.__)("Interactions", "elementor"), ...getTabProps("interactions") })
4722
- ), /* @__PURE__ */ React81.createElement(import_ui36.Divider, null)), /* @__PURE__ */ React81.createElement(import_ui36.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React81.createElement(SettingsTab, null)), /* @__PURE__ */ React81.createElement(import_ui36.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React81.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React81.createElement(import_ui36.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React81.createElement(InteractionsTab, null))));
4685
+ /* @__PURE__ */ React80.createElement(import_ui35.Tab, { label: (0, import_i18n54.__)("General", "elementor"), ...getTabProps("settings") }),
4686
+ /* @__PURE__ */ React80.createElement(import_ui35.Tab, { label: (0, import_i18n54.__)("Style", "elementor"), ...getTabProps("style") }),
4687
+ isInteractionsActive && /* @__PURE__ */ React80.createElement(import_ui35.Tab, { label: (0, import_i18n54.__)("Interactions", "elementor"), ...getTabProps("interactions") })
4688
+ ), /* @__PURE__ */ React80.createElement(import_ui35.Divider, null)), /* @__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))));
4723
4689
  };
4724
4690
 
4725
4691
  // src/components/editing-panel.tsx
@@ -4732,13 +4698,13 @@ var EditingPanel = () => {
4732
4698
  if (!element || !elementType) {
4733
4699
  return null;
4734
4700
  }
4735
- const panelTitle = (0, import_i18n56.__)("Edit %s", "elementor").replace("%s", elementType.title);
4701
+ const panelTitle = (0, import_i18n55.__)("Edit %s", "elementor").replace("%s", elementType.title);
4736
4702
  const { component: ReplacementComponent } = getEditingPanelReplacement(element, elementType) ?? {};
4737
- 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)));
4703
+ 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)));
4738
4704
  if (ReplacementComponent) {
4739
- panelContent = /* @__PURE__ */ React82.createElement(ReplacementComponent, null);
4705
+ panelContent = /* @__PURE__ */ React81.createElement(ReplacementComponent, null);
4740
4706
  }
4741
- return /* @__PURE__ */ React82.createElement(import_ui37.ErrorBoundary, { fallback: /* @__PURE__ */ React82.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React82.createElement(import_session8.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React82.createElement(import_editor_ui7.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 }, /* @__PURE__ */ React82.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React82.createElement(PanelHeaderTopSlot, null), panelContent)))))));
4707
+ 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 }, /* @__PURE__ */ React81.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React81.createElement(PanelHeaderTopSlot, null), panelContent)))))));
4742
4708
  };
4743
4709
 
4744
4710
  // src/init.ts
@@ -4747,7 +4713,7 @@ var import_editor_panels3 = require("@elementor/editor-panels");
4747
4713
  var import_editor_v1_adapters11 = require("@elementor/editor-v1-adapters");
4748
4714
 
4749
4715
  // src/hooks/use-open-editor-panel.ts
4750
- var import_react35 = require("react");
4716
+ var import_react34 = require("react");
4751
4717
  var import_editor_v1_adapters8 = require("@elementor/editor-v1-adapters");
4752
4718
 
4753
4719
  // src/panel.ts
@@ -4771,7 +4737,7 @@ var isAtomicWidgetSelected = () => {
4771
4737
  // src/hooks/use-open-editor-panel.ts
4772
4738
  var useOpenEditorPanel = () => {
4773
4739
  const { open } = usePanelActions();
4774
- (0, import_react35.useEffect)(() => {
4740
+ (0, import_react34.useEffect)(() => {
4775
4741
  return (0, import_editor_v1_adapters8.__privateListenTo)((0, import_editor_v1_adapters8.commandStartEvent)("panel/editor/open"), () => {
4776
4742
  if (isAtomicWidgetSelected()) {
4777
4743
  open();
@@ -4790,20 +4756,20 @@ var EditingPanelHooks = () => {
4790
4756
  var import_editor_controls51 = require("@elementor/editor-controls");
4791
4757
 
4792
4758
  // src/components/promotions/custom-css.tsx
4793
- var React83 = __toESM(require("react"));
4794
- var import_react36 = require("react");
4759
+ var React82 = __toESM(require("react"));
4760
+ var import_react35 = require("react");
4795
4761
  var import_editor_controls50 = require("@elementor/editor-controls");
4796
- var import_i18n57 = require("@wordpress/i18n");
4762
+ var import_i18n56 = require("@wordpress/i18n");
4797
4763
  var CustomCssSection = () => {
4798
- const triggerRef = (0, import_react36.useRef)(null);
4799
- return /* @__PURE__ */ React83.createElement(
4764
+ const triggerRef = (0, import_react35.useRef)(null);
4765
+ return /* @__PURE__ */ React82.createElement(
4800
4766
  StyleTabSection,
4801
4767
  {
4802
4768
  section: {
4803
4769
  name: "Custom CSS",
4804
- title: (0, import_i18n57.__)("Custom CSS", "elementor"),
4770
+ title: (0, import_i18n56.__)("Custom CSS", "elementor"),
4805
4771
  action: {
4806
- component: /* @__PURE__ */ React83.createElement(import_editor_controls50.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss" }),
4772
+ component: /* @__PURE__ */ React82.createElement(import_editor_controls50.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss" }),
4807
4773
  onClick: () => triggerRef.current?.toggle()
4808
4774
  }
4809
4775
  }
@@ -4825,13 +4791,13 @@ var init = () => {
4825
4791
  };
4826
4792
 
4827
4793
  // src/controls-registry/element-controls/tabs-control/tabs-control.tsx
4828
- var React84 = __toESM(require("react"));
4794
+ var React83 = __toESM(require("react"));
4829
4795
  var import_editor_controls53 = require("@elementor/editor-controls");
4830
4796
  var import_editor_elements17 = require("@elementor/editor-elements");
4831
4797
  var import_editor_props16 = require("@elementor/editor-props");
4832
4798
  var import_icons22 = require("@elementor/icons");
4833
- var import_ui38 = require("@elementor/ui");
4834
- var import_i18n59 = require("@wordpress/i18n");
4799
+ var import_ui37 = require("@elementor/ui");
4800
+ var import_i18n58 = require("@wordpress/i18n");
4835
4801
 
4836
4802
  // src/controls-registry/element-controls/get-element-by-type.ts
4837
4803
  var import_editor_elements15 = require("@elementor/editor-elements");
@@ -4850,7 +4816,7 @@ var getElementByType = (elementId, type) => {
4850
4816
  var import_editor_controls52 = require("@elementor/editor-controls");
4851
4817
  var import_editor_elements16 = require("@elementor/editor-elements");
4852
4818
  var import_editor_props15 = require("@elementor/editor-props");
4853
- var import_i18n58 = require("@wordpress/i18n");
4819
+ var import_i18n57 = require("@wordpress/i18n");
4854
4820
  var TAB_ELEMENT_TYPE = "e-tab";
4855
4821
  var TAB_CONTENT_ELEMENT_TYPE = "e-tab-content";
4856
4822
  var useActions = () => {
@@ -4873,7 +4839,7 @@ var useActions = () => {
4873
4839
  }
4874
4840
  (0, import_editor_elements16.duplicateElements)({
4875
4841
  elementIds: [tabId, tabContentId],
4876
- title: (0, import_i18n58.__)("Duplicate Tab", "elementor"),
4842
+ title: (0, import_i18n57.__)("Duplicate Tab", "elementor"),
4877
4843
  onDuplicateElements: () => {
4878
4844
  if (newDefault !== defaultActiveTab) {
4879
4845
  setDefaultActiveTab(newDefault, {}, { withHistory: false });
@@ -4910,7 +4876,7 @@ var useActions = () => {
4910
4876
  defaultActiveTab
4911
4877
  });
4912
4878
  (0, import_editor_elements16.moveElements)({
4913
- title: (0, import_i18n58.__)("Reorder Tabs", "elementor"),
4879
+ title: (0, import_i18n57.__)("Reorder Tabs", "elementor"),
4914
4880
  moves: [
4915
4881
  {
4916
4882
  element: movedElement,
@@ -4944,7 +4910,7 @@ var useActions = () => {
4944
4910
  defaultActiveTab
4945
4911
  });
4946
4912
  (0, import_editor_elements16.removeElements)({
4947
- title: (0, import_i18n58.__)("Tabs", "elementor"),
4913
+ title: (0, import_i18n57.__)("Tabs", "elementor"),
4948
4914
  elementIds: items3.flatMap(({ item, index }) => {
4949
4915
  const tabId = item.id;
4950
4916
  const tabContentContainer = (0, import_editor_elements16.getContainer)(tabContentAreaId);
@@ -4979,7 +4945,7 @@ var useActions = () => {
4979
4945
  items3.forEach(({ index }) => {
4980
4946
  const position = index + 1;
4981
4947
  (0, import_editor_elements16.createElements)({
4982
- title: (0, import_i18n58.__)("Tabs", "elementor"),
4948
+ title: (0, import_i18n57.__)("Tabs", "elementor"),
4983
4949
  elements: [
4984
4950
  {
4985
4951
  container: tabContentArea,
@@ -5048,7 +5014,7 @@ var calculateDefaultOnDuplicate = ({
5048
5014
  var TAB_MENU_ELEMENT_TYPE = "e-tabs-menu";
5049
5015
  var TAB_CONTENT_AREA_ELEMENT_TYPE = "e-tabs-content-area";
5050
5016
  var TabsControl = ({ label }) => {
5051
- return /* @__PURE__ */ React84.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n59.__)("Tabs", "elementor") }, /* @__PURE__ */ React84.createElement(TabsControlContent, { label }));
5017
+ return /* @__PURE__ */ React83.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n58.__)("Tabs", "elementor") }, /* @__PURE__ */ React83.createElement(TabsControlContent, { label }));
5052
5018
  };
5053
5019
  var TabsControlContent = ({ label }) => {
5054
5020
  const { element } = useElement();
@@ -5092,7 +5058,7 @@ var TabsControlContent = ({ label }) => {
5092
5058
  });
5093
5059
  }
5094
5060
  };
5095
- return /* @__PURE__ */ React84.createElement(
5061
+ return /* @__PURE__ */ React83.createElement(
5096
5062
  import_editor_controls53.Repeater,
5097
5063
  {
5098
5064
  showToggle: false,
@@ -5112,7 +5078,7 @@ var TabsControlContent = ({ label }) => {
5112
5078
  };
5113
5079
  var ItemLabel = ({ value, index }) => {
5114
5080
  const elementTitle = value?.title;
5115
- return /* @__PURE__ */ React84.createElement(import_ui38.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React84.createElement("span", null, elementTitle), /* @__PURE__ */ React84.createElement(ItemDefaultTab, { index }));
5081
+ 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 }));
5116
5082
  };
5117
5083
  var ItemDefaultTab = ({ index }) => {
5118
5084
  const { value: defaultItem } = (0, import_editor_controls53.useBoundProp)(import_editor_props16.numberPropTypeUtil);
@@ -5120,19 +5086,19 @@ var ItemDefaultTab = ({ index }) => {
5120
5086
  if (!isDefault) {
5121
5087
  return null;
5122
5088
  }
5123
- return /* @__PURE__ */ React84.createElement(import_ui38.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n59.__)("Default", "elementor") });
5089
+ return /* @__PURE__ */ React83.createElement(import_ui37.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n58.__)("Default", "elementor") });
5124
5090
  };
5125
5091
  var ItemContent = ({ value, index }) => {
5126
5092
  if (!value.id) {
5127
5093
  return null;
5128
5094
  }
5129
- return /* @__PURE__ */ React84.createElement(import_ui38.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 })));
5095
+ 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 })));
5130
5096
  };
5131
5097
  var DefaultTabControl = ({ tabIndex }) => {
5132
5098
  const { value, setValue } = (0, import_editor_controls53.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5133
5099
  const isDefault = value === tabIndex;
5134
- return /* @__PURE__ */ React84.createElement(import_ui38.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(
5135
- import_ui38.Switch,
5100
+ 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(
5101
+ import_ui37.Switch,
5136
5102
  {
5137
5103
  size: "small",
5138
5104
  checked: isDefault,
@@ -5149,8 +5115,8 @@ var DefaultTabControl = ({ tabIndex }) => {
5149
5115
  var TabLabelControl = ({ elementId }) => {
5150
5116
  const editorSettings = (0, import_editor_elements17.useElementEditorSettings)(elementId);
5151
5117
  const label = editorSettings?.title ?? "";
5152
- return /* @__PURE__ */ React84.createElement(import_ui38.Stack, { gap: 1 }, /* @__PURE__ */ React84.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n59.__)("Tab name", "elementor")), /* @__PURE__ */ React84.createElement(
5153
- import_ui38.TextField,
5118
+ 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(
5119
+ import_ui37.TextField,
5154
5120
  {
5155
5121
  size: "tiny",
5156
5122
  value: label,
@@ -5170,22 +5136,22 @@ var ConditionalTooltip = ({
5170
5136
  if (!showTooltip) {
5171
5137
  return children;
5172
5138
  }
5173
- return /* @__PURE__ */ React84.createElement(
5174
- import_ui38.Infotip,
5139
+ return /* @__PURE__ */ React83.createElement(
5140
+ import_ui37.Infotip,
5175
5141
  {
5176
5142
  arrow: false,
5177
- content: /* @__PURE__ */ React84.createElement(
5178
- import_ui38.Alert,
5143
+ content: /* @__PURE__ */ React83.createElement(
5144
+ import_ui37.Alert,
5179
5145
  {
5180
5146
  color: "secondary",
5181
- icon: /* @__PURE__ */ React84.createElement(import_icons22.InfoCircleFilledIcon, { fontSize: "tiny" }),
5147
+ icon: /* @__PURE__ */ React83.createElement(import_icons22.InfoCircleFilledIcon, { fontSize: "tiny" }),
5182
5148
  size: "small",
5183
5149
  sx: { width: 288 }
5184
5150
  },
5185
- /* @__PURE__ */ React84.createElement(import_ui38.Typography, { variant: "body2" }, (0, import_i18n59.__)("To change the default tab, simply set another tab as default.", "elementor"))
5151
+ /* @__PURE__ */ React83.createElement(import_ui37.Typography, { variant: "body2" }, (0, import_i18n58.__)("To change the default tab, simply set another tab as default.", "elementor"))
5186
5152
  )
5187
5153
  },
5188
- /* @__PURE__ */ React84.createElement("span", null, children)
5154
+ /* @__PURE__ */ React83.createElement("span", null, children)
5189
5155
  );
5190
5156
  };
5191
5157
 
@@ -5207,23 +5173,23 @@ var import_editor_controls60 = require("@elementor/editor-controls");
5207
5173
  var import_menus2 = require("@elementor/menus");
5208
5174
 
5209
5175
  // src/dynamics/components/background-control-dynamic-tag.tsx
5210
- var React85 = __toESM(require("react"));
5176
+ var React84 = __toESM(require("react"));
5211
5177
  var import_editor_controls55 = require("@elementor/editor-controls");
5212
5178
  var import_editor_props18 = require("@elementor/editor-props");
5213
5179
  var import_icons23 = require("@elementor/icons");
5214
5180
 
5215
5181
  // src/dynamics/hooks/use-dynamic-tag.ts
5216
- var import_react39 = require("react");
5182
+ var import_react38 = require("react");
5217
5183
 
5218
5184
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
5219
- var import_react38 = require("react");
5185
+ var import_react37 = require("react");
5220
5186
  var import_editor_controls54 = require("@elementor/editor-controls");
5221
5187
 
5222
5188
  // src/dynamics/sync/get-atomic-dynamic-tags.ts
5223
5189
  var import_editor_v1_adapters9 = require("@elementor/editor-v1-adapters");
5224
5190
 
5225
5191
  // src/hooks/use-license-config.ts
5226
- var import_react37 = require("react");
5192
+ var import_react36 = require("react");
5227
5193
  var config = { expired: false };
5228
5194
  var listeners = /* @__PURE__ */ new Set();
5229
5195
  function setLicenseConfig(newConfig) {
@@ -5238,7 +5204,7 @@ function subscribe(listener) {
5238
5204
  return () => listeners.delete(listener);
5239
5205
  }
5240
5206
  function useLicenseConfig() {
5241
- return (0, import_react37.useSyncExternalStore)(subscribe, getLicenseConfig, getLicenseConfig);
5207
+ return (0, import_react36.useSyncExternalStore)(subscribe, getLicenseConfig, getLicenseConfig);
5242
5208
  }
5243
5209
 
5244
5210
  // src/dynamics/sync/get-atomic-dynamic-tags.ts
@@ -5307,7 +5273,7 @@ var usePropDynamicTagsInternal = (filterByLicense2) => {
5307
5273
  categories = propDynamicType?.settings.categories || [];
5308
5274
  }
5309
5275
  const categoriesKey = categories.join();
5310
- return (0, import_react38.useMemo)(
5276
+ return (0, import_react37.useMemo)(
5311
5277
  () => getDynamicTagsByCategories(categories, filterByLicense2),
5312
5278
  // eslint-disable-next-line react-hooks/exhaustive-deps
5313
5279
  [categoriesKey, filterByLicense2]
@@ -5341,33 +5307,33 @@ var getDynamicTagsByCategories = (categories, filterByLicense2) => {
5341
5307
  // src/dynamics/hooks/use-dynamic-tag.ts
5342
5308
  var useDynamicTag = (tagName) => {
5343
5309
  const dynamicTags = useAllPropDynamicTags();
5344
- return (0, import_react39.useMemo)(() => dynamicTags.find((tag) => tag.name === tagName) ?? null, [dynamicTags, tagName]);
5310
+ return (0, import_react38.useMemo)(() => dynamicTags.find((tag) => tag.name === tagName) ?? null, [dynamicTags, tagName]);
5345
5311
  };
5346
5312
 
5347
5313
  // src/dynamics/components/background-control-dynamic-tag.tsx
5348
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React85.createElement(import_icons23.DatabaseIcon, { fontSize: "tiny" });
5314
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React84.createElement(import_icons23.DatabaseIcon, { fontSize: "tiny" });
5349
5315
  var BackgroundControlDynamicTagLabel = ({ value }) => {
5350
5316
  const context = (0, import_editor_controls55.useBoundProp)(import_editor_props18.backgroundImageOverlayPropTypeUtil);
5351
- 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 })));
5317
+ 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 })));
5352
5318
  };
5353
5319
  var Wrapper2 = ({ rawValue }) => {
5354
5320
  const { propType } = (0, import_editor_controls55.useBoundProp)();
5355
5321
  const imageOverlayPropType = propType.prop_types["background-image-overlay"];
5356
- 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 })));
5322
+ 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 })));
5357
5323
  };
5358
5324
  var Content = ({ rawValue }) => {
5359
5325
  const src = rawValue.value.src;
5360
5326
  const dynamicTag = useDynamicTag(src.value.name || "");
5361
- return /* @__PURE__ */ React85.createElement(React85.Fragment, null, dynamicTag?.label);
5327
+ return /* @__PURE__ */ React84.createElement(React84.Fragment, null, dynamicTag?.label);
5362
5328
  };
5363
5329
 
5364
5330
  // src/dynamics/components/dynamic-selection-control.tsx
5365
- var React89 = __toESM(require("react"));
5331
+ var React88 = __toESM(require("react"));
5366
5332
  var import_editor_controls58 = require("@elementor/editor-controls");
5367
5333
  var import_editor_ui9 = require("@elementor/editor-ui");
5368
5334
  var import_icons25 = require("@elementor/icons");
5369
- var import_ui40 = require("@elementor/ui");
5370
- var import_i18n61 = require("@wordpress/i18n");
5335
+ var import_ui39 = require("@elementor/ui");
5336
+ var import_i18n60 = require("@wordpress/i18n");
5371
5337
 
5372
5338
  // src/hooks/use-persist-dynamic-value.ts
5373
5339
  var import_session9 = require("@elementor/session");
@@ -5378,11 +5344,11 @@ var usePersistDynamicValue = (propKey) => {
5378
5344
  };
5379
5345
 
5380
5346
  // src/dynamics/dynamic-control.tsx
5381
- var React87 = __toESM(require("react"));
5347
+ var React86 = __toESM(require("react"));
5382
5348
  var import_editor_controls56 = require("@elementor/editor-controls");
5383
5349
 
5384
5350
  // src/dynamics/components/dynamic-conditional-control.tsx
5385
- var React86 = __toESM(require("react"));
5351
+ var React85 = __toESM(require("react"));
5386
5352
  var import_editor_props19 = require("@elementor/editor-props");
5387
5353
  var DynamicConditionalControl = ({
5388
5354
  children,
@@ -5390,7 +5356,7 @@ var DynamicConditionalControl = ({
5390
5356
  propsSchema,
5391
5357
  dynamicSettings
5392
5358
  }) => {
5393
- const defaults = React86.useMemo(() => {
5359
+ const defaults = React85.useMemo(() => {
5394
5360
  if (!propsSchema) {
5395
5361
  return {};
5396
5362
  }
@@ -5400,7 +5366,7 @@ var DynamicConditionalControl = ({
5400
5366
  return result;
5401
5367
  }, {});
5402
5368
  }, [propsSchema]);
5403
- const convertedSettings = React86.useMemo(() => {
5369
+ const convertedSettings = React85.useMemo(() => {
5404
5370
  if (!dynamicSettings) {
5405
5371
  return {};
5406
5372
  }
@@ -5419,14 +5385,14 @@ var DynamicConditionalControl = ({
5419
5385
  {}
5420
5386
  );
5421
5387
  }, [dynamicSettings]);
5422
- const effectiveSettings = React86.useMemo(() => {
5388
+ const effectiveSettings = React85.useMemo(() => {
5423
5389
  return { ...defaults, ...convertedSettings };
5424
5390
  }, [defaults, convertedSettings]);
5425
5391
  if (!propType?.dependencies?.terms.length) {
5426
- return /* @__PURE__ */ React86.createElement(React86.Fragment, null, children);
5392
+ return /* @__PURE__ */ React85.createElement(React85.Fragment, null, children);
5427
5393
  }
5428
5394
  const isHidden = !(0, import_editor_props19.isDependencyMet)(propType?.dependencies, effectiveSettings).isMet;
5429
- return isHidden ? null : /* @__PURE__ */ React86.createElement(React86.Fragment, null, children);
5395
+ return isHidden ? null : /* @__PURE__ */ React85.createElement(React85.Fragment, null, children);
5430
5396
  };
5431
5397
 
5432
5398
  // src/dynamics/dynamic-control.tsx
@@ -5451,7 +5417,7 @@ var DynamicControl = ({ bind, children }) => {
5451
5417
  });
5452
5418
  };
5453
5419
  const propType = createTopLevelObjectType({ schema: dynamicTag.props_schema });
5454
- 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(
5420
+ 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(
5455
5421
  DynamicConditionalControl,
5456
5422
  {
5457
5423
  propType: dynamicPropType,
@@ -5463,21 +5429,21 @@ var DynamicControl = ({ bind, children }) => {
5463
5429
  };
5464
5430
 
5465
5431
  // src/dynamics/components/dynamic-selection.tsx
5466
- var import_react40 = require("react");
5467
- var React88 = __toESM(require("react"));
5432
+ var import_react39 = require("react");
5433
+ var React87 = __toESM(require("react"));
5468
5434
  var import_editor_controls57 = require("@elementor/editor-controls");
5469
5435
  var import_editor_ui8 = require("@elementor/editor-ui");
5470
5436
  var import_icons24 = require("@elementor/icons");
5471
- var import_ui39 = require("@elementor/ui");
5472
- var import_i18n60 = require("@wordpress/i18n");
5437
+ var import_ui38 = require("@elementor/ui");
5438
+ var import_i18n59 = require("@wordpress/i18n");
5473
5439
  var SIZE2 = "tiny";
5474
5440
  var PROMO_TEXT_WIDTH = 170;
5475
5441
  var PRO_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-modal/";
5476
5442
  var RENEW_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-renew-modal/";
5477
5443
  var DynamicSelection = ({ close: closePopover, expired = false }) => {
5478
- const [searchValue, setSearchValue] = (0, import_react40.useState)("");
5444
+ const [searchValue, setSearchValue] = (0, import_react39.useState)("");
5479
5445
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
5480
- const theme = (0, import_ui39.useTheme)();
5446
+ const theme = (0, import_ui38.useTheme)();
5481
5447
  const { value: anyValue } = (0, import_editor_controls57.useBoundProp)();
5482
5448
  const { bind, value: dynamicValue, setValue } = (0, import_editor_controls57.useBoundProp)(dynamicPropTypeUtil);
5483
5449
  const [, updatePropValueHistory] = usePersistDynamicValue(bind);
@@ -5509,19 +5475,19 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
5509
5475
  ]);
5510
5476
  const getPopOverContent = () => {
5511
5477
  if (hasNoDynamicTags) {
5512
- return /* @__PURE__ */ React88.createElement(NoDynamicTags, null);
5478
+ return /* @__PURE__ */ React87.createElement(NoDynamicTags, null);
5513
5479
  }
5514
5480
  if (expired) {
5515
- return /* @__PURE__ */ React88.createElement(ExpiredDynamicTags, null);
5481
+ return /* @__PURE__ */ React87.createElement(ExpiredDynamicTags, null);
5516
5482
  }
5517
- return /* @__PURE__ */ React88.createElement(import_react40.Fragment, null, /* @__PURE__ */ React88.createElement(
5483
+ return /* @__PURE__ */ React87.createElement(import_react39.Fragment, null, /* @__PURE__ */ React87.createElement(
5518
5484
  import_editor_ui8.SearchField,
5519
5485
  {
5520
5486
  value: searchValue,
5521
5487
  onSearch: handleSearch,
5522
- placeholder: (0, import_i18n60.__)("Search dynamic tags\u2026", "elementor")
5488
+ placeholder: (0, import_i18n59.__)("Search dynamic tags\u2026", "elementor")
5523
5489
  }
5524
- ), /* @__PURE__ */ React88.createElement(import_ui39.Divider, null), /* @__PURE__ */ React88.createElement(
5490
+ ), /* @__PURE__ */ React87.createElement(import_ui38.Divider, null), /* @__PURE__ */ React87.createElement(
5525
5491
  import_editor_ui8.PopoverMenuList,
5526
5492
  {
5527
5493
  items: virtualizedItems,
@@ -5529,21 +5495,21 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
5529
5495
  onClose: closePopover,
5530
5496
  selectedValue: dynamicValue?.name,
5531
5497
  itemStyle: (item) => item.type === "item" ? { paddingInlineStart: theme.spacing(3.5) } : {},
5532
- noResultsComponent: /* @__PURE__ */ React88.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
5498
+ noResultsComponent: /* @__PURE__ */ React87.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
5533
5499
  }
5534
5500
  ));
5535
5501
  };
5536
- return /* @__PURE__ */ React88.createElement(import_editor_ui8.SectionPopoverBody, { "aria-label": (0, import_i18n60.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React88.createElement(
5502
+ return /* @__PURE__ */ React87.createElement(import_editor_ui8.SectionPopoverBody, { "aria-label": (0, import_i18n59.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React87.createElement(
5537
5503
  import_editor_ui8.PopoverHeader,
5538
5504
  {
5539
- title: (0, import_i18n60.__)("Dynamic tags", "elementor"),
5505
+ title: (0, import_i18n59.__)("Dynamic tags", "elementor"),
5540
5506
  onClose: closePopover,
5541
- icon: /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE2 })
5507
+ icon: /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE2 })
5542
5508
  }
5543
5509
  ), getPopOverContent());
5544
5510
  };
5545
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React88.createElement(
5546
- import_ui39.Stack,
5511
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React87.createElement(
5512
+ import_ui38.Stack,
5547
5513
  {
5548
5514
  gap: 1,
5549
5515
  alignItems: "center",
@@ -5553,12 +5519,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React88.createElem
5553
5519
  color: "text.secondary",
5554
5520
  sx: { pb: 3.5 }
5555
5521
  },
5556
- /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5557
- /* @__PURE__ */ React88.createElement(import_ui39.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React88.createElement("br", null), "\u201C", searchValue, "\u201D."),
5558
- /* @__PURE__ */ React88.createElement(import_ui39.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n60.__)("Try something else.", "elementor"), /* @__PURE__ */ React88.createElement(import_ui39.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n60.__)("Clear & try again", "elementor")))
5522
+ /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5523
+ /* @__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."),
5524
+ /* @__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")))
5559
5525
  );
5560
- var NoDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(import_ui39.Divider, null), /* @__PURE__ */ React88.createElement(
5561
- import_ui39.Stack,
5526
+ var NoDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(import_ui38.Divider, null), /* @__PURE__ */ React87.createElement(
5527
+ import_ui38.Stack,
5562
5528
  {
5563
5529
  gap: 1,
5564
5530
  alignItems: "center",
@@ -5568,13 +5534,13 @@ var NoDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment
5568
5534
  color: "text.secondary",
5569
5535
  sx: { pb: 3.5 }
5570
5536
  },
5571
- /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5572
- /* @__PURE__ */ React88.createElement(import_ui39.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Streamline your workflow with dynamic tags", "elementor")),
5573
- /* @__PURE__ */ React88.createElement(import_ui39.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n60.__)("Upgrade now to display your content dynamically.", "elementor")),
5574
- /* @__PURE__ */ React88.createElement(import_editor_ui8.CtaButton, { size: "small", href: PRO_DYNAMIC_TAGS_URL })
5537
+ /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5538
+ /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n59.__)("Streamline your workflow with dynamic tags", "elementor")),
5539
+ /* @__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")),
5540
+ /* @__PURE__ */ React87.createElement(import_editor_ui8.CtaButton, { size: "small", href: PRO_DYNAMIC_TAGS_URL })
5575
5541
  ));
5576
- var ExpiredDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(import_ui39.Divider, null), /* @__PURE__ */ React88.createElement(
5577
- import_ui39.Stack,
5542
+ var ExpiredDynamicTags = () => /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(import_ui38.Divider, null), /* @__PURE__ */ React87.createElement(
5543
+ import_ui38.Stack,
5578
5544
  {
5579
5545
  gap: 1,
5580
5546
  alignItems: "center",
@@ -5584,10 +5550,10 @@ var ExpiredDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fra
5584
5550
  color: "text.secondary",
5585
5551
  sx: { pb: 3.5 }
5586
5552
  },
5587
- /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5588
- /* @__PURE__ */ React88.createElement(import_ui39.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Unlock your Dynamic tags again", "elementor")),
5589
- /* @__PURE__ */ React88.createElement(import_ui39.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n60.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
5590
- /* @__PURE__ */ React88.createElement(import_editor_ui8.CtaButton, { size: "small", href: RENEW_DYNAMIC_TAGS_URL, children: (0, import_i18n60.__)("Renew Now", "elementor") })
5553
+ /* @__PURE__ */ React87.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5554
+ /* @__PURE__ */ React87.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n59.__)("Unlock your Dynamic tags again", "elementor")),
5555
+ /* @__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")),
5556
+ /* @__PURE__ */ React87.createElement(import_editor_ui8.CtaButton, { size: "small", href: RENEW_DYNAMIC_TAGS_URL, children: (0, import_i18n59.__)("Renew Now", "elementor") })
5591
5557
  ));
5592
5558
  var useFilteredOptions = (searchValue) => {
5593
5559
  const dynamicTags = usePropDynamicTags();
@@ -5618,11 +5584,11 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5618
5584
  }
5619
5585
  });
5620
5586
  const [propValueFromHistory] = usePersistDynamicValue(bind);
5621
- const selectionPopoverState = (0, import_ui40.usePopupState)({ variant: "popover" });
5587
+ const selectionPopoverState = (0, import_ui39.usePopupState)({ variant: "popover" });
5622
5588
  const { name: tagName = "" } = value;
5623
5589
  const dynamicTag = useDynamicTag(tagName);
5624
5590
  if (!isDynamicTagSupported(tagName) && OriginalControl) {
5625
- 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 })));
5591
+ 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 })));
5626
5592
  }
5627
5593
  const removeDynamicTag = () => {
5628
5594
  setAnyValue(propValueFromHistory ?? null);
@@ -5630,26 +5596,26 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5630
5596
  if (!dynamicTag) {
5631
5597
  throw new Error(`Dynamic tag ${tagName} not found`);
5632
5598
  }
5633
- return /* @__PURE__ */ React89.createElement(import_ui40.Box, null, /* @__PURE__ */ React89.createElement(
5634
- import_ui40.UnstableTag,
5599
+ return /* @__PURE__ */ React88.createElement(import_ui39.Box, null, /* @__PURE__ */ React88.createElement(
5600
+ import_ui39.UnstableTag,
5635
5601
  {
5636
5602
  fullWidth: true,
5637
5603
  showActionsOnHover: true,
5638
5604
  label: dynamicTag.label,
5639
- startIcon: /* @__PURE__ */ React89.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 }),
5640
- ...(0, import_ui40.bindTrigger)(selectionPopoverState),
5641
- actions: /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React89.createElement(
5642
- import_ui40.IconButton,
5605
+ startIcon: /* @__PURE__ */ React88.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 }),
5606
+ ...(0, import_ui39.bindTrigger)(selectionPopoverState),
5607
+ actions: /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React88.createElement(
5608
+ import_ui39.IconButton,
5643
5609
  {
5644
5610
  size: SIZE3,
5645
5611
  onClick: removeDynamicTag,
5646
- "aria-label": (0, import_i18n61.__)("Remove dynamic value", "elementor")
5612
+ "aria-label": (0, import_i18n60.__)("Remove dynamic value", "elementor")
5647
5613
  },
5648
- /* @__PURE__ */ React89.createElement(import_icons25.XIcon, { fontSize: SIZE3 })
5614
+ /* @__PURE__ */ React88.createElement(import_icons25.XIcon, { fontSize: SIZE3 })
5649
5615
  ))
5650
5616
  }
5651
- ), /* @__PURE__ */ React89.createElement(
5652
- import_ui40.Popover,
5617
+ ), /* @__PURE__ */ React88.createElement(
5618
+ import_ui39.Popover,
5653
5619
  {
5654
5620
  disablePortal: true,
5655
5621
  disableScrollLock: true,
@@ -5658,31 +5624,31 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5658
5624
  PaperProps: {
5659
5625
  sx: { my: 1 }
5660
5626
  },
5661
- ...(0, import_ui40.bindPopover)(selectionPopoverState)
5627
+ ...(0, import_ui39.bindPopover)(selectionPopoverState)
5662
5628
  },
5663
- /* @__PURE__ */ React89.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n61.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React89.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
5629
+ /* @__PURE__ */ React88.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n60.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React88.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
5664
5630
  ));
5665
5631
  };
5666
5632
  var DynamicSettingsPopover = ({
5667
5633
  dynamicTag,
5668
5634
  disabled = false
5669
5635
  }) => {
5670
- const popupState = (0, import_ui40.usePopupState)({ variant: "popover" });
5636
+ const popupState = (0, import_ui39.usePopupState)({ variant: "popover" });
5671
5637
  const hasDynamicSettings = !!dynamicTag.atomic_controls.length;
5672
5638
  if (!hasDynamicSettings) {
5673
5639
  return null;
5674
5640
  }
5675
- return /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(
5676
- import_ui40.IconButton,
5641
+ return /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(
5642
+ import_ui39.IconButton,
5677
5643
  {
5678
5644
  size: SIZE3,
5679
5645
  disabled,
5680
- ...!disabled && (0, import_ui40.bindTrigger)(popupState),
5681
- "aria-label": (0, import_i18n61.__)("Dynamic settings", "elementor")
5646
+ ...!disabled && (0, import_ui39.bindTrigger)(popupState),
5647
+ "aria-label": (0, import_i18n60.__)("Dynamic settings", "elementor")
5682
5648
  },
5683
- /* @__PURE__ */ React89.createElement(import_icons25.SettingsIcon, { fontSize: SIZE3 })
5684
- ), /* @__PURE__ */ React89.createElement(
5685
- import_ui40.Popover,
5649
+ /* @__PURE__ */ React88.createElement(import_icons25.SettingsIcon, { fontSize: SIZE3 })
5650
+ ), /* @__PURE__ */ React88.createElement(
5651
+ import_ui39.Popover,
5686
5652
  {
5687
5653
  disablePortal: true,
5688
5654
  disableScrollLock: true,
@@ -5691,45 +5657,45 @@ var DynamicSettingsPopover = ({
5691
5657
  PaperProps: {
5692
5658
  sx: { my: 1 }
5693
5659
  },
5694
- ...(0, import_ui40.bindPopover)(popupState)
5660
+ ...(0, import_ui39.bindPopover)(popupState)
5695
5661
  },
5696
- /* @__PURE__ */ React89.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n61.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React89.createElement(
5662
+ /* @__PURE__ */ React88.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n60.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React88.createElement(
5697
5663
  import_editor_ui9.PopoverHeader,
5698
5664
  {
5699
5665
  title: dynamicTag.label,
5700
5666
  onClose: popupState.close,
5701
- icon: /* @__PURE__ */ React89.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 })
5667
+ icon: /* @__PURE__ */ React88.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 })
5702
5668
  }
5703
- ), /* @__PURE__ */ React89.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
5669
+ ), /* @__PURE__ */ React88.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
5704
5670
  ));
5705
5671
  };
5706
5672
  var DynamicSettings = ({ controls, tagName }) => {
5707
5673
  const tabs = controls.filter(({ type }) => type === "section");
5708
- const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui40.useTabs)(0);
5674
+ const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui39.useTabs)(0);
5709
5675
  if (!tabs.length) {
5710
5676
  return null;
5711
5677
  }
5712
5678
  if (tagsWithoutTabs.includes(tagName)) {
5713
5679
  const singleTab = tabs[0];
5714
- return /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(import_ui40.Divider, null), /* @__PURE__ */ React89.createElement(ControlsItemsStack, { items: singleTab.value.items }));
5680
+ return /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(import_ui39.Divider, null), /* @__PURE__ */ React88.createElement(ControlsItemsStack, { items: singleTab.value.items }));
5715
5681
  }
5716
- return /* @__PURE__ */ React89.createElement(React89.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React89.createElement(import_ui40.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React89.createElement(
5717
- import_ui40.Tab,
5682
+ 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(
5683
+ import_ui39.Tab,
5718
5684
  {
5719
5685
  key: index,
5720
5686
  label: value.label,
5721
5687
  sx: { px: 1, py: 0.5 },
5722
5688
  ...getTabProps(index)
5723
5689
  }
5724
- ))), /* @__PURE__ */ React89.createElement(import_ui40.Divider, null), tabs.map(({ value }, index) => {
5725
- return /* @__PURE__ */ React89.createElement(
5726
- import_ui40.TabPanel,
5690
+ ))), /* @__PURE__ */ React88.createElement(import_ui39.Divider, null), tabs.map(({ value }, index) => {
5691
+ return /* @__PURE__ */ React88.createElement(
5692
+ import_ui39.TabPanel,
5727
5693
  {
5728
5694
  key: index,
5729
5695
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
5730
5696
  ...getTabPanelProps(index)
5731
5697
  },
5732
- /* @__PURE__ */ React89.createElement(ControlsItemsStack, { items: value.items })
5698
+ /* @__PURE__ */ React88.createElement(ControlsItemsStack, { items: value.items })
5733
5699
  );
5734
5700
  }));
5735
5701
  };
@@ -5771,11 +5737,11 @@ var Control2 = ({ control }) => {
5771
5737
  display: "grid",
5772
5738
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
5773
5739
  } : {};
5774
- return /* @__PURE__ */ React89.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React89.createElement(import_ui40.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React89.createElement(import_ui40.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React89.createElement(import_editor_controls58.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React89.createElement(import_ui40.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React89.createElement(Control, { type: control.type, props: controlProps }))));
5740
+ 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 }))));
5775
5741
  };
5776
5742
  function ControlsItemsStack({ items: items3 }) {
5777
- return /* @__PURE__ */ React89.createElement(import_ui40.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
5778
- (item) => item.type === "control" ? /* @__PURE__ */ React89.createElement(Control2, { key: item.value.bind, control: item.value }) : null
5743
+ return /* @__PURE__ */ React88.createElement(import_ui39.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
5744
+ (item) => item.type === "control" ? /* @__PURE__ */ React88.createElement(Control2, { key: item.value.bind, control: item.value }) : null
5779
5745
  ));
5780
5746
  }
5781
5747
 
@@ -5828,18 +5794,18 @@ function getDynamicValue(name, settings) {
5828
5794
  }
5829
5795
 
5830
5796
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
5831
- var React90 = __toESM(require("react"));
5797
+ var React89 = __toESM(require("react"));
5832
5798
  var import_editor_controls59 = require("@elementor/editor-controls");
5833
5799
  var import_icons26 = require("@elementor/icons");
5834
- var import_i18n62 = require("@wordpress/i18n");
5800
+ var import_i18n61 = require("@wordpress/i18n");
5835
5801
  var usePropDynamicAction = () => {
5836
5802
  const { propType } = (0, import_editor_controls59.useBoundProp)();
5837
5803
  const visible = !!propType && supportsDynamic(propType);
5838
5804
  return {
5839
5805
  visible,
5840
5806
  icon: import_icons26.DatabaseIcon,
5841
- title: (0, import_i18n62.__)("Dynamic tags", "elementor"),
5842
- content: ({ close }) => /* @__PURE__ */ React90.createElement(DynamicSelection, { close })
5807
+ title: (0, import_i18n61.__)("Dynamic tags", "elementor"),
5808
+ content: ({ close }) => /* @__PURE__ */ React89.createElement(DynamicSelection, { close })
5843
5809
  };
5844
5810
  };
5845
5811
 
@@ -5873,7 +5839,7 @@ var import_editor_controls61 = require("@elementor/editor-controls");
5873
5839
  var import_editor_variables2 = require("@elementor/editor-variables");
5874
5840
  var import_icons27 = require("@elementor/icons");
5875
5841
  var import_menus3 = require("@elementor/menus");
5876
- var import_i18n63 = require("@wordpress/i18n");
5842
+ var import_i18n62 = require("@wordpress/i18n");
5877
5843
 
5878
5844
  // src/utils/is-equal.ts
5879
5845
  function isEqual(a, b) {
@@ -5948,44 +5914,44 @@ function useResetStyleValueProps() {
5948
5914
  const visible = calculateVisibility();
5949
5915
  return {
5950
5916
  visible,
5951
- title: (0, import_i18n63.__)("Clear", "elementor"),
5917
+ title: (0, import_i18n62.__)("Clear", "elementor"),
5952
5918
  icon: import_icons27.BrushBigIcon,
5953
5919
  onClick: () => resetValue()
5954
5920
  };
5955
5921
  }
5956
5922
 
5957
5923
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
5958
- var React96 = __toESM(require("react"));
5924
+ var React95 = __toESM(require("react"));
5959
5925
  var import_editor_controls62 = require("@elementor/editor-controls");
5960
5926
  var import_editor_props21 = require("@elementor/editor-props");
5961
5927
  var import_editor_styles_repository16 = require("@elementor/editor-styles-repository");
5962
- var import_i18n67 = require("@wordpress/i18n");
5928
+ var import_i18n66 = require("@wordpress/i18n");
5963
5929
 
5964
5930
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
5965
- var React95 = __toESM(require("react"));
5966
- var import_react42 = require("react");
5931
+ var React94 = __toESM(require("react"));
5932
+ var import_react41 = require("react");
5967
5933
  var import_editor_canvas5 = require("@elementor/editor-canvas");
5968
5934
  var import_editor_ui10 = require("@elementor/editor-ui");
5969
- var import_ui45 = require("@elementor/ui");
5970
- var import_i18n66 = require("@wordpress/i18n");
5935
+ var import_ui44 = require("@elementor/ui");
5936
+ var import_i18n65 = require("@wordpress/i18n");
5971
5937
 
5972
5938
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
5973
- var import_react41 = require("react");
5939
+ var import_react40 = require("react");
5974
5940
  var import_editor_canvas4 = require("@elementor/editor-canvas");
5975
5941
  var import_editor_styles8 = require("@elementor/editor-styles");
5976
5942
  var import_editor_styles_repository14 = require("@elementor/editor-styles-repository");
5977
- var import_i18n64 = require("@wordpress/i18n");
5943
+ var import_i18n63 = require("@wordpress/i18n");
5978
5944
  var MAXIMUM_ITEMS = 2;
5979
5945
  var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
5980
- const [items3, setItems] = (0, import_react41.useState)([]);
5981
- (0, import_react41.useEffect)(() => {
5946
+ const [items3, setItems] = (0, import_react40.useState)([]);
5947
+ (0, import_react40.useEffect)(() => {
5982
5948
  (async () => {
5983
5949
  const normalizedItems = await Promise.all(
5984
5950
  inheritanceChain.filter(({ style }) => style).map((item, index) => normalizeInheritanceItem(item, index, bind, resolve))
5985
5951
  );
5986
5952
  const validItems = normalizedItems.map((item) => ({
5987
5953
  ...item,
5988
- displayLabel: import_editor_styles_repository14.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n64.__)("Base", "elementor")
5954
+ displayLabel: import_editor_styles_repository14.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n63.__)("Base", "elementor")
5989
5955
  })).filter((item) => !item.value || item.displayLabel !== "").slice(0, MAXIMUM_ITEMS);
5990
5956
  setItems(validItems);
5991
5957
  })();
@@ -6029,7 +5995,7 @@ var getTransformedValue = async (item, bind, resolve) => {
6029
5995
  }
6030
5996
  });
6031
5997
  const value = result?.[bind] ?? result;
6032
- if ((0, import_react41.isValidElement)(value)) {
5998
+ if ((0, import_react40.isValidElement)(value)) {
6033
5999
  return value;
6034
6000
  }
6035
6001
  if (typeof value === "object") {
@@ -6042,10 +6008,10 @@ var getTransformedValue = async (item, bind, resolve) => {
6042
6008
  };
6043
6009
 
6044
6010
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
6045
- var React91 = __toESM(require("react"));
6011
+ var React90 = __toESM(require("react"));
6046
6012
  var import_editor_responsive4 = require("@elementor/editor-responsive");
6047
6013
  var import_icons28 = require("@elementor/icons");
6048
- var import_ui41 = require("@elementor/ui");
6014
+ var import_ui40 = require("@elementor/ui");
6049
6015
  var SIZE4 = "tiny";
6050
6016
  var DEFAULT_BREAKPOINT3 = "desktop";
6051
6017
  var breakpointIconMap = {
@@ -6065,21 +6031,21 @@ var BreakpointIcon = ({ breakpoint }) => {
6065
6031
  return null;
6066
6032
  }
6067
6033
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
6068
- return /* @__PURE__ */ React91.createElement(import_ui41.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React91.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6034
+ return /* @__PURE__ */ React90.createElement(import_ui40.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React90.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6069
6035
  };
6070
6036
 
6071
6037
  // src/styles-inheritance/components/infotip/label-chip.tsx
6072
- var React92 = __toESM(require("react"));
6038
+ var React91 = __toESM(require("react"));
6073
6039
  var import_editor_styles_repository15 = require("@elementor/editor-styles-repository");
6074
6040
  var import_icons29 = require("@elementor/icons");
6075
- var import_ui42 = require("@elementor/ui");
6076
- var import_i18n65 = require("@wordpress/i18n");
6041
+ var import_ui41 = require("@elementor/ui");
6042
+ var import_i18n64 = require("@wordpress/i18n");
6077
6043
  var SIZE5 = "tiny";
6078
6044
  var LabelChip = ({ displayLabel, provider }) => {
6079
6045
  const isBaseStyle = provider === import_editor_styles_repository15.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
6080
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React92.createElement(import_ui42.Tooltip, { title: (0, import_i18n65.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React92.createElement(import_icons29.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6081
- return /* @__PURE__ */ React92.createElement(
6082
- import_ui42.Chip,
6046
+ 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;
6047
+ return /* @__PURE__ */ React91.createElement(
6048
+ import_ui41.Chip,
6083
6049
  {
6084
6050
  label: displayLabel,
6085
6051
  size: SIZE5,
@@ -6104,11 +6070,11 @@ var LabelChip = ({ displayLabel, provider }) => {
6104
6070
  };
6105
6071
 
6106
6072
  // src/styles-inheritance/components/infotip/value-component.tsx
6107
- var React93 = __toESM(require("react"));
6108
- var import_ui43 = require("@elementor/ui");
6073
+ var React92 = __toESM(require("react"));
6074
+ var import_ui42 = require("@elementor/ui");
6109
6075
  var ValueComponent = ({ index, value }) => {
6110
- return /* @__PURE__ */ React93.createElement(
6111
- import_ui43.Typography,
6076
+ return /* @__PURE__ */ React92.createElement(
6077
+ import_ui42.Typography,
6112
6078
  {
6113
6079
  variant: "caption",
6114
6080
  color: "text.tertiary",
@@ -6128,9 +6094,9 @@ var ValueComponent = ({ index, value }) => {
6128
6094
  };
6129
6095
 
6130
6096
  // src/styles-inheritance/components/infotip/action-icons.tsx
6131
- var React94 = __toESM(require("react"));
6132
- var import_ui44 = require("@elementor/ui");
6133
- var ActionIcons = () => /* @__PURE__ */ React94.createElement(import_ui44.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6097
+ var React93 = __toESM(require("react"));
6098
+ var import_ui43 = require("@elementor/ui");
6099
+ var ActionIcons = () => /* @__PURE__ */ React93.createElement(import_ui43.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6134
6100
 
6135
6101
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6136
6102
  var SECTION_PADDING_INLINE = 32;
@@ -6150,8 +6116,8 @@ var StylesInheritanceInfotip = ({
6150
6116
  children,
6151
6117
  isDisabled
6152
6118
  }) => {
6153
- const [showInfotip, setShowInfotip] = (0, import_react42.useState)(false);
6154
- const triggerRef = (0, import_react42.useRef)(null);
6119
+ const [showInfotip, setShowInfotip] = (0, import_react41.useState)(false);
6120
+ const triggerRef = (0, import_react41.useRef)(null);
6155
6121
  const toggleInfotip = () => {
6156
6122
  if (isDisabled) {
6157
6123
  return;
@@ -6166,15 +6132,15 @@ var StylesInheritanceInfotip = ({
6166
6132
  };
6167
6133
  const key = path.join(".");
6168
6134
  const sectionWidth = (0, import_editor_ui10.useSectionWidth)();
6169
- const resolve = (0, import_react42.useMemo)(() => {
6135
+ const resolve = (0, import_react41.useMemo)(() => {
6170
6136
  return (0, import_editor_canvas5.createPropsResolver)({
6171
6137
  transformers: import_editor_canvas5.stylesInheritanceTransformersRegistry,
6172
6138
  schema: { [key]: propType }
6173
6139
  });
6174
6140
  }, [key, propType]);
6175
6141
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
6176
- const infotipContent = /* @__PURE__ */ React95.createElement(import_ui45.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React95.createElement(
6177
- import_ui45.Card,
6142
+ const infotipContent = /* @__PURE__ */ React94.createElement(import_ui44.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React94.createElement(
6143
+ import_ui44.Card,
6178
6144
  {
6179
6145
  elevation: 0,
6180
6146
  sx: {
@@ -6186,8 +6152,8 @@ var StylesInheritanceInfotip = ({
6186
6152
  flexDirection: "column"
6187
6153
  }
6188
6154
  },
6189
- /* @__PURE__ */ React95.createElement(
6190
- import_ui45.Box,
6155
+ /* @__PURE__ */ React94.createElement(
6156
+ import_ui44.Box,
6191
6157
  {
6192
6158
  sx: {
6193
6159
  position: "sticky",
@@ -6196,10 +6162,10 @@ var StylesInheritanceInfotip = ({
6196
6162
  backgroundColor: "background.paper"
6197
6163
  }
6198
6164
  },
6199
- /* @__PURE__ */ React95.createElement(import_editor_ui10.PopoverHeader, { title: (0, import_i18n66.__)("Style origin", "elementor"), onClose: closeInfotip })
6165
+ /* @__PURE__ */ React94.createElement(import_editor_ui10.PopoverHeader, { title: (0, import_i18n65.__)("Style origin", "elementor"), onClose: closeInfotip })
6200
6166
  ),
6201
- /* @__PURE__ */ React95.createElement(
6202
- import_ui45.CardContent,
6167
+ /* @__PURE__ */ React94.createElement(
6168
+ import_ui44.CardContent,
6203
6169
  {
6204
6170
  sx: {
6205
6171
  display: "flex",
@@ -6212,39 +6178,39 @@ var StylesInheritanceInfotip = ({
6212
6178
  }
6213
6179
  }
6214
6180
  },
6215
- /* @__PURE__ */ React95.createElement(import_ui45.Stack, { gap: 1.5, sx: { pl: 3, pr: 1, pb: 2 }, role: "list" }, items3.map((item, index) => {
6216
- return /* @__PURE__ */ React95.createElement(
6217
- import_ui45.Box,
6181
+ /* @__PURE__ */ React94.createElement(import_ui44.Stack, { gap: 1.5, sx: { pl: 3, pr: 1, pb: 2 }, role: "list" }, items3.map((item, index) => {
6182
+ return /* @__PURE__ */ React94.createElement(
6183
+ import_ui44.Box,
6218
6184
  {
6219
6185
  key: item.id,
6220
6186
  display: "flex",
6221
6187
  gap: 0.5,
6222
6188
  role: "listitem",
6223
- "aria-label": (0, import_i18n66.__)("Inheritance item: %s", "elementor").replace(
6189
+ "aria-label": (0, import_i18n65.__)("Inheritance item: %s", "elementor").replace(
6224
6190
  "%s",
6225
6191
  item.displayLabel
6226
6192
  )
6227
6193
  },
6228
- /* @__PURE__ */ React95.createElement(
6229
- import_ui45.Box,
6194
+ /* @__PURE__ */ React94.createElement(
6195
+ import_ui44.Box,
6230
6196
  {
6231
6197
  display: "flex",
6232
6198
  gap: 0.5,
6233
6199
  sx: { flexWrap: "wrap", width: "100%", alignItems: "flex-start" }
6234
6200
  },
6235
- /* @__PURE__ */ React95.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
6236
- /* @__PURE__ */ React95.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
6237
- /* @__PURE__ */ React95.createElement(ValueComponent, { index, value: item.value })
6201
+ /* @__PURE__ */ React94.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
6202
+ /* @__PURE__ */ React94.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
6203
+ /* @__PURE__ */ React94.createElement(ValueComponent, { index, value: item.value })
6238
6204
  ),
6239
- /* @__PURE__ */ React95.createElement(ActionIcons, null)
6205
+ /* @__PURE__ */ React94.createElement(ActionIcons, null)
6240
6206
  );
6241
6207
  }))
6242
6208
  )
6243
6209
  ));
6244
6210
  if (isDisabled) {
6245
- return /* @__PURE__ */ React95.createElement(import_ui45.Box, { sx: { display: "inline-flex" } }, children);
6211
+ return /* @__PURE__ */ React94.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6246
6212
  }
6247
- return /* @__PURE__ */ React95.createElement(import_ui45.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React95.createElement(
6213
+ return /* @__PURE__ */ React94.createElement(import_ui44.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React94.createElement(
6248
6214
  TooltipOrInfotip,
6249
6215
  {
6250
6216
  showInfotip,
@@ -6254,8 +6220,8 @@ var StylesInheritanceInfotip = ({
6254
6220
  triggerRef,
6255
6221
  sectionWidth
6256
6222
  },
6257
- /* @__PURE__ */ React95.createElement(
6258
- import_ui45.IconButton,
6223
+ /* @__PURE__ */ React94.createElement(
6224
+ import_ui44.IconButton,
6259
6225
  {
6260
6226
  onClick: toggleInfotip,
6261
6227
  "aria-label": label,
@@ -6278,14 +6244,14 @@ function TooltipOrInfotip({
6278
6244
  const direction = useDirection();
6279
6245
  const isSiteRtl = direction.isSiteRtl;
6280
6246
  if (isDisabled) {
6281
- return /* @__PURE__ */ React95.createElement(import_ui45.Box, { sx: { display: "inline-flex" } }, children);
6247
+ return /* @__PURE__ */ React94.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6282
6248
  }
6283
6249
  if (showInfotip) {
6284
6250
  const triggerRect = triggerRef.current?.getBoundingClientRect();
6285
6251
  const cardWidth = Math.min(sectionWidth - SECTION_PADDING_INLINE, INFOTIP_MAX_WIDTH);
6286
6252
  const offsetX = calculatePopoverOffset(triggerRect, cardWidth, isSiteRtl);
6287
- return /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(
6288
- import_ui45.Backdrop,
6253
+ return /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement(
6254
+ import_ui44.Backdrop,
6289
6255
  {
6290
6256
  open: showInfotip,
6291
6257
  onClick: onClose,
@@ -6294,8 +6260,8 @@ function TooltipOrInfotip({
6294
6260
  zIndex: (theme) => theme.zIndex.modal - 1
6295
6261
  }
6296
6262
  }
6297
- ), /* @__PURE__ */ React95.createElement(
6298
- import_ui45.Infotip,
6263
+ ), /* @__PURE__ */ React94.createElement(
6264
+ import_ui44.Infotip,
6299
6265
  {
6300
6266
  placement: "top",
6301
6267
  content: infotipContent,
@@ -6321,7 +6287,7 @@ function TooltipOrInfotip({
6321
6287
  children
6322
6288
  ));
6323
6289
  }
6324
- return /* @__PURE__ */ React95.createElement(import_ui45.Tooltip, { title: (0, import_i18n66.__)("Style origin", "elementor"), placement: "top" }, children);
6290
+ return /* @__PURE__ */ React94.createElement(import_ui44.Tooltip, { title: (0, import_i18n65.__)("Style origin", "elementor"), placement: "top" }, children);
6325
6291
  }
6326
6292
 
6327
6293
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
@@ -6334,7 +6300,7 @@ var StylesInheritanceIndicator = ({
6334
6300
  if (!path || !inheritanceChain.length) {
6335
6301
  return null;
6336
6302
  }
6337
- return /* @__PURE__ */ React96.createElement(Indicator, { inheritanceChain, path, propType });
6303
+ return /* @__PURE__ */ React95.createElement(Indicator, { inheritanceChain, path, propType });
6338
6304
  };
6339
6305
  var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6340
6306
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
@@ -6350,7 +6316,7 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6350
6316
  getColor: isFinalValue && currentStyleProvider ? getStylesProviderThemeColor(currentStyleProvider.getKey()) : void 0,
6351
6317
  isOverridden: hasValue && !isFinalValue ? true : void 0
6352
6318
  };
6353
- return /* @__PURE__ */ React96.createElement(
6319
+ return /* @__PURE__ */ React95.createElement(
6354
6320
  StylesInheritanceInfotip,
6355
6321
  {
6356
6322
  inheritanceChain,
@@ -6359,17 +6325,17 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6359
6325
  label,
6360
6326
  isDisabled
6361
6327
  },
6362
- /* @__PURE__ */ React96.createElement(StyleIndicator, { ...styleIndicatorProps })
6328
+ /* @__PURE__ */ React95.createElement(StyleIndicator, { ...styleIndicatorProps })
6363
6329
  );
6364
6330
  };
6365
6331
  var getLabel = ({ isFinalValue, hasValue }) => {
6366
6332
  if (isFinalValue) {
6367
- return (0, import_i18n67.__)("This is the final value", "elementor");
6333
+ return (0, import_i18n66.__)("This is the final value", "elementor");
6368
6334
  }
6369
6335
  if (hasValue) {
6370
- return (0, import_i18n67.__)("This value is overridden by another style", "elementor");
6336
+ return (0, import_i18n66.__)("This value is overridden by another style", "elementor");
6371
6337
  }
6372
- return (0, import_i18n67.__)("This has value from another style", "elementor");
6338
+ return (0, import_i18n66.__)("This has value from another style", "elementor");
6373
6339
  };
6374
6340
 
6375
6341
  // src/styles-inheritance/init-styles-inheritance-transformers.ts
@@ -6390,25 +6356,25 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
6390
6356
  ]);
6391
6357
 
6392
6358
  // src/styles-inheritance/transformers/array-transformer.tsx
6393
- var React97 = __toESM(require("react"));
6359
+ var React96 = __toESM(require("react"));
6394
6360
  var import_editor_canvas6 = require("@elementor/editor-canvas");
6395
- var import_ui46 = require("@elementor/ui");
6361
+ var import_ui45 = require("@elementor/ui");
6396
6362
  var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) => {
6397
6363
  if (!values || values.length === 0) {
6398
6364
  return null;
6399
6365
  }
6400
- return /* @__PURE__ */ React97.createElement(import_ui46.Stack, { direction: "column" }, values.map((item, index) => /* @__PURE__ */ React97.createElement(import_ui46.Stack, { key: index }, item)));
6366
+ return /* @__PURE__ */ React96.createElement(import_ui45.Stack, { direction: "column" }, values.map((item, index) => /* @__PURE__ */ React96.createElement(import_ui45.Stack, { key: index }, item)));
6401
6367
  });
6402
6368
 
6403
6369
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
6404
- var React98 = __toESM(require("react"));
6370
+ var React97 = __toESM(require("react"));
6405
6371
  var import_editor_canvas7 = require("@elementor/editor-canvas");
6406
- var import_ui47 = require("@elementor/ui");
6407
- var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React98.createElement(import_ui47.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React98.createElement(ItemLabelColor, { value })));
6372
+ var import_ui46 = require("@elementor/ui");
6373
+ var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React97.createElement(import_ui46.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React97.createElement(ItemLabelColor, { value })));
6408
6374
  var ItemLabelColor = ({ value: { color } }) => {
6409
- return /* @__PURE__ */ React98.createElement("span", null, color);
6375
+ return /* @__PURE__ */ React97.createElement("span", null, color);
6410
6376
  };
6411
- var StyledUnstableColorIndicator = (0, import_ui47.styled)(import_ui47.UnstableColorIndicator)(({ theme }) => ({
6377
+ var StyledUnstableColorIndicator = (0, import_ui46.styled)(import_ui46.UnstableColorIndicator)(({ theme }) => ({
6412
6378
  width: "1em",
6413
6379
  height: "1em",
6414
6380
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -6417,20 +6383,20 @@ var StyledUnstableColorIndicator = (0, import_ui47.styled)(import_ui47.UnstableC
6417
6383
  }));
6418
6384
 
6419
6385
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
6420
- var React99 = __toESM(require("react"));
6386
+ var React98 = __toESM(require("react"));
6421
6387
  var import_editor_canvas8 = require("@elementor/editor-canvas");
6422
- var import_ui48 = require("@elementor/ui");
6423
- var import_i18n68 = require("@wordpress/i18n");
6424
- var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React99.createElement(import_ui48.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React99.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React99.createElement(ItemLabelGradient, { value })));
6388
+ var import_ui47 = require("@elementor/ui");
6389
+ var import_i18n67 = require("@wordpress/i18n");
6390
+ var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React98.createElement(import_ui47.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React98.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React98.createElement(ItemLabelGradient, { value })));
6425
6391
  var ItemIconGradient = ({ value }) => {
6426
6392
  const gradient = getGradientValue(value);
6427
- return /* @__PURE__ */ React99.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
6393
+ return /* @__PURE__ */ React98.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
6428
6394
  };
6429
6395
  var ItemLabelGradient = ({ value }) => {
6430
6396
  if (value.type === "linear") {
6431
- return /* @__PURE__ */ React99.createElement("span", null, (0, import_i18n68.__)("Linear gradient", "elementor"));
6397
+ return /* @__PURE__ */ React98.createElement("span", null, (0, import_i18n67.__)("Linear gradient", "elementor"));
6432
6398
  }
6433
- return /* @__PURE__ */ React99.createElement("span", null, (0, import_i18n68.__)("Radial gradient", "elementor"));
6399
+ return /* @__PURE__ */ React98.createElement("span", null, (0, import_i18n67.__)("Radial gradient", "elementor"));
6434
6400
  };
6435
6401
  var getGradientValue = (gradient) => {
6436
6402
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
@@ -6441,16 +6407,16 @@ var getGradientValue = (gradient) => {
6441
6407
  };
6442
6408
 
6443
6409
  // src/styles-inheritance/transformers/background-image-overlay-transformer.tsx
6444
- var React100 = __toESM(require("react"));
6410
+ var React99 = __toESM(require("react"));
6445
6411
  var import_editor_canvas9 = require("@elementor/editor-canvas");
6446
6412
  var import_editor_ui11 = require("@elementor/editor-ui");
6447
- var import_ui49 = require("@elementor/ui");
6413
+ var import_ui48 = require("@elementor/ui");
6448
6414
  var import_wp_media = require("@elementor/wp-media");
6449
- var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React100.createElement(import_ui49.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React100.createElement(ItemIconImage, { value }), /* @__PURE__ */ React100.createElement(ItemLabelImage, { value })));
6415
+ var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React99.createElement(import_ui48.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React99.createElement(ItemIconImage, { value }), /* @__PURE__ */ React99.createElement(ItemLabelImage, { value })));
6450
6416
  var ItemIconImage = ({ value }) => {
6451
6417
  const { imageUrl } = useImage(value);
6452
- return /* @__PURE__ */ React100.createElement(
6453
- import_ui49.CardMedia,
6418
+ return /* @__PURE__ */ React99.createElement(
6419
+ import_ui48.CardMedia,
6454
6420
  {
6455
6421
  image: imageUrl,
6456
6422
  sx: (theme) => ({
@@ -6465,7 +6431,7 @@ var ItemIconImage = ({ value }) => {
6465
6431
  };
6466
6432
  var ItemLabelImage = ({ value }) => {
6467
6433
  const { imageTitle } = useImage(value);
6468
- return /* @__PURE__ */ React100.createElement(import_editor_ui11.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React100.createElement("span", null, imageTitle));
6434
+ return /* @__PURE__ */ React99.createElement(import_editor_ui11.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React99.createElement("span", null, imageTitle));
6469
6435
  };
6470
6436
  var useImage = (image) => {
6471
6437
  let imageTitle, imageUrl = null;
@@ -6490,9 +6456,9 @@ var getFileExtensionFromFilename = (filename) => {
6490
6456
  };
6491
6457
 
6492
6458
  // src/styles-inheritance/transformers/box-shadow-transformer.tsx
6493
- var React101 = __toESM(require("react"));
6459
+ var React100 = __toESM(require("react"));
6494
6460
  var import_editor_canvas10 = require("@elementor/editor-canvas");
6495
- var import_ui50 = require("@elementor/ui");
6461
+ var import_ui49 = require("@elementor/ui");
6496
6462
  var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value) => {
6497
6463
  if (!value) {
6498
6464
  return null;
@@ -6501,20 +6467,20 @@ var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value)
6501
6467
  const colorValue = color || "#000000";
6502
6468
  const sizes = [hOffset || "0px", vOffset || "0px", blur || "10px", spread || "0px"].join(" ");
6503
6469
  const positionValue = position || "outset";
6504
- return /* @__PURE__ */ React101.createElement(import_ui50.Stack, { direction: "column", gap: 0.5, pb: 1 }, /* @__PURE__ */ React101.createElement("span", null, colorValue, " ", positionValue, ", ", sizes));
6470
+ return /* @__PURE__ */ React100.createElement(import_ui49.Stack, { direction: "column", gap: 0.5, pb: 1 }, /* @__PURE__ */ React100.createElement("span", null, colorValue, " ", positionValue, ", ", sizes));
6505
6471
  });
6506
6472
 
6507
6473
  // src/styles-inheritance/transformers/color-transformer.tsx
6508
- var React102 = __toESM(require("react"));
6474
+ var React101 = __toESM(require("react"));
6509
6475
  var import_editor_canvas11 = require("@elementor/editor-canvas");
6510
- var import_ui51 = require("@elementor/ui");
6476
+ var import_ui50 = require("@elementor/ui");
6511
6477
  function isValidCSSColor(value) {
6512
6478
  if (!value.trim()) {
6513
6479
  return false;
6514
6480
  }
6515
6481
  return CSS.supports("color", value.trim());
6516
6482
  }
6517
- var StyledColorIndicator = (0, import_ui51.styled)(import_ui51.UnstableColorIndicator)(({ theme }) => ({
6483
+ var StyledColorIndicator = (0, import_ui50.styled)(import_ui50.UnstableColorIndicator)(({ theme }) => ({
6518
6484
  width: "1em",
6519
6485
  height: "1em",
6520
6486
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -6525,13 +6491,13 @@ var colorTransformer = (0, import_editor_canvas11.createTransformer)((value) =>
6525
6491
  if (!isValidCSSColor(value)) {
6526
6492
  return value;
6527
6493
  }
6528
- return /* @__PURE__ */ React102.createElement(import_ui51.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React102.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React102.createElement("span", null, value));
6494
+ return /* @__PURE__ */ React101.createElement(import_ui50.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React101.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React101.createElement("span", null, value));
6529
6495
  });
6530
6496
 
6531
6497
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx
6532
- var React103 = __toESM(require("react"));
6498
+ var React102 = __toESM(require("react"));
6533
6499
  var import_editor_canvas12 = require("@elementor/editor-canvas");
6534
- var import_ui52 = require("@elementor/ui");
6500
+ var import_ui51 = require("@elementor/ui");
6535
6501
  var createRepeaterToItemsTransformer = (originalTransformer, separator = " ") => {
6536
6502
  return (0, import_editor_canvas12.createTransformer)((value, options12) => {
6537
6503
  const stringResult = originalTransformer(value, options12);
@@ -6542,7 +6508,7 @@ var createRepeaterToItemsTransformer = (originalTransformer, separator = " ") =>
6542
6508
  if (parts.length <= 1) {
6543
6509
  return stringResult;
6544
6510
  }
6545
- return /* @__PURE__ */ React103.createElement(import_ui52.Stack, { direction: "column", gap: 0.5 }, parts.map((part, index) => /* @__PURE__ */ React103.createElement(import_ui52.Stack, { key: index }, part.trim())));
6511
+ return /* @__PURE__ */ React102.createElement(import_ui51.Stack, { direction: "column", gap: 0.5 }, parts.map((part, index) => /* @__PURE__ */ React102.createElement(import_ui51.Stack, { key: index }, part.trim())));
6546
6512
  });
6547
6513
  };
6548
6514